Flip the phase to prerelease to disable checking. Use --enable-checking=yes in config...
[official-gcc.git] / main / Makefile.in
blobcd76a643d595fb8569fc8a2125437d7e289954e5
2 # Makefile.in is generated from Makefile.tpl by 'autogen Makefile.def'.
4 # Makefile for directory with subdirs to build.
5 # Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
6 # 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
7 # Free Software Foundation
9 # This file is free software; you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License as published by
11 # the Free Software Foundation; either version 3 of the License, or
12 # (at your option) any later version.
14 # This program is distributed in the hope that it will be useful,
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 # GNU General Public License for more details.
19 # You should have received a copy of the GNU General Public License
20 # along with this program; see the file COPYING3. If not see
21 # <http://www.gnu.org/licenses/>.
24 # First, test for a proper version of make, but only where one is required.
26 @if gcc
27 ifeq (,$(.VARIABLES)) # The variable .VARIABLES, new with 3.80, is never empty.
28 $(error GNU make version 3.80 or newer is required.)
29 endif
30 @endif gcc
32 # -------------------------------
33 # Standard Autoconf-set variables
34 # -------------------------------
35 VPATH=@srcdir@
37 build_alias=@build_noncanonical@
38 build_vendor=@build_vendor@
39 build_os=@build_os@
40 build=@build@
41 host_alias=@host_noncanonical@
42 host_vendor=@host_vendor@
43 host_os=@host_os@
44 host=@host@
45 target_alias=@target_noncanonical@
46 target_vendor=@target_vendor@
47 target_os=@target_os@
48 target=@target@
50 program_transform_name = @program_transform_name@
52 prefix = @prefix@
53 exec_prefix = @exec_prefix@
55 srcdir = @srcdir@
57 bindir = @bindir@
58 sbindir = @sbindir@
59 libexecdir = @libexecdir@
60 datadir = @datadir@
61 sysconfdir = @sysconfdir@
62 sharedstatedir = @sharedstatedir@
63 localstatedir = @localstatedir@
64 libdir = @libdir@
65 includedir = @includedir@
66 oldincludedir = @oldincludedir@
67 infodir = @infodir@
68 datarootdir = @datarootdir@
69 docdir = @docdir@
70 pdfdir = @pdfdir@
71 htmldir = @htmldir@
72 mandir = @mandir@
73 man1dir = $(mandir)/man1
74 man2dir = $(mandir)/man2
75 man3dir = $(mandir)/man3
76 man4dir = $(mandir)/man4
77 man5dir = $(mandir)/man5
78 man6dir = $(mandir)/man6
79 man7dir = $(mandir)/man7
80 man8dir = $(mandir)/man8
81 man9dir = $(mandir)/man9
83 INSTALL = @INSTALL@
84 INSTALL_PROGRAM = @INSTALL_PROGRAM@
85 INSTALL_SCRIPT = @INSTALL_SCRIPT@
86 INSTALL_DATA = @INSTALL_DATA@
87 LN = @LN@
88 LN_S = @LN_S@
89 MAINT = @MAINT@
90 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
91 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
93 # -------------------------------------------------
94 # Miscellaneous non-standard autoconf-set variables
95 # -------------------------------------------------
97 # The gcc driver likes to know the arguments it was configured with.
98 TOPLEVEL_CONFIGURE_ARGUMENTS=@TOPLEVEL_CONFIGURE_ARGUMENTS@
100 tooldir = @tooldir@
101 build_tooldir = @build_tooldir@
103 # This is the name of the environment variable used for the path to
104 # the libraries.
105 RPATH_ENVVAR = @RPATH_ENVVAR@
107 # On targets where RPATH_ENVVAR is PATH, a subdirectory of the GCC build path
108 # is used instead of the directory itself to avoid including built
109 # executables in PATH.
110 GCC_SHLIB_SUBDIR = @GCC_SHLIB_SUBDIR@
112 # Build programs are put under this directory.
113 BUILD_SUBDIR = @build_subdir@
114 # This is set by the configure script to the arguments to use when configuring
115 # directories built for the build system.
116 BUILD_CONFIGARGS = @build_configargs@ --with-build-subdir="$(BUILD_SUBDIR)"
118 # Linker flags to use on the host, for stage1 or when not
119 # bootstrapping.
120 STAGE1_LDFLAGS = @stage1_ldflags@
122 # Libraries to use on the host, for stage1 or when not bootstrapping.
123 STAGE1_LIBS = @stage1_libs@
125 # Linker flags to use for stage2 and later.
126 POSTSTAGE1_LDFLAGS = @poststage1_ldflags@
128 # Libraries to use for stage2 and later.
129 POSTSTAGE1_LIBS = @poststage1_libs@
131 # This is the list of variables to export in the environment when
132 # configuring any subdirectory. It must also be exported whenever
133 # recursing into a build directory in case that directory's Makefile
134 # re-runs configure.
135 BASE_EXPORTS = \
136 FLEX="$(FLEX)"; export FLEX; \
137 LEX="$(LEX)"; export LEX; \
138 BISON="$(BISON)"; export BISON; \
139 YACC="$(YACC)"; export YACC; \
140 M4="$(M4)"; export M4; \
141 SED="$(SED)"; export SED; \
142 AWK="$(AWK)"; export AWK; \
143 MAKEINFO="$(MAKEINFO)"; export MAKEINFO;
145 # This is the list of variables to export in the environment when
146 # configuring subdirectories for the build system.
147 BUILD_EXPORTS = \
148 $(BASE_EXPORTS) \
149 AR="$(AR_FOR_BUILD)"; export AR; \
150 AS="$(AS_FOR_BUILD)"; export AS; \
151 CC="$(CC_FOR_BUILD)"; export CC; \
152 CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
153 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
154 CXX="$(CXX_FOR_BUILD)"; export CXX; \
155 CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
156 GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
157 GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
158 GOC="$(GOC_FOR_BUILD)"; export GOC; \
159 GOCFLAGS="$(GOCFLAGS_FOR_BUILD)"; export GOCFLAGS; \
160 DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
161 LD="$(LD_FOR_BUILD)"; export LD; \
162 LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
163 NM="$(NM_FOR_BUILD)"; export NM; \
164 RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
165 WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES; \
166 WINDMC="$(WINDMC_FOR_BUILD)"; export WINDMC;
168 # These variables must be set on the make command line for directories
169 # built for the build system to override those in BASE_FLAGS_TO_PASS.
170 EXTRA_BUILD_FLAGS = \
171 CFLAGS="$(CFLAGS_FOR_BUILD)" \
172 LDFLAGS="$(LDFLAGS_FOR_BUILD)"
174 # This is the list of directories to built for the host system.
175 SUBDIRS = @configdirs@
176 TARGET_CONFIGDIRS = @target_configdirs@
177 # This is set by the configure script to the arguments to use when configuring
178 # directories built for the host system.
179 HOST_CONFIGARGS = @host_configargs@
180 # Host programs are put under this directory, which is . except if building
181 # with srcdir=..
182 HOST_SUBDIR = @host_subdir@
183 # This is the list of variables to export in the environment when
184 # configuring subdirectories for the host system. We need to pass
185 # some to the GCC configure because of its hybrid host/target nature.
186 HOST_EXPORTS = \
187 $(BASE_EXPORTS) \
188 CC="$(CC)"; export CC; \
189 ADA_CFLAGS="$(ADA_CFLAGS)"; export ADA_CFLAGS; \
190 CFLAGS="$(CFLAGS)"; export CFLAGS; \
191 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
192 CXX="$(CXX)"; export CXX; \
193 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
194 GCJ="$(GCJ)"; export GCJ; \
195 GFORTRAN="$(GFORTRAN)"; export GFORTRAN; \
196 GOC="$(GOC)"; export GOC; \
197 AR="$(AR)"; export AR; \
198 AS="$(AS)"; export AS; \
199 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
200 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
201 LD="$(LD)"; export LD; \
202 LDFLAGS="$(STAGE1_LDFLAGS) $(LDFLAGS)"; export LDFLAGS; \
203 NM="$(NM)"; export NM; \
204 RANLIB="$(RANLIB)"; export RANLIB; \
205 WINDRES="$(WINDRES)"; export WINDRES; \
206 WINDMC="$(WINDMC)"; export WINDMC; \
207 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
208 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
209 READELF="$(READELF)"; export READELF; \
210 AR_FOR_TARGET="$(AR_FOR_TARGET)"; export AR_FOR_TARGET; \
211 AS_FOR_TARGET="$(AS_FOR_TARGET)"; export AS_FOR_TARGET; \
212 GCC_FOR_TARGET="$(GCC_FOR_TARGET)"; export GCC_FOR_TARGET; \
213 LD_FOR_TARGET="$(LD_FOR_TARGET)"; export LD_FOR_TARGET; \
214 NM_FOR_TARGET="$(NM_FOR_TARGET)"; export NM_FOR_TARGET; \
215 OBJDUMP_FOR_TARGET="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP_FOR_TARGET; \
216 RANLIB_FOR_TARGET="$(RANLIB_FOR_TARGET)"; export RANLIB_FOR_TARGET; \
217 READELF_FOR_TARGET="$(READELF_FOR_TARGET)"; export READELF_FOR_TARGET; \
218 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
219 HOST_LIBS="$(STAGE1_LIBS)"; export HOST_LIBS; \
220 GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
221 GMPINC="$(HOST_GMPINC)"; export GMPINC; \
222 ISLINC="$(HOST_ISLINC)"; export ISLINC; \
223 CLOOGLIBS="$(HOST_CLOOGLIBS)"; export CLOOGLIBS; \
224 CLOOGINC="$(HOST_CLOOGINC)"; export CLOOGINC; \
225 LIBELFLIBS="$(HOST_LIBELFLIBS)" ; export LIBELFLIBS; \
226 LIBELFINC="$(HOST_LIBELFINC)" ; export LIBELFINC; \
227 $(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 `if $(LEAN); then echo ' -isystem '; else echo ' -I'; fi`$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include/$(TARGET_SUBDIR) \
240 `if $(LEAN); then echo ' -isystem '; else echo ' -I'; fi`$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include \
241 `if $(LEAN); then echo ' -isystem '; else echo ' -I'; fi`$$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 # * We also disable -Wformat, since older GCCs don't understand newer %s.
496 STAGE1_CONFIGURE_FLAGS = --disable-intermodule $(STAGE1_CHECKING) \
497 --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" \
498 --disable-build-format-warnings
500 STAGEprofile_CFLAGS = $(STAGE2_CFLAGS) -fprofile-generate
501 STAGEprofile_TFLAGS = $(STAGE2_TFLAGS)
503 STAGEfeedback_CFLAGS = $(STAGE3_CFLAGS) -fprofile-use
504 STAGEfeedback_TFLAGS = $(STAGE3_TFLAGS)
506 do-compare = @do_compare@
507 do-compare3 = $(do-compare)
509 # -----------------------------------------------
510 # Programs producing files for the TARGET machine
511 # -----------------------------------------------
513 AR_FOR_TARGET=@AR_FOR_TARGET@
514 AS_FOR_TARGET=@AS_FOR_TARGET@
515 CC_FOR_TARGET=$(STAGE_CC_WRAPPER) @CC_FOR_TARGET@
517 # If GCC_FOR_TARGET is not overriden on the command line, then this
518 # variable is passed down to the gcc Makefile, where it is used to
519 # build libgcc2.a. We define it here so that it can itself be
520 # overridden on the command line.
521 GCC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCC_FOR_TARGET@
522 CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @CXX_FOR_TARGET@
523 RAW_CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @RAW_CXX_FOR_TARGET@
524 GCJ_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCJ_FOR_TARGET@
525 GFORTRAN_FOR_TARGET=$(STAGE_CC_WRAPPER) @GFORTRAN_FOR_TARGET@
526 GOC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GOC_FOR_TARGET@
527 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
528 LD_FOR_TARGET=@LD_FOR_TARGET@
530 LIPO_FOR_TARGET=@LIPO_FOR_TARGET@
531 NM_FOR_TARGET=@NM_FOR_TARGET@
532 OBJDUMP_FOR_TARGET=@OBJDUMP_FOR_TARGET@
533 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
534 READELF_FOR_TARGET=@READELF_FOR_TARGET@
535 STRIP_FOR_TARGET=@STRIP_FOR_TARGET@
536 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
537 WINDMC_FOR_TARGET=@WINDMC_FOR_TARGET@
539 COMPILER_AS_FOR_TARGET=@COMPILER_AS_FOR_TARGET@
540 COMPILER_LD_FOR_TARGET=@COMPILER_LD_FOR_TARGET@
541 COMPILER_NM_FOR_TARGET=@COMPILER_NM_FOR_TARGET@
543 CFLAGS_FOR_TARGET = @CFLAGS_FOR_TARGET@
544 CXXFLAGS_FOR_TARGET = @CXXFLAGS_FOR_TARGET@
546 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
547 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
548 LDFLAGS_FOR_TARGET = @LDFLAGS_FOR_TARGET@
549 GOCFLAGS_FOR_TARGET = -O2 -g
551 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
552 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
553 DEBUG_PREFIX_CFLAGS_FOR_TARGET = @DEBUG_PREFIX_CFLAGS_FOR_TARGET@
555 XGCC_FLAGS_FOR_TARGET = $(FLAGS_FOR_TARGET) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)
557 # ------------------------------------
558 # Miscellaneous targets and flag lists
559 # ------------------------------------
561 # The first rule in the file had better be this one. Don't put any above it.
562 # This lives here to allow makefile fragments to contain dependencies.
563 all:
565 #### host and target specific makefile fragments come in here.
566 @target_makefile_frag@
567 @alphaieee_frag@
568 @ospace_frag@
569 @host_makefile_frag@
572 # This is the list of directories that may be needed in RPATH_ENVVAR
573 # so that programs built for the target machine work.
574 TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libsanitizer)$(TARGET_LIB_PATH_libvtv)$(TARGET_LIB_PATH_libcilkrts)$(TARGET_LIB_PATH_libssp)$(TARGET_LIB_PATH_libgomp)$(TARGET_LIB_PATH_libitm)$(TARGET_LIB_PATH_libatomic)$(HOST_LIB_PATH_gcc)
576 @if target-libstdc++-v3
577 TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs:
578 @endif target-libstdc++-v3
580 @if target-libsanitizer
581 TARGET_LIB_PATH_libsanitizer = $$r/$(TARGET_SUBDIR)/libsanitizer/.libs:
582 @endif target-libsanitizer
584 @if target-libvtv
585 TARGET_LIB_PATH_libvtv = $$r/$(TARGET_SUBDIR)/libvtv/.libs:
586 @endif target-libvtv
588 @if target-libcilkrts
589 TARGET_LIB_PATH_libcilkrts = $$r/$(TARGET_SUBDIR)/libcilkrts/.libs:
590 @endif target-libcilkrts
592 @if target-libssp
593 TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
594 @endif target-libssp
596 @if target-libgomp
597 TARGET_LIB_PATH_libgomp = $$r/$(TARGET_SUBDIR)/libgomp/.libs:
598 @endif target-libgomp
600 @if target-libitm
601 TARGET_LIB_PATH_libitm = $$r/$(TARGET_SUBDIR)/libitm/.libs:
602 @endif target-libitm
604 @if target-libatomic
605 TARGET_LIB_PATH_libatomic = $$r/$(TARGET_SUBDIR)/libatomic/.libs:
606 @endif target-libatomic
610 # This is the list of directories that may be needed in RPATH_ENVVAR
611 # so that programs built for the host machine work.
612 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)
614 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
615 @if gcc
616 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc$(GCC_SHLIB_SUBDIR):$$r/$(HOST_SUBDIR)/prev-gcc$(GCC_SHLIB_SUBDIR):
617 @endif gcc
620 @if gmp
621 HOST_LIB_PATH_gmp = \
622 $$r/$(HOST_SUBDIR)/gmp/.libs:$$r/$(HOST_SUBDIR)/prev-gmp/.libs:
623 @endif gmp
625 @if mpfr
626 HOST_LIB_PATH_mpfr = \
627 $$r/$(HOST_SUBDIR)/mpfr/.libs:$$r/$(HOST_SUBDIR)/prev-mpfr/.libs:
628 @endif mpfr
630 @if mpc
631 HOST_LIB_PATH_mpc = \
632 $$r/$(HOST_SUBDIR)/mpc/.libs:$$r/$(HOST_SUBDIR)/prev-mpc/.libs:
633 @endif mpc
635 @if isl
636 HOST_LIB_PATH_isl = \
637 $$r/$(HOST_SUBDIR)/isl/.libs:$$r/$(HOST_SUBDIR)/prev-isl/.libs:
638 @endif isl
640 @if cloog
641 HOST_LIB_PATH_cloog = \
642 $$r/$(HOST_SUBDIR)/cloog/.libs:$$r/$(HOST_SUBDIR)/prev-cloog/.libs:
643 @endif cloog
645 @if libelf
646 HOST_LIB_PATH_libelf = \
647 $$r/$(HOST_SUBDIR)/libelf/.libs:$$r/$(HOST_SUBDIR)/prev-libelf/.libs:
648 @endif libelf
651 CXX_FOR_TARGET_FLAG_TO_PASS = \
652 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)"
653 @if target-libstdc++-v3
654 # CXX_FOR_TARGET is tricky to get right for target libs that require a
655 # functional C++ compiler. When we recurse, if we expand
656 # CXX_FOR_TARGET before configuring libstdc++-v3, we won't get
657 # libstdc++ include flags from the script. Instead, we get an
658 # -funconfigured-* word, so that we'll get errors if this invalid C++
659 # command line is used for anything, but also so that we can use the
660 # word to decide whether or not to pass on this CXX_FOR_TARGET. If we
661 # don't pass it on, sub-make will use the default definition, that
662 # re-expands it at the time of use, so we'll get it right when we need
663 # it. One potential exception is the expansion of CXX_FOR_TARGET
664 # passed down as part of CXX within TARGET_FLAGS, but this wouldn't
665 # really work, for C++ host programs can't depend on the current-stage
666 # C++ target library.
667 CXX_FOR_TARGET_FLAG_TO_PASS = \
668 $(shell if echo "$(CXX_FOR_TARGET)" | grep " -funconfigured-" > /dev/null; then :; else echo '"CXX_FOR_TARGET=$(CXX_FOR_TARGET)"'; fi)
669 @endif target-libstdc++-v3
671 # Flags to pass down to all sub-makes.
672 BASE_FLAGS_TO_PASS = \
673 "DESTDIR=$(DESTDIR)" \
674 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
675 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
676 "bindir=$(bindir)" \
677 "datadir=$(datadir)" \
678 "exec_prefix=$(exec_prefix)" \
679 "includedir=$(includedir)" \
680 "datarootdir=$(datarootdir)" \
681 "docdir=$(docdir)" \
682 "infodir=$(infodir)" \
683 "pdfdir=$(pdfdir)" \
684 "htmldir=$(htmldir)" \
685 "libdir=$(libdir)" \
686 "libexecdir=$(libexecdir)" \
687 "lispdir=$(lispdir)" \
688 "localstatedir=$(localstatedir)" \
689 "mandir=$(mandir)" \
690 "oldincludedir=$(oldincludedir)" \
691 "prefix=$(prefix)" \
692 "sbindir=$(sbindir)" \
693 "sharedstatedir=$(sharedstatedir)" \
694 "sysconfdir=$(sysconfdir)" \
695 "tooldir=$(tooldir)" \
696 "build_tooldir=$(build_tooldir)" \
697 "target_alias=$(target_alias)" \
698 "AWK=$(AWK)" \
699 "BISON=$(BISON)" \
700 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
701 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
702 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
703 "EXPECT=$(EXPECT)" \
704 "FLEX=$(FLEX)" \
705 "INSTALL=$(INSTALL)" \
706 "INSTALL_DATA=$(INSTALL_DATA)" \
707 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
708 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
709 "LDFLAGS_FOR_BUILD=$(LDFLAGS_FOR_BUILD)" \
710 "LEX=$(LEX)" \
711 "M4=$(M4)" \
712 "MAKE=$(MAKE)" \
713 "RUNTEST=$(RUNTEST)" \
714 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
715 "SED=$(SED)" \
716 "SHELL=$(SHELL)" \
717 "YACC=$(YACC)" \
718 "`echo 'ADAFLAGS=$(ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
719 "ADA_CFLAGS=$(ADA_CFLAGS)" \
720 "AR_FLAGS=$(AR_FLAGS)" \
721 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
722 "BOOT_CFLAGS=$(BOOT_CFLAGS)" \
723 "BOOT_LDFLAGS=$(BOOT_LDFLAGS)" \
724 "CFLAGS=$(CFLAGS)" \
725 "CXXFLAGS=$(CXXFLAGS)" \
726 "LDFLAGS=$(LDFLAGS)" \
727 "LIBCFLAGS=$(LIBCFLAGS)" \
728 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
729 "STAGE1_CHECKING=$(STAGE1_CHECKING)" \
730 "STAGE1_LANGUAGES=$(STAGE1_LANGUAGES)" \
731 "GNATBIND=$(GNATBIND)" \
732 "GNATMAKE=$(GNATMAKE)" \
733 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
734 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
735 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
736 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
737 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
738 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
739 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
740 "FLAGS_FOR_TARGET=$(FLAGS_FOR_TARGET)" \
741 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
742 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
743 "GOC_FOR_TARGET=$(GOC_FOR_TARGET)" \
744 "GOCFLAGS_FOR_TARGET=$(GOCFLAGS_FOR_TARGET)" \
745 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
746 "LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \
747 "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \
748 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
749 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
750 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
751 "OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \
752 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
753 "READELF_FOR_TARGET=$(READELF_FOR_TARGET)" \
754 "STRIP_FOR_TARGET=$(STRIP_FOR_TARGET)" \
755 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
756 "WINDMC_FOR_TARGET=$(WINDMC_FOR_TARGET)" \
757 "BUILD_CONFIG=$(BUILD_CONFIG)" \
758 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
759 "LEAN=$(LEAN)" \
760 "STAGE1_CFLAGS=$(STAGE1_CFLAGS)" \
761 "STAGE1_CXXFLAGS=$(STAGE1_CXXFLAGS)" \
762 "STAGE1_TFLAGS=$(STAGE1_TFLAGS)" \
763 "STAGE2_CFLAGS=$(STAGE2_CFLAGS)" \
764 "STAGE2_CXXFLAGS=$(STAGE2_CXXFLAGS)" \
765 "STAGE2_TFLAGS=$(STAGE2_TFLAGS)" \
766 "STAGE3_CFLAGS=$(STAGE3_CFLAGS)" \
767 "STAGE3_CXXFLAGS=$(STAGE3_CXXFLAGS)" \
768 "STAGE3_TFLAGS=$(STAGE3_TFLAGS)" \
769 "STAGE4_CFLAGS=$(STAGE4_CFLAGS)" \
770 "STAGE4_CXXFLAGS=$(STAGE4_CXXFLAGS)" \
771 "STAGE4_TFLAGS=$(STAGE4_TFLAGS)" \
772 "STAGEprofile_CFLAGS=$(STAGEprofile_CFLAGS)" \
773 "STAGEprofile_CXXFLAGS=$(STAGEprofile_CXXFLAGS)" \
774 "STAGEprofile_TFLAGS=$(STAGEprofile_TFLAGS)" \
775 "STAGEfeedback_CFLAGS=$(STAGEfeedback_CFLAGS)" \
776 "STAGEfeedback_CXXFLAGS=$(STAGEfeedback_CXXFLAGS)" \
777 "STAGEfeedback_TFLAGS=$(STAGEfeedback_TFLAGS)" \
778 $(CXX_FOR_TARGET_FLAG_TO_PASS) \
779 "TFLAGS=$(TFLAGS)" \
780 "CONFIG_SHELL=$(SHELL)" \
781 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
783 # We leave this in just in case, but it is not needed anymore.
784 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS)
786 # Flags to pass down to most sub-makes, in which we're building with
787 # the host environment.
788 EXTRA_HOST_FLAGS = \
789 'AR=$(AR)' \
790 'AS=$(AS)' \
791 'CC=$(CC)' \
792 'CXX=$(CXX)' \
793 'DLLTOOL=$(DLLTOOL)' \
794 'GCJ=$(GCJ)' \
795 'GFORTRAN=$(GFORTRAN)' \
796 'GOC=$(GOC)' \
797 'LD=$(LD)' \
798 'LIPO=$(LIPO)' \
799 'NM=$(NM)' \
800 'OBJDUMP=$(OBJDUMP)' \
801 'RANLIB=$(RANLIB)' \
802 'READELF=$(READELF)' \
803 'STRIP=$(STRIP)' \
804 'WINDRES=$(WINDRES)' \
805 'WINDMC=$(WINDMC)'
807 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
809 # Flags to pass to stage1 or when not bootstrapping.
811 STAGE1_FLAGS_TO_PASS = \
812 LDFLAGS="$${LDFLAGS}" \
813 HOST_LIBS="$${HOST_LIBS}"
815 # Flags to pass to stage2 and later makes.
817 POSTSTAGE1_FLAGS_TO_PASS = \
818 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
819 CXX="$${CXX}" CXX_FOR_BUILD="$${CXX_FOR_BUILD}" \
820 GNATBIND="$${GNATBIND}" \
821 LDFLAGS="$${LDFLAGS}" \
822 HOST_LIBS="$${HOST_LIBS}" \
823 "`echo 'ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
825 # Flags to pass down to makes which are built with the target environment.
826 # The double $ decreases the length of the command line; those variables
827 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them. The
828 # *_CFLAGS_FOR_TARGET variables are not passed down and most often empty,
829 # so we expand them here.
830 EXTRA_TARGET_FLAGS = \
831 'AR=$$(AR_FOR_TARGET)' \
832 'AS=$(COMPILER_AS_FOR_TARGET)' \
833 'CC=$$(CC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
834 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
835 'CXX=$$(CXX_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
836 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
837 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
838 'GCJ=$$(GCJ_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
839 'GFORTRAN=$$(GFORTRAN_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
840 'GOC=$$(GOC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
841 'GOCFLAGS=$$(GOCFLAGS_FOR_TARGET)' \
842 'LD=$(COMPILER_LD_FOR_TARGET)' \
843 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
844 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
845 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
846 'NM=$(COMPILER_NM_FOR_TARGET)' \
847 'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \
848 'RANLIB=$$(RANLIB_FOR_TARGET)' \
849 'READELF=$$(READELF_FOR_TARGET)' \
850 'WINDRES=$$(WINDRES_FOR_TARGET)' \
851 'WINDMC=$$(WINDMC_FOR_TARGET)' \
852 'XGCC_FLAGS_FOR_TARGET=$(XGCC_FLAGS_FOR_TARGET)' \
853 "TFLAGS=$$TFLAGS"
855 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
857 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
858 # unfortunately needs the native compiler and the target ar and
859 # ranlib.
860 # If any variables are added here, they must be added to do-*, below.
861 # The BUILD_* variables are a special case, which are used for the gcc
862 # cross-building scheme.
863 EXTRA_GCC_FLAGS = \
864 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
865 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
866 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
868 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
870 @if gcc
871 BUILD_CONFIG = @BUILD_CONFIG@
872 ifneq ($(BUILD_CONFIG),)
873 include $(foreach CONFIG, $(BUILD_CONFIG), $(srcdir)/config/$(CONFIG).mk)
874 endif
875 @endif gcc
877 .PHONY: configure-host
878 configure-host: \
879 maybe-configure-bfd \
880 maybe-configure-opcodes \
881 maybe-configure-binutils \
882 maybe-configure-bison \
883 maybe-configure-cgen \
884 maybe-configure-dejagnu \
885 maybe-configure-etc \
886 maybe-configure-fastjar \
887 maybe-configure-fixincludes \
888 maybe-configure-flex \
889 maybe-configure-gas \
890 maybe-configure-gcc \
891 maybe-configure-gmp \
892 maybe-configure-mpfr \
893 maybe-configure-mpc \
894 maybe-configure-isl \
895 maybe-configure-cloog \
896 maybe-configure-libelf \
897 maybe-configure-gold \
898 maybe-configure-gprof \
899 maybe-configure-intl \
900 maybe-configure-tcl \
901 maybe-configure-itcl \
902 maybe-configure-ld \
903 maybe-configure-libbacktrace \
904 maybe-configure-libcpp \
905 maybe-configure-libdecnumber \
906 maybe-configure-libgui \
907 maybe-configure-libiberty \
908 maybe-configure-libiconv \
909 maybe-configure-m4 \
910 maybe-configure-readline \
911 maybe-configure-sid \
912 maybe-configure-sim \
913 maybe-configure-texinfo \
914 maybe-configure-zlib \
915 maybe-configure-gdb \
916 maybe-configure-expect \
917 maybe-configure-guile \
918 maybe-configure-tk \
919 maybe-configure-libtermcap \
920 maybe-configure-utils \
921 maybe-configure-gnattools \
922 maybe-configure-lto-plugin \
923 maybe-configure-function_reordering_plugin
924 .PHONY: configure-target
925 configure-target: \
926 maybe-configure-target-libstdc++-v3 \
927 maybe-configure-target-libsanitizer \
928 maybe-configure-target-libvtv \
929 maybe-configure-target-libcilkrts \
930 maybe-configure-target-libssp \
931 maybe-configure-target-newlib \
932 maybe-configure-target-libgcc \
933 maybe-configure-target-libbacktrace \
934 maybe-configure-target-libquadmath \
935 maybe-configure-target-libgfortran \
936 maybe-configure-target-libobjc \
937 maybe-configure-target-libgo \
938 maybe-configure-target-libtermcap \
939 maybe-configure-target-winsup \
940 maybe-configure-target-libgloss \
941 maybe-configure-target-libffi \
942 maybe-configure-target-libjava \
943 maybe-configure-target-zlib \
944 maybe-configure-target-boehm-gc \
945 maybe-configure-target-rda \
946 maybe-configure-target-libada \
947 maybe-configure-target-libgomp \
948 maybe-configure-target-libitm \
949 maybe-configure-target-libatomic
951 # The target built for a native non-bootstrap build.
952 .PHONY: all
953 all:
954 @if gcc-bootstrap
955 [ -f stage_final ] || echo stage3 > stage_final
956 @r=`${PWD_COMMAND}`; export r; \
957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
958 $(MAKE) $(RECURSE_FLAGS_TO_PASS) `cat stage_final`-bubble
959 @endif gcc-bootstrap
960 @: $(MAKE); $(unstage)
961 @r=`${PWD_COMMAND}`; export r; \
962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
963 @if gcc-bootstrap
964 if [ -f stage_last ]; then \
965 TFLAGS="$(STAGE$(shell test ! -f stage_last || sed s,^stage,, stage_last)_TFLAGS)"; \
966 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \
967 else \
968 @endif gcc-bootstrap
969 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target \
970 @if gcc-bootstrap
972 fi \
973 @endif gcc-bootstrap
974 && :
976 .PHONY: all-build
978 all-build: maybe-all-build-libiberty
979 all-build: maybe-all-build-bison
980 all-build: maybe-all-build-flex
981 all-build: maybe-all-build-m4
982 all-build: maybe-all-build-texinfo
983 all-build: maybe-all-build-fixincludes
985 .PHONY: all-host
987 @if bfd-no-bootstrap
988 all-host: maybe-all-bfd
989 @endif bfd-no-bootstrap
990 @if opcodes-no-bootstrap
991 all-host: maybe-all-opcodes
992 @endif opcodes-no-bootstrap
993 @if binutils-no-bootstrap
994 all-host: maybe-all-binutils
995 @endif binutils-no-bootstrap
996 all-host: maybe-all-bison
997 all-host: maybe-all-cgen
998 all-host: maybe-all-dejagnu
999 all-host: maybe-all-etc
1000 all-host: maybe-all-fastjar
1001 @if fixincludes-no-bootstrap
1002 all-host: maybe-all-fixincludes
1003 @endif fixincludes-no-bootstrap
1004 all-host: maybe-all-flex
1005 @if gas-no-bootstrap
1006 all-host: maybe-all-gas
1007 @endif gas-no-bootstrap
1008 @if gcc-no-bootstrap
1009 all-host: maybe-all-gcc
1010 @endif gcc-no-bootstrap
1011 @if gmp-no-bootstrap
1012 all-host: maybe-all-gmp
1013 @endif gmp-no-bootstrap
1014 @if mpfr-no-bootstrap
1015 all-host: maybe-all-mpfr
1016 @endif mpfr-no-bootstrap
1017 @if mpc-no-bootstrap
1018 all-host: maybe-all-mpc
1019 @endif mpc-no-bootstrap
1020 @if isl-no-bootstrap
1021 all-host: maybe-all-isl
1022 @endif isl-no-bootstrap
1023 @if cloog-no-bootstrap
1024 all-host: maybe-all-cloog
1025 @endif cloog-no-bootstrap
1026 @if libelf-no-bootstrap
1027 all-host: maybe-all-libelf
1028 @endif libelf-no-bootstrap
1029 @if gold-no-bootstrap
1030 all-host: maybe-all-gold
1031 @endif gold-no-bootstrap
1032 all-host: maybe-all-gprof
1033 @if intl-no-bootstrap
1034 all-host: maybe-all-intl
1035 @endif intl-no-bootstrap
1036 all-host: maybe-all-tcl
1037 all-host: maybe-all-itcl
1038 @if ld-no-bootstrap
1039 all-host: maybe-all-ld
1040 @endif ld-no-bootstrap
1041 @if libbacktrace-no-bootstrap
1042 all-host: maybe-all-libbacktrace
1043 @endif libbacktrace-no-bootstrap
1044 @if libcpp-no-bootstrap
1045 all-host: maybe-all-libcpp
1046 @endif libcpp-no-bootstrap
1047 @if libdecnumber-no-bootstrap
1048 all-host: maybe-all-libdecnumber
1049 @endif libdecnumber-no-bootstrap
1050 all-host: maybe-all-libgui
1051 @if libiberty-no-bootstrap
1052 all-host: maybe-all-libiberty
1053 @endif libiberty-no-bootstrap
1054 all-host: maybe-all-libiconv
1055 all-host: maybe-all-m4
1056 all-host: maybe-all-readline
1057 all-host: maybe-all-sid
1058 all-host: maybe-all-sim
1059 all-host: maybe-all-texinfo
1060 @if zlib-no-bootstrap
1061 all-host: maybe-all-zlib
1062 @endif zlib-no-bootstrap
1063 all-host: maybe-all-gdb
1064 all-host: maybe-all-expect
1065 all-host: maybe-all-guile
1066 all-host: maybe-all-tk
1067 all-host: maybe-all-libtermcap
1068 all-host: maybe-all-utils
1069 all-host: maybe-all-gnattools
1070 @if lto-plugin-no-bootstrap
1071 all-host: maybe-all-lto-plugin
1072 @endif lto-plugin-no-bootstrap
1073 @if function_reordering_plugin-no-bootstrap
1074 all-host: maybe-all-function_reordering_plugin
1075 @endif function_reordering_plugin-no-bootstrap
1077 .PHONY: all-target
1079 @if target-libstdc++-v3-no-bootstrap
1080 all-target: maybe-all-target-libstdc++-v3
1081 @endif target-libstdc++-v3-no-bootstrap
1082 @if target-libsanitizer-no-bootstrap
1083 all-target: maybe-all-target-libsanitizer
1084 @endif target-libsanitizer-no-bootstrap
1085 @if target-libvtv-no-bootstrap
1086 all-target: maybe-all-target-libvtv
1087 @endif target-libvtv-no-bootstrap
1088 all-target: maybe-all-target-libcilkrts
1089 all-target: maybe-all-target-libssp
1090 all-target: maybe-all-target-newlib
1091 @if target-libgcc-no-bootstrap
1092 all-target: maybe-all-target-libgcc
1093 @endif target-libgcc-no-bootstrap
1094 all-target: maybe-all-target-libbacktrace
1095 all-target: maybe-all-target-libquadmath
1096 all-target: maybe-all-target-libgfortran
1097 all-target: maybe-all-target-libobjc
1098 all-target: maybe-all-target-libgo
1099 all-target: maybe-all-target-libtermcap
1100 all-target: maybe-all-target-winsup
1101 all-target: maybe-all-target-libgloss
1102 all-target: maybe-all-target-libffi
1103 all-target: maybe-all-target-libjava
1104 all-target: maybe-all-target-zlib
1105 all-target: maybe-all-target-boehm-gc
1106 all-target: maybe-all-target-rda
1107 all-target: maybe-all-target-libada
1108 @if target-libgomp-no-bootstrap
1109 all-target: maybe-all-target-libgomp
1110 @endif target-libgomp-no-bootstrap
1111 all-target: maybe-all-target-libitm
1112 all-target: maybe-all-target-libatomic
1114 # Do a target for all the subdirectories. A ``make do-X'' will do a
1115 # ``make X'' in all subdirectories (because, in general, there is a
1116 # dependency (below) of X upon do-X, a ``make X'' will also do this,
1117 # but it may do additional work as well).
1119 .PHONY: do-info
1120 do-info:
1121 @: $(MAKE); $(unstage)
1122 @r=`${PWD_COMMAND}`; export r; \
1123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1124 $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
1125 info-target
1128 .PHONY: info-host
1130 info-host: maybe-info-bfd
1131 info-host: maybe-info-opcodes
1132 info-host: maybe-info-binutils
1133 info-host: maybe-info-bison
1134 info-host: maybe-info-cgen
1135 info-host: maybe-info-dejagnu
1136 info-host: maybe-info-etc
1137 info-host: maybe-info-fastjar
1138 info-host: maybe-info-fixincludes
1139 info-host: maybe-info-flex
1140 info-host: maybe-info-gas
1141 info-host: maybe-info-gcc
1142 info-host: maybe-info-gmp
1143 info-host: maybe-info-mpfr
1144 info-host: maybe-info-mpc
1145 info-host: maybe-info-isl
1146 info-host: maybe-info-cloog
1147 info-host: maybe-info-libelf
1148 info-host: maybe-info-gold
1149 info-host: maybe-info-gprof
1150 info-host: maybe-info-intl
1151 info-host: maybe-info-tcl
1152 info-host: maybe-info-itcl
1153 info-host: maybe-info-ld
1154 info-host: maybe-info-libbacktrace
1155 info-host: maybe-info-libcpp
1156 info-host: maybe-info-libdecnumber
1157 info-host: maybe-info-libgui
1158 info-host: maybe-info-libiberty
1159 info-host: maybe-info-libiconv
1160 info-host: maybe-info-m4
1161 info-host: maybe-info-readline
1162 info-host: maybe-info-sid
1163 info-host: maybe-info-sim
1164 info-host: maybe-info-texinfo
1165 info-host: maybe-info-zlib
1166 info-host: maybe-info-gdb
1167 info-host: maybe-info-expect
1168 info-host: maybe-info-guile
1169 info-host: maybe-info-tk
1170 info-host: maybe-info-libtermcap
1171 info-host: maybe-info-utils
1172 info-host: maybe-info-gnattools
1173 info-host: maybe-info-lto-plugin
1174 info-host: maybe-info-function_reordering_plugin
1176 .PHONY: info-target
1178 info-target: maybe-info-target-libstdc++-v3
1179 info-target: maybe-info-target-libsanitizer
1180 info-target: maybe-info-target-libvtv
1181 info-target: maybe-info-target-libcilkrts
1182 info-target: maybe-info-target-libssp
1183 info-target: maybe-info-target-newlib
1184 info-target: maybe-info-target-libgcc
1185 info-target: maybe-info-target-libbacktrace
1186 info-target: maybe-info-target-libquadmath
1187 info-target: maybe-info-target-libgfortran
1188 info-target: maybe-info-target-libobjc
1189 info-target: maybe-info-target-libgo
1190 info-target: maybe-info-target-libtermcap
1191 info-target: maybe-info-target-winsup
1192 info-target: maybe-info-target-libgloss
1193 info-target: maybe-info-target-libffi
1194 info-target: maybe-info-target-libjava
1195 info-target: maybe-info-target-zlib
1196 info-target: maybe-info-target-boehm-gc
1197 info-target: maybe-info-target-rda
1198 info-target: maybe-info-target-libada
1199 info-target: maybe-info-target-libgomp
1200 info-target: maybe-info-target-libitm
1201 info-target: maybe-info-target-libatomic
1203 .PHONY: do-dvi
1204 do-dvi:
1205 @: $(MAKE); $(unstage)
1206 @r=`${PWD_COMMAND}`; export r; \
1207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1208 $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
1209 dvi-target
1212 .PHONY: dvi-host
1214 dvi-host: maybe-dvi-bfd
1215 dvi-host: maybe-dvi-opcodes
1216 dvi-host: maybe-dvi-binutils
1217 dvi-host: maybe-dvi-bison
1218 dvi-host: maybe-dvi-cgen
1219 dvi-host: maybe-dvi-dejagnu
1220 dvi-host: maybe-dvi-etc
1221 dvi-host: maybe-dvi-fastjar
1222 dvi-host: maybe-dvi-fixincludes
1223 dvi-host: maybe-dvi-flex
1224 dvi-host: maybe-dvi-gas
1225 dvi-host: maybe-dvi-gcc
1226 dvi-host: maybe-dvi-gmp
1227 dvi-host: maybe-dvi-mpfr
1228 dvi-host: maybe-dvi-mpc
1229 dvi-host: maybe-dvi-isl
1230 dvi-host: maybe-dvi-cloog
1231 dvi-host: maybe-dvi-libelf
1232 dvi-host: maybe-dvi-gold
1233 dvi-host: maybe-dvi-gprof
1234 dvi-host: maybe-dvi-intl
1235 dvi-host: maybe-dvi-tcl
1236 dvi-host: maybe-dvi-itcl
1237 dvi-host: maybe-dvi-ld
1238 dvi-host: maybe-dvi-libbacktrace
1239 dvi-host: maybe-dvi-libcpp
1240 dvi-host: maybe-dvi-libdecnumber
1241 dvi-host: maybe-dvi-libgui
1242 dvi-host: maybe-dvi-libiberty
1243 dvi-host: maybe-dvi-libiconv
1244 dvi-host: maybe-dvi-m4
1245 dvi-host: maybe-dvi-readline
1246 dvi-host: maybe-dvi-sid
1247 dvi-host: maybe-dvi-sim
1248 dvi-host: maybe-dvi-texinfo
1249 dvi-host: maybe-dvi-zlib
1250 dvi-host: maybe-dvi-gdb
1251 dvi-host: maybe-dvi-expect
1252 dvi-host: maybe-dvi-guile
1253 dvi-host: maybe-dvi-tk
1254 dvi-host: maybe-dvi-libtermcap
1255 dvi-host: maybe-dvi-utils
1256 dvi-host: maybe-dvi-gnattools
1257 dvi-host: maybe-dvi-lto-plugin
1258 dvi-host: maybe-dvi-function_reordering_plugin
1260 .PHONY: dvi-target
1262 dvi-target: maybe-dvi-target-libstdc++-v3
1263 dvi-target: maybe-dvi-target-libsanitizer
1264 dvi-target: maybe-dvi-target-libvtv
1265 dvi-target: maybe-dvi-target-libcilkrts
1266 dvi-target: maybe-dvi-target-libssp
1267 dvi-target: maybe-dvi-target-newlib
1268 dvi-target: maybe-dvi-target-libgcc
1269 dvi-target: maybe-dvi-target-libbacktrace
1270 dvi-target: maybe-dvi-target-libquadmath
1271 dvi-target: maybe-dvi-target-libgfortran
1272 dvi-target: maybe-dvi-target-libobjc
1273 dvi-target: maybe-dvi-target-libgo
1274 dvi-target: maybe-dvi-target-libtermcap
1275 dvi-target: maybe-dvi-target-winsup
1276 dvi-target: maybe-dvi-target-libgloss
1277 dvi-target: maybe-dvi-target-libffi
1278 dvi-target: maybe-dvi-target-libjava
1279 dvi-target: maybe-dvi-target-zlib
1280 dvi-target: maybe-dvi-target-boehm-gc
1281 dvi-target: maybe-dvi-target-rda
1282 dvi-target: maybe-dvi-target-libada
1283 dvi-target: maybe-dvi-target-libgomp
1284 dvi-target: maybe-dvi-target-libitm
1285 dvi-target: maybe-dvi-target-libatomic
1287 .PHONY: do-pdf
1288 do-pdf:
1289 @: $(MAKE); $(unstage)
1290 @r=`${PWD_COMMAND}`; export r; \
1291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1292 $(MAKE) $(RECURSE_FLAGS_TO_PASS) pdf-host \
1293 pdf-target
1296 .PHONY: pdf-host
1298 pdf-host: maybe-pdf-bfd
1299 pdf-host: maybe-pdf-opcodes
1300 pdf-host: maybe-pdf-binutils
1301 pdf-host: maybe-pdf-bison
1302 pdf-host: maybe-pdf-cgen
1303 pdf-host: maybe-pdf-dejagnu
1304 pdf-host: maybe-pdf-etc
1305 pdf-host: maybe-pdf-fastjar
1306 pdf-host: maybe-pdf-fixincludes
1307 pdf-host: maybe-pdf-flex
1308 pdf-host: maybe-pdf-gas
1309 pdf-host: maybe-pdf-gcc
1310 pdf-host: maybe-pdf-gmp
1311 pdf-host: maybe-pdf-mpfr
1312 pdf-host: maybe-pdf-mpc
1313 pdf-host: maybe-pdf-isl
1314 pdf-host: maybe-pdf-cloog
1315 pdf-host: maybe-pdf-libelf
1316 pdf-host: maybe-pdf-gold
1317 pdf-host: maybe-pdf-gprof
1318 pdf-host: maybe-pdf-intl
1319 pdf-host: maybe-pdf-tcl
1320 pdf-host: maybe-pdf-itcl
1321 pdf-host: maybe-pdf-ld
1322 pdf-host: maybe-pdf-libbacktrace
1323 pdf-host: maybe-pdf-libcpp
1324 pdf-host: maybe-pdf-libdecnumber
1325 pdf-host: maybe-pdf-libgui
1326 pdf-host: maybe-pdf-libiberty
1327 pdf-host: maybe-pdf-libiconv
1328 pdf-host: maybe-pdf-m4
1329 pdf-host: maybe-pdf-readline
1330 pdf-host: maybe-pdf-sid
1331 pdf-host: maybe-pdf-sim
1332 pdf-host: maybe-pdf-texinfo
1333 pdf-host: maybe-pdf-zlib
1334 pdf-host: maybe-pdf-gdb
1335 pdf-host: maybe-pdf-expect
1336 pdf-host: maybe-pdf-guile
1337 pdf-host: maybe-pdf-tk
1338 pdf-host: maybe-pdf-libtermcap
1339 pdf-host: maybe-pdf-utils
1340 pdf-host: maybe-pdf-gnattools
1341 pdf-host: maybe-pdf-lto-plugin
1342 pdf-host: maybe-pdf-function_reordering_plugin
1344 .PHONY: pdf-target
1346 pdf-target: maybe-pdf-target-libstdc++-v3
1347 pdf-target: maybe-pdf-target-libsanitizer
1348 pdf-target: maybe-pdf-target-libvtv
1349 pdf-target: maybe-pdf-target-libcilkrts
1350 pdf-target: maybe-pdf-target-libssp
1351 pdf-target: maybe-pdf-target-newlib
1352 pdf-target: maybe-pdf-target-libgcc
1353 pdf-target: maybe-pdf-target-libbacktrace
1354 pdf-target: maybe-pdf-target-libquadmath
1355 pdf-target: maybe-pdf-target-libgfortran
1356 pdf-target: maybe-pdf-target-libobjc
1357 pdf-target: maybe-pdf-target-libgo
1358 pdf-target: maybe-pdf-target-libtermcap
1359 pdf-target: maybe-pdf-target-winsup
1360 pdf-target: maybe-pdf-target-libgloss
1361 pdf-target: maybe-pdf-target-libffi
1362 pdf-target: maybe-pdf-target-libjava
1363 pdf-target: maybe-pdf-target-zlib
1364 pdf-target: maybe-pdf-target-boehm-gc
1365 pdf-target: maybe-pdf-target-rda
1366 pdf-target: maybe-pdf-target-libada
1367 pdf-target: maybe-pdf-target-libgomp
1368 pdf-target: maybe-pdf-target-libitm
1369 pdf-target: maybe-pdf-target-libatomic
1371 .PHONY: do-html
1372 do-html:
1373 @: $(MAKE); $(unstage)
1374 @r=`${PWD_COMMAND}`; export r; \
1375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1376 $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
1377 html-target
1380 .PHONY: html-host
1382 html-host: maybe-html-bfd
1383 html-host: maybe-html-opcodes
1384 html-host: maybe-html-binutils
1385 html-host: maybe-html-bison
1386 html-host: maybe-html-cgen
1387 html-host: maybe-html-dejagnu
1388 html-host: maybe-html-etc
1389 html-host: maybe-html-fastjar
1390 html-host: maybe-html-fixincludes
1391 html-host: maybe-html-flex
1392 html-host: maybe-html-gas
1393 html-host: maybe-html-gcc
1394 html-host: maybe-html-gmp
1395 html-host: maybe-html-mpfr
1396 html-host: maybe-html-mpc
1397 html-host: maybe-html-isl
1398 html-host: maybe-html-cloog
1399 html-host: maybe-html-libelf
1400 html-host: maybe-html-gold
1401 html-host: maybe-html-gprof
1402 html-host: maybe-html-intl
1403 html-host: maybe-html-tcl
1404 html-host: maybe-html-itcl
1405 html-host: maybe-html-ld
1406 html-host: maybe-html-libbacktrace
1407 html-host: maybe-html-libcpp
1408 html-host: maybe-html-libdecnumber
1409 html-host: maybe-html-libgui
1410 html-host: maybe-html-libiberty
1411 html-host: maybe-html-libiconv
1412 html-host: maybe-html-m4
1413 html-host: maybe-html-readline
1414 html-host: maybe-html-sid
1415 html-host: maybe-html-sim
1416 html-host: maybe-html-texinfo
1417 html-host: maybe-html-zlib
1418 html-host: maybe-html-gdb
1419 html-host: maybe-html-expect
1420 html-host: maybe-html-guile
1421 html-host: maybe-html-tk
1422 html-host: maybe-html-libtermcap
1423 html-host: maybe-html-utils
1424 html-host: maybe-html-gnattools
1425 html-host: maybe-html-lto-plugin
1426 html-host: maybe-html-function_reordering_plugin
1428 .PHONY: html-target
1430 html-target: maybe-html-target-libstdc++-v3
1431 html-target: maybe-html-target-libsanitizer
1432 html-target: maybe-html-target-libvtv
1433 html-target: maybe-html-target-libcilkrts
1434 html-target: maybe-html-target-libssp
1435 html-target: maybe-html-target-newlib
1436 html-target: maybe-html-target-libgcc
1437 html-target: maybe-html-target-libbacktrace
1438 html-target: maybe-html-target-libquadmath
1439 html-target: maybe-html-target-libgfortran
1440 html-target: maybe-html-target-libobjc
1441 html-target: maybe-html-target-libgo
1442 html-target: maybe-html-target-libtermcap
1443 html-target: maybe-html-target-winsup
1444 html-target: maybe-html-target-libgloss
1445 html-target: maybe-html-target-libffi
1446 html-target: maybe-html-target-libjava
1447 html-target: maybe-html-target-zlib
1448 html-target: maybe-html-target-boehm-gc
1449 html-target: maybe-html-target-rda
1450 html-target: maybe-html-target-libada
1451 html-target: maybe-html-target-libgomp
1452 html-target: maybe-html-target-libitm
1453 html-target: maybe-html-target-libatomic
1455 .PHONY: do-TAGS
1456 do-TAGS:
1457 @: $(MAKE); $(unstage)
1458 @r=`${PWD_COMMAND}`; export r; \
1459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1460 $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
1461 TAGS-target
1464 .PHONY: TAGS-host
1466 TAGS-host: maybe-TAGS-bfd
1467 TAGS-host: maybe-TAGS-opcodes
1468 TAGS-host: maybe-TAGS-binutils
1469 TAGS-host: maybe-TAGS-bison
1470 TAGS-host: maybe-TAGS-cgen
1471 TAGS-host: maybe-TAGS-dejagnu
1472 TAGS-host: maybe-TAGS-etc
1473 TAGS-host: maybe-TAGS-fastjar
1474 TAGS-host: maybe-TAGS-fixincludes
1475 TAGS-host: maybe-TAGS-flex
1476 TAGS-host: maybe-TAGS-gas
1477 TAGS-host: maybe-TAGS-gcc
1478 TAGS-host: maybe-TAGS-gmp
1479 TAGS-host: maybe-TAGS-mpfr
1480 TAGS-host: maybe-TAGS-mpc
1481 TAGS-host: maybe-TAGS-isl
1482 TAGS-host: maybe-TAGS-cloog
1483 TAGS-host: maybe-TAGS-libelf
1484 TAGS-host: maybe-TAGS-gold
1485 TAGS-host: maybe-TAGS-gprof
1486 TAGS-host: maybe-TAGS-intl
1487 TAGS-host: maybe-TAGS-tcl
1488 TAGS-host: maybe-TAGS-itcl
1489 TAGS-host: maybe-TAGS-ld
1490 TAGS-host: maybe-TAGS-libbacktrace
1491 TAGS-host: maybe-TAGS-libcpp
1492 TAGS-host: maybe-TAGS-libdecnumber
1493 TAGS-host: maybe-TAGS-libgui
1494 TAGS-host: maybe-TAGS-libiberty
1495 TAGS-host: maybe-TAGS-libiconv
1496 TAGS-host: maybe-TAGS-m4
1497 TAGS-host: maybe-TAGS-readline
1498 TAGS-host: maybe-TAGS-sid
1499 TAGS-host: maybe-TAGS-sim
1500 TAGS-host: maybe-TAGS-texinfo
1501 TAGS-host: maybe-TAGS-zlib
1502 TAGS-host: maybe-TAGS-gdb
1503 TAGS-host: maybe-TAGS-expect
1504 TAGS-host: maybe-TAGS-guile
1505 TAGS-host: maybe-TAGS-tk
1506 TAGS-host: maybe-TAGS-libtermcap
1507 TAGS-host: maybe-TAGS-utils
1508 TAGS-host: maybe-TAGS-gnattools
1509 TAGS-host: maybe-TAGS-lto-plugin
1510 TAGS-host: maybe-TAGS-function_reordering_plugin
1512 .PHONY: TAGS-target
1514 TAGS-target: maybe-TAGS-target-libstdc++-v3
1515 TAGS-target: maybe-TAGS-target-libsanitizer
1516 TAGS-target: maybe-TAGS-target-libvtv
1517 TAGS-target: maybe-TAGS-target-libcilkrts
1518 TAGS-target: maybe-TAGS-target-libssp
1519 TAGS-target: maybe-TAGS-target-newlib
1520 TAGS-target: maybe-TAGS-target-libgcc
1521 TAGS-target: maybe-TAGS-target-libbacktrace
1522 TAGS-target: maybe-TAGS-target-libquadmath
1523 TAGS-target: maybe-TAGS-target-libgfortran
1524 TAGS-target: maybe-TAGS-target-libobjc
1525 TAGS-target: maybe-TAGS-target-libgo
1526 TAGS-target: maybe-TAGS-target-libtermcap
1527 TAGS-target: maybe-TAGS-target-winsup
1528 TAGS-target: maybe-TAGS-target-libgloss
1529 TAGS-target: maybe-TAGS-target-libffi
1530 TAGS-target: maybe-TAGS-target-libjava
1531 TAGS-target: maybe-TAGS-target-zlib
1532 TAGS-target: maybe-TAGS-target-boehm-gc
1533 TAGS-target: maybe-TAGS-target-rda
1534 TAGS-target: maybe-TAGS-target-libada
1535 TAGS-target: maybe-TAGS-target-libgomp
1536 TAGS-target: maybe-TAGS-target-libitm
1537 TAGS-target: maybe-TAGS-target-libatomic
1539 .PHONY: do-install-info
1540 do-install-info:
1541 @: $(MAKE); $(unstage)
1542 @r=`${PWD_COMMAND}`; export r; \
1543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1544 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
1545 install-info-target
1548 .PHONY: install-info-host
1550 install-info-host: maybe-install-info-bfd
1551 install-info-host: maybe-install-info-opcodes
1552 install-info-host: maybe-install-info-binutils
1553 install-info-host: maybe-install-info-bison
1554 install-info-host: maybe-install-info-cgen
1555 install-info-host: maybe-install-info-dejagnu
1556 install-info-host: maybe-install-info-etc
1557 install-info-host: maybe-install-info-fastjar
1558 install-info-host: maybe-install-info-fixincludes
1559 install-info-host: maybe-install-info-flex
1560 install-info-host: maybe-install-info-gas
1561 install-info-host: maybe-install-info-gcc
1562 install-info-host: maybe-install-info-gmp
1563 install-info-host: maybe-install-info-mpfr
1564 install-info-host: maybe-install-info-mpc
1565 install-info-host: maybe-install-info-isl
1566 install-info-host: maybe-install-info-cloog
1567 install-info-host: maybe-install-info-libelf
1568 install-info-host: maybe-install-info-gold
1569 install-info-host: maybe-install-info-gprof
1570 install-info-host: maybe-install-info-intl
1571 install-info-host: maybe-install-info-tcl
1572 install-info-host: maybe-install-info-itcl
1573 install-info-host: maybe-install-info-ld
1574 install-info-host: maybe-install-info-libbacktrace
1575 install-info-host: maybe-install-info-libcpp
1576 install-info-host: maybe-install-info-libdecnumber
1577 install-info-host: maybe-install-info-libgui
1578 install-info-host: maybe-install-info-libiberty
1579 install-info-host: maybe-install-info-libiconv
1580 install-info-host: maybe-install-info-m4
1581 install-info-host: maybe-install-info-readline
1582 install-info-host: maybe-install-info-sid
1583 install-info-host: maybe-install-info-sim
1584 install-info-host: maybe-install-info-texinfo
1585 install-info-host: maybe-install-info-zlib
1586 install-info-host: maybe-install-info-gdb
1587 install-info-host: maybe-install-info-expect
1588 install-info-host: maybe-install-info-guile
1589 install-info-host: maybe-install-info-tk
1590 install-info-host: maybe-install-info-libtermcap
1591 install-info-host: maybe-install-info-utils
1592 install-info-host: maybe-install-info-gnattools
1593 install-info-host: maybe-install-info-lto-plugin
1594 install-info-host: maybe-install-info-function_reordering_plugin
1596 .PHONY: install-info-target
1598 install-info-target: maybe-install-info-target-libstdc++-v3
1599 install-info-target: maybe-install-info-target-libsanitizer
1600 install-info-target: maybe-install-info-target-libvtv
1601 install-info-target: maybe-install-info-target-libcilkrts
1602 install-info-target: maybe-install-info-target-libssp
1603 install-info-target: maybe-install-info-target-newlib
1604 install-info-target: maybe-install-info-target-libgcc
1605 install-info-target: maybe-install-info-target-libbacktrace
1606 install-info-target: maybe-install-info-target-libquadmath
1607 install-info-target: maybe-install-info-target-libgfortran
1608 install-info-target: maybe-install-info-target-libobjc
1609 install-info-target: maybe-install-info-target-libgo
1610 install-info-target: maybe-install-info-target-libtermcap
1611 install-info-target: maybe-install-info-target-winsup
1612 install-info-target: maybe-install-info-target-libgloss
1613 install-info-target: maybe-install-info-target-libffi
1614 install-info-target: maybe-install-info-target-libjava
1615 install-info-target: maybe-install-info-target-zlib
1616 install-info-target: maybe-install-info-target-boehm-gc
1617 install-info-target: maybe-install-info-target-rda
1618 install-info-target: maybe-install-info-target-libada
1619 install-info-target: maybe-install-info-target-libgomp
1620 install-info-target: maybe-install-info-target-libitm
1621 install-info-target: maybe-install-info-target-libatomic
1623 .PHONY: do-install-pdf
1624 do-install-pdf:
1625 @: $(MAKE); $(unstage)
1626 @r=`${PWD_COMMAND}`; export r; \
1627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1628 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-pdf-host \
1629 install-pdf-target
1632 .PHONY: install-pdf-host
1634 install-pdf-host: maybe-install-pdf-bfd
1635 install-pdf-host: maybe-install-pdf-opcodes
1636 install-pdf-host: maybe-install-pdf-binutils
1637 install-pdf-host: maybe-install-pdf-bison
1638 install-pdf-host: maybe-install-pdf-cgen
1639 install-pdf-host: maybe-install-pdf-dejagnu
1640 install-pdf-host: maybe-install-pdf-etc
1641 install-pdf-host: maybe-install-pdf-fastjar
1642 install-pdf-host: maybe-install-pdf-fixincludes
1643 install-pdf-host: maybe-install-pdf-flex
1644 install-pdf-host: maybe-install-pdf-gas
1645 install-pdf-host: maybe-install-pdf-gcc
1646 install-pdf-host: maybe-install-pdf-gmp
1647 install-pdf-host: maybe-install-pdf-mpfr
1648 install-pdf-host: maybe-install-pdf-mpc
1649 install-pdf-host: maybe-install-pdf-isl
1650 install-pdf-host: maybe-install-pdf-cloog
1651 install-pdf-host: maybe-install-pdf-libelf
1652 install-pdf-host: maybe-install-pdf-gold
1653 install-pdf-host: maybe-install-pdf-gprof
1654 install-pdf-host: maybe-install-pdf-intl
1655 install-pdf-host: maybe-install-pdf-tcl
1656 install-pdf-host: maybe-install-pdf-itcl
1657 install-pdf-host: maybe-install-pdf-ld
1658 install-pdf-host: maybe-install-pdf-libbacktrace
1659 install-pdf-host: maybe-install-pdf-libcpp
1660 install-pdf-host: maybe-install-pdf-libdecnumber
1661 install-pdf-host: maybe-install-pdf-libgui
1662 install-pdf-host: maybe-install-pdf-libiberty
1663 install-pdf-host: maybe-install-pdf-libiconv
1664 install-pdf-host: maybe-install-pdf-m4
1665 install-pdf-host: maybe-install-pdf-readline
1666 install-pdf-host: maybe-install-pdf-sid
1667 install-pdf-host: maybe-install-pdf-sim
1668 install-pdf-host: maybe-install-pdf-texinfo
1669 install-pdf-host: maybe-install-pdf-zlib
1670 install-pdf-host: maybe-install-pdf-gdb
1671 install-pdf-host: maybe-install-pdf-expect
1672 install-pdf-host: maybe-install-pdf-guile
1673 install-pdf-host: maybe-install-pdf-tk
1674 install-pdf-host: maybe-install-pdf-libtermcap
1675 install-pdf-host: maybe-install-pdf-utils
1676 install-pdf-host: maybe-install-pdf-gnattools
1677 install-pdf-host: maybe-install-pdf-lto-plugin
1678 install-pdf-host: maybe-install-pdf-function_reordering_plugin
1680 .PHONY: install-pdf-target
1682 install-pdf-target: maybe-install-pdf-target-libstdc++-v3
1683 install-pdf-target: maybe-install-pdf-target-libsanitizer
1684 install-pdf-target: maybe-install-pdf-target-libvtv
1685 install-pdf-target: maybe-install-pdf-target-libcilkrts
1686 install-pdf-target: maybe-install-pdf-target-libssp
1687 install-pdf-target: maybe-install-pdf-target-newlib
1688 install-pdf-target: maybe-install-pdf-target-libgcc
1689 install-pdf-target: maybe-install-pdf-target-libbacktrace
1690 install-pdf-target: maybe-install-pdf-target-libquadmath
1691 install-pdf-target: maybe-install-pdf-target-libgfortran
1692 install-pdf-target: maybe-install-pdf-target-libobjc
1693 install-pdf-target: maybe-install-pdf-target-libgo
1694 install-pdf-target: maybe-install-pdf-target-libtermcap
1695 install-pdf-target: maybe-install-pdf-target-winsup
1696 install-pdf-target: maybe-install-pdf-target-libgloss
1697 install-pdf-target: maybe-install-pdf-target-libffi
1698 install-pdf-target: maybe-install-pdf-target-libjava
1699 install-pdf-target: maybe-install-pdf-target-zlib
1700 install-pdf-target: maybe-install-pdf-target-boehm-gc
1701 install-pdf-target: maybe-install-pdf-target-rda
1702 install-pdf-target: maybe-install-pdf-target-libada
1703 install-pdf-target: maybe-install-pdf-target-libgomp
1704 install-pdf-target: maybe-install-pdf-target-libitm
1705 install-pdf-target: maybe-install-pdf-target-libatomic
1707 .PHONY: do-install-html
1708 do-install-html:
1709 @: $(MAKE); $(unstage)
1710 @r=`${PWD_COMMAND}`; export r; \
1711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1712 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-html-host \
1713 install-html-target
1716 .PHONY: install-html-host
1718 install-html-host: maybe-install-html-bfd
1719 install-html-host: maybe-install-html-opcodes
1720 install-html-host: maybe-install-html-binutils
1721 install-html-host: maybe-install-html-bison
1722 install-html-host: maybe-install-html-cgen
1723 install-html-host: maybe-install-html-dejagnu
1724 install-html-host: maybe-install-html-etc
1725 install-html-host: maybe-install-html-fastjar
1726 install-html-host: maybe-install-html-fixincludes
1727 install-html-host: maybe-install-html-flex
1728 install-html-host: maybe-install-html-gas
1729 install-html-host: maybe-install-html-gcc
1730 install-html-host: maybe-install-html-gmp
1731 install-html-host: maybe-install-html-mpfr
1732 install-html-host: maybe-install-html-mpc
1733 install-html-host: maybe-install-html-isl
1734 install-html-host: maybe-install-html-cloog
1735 install-html-host: maybe-install-html-libelf
1736 install-html-host: maybe-install-html-gold
1737 install-html-host: maybe-install-html-gprof
1738 install-html-host: maybe-install-html-intl
1739 install-html-host: maybe-install-html-tcl
1740 install-html-host: maybe-install-html-itcl
1741 install-html-host: maybe-install-html-ld
1742 install-html-host: maybe-install-html-libbacktrace
1743 install-html-host: maybe-install-html-libcpp
1744 install-html-host: maybe-install-html-libdecnumber
1745 install-html-host: maybe-install-html-libgui
1746 install-html-host: maybe-install-html-libiberty
1747 install-html-host: maybe-install-html-libiconv
1748 install-html-host: maybe-install-html-m4
1749 install-html-host: maybe-install-html-readline
1750 install-html-host: maybe-install-html-sid
1751 install-html-host: maybe-install-html-sim
1752 install-html-host: maybe-install-html-texinfo
1753 install-html-host: maybe-install-html-zlib
1754 install-html-host: maybe-install-html-gdb
1755 install-html-host: maybe-install-html-expect
1756 install-html-host: maybe-install-html-guile
1757 install-html-host: maybe-install-html-tk
1758 install-html-host: maybe-install-html-libtermcap
1759 install-html-host: maybe-install-html-utils
1760 install-html-host: maybe-install-html-gnattools
1761 install-html-host: maybe-install-html-lto-plugin
1762 install-html-host: maybe-install-html-function_reordering_plugin
1764 .PHONY: install-html-target
1766 install-html-target: maybe-install-html-target-libstdc++-v3
1767 install-html-target: maybe-install-html-target-libsanitizer
1768 install-html-target: maybe-install-html-target-libvtv
1769 install-html-target: maybe-install-html-target-libcilkrts
1770 install-html-target: maybe-install-html-target-libssp
1771 install-html-target: maybe-install-html-target-newlib
1772 install-html-target: maybe-install-html-target-libgcc
1773 install-html-target: maybe-install-html-target-libbacktrace
1774 install-html-target: maybe-install-html-target-libquadmath
1775 install-html-target: maybe-install-html-target-libgfortran
1776 install-html-target: maybe-install-html-target-libobjc
1777 install-html-target: maybe-install-html-target-libgo
1778 install-html-target: maybe-install-html-target-libtermcap
1779 install-html-target: maybe-install-html-target-winsup
1780 install-html-target: maybe-install-html-target-libgloss
1781 install-html-target: maybe-install-html-target-libffi
1782 install-html-target: maybe-install-html-target-libjava
1783 install-html-target: maybe-install-html-target-zlib
1784 install-html-target: maybe-install-html-target-boehm-gc
1785 install-html-target: maybe-install-html-target-rda
1786 install-html-target: maybe-install-html-target-libada
1787 install-html-target: maybe-install-html-target-libgomp
1788 install-html-target: maybe-install-html-target-libitm
1789 install-html-target: maybe-install-html-target-libatomic
1791 .PHONY: do-installcheck
1792 do-installcheck:
1793 @: $(MAKE); $(unstage)
1794 @r=`${PWD_COMMAND}`; export r; \
1795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1796 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
1797 installcheck-target
1800 .PHONY: installcheck-host
1802 installcheck-host: maybe-installcheck-bfd
1803 installcheck-host: maybe-installcheck-opcodes
1804 installcheck-host: maybe-installcheck-binutils
1805 installcheck-host: maybe-installcheck-bison
1806 installcheck-host: maybe-installcheck-cgen
1807 installcheck-host: maybe-installcheck-dejagnu
1808 installcheck-host: maybe-installcheck-etc
1809 installcheck-host: maybe-installcheck-fastjar
1810 installcheck-host: maybe-installcheck-fixincludes
1811 installcheck-host: maybe-installcheck-flex
1812 installcheck-host: maybe-installcheck-gas
1813 installcheck-host: maybe-installcheck-gcc
1814 installcheck-host: maybe-installcheck-gmp
1815 installcheck-host: maybe-installcheck-mpfr
1816 installcheck-host: maybe-installcheck-mpc
1817 installcheck-host: maybe-installcheck-isl
1818 installcheck-host: maybe-installcheck-cloog
1819 installcheck-host: maybe-installcheck-libelf
1820 installcheck-host: maybe-installcheck-gold
1821 installcheck-host: maybe-installcheck-gprof
1822 installcheck-host: maybe-installcheck-intl
1823 installcheck-host: maybe-installcheck-tcl
1824 installcheck-host: maybe-installcheck-itcl
1825 installcheck-host: maybe-installcheck-ld
1826 installcheck-host: maybe-installcheck-libbacktrace
1827 installcheck-host: maybe-installcheck-libcpp
1828 installcheck-host: maybe-installcheck-libdecnumber
1829 installcheck-host: maybe-installcheck-libgui
1830 installcheck-host: maybe-installcheck-libiberty
1831 installcheck-host: maybe-installcheck-libiconv
1832 installcheck-host: maybe-installcheck-m4
1833 installcheck-host: maybe-installcheck-readline
1834 installcheck-host: maybe-installcheck-sid
1835 installcheck-host: maybe-installcheck-sim
1836 installcheck-host: maybe-installcheck-texinfo
1837 installcheck-host: maybe-installcheck-zlib
1838 installcheck-host: maybe-installcheck-gdb
1839 installcheck-host: maybe-installcheck-expect
1840 installcheck-host: maybe-installcheck-guile
1841 installcheck-host: maybe-installcheck-tk
1842 installcheck-host: maybe-installcheck-libtermcap
1843 installcheck-host: maybe-installcheck-utils
1844 installcheck-host: maybe-installcheck-gnattools
1845 installcheck-host: maybe-installcheck-lto-plugin
1846 installcheck-host: maybe-installcheck-function_reordering_plugin
1848 .PHONY: installcheck-target
1850 installcheck-target: maybe-installcheck-target-libstdc++-v3
1851 installcheck-target: maybe-installcheck-target-libsanitizer
1852 installcheck-target: maybe-installcheck-target-libvtv
1853 installcheck-target: maybe-installcheck-target-libcilkrts
1854 installcheck-target: maybe-installcheck-target-libssp
1855 installcheck-target: maybe-installcheck-target-newlib
1856 installcheck-target: maybe-installcheck-target-libgcc
1857 installcheck-target: maybe-installcheck-target-libbacktrace
1858 installcheck-target: maybe-installcheck-target-libquadmath
1859 installcheck-target: maybe-installcheck-target-libgfortran
1860 installcheck-target: maybe-installcheck-target-libobjc
1861 installcheck-target: maybe-installcheck-target-libgo
1862 installcheck-target: maybe-installcheck-target-libtermcap
1863 installcheck-target: maybe-installcheck-target-winsup
1864 installcheck-target: maybe-installcheck-target-libgloss
1865 installcheck-target: maybe-installcheck-target-libffi
1866 installcheck-target: maybe-installcheck-target-libjava
1867 installcheck-target: maybe-installcheck-target-zlib
1868 installcheck-target: maybe-installcheck-target-boehm-gc
1869 installcheck-target: maybe-installcheck-target-rda
1870 installcheck-target: maybe-installcheck-target-libada
1871 installcheck-target: maybe-installcheck-target-libgomp
1872 installcheck-target: maybe-installcheck-target-libitm
1873 installcheck-target: maybe-installcheck-target-libatomic
1875 .PHONY: do-mostlyclean
1876 do-mostlyclean:
1877 @: $(MAKE); $(unstage)
1878 @r=`${PWD_COMMAND}`; export r; \
1879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1880 $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
1881 mostlyclean-target
1884 .PHONY: mostlyclean-host
1886 mostlyclean-host: maybe-mostlyclean-bfd
1887 mostlyclean-host: maybe-mostlyclean-opcodes
1888 mostlyclean-host: maybe-mostlyclean-binutils
1889 mostlyclean-host: maybe-mostlyclean-bison
1890 mostlyclean-host: maybe-mostlyclean-cgen
1891 mostlyclean-host: maybe-mostlyclean-dejagnu
1892 mostlyclean-host: maybe-mostlyclean-etc
1893 mostlyclean-host: maybe-mostlyclean-fastjar
1894 mostlyclean-host: maybe-mostlyclean-fixincludes
1895 mostlyclean-host: maybe-mostlyclean-flex
1896 mostlyclean-host: maybe-mostlyclean-gas
1897 mostlyclean-host: maybe-mostlyclean-gcc
1898 mostlyclean-host: maybe-mostlyclean-gmp
1899 mostlyclean-host: maybe-mostlyclean-mpfr
1900 mostlyclean-host: maybe-mostlyclean-mpc
1901 mostlyclean-host: maybe-mostlyclean-isl
1902 mostlyclean-host: maybe-mostlyclean-cloog
1903 mostlyclean-host: maybe-mostlyclean-libelf
1904 mostlyclean-host: maybe-mostlyclean-gold
1905 mostlyclean-host: maybe-mostlyclean-gprof
1906 mostlyclean-host: maybe-mostlyclean-intl
1907 mostlyclean-host: maybe-mostlyclean-tcl
1908 mostlyclean-host: maybe-mostlyclean-itcl
1909 mostlyclean-host: maybe-mostlyclean-ld
1910 mostlyclean-host: maybe-mostlyclean-libbacktrace
1911 mostlyclean-host: maybe-mostlyclean-libcpp
1912 mostlyclean-host: maybe-mostlyclean-libdecnumber
1913 mostlyclean-host: maybe-mostlyclean-libgui
1914 mostlyclean-host: maybe-mostlyclean-libiberty
1915 mostlyclean-host: maybe-mostlyclean-libiconv
1916 mostlyclean-host: maybe-mostlyclean-m4
1917 mostlyclean-host: maybe-mostlyclean-readline
1918 mostlyclean-host: maybe-mostlyclean-sid
1919 mostlyclean-host: maybe-mostlyclean-sim
1920 mostlyclean-host: maybe-mostlyclean-texinfo
1921 mostlyclean-host: maybe-mostlyclean-zlib
1922 mostlyclean-host: maybe-mostlyclean-gdb
1923 mostlyclean-host: maybe-mostlyclean-expect
1924 mostlyclean-host: maybe-mostlyclean-guile
1925 mostlyclean-host: maybe-mostlyclean-tk
1926 mostlyclean-host: maybe-mostlyclean-libtermcap
1927 mostlyclean-host: maybe-mostlyclean-utils
1928 mostlyclean-host: maybe-mostlyclean-gnattools
1929 mostlyclean-host: maybe-mostlyclean-lto-plugin
1930 mostlyclean-host: maybe-mostlyclean-function_reordering_plugin
1932 .PHONY: mostlyclean-target
1934 mostlyclean-target: maybe-mostlyclean-target-libstdc++-v3
1935 mostlyclean-target: maybe-mostlyclean-target-libsanitizer
1936 mostlyclean-target: maybe-mostlyclean-target-libvtv
1937 mostlyclean-target: maybe-mostlyclean-target-libcilkrts
1938 mostlyclean-target: maybe-mostlyclean-target-libssp
1939 mostlyclean-target: maybe-mostlyclean-target-newlib
1940 mostlyclean-target: maybe-mostlyclean-target-libgcc
1941 mostlyclean-target: maybe-mostlyclean-target-libbacktrace
1942 mostlyclean-target: maybe-mostlyclean-target-libquadmath
1943 mostlyclean-target: maybe-mostlyclean-target-libgfortran
1944 mostlyclean-target: maybe-mostlyclean-target-libobjc
1945 mostlyclean-target: maybe-mostlyclean-target-libgo
1946 mostlyclean-target: maybe-mostlyclean-target-libtermcap
1947 mostlyclean-target: maybe-mostlyclean-target-winsup
1948 mostlyclean-target: maybe-mostlyclean-target-libgloss
1949 mostlyclean-target: maybe-mostlyclean-target-libffi
1950 mostlyclean-target: maybe-mostlyclean-target-libjava
1951 mostlyclean-target: maybe-mostlyclean-target-zlib
1952 mostlyclean-target: maybe-mostlyclean-target-boehm-gc
1953 mostlyclean-target: maybe-mostlyclean-target-rda
1954 mostlyclean-target: maybe-mostlyclean-target-libada
1955 mostlyclean-target: maybe-mostlyclean-target-libgomp
1956 mostlyclean-target: maybe-mostlyclean-target-libitm
1957 mostlyclean-target: maybe-mostlyclean-target-libatomic
1959 .PHONY: do-clean
1960 do-clean:
1961 @: $(MAKE); $(unstage)
1962 @r=`${PWD_COMMAND}`; export r; \
1963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1964 $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
1965 clean-target
1968 .PHONY: clean-host
1970 clean-host: maybe-clean-bfd
1971 clean-host: maybe-clean-opcodes
1972 clean-host: maybe-clean-binutils
1973 clean-host: maybe-clean-bison
1974 clean-host: maybe-clean-cgen
1975 clean-host: maybe-clean-dejagnu
1976 clean-host: maybe-clean-etc
1977 clean-host: maybe-clean-fastjar
1978 clean-host: maybe-clean-fixincludes
1979 clean-host: maybe-clean-flex
1980 clean-host: maybe-clean-gas
1981 clean-host: maybe-clean-gcc
1982 clean-host: maybe-clean-gmp
1983 clean-host: maybe-clean-mpfr
1984 clean-host: maybe-clean-mpc
1985 clean-host: maybe-clean-isl
1986 clean-host: maybe-clean-cloog
1987 clean-host: maybe-clean-libelf
1988 clean-host: maybe-clean-gold
1989 clean-host: maybe-clean-gprof
1990 clean-host: maybe-clean-intl
1991 clean-host: maybe-clean-tcl
1992 clean-host: maybe-clean-itcl
1993 clean-host: maybe-clean-ld
1994 clean-host: maybe-clean-libbacktrace
1995 clean-host: maybe-clean-libcpp
1996 clean-host: maybe-clean-libdecnumber
1997 clean-host: maybe-clean-libgui
1998 clean-host: maybe-clean-libiberty
1999 clean-host: maybe-clean-libiconv
2000 clean-host: maybe-clean-m4
2001 clean-host: maybe-clean-readline
2002 clean-host: maybe-clean-sid
2003 clean-host: maybe-clean-sim
2004 clean-host: maybe-clean-texinfo
2005 clean-host: maybe-clean-zlib
2006 clean-host: maybe-clean-gdb
2007 clean-host: maybe-clean-expect
2008 clean-host: maybe-clean-guile
2009 clean-host: maybe-clean-tk
2010 clean-host: maybe-clean-libtermcap
2011 clean-host: maybe-clean-utils
2012 clean-host: maybe-clean-gnattools
2013 clean-host: maybe-clean-lto-plugin
2014 clean-host: maybe-clean-function_reordering_plugin
2016 .PHONY: clean-target
2018 clean-target: maybe-clean-target-libstdc++-v3
2019 clean-target: maybe-clean-target-libsanitizer
2020 clean-target: maybe-clean-target-libvtv
2021 clean-target: maybe-clean-target-libcilkrts
2022 clean-target: maybe-clean-target-libssp
2023 clean-target: maybe-clean-target-newlib
2024 clean-target: maybe-clean-target-libgcc
2025 clean-target: maybe-clean-target-libbacktrace
2026 clean-target: maybe-clean-target-libquadmath
2027 clean-target: maybe-clean-target-libgfortran
2028 clean-target: maybe-clean-target-libobjc
2029 clean-target: maybe-clean-target-libgo
2030 clean-target: maybe-clean-target-libtermcap
2031 clean-target: maybe-clean-target-winsup
2032 clean-target: maybe-clean-target-libgloss
2033 clean-target: maybe-clean-target-libffi
2034 clean-target: maybe-clean-target-libjava
2035 clean-target: maybe-clean-target-zlib
2036 clean-target: maybe-clean-target-boehm-gc
2037 clean-target: maybe-clean-target-rda
2038 clean-target: maybe-clean-target-libada
2039 clean-target: maybe-clean-target-libgomp
2040 clean-target: maybe-clean-target-libitm
2041 clean-target: maybe-clean-target-libatomic
2043 .PHONY: do-distclean
2044 do-distclean:
2045 @: $(MAKE); $(unstage)
2046 @r=`${PWD_COMMAND}`; export r; \
2047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2048 $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
2049 distclean-target
2052 .PHONY: distclean-host
2054 distclean-host: maybe-distclean-bfd
2055 distclean-host: maybe-distclean-opcodes
2056 distclean-host: maybe-distclean-binutils
2057 distclean-host: maybe-distclean-bison
2058 distclean-host: maybe-distclean-cgen
2059 distclean-host: maybe-distclean-dejagnu
2060 distclean-host: maybe-distclean-etc
2061 distclean-host: maybe-distclean-fastjar
2062 distclean-host: maybe-distclean-fixincludes
2063 distclean-host: maybe-distclean-flex
2064 distclean-host: maybe-distclean-gas
2065 distclean-host: maybe-distclean-gcc
2066 distclean-host: maybe-distclean-gmp
2067 distclean-host: maybe-distclean-mpfr
2068 distclean-host: maybe-distclean-mpc
2069 distclean-host: maybe-distclean-isl
2070 distclean-host: maybe-distclean-cloog
2071 distclean-host: maybe-distclean-libelf
2072 distclean-host: maybe-distclean-gold
2073 distclean-host: maybe-distclean-gprof
2074 distclean-host: maybe-distclean-intl
2075 distclean-host: maybe-distclean-tcl
2076 distclean-host: maybe-distclean-itcl
2077 distclean-host: maybe-distclean-ld
2078 distclean-host: maybe-distclean-libbacktrace
2079 distclean-host: maybe-distclean-libcpp
2080 distclean-host: maybe-distclean-libdecnumber
2081 distclean-host: maybe-distclean-libgui
2082 distclean-host: maybe-distclean-libiberty
2083 distclean-host: maybe-distclean-libiconv
2084 distclean-host: maybe-distclean-m4
2085 distclean-host: maybe-distclean-readline
2086 distclean-host: maybe-distclean-sid
2087 distclean-host: maybe-distclean-sim
2088 distclean-host: maybe-distclean-texinfo
2089 distclean-host: maybe-distclean-zlib
2090 distclean-host: maybe-distclean-gdb
2091 distclean-host: maybe-distclean-expect
2092 distclean-host: maybe-distclean-guile
2093 distclean-host: maybe-distclean-tk
2094 distclean-host: maybe-distclean-libtermcap
2095 distclean-host: maybe-distclean-utils
2096 distclean-host: maybe-distclean-gnattools
2097 distclean-host: maybe-distclean-lto-plugin
2098 distclean-host: maybe-distclean-function_reordering_plugin
2100 .PHONY: distclean-target
2102 distclean-target: maybe-distclean-target-libstdc++-v3
2103 distclean-target: maybe-distclean-target-libsanitizer
2104 distclean-target: maybe-distclean-target-libvtv
2105 distclean-target: maybe-distclean-target-libcilkrts
2106 distclean-target: maybe-distclean-target-libssp
2107 distclean-target: maybe-distclean-target-newlib
2108 distclean-target: maybe-distclean-target-libgcc
2109 distclean-target: maybe-distclean-target-libbacktrace
2110 distclean-target: maybe-distclean-target-libquadmath
2111 distclean-target: maybe-distclean-target-libgfortran
2112 distclean-target: maybe-distclean-target-libobjc
2113 distclean-target: maybe-distclean-target-libgo
2114 distclean-target: maybe-distclean-target-libtermcap
2115 distclean-target: maybe-distclean-target-winsup
2116 distclean-target: maybe-distclean-target-libgloss
2117 distclean-target: maybe-distclean-target-libffi
2118 distclean-target: maybe-distclean-target-libjava
2119 distclean-target: maybe-distclean-target-zlib
2120 distclean-target: maybe-distclean-target-boehm-gc
2121 distclean-target: maybe-distclean-target-rda
2122 distclean-target: maybe-distclean-target-libada
2123 distclean-target: maybe-distclean-target-libgomp
2124 distclean-target: maybe-distclean-target-libitm
2125 distclean-target: maybe-distclean-target-libatomic
2127 .PHONY: do-maintainer-clean
2128 do-maintainer-clean:
2129 @: $(MAKE); $(unstage)
2130 @r=`${PWD_COMMAND}`; export r; \
2131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2132 $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
2133 maintainer-clean-target
2136 .PHONY: maintainer-clean-host
2138 maintainer-clean-host: maybe-maintainer-clean-bfd
2139 maintainer-clean-host: maybe-maintainer-clean-opcodes
2140 maintainer-clean-host: maybe-maintainer-clean-binutils
2141 maintainer-clean-host: maybe-maintainer-clean-bison
2142 maintainer-clean-host: maybe-maintainer-clean-cgen
2143 maintainer-clean-host: maybe-maintainer-clean-dejagnu
2144 maintainer-clean-host: maybe-maintainer-clean-etc
2145 maintainer-clean-host: maybe-maintainer-clean-fastjar
2146 maintainer-clean-host: maybe-maintainer-clean-fixincludes
2147 maintainer-clean-host: maybe-maintainer-clean-flex
2148 maintainer-clean-host: maybe-maintainer-clean-gas
2149 maintainer-clean-host: maybe-maintainer-clean-gcc
2150 maintainer-clean-host: maybe-maintainer-clean-gmp
2151 maintainer-clean-host: maybe-maintainer-clean-mpfr
2152 maintainer-clean-host: maybe-maintainer-clean-mpc
2153 maintainer-clean-host: maybe-maintainer-clean-isl
2154 maintainer-clean-host: maybe-maintainer-clean-cloog
2155 maintainer-clean-host: maybe-maintainer-clean-libelf
2156 maintainer-clean-host: maybe-maintainer-clean-gold
2157 maintainer-clean-host: maybe-maintainer-clean-gprof
2158 maintainer-clean-host: maybe-maintainer-clean-intl
2159 maintainer-clean-host: maybe-maintainer-clean-tcl
2160 maintainer-clean-host: maybe-maintainer-clean-itcl
2161 maintainer-clean-host: maybe-maintainer-clean-ld
2162 maintainer-clean-host: maybe-maintainer-clean-libbacktrace
2163 maintainer-clean-host: maybe-maintainer-clean-libcpp
2164 maintainer-clean-host: maybe-maintainer-clean-libdecnumber
2165 maintainer-clean-host: maybe-maintainer-clean-libgui
2166 maintainer-clean-host: maybe-maintainer-clean-libiberty
2167 maintainer-clean-host: maybe-maintainer-clean-libiconv
2168 maintainer-clean-host: maybe-maintainer-clean-m4
2169 maintainer-clean-host: maybe-maintainer-clean-readline
2170 maintainer-clean-host: maybe-maintainer-clean-sid
2171 maintainer-clean-host: maybe-maintainer-clean-sim
2172 maintainer-clean-host: maybe-maintainer-clean-texinfo
2173 maintainer-clean-host: maybe-maintainer-clean-zlib
2174 maintainer-clean-host: maybe-maintainer-clean-gdb
2175 maintainer-clean-host: maybe-maintainer-clean-expect
2176 maintainer-clean-host: maybe-maintainer-clean-guile
2177 maintainer-clean-host: maybe-maintainer-clean-tk
2178 maintainer-clean-host: maybe-maintainer-clean-libtermcap
2179 maintainer-clean-host: maybe-maintainer-clean-utils
2180 maintainer-clean-host: maybe-maintainer-clean-gnattools
2181 maintainer-clean-host: maybe-maintainer-clean-lto-plugin
2182 maintainer-clean-host: maybe-maintainer-clean-function_reordering_plugin
2184 .PHONY: maintainer-clean-target
2186 maintainer-clean-target: maybe-maintainer-clean-target-libstdc++-v3
2187 maintainer-clean-target: maybe-maintainer-clean-target-libsanitizer
2188 maintainer-clean-target: maybe-maintainer-clean-target-libvtv
2189 maintainer-clean-target: maybe-maintainer-clean-target-libcilkrts
2190 maintainer-clean-target: maybe-maintainer-clean-target-libssp
2191 maintainer-clean-target: maybe-maintainer-clean-target-newlib
2192 maintainer-clean-target: maybe-maintainer-clean-target-libgcc
2193 maintainer-clean-target: maybe-maintainer-clean-target-libbacktrace
2194 maintainer-clean-target: maybe-maintainer-clean-target-libquadmath
2195 maintainer-clean-target: maybe-maintainer-clean-target-libgfortran
2196 maintainer-clean-target: maybe-maintainer-clean-target-libobjc
2197 maintainer-clean-target: maybe-maintainer-clean-target-libgo
2198 maintainer-clean-target: maybe-maintainer-clean-target-libtermcap
2199 maintainer-clean-target: maybe-maintainer-clean-target-winsup
2200 maintainer-clean-target: maybe-maintainer-clean-target-libgloss
2201 maintainer-clean-target: maybe-maintainer-clean-target-libffi
2202 maintainer-clean-target: maybe-maintainer-clean-target-libjava
2203 maintainer-clean-target: maybe-maintainer-clean-target-zlib
2204 maintainer-clean-target: maybe-maintainer-clean-target-boehm-gc
2205 maintainer-clean-target: maybe-maintainer-clean-target-rda
2206 maintainer-clean-target: maybe-maintainer-clean-target-libada
2207 maintainer-clean-target: maybe-maintainer-clean-target-libgomp
2208 maintainer-clean-target: maybe-maintainer-clean-target-libitm
2209 maintainer-clean-target: maybe-maintainer-clean-target-libatomic
2212 # Here are the targets which correspond to the do-X targets.
2214 .PHONY: info installcheck dvi pdf html
2215 .PHONY: install-info install-pdf install-html
2216 .PHONY: clean distclean mostlyclean maintainer-clean realclean
2217 .PHONY: local-clean local-distclean local-maintainer-clean
2218 info: do-info
2219 installcheck: do-installcheck
2220 dvi: do-dvi
2221 pdf: do-pdf
2222 html: do-html
2224 # Make sure makeinfo is built before we do a `make info', if we're
2225 # in fact building texinfo.
2226 do-info: maybe-all-texinfo
2228 install-info: do-install-info dir.info
2229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2230 if [ -f dir.info ] ; then \
2231 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
2232 else true ; fi
2234 install-pdf: do-install-pdf
2236 install-html: do-install-html
2238 local-clean:
2239 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
2241 local-distclean:
2242 -rm -f Makefile config.status config.cache mh-frag mt-frag
2243 -rm -f maybedep.tmp serdep.tmp
2244 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
2245 rm -rf $(TARGET_SUBDIR); \
2246 else true; fi
2247 -rm -rf $(BUILD_SUBDIR)
2248 -if [ "$(HOST_SUBDIR)" != "." ]; then \
2249 rm -rf $(HOST_SUBDIR); \
2250 else true; fi
2251 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
2252 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
2253 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
2254 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
2255 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
2256 -find . -name config.cache -exec rm -f {} \; \; 2>/dev/null
2258 local-maintainer-clean:
2259 @echo "This command is intended for maintainers to use;"
2260 @echo "it deletes files that may require special tools to rebuild."
2262 clean: do-clean local-clean
2263 mostlyclean: do-mostlyclean local-clean
2264 distclean: do-distclean local-clean local-distclean
2265 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
2266 maintainer-clean: local-distclean
2267 realclean: maintainer-clean
2269 # Check target.
2271 .PHONY: check do-check
2272 check: do-check
2274 # Only include modules actually being configured and built.
2275 .PHONY: check-host
2276 check-host: \
2277 maybe-check-bfd \
2278 maybe-check-opcodes \
2279 maybe-check-binutils \
2280 maybe-check-bison \
2281 maybe-check-cgen \
2282 maybe-check-dejagnu \
2283 maybe-check-etc \
2284 maybe-check-fastjar \
2285 maybe-check-fixincludes \
2286 maybe-check-flex \
2287 maybe-check-gas \
2288 maybe-check-gcc \
2289 maybe-check-gmp \
2290 maybe-check-mpfr \
2291 maybe-check-mpc \
2292 maybe-check-isl \
2293 maybe-check-cloog \
2294 maybe-check-libelf \
2295 maybe-check-gold \
2296 maybe-check-gprof \
2297 maybe-check-intl \
2298 maybe-check-tcl \
2299 maybe-check-itcl \
2300 maybe-check-ld \
2301 maybe-check-libbacktrace \
2302 maybe-check-libcpp \
2303 maybe-check-libdecnumber \
2304 maybe-check-libgui \
2305 maybe-check-libiberty \
2306 maybe-check-libiconv \
2307 maybe-check-m4 \
2308 maybe-check-readline \
2309 maybe-check-sid \
2310 maybe-check-sim \
2311 maybe-check-texinfo \
2312 maybe-check-zlib \
2313 maybe-check-gdb \
2314 maybe-check-expect \
2315 maybe-check-guile \
2316 maybe-check-tk \
2317 maybe-check-libtermcap \
2318 maybe-check-utils \
2319 maybe-check-gnattools \
2320 maybe-check-lto-plugin \
2321 maybe-check-function_reordering_plugin
2323 .PHONY: check-target
2324 check-target: \
2325 maybe-check-target-libstdc++-v3 \
2326 maybe-check-target-libsanitizer \
2327 maybe-check-target-libvtv \
2328 maybe-check-target-libcilkrts \
2329 maybe-check-target-libssp \
2330 maybe-check-target-newlib \
2331 maybe-check-target-libgcc \
2332 maybe-check-target-libbacktrace \
2333 maybe-check-target-libquadmath \
2334 maybe-check-target-libgfortran \
2335 maybe-check-target-libobjc \
2336 maybe-check-target-libgo \
2337 maybe-check-target-libtermcap \
2338 maybe-check-target-winsup \
2339 maybe-check-target-libgloss \
2340 maybe-check-target-libffi \
2341 maybe-check-target-libjava \
2342 maybe-check-target-zlib \
2343 maybe-check-target-boehm-gc \
2344 maybe-check-target-rda \
2345 maybe-check-target-libada \
2346 maybe-check-target-libgomp \
2347 maybe-check-target-libitm \
2348 maybe-check-target-libatomic
2350 do-check:
2351 @: $(MAKE); $(unstage)
2352 @r=`${PWD_COMMAND}`; export r; \
2353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2354 $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
2356 # Automated reporting of test results.
2358 warning.log: build.log
2359 $(srcdir)/contrib/warn_summary build.log > $@
2361 mail-report.log:
2362 if test x'$(BOOT_CFLAGS)' != x''; then \
2363 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2364 fi; \
2365 $(srcdir)/contrib/test_summary -t >$@
2366 chmod +x $@
2367 echo If you really want to send e-mail, run ./$@ now
2369 mail-report-with-warnings.log: warning.log
2370 if test x'$(BOOT_CFLAGS)' != x''; then \
2371 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2372 fi; \
2373 $(srcdir)/contrib/test_summary -t -i warning.log >$@
2374 chmod +x $@
2375 echo If you really want to send e-mail, run ./$@ now
2377 # Installation targets.
2379 .PHONY: install uninstall
2380 install:
2381 @: $(MAKE); $(unstage)
2382 @r=`${PWD_COMMAND}`; export r; \
2383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2384 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
2386 .PHONY: install-host-nogcc
2387 install-host-nogcc: \
2388 maybe-install-bfd \
2389 maybe-install-opcodes \
2390 maybe-install-binutils \
2391 maybe-install-bison \
2392 maybe-install-cgen \
2393 maybe-install-dejagnu \
2394 maybe-install-etc \
2395 maybe-install-fastjar \
2396 maybe-install-fixincludes \
2397 maybe-install-flex \
2398 maybe-install-gas \
2399 maybe-install-gmp \
2400 maybe-install-mpfr \
2401 maybe-install-mpc \
2402 maybe-install-isl \
2403 maybe-install-cloog \
2404 maybe-install-libelf \
2405 maybe-install-gold \
2406 maybe-install-gprof \
2407 maybe-install-intl \
2408 maybe-install-tcl \
2409 maybe-install-itcl \
2410 maybe-install-ld \
2411 maybe-install-libbacktrace \
2412 maybe-install-libcpp \
2413 maybe-install-libdecnumber \
2414 maybe-install-libgui \
2415 maybe-install-libiberty \
2416 maybe-install-libiconv \
2417 maybe-install-m4 \
2418 maybe-install-readline \
2419 maybe-install-sid \
2420 maybe-install-sim \
2421 maybe-install-texinfo \
2422 maybe-install-zlib \
2423 maybe-install-gdb \
2424 maybe-install-expect \
2425 maybe-install-guile \
2426 maybe-install-tk \
2427 maybe-install-libtermcap \
2428 maybe-install-utils \
2429 maybe-install-gnattools \
2430 maybe-install-lto-plugin \
2431 maybe-install-function_reordering_plugin
2433 .PHONY: install-host
2434 install-host: \
2435 maybe-install-bfd \
2436 maybe-install-opcodes \
2437 maybe-install-binutils \
2438 maybe-install-bison \
2439 maybe-install-cgen \
2440 maybe-install-dejagnu \
2441 maybe-install-etc \
2442 maybe-install-fastjar \
2443 maybe-install-fixincludes \
2444 maybe-install-flex \
2445 maybe-install-gas \
2446 maybe-install-gcc \
2447 maybe-install-gmp \
2448 maybe-install-mpfr \
2449 maybe-install-mpc \
2450 maybe-install-isl \
2451 maybe-install-cloog \
2452 maybe-install-libelf \
2453 maybe-install-gold \
2454 maybe-install-gprof \
2455 maybe-install-intl \
2456 maybe-install-tcl \
2457 maybe-install-itcl \
2458 maybe-install-ld \
2459 maybe-install-libbacktrace \
2460 maybe-install-libcpp \
2461 maybe-install-libdecnumber \
2462 maybe-install-libgui \
2463 maybe-install-libiberty \
2464 maybe-install-libiconv \
2465 maybe-install-m4 \
2466 maybe-install-readline \
2467 maybe-install-sid \
2468 maybe-install-sim \
2469 maybe-install-texinfo \
2470 maybe-install-zlib \
2471 maybe-install-gdb \
2472 maybe-install-expect \
2473 maybe-install-guile \
2474 maybe-install-tk \
2475 maybe-install-libtermcap \
2476 maybe-install-utils \
2477 maybe-install-gnattools \
2478 maybe-install-lto-plugin \
2479 maybe-install-function_reordering_plugin
2481 .PHONY: install-target
2482 install-target: \
2483 maybe-install-target-libstdc++-v3 \
2484 maybe-install-target-libsanitizer \
2485 maybe-install-target-libvtv \
2486 maybe-install-target-libcilkrts \
2487 maybe-install-target-libssp \
2488 maybe-install-target-newlib \
2489 maybe-install-target-libgcc \
2490 maybe-install-target-libbacktrace \
2491 maybe-install-target-libquadmath \
2492 maybe-install-target-libgfortran \
2493 maybe-install-target-libobjc \
2494 maybe-install-target-libgo \
2495 maybe-install-target-libtermcap \
2496 maybe-install-target-winsup \
2497 maybe-install-target-libgloss \
2498 maybe-install-target-libffi \
2499 maybe-install-target-libjava \
2500 maybe-install-target-zlib \
2501 maybe-install-target-boehm-gc \
2502 maybe-install-target-rda \
2503 maybe-install-target-libada \
2504 maybe-install-target-libgomp \
2505 maybe-install-target-libitm \
2506 maybe-install-target-libatomic
2508 uninstall:
2509 @echo "the uninstall target is not supported in this tree"
2511 .PHONY: install.all
2512 install.all: install-no-fixedincludes
2513 @if [ -f ./gcc/Makefile ] ; then \
2514 r=`${PWD_COMMAND}` ; export r ; \
2515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2516 $(HOST_EXPORTS) \
2517 (cd ./gcc && \
2518 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2519 else \
2520 true ; \
2523 # install-no-fixedincludes is used to allow the elaboration of binary packages
2524 # suitable for distribution, where we cannot include the fixed system header
2525 # files.
2526 .PHONY: install-no-fixedincludes
2527 install-no-fixedincludes: installdirs install-host-nogcc \
2528 install-target gcc-install-no-fixedincludes
2530 .PHONY: install-strip
2531 install-strip:
2532 @: $(MAKE); $(unstage)
2533 @r=`${PWD_COMMAND}`; export r; \
2534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2535 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-strip-host install-strip-target
2537 .PHONY: install-strip-host
2538 install-strip-host: \
2539 maybe-install-strip-bfd \
2540 maybe-install-strip-opcodes \
2541 maybe-install-strip-binutils \
2542 maybe-install-strip-bison \
2543 maybe-install-strip-cgen \
2544 maybe-install-strip-dejagnu \
2545 maybe-install-strip-etc \
2546 maybe-install-strip-fastjar \
2547 maybe-install-strip-fixincludes \
2548 maybe-install-strip-flex \
2549 maybe-install-strip-gas \
2550 maybe-install-strip-gcc \
2551 maybe-install-strip-gmp \
2552 maybe-install-strip-mpfr \
2553 maybe-install-strip-mpc \
2554 maybe-install-strip-isl \
2555 maybe-install-strip-cloog \
2556 maybe-install-strip-libelf \
2557 maybe-install-strip-gold \
2558 maybe-install-strip-gprof \
2559 maybe-install-strip-intl \
2560 maybe-install-strip-tcl \
2561 maybe-install-strip-itcl \
2562 maybe-install-strip-ld \
2563 maybe-install-strip-libbacktrace \
2564 maybe-install-strip-libcpp \
2565 maybe-install-strip-libdecnumber \
2566 maybe-install-strip-libgui \
2567 maybe-install-strip-libiberty \
2568 maybe-install-strip-libiconv \
2569 maybe-install-strip-m4 \
2570 maybe-install-strip-readline \
2571 maybe-install-strip-sid \
2572 maybe-install-strip-sim \
2573 maybe-install-strip-texinfo \
2574 maybe-install-strip-zlib \
2575 maybe-install-strip-gdb \
2576 maybe-install-strip-expect \
2577 maybe-install-strip-guile \
2578 maybe-install-strip-tk \
2579 maybe-install-strip-libtermcap \
2580 maybe-install-strip-utils \
2581 maybe-install-strip-gnattools \
2582 maybe-install-strip-lto-plugin \
2583 maybe-install-strip-function_reordering_plugin
2585 .PHONY: install-strip-target
2586 install-strip-target: \
2587 maybe-install-strip-target-libstdc++-v3 \
2588 maybe-install-strip-target-libsanitizer \
2589 maybe-install-strip-target-libvtv \
2590 maybe-install-strip-target-libcilkrts \
2591 maybe-install-strip-target-libssp \
2592 maybe-install-strip-target-newlib \
2593 maybe-install-strip-target-libgcc \
2594 maybe-install-strip-target-libbacktrace \
2595 maybe-install-strip-target-libquadmath \
2596 maybe-install-strip-target-libgfortran \
2597 maybe-install-strip-target-libobjc \
2598 maybe-install-strip-target-libgo \
2599 maybe-install-strip-target-libtermcap \
2600 maybe-install-strip-target-winsup \
2601 maybe-install-strip-target-libgloss \
2602 maybe-install-strip-target-libffi \
2603 maybe-install-strip-target-libjava \
2604 maybe-install-strip-target-zlib \
2605 maybe-install-strip-target-boehm-gc \
2606 maybe-install-strip-target-rda \
2607 maybe-install-strip-target-libada \
2608 maybe-install-strip-target-libgomp \
2609 maybe-install-strip-target-libitm \
2610 maybe-install-strip-target-libatomic
2613 ### other supporting targets
2615 MAKEDIRS= \
2616 $(DESTDIR)$(prefix) \
2617 $(DESTDIR)$(exec_prefix)
2618 .PHONY: installdirs
2619 installdirs: mkinstalldirs
2620 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2622 dir.info: do-install-info
2623 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2624 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2625 mv -f dir.info.new dir.info ; \
2626 else true ; \
2629 dist:
2630 @echo "Building a full distribution of this tree isn't done"
2631 @echo "via 'make dist'. Check out the etc/ subdirectory"
2633 etags tags: TAGS
2635 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2636 # ability to use several tags files at once, so there is probably no need
2637 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2638 # (if we felt like it) have this Makefile write a piece of elisp which
2639 # the user could load to tell emacs19 where all the TAGS files we just
2640 # built are.
2641 TAGS: do-TAGS
2643 # ------------------------------------
2644 # Macros for configure and all targets
2645 # ------------------------------------
2651 # --------------------------------------
2652 # Modules which run on the build machine
2653 # --------------------------------------
2656 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2657 maybe-configure-build-libiberty:
2658 @if gcc-bootstrap
2659 configure-build-libiberty: stage_current
2660 @endif gcc-bootstrap
2661 @if build-libiberty
2662 maybe-configure-build-libiberty: configure-build-libiberty
2663 configure-build-libiberty:
2664 @: $(MAKE); $(unstage)
2665 @r=`${PWD_COMMAND}`; export r; \
2666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2667 test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2668 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2669 $(BUILD_EXPORTS) \
2670 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2671 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2672 case $(srcdir) in \
2673 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2674 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2675 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2676 esac; \
2677 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2678 libsrcdir="$$s/libiberty"; \
2679 rm -f no-such-file || : ; \
2680 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2681 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2682 --target=${target_alias} $${srcdiroption} \
2683 || exit 1
2684 @endif build-libiberty
2690 .PHONY: all-build-libiberty maybe-all-build-libiberty
2691 maybe-all-build-libiberty:
2692 @if gcc-bootstrap
2693 all-build-libiberty: stage_current
2694 @endif gcc-bootstrap
2695 @if build-libiberty
2696 TARGET-build-libiberty=all
2697 maybe-all-build-libiberty: all-build-libiberty
2698 all-build-libiberty: configure-build-libiberty
2699 @: $(MAKE); $(unstage)
2700 @r=`${PWD_COMMAND}`; export r; \
2701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2702 $(BUILD_EXPORTS) \
2703 (cd $(BUILD_SUBDIR)/libiberty && \
2704 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2705 $(TARGET-build-libiberty))
2706 @endif build-libiberty
2712 .PHONY: configure-build-bison maybe-configure-build-bison
2713 maybe-configure-build-bison:
2714 @if gcc-bootstrap
2715 configure-build-bison: stage_current
2716 @endif gcc-bootstrap
2717 @if build-bison
2718 maybe-configure-build-bison: configure-build-bison
2719 configure-build-bison:
2720 @: $(MAKE); $(unstage)
2721 @r=`${PWD_COMMAND}`; export r; \
2722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2723 test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2724 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2725 $(BUILD_EXPORTS) \
2726 echo Configuring in $(BUILD_SUBDIR)/bison; \
2727 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2728 case $(srcdir) in \
2729 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2730 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2731 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2732 esac; \
2733 srcdiroption="--srcdir=$${topdir}/bison"; \
2734 libsrcdir="$$s/bison"; \
2735 rm -f no-such-file || : ; \
2736 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2737 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2738 --target=${target_alias} $${srcdiroption} \
2739 || exit 1
2740 @endif build-bison
2746 .PHONY: all-build-bison maybe-all-build-bison
2747 maybe-all-build-bison:
2748 @if gcc-bootstrap
2749 all-build-bison: stage_current
2750 @endif gcc-bootstrap
2751 @if build-bison
2752 TARGET-build-bison=all
2753 maybe-all-build-bison: all-build-bison
2754 all-build-bison: configure-build-bison
2755 @: $(MAKE); $(unstage)
2756 @r=`${PWD_COMMAND}`; export r; \
2757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2758 $(BUILD_EXPORTS) \
2759 (cd $(BUILD_SUBDIR)/bison && \
2760 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2761 $(TARGET-build-bison))
2762 @endif build-bison
2768 .PHONY: configure-build-flex maybe-configure-build-flex
2769 maybe-configure-build-flex:
2770 @if gcc-bootstrap
2771 configure-build-flex: stage_current
2772 @endif gcc-bootstrap
2773 @if build-flex
2774 maybe-configure-build-flex: configure-build-flex
2775 configure-build-flex:
2776 @: $(MAKE); $(unstage)
2777 @r=`${PWD_COMMAND}`; export r; \
2778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2779 test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2780 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2781 $(BUILD_EXPORTS) \
2782 echo Configuring in $(BUILD_SUBDIR)/flex; \
2783 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2784 case $(srcdir) in \
2785 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2786 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2787 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2788 esac; \
2789 srcdiroption="--srcdir=$${topdir}/flex"; \
2790 libsrcdir="$$s/flex"; \
2791 rm -f no-such-file || : ; \
2792 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2793 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2794 --target=${target_alias} $${srcdiroption} \
2795 || exit 1
2796 @endif build-flex
2802 .PHONY: all-build-flex maybe-all-build-flex
2803 maybe-all-build-flex:
2804 @if gcc-bootstrap
2805 all-build-flex: stage_current
2806 @endif gcc-bootstrap
2807 @if build-flex
2808 TARGET-build-flex=all
2809 maybe-all-build-flex: all-build-flex
2810 all-build-flex: configure-build-flex
2811 @: $(MAKE); $(unstage)
2812 @r=`${PWD_COMMAND}`; export r; \
2813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2814 $(BUILD_EXPORTS) \
2815 (cd $(BUILD_SUBDIR)/flex && \
2816 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2817 $(TARGET-build-flex))
2818 @endif build-flex
2824 .PHONY: configure-build-m4 maybe-configure-build-m4
2825 maybe-configure-build-m4:
2826 @if gcc-bootstrap
2827 configure-build-m4: stage_current
2828 @endif gcc-bootstrap
2829 @if build-m4
2830 maybe-configure-build-m4: configure-build-m4
2831 configure-build-m4:
2832 @: $(MAKE); $(unstage)
2833 @r=`${PWD_COMMAND}`; export r; \
2834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2835 test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2836 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2837 $(BUILD_EXPORTS) \
2838 echo Configuring in $(BUILD_SUBDIR)/m4; \
2839 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2840 case $(srcdir) in \
2841 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2842 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
2843 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2844 esac; \
2845 srcdiroption="--srcdir=$${topdir}/m4"; \
2846 libsrcdir="$$s/m4"; \
2847 rm -f no-such-file || : ; \
2848 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2849 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2850 --target=${target_alias} $${srcdiroption} \
2851 || exit 1
2852 @endif build-m4
2858 .PHONY: all-build-m4 maybe-all-build-m4
2859 maybe-all-build-m4:
2860 @if gcc-bootstrap
2861 all-build-m4: stage_current
2862 @endif gcc-bootstrap
2863 @if build-m4
2864 TARGET-build-m4=all
2865 maybe-all-build-m4: all-build-m4
2866 all-build-m4: configure-build-m4
2867 @: $(MAKE); $(unstage)
2868 @r=`${PWD_COMMAND}`; export r; \
2869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2870 $(BUILD_EXPORTS) \
2871 (cd $(BUILD_SUBDIR)/m4 && \
2872 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2873 $(TARGET-build-m4))
2874 @endif build-m4
2880 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2881 maybe-configure-build-texinfo:
2882 @if gcc-bootstrap
2883 configure-build-texinfo: stage_current
2884 @endif gcc-bootstrap
2885 @if build-texinfo
2886 maybe-configure-build-texinfo: configure-build-texinfo
2887 configure-build-texinfo:
2888 @: $(MAKE); $(unstage)
2889 @r=`${PWD_COMMAND}`; export r; \
2890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2891 test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2892 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2893 $(BUILD_EXPORTS) \
2894 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2895 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2896 case $(srcdir) in \
2897 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2898 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
2899 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2900 esac; \
2901 srcdiroption="--srcdir=$${topdir}/texinfo"; \
2902 libsrcdir="$$s/texinfo"; \
2903 rm -f no-such-file || : ; \
2904 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2905 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2906 --target=${target_alias} $${srcdiroption} \
2907 || exit 1
2908 @endif build-texinfo
2914 .PHONY: all-build-texinfo maybe-all-build-texinfo
2915 maybe-all-build-texinfo:
2916 @if gcc-bootstrap
2917 all-build-texinfo: stage_current
2918 @endif gcc-bootstrap
2919 @if build-texinfo
2920 TARGET-build-texinfo=all
2921 maybe-all-build-texinfo: all-build-texinfo
2922 all-build-texinfo: configure-build-texinfo
2923 @: $(MAKE); $(unstage)
2924 @r=`${PWD_COMMAND}`; export r; \
2925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2926 $(BUILD_EXPORTS) \
2927 (cd $(BUILD_SUBDIR)/texinfo && \
2928 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2929 $(TARGET-build-texinfo))
2930 @endif build-texinfo
2936 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2937 maybe-configure-build-fixincludes:
2938 @if gcc-bootstrap
2939 configure-build-fixincludes: stage_current
2940 @endif gcc-bootstrap
2941 @if build-fixincludes
2942 maybe-configure-build-fixincludes: configure-build-fixincludes
2943 configure-build-fixincludes:
2944 @: $(MAKE); $(unstage)
2945 @r=`${PWD_COMMAND}`; export r; \
2946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2947 test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2948 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2949 $(BUILD_EXPORTS) \
2950 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2951 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2952 case $(srcdir) in \
2953 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2954 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
2955 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2956 esac; \
2957 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
2958 libsrcdir="$$s/fixincludes"; \
2959 rm -f no-such-file || : ; \
2960 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2961 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2962 --target=${target_alias} $${srcdiroption} \
2963 || exit 1
2964 @endif build-fixincludes
2970 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
2971 maybe-all-build-fixincludes:
2972 @if gcc-bootstrap
2973 all-build-fixincludes: stage_current
2974 @endif gcc-bootstrap
2975 @if build-fixincludes
2976 TARGET-build-fixincludes=all
2977 maybe-all-build-fixincludes: all-build-fixincludes
2978 all-build-fixincludes: configure-build-fixincludes
2979 @: $(MAKE); $(unstage)
2980 @r=`${PWD_COMMAND}`; export r; \
2981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2982 $(BUILD_EXPORTS) \
2983 (cd $(BUILD_SUBDIR)/fixincludes && \
2984 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2985 $(TARGET-build-fixincludes))
2986 @endif build-fixincludes
2992 # --------------------------------------
2993 # Modules which run on the host machine
2994 # --------------------------------------
2997 .PHONY: configure-bfd maybe-configure-bfd
2998 maybe-configure-bfd:
2999 @if gcc-bootstrap
3000 configure-bfd: stage_current
3001 @endif gcc-bootstrap
3002 @if bfd
3003 maybe-configure-bfd: configure-bfd
3004 configure-bfd:
3005 @r=`${PWD_COMMAND}`; export r; \
3006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3007 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3008 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3009 $(HOST_EXPORTS) \
3010 echo Configuring in $(HOST_SUBDIR)/bfd; \
3011 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
3012 case $(srcdir) in \
3013 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3014 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3015 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3016 esac; \
3017 srcdiroption="--srcdir=$${topdir}/bfd"; \
3018 libsrcdir="$$s/bfd"; \
3019 $(SHELL) $${libsrcdir}/configure \
3020 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3021 --target=${target_alias} $${srcdiroption} \
3022 || exit 1
3023 @endif bfd
3027 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
3028 maybe-configure-stage1-bfd:
3029 @if bfd-bootstrap
3030 maybe-configure-stage1-bfd: configure-stage1-bfd
3031 configure-stage1-bfd:
3032 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3033 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3034 @r=`${PWD_COMMAND}`; export r; \
3035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3036 TFLAGS="$(STAGE1_TFLAGS)"; \
3037 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3038 $(HOST_EXPORTS) \
3039 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
3040 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
3041 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
3042 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd ; \
3043 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3044 cd $(HOST_SUBDIR)/bfd || exit 1; \
3045 case $(srcdir) in \
3046 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3047 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3048 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3049 esac; \
3050 srcdiroption="--srcdir=$${topdir}/bfd"; \
3051 libsrcdir="$$s/bfd"; \
3052 $(SHELL) $${libsrcdir}/configure \
3053 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3054 --target=${target_alias} $${srcdiroption} \
3055 $(STAGE1_CONFIGURE_FLAGS)
3056 @endif bfd-bootstrap
3058 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
3059 maybe-configure-stage2-bfd:
3060 @if bfd-bootstrap
3061 maybe-configure-stage2-bfd: configure-stage2-bfd
3062 configure-stage2-bfd:
3063 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3064 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3065 @r=`${PWD_COMMAND}`; export r; \
3066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3067 TFLAGS="$(STAGE2_TFLAGS)"; \
3068 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3069 $(HOST_EXPORTS) \
3070 $(POSTSTAGE1_HOST_EXPORTS) \
3071 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
3072 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
3073 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
3074 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd ; \
3075 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3076 cd $(HOST_SUBDIR)/bfd || exit 1; \
3077 case $(srcdir) in \
3078 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3079 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3080 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3081 esac; \
3082 srcdiroption="--srcdir=$${topdir}/bfd"; \
3083 libsrcdir="$$s/bfd"; \
3084 $(SHELL) $${libsrcdir}/configure \
3085 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3086 --target=${target_alias} $${srcdiroption} \
3087 --with-build-libsubdir=$(HOST_SUBDIR) \
3088 $(STAGE2_CONFIGURE_FLAGS)
3089 @endif bfd-bootstrap
3091 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
3092 maybe-configure-stage3-bfd:
3093 @if bfd-bootstrap
3094 maybe-configure-stage3-bfd: configure-stage3-bfd
3095 configure-stage3-bfd:
3096 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3097 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3098 @r=`${PWD_COMMAND}`; export r; \
3099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3100 TFLAGS="$(STAGE3_TFLAGS)"; \
3101 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3102 $(HOST_EXPORTS) \
3103 $(POSTSTAGE1_HOST_EXPORTS) \
3104 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
3105 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
3106 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
3107 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd ; \
3108 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3109 cd $(HOST_SUBDIR)/bfd || exit 1; \
3110 case $(srcdir) in \
3111 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3112 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3113 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3114 esac; \
3115 srcdiroption="--srcdir=$${topdir}/bfd"; \
3116 libsrcdir="$$s/bfd"; \
3117 $(SHELL) $${libsrcdir}/configure \
3118 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3119 --target=${target_alias} $${srcdiroption} \
3120 --with-build-libsubdir=$(HOST_SUBDIR) \
3121 $(STAGE3_CONFIGURE_FLAGS)
3122 @endif bfd-bootstrap
3124 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
3125 maybe-configure-stage4-bfd:
3126 @if bfd-bootstrap
3127 maybe-configure-stage4-bfd: configure-stage4-bfd
3128 configure-stage4-bfd:
3129 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3130 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3131 @r=`${PWD_COMMAND}`; export r; \
3132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3133 TFLAGS="$(STAGE4_TFLAGS)"; \
3134 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3135 $(HOST_EXPORTS) \
3136 $(POSTSTAGE1_HOST_EXPORTS) \
3137 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
3138 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
3139 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
3140 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd ; \
3141 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3142 cd $(HOST_SUBDIR)/bfd || exit 1; \
3143 case $(srcdir) in \
3144 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3145 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3146 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3147 esac; \
3148 srcdiroption="--srcdir=$${topdir}/bfd"; \
3149 libsrcdir="$$s/bfd"; \
3150 $(SHELL) $${libsrcdir}/configure \
3151 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3152 --target=${target_alias} $${srcdiroption} \
3153 --with-build-libsubdir=$(HOST_SUBDIR) \
3154 $(STAGE4_CONFIGURE_FLAGS)
3155 @endif bfd-bootstrap
3157 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
3158 maybe-configure-stageprofile-bfd:
3159 @if bfd-bootstrap
3160 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
3161 configure-stageprofile-bfd:
3162 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3163 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3164 @r=`${PWD_COMMAND}`; export r; \
3165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3166 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3167 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3168 $(HOST_EXPORTS) \
3169 $(POSTSTAGE1_HOST_EXPORTS) \
3170 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
3171 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
3172 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
3173 echo Configuring stage profile in $(HOST_SUBDIR)/bfd ; \
3174 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3175 cd $(HOST_SUBDIR)/bfd || exit 1; \
3176 case $(srcdir) in \
3177 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3178 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3179 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3180 esac; \
3181 srcdiroption="--srcdir=$${topdir}/bfd"; \
3182 libsrcdir="$$s/bfd"; \
3183 $(SHELL) $${libsrcdir}/configure \
3184 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3185 --target=${target_alias} $${srcdiroption} \
3186 --with-build-libsubdir=$(HOST_SUBDIR) \
3187 $(STAGEprofile_CONFIGURE_FLAGS)
3188 @endif bfd-bootstrap
3190 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
3191 maybe-configure-stagefeedback-bfd:
3192 @if bfd-bootstrap
3193 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
3194 configure-stagefeedback-bfd:
3195 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3196 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3197 @r=`${PWD_COMMAND}`; export r; \
3198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3199 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3200 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3201 $(HOST_EXPORTS) \
3202 $(POSTSTAGE1_HOST_EXPORTS) \
3203 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
3204 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
3205 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
3206 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd ; \
3207 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3208 cd $(HOST_SUBDIR)/bfd || exit 1; \
3209 case $(srcdir) in \
3210 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3211 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3212 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3213 esac; \
3214 srcdiroption="--srcdir=$${topdir}/bfd"; \
3215 libsrcdir="$$s/bfd"; \
3216 $(SHELL) $${libsrcdir}/configure \
3217 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3218 --target=${target_alias} $${srcdiroption} \
3219 --with-build-libsubdir=$(HOST_SUBDIR) \
3220 $(STAGEfeedback_CONFIGURE_FLAGS)
3221 @endif bfd-bootstrap
3227 .PHONY: all-bfd maybe-all-bfd
3228 maybe-all-bfd:
3229 @if gcc-bootstrap
3230 all-bfd: stage_current
3231 @endif gcc-bootstrap
3232 @if bfd
3233 TARGET-bfd=all
3234 maybe-all-bfd: all-bfd
3235 all-bfd: configure-bfd
3236 @r=`${PWD_COMMAND}`; export r; \
3237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3238 $(HOST_EXPORTS) \
3239 (cd $(HOST_SUBDIR)/bfd && \
3240 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
3241 $(TARGET-bfd))
3242 @endif bfd
3246 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
3247 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
3248 maybe-all-stage1-bfd:
3249 maybe-clean-stage1-bfd:
3250 @if bfd-bootstrap
3251 maybe-all-stage1-bfd: all-stage1-bfd
3252 all-stage1: all-stage1-bfd
3253 TARGET-stage1-bfd = $(TARGET-bfd)
3254 all-stage1-bfd: configure-stage1-bfd
3255 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3256 @r=`${PWD_COMMAND}`; export r; \
3257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3258 TFLAGS="$(STAGE1_TFLAGS)"; \
3259 $(HOST_EXPORTS) \
3260 cd $(HOST_SUBDIR)/bfd && \
3261 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3262 CFLAGS="$(STAGE1_CFLAGS)" \
3263 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
3264 LIBCFLAGS="$(LIBCFLAGS)" \
3265 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3266 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3267 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3268 $(EXTRA_HOST_FLAGS) \
3269 $(STAGE1_FLAGS_TO_PASS) \
3270 TFLAGS="$(STAGE1_TFLAGS)" \
3271 $(TARGET-stage1-bfd)
3273 maybe-clean-stage1-bfd: clean-stage1-bfd
3274 clean-stage1: clean-stage1-bfd
3275 clean-stage1-bfd:
3276 @if [ $(current_stage) = stage1 ]; then \
3277 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3278 else \
3279 [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] || exit 0; \
3280 $(MAKE) stage1-start; \
3281 fi; \
3282 cd $(HOST_SUBDIR)/bfd && \
3283 $(MAKE) $(EXTRA_HOST_FLAGS) \
3284 $(STAGE1_FLAGS_TO_PASS) clean
3285 @endif bfd-bootstrap
3288 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
3289 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
3290 maybe-all-stage2-bfd:
3291 maybe-clean-stage2-bfd:
3292 @if bfd-bootstrap
3293 maybe-all-stage2-bfd: all-stage2-bfd
3294 all-stage2: all-stage2-bfd
3295 TARGET-stage2-bfd = $(TARGET-bfd)
3296 all-stage2-bfd: configure-stage2-bfd
3297 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3298 @r=`${PWD_COMMAND}`; export r; \
3299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3300 TFLAGS="$(STAGE2_TFLAGS)"; \
3301 $(HOST_EXPORTS) \
3302 $(POSTSTAGE1_HOST_EXPORTS) \
3303 cd $(HOST_SUBDIR)/bfd && \
3304 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3305 CFLAGS="$(STAGE2_CFLAGS)" \
3306 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
3307 LIBCFLAGS="$(STAGE2_CFLAGS)" \
3308 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3309 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3310 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3311 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3312 TFLAGS="$(STAGE2_TFLAGS)" \
3313 $(TARGET-stage2-bfd)
3315 maybe-clean-stage2-bfd: clean-stage2-bfd
3316 clean-stage2: clean-stage2-bfd
3317 clean-stage2-bfd:
3318 @if [ $(current_stage) = stage2 ]; then \
3319 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3320 else \
3321 [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] || exit 0; \
3322 $(MAKE) stage2-start; \
3323 fi; \
3324 cd $(HOST_SUBDIR)/bfd && \
3325 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3326 @endif bfd-bootstrap
3329 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
3330 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
3331 maybe-all-stage3-bfd:
3332 maybe-clean-stage3-bfd:
3333 @if bfd-bootstrap
3334 maybe-all-stage3-bfd: all-stage3-bfd
3335 all-stage3: all-stage3-bfd
3336 TARGET-stage3-bfd = $(TARGET-bfd)
3337 all-stage3-bfd: configure-stage3-bfd
3338 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3339 @r=`${PWD_COMMAND}`; export r; \
3340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3341 TFLAGS="$(STAGE3_TFLAGS)"; \
3342 $(HOST_EXPORTS) \
3343 $(POSTSTAGE1_HOST_EXPORTS) \
3344 cd $(HOST_SUBDIR)/bfd && \
3345 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3346 CFLAGS="$(STAGE3_CFLAGS)" \
3347 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
3348 LIBCFLAGS="$(STAGE3_CFLAGS)" \
3349 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3350 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3351 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3352 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3353 TFLAGS="$(STAGE3_TFLAGS)" \
3354 $(TARGET-stage3-bfd)
3356 maybe-clean-stage3-bfd: clean-stage3-bfd
3357 clean-stage3: clean-stage3-bfd
3358 clean-stage3-bfd:
3359 @if [ $(current_stage) = stage3 ]; then \
3360 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3361 else \
3362 [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] || exit 0; \
3363 $(MAKE) stage3-start; \
3364 fi; \
3365 cd $(HOST_SUBDIR)/bfd && \
3366 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3367 @endif bfd-bootstrap
3370 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
3371 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
3372 maybe-all-stage4-bfd:
3373 maybe-clean-stage4-bfd:
3374 @if bfd-bootstrap
3375 maybe-all-stage4-bfd: all-stage4-bfd
3376 all-stage4: all-stage4-bfd
3377 TARGET-stage4-bfd = $(TARGET-bfd)
3378 all-stage4-bfd: configure-stage4-bfd
3379 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3380 @r=`${PWD_COMMAND}`; export r; \
3381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3382 TFLAGS="$(STAGE4_TFLAGS)"; \
3383 $(HOST_EXPORTS) \
3384 $(POSTSTAGE1_HOST_EXPORTS) \
3385 cd $(HOST_SUBDIR)/bfd && \
3386 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3387 CFLAGS="$(STAGE4_CFLAGS)" \
3388 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
3389 LIBCFLAGS="$(STAGE4_CFLAGS)" \
3390 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3391 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3392 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3393 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3394 TFLAGS="$(STAGE4_TFLAGS)" \
3395 $(TARGET-stage4-bfd)
3397 maybe-clean-stage4-bfd: clean-stage4-bfd
3398 clean-stage4: clean-stage4-bfd
3399 clean-stage4-bfd:
3400 @if [ $(current_stage) = stage4 ]; then \
3401 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3402 else \
3403 [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] || exit 0; \
3404 $(MAKE) stage4-start; \
3405 fi; \
3406 cd $(HOST_SUBDIR)/bfd && \
3407 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3408 @endif bfd-bootstrap
3411 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
3412 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
3413 maybe-all-stageprofile-bfd:
3414 maybe-clean-stageprofile-bfd:
3415 @if bfd-bootstrap
3416 maybe-all-stageprofile-bfd: all-stageprofile-bfd
3417 all-stageprofile: all-stageprofile-bfd
3418 TARGET-stageprofile-bfd = $(TARGET-bfd)
3419 all-stageprofile-bfd: configure-stageprofile-bfd
3420 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3421 @r=`${PWD_COMMAND}`; export r; \
3422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3423 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3424 $(HOST_EXPORTS) \
3425 $(POSTSTAGE1_HOST_EXPORTS) \
3426 cd $(HOST_SUBDIR)/bfd && \
3427 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3428 CFLAGS="$(STAGEprofile_CFLAGS)" \
3429 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
3430 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
3431 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3432 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3433 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3434 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3435 TFLAGS="$(STAGEprofile_TFLAGS)" \
3436 $(TARGET-stageprofile-bfd)
3438 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
3439 clean-stageprofile: clean-stageprofile-bfd
3440 clean-stageprofile-bfd:
3441 @if [ $(current_stage) = stageprofile ]; then \
3442 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3443 else \
3444 [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] || exit 0; \
3445 $(MAKE) stageprofile-start; \
3446 fi; \
3447 cd $(HOST_SUBDIR)/bfd && \
3448 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3449 @endif bfd-bootstrap
3452 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
3453 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
3454 maybe-all-stagefeedback-bfd:
3455 maybe-clean-stagefeedback-bfd:
3456 @if bfd-bootstrap
3457 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
3458 all-stagefeedback: all-stagefeedback-bfd
3459 TARGET-stagefeedback-bfd = $(TARGET-bfd)
3460 all-stagefeedback-bfd: configure-stagefeedback-bfd
3461 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3462 @r=`${PWD_COMMAND}`; export r; \
3463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3464 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3465 $(HOST_EXPORTS) \
3466 $(POSTSTAGE1_HOST_EXPORTS) \
3467 cd $(HOST_SUBDIR)/bfd && \
3468 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3469 CFLAGS="$(STAGEfeedback_CFLAGS)" \
3470 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
3471 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
3472 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3473 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3474 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3475 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3476 TFLAGS="$(STAGEfeedback_TFLAGS)" \
3477 $(TARGET-stagefeedback-bfd)
3479 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
3480 clean-stagefeedback: clean-stagefeedback-bfd
3481 clean-stagefeedback-bfd:
3482 @if [ $(current_stage) = stagefeedback ]; then \
3483 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3484 else \
3485 [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] || exit 0; \
3486 $(MAKE) stagefeedback-start; \
3487 fi; \
3488 cd $(HOST_SUBDIR)/bfd && \
3489 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3490 @endif bfd-bootstrap
3496 .PHONY: check-bfd maybe-check-bfd
3497 maybe-check-bfd:
3498 @if bfd
3499 maybe-check-bfd: check-bfd
3501 check-bfd:
3502 @: $(MAKE); $(unstage)
3503 @r=`${PWD_COMMAND}`; export r; \
3504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3505 $(HOST_EXPORTS) \
3506 (cd $(HOST_SUBDIR)/bfd && \
3507 $(MAKE) $(FLAGS_TO_PASS) check)
3509 @endif bfd
3511 .PHONY: install-bfd maybe-install-bfd
3512 maybe-install-bfd:
3513 @if bfd
3514 maybe-install-bfd: install-bfd
3516 install-bfd: installdirs
3517 @: $(MAKE); $(unstage)
3518 @r=`${PWD_COMMAND}`; export r; \
3519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3520 $(HOST_EXPORTS) \
3521 (cd $(HOST_SUBDIR)/bfd && \
3522 $(MAKE) $(FLAGS_TO_PASS) install)
3524 @endif bfd
3526 .PHONY: install-strip-bfd maybe-install-strip-bfd
3527 maybe-install-strip-bfd:
3528 @if bfd
3529 maybe-install-strip-bfd: install-strip-bfd
3531 install-strip-bfd: installdirs
3532 @: $(MAKE); $(unstage)
3533 @r=`${PWD_COMMAND}`; export r; \
3534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3535 $(HOST_EXPORTS) \
3536 (cd $(HOST_SUBDIR)/bfd && \
3537 $(MAKE) $(FLAGS_TO_PASS) install-strip)
3539 @endif bfd
3541 # Other targets (info, dvi, pdf, etc.)
3543 .PHONY: maybe-info-bfd info-bfd
3544 maybe-info-bfd:
3545 @if bfd
3546 maybe-info-bfd: info-bfd
3548 info-bfd: \
3549 configure-bfd
3550 @[ -f ./bfd/Makefile ] || exit 0; \
3551 r=`${PWD_COMMAND}`; export r; \
3552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3553 $(HOST_EXPORTS) \
3554 for flag in $(EXTRA_HOST_FLAGS) ; do \
3555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3556 done; \
3557 echo "Doing info in bfd" ; \
3558 (cd $(HOST_SUBDIR)/bfd && \
3559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3561 "RANLIB=$${RANLIB}" \
3562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3563 info) \
3564 || exit 1
3566 @endif bfd
3568 .PHONY: maybe-dvi-bfd dvi-bfd
3569 maybe-dvi-bfd:
3570 @if bfd
3571 maybe-dvi-bfd: dvi-bfd
3573 dvi-bfd: \
3574 configure-bfd
3575 @[ -f ./bfd/Makefile ] || exit 0; \
3576 r=`${PWD_COMMAND}`; export r; \
3577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3578 $(HOST_EXPORTS) \
3579 for flag in $(EXTRA_HOST_FLAGS) ; do \
3580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3581 done; \
3582 echo "Doing dvi in bfd" ; \
3583 (cd $(HOST_SUBDIR)/bfd && \
3584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3586 "RANLIB=$${RANLIB}" \
3587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3588 dvi) \
3589 || exit 1
3591 @endif bfd
3593 .PHONY: maybe-pdf-bfd pdf-bfd
3594 maybe-pdf-bfd:
3595 @if bfd
3596 maybe-pdf-bfd: pdf-bfd
3598 pdf-bfd: \
3599 configure-bfd
3600 @[ -f ./bfd/Makefile ] || exit 0; \
3601 r=`${PWD_COMMAND}`; export r; \
3602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3603 $(HOST_EXPORTS) \
3604 for flag in $(EXTRA_HOST_FLAGS) ; do \
3605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3606 done; \
3607 echo "Doing pdf in bfd" ; \
3608 (cd $(HOST_SUBDIR)/bfd && \
3609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3611 "RANLIB=$${RANLIB}" \
3612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3613 pdf) \
3614 || exit 1
3616 @endif bfd
3618 .PHONY: maybe-html-bfd html-bfd
3619 maybe-html-bfd:
3620 @if bfd
3621 maybe-html-bfd: html-bfd
3623 html-bfd: \
3624 configure-bfd
3625 @[ -f ./bfd/Makefile ] || exit 0; \
3626 r=`${PWD_COMMAND}`; export r; \
3627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3628 $(HOST_EXPORTS) \
3629 for flag in $(EXTRA_HOST_FLAGS) ; do \
3630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3631 done; \
3632 echo "Doing html in bfd" ; \
3633 (cd $(HOST_SUBDIR)/bfd && \
3634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3636 "RANLIB=$${RANLIB}" \
3637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3638 html) \
3639 || exit 1
3641 @endif bfd
3643 .PHONY: maybe-TAGS-bfd TAGS-bfd
3644 maybe-TAGS-bfd:
3645 @if bfd
3646 maybe-TAGS-bfd: TAGS-bfd
3648 TAGS-bfd: \
3649 configure-bfd
3650 @[ -f ./bfd/Makefile ] || exit 0; \
3651 r=`${PWD_COMMAND}`; export r; \
3652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3653 $(HOST_EXPORTS) \
3654 for flag in $(EXTRA_HOST_FLAGS) ; do \
3655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3656 done; \
3657 echo "Doing TAGS in bfd" ; \
3658 (cd $(HOST_SUBDIR)/bfd && \
3659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3661 "RANLIB=$${RANLIB}" \
3662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3663 TAGS) \
3664 || exit 1
3666 @endif bfd
3668 .PHONY: maybe-install-info-bfd install-info-bfd
3669 maybe-install-info-bfd:
3670 @if bfd
3671 maybe-install-info-bfd: install-info-bfd
3673 install-info-bfd: \
3674 configure-bfd \
3675 info-bfd
3676 @[ -f ./bfd/Makefile ] || exit 0; \
3677 r=`${PWD_COMMAND}`; export r; \
3678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3679 $(HOST_EXPORTS) \
3680 for flag in $(EXTRA_HOST_FLAGS) ; do \
3681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3682 done; \
3683 echo "Doing install-info in bfd" ; \
3684 (cd $(HOST_SUBDIR)/bfd && \
3685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3687 "RANLIB=$${RANLIB}" \
3688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3689 install-info) \
3690 || exit 1
3692 @endif bfd
3694 .PHONY: maybe-install-pdf-bfd install-pdf-bfd
3695 maybe-install-pdf-bfd:
3696 @if bfd
3697 maybe-install-pdf-bfd: install-pdf-bfd
3699 install-pdf-bfd: \
3700 configure-bfd \
3701 pdf-bfd
3702 @[ -f ./bfd/Makefile ] || exit 0; \
3703 r=`${PWD_COMMAND}`; export r; \
3704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3705 $(HOST_EXPORTS) \
3706 for flag in $(EXTRA_HOST_FLAGS) ; do \
3707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3708 done; \
3709 echo "Doing install-pdf in bfd" ; \
3710 (cd $(HOST_SUBDIR)/bfd && \
3711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3713 "RANLIB=$${RANLIB}" \
3714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3715 install-pdf) \
3716 || exit 1
3718 @endif bfd
3720 .PHONY: maybe-install-html-bfd install-html-bfd
3721 maybe-install-html-bfd:
3722 @if bfd
3723 maybe-install-html-bfd: install-html-bfd
3725 install-html-bfd: \
3726 configure-bfd \
3727 html-bfd
3728 @[ -f ./bfd/Makefile ] || exit 0; \
3729 r=`${PWD_COMMAND}`; export r; \
3730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3731 $(HOST_EXPORTS) \
3732 for flag in $(EXTRA_HOST_FLAGS) ; do \
3733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3734 done; \
3735 echo "Doing install-html in bfd" ; \
3736 (cd $(HOST_SUBDIR)/bfd && \
3737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3739 "RANLIB=$${RANLIB}" \
3740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3741 install-html) \
3742 || exit 1
3744 @endif bfd
3746 .PHONY: maybe-installcheck-bfd installcheck-bfd
3747 maybe-installcheck-bfd:
3748 @if bfd
3749 maybe-installcheck-bfd: installcheck-bfd
3751 installcheck-bfd: \
3752 configure-bfd
3753 @[ -f ./bfd/Makefile ] || exit 0; \
3754 r=`${PWD_COMMAND}`; export r; \
3755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3756 $(HOST_EXPORTS) \
3757 for flag in $(EXTRA_HOST_FLAGS) ; do \
3758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3759 done; \
3760 echo "Doing installcheck in bfd" ; \
3761 (cd $(HOST_SUBDIR)/bfd && \
3762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3764 "RANLIB=$${RANLIB}" \
3765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3766 installcheck) \
3767 || exit 1
3769 @endif bfd
3771 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
3772 maybe-mostlyclean-bfd:
3773 @if bfd
3774 maybe-mostlyclean-bfd: mostlyclean-bfd
3776 mostlyclean-bfd:
3777 @[ -f ./bfd/Makefile ] || exit 0; \
3778 r=`${PWD_COMMAND}`; export r; \
3779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3780 $(HOST_EXPORTS) \
3781 for flag in $(EXTRA_HOST_FLAGS) ; do \
3782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3783 done; \
3784 echo "Doing mostlyclean in bfd" ; \
3785 (cd $(HOST_SUBDIR)/bfd && \
3786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3788 "RANLIB=$${RANLIB}" \
3789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3790 mostlyclean) \
3791 || exit 1
3793 @endif bfd
3795 .PHONY: maybe-clean-bfd clean-bfd
3796 maybe-clean-bfd:
3797 @if bfd
3798 maybe-clean-bfd: clean-bfd
3800 clean-bfd:
3801 @[ -f ./bfd/Makefile ] || exit 0; \
3802 r=`${PWD_COMMAND}`; export r; \
3803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3804 $(HOST_EXPORTS) \
3805 for flag in $(EXTRA_HOST_FLAGS) ; do \
3806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3807 done; \
3808 echo "Doing clean in bfd" ; \
3809 (cd $(HOST_SUBDIR)/bfd && \
3810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3812 "RANLIB=$${RANLIB}" \
3813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3814 clean) \
3815 || exit 1
3817 @endif bfd
3819 .PHONY: maybe-distclean-bfd distclean-bfd
3820 maybe-distclean-bfd:
3821 @if bfd
3822 maybe-distclean-bfd: distclean-bfd
3824 distclean-bfd:
3825 @[ -f ./bfd/Makefile ] || exit 0; \
3826 r=`${PWD_COMMAND}`; export r; \
3827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3828 $(HOST_EXPORTS) \
3829 for flag in $(EXTRA_HOST_FLAGS) ; do \
3830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3831 done; \
3832 echo "Doing distclean in bfd" ; \
3833 (cd $(HOST_SUBDIR)/bfd && \
3834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3836 "RANLIB=$${RANLIB}" \
3837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3838 distclean) \
3839 || exit 1
3841 @endif bfd
3843 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
3844 maybe-maintainer-clean-bfd:
3845 @if bfd
3846 maybe-maintainer-clean-bfd: maintainer-clean-bfd
3848 maintainer-clean-bfd:
3849 @[ -f ./bfd/Makefile ] || exit 0; \
3850 r=`${PWD_COMMAND}`; export r; \
3851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3852 $(HOST_EXPORTS) \
3853 for flag in $(EXTRA_HOST_FLAGS) ; do \
3854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3855 done; \
3856 echo "Doing maintainer-clean in bfd" ; \
3857 (cd $(HOST_SUBDIR)/bfd && \
3858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3860 "RANLIB=$${RANLIB}" \
3861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3862 maintainer-clean) \
3863 || exit 1
3865 @endif bfd
3869 .PHONY: configure-opcodes maybe-configure-opcodes
3870 maybe-configure-opcodes:
3871 @if gcc-bootstrap
3872 configure-opcodes: stage_current
3873 @endif gcc-bootstrap
3874 @if opcodes
3875 maybe-configure-opcodes: configure-opcodes
3876 configure-opcodes:
3877 @r=`${PWD_COMMAND}`; export r; \
3878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3879 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3880 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3881 $(HOST_EXPORTS) \
3882 echo Configuring in $(HOST_SUBDIR)/opcodes; \
3883 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
3884 case $(srcdir) in \
3885 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3886 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3887 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3888 esac; \
3889 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3890 libsrcdir="$$s/opcodes"; \
3891 $(SHELL) $${libsrcdir}/configure \
3892 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3893 --target=${target_alias} $${srcdiroption} \
3894 || exit 1
3895 @endif opcodes
3899 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
3900 maybe-configure-stage1-opcodes:
3901 @if opcodes-bootstrap
3902 maybe-configure-stage1-opcodes: configure-stage1-opcodes
3903 configure-stage1-opcodes:
3904 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3905 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3906 @r=`${PWD_COMMAND}`; export r; \
3907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3908 TFLAGS="$(STAGE1_TFLAGS)"; \
3909 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3910 $(HOST_EXPORTS) \
3911 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
3912 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
3913 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
3914 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes ; \
3915 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3916 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3917 case $(srcdir) in \
3918 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3919 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3920 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3921 esac; \
3922 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3923 libsrcdir="$$s/opcodes"; \
3924 $(SHELL) $${libsrcdir}/configure \
3925 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3926 --target=${target_alias} $${srcdiroption} \
3927 $(STAGE1_CONFIGURE_FLAGS)
3928 @endif opcodes-bootstrap
3930 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
3931 maybe-configure-stage2-opcodes:
3932 @if opcodes-bootstrap
3933 maybe-configure-stage2-opcodes: configure-stage2-opcodes
3934 configure-stage2-opcodes:
3935 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3936 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3937 @r=`${PWD_COMMAND}`; export r; \
3938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3939 TFLAGS="$(STAGE2_TFLAGS)"; \
3940 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3941 $(HOST_EXPORTS) \
3942 $(POSTSTAGE1_HOST_EXPORTS) \
3943 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
3944 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
3945 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
3946 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes ; \
3947 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3948 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3949 case $(srcdir) in \
3950 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3951 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3952 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3953 esac; \
3954 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3955 libsrcdir="$$s/opcodes"; \
3956 $(SHELL) $${libsrcdir}/configure \
3957 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3958 --target=${target_alias} $${srcdiroption} \
3959 --with-build-libsubdir=$(HOST_SUBDIR) \
3960 $(STAGE2_CONFIGURE_FLAGS)
3961 @endif opcodes-bootstrap
3963 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
3964 maybe-configure-stage3-opcodes:
3965 @if opcodes-bootstrap
3966 maybe-configure-stage3-opcodes: configure-stage3-opcodes
3967 configure-stage3-opcodes:
3968 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3969 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3970 @r=`${PWD_COMMAND}`; export r; \
3971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3972 TFLAGS="$(STAGE3_TFLAGS)"; \
3973 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3974 $(HOST_EXPORTS) \
3975 $(POSTSTAGE1_HOST_EXPORTS) \
3976 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
3977 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
3978 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
3979 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes ; \
3980 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3981 cd $(HOST_SUBDIR)/opcodes || exit 1; \
3982 case $(srcdir) in \
3983 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3984 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3985 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3986 esac; \
3987 srcdiroption="--srcdir=$${topdir}/opcodes"; \
3988 libsrcdir="$$s/opcodes"; \
3989 $(SHELL) $${libsrcdir}/configure \
3990 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3991 --target=${target_alias} $${srcdiroption} \
3992 --with-build-libsubdir=$(HOST_SUBDIR) \
3993 $(STAGE3_CONFIGURE_FLAGS)
3994 @endif opcodes-bootstrap
3996 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
3997 maybe-configure-stage4-opcodes:
3998 @if opcodes-bootstrap
3999 maybe-configure-stage4-opcodes: configure-stage4-opcodes
4000 configure-stage4-opcodes:
4001 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4002 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4003 @r=`${PWD_COMMAND}`; export r; \
4004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4005 TFLAGS="$(STAGE4_TFLAGS)"; \
4006 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4007 $(HOST_EXPORTS) \
4008 $(POSTSTAGE1_HOST_EXPORTS) \
4009 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
4010 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
4011 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
4012 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes ; \
4013 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4014 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4015 case $(srcdir) in \
4016 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4017 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4018 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4019 esac; \
4020 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4021 libsrcdir="$$s/opcodes"; \
4022 $(SHELL) $${libsrcdir}/configure \
4023 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4024 --target=${target_alias} $${srcdiroption} \
4025 --with-build-libsubdir=$(HOST_SUBDIR) \
4026 $(STAGE4_CONFIGURE_FLAGS)
4027 @endif opcodes-bootstrap
4029 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
4030 maybe-configure-stageprofile-opcodes:
4031 @if opcodes-bootstrap
4032 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
4033 configure-stageprofile-opcodes:
4034 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4035 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4036 @r=`${PWD_COMMAND}`; export r; \
4037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4038 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4039 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4040 $(HOST_EXPORTS) \
4041 $(POSTSTAGE1_HOST_EXPORTS) \
4042 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
4043 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
4044 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
4045 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes ; \
4046 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4047 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4048 case $(srcdir) in \
4049 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4050 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4051 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4052 esac; \
4053 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4054 libsrcdir="$$s/opcodes"; \
4055 $(SHELL) $${libsrcdir}/configure \
4056 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4057 --target=${target_alias} $${srcdiroption} \
4058 --with-build-libsubdir=$(HOST_SUBDIR) \
4059 $(STAGEprofile_CONFIGURE_FLAGS)
4060 @endif opcodes-bootstrap
4062 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
4063 maybe-configure-stagefeedback-opcodes:
4064 @if opcodes-bootstrap
4065 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
4066 configure-stagefeedback-opcodes:
4067 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4068 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4069 @r=`${PWD_COMMAND}`; export r; \
4070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4071 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4072 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4073 $(HOST_EXPORTS) \
4074 $(POSTSTAGE1_HOST_EXPORTS) \
4075 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
4076 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
4077 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
4078 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes ; \
4079 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4080 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4081 case $(srcdir) in \
4082 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4083 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4084 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4085 esac; \
4086 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4087 libsrcdir="$$s/opcodes"; \
4088 $(SHELL) $${libsrcdir}/configure \
4089 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4090 --target=${target_alias} $${srcdiroption} \
4091 --with-build-libsubdir=$(HOST_SUBDIR) \
4092 $(STAGEfeedback_CONFIGURE_FLAGS)
4093 @endif opcodes-bootstrap
4099 .PHONY: all-opcodes maybe-all-opcodes
4100 maybe-all-opcodes:
4101 @if gcc-bootstrap
4102 all-opcodes: stage_current
4103 @endif gcc-bootstrap
4104 @if opcodes
4105 TARGET-opcodes=all
4106 maybe-all-opcodes: all-opcodes
4107 all-opcodes: configure-opcodes
4108 @r=`${PWD_COMMAND}`; export r; \
4109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4110 $(HOST_EXPORTS) \
4111 (cd $(HOST_SUBDIR)/opcodes && \
4112 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
4113 $(TARGET-opcodes))
4114 @endif opcodes
4118 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
4119 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
4120 maybe-all-stage1-opcodes:
4121 maybe-clean-stage1-opcodes:
4122 @if opcodes-bootstrap
4123 maybe-all-stage1-opcodes: all-stage1-opcodes
4124 all-stage1: all-stage1-opcodes
4125 TARGET-stage1-opcodes = $(TARGET-opcodes)
4126 all-stage1-opcodes: configure-stage1-opcodes
4127 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4128 @r=`${PWD_COMMAND}`; export r; \
4129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4130 TFLAGS="$(STAGE1_TFLAGS)"; \
4131 $(HOST_EXPORTS) \
4132 cd $(HOST_SUBDIR)/opcodes && \
4133 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4134 CFLAGS="$(STAGE1_CFLAGS)" \
4135 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
4136 LIBCFLAGS="$(LIBCFLAGS)" \
4137 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4138 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4139 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4140 $(EXTRA_HOST_FLAGS) \
4141 $(STAGE1_FLAGS_TO_PASS) \
4142 TFLAGS="$(STAGE1_TFLAGS)" \
4143 $(TARGET-stage1-opcodes)
4145 maybe-clean-stage1-opcodes: clean-stage1-opcodes
4146 clean-stage1: clean-stage1-opcodes
4147 clean-stage1-opcodes:
4148 @if [ $(current_stage) = stage1 ]; then \
4149 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4150 else \
4151 [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] || exit 0; \
4152 $(MAKE) stage1-start; \
4153 fi; \
4154 cd $(HOST_SUBDIR)/opcodes && \
4155 $(MAKE) $(EXTRA_HOST_FLAGS) \
4156 $(STAGE1_FLAGS_TO_PASS) clean
4157 @endif opcodes-bootstrap
4160 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
4161 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
4162 maybe-all-stage2-opcodes:
4163 maybe-clean-stage2-opcodes:
4164 @if opcodes-bootstrap
4165 maybe-all-stage2-opcodes: all-stage2-opcodes
4166 all-stage2: all-stage2-opcodes
4167 TARGET-stage2-opcodes = $(TARGET-opcodes)
4168 all-stage2-opcodes: configure-stage2-opcodes
4169 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4170 @r=`${PWD_COMMAND}`; export r; \
4171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4172 TFLAGS="$(STAGE2_TFLAGS)"; \
4173 $(HOST_EXPORTS) \
4174 $(POSTSTAGE1_HOST_EXPORTS) \
4175 cd $(HOST_SUBDIR)/opcodes && \
4176 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4177 CFLAGS="$(STAGE2_CFLAGS)" \
4178 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
4179 LIBCFLAGS="$(STAGE2_CFLAGS)" \
4180 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4181 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4182 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4183 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4184 TFLAGS="$(STAGE2_TFLAGS)" \
4185 $(TARGET-stage2-opcodes)
4187 maybe-clean-stage2-opcodes: clean-stage2-opcodes
4188 clean-stage2: clean-stage2-opcodes
4189 clean-stage2-opcodes:
4190 @if [ $(current_stage) = stage2 ]; then \
4191 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4192 else \
4193 [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] || exit 0; \
4194 $(MAKE) stage2-start; \
4195 fi; \
4196 cd $(HOST_SUBDIR)/opcodes && \
4197 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4198 @endif opcodes-bootstrap
4201 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
4202 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
4203 maybe-all-stage3-opcodes:
4204 maybe-clean-stage3-opcodes:
4205 @if opcodes-bootstrap
4206 maybe-all-stage3-opcodes: all-stage3-opcodes
4207 all-stage3: all-stage3-opcodes
4208 TARGET-stage3-opcodes = $(TARGET-opcodes)
4209 all-stage3-opcodes: configure-stage3-opcodes
4210 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4211 @r=`${PWD_COMMAND}`; export r; \
4212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4213 TFLAGS="$(STAGE3_TFLAGS)"; \
4214 $(HOST_EXPORTS) \
4215 $(POSTSTAGE1_HOST_EXPORTS) \
4216 cd $(HOST_SUBDIR)/opcodes && \
4217 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4218 CFLAGS="$(STAGE3_CFLAGS)" \
4219 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
4220 LIBCFLAGS="$(STAGE3_CFLAGS)" \
4221 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4222 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4223 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4224 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4225 TFLAGS="$(STAGE3_TFLAGS)" \
4226 $(TARGET-stage3-opcodes)
4228 maybe-clean-stage3-opcodes: clean-stage3-opcodes
4229 clean-stage3: clean-stage3-opcodes
4230 clean-stage3-opcodes:
4231 @if [ $(current_stage) = stage3 ]; then \
4232 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4233 else \
4234 [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] || exit 0; \
4235 $(MAKE) stage3-start; \
4236 fi; \
4237 cd $(HOST_SUBDIR)/opcodes && \
4238 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4239 @endif opcodes-bootstrap
4242 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
4243 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
4244 maybe-all-stage4-opcodes:
4245 maybe-clean-stage4-opcodes:
4246 @if opcodes-bootstrap
4247 maybe-all-stage4-opcodes: all-stage4-opcodes
4248 all-stage4: all-stage4-opcodes
4249 TARGET-stage4-opcodes = $(TARGET-opcodes)
4250 all-stage4-opcodes: configure-stage4-opcodes
4251 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4252 @r=`${PWD_COMMAND}`; export r; \
4253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4254 TFLAGS="$(STAGE4_TFLAGS)"; \
4255 $(HOST_EXPORTS) \
4256 $(POSTSTAGE1_HOST_EXPORTS) \
4257 cd $(HOST_SUBDIR)/opcodes && \
4258 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4259 CFLAGS="$(STAGE4_CFLAGS)" \
4260 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
4261 LIBCFLAGS="$(STAGE4_CFLAGS)" \
4262 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4263 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4264 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4265 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4266 TFLAGS="$(STAGE4_TFLAGS)" \
4267 $(TARGET-stage4-opcodes)
4269 maybe-clean-stage4-opcodes: clean-stage4-opcodes
4270 clean-stage4: clean-stage4-opcodes
4271 clean-stage4-opcodes:
4272 @if [ $(current_stage) = stage4 ]; then \
4273 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4274 else \
4275 [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] || exit 0; \
4276 $(MAKE) stage4-start; \
4277 fi; \
4278 cd $(HOST_SUBDIR)/opcodes && \
4279 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4280 @endif opcodes-bootstrap
4283 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
4284 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
4285 maybe-all-stageprofile-opcodes:
4286 maybe-clean-stageprofile-opcodes:
4287 @if opcodes-bootstrap
4288 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
4289 all-stageprofile: all-stageprofile-opcodes
4290 TARGET-stageprofile-opcodes = $(TARGET-opcodes)
4291 all-stageprofile-opcodes: configure-stageprofile-opcodes
4292 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4293 @r=`${PWD_COMMAND}`; export r; \
4294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4295 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4296 $(HOST_EXPORTS) \
4297 $(POSTSTAGE1_HOST_EXPORTS) \
4298 cd $(HOST_SUBDIR)/opcodes && \
4299 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4300 CFLAGS="$(STAGEprofile_CFLAGS)" \
4301 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
4302 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
4303 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4304 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4305 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4306 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4307 TFLAGS="$(STAGEprofile_TFLAGS)" \
4308 $(TARGET-stageprofile-opcodes)
4310 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
4311 clean-stageprofile: clean-stageprofile-opcodes
4312 clean-stageprofile-opcodes:
4313 @if [ $(current_stage) = stageprofile ]; then \
4314 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4315 else \
4316 [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] || exit 0; \
4317 $(MAKE) stageprofile-start; \
4318 fi; \
4319 cd $(HOST_SUBDIR)/opcodes && \
4320 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4321 @endif opcodes-bootstrap
4324 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
4325 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
4326 maybe-all-stagefeedback-opcodes:
4327 maybe-clean-stagefeedback-opcodes:
4328 @if opcodes-bootstrap
4329 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
4330 all-stagefeedback: all-stagefeedback-opcodes
4331 TARGET-stagefeedback-opcodes = $(TARGET-opcodes)
4332 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
4333 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4334 @r=`${PWD_COMMAND}`; export r; \
4335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4336 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4337 $(HOST_EXPORTS) \
4338 $(POSTSTAGE1_HOST_EXPORTS) \
4339 cd $(HOST_SUBDIR)/opcodes && \
4340 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4341 CFLAGS="$(STAGEfeedback_CFLAGS)" \
4342 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
4343 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
4344 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4345 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4346 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4347 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4348 TFLAGS="$(STAGEfeedback_TFLAGS)" \
4349 $(TARGET-stagefeedback-opcodes)
4351 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
4352 clean-stagefeedback: clean-stagefeedback-opcodes
4353 clean-stagefeedback-opcodes:
4354 @if [ $(current_stage) = stagefeedback ]; then \
4355 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4356 else \
4357 [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] || exit 0; \
4358 $(MAKE) stagefeedback-start; \
4359 fi; \
4360 cd $(HOST_SUBDIR)/opcodes && \
4361 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4362 @endif opcodes-bootstrap
4368 .PHONY: check-opcodes maybe-check-opcodes
4369 maybe-check-opcodes:
4370 @if opcodes
4371 maybe-check-opcodes: check-opcodes
4373 check-opcodes:
4374 @: $(MAKE); $(unstage)
4375 @r=`${PWD_COMMAND}`; export r; \
4376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4377 $(HOST_EXPORTS) \
4378 (cd $(HOST_SUBDIR)/opcodes && \
4379 $(MAKE) $(FLAGS_TO_PASS) check)
4381 @endif opcodes
4383 .PHONY: install-opcodes maybe-install-opcodes
4384 maybe-install-opcodes:
4385 @if opcodes
4386 maybe-install-opcodes: install-opcodes
4388 install-opcodes: installdirs
4389 @: $(MAKE); $(unstage)
4390 @r=`${PWD_COMMAND}`; export r; \
4391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4392 $(HOST_EXPORTS) \
4393 (cd $(HOST_SUBDIR)/opcodes && \
4394 $(MAKE) $(FLAGS_TO_PASS) install)
4396 @endif opcodes
4398 .PHONY: install-strip-opcodes maybe-install-strip-opcodes
4399 maybe-install-strip-opcodes:
4400 @if opcodes
4401 maybe-install-strip-opcodes: install-strip-opcodes
4403 install-strip-opcodes: installdirs
4404 @: $(MAKE); $(unstage)
4405 @r=`${PWD_COMMAND}`; export r; \
4406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4407 $(HOST_EXPORTS) \
4408 (cd $(HOST_SUBDIR)/opcodes && \
4409 $(MAKE) $(FLAGS_TO_PASS) install-strip)
4411 @endif opcodes
4413 # Other targets (info, dvi, pdf, etc.)
4415 .PHONY: maybe-info-opcodes info-opcodes
4416 maybe-info-opcodes:
4417 @if opcodes
4418 maybe-info-opcodes: info-opcodes
4420 info-opcodes: \
4421 configure-opcodes
4422 @[ -f ./opcodes/Makefile ] || exit 0; \
4423 r=`${PWD_COMMAND}`; export r; \
4424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4425 $(HOST_EXPORTS) \
4426 for flag in $(EXTRA_HOST_FLAGS) ; do \
4427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4428 done; \
4429 echo "Doing info in opcodes" ; \
4430 (cd $(HOST_SUBDIR)/opcodes && \
4431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4433 "RANLIB=$${RANLIB}" \
4434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4435 info) \
4436 || exit 1
4438 @endif opcodes
4440 .PHONY: maybe-dvi-opcodes dvi-opcodes
4441 maybe-dvi-opcodes:
4442 @if opcodes
4443 maybe-dvi-opcodes: dvi-opcodes
4445 dvi-opcodes: \
4446 configure-opcodes
4447 @[ -f ./opcodes/Makefile ] || exit 0; \
4448 r=`${PWD_COMMAND}`; export r; \
4449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4450 $(HOST_EXPORTS) \
4451 for flag in $(EXTRA_HOST_FLAGS) ; do \
4452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4453 done; \
4454 echo "Doing dvi in opcodes" ; \
4455 (cd $(HOST_SUBDIR)/opcodes && \
4456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4458 "RANLIB=$${RANLIB}" \
4459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4460 dvi) \
4461 || exit 1
4463 @endif opcodes
4465 .PHONY: maybe-pdf-opcodes pdf-opcodes
4466 maybe-pdf-opcodes:
4467 @if opcodes
4468 maybe-pdf-opcodes: pdf-opcodes
4470 pdf-opcodes: \
4471 configure-opcodes
4472 @[ -f ./opcodes/Makefile ] || exit 0; \
4473 r=`${PWD_COMMAND}`; export r; \
4474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4475 $(HOST_EXPORTS) \
4476 for flag in $(EXTRA_HOST_FLAGS) ; do \
4477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4478 done; \
4479 echo "Doing pdf in opcodes" ; \
4480 (cd $(HOST_SUBDIR)/opcodes && \
4481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4483 "RANLIB=$${RANLIB}" \
4484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4485 pdf) \
4486 || exit 1
4488 @endif opcodes
4490 .PHONY: maybe-html-opcodes html-opcodes
4491 maybe-html-opcodes:
4492 @if opcodes
4493 maybe-html-opcodes: html-opcodes
4495 html-opcodes: \
4496 configure-opcodes
4497 @[ -f ./opcodes/Makefile ] || exit 0; \
4498 r=`${PWD_COMMAND}`; export r; \
4499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4500 $(HOST_EXPORTS) \
4501 for flag in $(EXTRA_HOST_FLAGS) ; do \
4502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4503 done; \
4504 echo "Doing html in opcodes" ; \
4505 (cd $(HOST_SUBDIR)/opcodes && \
4506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4508 "RANLIB=$${RANLIB}" \
4509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4510 html) \
4511 || exit 1
4513 @endif opcodes
4515 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
4516 maybe-TAGS-opcodes:
4517 @if opcodes
4518 maybe-TAGS-opcodes: TAGS-opcodes
4520 TAGS-opcodes: \
4521 configure-opcodes
4522 @[ -f ./opcodes/Makefile ] || exit 0; \
4523 r=`${PWD_COMMAND}`; export r; \
4524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4525 $(HOST_EXPORTS) \
4526 for flag in $(EXTRA_HOST_FLAGS) ; do \
4527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4528 done; \
4529 echo "Doing TAGS in opcodes" ; \
4530 (cd $(HOST_SUBDIR)/opcodes && \
4531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4533 "RANLIB=$${RANLIB}" \
4534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4535 TAGS) \
4536 || exit 1
4538 @endif opcodes
4540 .PHONY: maybe-install-info-opcodes install-info-opcodes
4541 maybe-install-info-opcodes:
4542 @if opcodes
4543 maybe-install-info-opcodes: install-info-opcodes
4545 install-info-opcodes: \
4546 configure-opcodes \
4547 info-opcodes
4548 @[ -f ./opcodes/Makefile ] || exit 0; \
4549 r=`${PWD_COMMAND}`; export r; \
4550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4551 $(HOST_EXPORTS) \
4552 for flag in $(EXTRA_HOST_FLAGS) ; do \
4553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4554 done; \
4555 echo "Doing install-info in opcodes" ; \
4556 (cd $(HOST_SUBDIR)/opcodes && \
4557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4559 "RANLIB=$${RANLIB}" \
4560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4561 install-info) \
4562 || exit 1
4564 @endif opcodes
4566 .PHONY: maybe-install-pdf-opcodes install-pdf-opcodes
4567 maybe-install-pdf-opcodes:
4568 @if opcodes
4569 maybe-install-pdf-opcodes: install-pdf-opcodes
4571 install-pdf-opcodes: \
4572 configure-opcodes \
4573 pdf-opcodes
4574 @[ -f ./opcodes/Makefile ] || exit 0; \
4575 r=`${PWD_COMMAND}`; export r; \
4576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4577 $(HOST_EXPORTS) \
4578 for flag in $(EXTRA_HOST_FLAGS) ; do \
4579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4580 done; \
4581 echo "Doing install-pdf in opcodes" ; \
4582 (cd $(HOST_SUBDIR)/opcodes && \
4583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4585 "RANLIB=$${RANLIB}" \
4586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4587 install-pdf) \
4588 || exit 1
4590 @endif opcodes
4592 .PHONY: maybe-install-html-opcodes install-html-opcodes
4593 maybe-install-html-opcodes:
4594 @if opcodes
4595 maybe-install-html-opcodes: install-html-opcodes
4597 install-html-opcodes: \
4598 configure-opcodes \
4599 html-opcodes
4600 @[ -f ./opcodes/Makefile ] || exit 0; \
4601 r=`${PWD_COMMAND}`; export r; \
4602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4603 $(HOST_EXPORTS) \
4604 for flag in $(EXTRA_HOST_FLAGS) ; do \
4605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4606 done; \
4607 echo "Doing install-html in opcodes" ; \
4608 (cd $(HOST_SUBDIR)/opcodes && \
4609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4611 "RANLIB=$${RANLIB}" \
4612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4613 install-html) \
4614 || exit 1
4616 @endif opcodes
4618 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
4619 maybe-installcheck-opcodes:
4620 @if opcodes
4621 maybe-installcheck-opcodes: installcheck-opcodes
4623 installcheck-opcodes: \
4624 configure-opcodes
4625 @[ -f ./opcodes/Makefile ] || exit 0; \
4626 r=`${PWD_COMMAND}`; export r; \
4627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4628 $(HOST_EXPORTS) \
4629 for flag in $(EXTRA_HOST_FLAGS) ; do \
4630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4631 done; \
4632 echo "Doing installcheck in opcodes" ; \
4633 (cd $(HOST_SUBDIR)/opcodes && \
4634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4636 "RANLIB=$${RANLIB}" \
4637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4638 installcheck) \
4639 || exit 1
4641 @endif opcodes
4643 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
4644 maybe-mostlyclean-opcodes:
4645 @if opcodes
4646 maybe-mostlyclean-opcodes: mostlyclean-opcodes
4648 mostlyclean-opcodes:
4649 @[ -f ./opcodes/Makefile ] || exit 0; \
4650 r=`${PWD_COMMAND}`; export r; \
4651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4652 $(HOST_EXPORTS) \
4653 for flag in $(EXTRA_HOST_FLAGS) ; do \
4654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4655 done; \
4656 echo "Doing mostlyclean in opcodes" ; \
4657 (cd $(HOST_SUBDIR)/opcodes && \
4658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4660 "RANLIB=$${RANLIB}" \
4661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4662 mostlyclean) \
4663 || exit 1
4665 @endif opcodes
4667 .PHONY: maybe-clean-opcodes clean-opcodes
4668 maybe-clean-opcodes:
4669 @if opcodes
4670 maybe-clean-opcodes: clean-opcodes
4672 clean-opcodes:
4673 @[ -f ./opcodes/Makefile ] || exit 0; \
4674 r=`${PWD_COMMAND}`; export r; \
4675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4676 $(HOST_EXPORTS) \
4677 for flag in $(EXTRA_HOST_FLAGS) ; do \
4678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4679 done; \
4680 echo "Doing clean in opcodes" ; \
4681 (cd $(HOST_SUBDIR)/opcodes && \
4682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4684 "RANLIB=$${RANLIB}" \
4685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4686 clean) \
4687 || exit 1
4689 @endif opcodes
4691 .PHONY: maybe-distclean-opcodes distclean-opcodes
4692 maybe-distclean-opcodes:
4693 @if opcodes
4694 maybe-distclean-opcodes: distclean-opcodes
4696 distclean-opcodes:
4697 @[ -f ./opcodes/Makefile ] || exit 0; \
4698 r=`${PWD_COMMAND}`; export r; \
4699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4700 $(HOST_EXPORTS) \
4701 for flag in $(EXTRA_HOST_FLAGS) ; do \
4702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4703 done; \
4704 echo "Doing distclean in opcodes" ; \
4705 (cd $(HOST_SUBDIR)/opcodes && \
4706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4708 "RANLIB=$${RANLIB}" \
4709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4710 distclean) \
4711 || exit 1
4713 @endif opcodes
4715 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
4716 maybe-maintainer-clean-opcodes:
4717 @if opcodes
4718 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
4720 maintainer-clean-opcodes:
4721 @[ -f ./opcodes/Makefile ] || exit 0; \
4722 r=`${PWD_COMMAND}`; export r; \
4723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4724 $(HOST_EXPORTS) \
4725 for flag in $(EXTRA_HOST_FLAGS) ; do \
4726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4727 done; \
4728 echo "Doing maintainer-clean in opcodes" ; \
4729 (cd $(HOST_SUBDIR)/opcodes && \
4730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4732 "RANLIB=$${RANLIB}" \
4733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4734 maintainer-clean) \
4735 || exit 1
4737 @endif opcodes
4741 .PHONY: configure-binutils maybe-configure-binutils
4742 maybe-configure-binutils:
4743 @if gcc-bootstrap
4744 configure-binutils: stage_current
4745 @endif gcc-bootstrap
4746 @if binutils
4747 maybe-configure-binutils: configure-binutils
4748 configure-binutils:
4749 @r=`${PWD_COMMAND}`; export r; \
4750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4751 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4752 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4753 $(HOST_EXPORTS) \
4754 echo Configuring in $(HOST_SUBDIR)/binutils; \
4755 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
4756 case $(srcdir) in \
4757 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4758 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4759 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4760 esac; \
4761 srcdiroption="--srcdir=$${topdir}/binutils"; \
4762 libsrcdir="$$s/binutils"; \
4763 $(SHELL) $${libsrcdir}/configure \
4764 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4765 --target=${target_alias} $${srcdiroption} \
4766 || exit 1
4767 @endif binutils
4771 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
4772 maybe-configure-stage1-binutils:
4773 @if binutils-bootstrap
4774 maybe-configure-stage1-binutils: configure-stage1-binutils
4775 configure-stage1-binutils:
4776 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4777 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4778 @r=`${PWD_COMMAND}`; export r; \
4779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4780 TFLAGS="$(STAGE1_TFLAGS)"; \
4781 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4782 $(HOST_EXPORTS) \
4783 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
4784 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
4785 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
4786 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils ; \
4787 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4788 cd $(HOST_SUBDIR)/binutils || exit 1; \
4789 case $(srcdir) in \
4790 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4791 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4792 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4793 esac; \
4794 srcdiroption="--srcdir=$${topdir}/binutils"; \
4795 libsrcdir="$$s/binutils"; \
4796 $(SHELL) $${libsrcdir}/configure \
4797 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4798 --target=${target_alias} $${srcdiroption} \
4799 $(STAGE1_CONFIGURE_FLAGS)
4800 @endif binutils-bootstrap
4802 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
4803 maybe-configure-stage2-binutils:
4804 @if binutils-bootstrap
4805 maybe-configure-stage2-binutils: configure-stage2-binutils
4806 configure-stage2-binutils:
4807 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4808 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4809 @r=`${PWD_COMMAND}`; export r; \
4810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4811 TFLAGS="$(STAGE2_TFLAGS)"; \
4812 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4813 $(HOST_EXPORTS) \
4814 $(POSTSTAGE1_HOST_EXPORTS) \
4815 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
4816 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
4817 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
4818 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils ; \
4819 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4820 cd $(HOST_SUBDIR)/binutils || exit 1; \
4821 case $(srcdir) in \
4822 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4823 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4824 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4825 esac; \
4826 srcdiroption="--srcdir=$${topdir}/binutils"; \
4827 libsrcdir="$$s/binutils"; \
4828 $(SHELL) $${libsrcdir}/configure \
4829 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4830 --target=${target_alias} $${srcdiroption} \
4831 --with-build-libsubdir=$(HOST_SUBDIR) \
4832 $(STAGE2_CONFIGURE_FLAGS)
4833 @endif binutils-bootstrap
4835 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
4836 maybe-configure-stage3-binutils:
4837 @if binutils-bootstrap
4838 maybe-configure-stage3-binutils: configure-stage3-binutils
4839 configure-stage3-binutils:
4840 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4841 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4842 @r=`${PWD_COMMAND}`; export r; \
4843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4844 TFLAGS="$(STAGE3_TFLAGS)"; \
4845 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4846 $(HOST_EXPORTS) \
4847 $(POSTSTAGE1_HOST_EXPORTS) \
4848 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
4849 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
4850 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
4851 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils ; \
4852 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4853 cd $(HOST_SUBDIR)/binutils || exit 1; \
4854 case $(srcdir) in \
4855 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4856 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4857 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4858 esac; \
4859 srcdiroption="--srcdir=$${topdir}/binutils"; \
4860 libsrcdir="$$s/binutils"; \
4861 $(SHELL) $${libsrcdir}/configure \
4862 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4863 --target=${target_alias} $${srcdiroption} \
4864 --with-build-libsubdir=$(HOST_SUBDIR) \
4865 $(STAGE3_CONFIGURE_FLAGS)
4866 @endif binutils-bootstrap
4868 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
4869 maybe-configure-stage4-binutils:
4870 @if binutils-bootstrap
4871 maybe-configure-stage4-binutils: configure-stage4-binutils
4872 configure-stage4-binutils:
4873 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4874 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4875 @r=`${PWD_COMMAND}`; export r; \
4876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4877 TFLAGS="$(STAGE4_TFLAGS)"; \
4878 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4879 $(HOST_EXPORTS) \
4880 $(POSTSTAGE1_HOST_EXPORTS) \
4881 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
4882 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
4883 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
4884 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils ; \
4885 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4886 cd $(HOST_SUBDIR)/binutils || exit 1; \
4887 case $(srcdir) in \
4888 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4889 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4890 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4891 esac; \
4892 srcdiroption="--srcdir=$${topdir}/binutils"; \
4893 libsrcdir="$$s/binutils"; \
4894 $(SHELL) $${libsrcdir}/configure \
4895 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4896 --target=${target_alias} $${srcdiroption} \
4897 --with-build-libsubdir=$(HOST_SUBDIR) \
4898 $(STAGE4_CONFIGURE_FLAGS)
4899 @endif binutils-bootstrap
4901 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
4902 maybe-configure-stageprofile-binutils:
4903 @if binutils-bootstrap
4904 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
4905 configure-stageprofile-binutils:
4906 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4907 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4908 @r=`${PWD_COMMAND}`; export r; \
4909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4910 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4911 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4912 $(HOST_EXPORTS) \
4913 $(POSTSTAGE1_HOST_EXPORTS) \
4914 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
4915 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
4916 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
4917 echo Configuring stage profile in $(HOST_SUBDIR)/binutils ; \
4918 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4919 cd $(HOST_SUBDIR)/binutils || exit 1; \
4920 case $(srcdir) in \
4921 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4922 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4923 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4924 esac; \
4925 srcdiroption="--srcdir=$${topdir}/binutils"; \
4926 libsrcdir="$$s/binutils"; \
4927 $(SHELL) $${libsrcdir}/configure \
4928 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4929 --target=${target_alias} $${srcdiroption} \
4930 --with-build-libsubdir=$(HOST_SUBDIR) \
4931 $(STAGEprofile_CONFIGURE_FLAGS)
4932 @endif binutils-bootstrap
4934 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
4935 maybe-configure-stagefeedback-binutils:
4936 @if binutils-bootstrap
4937 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
4938 configure-stagefeedback-binutils:
4939 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4940 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4941 @r=`${PWD_COMMAND}`; export r; \
4942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4943 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4944 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4945 $(HOST_EXPORTS) \
4946 $(POSTSTAGE1_HOST_EXPORTS) \
4947 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
4948 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
4949 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
4950 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils ; \
4951 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4952 cd $(HOST_SUBDIR)/binutils || exit 1; \
4953 case $(srcdir) in \
4954 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4955 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4956 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4957 esac; \
4958 srcdiroption="--srcdir=$${topdir}/binutils"; \
4959 libsrcdir="$$s/binutils"; \
4960 $(SHELL) $${libsrcdir}/configure \
4961 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4962 --target=${target_alias} $${srcdiroption} \
4963 --with-build-libsubdir=$(HOST_SUBDIR) \
4964 $(STAGEfeedback_CONFIGURE_FLAGS)
4965 @endif binutils-bootstrap
4971 .PHONY: all-binutils maybe-all-binutils
4972 maybe-all-binutils:
4973 @if gcc-bootstrap
4974 all-binutils: stage_current
4975 @endif gcc-bootstrap
4976 @if binutils
4977 TARGET-binutils=all
4978 maybe-all-binutils: all-binutils
4979 all-binutils: configure-binutils
4980 @r=`${PWD_COMMAND}`; export r; \
4981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4982 $(HOST_EXPORTS) \
4983 (cd $(HOST_SUBDIR)/binutils && \
4984 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
4985 $(TARGET-binutils))
4986 @endif binutils
4990 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
4991 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
4992 maybe-all-stage1-binutils:
4993 maybe-clean-stage1-binutils:
4994 @if binutils-bootstrap
4995 maybe-all-stage1-binutils: all-stage1-binutils
4996 all-stage1: all-stage1-binutils
4997 TARGET-stage1-binutils = $(TARGET-binutils)
4998 all-stage1-binutils: configure-stage1-binutils
4999 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5000 @r=`${PWD_COMMAND}`; export r; \
5001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5002 TFLAGS="$(STAGE1_TFLAGS)"; \
5003 $(HOST_EXPORTS) \
5004 cd $(HOST_SUBDIR)/binutils && \
5005 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5006 CFLAGS="$(STAGE1_CFLAGS)" \
5007 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
5008 LIBCFLAGS="$(LIBCFLAGS)" \
5009 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5010 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5011 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5012 $(EXTRA_HOST_FLAGS) \
5013 $(STAGE1_FLAGS_TO_PASS) \
5014 TFLAGS="$(STAGE1_TFLAGS)" \
5015 $(TARGET-stage1-binutils)
5017 maybe-clean-stage1-binutils: clean-stage1-binutils
5018 clean-stage1: clean-stage1-binutils
5019 clean-stage1-binutils:
5020 @if [ $(current_stage) = stage1 ]; then \
5021 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5022 else \
5023 [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] || exit 0; \
5024 $(MAKE) stage1-start; \
5025 fi; \
5026 cd $(HOST_SUBDIR)/binutils && \
5027 $(MAKE) $(EXTRA_HOST_FLAGS) \
5028 $(STAGE1_FLAGS_TO_PASS) clean
5029 @endif binutils-bootstrap
5032 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
5033 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
5034 maybe-all-stage2-binutils:
5035 maybe-clean-stage2-binutils:
5036 @if binutils-bootstrap
5037 maybe-all-stage2-binutils: all-stage2-binutils
5038 all-stage2: all-stage2-binutils
5039 TARGET-stage2-binutils = $(TARGET-binutils)
5040 all-stage2-binutils: configure-stage2-binutils
5041 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5042 @r=`${PWD_COMMAND}`; export r; \
5043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5044 TFLAGS="$(STAGE2_TFLAGS)"; \
5045 $(HOST_EXPORTS) \
5046 $(POSTSTAGE1_HOST_EXPORTS) \
5047 cd $(HOST_SUBDIR)/binutils && \
5048 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5049 CFLAGS="$(STAGE2_CFLAGS)" \
5050 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
5051 LIBCFLAGS="$(STAGE2_CFLAGS)" \
5052 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5053 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5054 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5055 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5056 TFLAGS="$(STAGE2_TFLAGS)" \
5057 $(TARGET-stage2-binutils)
5059 maybe-clean-stage2-binutils: clean-stage2-binutils
5060 clean-stage2: clean-stage2-binutils
5061 clean-stage2-binutils:
5062 @if [ $(current_stage) = stage2 ]; then \
5063 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5064 else \
5065 [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] || exit 0; \
5066 $(MAKE) stage2-start; \
5067 fi; \
5068 cd $(HOST_SUBDIR)/binutils && \
5069 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5070 @endif binutils-bootstrap
5073 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
5074 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
5075 maybe-all-stage3-binutils:
5076 maybe-clean-stage3-binutils:
5077 @if binutils-bootstrap
5078 maybe-all-stage3-binutils: all-stage3-binutils
5079 all-stage3: all-stage3-binutils
5080 TARGET-stage3-binutils = $(TARGET-binutils)
5081 all-stage3-binutils: configure-stage3-binutils
5082 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5083 @r=`${PWD_COMMAND}`; export r; \
5084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5085 TFLAGS="$(STAGE3_TFLAGS)"; \
5086 $(HOST_EXPORTS) \
5087 $(POSTSTAGE1_HOST_EXPORTS) \
5088 cd $(HOST_SUBDIR)/binutils && \
5089 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5090 CFLAGS="$(STAGE3_CFLAGS)" \
5091 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
5092 LIBCFLAGS="$(STAGE3_CFLAGS)" \
5093 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5094 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5095 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5096 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5097 TFLAGS="$(STAGE3_TFLAGS)" \
5098 $(TARGET-stage3-binutils)
5100 maybe-clean-stage3-binutils: clean-stage3-binutils
5101 clean-stage3: clean-stage3-binutils
5102 clean-stage3-binutils:
5103 @if [ $(current_stage) = stage3 ]; then \
5104 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5105 else \
5106 [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] || exit 0; \
5107 $(MAKE) stage3-start; \
5108 fi; \
5109 cd $(HOST_SUBDIR)/binutils && \
5110 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5111 @endif binutils-bootstrap
5114 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
5115 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
5116 maybe-all-stage4-binutils:
5117 maybe-clean-stage4-binutils:
5118 @if binutils-bootstrap
5119 maybe-all-stage4-binutils: all-stage4-binutils
5120 all-stage4: all-stage4-binutils
5121 TARGET-stage4-binutils = $(TARGET-binutils)
5122 all-stage4-binutils: configure-stage4-binutils
5123 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5124 @r=`${PWD_COMMAND}`; export r; \
5125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5126 TFLAGS="$(STAGE4_TFLAGS)"; \
5127 $(HOST_EXPORTS) \
5128 $(POSTSTAGE1_HOST_EXPORTS) \
5129 cd $(HOST_SUBDIR)/binutils && \
5130 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5131 CFLAGS="$(STAGE4_CFLAGS)" \
5132 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
5133 LIBCFLAGS="$(STAGE4_CFLAGS)" \
5134 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5135 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5136 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5137 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5138 TFLAGS="$(STAGE4_TFLAGS)" \
5139 $(TARGET-stage4-binutils)
5141 maybe-clean-stage4-binutils: clean-stage4-binutils
5142 clean-stage4: clean-stage4-binutils
5143 clean-stage4-binutils:
5144 @if [ $(current_stage) = stage4 ]; then \
5145 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5146 else \
5147 [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] || exit 0; \
5148 $(MAKE) stage4-start; \
5149 fi; \
5150 cd $(HOST_SUBDIR)/binutils && \
5151 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5152 @endif binutils-bootstrap
5155 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
5156 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
5157 maybe-all-stageprofile-binutils:
5158 maybe-clean-stageprofile-binutils:
5159 @if binutils-bootstrap
5160 maybe-all-stageprofile-binutils: all-stageprofile-binutils
5161 all-stageprofile: all-stageprofile-binutils
5162 TARGET-stageprofile-binutils = $(TARGET-binutils)
5163 all-stageprofile-binutils: configure-stageprofile-binutils
5164 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5165 @r=`${PWD_COMMAND}`; export r; \
5166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5167 TFLAGS="$(STAGEprofile_TFLAGS)"; \
5168 $(HOST_EXPORTS) \
5169 $(POSTSTAGE1_HOST_EXPORTS) \
5170 cd $(HOST_SUBDIR)/binutils && \
5171 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5172 CFLAGS="$(STAGEprofile_CFLAGS)" \
5173 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
5174 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
5175 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5176 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5177 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5178 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5179 TFLAGS="$(STAGEprofile_TFLAGS)" \
5180 $(TARGET-stageprofile-binutils)
5182 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
5183 clean-stageprofile: clean-stageprofile-binutils
5184 clean-stageprofile-binutils:
5185 @if [ $(current_stage) = stageprofile ]; then \
5186 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5187 else \
5188 [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] || exit 0; \
5189 $(MAKE) stageprofile-start; \
5190 fi; \
5191 cd $(HOST_SUBDIR)/binutils && \
5192 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5193 @endif binutils-bootstrap
5196 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
5197 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
5198 maybe-all-stagefeedback-binutils:
5199 maybe-clean-stagefeedback-binutils:
5200 @if binutils-bootstrap
5201 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
5202 all-stagefeedback: all-stagefeedback-binutils
5203 TARGET-stagefeedback-binutils = $(TARGET-binutils)
5204 all-stagefeedback-binutils: configure-stagefeedback-binutils
5205 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5206 @r=`${PWD_COMMAND}`; export r; \
5207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5208 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
5209 $(HOST_EXPORTS) \
5210 $(POSTSTAGE1_HOST_EXPORTS) \
5211 cd $(HOST_SUBDIR)/binutils && \
5212 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5213 CFLAGS="$(STAGEfeedback_CFLAGS)" \
5214 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
5215 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
5216 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5217 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5218 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5219 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5220 TFLAGS="$(STAGEfeedback_TFLAGS)" \
5221 $(TARGET-stagefeedback-binutils)
5223 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
5224 clean-stagefeedback: clean-stagefeedback-binutils
5225 clean-stagefeedback-binutils:
5226 @if [ $(current_stage) = stagefeedback ]; then \
5227 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5228 else \
5229 [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] || exit 0; \
5230 $(MAKE) stagefeedback-start; \
5231 fi; \
5232 cd $(HOST_SUBDIR)/binutils && \
5233 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5234 @endif binutils-bootstrap
5240 .PHONY: check-binutils maybe-check-binutils
5241 maybe-check-binutils:
5242 @if binutils
5243 maybe-check-binutils: check-binutils
5245 check-binutils:
5246 @: $(MAKE); $(unstage)
5247 @r=`${PWD_COMMAND}`; export r; \
5248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5249 $(HOST_EXPORTS) \
5250 (cd $(HOST_SUBDIR)/binutils && \
5251 $(MAKE) $(FLAGS_TO_PASS) check)
5253 @endif binutils
5255 .PHONY: install-binutils maybe-install-binutils
5256 maybe-install-binutils:
5257 @if binutils
5258 maybe-install-binutils: install-binutils
5260 install-binutils: installdirs
5261 @: $(MAKE); $(unstage)
5262 @r=`${PWD_COMMAND}`; export r; \
5263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5264 $(HOST_EXPORTS) \
5265 (cd $(HOST_SUBDIR)/binutils && \
5266 $(MAKE) $(FLAGS_TO_PASS) install)
5268 @endif binutils
5270 .PHONY: install-strip-binutils maybe-install-strip-binutils
5271 maybe-install-strip-binutils:
5272 @if binutils
5273 maybe-install-strip-binutils: install-strip-binutils
5275 install-strip-binutils: installdirs
5276 @: $(MAKE); $(unstage)
5277 @r=`${PWD_COMMAND}`; export r; \
5278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5279 $(HOST_EXPORTS) \
5280 (cd $(HOST_SUBDIR)/binutils && \
5281 $(MAKE) $(FLAGS_TO_PASS) install-strip)
5283 @endif binutils
5285 # Other targets (info, dvi, pdf, etc.)
5287 .PHONY: maybe-info-binutils info-binutils
5288 maybe-info-binutils:
5289 @if binutils
5290 maybe-info-binutils: info-binutils
5292 info-binutils: \
5293 configure-binutils
5294 @[ -f ./binutils/Makefile ] || exit 0; \
5295 r=`${PWD_COMMAND}`; export r; \
5296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5297 $(HOST_EXPORTS) \
5298 for flag in $(EXTRA_HOST_FLAGS) ; do \
5299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5300 done; \
5301 echo "Doing info in binutils" ; \
5302 (cd $(HOST_SUBDIR)/binutils && \
5303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5305 "RANLIB=$${RANLIB}" \
5306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5307 info) \
5308 || exit 1
5310 @endif binutils
5312 .PHONY: maybe-dvi-binutils dvi-binutils
5313 maybe-dvi-binutils:
5314 @if binutils
5315 maybe-dvi-binutils: dvi-binutils
5317 dvi-binutils: \
5318 configure-binutils
5319 @[ -f ./binutils/Makefile ] || exit 0; \
5320 r=`${PWD_COMMAND}`; export r; \
5321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5322 $(HOST_EXPORTS) \
5323 for flag in $(EXTRA_HOST_FLAGS) ; do \
5324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5325 done; \
5326 echo "Doing dvi in binutils" ; \
5327 (cd $(HOST_SUBDIR)/binutils && \
5328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5330 "RANLIB=$${RANLIB}" \
5331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5332 dvi) \
5333 || exit 1
5335 @endif binutils
5337 .PHONY: maybe-pdf-binutils pdf-binutils
5338 maybe-pdf-binutils:
5339 @if binutils
5340 maybe-pdf-binutils: pdf-binutils
5342 pdf-binutils: \
5343 configure-binutils
5344 @[ -f ./binutils/Makefile ] || exit 0; \
5345 r=`${PWD_COMMAND}`; export r; \
5346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5347 $(HOST_EXPORTS) \
5348 for flag in $(EXTRA_HOST_FLAGS) ; do \
5349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5350 done; \
5351 echo "Doing pdf in binutils" ; \
5352 (cd $(HOST_SUBDIR)/binutils && \
5353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5355 "RANLIB=$${RANLIB}" \
5356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5357 pdf) \
5358 || exit 1
5360 @endif binutils
5362 .PHONY: maybe-html-binutils html-binutils
5363 maybe-html-binutils:
5364 @if binutils
5365 maybe-html-binutils: html-binutils
5367 html-binutils: \
5368 configure-binutils
5369 @[ -f ./binutils/Makefile ] || exit 0; \
5370 r=`${PWD_COMMAND}`; export r; \
5371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5372 $(HOST_EXPORTS) \
5373 for flag in $(EXTRA_HOST_FLAGS) ; do \
5374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5375 done; \
5376 echo "Doing html in binutils" ; \
5377 (cd $(HOST_SUBDIR)/binutils && \
5378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5380 "RANLIB=$${RANLIB}" \
5381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5382 html) \
5383 || exit 1
5385 @endif binutils
5387 .PHONY: maybe-TAGS-binutils TAGS-binutils
5388 maybe-TAGS-binutils:
5389 @if binutils
5390 maybe-TAGS-binutils: TAGS-binutils
5392 TAGS-binutils: \
5393 configure-binutils
5394 @[ -f ./binutils/Makefile ] || exit 0; \
5395 r=`${PWD_COMMAND}`; export r; \
5396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5397 $(HOST_EXPORTS) \
5398 for flag in $(EXTRA_HOST_FLAGS) ; do \
5399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5400 done; \
5401 echo "Doing TAGS in binutils" ; \
5402 (cd $(HOST_SUBDIR)/binutils && \
5403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5405 "RANLIB=$${RANLIB}" \
5406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5407 TAGS) \
5408 || exit 1
5410 @endif binutils
5412 .PHONY: maybe-install-info-binutils install-info-binutils
5413 maybe-install-info-binutils:
5414 @if binutils
5415 maybe-install-info-binutils: install-info-binutils
5417 install-info-binutils: \
5418 configure-binutils \
5419 info-binutils
5420 @[ -f ./binutils/Makefile ] || exit 0; \
5421 r=`${PWD_COMMAND}`; export r; \
5422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5423 $(HOST_EXPORTS) \
5424 for flag in $(EXTRA_HOST_FLAGS) ; do \
5425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5426 done; \
5427 echo "Doing install-info in binutils" ; \
5428 (cd $(HOST_SUBDIR)/binutils && \
5429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5431 "RANLIB=$${RANLIB}" \
5432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5433 install-info) \
5434 || exit 1
5436 @endif binutils
5438 .PHONY: maybe-install-pdf-binutils install-pdf-binutils
5439 maybe-install-pdf-binutils:
5440 @if binutils
5441 maybe-install-pdf-binutils: install-pdf-binutils
5443 install-pdf-binutils: \
5444 configure-binutils \
5445 pdf-binutils
5446 @[ -f ./binutils/Makefile ] || exit 0; \
5447 r=`${PWD_COMMAND}`; export r; \
5448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5449 $(HOST_EXPORTS) \
5450 for flag in $(EXTRA_HOST_FLAGS) ; do \
5451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5452 done; \
5453 echo "Doing install-pdf in binutils" ; \
5454 (cd $(HOST_SUBDIR)/binutils && \
5455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5457 "RANLIB=$${RANLIB}" \
5458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5459 install-pdf) \
5460 || exit 1
5462 @endif binutils
5464 .PHONY: maybe-install-html-binutils install-html-binutils
5465 maybe-install-html-binutils:
5466 @if binutils
5467 maybe-install-html-binutils: install-html-binutils
5469 install-html-binutils: \
5470 configure-binutils \
5471 html-binutils
5472 @[ -f ./binutils/Makefile ] || exit 0; \
5473 r=`${PWD_COMMAND}`; export r; \
5474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5475 $(HOST_EXPORTS) \
5476 for flag in $(EXTRA_HOST_FLAGS) ; do \
5477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5478 done; \
5479 echo "Doing install-html in binutils" ; \
5480 (cd $(HOST_SUBDIR)/binutils && \
5481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5483 "RANLIB=$${RANLIB}" \
5484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5485 install-html) \
5486 || exit 1
5488 @endif binutils
5490 .PHONY: maybe-installcheck-binutils installcheck-binutils
5491 maybe-installcheck-binutils:
5492 @if binutils
5493 maybe-installcheck-binutils: installcheck-binutils
5495 installcheck-binutils: \
5496 configure-binutils
5497 @[ -f ./binutils/Makefile ] || exit 0; \
5498 r=`${PWD_COMMAND}`; export r; \
5499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5500 $(HOST_EXPORTS) \
5501 for flag in $(EXTRA_HOST_FLAGS) ; do \
5502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5503 done; \
5504 echo "Doing installcheck in binutils" ; \
5505 (cd $(HOST_SUBDIR)/binutils && \
5506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5508 "RANLIB=$${RANLIB}" \
5509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5510 installcheck) \
5511 || exit 1
5513 @endif binutils
5515 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
5516 maybe-mostlyclean-binutils:
5517 @if binutils
5518 maybe-mostlyclean-binutils: mostlyclean-binutils
5520 mostlyclean-binutils:
5521 @[ -f ./binutils/Makefile ] || exit 0; \
5522 r=`${PWD_COMMAND}`; export r; \
5523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5524 $(HOST_EXPORTS) \
5525 for flag in $(EXTRA_HOST_FLAGS) ; do \
5526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5527 done; \
5528 echo "Doing mostlyclean in binutils" ; \
5529 (cd $(HOST_SUBDIR)/binutils && \
5530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5532 "RANLIB=$${RANLIB}" \
5533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5534 mostlyclean) \
5535 || exit 1
5537 @endif binutils
5539 .PHONY: maybe-clean-binutils clean-binutils
5540 maybe-clean-binutils:
5541 @if binutils
5542 maybe-clean-binutils: clean-binutils
5544 clean-binutils:
5545 @[ -f ./binutils/Makefile ] || exit 0; \
5546 r=`${PWD_COMMAND}`; export r; \
5547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5548 $(HOST_EXPORTS) \
5549 for flag in $(EXTRA_HOST_FLAGS) ; do \
5550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5551 done; \
5552 echo "Doing clean in binutils" ; \
5553 (cd $(HOST_SUBDIR)/binutils && \
5554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5556 "RANLIB=$${RANLIB}" \
5557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5558 clean) \
5559 || exit 1
5561 @endif binutils
5563 .PHONY: maybe-distclean-binutils distclean-binutils
5564 maybe-distclean-binutils:
5565 @if binutils
5566 maybe-distclean-binutils: distclean-binutils
5568 distclean-binutils:
5569 @[ -f ./binutils/Makefile ] || exit 0; \
5570 r=`${PWD_COMMAND}`; export r; \
5571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5572 $(HOST_EXPORTS) \
5573 for flag in $(EXTRA_HOST_FLAGS) ; do \
5574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5575 done; \
5576 echo "Doing distclean in binutils" ; \
5577 (cd $(HOST_SUBDIR)/binutils && \
5578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5580 "RANLIB=$${RANLIB}" \
5581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5582 distclean) \
5583 || exit 1
5585 @endif binutils
5587 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
5588 maybe-maintainer-clean-binutils:
5589 @if binutils
5590 maybe-maintainer-clean-binutils: maintainer-clean-binutils
5592 maintainer-clean-binutils:
5593 @[ -f ./binutils/Makefile ] || exit 0; \
5594 r=`${PWD_COMMAND}`; export r; \
5595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5596 $(HOST_EXPORTS) \
5597 for flag in $(EXTRA_HOST_FLAGS) ; do \
5598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5599 done; \
5600 echo "Doing maintainer-clean in binutils" ; \
5601 (cd $(HOST_SUBDIR)/binutils && \
5602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5604 "RANLIB=$${RANLIB}" \
5605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5606 maintainer-clean) \
5607 || exit 1
5609 @endif binutils
5613 .PHONY: configure-bison maybe-configure-bison
5614 maybe-configure-bison:
5615 @if gcc-bootstrap
5616 configure-bison: stage_current
5617 @endif gcc-bootstrap
5618 @if bison
5619 maybe-configure-bison: configure-bison
5620 configure-bison:
5621 @: $(MAKE); $(unstage)
5622 @r=`${PWD_COMMAND}`; export r; \
5623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5624 test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
5625 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison ; \
5626 $(HOST_EXPORTS) \
5627 echo Configuring in $(HOST_SUBDIR)/bison; \
5628 cd "$(HOST_SUBDIR)/bison" || exit 1; \
5629 case $(srcdir) in \
5630 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5631 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
5632 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5633 esac; \
5634 srcdiroption="--srcdir=$${topdir}/bison"; \
5635 libsrcdir="$$s/bison"; \
5636 $(SHELL) $${libsrcdir}/configure \
5637 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5638 --target=${target_alias} $${srcdiroption} \
5639 || exit 1
5640 @endif bison
5646 .PHONY: all-bison maybe-all-bison
5647 maybe-all-bison:
5648 @if gcc-bootstrap
5649 all-bison: stage_current
5650 @endif gcc-bootstrap
5651 @if bison
5652 TARGET-bison=all
5653 maybe-all-bison: all-bison
5654 all-bison: configure-bison
5655 @: $(MAKE); $(unstage)
5656 @r=`${PWD_COMMAND}`; export r; \
5657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5658 $(HOST_EXPORTS) \
5659 (cd $(HOST_SUBDIR)/bison && \
5660 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
5661 $(TARGET-bison))
5662 @endif bison
5667 .PHONY: check-bison maybe-check-bison
5668 maybe-check-bison:
5669 @if bison
5670 maybe-check-bison: check-bison
5672 # This module is only tested in a native toolchain.
5673 check-bison:
5674 @: $(MAKE); $(unstage)
5675 @if [ '$(host)' = '$(target)' ] ; then \
5676 r=`${PWD_COMMAND}`; export r; \
5677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5678 $(HOST_EXPORTS) \
5679 (cd $(HOST_SUBDIR)/bison && \
5680 $(MAKE) $(FLAGS_TO_PASS) check); \
5683 @endif bison
5685 .PHONY: install-bison maybe-install-bison
5686 maybe-install-bison:
5687 @if bison
5688 maybe-install-bison: install-bison
5690 install-bison: installdirs
5691 @: $(MAKE); $(unstage)
5692 @r=`${PWD_COMMAND}`; export r; \
5693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5694 $(HOST_EXPORTS) \
5695 (cd $(HOST_SUBDIR)/bison && \
5696 $(MAKE) $(FLAGS_TO_PASS) install)
5698 @endif bison
5700 .PHONY: install-strip-bison maybe-install-strip-bison
5701 maybe-install-strip-bison:
5702 @if bison
5703 maybe-install-strip-bison: install-strip-bison
5705 install-strip-bison: installdirs
5706 @: $(MAKE); $(unstage)
5707 @r=`${PWD_COMMAND}`; export r; \
5708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5709 $(HOST_EXPORTS) \
5710 (cd $(HOST_SUBDIR)/bison && \
5711 $(MAKE) $(FLAGS_TO_PASS) install-strip)
5713 @endif bison
5715 # Other targets (info, dvi, pdf, etc.)
5717 .PHONY: maybe-info-bison info-bison
5718 maybe-info-bison:
5719 @if bison
5720 maybe-info-bison: info-bison
5722 info-bison: \
5723 configure-bison
5724 @: $(MAKE); $(unstage)
5725 @[ -f ./bison/Makefile ] || exit 0; \
5726 r=`${PWD_COMMAND}`; export r; \
5727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5728 $(HOST_EXPORTS) \
5729 for flag in $(EXTRA_HOST_FLAGS) ; do \
5730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5731 done; \
5732 echo "Doing info in bison" ; \
5733 (cd $(HOST_SUBDIR)/bison && \
5734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5736 "RANLIB=$${RANLIB}" \
5737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5738 info) \
5739 || exit 1
5741 @endif bison
5743 .PHONY: maybe-dvi-bison dvi-bison
5744 maybe-dvi-bison:
5745 @if bison
5746 maybe-dvi-bison: dvi-bison
5748 dvi-bison: \
5749 configure-bison
5750 @: $(MAKE); $(unstage)
5751 @[ -f ./bison/Makefile ] || exit 0; \
5752 r=`${PWD_COMMAND}`; export r; \
5753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5754 $(HOST_EXPORTS) \
5755 for flag in $(EXTRA_HOST_FLAGS) ; do \
5756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5757 done; \
5758 echo "Doing dvi in bison" ; \
5759 (cd $(HOST_SUBDIR)/bison && \
5760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5762 "RANLIB=$${RANLIB}" \
5763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5764 dvi) \
5765 || exit 1
5767 @endif bison
5769 .PHONY: maybe-pdf-bison pdf-bison
5770 maybe-pdf-bison:
5771 @if bison
5772 maybe-pdf-bison: pdf-bison
5774 pdf-bison: \
5775 configure-bison
5776 @: $(MAKE); $(unstage)
5777 @[ -f ./bison/Makefile ] || exit 0; \
5778 r=`${PWD_COMMAND}`; export r; \
5779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5780 $(HOST_EXPORTS) \
5781 for flag in $(EXTRA_HOST_FLAGS) ; do \
5782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5783 done; \
5784 echo "Doing pdf in bison" ; \
5785 (cd $(HOST_SUBDIR)/bison && \
5786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5788 "RANLIB=$${RANLIB}" \
5789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5790 pdf) \
5791 || exit 1
5793 @endif bison
5795 .PHONY: maybe-html-bison html-bison
5796 maybe-html-bison:
5797 @if bison
5798 maybe-html-bison: html-bison
5800 html-bison: \
5801 configure-bison
5802 @: $(MAKE); $(unstage)
5803 @[ -f ./bison/Makefile ] || exit 0; \
5804 r=`${PWD_COMMAND}`; export r; \
5805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5806 $(HOST_EXPORTS) \
5807 for flag in $(EXTRA_HOST_FLAGS) ; do \
5808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5809 done; \
5810 echo "Doing html in bison" ; \
5811 (cd $(HOST_SUBDIR)/bison && \
5812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5814 "RANLIB=$${RANLIB}" \
5815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5816 html) \
5817 || exit 1
5819 @endif bison
5821 .PHONY: maybe-TAGS-bison TAGS-bison
5822 maybe-TAGS-bison:
5823 @if bison
5824 maybe-TAGS-bison: TAGS-bison
5826 TAGS-bison: \
5827 configure-bison
5828 @: $(MAKE); $(unstage)
5829 @[ -f ./bison/Makefile ] || exit 0; \
5830 r=`${PWD_COMMAND}`; export r; \
5831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5832 $(HOST_EXPORTS) \
5833 for flag in $(EXTRA_HOST_FLAGS) ; do \
5834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5835 done; \
5836 echo "Doing TAGS in bison" ; \
5837 (cd $(HOST_SUBDIR)/bison && \
5838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5840 "RANLIB=$${RANLIB}" \
5841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5842 TAGS) \
5843 || exit 1
5845 @endif bison
5847 .PHONY: maybe-install-info-bison install-info-bison
5848 maybe-install-info-bison:
5849 @if bison
5850 maybe-install-info-bison: install-info-bison
5852 install-info-bison: \
5853 configure-bison \
5854 info-bison
5855 @: $(MAKE); $(unstage)
5856 @[ -f ./bison/Makefile ] || exit 0; \
5857 r=`${PWD_COMMAND}`; export r; \
5858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5859 $(HOST_EXPORTS) \
5860 for flag in $(EXTRA_HOST_FLAGS) ; do \
5861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5862 done; \
5863 echo "Doing install-info in bison" ; \
5864 (cd $(HOST_SUBDIR)/bison && \
5865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5867 "RANLIB=$${RANLIB}" \
5868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5869 install-info) \
5870 || exit 1
5872 @endif bison
5874 .PHONY: maybe-install-pdf-bison install-pdf-bison
5875 maybe-install-pdf-bison:
5876 @if bison
5877 maybe-install-pdf-bison: install-pdf-bison
5879 install-pdf-bison: \
5880 configure-bison \
5881 pdf-bison
5882 @: $(MAKE); $(unstage)
5883 @[ -f ./bison/Makefile ] || exit 0; \
5884 r=`${PWD_COMMAND}`; export r; \
5885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5886 $(HOST_EXPORTS) \
5887 for flag in $(EXTRA_HOST_FLAGS) ; do \
5888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5889 done; \
5890 echo "Doing install-pdf in bison" ; \
5891 (cd $(HOST_SUBDIR)/bison && \
5892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5894 "RANLIB=$${RANLIB}" \
5895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5896 install-pdf) \
5897 || exit 1
5899 @endif bison
5901 .PHONY: maybe-install-html-bison install-html-bison
5902 maybe-install-html-bison:
5903 @if bison
5904 maybe-install-html-bison: install-html-bison
5906 install-html-bison: \
5907 configure-bison \
5908 html-bison
5909 @: $(MAKE); $(unstage)
5910 @[ -f ./bison/Makefile ] || exit 0; \
5911 r=`${PWD_COMMAND}`; export r; \
5912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5913 $(HOST_EXPORTS) \
5914 for flag in $(EXTRA_HOST_FLAGS) ; do \
5915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5916 done; \
5917 echo "Doing install-html in bison" ; \
5918 (cd $(HOST_SUBDIR)/bison && \
5919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5921 "RANLIB=$${RANLIB}" \
5922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5923 install-html) \
5924 || exit 1
5926 @endif bison
5928 .PHONY: maybe-installcheck-bison installcheck-bison
5929 maybe-installcheck-bison:
5930 @if bison
5931 maybe-installcheck-bison: installcheck-bison
5933 installcheck-bison: \
5934 configure-bison
5935 @: $(MAKE); $(unstage)
5936 @[ -f ./bison/Makefile ] || exit 0; \
5937 r=`${PWD_COMMAND}`; export r; \
5938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5939 $(HOST_EXPORTS) \
5940 for flag in $(EXTRA_HOST_FLAGS) ; do \
5941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5942 done; \
5943 echo "Doing installcheck in bison" ; \
5944 (cd $(HOST_SUBDIR)/bison && \
5945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5947 "RANLIB=$${RANLIB}" \
5948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5949 installcheck) \
5950 || exit 1
5952 @endif bison
5954 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
5955 maybe-mostlyclean-bison:
5956 @if bison
5957 maybe-mostlyclean-bison: mostlyclean-bison
5959 mostlyclean-bison:
5960 @: $(MAKE); $(unstage)
5961 @[ -f ./bison/Makefile ] || exit 0; \
5962 r=`${PWD_COMMAND}`; export r; \
5963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5964 $(HOST_EXPORTS) \
5965 for flag in $(EXTRA_HOST_FLAGS) ; do \
5966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5967 done; \
5968 echo "Doing mostlyclean in bison" ; \
5969 (cd $(HOST_SUBDIR)/bison && \
5970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5972 "RANLIB=$${RANLIB}" \
5973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5974 mostlyclean) \
5975 || exit 1
5977 @endif bison
5979 .PHONY: maybe-clean-bison clean-bison
5980 maybe-clean-bison:
5981 @if bison
5982 maybe-clean-bison: clean-bison
5984 clean-bison:
5985 @: $(MAKE); $(unstage)
5986 @[ -f ./bison/Makefile ] || exit 0; \
5987 r=`${PWD_COMMAND}`; export r; \
5988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5989 $(HOST_EXPORTS) \
5990 for flag in $(EXTRA_HOST_FLAGS) ; do \
5991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5992 done; \
5993 echo "Doing clean in bison" ; \
5994 (cd $(HOST_SUBDIR)/bison && \
5995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5997 "RANLIB=$${RANLIB}" \
5998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5999 clean) \
6000 || exit 1
6002 @endif bison
6004 .PHONY: maybe-distclean-bison distclean-bison
6005 maybe-distclean-bison:
6006 @if bison
6007 maybe-distclean-bison: distclean-bison
6009 distclean-bison:
6010 @: $(MAKE); $(unstage)
6011 @[ -f ./bison/Makefile ] || exit 0; \
6012 r=`${PWD_COMMAND}`; export r; \
6013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6014 $(HOST_EXPORTS) \
6015 for flag in $(EXTRA_HOST_FLAGS) ; do \
6016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6017 done; \
6018 echo "Doing distclean in bison" ; \
6019 (cd $(HOST_SUBDIR)/bison && \
6020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6022 "RANLIB=$${RANLIB}" \
6023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6024 distclean) \
6025 || exit 1
6027 @endif bison
6029 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
6030 maybe-maintainer-clean-bison:
6031 @if bison
6032 maybe-maintainer-clean-bison: maintainer-clean-bison
6034 maintainer-clean-bison:
6035 @: $(MAKE); $(unstage)
6036 @[ -f ./bison/Makefile ] || exit 0; \
6037 r=`${PWD_COMMAND}`; export r; \
6038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6039 $(HOST_EXPORTS) \
6040 for flag in $(EXTRA_HOST_FLAGS) ; do \
6041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6042 done; \
6043 echo "Doing maintainer-clean in bison" ; \
6044 (cd $(HOST_SUBDIR)/bison && \
6045 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6046 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6047 "RANLIB=$${RANLIB}" \
6048 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6049 maintainer-clean) \
6050 || exit 1
6052 @endif bison
6056 .PHONY: configure-cgen maybe-configure-cgen
6057 maybe-configure-cgen:
6058 @if gcc-bootstrap
6059 configure-cgen: stage_current
6060 @endif gcc-bootstrap
6061 @if cgen
6062 maybe-configure-cgen: configure-cgen
6063 configure-cgen:
6064 @: $(MAKE); $(unstage)
6065 @r=`${PWD_COMMAND}`; export r; \
6066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6067 test ! -f $(HOST_SUBDIR)/cgen/Makefile || exit 0; \
6068 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cgen ; \
6069 $(HOST_EXPORTS) \
6070 echo Configuring in $(HOST_SUBDIR)/cgen; \
6071 cd "$(HOST_SUBDIR)/cgen" || exit 1; \
6072 case $(srcdir) in \
6073 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6074 *) topdir=`echo $(HOST_SUBDIR)/cgen/ | \
6075 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6076 esac; \
6077 srcdiroption="--srcdir=$${topdir}/cgen"; \
6078 libsrcdir="$$s/cgen"; \
6079 $(SHELL) $${libsrcdir}/configure \
6080 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6081 --target=${target_alias} $${srcdiroption} \
6082 || exit 1
6083 @endif cgen
6089 .PHONY: all-cgen maybe-all-cgen
6090 maybe-all-cgen:
6091 @if gcc-bootstrap
6092 all-cgen: stage_current
6093 @endif gcc-bootstrap
6094 @if cgen
6095 TARGET-cgen=all
6096 maybe-all-cgen: all-cgen
6097 all-cgen: configure-cgen
6098 @: $(MAKE); $(unstage)
6099 @r=`${PWD_COMMAND}`; export r; \
6100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6101 $(HOST_EXPORTS) \
6102 (cd $(HOST_SUBDIR)/cgen && \
6103 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
6104 $(TARGET-cgen))
6105 @endif cgen
6110 .PHONY: check-cgen maybe-check-cgen
6111 maybe-check-cgen:
6112 @if cgen
6113 maybe-check-cgen: check-cgen
6115 check-cgen:
6116 @: $(MAKE); $(unstage)
6117 @r=`${PWD_COMMAND}`; export r; \
6118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6119 $(HOST_EXPORTS) \
6120 (cd $(HOST_SUBDIR)/cgen && \
6121 $(MAKE) $(FLAGS_TO_PASS) check)
6123 @endif cgen
6125 .PHONY: install-cgen maybe-install-cgen
6126 maybe-install-cgen:
6127 @if cgen
6128 maybe-install-cgen: install-cgen
6130 install-cgen: installdirs
6131 @: $(MAKE); $(unstage)
6132 @r=`${PWD_COMMAND}`; export r; \
6133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6134 $(HOST_EXPORTS) \
6135 (cd $(HOST_SUBDIR)/cgen && \
6136 $(MAKE) $(FLAGS_TO_PASS) install)
6138 @endif cgen
6140 .PHONY: install-strip-cgen maybe-install-strip-cgen
6141 maybe-install-strip-cgen:
6142 @if cgen
6143 maybe-install-strip-cgen: install-strip-cgen
6145 install-strip-cgen: installdirs
6146 @: $(MAKE); $(unstage)
6147 @r=`${PWD_COMMAND}`; export r; \
6148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6149 $(HOST_EXPORTS) \
6150 (cd $(HOST_SUBDIR)/cgen && \
6151 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6153 @endif cgen
6155 # Other targets (info, dvi, pdf, etc.)
6157 .PHONY: maybe-info-cgen info-cgen
6158 maybe-info-cgen:
6159 @if cgen
6160 maybe-info-cgen: info-cgen
6162 info-cgen: \
6163 configure-cgen
6164 @: $(MAKE); $(unstage)
6165 @[ -f ./cgen/Makefile ] || exit 0; \
6166 r=`${PWD_COMMAND}`; export r; \
6167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6168 $(HOST_EXPORTS) \
6169 for flag in $(EXTRA_HOST_FLAGS) ; do \
6170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6171 done; \
6172 echo "Doing info in cgen" ; \
6173 (cd $(HOST_SUBDIR)/cgen && \
6174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6176 "RANLIB=$${RANLIB}" \
6177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6178 info) \
6179 || exit 1
6181 @endif cgen
6183 .PHONY: maybe-dvi-cgen dvi-cgen
6184 maybe-dvi-cgen:
6185 @if cgen
6186 maybe-dvi-cgen: dvi-cgen
6188 dvi-cgen: \
6189 configure-cgen
6190 @: $(MAKE); $(unstage)
6191 @[ -f ./cgen/Makefile ] || exit 0; \
6192 r=`${PWD_COMMAND}`; export r; \
6193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6194 $(HOST_EXPORTS) \
6195 for flag in $(EXTRA_HOST_FLAGS) ; do \
6196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6197 done; \
6198 echo "Doing dvi in cgen" ; \
6199 (cd $(HOST_SUBDIR)/cgen && \
6200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6202 "RANLIB=$${RANLIB}" \
6203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6204 dvi) \
6205 || exit 1
6207 @endif cgen
6209 .PHONY: maybe-pdf-cgen pdf-cgen
6210 maybe-pdf-cgen:
6211 @if cgen
6212 maybe-pdf-cgen: pdf-cgen
6214 pdf-cgen: \
6215 configure-cgen
6216 @: $(MAKE); $(unstage)
6217 @[ -f ./cgen/Makefile ] || exit 0; \
6218 r=`${PWD_COMMAND}`; export r; \
6219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6220 $(HOST_EXPORTS) \
6221 for flag in $(EXTRA_HOST_FLAGS) ; do \
6222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6223 done; \
6224 echo "Doing pdf in cgen" ; \
6225 (cd $(HOST_SUBDIR)/cgen && \
6226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6228 "RANLIB=$${RANLIB}" \
6229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6230 pdf) \
6231 || exit 1
6233 @endif cgen
6235 .PHONY: maybe-html-cgen html-cgen
6236 maybe-html-cgen:
6237 @if cgen
6238 maybe-html-cgen: html-cgen
6240 html-cgen: \
6241 configure-cgen
6242 @: $(MAKE); $(unstage)
6243 @[ -f ./cgen/Makefile ] || exit 0; \
6244 r=`${PWD_COMMAND}`; export r; \
6245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6246 $(HOST_EXPORTS) \
6247 for flag in $(EXTRA_HOST_FLAGS) ; do \
6248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6249 done; \
6250 echo "Doing html in cgen" ; \
6251 (cd $(HOST_SUBDIR)/cgen && \
6252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6254 "RANLIB=$${RANLIB}" \
6255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6256 html) \
6257 || exit 1
6259 @endif cgen
6261 .PHONY: maybe-TAGS-cgen TAGS-cgen
6262 maybe-TAGS-cgen:
6263 @if cgen
6264 maybe-TAGS-cgen: TAGS-cgen
6266 TAGS-cgen: \
6267 configure-cgen
6268 @: $(MAKE); $(unstage)
6269 @[ -f ./cgen/Makefile ] || exit 0; \
6270 r=`${PWD_COMMAND}`; export r; \
6271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6272 $(HOST_EXPORTS) \
6273 for flag in $(EXTRA_HOST_FLAGS) ; do \
6274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6275 done; \
6276 echo "Doing TAGS in cgen" ; \
6277 (cd $(HOST_SUBDIR)/cgen && \
6278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6280 "RANLIB=$${RANLIB}" \
6281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6282 TAGS) \
6283 || exit 1
6285 @endif cgen
6287 .PHONY: maybe-install-info-cgen install-info-cgen
6288 maybe-install-info-cgen:
6289 @if cgen
6290 maybe-install-info-cgen: install-info-cgen
6292 install-info-cgen: \
6293 configure-cgen \
6294 info-cgen
6295 @: $(MAKE); $(unstage)
6296 @[ -f ./cgen/Makefile ] || exit 0; \
6297 r=`${PWD_COMMAND}`; export r; \
6298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6299 $(HOST_EXPORTS) \
6300 for flag in $(EXTRA_HOST_FLAGS) ; do \
6301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6302 done; \
6303 echo "Doing install-info in cgen" ; \
6304 (cd $(HOST_SUBDIR)/cgen && \
6305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6307 "RANLIB=$${RANLIB}" \
6308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6309 install-info) \
6310 || exit 1
6312 @endif cgen
6314 .PHONY: maybe-install-pdf-cgen install-pdf-cgen
6315 maybe-install-pdf-cgen:
6316 @if cgen
6317 maybe-install-pdf-cgen: install-pdf-cgen
6319 install-pdf-cgen: \
6320 configure-cgen \
6321 pdf-cgen
6322 @: $(MAKE); $(unstage)
6323 @[ -f ./cgen/Makefile ] || exit 0; \
6324 r=`${PWD_COMMAND}`; export r; \
6325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6326 $(HOST_EXPORTS) \
6327 for flag in $(EXTRA_HOST_FLAGS) ; do \
6328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6329 done; \
6330 echo "Doing install-pdf in cgen" ; \
6331 (cd $(HOST_SUBDIR)/cgen && \
6332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6334 "RANLIB=$${RANLIB}" \
6335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6336 install-pdf) \
6337 || exit 1
6339 @endif cgen
6341 .PHONY: maybe-install-html-cgen install-html-cgen
6342 maybe-install-html-cgen:
6343 @if cgen
6344 maybe-install-html-cgen: install-html-cgen
6346 install-html-cgen: \
6347 configure-cgen \
6348 html-cgen
6349 @: $(MAKE); $(unstage)
6350 @[ -f ./cgen/Makefile ] || exit 0; \
6351 r=`${PWD_COMMAND}`; export r; \
6352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6353 $(HOST_EXPORTS) \
6354 for flag in $(EXTRA_HOST_FLAGS) ; do \
6355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6356 done; \
6357 echo "Doing install-html in cgen" ; \
6358 (cd $(HOST_SUBDIR)/cgen && \
6359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6361 "RANLIB=$${RANLIB}" \
6362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6363 install-html) \
6364 || exit 1
6366 @endif cgen
6368 .PHONY: maybe-installcheck-cgen installcheck-cgen
6369 maybe-installcheck-cgen:
6370 @if cgen
6371 maybe-installcheck-cgen: installcheck-cgen
6373 installcheck-cgen: \
6374 configure-cgen
6375 @: $(MAKE); $(unstage)
6376 @[ -f ./cgen/Makefile ] || exit 0; \
6377 r=`${PWD_COMMAND}`; export r; \
6378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6379 $(HOST_EXPORTS) \
6380 for flag in $(EXTRA_HOST_FLAGS) ; do \
6381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6382 done; \
6383 echo "Doing installcheck in cgen" ; \
6384 (cd $(HOST_SUBDIR)/cgen && \
6385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6387 "RANLIB=$${RANLIB}" \
6388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6389 installcheck) \
6390 || exit 1
6392 @endif cgen
6394 .PHONY: maybe-mostlyclean-cgen mostlyclean-cgen
6395 maybe-mostlyclean-cgen:
6396 @if cgen
6397 maybe-mostlyclean-cgen: mostlyclean-cgen
6399 mostlyclean-cgen:
6400 @: $(MAKE); $(unstage)
6401 @[ -f ./cgen/Makefile ] || exit 0; \
6402 r=`${PWD_COMMAND}`; export r; \
6403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6404 $(HOST_EXPORTS) \
6405 for flag in $(EXTRA_HOST_FLAGS) ; do \
6406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6407 done; \
6408 echo "Doing mostlyclean in cgen" ; \
6409 (cd $(HOST_SUBDIR)/cgen && \
6410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6412 "RANLIB=$${RANLIB}" \
6413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6414 mostlyclean) \
6415 || exit 1
6417 @endif cgen
6419 .PHONY: maybe-clean-cgen clean-cgen
6420 maybe-clean-cgen:
6421 @if cgen
6422 maybe-clean-cgen: clean-cgen
6424 clean-cgen:
6425 @: $(MAKE); $(unstage)
6426 @[ -f ./cgen/Makefile ] || exit 0; \
6427 r=`${PWD_COMMAND}`; export r; \
6428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6429 $(HOST_EXPORTS) \
6430 for flag in $(EXTRA_HOST_FLAGS) ; do \
6431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6432 done; \
6433 echo "Doing clean in cgen" ; \
6434 (cd $(HOST_SUBDIR)/cgen && \
6435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6437 "RANLIB=$${RANLIB}" \
6438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6439 clean) \
6440 || exit 1
6442 @endif cgen
6444 .PHONY: maybe-distclean-cgen distclean-cgen
6445 maybe-distclean-cgen:
6446 @if cgen
6447 maybe-distclean-cgen: distclean-cgen
6449 distclean-cgen:
6450 @: $(MAKE); $(unstage)
6451 @[ -f ./cgen/Makefile ] || exit 0; \
6452 r=`${PWD_COMMAND}`; export r; \
6453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6454 $(HOST_EXPORTS) \
6455 for flag in $(EXTRA_HOST_FLAGS) ; do \
6456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6457 done; \
6458 echo "Doing distclean in cgen" ; \
6459 (cd $(HOST_SUBDIR)/cgen && \
6460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6462 "RANLIB=$${RANLIB}" \
6463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6464 distclean) \
6465 || exit 1
6467 @endif cgen
6469 .PHONY: maybe-maintainer-clean-cgen maintainer-clean-cgen
6470 maybe-maintainer-clean-cgen:
6471 @if cgen
6472 maybe-maintainer-clean-cgen: maintainer-clean-cgen
6474 maintainer-clean-cgen:
6475 @: $(MAKE); $(unstage)
6476 @[ -f ./cgen/Makefile ] || exit 0; \
6477 r=`${PWD_COMMAND}`; export r; \
6478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6479 $(HOST_EXPORTS) \
6480 for flag in $(EXTRA_HOST_FLAGS) ; do \
6481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6482 done; \
6483 echo "Doing maintainer-clean in cgen" ; \
6484 (cd $(HOST_SUBDIR)/cgen && \
6485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6487 "RANLIB=$${RANLIB}" \
6488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6489 maintainer-clean) \
6490 || exit 1
6492 @endif cgen
6496 .PHONY: configure-dejagnu maybe-configure-dejagnu
6497 maybe-configure-dejagnu:
6498 @if gcc-bootstrap
6499 configure-dejagnu: stage_current
6500 @endif gcc-bootstrap
6501 @if dejagnu
6502 maybe-configure-dejagnu: configure-dejagnu
6503 configure-dejagnu:
6504 @: $(MAKE); $(unstage)
6505 @r=`${PWD_COMMAND}`; export r; \
6506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6507 test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
6508 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu ; \
6509 $(HOST_EXPORTS) \
6510 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
6511 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
6512 case $(srcdir) in \
6513 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6514 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
6515 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6516 esac; \
6517 srcdiroption="--srcdir=$${topdir}/dejagnu"; \
6518 libsrcdir="$$s/dejagnu"; \
6519 $(SHELL) $${libsrcdir}/configure \
6520 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6521 --target=${target_alias} $${srcdiroption} \
6522 || exit 1
6523 @endif dejagnu
6529 .PHONY: all-dejagnu maybe-all-dejagnu
6530 maybe-all-dejagnu:
6531 @if gcc-bootstrap
6532 all-dejagnu: stage_current
6533 @endif gcc-bootstrap
6534 @if dejagnu
6535 TARGET-dejagnu=all
6536 maybe-all-dejagnu: all-dejagnu
6537 all-dejagnu: configure-dejagnu
6538 @: $(MAKE); $(unstage)
6539 @r=`${PWD_COMMAND}`; export r; \
6540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6541 $(HOST_EXPORTS) \
6542 (cd $(HOST_SUBDIR)/dejagnu && \
6543 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
6544 $(TARGET-dejagnu))
6545 @endif dejagnu
6550 .PHONY: check-dejagnu maybe-check-dejagnu
6551 maybe-check-dejagnu:
6552 @if dejagnu
6553 maybe-check-dejagnu: check-dejagnu
6555 check-dejagnu:
6556 @: $(MAKE); $(unstage)
6557 @r=`${PWD_COMMAND}`; export r; \
6558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6559 $(HOST_EXPORTS) \
6560 (cd $(HOST_SUBDIR)/dejagnu && \
6561 $(MAKE) $(FLAGS_TO_PASS) check)
6563 @endif dejagnu
6565 .PHONY: install-dejagnu maybe-install-dejagnu
6566 maybe-install-dejagnu:
6567 @if dejagnu
6568 maybe-install-dejagnu: install-dejagnu
6570 install-dejagnu: installdirs
6571 @: $(MAKE); $(unstage)
6572 @r=`${PWD_COMMAND}`; export r; \
6573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6574 $(HOST_EXPORTS) \
6575 (cd $(HOST_SUBDIR)/dejagnu && \
6576 $(MAKE) $(FLAGS_TO_PASS) install)
6578 @endif dejagnu
6580 .PHONY: install-strip-dejagnu maybe-install-strip-dejagnu
6581 maybe-install-strip-dejagnu:
6582 @if dejagnu
6583 maybe-install-strip-dejagnu: install-strip-dejagnu
6585 install-strip-dejagnu: installdirs
6586 @: $(MAKE); $(unstage)
6587 @r=`${PWD_COMMAND}`; export r; \
6588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6589 $(HOST_EXPORTS) \
6590 (cd $(HOST_SUBDIR)/dejagnu && \
6591 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6593 @endif dejagnu
6595 # Other targets (info, dvi, pdf, etc.)
6597 .PHONY: maybe-info-dejagnu info-dejagnu
6598 maybe-info-dejagnu:
6599 @if dejagnu
6600 maybe-info-dejagnu: info-dejagnu
6602 info-dejagnu: \
6603 configure-dejagnu
6604 @: $(MAKE); $(unstage)
6605 @[ -f ./dejagnu/Makefile ] || exit 0; \
6606 r=`${PWD_COMMAND}`; export r; \
6607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6608 $(HOST_EXPORTS) \
6609 for flag in $(EXTRA_HOST_FLAGS) ; do \
6610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6611 done; \
6612 echo "Doing info in dejagnu" ; \
6613 (cd $(HOST_SUBDIR)/dejagnu && \
6614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6616 "RANLIB=$${RANLIB}" \
6617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6618 info) \
6619 || exit 1
6621 @endif dejagnu
6623 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
6624 maybe-dvi-dejagnu:
6625 @if dejagnu
6626 maybe-dvi-dejagnu: dvi-dejagnu
6628 dvi-dejagnu: \
6629 configure-dejagnu
6630 @: $(MAKE); $(unstage)
6631 @[ -f ./dejagnu/Makefile ] || exit 0; \
6632 r=`${PWD_COMMAND}`; export r; \
6633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6634 $(HOST_EXPORTS) \
6635 for flag in $(EXTRA_HOST_FLAGS) ; do \
6636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6637 done; \
6638 echo "Doing dvi in dejagnu" ; \
6639 (cd $(HOST_SUBDIR)/dejagnu && \
6640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6642 "RANLIB=$${RANLIB}" \
6643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6644 dvi) \
6645 || exit 1
6647 @endif dejagnu
6649 .PHONY: maybe-pdf-dejagnu pdf-dejagnu
6650 maybe-pdf-dejagnu:
6651 @if dejagnu
6652 maybe-pdf-dejagnu: pdf-dejagnu
6654 pdf-dejagnu: \
6655 configure-dejagnu
6656 @: $(MAKE); $(unstage)
6657 @[ -f ./dejagnu/Makefile ] || exit 0; \
6658 r=`${PWD_COMMAND}`; export r; \
6659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6660 $(HOST_EXPORTS) \
6661 for flag in $(EXTRA_HOST_FLAGS) ; do \
6662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6663 done; \
6664 echo "Doing pdf in dejagnu" ; \
6665 (cd $(HOST_SUBDIR)/dejagnu && \
6666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6668 "RANLIB=$${RANLIB}" \
6669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6670 pdf) \
6671 || exit 1
6673 @endif dejagnu
6675 .PHONY: maybe-html-dejagnu html-dejagnu
6676 maybe-html-dejagnu:
6677 @if dejagnu
6678 maybe-html-dejagnu: html-dejagnu
6680 html-dejagnu: \
6681 configure-dejagnu
6682 @: $(MAKE); $(unstage)
6683 @[ -f ./dejagnu/Makefile ] || exit 0; \
6684 r=`${PWD_COMMAND}`; export r; \
6685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6686 $(HOST_EXPORTS) \
6687 for flag in $(EXTRA_HOST_FLAGS) ; do \
6688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6689 done; \
6690 echo "Doing html in dejagnu" ; \
6691 (cd $(HOST_SUBDIR)/dejagnu && \
6692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6694 "RANLIB=$${RANLIB}" \
6695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6696 html) \
6697 || exit 1
6699 @endif dejagnu
6701 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
6702 maybe-TAGS-dejagnu:
6703 @if dejagnu
6704 maybe-TAGS-dejagnu: TAGS-dejagnu
6706 TAGS-dejagnu: \
6707 configure-dejagnu
6708 @: $(MAKE); $(unstage)
6709 @[ -f ./dejagnu/Makefile ] || exit 0; \
6710 r=`${PWD_COMMAND}`; export r; \
6711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6712 $(HOST_EXPORTS) \
6713 for flag in $(EXTRA_HOST_FLAGS) ; do \
6714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6715 done; \
6716 echo "Doing TAGS in dejagnu" ; \
6717 (cd $(HOST_SUBDIR)/dejagnu && \
6718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6720 "RANLIB=$${RANLIB}" \
6721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6722 TAGS) \
6723 || exit 1
6725 @endif dejagnu
6727 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
6728 maybe-install-info-dejagnu:
6729 @if dejagnu
6730 maybe-install-info-dejagnu: install-info-dejagnu
6732 install-info-dejagnu: \
6733 configure-dejagnu \
6734 info-dejagnu
6735 @: $(MAKE); $(unstage)
6736 @[ -f ./dejagnu/Makefile ] || exit 0; \
6737 r=`${PWD_COMMAND}`; export r; \
6738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6739 $(HOST_EXPORTS) \
6740 for flag in $(EXTRA_HOST_FLAGS) ; do \
6741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6742 done; \
6743 echo "Doing install-info in dejagnu" ; \
6744 (cd $(HOST_SUBDIR)/dejagnu && \
6745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6747 "RANLIB=$${RANLIB}" \
6748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6749 install-info) \
6750 || exit 1
6752 @endif dejagnu
6754 .PHONY: maybe-install-pdf-dejagnu install-pdf-dejagnu
6755 maybe-install-pdf-dejagnu:
6756 @if dejagnu
6757 maybe-install-pdf-dejagnu: install-pdf-dejagnu
6759 install-pdf-dejagnu: \
6760 configure-dejagnu \
6761 pdf-dejagnu
6762 @: $(MAKE); $(unstage)
6763 @[ -f ./dejagnu/Makefile ] || exit 0; \
6764 r=`${PWD_COMMAND}`; export r; \
6765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6766 $(HOST_EXPORTS) \
6767 for flag in $(EXTRA_HOST_FLAGS) ; do \
6768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6769 done; \
6770 echo "Doing install-pdf in dejagnu" ; \
6771 (cd $(HOST_SUBDIR)/dejagnu && \
6772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6774 "RANLIB=$${RANLIB}" \
6775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6776 install-pdf) \
6777 || exit 1
6779 @endif dejagnu
6781 .PHONY: maybe-install-html-dejagnu install-html-dejagnu
6782 maybe-install-html-dejagnu:
6783 @if dejagnu
6784 maybe-install-html-dejagnu: install-html-dejagnu
6786 install-html-dejagnu: \
6787 configure-dejagnu \
6788 html-dejagnu
6789 @: $(MAKE); $(unstage)
6790 @[ -f ./dejagnu/Makefile ] || exit 0; \
6791 r=`${PWD_COMMAND}`; export r; \
6792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6793 $(HOST_EXPORTS) \
6794 for flag in $(EXTRA_HOST_FLAGS) ; do \
6795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6796 done; \
6797 echo "Doing install-html in dejagnu" ; \
6798 (cd $(HOST_SUBDIR)/dejagnu && \
6799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6801 "RANLIB=$${RANLIB}" \
6802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6803 install-html) \
6804 || exit 1
6806 @endif dejagnu
6808 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
6809 maybe-installcheck-dejagnu:
6810 @if dejagnu
6811 maybe-installcheck-dejagnu: installcheck-dejagnu
6813 installcheck-dejagnu: \
6814 configure-dejagnu
6815 @: $(MAKE); $(unstage)
6816 @[ -f ./dejagnu/Makefile ] || exit 0; \
6817 r=`${PWD_COMMAND}`; export r; \
6818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6819 $(HOST_EXPORTS) \
6820 for flag in $(EXTRA_HOST_FLAGS) ; do \
6821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6822 done; \
6823 echo "Doing installcheck in dejagnu" ; \
6824 (cd $(HOST_SUBDIR)/dejagnu && \
6825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6827 "RANLIB=$${RANLIB}" \
6828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6829 installcheck) \
6830 || exit 1
6832 @endif dejagnu
6834 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
6835 maybe-mostlyclean-dejagnu:
6836 @if dejagnu
6837 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
6839 mostlyclean-dejagnu:
6840 @: $(MAKE); $(unstage)
6841 @[ -f ./dejagnu/Makefile ] || exit 0; \
6842 r=`${PWD_COMMAND}`; export r; \
6843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6844 $(HOST_EXPORTS) \
6845 for flag in $(EXTRA_HOST_FLAGS) ; do \
6846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6847 done; \
6848 echo "Doing mostlyclean in dejagnu" ; \
6849 (cd $(HOST_SUBDIR)/dejagnu && \
6850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6852 "RANLIB=$${RANLIB}" \
6853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6854 mostlyclean) \
6855 || exit 1
6857 @endif dejagnu
6859 .PHONY: maybe-clean-dejagnu clean-dejagnu
6860 maybe-clean-dejagnu:
6861 @if dejagnu
6862 maybe-clean-dejagnu: clean-dejagnu
6864 clean-dejagnu:
6865 @: $(MAKE); $(unstage)
6866 @[ -f ./dejagnu/Makefile ] || exit 0; \
6867 r=`${PWD_COMMAND}`; export r; \
6868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6869 $(HOST_EXPORTS) \
6870 for flag in $(EXTRA_HOST_FLAGS) ; do \
6871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6872 done; \
6873 echo "Doing clean in dejagnu" ; \
6874 (cd $(HOST_SUBDIR)/dejagnu && \
6875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6877 "RANLIB=$${RANLIB}" \
6878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6879 clean) \
6880 || exit 1
6882 @endif dejagnu
6884 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
6885 maybe-distclean-dejagnu:
6886 @if dejagnu
6887 maybe-distclean-dejagnu: distclean-dejagnu
6889 distclean-dejagnu:
6890 @: $(MAKE); $(unstage)
6891 @[ -f ./dejagnu/Makefile ] || exit 0; \
6892 r=`${PWD_COMMAND}`; export r; \
6893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6894 $(HOST_EXPORTS) \
6895 for flag in $(EXTRA_HOST_FLAGS) ; do \
6896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6897 done; \
6898 echo "Doing distclean in dejagnu" ; \
6899 (cd $(HOST_SUBDIR)/dejagnu && \
6900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6902 "RANLIB=$${RANLIB}" \
6903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6904 distclean) \
6905 || exit 1
6907 @endif dejagnu
6909 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
6910 maybe-maintainer-clean-dejagnu:
6911 @if dejagnu
6912 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
6914 maintainer-clean-dejagnu:
6915 @: $(MAKE); $(unstage)
6916 @[ -f ./dejagnu/Makefile ] || exit 0; \
6917 r=`${PWD_COMMAND}`; export r; \
6918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6919 $(HOST_EXPORTS) \
6920 for flag in $(EXTRA_HOST_FLAGS) ; do \
6921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6922 done; \
6923 echo "Doing maintainer-clean in dejagnu" ; \
6924 (cd $(HOST_SUBDIR)/dejagnu && \
6925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6927 "RANLIB=$${RANLIB}" \
6928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6929 maintainer-clean) \
6930 || exit 1
6932 @endif dejagnu
6936 .PHONY: configure-etc maybe-configure-etc
6937 maybe-configure-etc:
6938 @if gcc-bootstrap
6939 configure-etc: stage_current
6940 @endif gcc-bootstrap
6941 @if etc
6942 maybe-configure-etc: configure-etc
6943 configure-etc:
6944 @: $(MAKE); $(unstage)
6945 @r=`${PWD_COMMAND}`; export r; \
6946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6947 test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
6948 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc ; \
6949 $(HOST_EXPORTS) \
6950 echo Configuring in $(HOST_SUBDIR)/etc; \
6951 cd "$(HOST_SUBDIR)/etc" || exit 1; \
6952 case $(srcdir) in \
6953 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6954 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
6955 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6956 esac; \
6957 srcdiroption="--srcdir=$${topdir}/etc"; \
6958 libsrcdir="$$s/etc"; \
6959 $(SHELL) $${libsrcdir}/configure \
6960 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6961 --target=${target_alias} $${srcdiroption} \
6962 || exit 1
6963 @endif etc
6969 .PHONY: all-etc maybe-all-etc
6970 maybe-all-etc:
6971 @if gcc-bootstrap
6972 all-etc: stage_current
6973 @endif gcc-bootstrap
6974 @if etc
6975 TARGET-etc=all
6976 maybe-all-etc: all-etc
6977 all-etc: configure-etc
6978 @: $(MAKE); $(unstage)
6979 @r=`${PWD_COMMAND}`; export r; \
6980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6981 $(HOST_EXPORTS) \
6982 (cd $(HOST_SUBDIR)/etc && \
6983 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
6984 $(TARGET-etc))
6985 @endif etc
6990 .PHONY: check-etc maybe-check-etc
6991 maybe-check-etc:
6992 @if etc
6993 maybe-check-etc: check-etc
6995 check-etc:
6996 @: $(MAKE); $(unstage)
6997 @r=`${PWD_COMMAND}`; export r; \
6998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6999 $(HOST_EXPORTS) \
7000 (cd $(HOST_SUBDIR)/etc && \
7001 $(MAKE) $(FLAGS_TO_PASS) check)
7003 @endif etc
7005 .PHONY: install-etc maybe-install-etc
7006 maybe-install-etc:
7007 @if etc
7008 maybe-install-etc: install-etc
7010 install-etc: installdirs
7011 @: $(MAKE); $(unstage)
7012 @r=`${PWD_COMMAND}`; export r; \
7013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7014 $(HOST_EXPORTS) \
7015 (cd $(HOST_SUBDIR)/etc && \
7016 $(MAKE) $(FLAGS_TO_PASS) install)
7018 @endif etc
7020 .PHONY: install-strip-etc maybe-install-strip-etc
7021 maybe-install-strip-etc:
7022 @if etc
7023 maybe-install-strip-etc: install-strip-etc
7025 install-strip-etc: installdirs
7026 @: $(MAKE); $(unstage)
7027 @r=`${PWD_COMMAND}`; export r; \
7028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7029 $(HOST_EXPORTS) \
7030 (cd $(HOST_SUBDIR)/etc && \
7031 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7033 @endif etc
7035 # Other targets (info, dvi, pdf, etc.)
7037 .PHONY: maybe-info-etc info-etc
7038 maybe-info-etc:
7039 @if etc
7040 maybe-info-etc: info-etc
7042 info-etc: \
7043 configure-etc
7044 @: $(MAKE); $(unstage)
7045 @[ -f ./etc/Makefile ] || exit 0; \
7046 r=`${PWD_COMMAND}`; export r; \
7047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7048 $(HOST_EXPORTS) \
7049 for flag in $(EXTRA_HOST_FLAGS) ; do \
7050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7051 done; \
7052 echo "Doing info in etc" ; \
7053 (cd $(HOST_SUBDIR)/etc && \
7054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7056 "RANLIB=$${RANLIB}" \
7057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7058 info) \
7059 || exit 1
7061 @endif etc
7063 .PHONY: maybe-dvi-etc dvi-etc
7064 maybe-dvi-etc:
7065 @if etc
7066 maybe-dvi-etc: dvi-etc
7068 dvi-etc: \
7069 configure-etc
7070 @: $(MAKE); $(unstage)
7071 @[ -f ./etc/Makefile ] || exit 0; \
7072 r=`${PWD_COMMAND}`; export r; \
7073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7074 $(HOST_EXPORTS) \
7075 for flag in $(EXTRA_HOST_FLAGS) ; do \
7076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7077 done; \
7078 echo "Doing dvi in etc" ; \
7079 (cd $(HOST_SUBDIR)/etc && \
7080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7082 "RANLIB=$${RANLIB}" \
7083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7084 dvi) \
7085 || exit 1
7087 @endif etc
7089 .PHONY: maybe-pdf-etc pdf-etc
7090 maybe-pdf-etc:
7091 @if etc
7092 maybe-pdf-etc: pdf-etc
7094 pdf-etc: \
7095 configure-etc
7096 @: $(MAKE); $(unstage)
7097 @[ -f ./etc/Makefile ] || exit 0; \
7098 r=`${PWD_COMMAND}`; export r; \
7099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7100 $(HOST_EXPORTS) \
7101 for flag in $(EXTRA_HOST_FLAGS) ; do \
7102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7103 done; \
7104 echo "Doing pdf in etc" ; \
7105 (cd $(HOST_SUBDIR)/etc && \
7106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7108 "RANLIB=$${RANLIB}" \
7109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7110 pdf) \
7111 || exit 1
7113 @endif etc
7115 .PHONY: maybe-html-etc html-etc
7116 maybe-html-etc:
7117 @if etc
7118 maybe-html-etc: html-etc
7120 html-etc: \
7121 configure-etc
7122 @: $(MAKE); $(unstage)
7123 @[ -f ./etc/Makefile ] || exit 0; \
7124 r=`${PWD_COMMAND}`; export r; \
7125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7126 $(HOST_EXPORTS) \
7127 for flag in $(EXTRA_HOST_FLAGS) ; do \
7128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7129 done; \
7130 echo "Doing html in etc" ; \
7131 (cd $(HOST_SUBDIR)/etc && \
7132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7134 "RANLIB=$${RANLIB}" \
7135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7136 html) \
7137 || exit 1
7139 @endif etc
7141 .PHONY: maybe-TAGS-etc TAGS-etc
7142 maybe-TAGS-etc:
7143 @if etc
7144 maybe-TAGS-etc: TAGS-etc
7146 TAGS-etc: \
7147 configure-etc
7148 @: $(MAKE); $(unstage)
7149 @[ -f ./etc/Makefile ] || exit 0; \
7150 r=`${PWD_COMMAND}`; export r; \
7151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7152 $(HOST_EXPORTS) \
7153 for flag in $(EXTRA_HOST_FLAGS) ; do \
7154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7155 done; \
7156 echo "Doing TAGS in etc" ; \
7157 (cd $(HOST_SUBDIR)/etc && \
7158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7160 "RANLIB=$${RANLIB}" \
7161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7162 TAGS) \
7163 || exit 1
7165 @endif etc
7167 .PHONY: maybe-install-info-etc install-info-etc
7168 maybe-install-info-etc:
7169 @if etc
7170 maybe-install-info-etc: install-info-etc
7172 install-info-etc: \
7173 configure-etc \
7174 info-etc
7175 @: $(MAKE); $(unstage)
7176 @[ -f ./etc/Makefile ] || exit 0; \
7177 r=`${PWD_COMMAND}`; export r; \
7178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7179 $(HOST_EXPORTS) \
7180 for flag in $(EXTRA_HOST_FLAGS) ; do \
7181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7182 done; \
7183 echo "Doing install-info in etc" ; \
7184 (cd $(HOST_SUBDIR)/etc && \
7185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7187 "RANLIB=$${RANLIB}" \
7188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7189 install-info) \
7190 || exit 1
7192 @endif etc
7194 .PHONY: maybe-install-pdf-etc install-pdf-etc
7195 maybe-install-pdf-etc:
7196 @if etc
7197 maybe-install-pdf-etc: install-pdf-etc
7199 install-pdf-etc: \
7200 configure-etc \
7201 pdf-etc
7202 @: $(MAKE); $(unstage)
7203 @[ -f ./etc/Makefile ] || exit 0; \
7204 r=`${PWD_COMMAND}`; export r; \
7205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7206 $(HOST_EXPORTS) \
7207 for flag in $(EXTRA_HOST_FLAGS) ; do \
7208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7209 done; \
7210 echo "Doing install-pdf in etc" ; \
7211 (cd $(HOST_SUBDIR)/etc && \
7212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7214 "RANLIB=$${RANLIB}" \
7215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7216 install-pdf) \
7217 || exit 1
7219 @endif etc
7221 .PHONY: maybe-install-html-etc install-html-etc
7222 maybe-install-html-etc:
7223 @if etc
7224 maybe-install-html-etc: install-html-etc
7226 install-html-etc: \
7227 configure-etc \
7228 html-etc
7229 @: $(MAKE); $(unstage)
7230 @[ -f ./etc/Makefile ] || exit 0; \
7231 r=`${PWD_COMMAND}`; export r; \
7232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7233 $(HOST_EXPORTS) \
7234 for flag in $(EXTRA_HOST_FLAGS) ; do \
7235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7236 done; \
7237 echo "Doing install-html in etc" ; \
7238 (cd $(HOST_SUBDIR)/etc && \
7239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7241 "RANLIB=$${RANLIB}" \
7242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7243 install-html) \
7244 || exit 1
7246 @endif etc
7248 .PHONY: maybe-installcheck-etc installcheck-etc
7249 maybe-installcheck-etc:
7250 @if etc
7251 maybe-installcheck-etc: installcheck-etc
7253 installcheck-etc: \
7254 configure-etc
7255 @: $(MAKE); $(unstage)
7256 @[ -f ./etc/Makefile ] || exit 0; \
7257 r=`${PWD_COMMAND}`; export r; \
7258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7259 $(HOST_EXPORTS) \
7260 for flag in $(EXTRA_HOST_FLAGS) ; do \
7261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7262 done; \
7263 echo "Doing installcheck in etc" ; \
7264 (cd $(HOST_SUBDIR)/etc && \
7265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7267 "RANLIB=$${RANLIB}" \
7268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7269 installcheck) \
7270 || exit 1
7272 @endif etc
7274 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
7275 maybe-mostlyclean-etc:
7276 @if etc
7277 maybe-mostlyclean-etc: mostlyclean-etc
7279 mostlyclean-etc:
7280 @: $(MAKE); $(unstage)
7281 @[ -f ./etc/Makefile ] || exit 0; \
7282 r=`${PWD_COMMAND}`; export r; \
7283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7284 $(HOST_EXPORTS) \
7285 for flag in $(EXTRA_HOST_FLAGS) ; do \
7286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7287 done; \
7288 echo "Doing mostlyclean in etc" ; \
7289 (cd $(HOST_SUBDIR)/etc && \
7290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7292 "RANLIB=$${RANLIB}" \
7293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7294 mostlyclean) \
7295 || exit 1
7297 @endif etc
7299 .PHONY: maybe-clean-etc clean-etc
7300 maybe-clean-etc:
7301 @if etc
7302 maybe-clean-etc: clean-etc
7304 clean-etc:
7305 @: $(MAKE); $(unstage)
7306 @[ -f ./etc/Makefile ] || exit 0; \
7307 r=`${PWD_COMMAND}`; export r; \
7308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7309 $(HOST_EXPORTS) \
7310 for flag in $(EXTRA_HOST_FLAGS) ; do \
7311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7312 done; \
7313 echo "Doing clean in etc" ; \
7314 (cd $(HOST_SUBDIR)/etc && \
7315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7317 "RANLIB=$${RANLIB}" \
7318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7319 clean) \
7320 || exit 1
7322 @endif etc
7324 .PHONY: maybe-distclean-etc distclean-etc
7325 maybe-distclean-etc:
7326 @if etc
7327 maybe-distclean-etc: distclean-etc
7329 distclean-etc:
7330 @: $(MAKE); $(unstage)
7331 @[ -f ./etc/Makefile ] || exit 0; \
7332 r=`${PWD_COMMAND}`; export r; \
7333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7334 $(HOST_EXPORTS) \
7335 for flag in $(EXTRA_HOST_FLAGS) ; do \
7336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7337 done; \
7338 echo "Doing distclean in etc" ; \
7339 (cd $(HOST_SUBDIR)/etc && \
7340 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7341 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7342 "RANLIB=$${RANLIB}" \
7343 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7344 distclean) \
7345 || exit 1
7347 @endif etc
7349 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
7350 maybe-maintainer-clean-etc:
7351 @if etc
7352 maybe-maintainer-clean-etc: maintainer-clean-etc
7354 maintainer-clean-etc:
7355 @: $(MAKE); $(unstage)
7356 @[ -f ./etc/Makefile ] || exit 0; \
7357 r=`${PWD_COMMAND}`; export r; \
7358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7359 $(HOST_EXPORTS) \
7360 for flag in $(EXTRA_HOST_FLAGS) ; do \
7361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7362 done; \
7363 echo "Doing maintainer-clean in etc" ; \
7364 (cd $(HOST_SUBDIR)/etc && \
7365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7367 "RANLIB=$${RANLIB}" \
7368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7369 maintainer-clean) \
7370 || exit 1
7372 @endif etc
7376 .PHONY: configure-fastjar maybe-configure-fastjar
7377 maybe-configure-fastjar:
7378 @if gcc-bootstrap
7379 configure-fastjar: stage_current
7380 @endif gcc-bootstrap
7381 @if fastjar
7382 maybe-configure-fastjar: configure-fastjar
7383 configure-fastjar:
7384 @: $(MAKE); $(unstage)
7385 @r=`${PWD_COMMAND}`; export r; \
7386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7387 test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
7388 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar ; \
7389 $(HOST_EXPORTS) \
7390 echo Configuring in $(HOST_SUBDIR)/fastjar; \
7391 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
7392 case $(srcdir) in \
7393 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7394 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
7395 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7396 esac; \
7397 srcdiroption="--srcdir=$${topdir}/fastjar"; \
7398 libsrcdir="$$s/fastjar"; \
7399 $(SHELL) $${libsrcdir}/configure \
7400 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7401 --target=${target_alias} $${srcdiroption} \
7402 || exit 1
7403 @endif fastjar
7409 .PHONY: all-fastjar maybe-all-fastjar
7410 maybe-all-fastjar:
7411 @if gcc-bootstrap
7412 all-fastjar: stage_current
7413 @endif gcc-bootstrap
7414 @if fastjar
7415 TARGET-fastjar=all
7416 maybe-all-fastjar: all-fastjar
7417 all-fastjar: configure-fastjar
7418 @: $(MAKE); $(unstage)
7419 @r=`${PWD_COMMAND}`; export r; \
7420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7421 $(HOST_EXPORTS) \
7422 (cd $(HOST_SUBDIR)/fastjar && \
7423 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
7424 $(TARGET-fastjar))
7425 @endif fastjar
7430 .PHONY: check-fastjar maybe-check-fastjar
7431 maybe-check-fastjar:
7432 @if fastjar
7433 maybe-check-fastjar: check-fastjar
7435 # This module is only tested in a native toolchain.
7436 check-fastjar:
7437 @: $(MAKE); $(unstage)
7438 @if [ '$(host)' = '$(target)' ] ; then \
7439 r=`${PWD_COMMAND}`; export r; \
7440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7441 $(HOST_EXPORTS) \
7442 (cd $(HOST_SUBDIR)/fastjar && \
7443 $(MAKE) $(FLAGS_TO_PASS) check); \
7446 @endif fastjar
7448 .PHONY: install-fastjar maybe-install-fastjar
7449 maybe-install-fastjar:
7450 @if fastjar
7451 maybe-install-fastjar: install-fastjar
7453 install-fastjar: installdirs
7454 @: $(MAKE); $(unstage)
7455 @r=`${PWD_COMMAND}`; export r; \
7456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7457 $(HOST_EXPORTS) \
7458 (cd $(HOST_SUBDIR)/fastjar && \
7459 $(MAKE) $(FLAGS_TO_PASS) install)
7461 @endif fastjar
7463 .PHONY: install-strip-fastjar maybe-install-strip-fastjar
7464 maybe-install-strip-fastjar:
7465 @if fastjar
7466 maybe-install-strip-fastjar: install-strip-fastjar
7468 install-strip-fastjar: installdirs
7469 @: $(MAKE); $(unstage)
7470 @r=`${PWD_COMMAND}`; export r; \
7471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7472 $(HOST_EXPORTS) \
7473 (cd $(HOST_SUBDIR)/fastjar && \
7474 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7476 @endif fastjar
7478 # Other targets (info, dvi, pdf, etc.)
7480 .PHONY: maybe-info-fastjar info-fastjar
7481 maybe-info-fastjar:
7482 @if fastjar
7483 maybe-info-fastjar: info-fastjar
7485 info-fastjar: \
7486 configure-fastjar
7487 @: $(MAKE); $(unstage)
7488 @[ -f ./fastjar/Makefile ] || exit 0; \
7489 r=`${PWD_COMMAND}`; export r; \
7490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7491 $(HOST_EXPORTS) \
7492 for flag in $(EXTRA_HOST_FLAGS) ; do \
7493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7494 done; \
7495 echo "Doing info in fastjar" ; \
7496 (cd $(HOST_SUBDIR)/fastjar && \
7497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7499 "RANLIB=$${RANLIB}" \
7500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7501 info) \
7502 || exit 1
7504 @endif fastjar
7506 .PHONY: maybe-dvi-fastjar dvi-fastjar
7507 maybe-dvi-fastjar:
7508 @if fastjar
7509 maybe-dvi-fastjar: dvi-fastjar
7511 dvi-fastjar: \
7512 configure-fastjar
7513 @: $(MAKE); $(unstage)
7514 @[ -f ./fastjar/Makefile ] || exit 0; \
7515 r=`${PWD_COMMAND}`; export r; \
7516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7517 $(HOST_EXPORTS) \
7518 for flag in $(EXTRA_HOST_FLAGS) ; do \
7519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7520 done; \
7521 echo "Doing dvi in fastjar" ; \
7522 (cd $(HOST_SUBDIR)/fastjar && \
7523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7525 "RANLIB=$${RANLIB}" \
7526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7527 dvi) \
7528 || exit 1
7530 @endif fastjar
7532 .PHONY: maybe-pdf-fastjar pdf-fastjar
7533 maybe-pdf-fastjar:
7534 @if fastjar
7535 maybe-pdf-fastjar: pdf-fastjar
7537 pdf-fastjar: \
7538 configure-fastjar
7539 @: $(MAKE); $(unstage)
7540 @[ -f ./fastjar/Makefile ] || exit 0; \
7541 r=`${PWD_COMMAND}`; export r; \
7542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7543 $(HOST_EXPORTS) \
7544 for flag in $(EXTRA_HOST_FLAGS) ; do \
7545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7546 done; \
7547 echo "Doing pdf in fastjar" ; \
7548 (cd $(HOST_SUBDIR)/fastjar && \
7549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7551 "RANLIB=$${RANLIB}" \
7552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7553 pdf) \
7554 || exit 1
7556 @endif fastjar
7558 .PHONY: maybe-html-fastjar html-fastjar
7559 maybe-html-fastjar:
7560 @if fastjar
7561 maybe-html-fastjar: html-fastjar
7563 html-fastjar: \
7564 configure-fastjar
7565 @: $(MAKE); $(unstage)
7566 @[ -f ./fastjar/Makefile ] || exit 0; \
7567 r=`${PWD_COMMAND}`; export r; \
7568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7569 $(HOST_EXPORTS) \
7570 for flag in $(EXTRA_HOST_FLAGS) ; do \
7571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7572 done; \
7573 echo "Doing html in fastjar" ; \
7574 (cd $(HOST_SUBDIR)/fastjar && \
7575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7577 "RANLIB=$${RANLIB}" \
7578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7579 html) \
7580 || exit 1
7582 @endif fastjar
7584 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
7585 maybe-TAGS-fastjar:
7586 @if fastjar
7587 maybe-TAGS-fastjar: TAGS-fastjar
7589 TAGS-fastjar: \
7590 configure-fastjar
7591 @: $(MAKE); $(unstage)
7592 @[ -f ./fastjar/Makefile ] || exit 0; \
7593 r=`${PWD_COMMAND}`; export r; \
7594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7595 $(HOST_EXPORTS) \
7596 for flag in $(EXTRA_HOST_FLAGS) ; do \
7597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7598 done; \
7599 echo "Doing TAGS in fastjar" ; \
7600 (cd $(HOST_SUBDIR)/fastjar && \
7601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7603 "RANLIB=$${RANLIB}" \
7604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7605 TAGS) \
7606 || exit 1
7608 @endif fastjar
7610 .PHONY: maybe-install-info-fastjar install-info-fastjar
7611 maybe-install-info-fastjar:
7612 @if fastjar
7613 maybe-install-info-fastjar: install-info-fastjar
7615 install-info-fastjar: \
7616 configure-fastjar \
7617 info-fastjar
7618 @: $(MAKE); $(unstage)
7619 @[ -f ./fastjar/Makefile ] || exit 0; \
7620 r=`${PWD_COMMAND}`; export r; \
7621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7622 $(HOST_EXPORTS) \
7623 for flag in $(EXTRA_HOST_FLAGS) ; do \
7624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7625 done; \
7626 echo "Doing install-info in fastjar" ; \
7627 (cd $(HOST_SUBDIR)/fastjar && \
7628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7630 "RANLIB=$${RANLIB}" \
7631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7632 install-info) \
7633 || exit 1
7635 @endif fastjar
7637 .PHONY: maybe-install-pdf-fastjar install-pdf-fastjar
7638 maybe-install-pdf-fastjar:
7639 @if fastjar
7640 maybe-install-pdf-fastjar: install-pdf-fastjar
7642 install-pdf-fastjar: \
7643 configure-fastjar \
7644 pdf-fastjar
7645 @: $(MAKE); $(unstage)
7646 @[ -f ./fastjar/Makefile ] || exit 0; \
7647 r=`${PWD_COMMAND}`; export r; \
7648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7649 $(HOST_EXPORTS) \
7650 for flag in $(EXTRA_HOST_FLAGS) ; do \
7651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7652 done; \
7653 echo "Doing install-pdf in fastjar" ; \
7654 (cd $(HOST_SUBDIR)/fastjar && \
7655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7657 "RANLIB=$${RANLIB}" \
7658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7659 install-pdf) \
7660 || exit 1
7662 @endif fastjar
7664 .PHONY: maybe-install-html-fastjar install-html-fastjar
7665 maybe-install-html-fastjar:
7666 @if fastjar
7667 maybe-install-html-fastjar: install-html-fastjar
7669 install-html-fastjar: \
7670 configure-fastjar \
7671 html-fastjar
7672 @: $(MAKE); $(unstage)
7673 @[ -f ./fastjar/Makefile ] || exit 0; \
7674 r=`${PWD_COMMAND}`; export r; \
7675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7676 $(HOST_EXPORTS) \
7677 for flag in $(EXTRA_HOST_FLAGS) ; do \
7678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7679 done; \
7680 echo "Doing install-html in fastjar" ; \
7681 (cd $(HOST_SUBDIR)/fastjar && \
7682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7684 "RANLIB=$${RANLIB}" \
7685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7686 install-html) \
7687 || exit 1
7689 @endif fastjar
7691 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
7692 maybe-installcheck-fastjar:
7693 @if fastjar
7694 maybe-installcheck-fastjar: installcheck-fastjar
7696 installcheck-fastjar: \
7697 configure-fastjar
7698 @: $(MAKE); $(unstage)
7699 @[ -f ./fastjar/Makefile ] || exit 0; \
7700 r=`${PWD_COMMAND}`; export r; \
7701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7702 $(HOST_EXPORTS) \
7703 for flag in $(EXTRA_HOST_FLAGS) ; do \
7704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7705 done; \
7706 echo "Doing installcheck in fastjar" ; \
7707 (cd $(HOST_SUBDIR)/fastjar && \
7708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7710 "RANLIB=$${RANLIB}" \
7711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7712 installcheck) \
7713 || exit 1
7715 @endif fastjar
7717 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
7718 maybe-mostlyclean-fastjar:
7719 @if fastjar
7720 maybe-mostlyclean-fastjar: mostlyclean-fastjar
7722 mostlyclean-fastjar:
7723 @: $(MAKE); $(unstage)
7724 @[ -f ./fastjar/Makefile ] || exit 0; \
7725 r=`${PWD_COMMAND}`; export r; \
7726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7727 $(HOST_EXPORTS) \
7728 for flag in $(EXTRA_HOST_FLAGS) ; do \
7729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7730 done; \
7731 echo "Doing mostlyclean in fastjar" ; \
7732 (cd $(HOST_SUBDIR)/fastjar && \
7733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7735 "RANLIB=$${RANLIB}" \
7736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7737 mostlyclean) \
7738 || exit 1
7740 @endif fastjar
7742 .PHONY: maybe-clean-fastjar clean-fastjar
7743 maybe-clean-fastjar:
7744 @if fastjar
7745 maybe-clean-fastjar: clean-fastjar
7747 clean-fastjar:
7748 @: $(MAKE); $(unstage)
7749 @[ -f ./fastjar/Makefile ] || exit 0; \
7750 r=`${PWD_COMMAND}`; export r; \
7751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7752 $(HOST_EXPORTS) \
7753 for flag in $(EXTRA_HOST_FLAGS) ; do \
7754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7755 done; \
7756 echo "Doing clean in fastjar" ; \
7757 (cd $(HOST_SUBDIR)/fastjar && \
7758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7760 "RANLIB=$${RANLIB}" \
7761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7762 clean) \
7763 || exit 1
7765 @endif fastjar
7767 .PHONY: maybe-distclean-fastjar distclean-fastjar
7768 maybe-distclean-fastjar:
7769 @if fastjar
7770 maybe-distclean-fastjar: distclean-fastjar
7772 distclean-fastjar:
7773 @: $(MAKE); $(unstage)
7774 @[ -f ./fastjar/Makefile ] || exit 0; \
7775 r=`${PWD_COMMAND}`; export r; \
7776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7777 $(HOST_EXPORTS) \
7778 for flag in $(EXTRA_HOST_FLAGS) ; do \
7779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7780 done; \
7781 echo "Doing distclean in fastjar" ; \
7782 (cd $(HOST_SUBDIR)/fastjar && \
7783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7785 "RANLIB=$${RANLIB}" \
7786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7787 distclean) \
7788 || exit 1
7790 @endif fastjar
7792 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
7793 maybe-maintainer-clean-fastjar:
7794 @if fastjar
7795 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
7797 maintainer-clean-fastjar:
7798 @: $(MAKE); $(unstage)
7799 @[ -f ./fastjar/Makefile ] || exit 0; \
7800 r=`${PWD_COMMAND}`; export r; \
7801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7802 $(HOST_EXPORTS) \
7803 for flag in $(EXTRA_HOST_FLAGS) ; do \
7804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7805 done; \
7806 echo "Doing maintainer-clean in fastjar" ; \
7807 (cd $(HOST_SUBDIR)/fastjar && \
7808 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7809 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7810 "RANLIB=$${RANLIB}" \
7811 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7812 maintainer-clean) \
7813 || exit 1
7815 @endif fastjar
7819 .PHONY: configure-fixincludes maybe-configure-fixincludes
7820 maybe-configure-fixincludes:
7821 @if gcc-bootstrap
7822 configure-fixincludes: stage_current
7823 @endif gcc-bootstrap
7824 @if fixincludes
7825 maybe-configure-fixincludes: configure-fixincludes
7826 configure-fixincludes:
7827 @r=`${PWD_COMMAND}`; export r; \
7828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7829 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
7830 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
7831 $(HOST_EXPORTS) \
7832 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
7833 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
7834 case $(srcdir) in \
7835 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7836 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
7837 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7838 esac; \
7839 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
7840 libsrcdir="$$s/fixincludes"; \
7841 $(SHELL) $${libsrcdir}/configure \
7842 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7843 --target=${target_alias} $${srcdiroption} \
7844 || exit 1
7845 @endif fixincludes
7849 .PHONY: configure-stage1-fixincludes maybe-configure-stage1-fixincludes
7850 maybe-configure-stage1-fixincludes:
7851 @if fixincludes-bootstrap
7852 maybe-configure-stage1-fixincludes: configure-stage1-fixincludes
7853 configure-stage1-fixincludes:
7854 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
7855 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
7856 @r=`${PWD_COMMAND}`; export r; \
7857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7858 TFLAGS="$(STAGE1_TFLAGS)"; \
7859 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
7860 $(HOST_EXPORTS) \
7861 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
7862 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
7863 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
7864 echo Configuring stage 1 in $(HOST_SUBDIR)/fixincludes ; \
7865 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
7866 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
7867 case $(srcdir) in \
7868 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7869 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
7870 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7871 esac; \
7872 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
7873 libsrcdir="$$s/fixincludes"; \
7874 $(SHELL) $${libsrcdir}/configure \
7875 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7876 --target=${target_alias} $${srcdiroption} \
7877 $(STAGE1_CONFIGURE_FLAGS)
7878 @endif fixincludes-bootstrap
7880 .PHONY: configure-stage2-fixincludes maybe-configure-stage2-fixincludes
7881 maybe-configure-stage2-fixincludes:
7882 @if fixincludes-bootstrap
7883 maybe-configure-stage2-fixincludes: configure-stage2-fixincludes
7884 configure-stage2-fixincludes:
7885 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
7886 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
7887 @r=`${PWD_COMMAND}`; export r; \
7888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7889 TFLAGS="$(STAGE2_TFLAGS)"; \
7890 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
7891 $(HOST_EXPORTS) \
7892 $(POSTSTAGE1_HOST_EXPORTS) \
7893 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
7894 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
7895 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
7896 echo Configuring stage 2 in $(HOST_SUBDIR)/fixincludes ; \
7897 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
7898 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
7899 case $(srcdir) in \
7900 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7901 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
7902 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7903 esac; \
7904 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
7905 libsrcdir="$$s/fixincludes"; \
7906 $(SHELL) $${libsrcdir}/configure \
7907 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7908 --target=${target_alias} $${srcdiroption} \
7909 --with-build-libsubdir=$(HOST_SUBDIR) \
7910 $(STAGE2_CONFIGURE_FLAGS)
7911 @endif fixincludes-bootstrap
7913 .PHONY: configure-stage3-fixincludes maybe-configure-stage3-fixincludes
7914 maybe-configure-stage3-fixincludes:
7915 @if fixincludes-bootstrap
7916 maybe-configure-stage3-fixincludes: configure-stage3-fixincludes
7917 configure-stage3-fixincludes:
7918 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
7919 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
7920 @r=`${PWD_COMMAND}`; export r; \
7921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7922 TFLAGS="$(STAGE3_TFLAGS)"; \
7923 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
7924 $(HOST_EXPORTS) \
7925 $(POSTSTAGE1_HOST_EXPORTS) \
7926 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
7927 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
7928 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
7929 echo Configuring stage 3 in $(HOST_SUBDIR)/fixincludes ; \
7930 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
7931 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
7932 case $(srcdir) in \
7933 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7934 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
7935 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7936 esac; \
7937 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
7938 libsrcdir="$$s/fixincludes"; \
7939 $(SHELL) $${libsrcdir}/configure \
7940 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7941 --target=${target_alias} $${srcdiroption} \
7942 --with-build-libsubdir=$(HOST_SUBDIR) \
7943 $(STAGE3_CONFIGURE_FLAGS)
7944 @endif fixincludes-bootstrap
7946 .PHONY: configure-stage4-fixincludes maybe-configure-stage4-fixincludes
7947 maybe-configure-stage4-fixincludes:
7948 @if fixincludes-bootstrap
7949 maybe-configure-stage4-fixincludes: configure-stage4-fixincludes
7950 configure-stage4-fixincludes:
7951 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
7952 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
7953 @r=`${PWD_COMMAND}`; export r; \
7954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7955 TFLAGS="$(STAGE4_TFLAGS)"; \
7956 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
7957 $(HOST_EXPORTS) \
7958 $(POSTSTAGE1_HOST_EXPORTS) \
7959 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
7960 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
7961 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
7962 echo Configuring stage 4 in $(HOST_SUBDIR)/fixincludes ; \
7963 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
7964 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
7965 case $(srcdir) in \
7966 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7967 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
7968 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7969 esac; \
7970 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
7971 libsrcdir="$$s/fixincludes"; \
7972 $(SHELL) $${libsrcdir}/configure \
7973 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7974 --target=${target_alias} $${srcdiroption} \
7975 --with-build-libsubdir=$(HOST_SUBDIR) \
7976 $(STAGE4_CONFIGURE_FLAGS)
7977 @endif fixincludes-bootstrap
7979 .PHONY: configure-stageprofile-fixincludes maybe-configure-stageprofile-fixincludes
7980 maybe-configure-stageprofile-fixincludes:
7981 @if fixincludes-bootstrap
7982 maybe-configure-stageprofile-fixincludes: configure-stageprofile-fixincludes
7983 configure-stageprofile-fixincludes:
7984 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
7985 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
7986 @r=`${PWD_COMMAND}`; export r; \
7987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7988 TFLAGS="$(STAGEprofile_TFLAGS)"; \
7989 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
7990 $(HOST_EXPORTS) \
7991 $(POSTSTAGE1_HOST_EXPORTS) \
7992 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
7993 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
7994 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
7995 echo Configuring stage profile in $(HOST_SUBDIR)/fixincludes ; \
7996 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
7997 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
7998 case $(srcdir) in \
7999 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8000 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8001 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8002 esac; \
8003 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
8004 libsrcdir="$$s/fixincludes"; \
8005 $(SHELL) $${libsrcdir}/configure \
8006 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8007 --target=${target_alias} $${srcdiroption} \
8008 --with-build-libsubdir=$(HOST_SUBDIR) \
8009 $(STAGEprofile_CONFIGURE_FLAGS)
8010 @endif fixincludes-bootstrap
8012 .PHONY: configure-stagefeedback-fixincludes maybe-configure-stagefeedback-fixincludes
8013 maybe-configure-stagefeedback-fixincludes:
8014 @if fixincludes-bootstrap
8015 maybe-configure-stagefeedback-fixincludes: configure-stagefeedback-fixincludes
8016 configure-stagefeedback-fixincludes:
8017 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
8018 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8019 @r=`${PWD_COMMAND}`; export r; \
8020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8021 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
8022 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8023 $(HOST_EXPORTS) \
8024 $(POSTSTAGE1_HOST_EXPORTS) \
8025 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
8026 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
8027 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
8028 echo Configuring stage feedback in $(HOST_SUBDIR)/fixincludes ; \
8029 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
8030 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8031 case $(srcdir) in \
8032 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8033 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8034 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8035 esac; \
8036 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
8037 libsrcdir="$$s/fixincludes"; \
8038 $(SHELL) $${libsrcdir}/configure \
8039 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8040 --target=${target_alias} $${srcdiroption} \
8041 --with-build-libsubdir=$(HOST_SUBDIR) \
8042 $(STAGEfeedback_CONFIGURE_FLAGS)
8043 @endif fixincludes-bootstrap
8049 .PHONY: all-fixincludes maybe-all-fixincludes
8050 maybe-all-fixincludes:
8051 @if gcc-bootstrap
8052 all-fixincludes: stage_current
8053 @endif gcc-bootstrap
8054 @if fixincludes
8055 TARGET-fixincludes=all
8056 maybe-all-fixincludes: all-fixincludes
8057 all-fixincludes: configure-fixincludes
8058 @r=`${PWD_COMMAND}`; export r; \
8059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8060 $(HOST_EXPORTS) \
8061 (cd $(HOST_SUBDIR)/fixincludes && \
8062 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
8063 $(TARGET-fixincludes))
8064 @endif fixincludes
8068 .PHONY: all-stage1-fixincludes maybe-all-stage1-fixincludes
8069 .PHONY: clean-stage1-fixincludes maybe-clean-stage1-fixincludes
8070 maybe-all-stage1-fixincludes:
8071 maybe-clean-stage1-fixincludes:
8072 @if fixincludes-bootstrap
8073 maybe-all-stage1-fixincludes: all-stage1-fixincludes
8074 all-stage1: all-stage1-fixincludes
8075 TARGET-stage1-fixincludes = $(TARGET-fixincludes)
8076 all-stage1-fixincludes: configure-stage1-fixincludes
8077 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
8078 @r=`${PWD_COMMAND}`; export r; \
8079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8080 TFLAGS="$(STAGE1_TFLAGS)"; \
8081 $(HOST_EXPORTS) \
8082 cd $(HOST_SUBDIR)/fixincludes && \
8083 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8084 CFLAGS="$(STAGE1_CFLAGS)" \
8085 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
8086 LIBCFLAGS="$(LIBCFLAGS)" \
8087 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8088 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8089 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8090 $(EXTRA_HOST_FLAGS) \
8091 $(STAGE1_FLAGS_TO_PASS) \
8092 TFLAGS="$(STAGE1_TFLAGS)" \
8093 $(TARGET-stage1-fixincludes)
8095 maybe-clean-stage1-fixincludes: clean-stage1-fixincludes
8096 clean-stage1: clean-stage1-fixincludes
8097 clean-stage1-fixincludes:
8098 @if [ $(current_stage) = stage1 ]; then \
8099 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
8100 else \
8101 [ -f $(HOST_SUBDIR)/stage1-fixincludes/Makefile ] || exit 0; \
8102 $(MAKE) stage1-start; \
8103 fi; \
8104 cd $(HOST_SUBDIR)/fixincludes && \
8105 $(MAKE) $(EXTRA_HOST_FLAGS) \
8106 $(STAGE1_FLAGS_TO_PASS) clean
8107 @endif fixincludes-bootstrap
8110 .PHONY: all-stage2-fixincludes maybe-all-stage2-fixincludes
8111 .PHONY: clean-stage2-fixincludes maybe-clean-stage2-fixincludes
8112 maybe-all-stage2-fixincludes:
8113 maybe-clean-stage2-fixincludes:
8114 @if fixincludes-bootstrap
8115 maybe-all-stage2-fixincludes: all-stage2-fixincludes
8116 all-stage2: all-stage2-fixincludes
8117 TARGET-stage2-fixincludes = $(TARGET-fixincludes)
8118 all-stage2-fixincludes: configure-stage2-fixincludes
8119 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
8120 @r=`${PWD_COMMAND}`; export r; \
8121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8122 TFLAGS="$(STAGE2_TFLAGS)"; \
8123 $(HOST_EXPORTS) \
8124 $(POSTSTAGE1_HOST_EXPORTS) \
8125 cd $(HOST_SUBDIR)/fixincludes && \
8126 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8127 CFLAGS="$(STAGE2_CFLAGS)" \
8128 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
8129 LIBCFLAGS="$(STAGE2_CFLAGS)" \
8130 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8131 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8132 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8133 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8134 TFLAGS="$(STAGE2_TFLAGS)" \
8135 $(TARGET-stage2-fixincludes)
8137 maybe-clean-stage2-fixincludes: clean-stage2-fixincludes
8138 clean-stage2: clean-stage2-fixincludes
8139 clean-stage2-fixincludes:
8140 @if [ $(current_stage) = stage2 ]; then \
8141 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
8142 else \
8143 [ -f $(HOST_SUBDIR)/stage2-fixincludes/Makefile ] || exit 0; \
8144 $(MAKE) stage2-start; \
8145 fi; \
8146 cd $(HOST_SUBDIR)/fixincludes && \
8147 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
8148 @endif fixincludes-bootstrap
8151 .PHONY: all-stage3-fixincludes maybe-all-stage3-fixincludes
8152 .PHONY: clean-stage3-fixincludes maybe-clean-stage3-fixincludes
8153 maybe-all-stage3-fixincludes:
8154 maybe-clean-stage3-fixincludes:
8155 @if fixincludes-bootstrap
8156 maybe-all-stage3-fixincludes: all-stage3-fixincludes
8157 all-stage3: all-stage3-fixincludes
8158 TARGET-stage3-fixincludes = $(TARGET-fixincludes)
8159 all-stage3-fixincludes: configure-stage3-fixincludes
8160 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
8161 @r=`${PWD_COMMAND}`; export r; \
8162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8163 TFLAGS="$(STAGE3_TFLAGS)"; \
8164 $(HOST_EXPORTS) \
8165 $(POSTSTAGE1_HOST_EXPORTS) \
8166 cd $(HOST_SUBDIR)/fixincludes && \
8167 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8168 CFLAGS="$(STAGE3_CFLAGS)" \
8169 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
8170 LIBCFLAGS="$(STAGE3_CFLAGS)" \
8171 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8172 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8173 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8174 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8175 TFLAGS="$(STAGE3_TFLAGS)" \
8176 $(TARGET-stage3-fixincludes)
8178 maybe-clean-stage3-fixincludes: clean-stage3-fixincludes
8179 clean-stage3: clean-stage3-fixincludes
8180 clean-stage3-fixincludes:
8181 @if [ $(current_stage) = stage3 ]; then \
8182 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
8183 else \
8184 [ -f $(HOST_SUBDIR)/stage3-fixincludes/Makefile ] || exit 0; \
8185 $(MAKE) stage3-start; \
8186 fi; \
8187 cd $(HOST_SUBDIR)/fixincludes && \
8188 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
8189 @endif fixincludes-bootstrap
8192 .PHONY: all-stage4-fixincludes maybe-all-stage4-fixincludes
8193 .PHONY: clean-stage4-fixincludes maybe-clean-stage4-fixincludes
8194 maybe-all-stage4-fixincludes:
8195 maybe-clean-stage4-fixincludes:
8196 @if fixincludes-bootstrap
8197 maybe-all-stage4-fixincludes: all-stage4-fixincludes
8198 all-stage4: all-stage4-fixincludes
8199 TARGET-stage4-fixincludes = $(TARGET-fixincludes)
8200 all-stage4-fixincludes: configure-stage4-fixincludes
8201 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
8202 @r=`${PWD_COMMAND}`; export r; \
8203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8204 TFLAGS="$(STAGE4_TFLAGS)"; \
8205 $(HOST_EXPORTS) \
8206 $(POSTSTAGE1_HOST_EXPORTS) \
8207 cd $(HOST_SUBDIR)/fixincludes && \
8208 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8209 CFLAGS="$(STAGE4_CFLAGS)" \
8210 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
8211 LIBCFLAGS="$(STAGE4_CFLAGS)" \
8212 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8213 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8214 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8215 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8216 TFLAGS="$(STAGE4_TFLAGS)" \
8217 $(TARGET-stage4-fixincludes)
8219 maybe-clean-stage4-fixincludes: clean-stage4-fixincludes
8220 clean-stage4: clean-stage4-fixincludes
8221 clean-stage4-fixincludes:
8222 @if [ $(current_stage) = stage4 ]; then \
8223 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
8224 else \
8225 [ -f $(HOST_SUBDIR)/stage4-fixincludes/Makefile ] || exit 0; \
8226 $(MAKE) stage4-start; \
8227 fi; \
8228 cd $(HOST_SUBDIR)/fixincludes && \
8229 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
8230 @endif fixincludes-bootstrap
8233 .PHONY: all-stageprofile-fixincludes maybe-all-stageprofile-fixincludes
8234 .PHONY: clean-stageprofile-fixincludes maybe-clean-stageprofile-fixincludes
8235 maybe-all-stageprofile-fixincludes:
8236 maybe-clean-stageprofile-fixincludes:
8237 @if fixincludes-bootstrap
8238 maybe-all-stageprofile-fixincludes: all-stageprofile-fixincludes
8239 all-stageprofile: all-stageprofile-fixincludes
8240 TARGET-stageprofile-fixincludes = $(TARGET-fixincludes)
8241 all-stageprofile-fixincludes: configure-stageprofile-fixincludes
8242 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
8243 @r=`${PWD_COMMAND}`; export r; \
8244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8245 TFLAGS="$(STAGEprofile_TFLAGS)"; \
8246 $(HOST_EXPORTS) \
8247 $(POSTSTAGE1_HOST_EXPORTS) \
8248 cd $(HOST_SUBDIR)/fixincludes && \
8249 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8250 CFLAGS="$(STAGEprofile_CFLAGS)" \
8251 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
8252 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
8253 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8254 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8255 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8256 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8257 TFLAGS="$(STAGEprofile_TFLAGS)" \
8258 $(TARGET-stageprofile-fixincludes)
8260 maybe-clean-stageprofile-fixincludes: clean-stageprofile-fixincludes
8261 clean-stageprofile: clean-stageprofile-fixincludes
8262 clean-stageprofile-fixincludes:
8263 @if [ $(current_stage) = stageprofile ]; then \
8264 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
8265 else \
8266 [ -f $(HOST_SUBDIR)/stageprofile-fixincludes/Makefile ] || exit 0; \
8267 $(MAKE) stageprofile-start; \
8268 fi; \
8269 cd $(HOST_SUBDIR)/fixincludes && \
8270 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
8271 @endif fixincludes-bootstrap
8274 .PHONY: all-stagefeedback-fixincludes maybe-all-stagefeedback-fixincludes
8275 .PHONY: clean-stagefeedback-fixincludes maybe-clean-stagefeedback-fixincludes
8276 maybe-all-stagefeedback-fixincludes:
8277 maybe-clean-stagefeedback-fixincludes:
8278 @if fixincludes-bootstrap
8279 maybe-all-stagefeedback-fixincludes: all-stagefeedback-fixincludes
8280 all-stagefeedback: all-stagefeedback-fixincludes
8281 TARGET-stagefeedback-fixincludes = $(TARGET-fixincludes)
8282 all-stagefeedback-fixincludes: configure-stagefeedback-fixincludes
8283 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
8284 @r=`${PWD_COMMAND}`; export r; \
8285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8286 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
8287 $(HOST_EXPORTS) \
8288 $(POSTSTAGE1_HOST_EXPORTS) \
8289 cd $(HOST_SUBDIR)/fixincludes && \
8290 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8291 CFLAGS="$(STAGEfeedback_CFLAGS)" \
8292 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
8293 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
8294 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8295 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8296 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8297 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8298 TFLAGS="$(STAGEfeedback_TFLAGS)" \
8299 $(TARGET-stagefeedback-fixincludes)
8301 maybe-clean-stagefeedback-fixincludes: clean-stagefeedback-fixincludes
8302 clean-stagefeedback: clean-stagefeedback-fixincludes
8303 clean-stagefeedback-fixincludes:
8304 @if [ $(current_stage) = stagefeedback ]; then \
8305 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
8306 else \
8307 [ -f $(HOST_SUBDIR)/stagefeedback-fixincludes/Makefile ] || exit 0; \
8308 $(MAKE) stagefeedback-start; \
8309 fi; \
8310 cd $(HOST_SUBDIR)/fixincludes && \
8311 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
8312 @endif fixincludes-bootstrap
8318 .PHONY: check-fixincludes maybe-check-fixincludes
8319 maybe-check-fixincludes:
8320 @if fixincludes
8321 maybe-check-fixincludes: check-fixincludes
8323 check-fixincludes:
8324 @: $(MAKE); $(unstage)
8325 @r=`${PWD_COMMAND}`; export r; \
8326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8327 $(HOST_EXPORTS) \
8328 (cd $(HOST_SUBDIR)/fixincludes && \
8329 $(MAKE) $(FLAGS_TO_PASS) check)
8331 @endif fixincludes
8333 .PHONY: install-fixincludes maybe-install-fixincludes
8334 maybe-install-fixincludes:
8335 @if fixincludes
8336 maybe-install-fixincludes: install-fixincludes
8338 install-fixincludes: installdirs
8339 @: $(MAKE); $(unstage)
8340 @r=`${PWD_COMMAND}`; export r; \
8341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8342 $(HOST_EXPORTS) \
8343 (cd $(HOST_SUBDIR)/fixincludes && \
8344 $(MAKE) $(FLAGS_TO_PASS) install)
8346 @endif fixincludes
8348 .PHONY: install-strip-fixincludes maybe-install-strip-fixincludes
8349 maybe-install-strip-fixincludes:
8350 @if fixincludes
8351 maybe-install-strip-fixincludes: install-strip-fixincludes
8353 install-strip-fixincludes: installdirs
8354 @: $(MAKE); $(unstage)
8355 @r=`${PWD_COMMAND}`; export r; \
8356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8357 $(HOST_EXPORTS) \
8358 (cd $(HOST_SUBDIR)/fixincludes && \
8359 $(MAKE) $(FLAGS_TO_PASS) install-strip)
8361 @endif fixincludes
8363 # Other targets (info, dvi, pdf, etc.)
8365 .PHONY: maybe-info-fixincludes info-fixincludes
8366 maybe-info-fixincludes:
8367 @if fixincludes
8368 maybe-info-fixincludes: info-fixincludes
8370 info-fixincludes: \
8371 configure-fixincludes
8372 @[ -f ./fixincludes/Makefile ] || exit 0; \
8373 r=`${PWD_COMMAND}`; export r; \
8374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8375 $(HOST_EXPORTS) \
8376 for flag in $(EXTRA_HOST_FLAGS) ; do \
8377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8378 done; \
8379 echo "Doing info in fixincludes" ; \
8380 (cd $(HOST_SUBDIR)/fixincludes && \
8381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8383 "RANLIB=$${RANLIB}" \
8384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8385 info) \
8386 || exit 1
8388 @endif fixincludes
8390 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
8391 maybe-dvi-fixincludes:
8392 @if fixincludes
8393 maybe-dvi-fixincludes: dvi-fixincludes
8395 dvi-fixincludes: \
8396 configure-fixincludes
8397 @[ -f ./fixincludes/Makefile ] || exit 0; \
8398 r=`${PWD_COMMAND}`; export r; \
8399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8400 $(HOST_EXPORTS) \
8401 for flag in $(EXTRA_HOST_FLAGS) ; do \
8402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8403 done; \
8404 echo "Doing dvi in fixincludes" ; \
8405 (cd $(HOST_SUBDIR)/fixincludes && \
8406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8408 "RANLIB=$${RANLIB}" \
8409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8410 dvi) \
8411 || exit 1
8413 @endif fixincludes
8415 .PHONY: maybe-pdf-fixincludes pdf-fixincludes
8416 maybe-pdf-fixincludes:
8417 @if fixincludes
8418 maybe-pdf-fixincludes: pdf-fixincludes
8420 pdf-fixincludes: \
8421 configure-fixincludes
8422 @[ -f ./fixincludes/Makefile ] || exit 0; \
8423 r=`${PWD_COMMAND}`; export r; \
8424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8425 $(HOST_EXPORTS) \
8426 for flag in $(EXTRA_HOST_FLAGS) ; do \
8427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8428 done; \
8429 echo "Doing pdf in fixincludes" ; \
8430 (cd $(HOST_SUBDIR)/fixincludes && \
8431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8433 "RANLIB=$${RANLIB}" \
8434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8435 pdf) \
8436 || exit 1
8438 @endif fixincludes
8440 .PHONY: maybe-html-fixincludes html-fixincludes
8441 maybe-html-fixincludes:
8442 @if fixincludes
8443 maybe-html-fixincludes: html-fixincludes
8445 html-fixincludes: \
8446 configure-fixincludes
8447 @[ -f ./fixincludes/Makefile ] || exit 0; \
8448 r=`${PWD_COMMAND}`; export r; \
8449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8450 $(HOST_EXPORTS) \
8451 for flag in $(EXTRA_HOST_FLAGS) ; do \
8452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8453 done; \
8454 echo "Doing html in fixincludes" ; \
8455 (cd $(HOST_SUBDIR)/fixincludes && \
8456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8458 "RANLIB=$${RANLIB}" \
8459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8460 html) \
8461 || exit 1
8463 @endif fixincludes
8465 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
8466 maybe-TAGS-fixincludes:
8467 @if fixincludes
8468 maybe-TAGS-fixincludes: TAGS-fixincludes
8470 # fixincludes doesn't support TAGS.
8471 TAGS-fixincludes:
8473 @endif fixincludes
8475 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
8476 maybe-install-info-fixincludes:
8477 @if fixincludes
8478 maybe-install-info-fixincludes: install-info-fixincludes
8480 install-info-fixincludes: \
8481 configure-fixincludes \
8482 info-fixincludes
8483 @[ -f ./fixincludes/Makefile ] || exit 0; \
8484 r=`${PWD_COMMAND}`; export r; \
8485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8486 $(HOST_EXPORTS) \
8487 for flag in $(EXTRA_HOST_FLAGS) ; do \
8488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8489 done; \
8490 echo "Doing install-info in fixincludes" ; \
8491 (cd $(HOST_SUBDIR)/fixincludes && \
8492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8494 "RANLIB=$${RANLIB}" \
8495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8496 install-info) \
8497 || exit 1
8499 @endif fixincludes
8501 .PHONY: maybe-install-pdf-fixincludes install-pdf-fixincludes
8502 maybe-install-pdf-fixincludes:
8503 @if fixincludes
8504 maybe-install-pdf-fixincludes: install-pdf-fixincludes
8506 install-pdf-fixincludes: \
8507 configure-fixincludes \
8508 pdf-fixincludes
8509 @[ -f ./fixincludes/Makefile ] || exit 0; \
8510 r=`${PWD_COMMAND}`; export r; \
8511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8512 $(HOST_EXPORTS) \
8513 for flag in $(EXTRA_HOST_FLAGS) ; do \
8514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8515 done; \
8516 echo "Doing install-pdf in fixincludes" ; \
8517 (cd $(HOST_SUBDIR)/fixincludes && \
8518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8520 "RANLIB=$${RANLIB}" \
8521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8522 install-pdf) \
8523 || exit 1
8525 @endif fixincludes
8527 .PHONY: maybe-install-html-fixincludes install-html-fixincludes
8528 maybe-install-html-fixincludes:
8529 @if fixincludes
8530 maybe-install-html-fixincludes: install-html-fixincludes
8532 install-html-fixincludes: \
8533 configure-fixincludes \
8534 html-fixincludes
8535 @[ -f ./fixincludes/Makefile ] || exit 0; \
8536 r=`${PWD_COMMAND}`; export r; \
8537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8538 $(HOST_EXPORTS) \
8539 for flag in $(EXTRA_HOST_FLAGS) ; do \
8540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8541 done; \
8542 echo "Doing install-html in fixincludes" ; \
8543 (cd $(HOST_SUBDIR)/fixincludes && \
8544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8546 "RANLIB=$${RANLIB}" \
8547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8548 install-html) \
8549 || exit 1
8551 @endif fixincludes
8553 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
8554 maybe-installcheck-fixincludes:
8555 @if fixincludes
8556 maybe-installcheck-fixincludes: installcheck-fixincludes
8558 installcheck-fixincludes: \
8559 configure-fixincludes
8560 @[ -f ./fixincludes/Makefile ] || exit 0; \
8561 r=`${PWD_COMMAND}`; export r; \
8562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8563 $(HOST_EXPORTS) \
8564 for flag in $(EXTRA_HOST_FLAGS) ; do \
8565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8566 done; \
8567 echo "Doing installcheck in fixincludes" ; \
8568 (cd $(HOST_SUBDIR)/fixincludes && \
8569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8571 "RANLIB=$${RANLIB}" \
8572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8573 installcheck) \
8574 || exit 1
8576 @endif fixincludes
8578 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
8579 maybe-mostlyclean-fixincludes:
8580 @if fixincludes
8581 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
8583 mostlyclean-fixincludes:
8584 @[ -f ./fixincludes/Makefile ] || exit 0; \
8585 r=`${PWD_COMMAND}`; export r; \
8586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8587 $(HOST_EXPORTS) \
8588 for flag in $(EXTRA_HOST_FLAGS) ; do \
8589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8590 done; \
8591 echo "Doing mostlyclean in fixincludes" ; \
8592 (cd $(HOST_SUBDIR)/fixincludes && \
8593 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8594 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8595 "RANLIB=$${RANLIB}" \
8596 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8597 mostlyclean) \
8598 || exit 1
8600 @endif fixincludes
8602 .PHONY: maybe-clean-fixincludes clean-fixincludes
8603 maybe-clean-fixincludes:
8604 @if fixincludes
8605 maybe-clean-fixincludes: clean-fixincludes
8607 clean-fixincludes:
8608 @[ -f ./fixincludes/Makefile ] || exit 0; \
8609 r=`${PWD_COMMAND}`; export r; \
8610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8611 $(HOST_EXPORTS) \
8612 for flag in $(EXTRA_HOST_FLAGS) ; do \
8613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8614 done; \
8615 echo "Doing clean in fixincludes" ; \
8616 (cd $(HOST_SUBDIR)/fixincludes && \
8617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8619 "RANLIB=$${RANLIB}" \
8620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8621 clean) \
8622 || exit 1
8624 @endif fixincludes
8626 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
8627 maybe-distclean-fixincludes:
8628 @if fixincludes
8629 maybe-distclean-fixincludes: distclean-fixincludes
8631 distclean-fixincludes:
8632 @[ -f ./fixincludes/Makefile ] || exit 0; \
8633 r=`${PWD_COMMAND}`; export r; \
8634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8635 $(HOST_EXPORTS) \
8636 for flag in $(EXTRA_HOST_FLAGS) ; do \
8637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8638 done; \
8639 echo "Doing distclean in fixincludes" ; \
8640 (cd $(HOST_SUBDIR)/fixincludes && \
8641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8643 "RANLIB=$${RANLIB}" \
8644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8645 distclean) \
8646 || exit 1
8648 @endif fixincludes
8650 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
8651 maybe-maintainer-clean-fixincludes:
8652 @if fixincludes
8653 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
8655 maintainer-clean-fixincludes:
8656 @[ -f ./fixincludes/Makefile ] || exit 0; \
8657 r=`${PWD_COMMAND}`; export r; \
8658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8659 $(HOST_EXPORTS) \
8660 for flag in $(EXTRA_HOST_FLAGS) ; do \
8661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8662 done; \
8663 echo "Doing maintainer-clean in fixincludes" ; \
8664 (cd $(HOST_SUBDIR)/fixincludes && \
8665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8667 "RANLIB=$${RANLIB}" \
8668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8669 maintainer-clean) \
8670 || exit 1
8672 @endif fixincludes
8676 .PHONY: configure-flex maybe-configure-flex
8677 maybe-configure-flex:
8678 @if gcc-bootstrap
8679 configure-flex: stage_current
8680 @endif gcc-bootstrap
8681 @if flex
8682 maybe-configure-flex: configure-flex
8683 configure-flex:
8684 @: $(MAKE); $(unstage)
8685 @r=`${PWD_COMMAND}`; export r; \
8686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8687 test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
8688 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex ; \
8689 $(HOST_EXPORTS) \
8690 echo Configuring in $(HOST_SUBDIR)/flex; \
8691 cd "$(HOST_SUBDIR)/flex" || exit 1; \
8692 case $(srcdir) in \
8693 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8694 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
8695 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8696 esac; \
8697 srcdiroption="--srcdir=$${topdir}/flex"; \
8698 libsrcdir="$$s/flex"; \
8699 $(SHELL) $${libsrcdir}/configure \
8700 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8701 --target=${target_alias} $${srcdiroption} \
8702 || exit 1
8703 @endif flex
8709 .PHONY: all-flex maybe-all-flex
8710 maybe-all-flex:
8711 @if gcc-bootstrap
8712 all-flex: stage_current
8713 @endif gcc-bootstrap
8714 @if flex
8715 TARGET-flex=all
8716 maybe-all-flex: all-flex
8717 all-flex: configure-flex
8718 @: $(MAKE); $(unstage)
8719 @r=`${PWD_COMMAND}`; export r; \
8720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8721 $(HOST_EXPORTS) \
8722 (cd $(HOST_SUBDIR)/flex && \
8723 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
8724 $(TARGET-flex))
8725 @endif flex
8730 .PHONY: check-flex maybe-check-flex
8731 maybe-check-flex:
8732 @if flex
8733 maybe-check-flex: check-flex
8735 # This module is only tested in a native toolchain.
8736 check-flex:
8737 @: $(MAKE); $(unstage)
8738 @if [ '$(host)' = '$(target)' ] ; then \
8739 r=`${PWD_COMMAND}`; export r; \
8740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8741 $(HOST_EXPORTS) \
8742 (cd $(HOST_SUBDIR)/flex && \
8743 $(MAKE) $(FLAGS_TO_PASS) check); \
8746 @endif flex
8748 .PHONY: install-flex maybe-install-flex
8749 maybe-install-flex:
8750 @if flex
8751 maybe-install-flex: install-flex
8753 install-flex: installdirs
8754 @: $(MAKE); $(unstage)
8755 @r=`${PWD_COMMAND}`; export r; \
8756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8757 $(HOST_EXPORTS) \
8758 (cd $(HOST_SUBDIR)/flex && \
8759 $(MAKE) $(FLAGS_TO_PASS) install)
8761 @endif flex
8763 .PHONY: install-strip-flex maybe-install-strip-flex
8764 maybe-install-strip-flex:
8765 @if flex
8766 maybe-install-strip-flex: install-strip-flex
8768 install-strip-flex: installdirs
8769 @: $(MAKE); $(unstage)
8770 @r=`${PWD_COMMAND}`; export r; \
8771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8772 $(HOST_EXPORTS) \
8773 (cd $(HOST_SUBDIR)/flex && \
8774 $(MAKE) $(FLAGS_TO_PASS) install-strip)
8776 @endif flex
8778 # Other targets (info, dvi, pdf, etc.)
8780 .PHONY: maybe-info-flex info-flex
8781 maybe-info-flex:
8782 @if flex
8783 maybe-info-flex: info-flex
8785 info-flex: \
8786 configure-flex
8787 @: $(MAKE); $(unstage)
8788 @[ -f ./flex/Makefile ] || exit 0; \
8789 r=`${PWD_COMMAND}`; export r; \
8790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8791 $(HOST_EXPORTS) \
8792 for flag in $(EXTRA_HOST_FLAGS) ; do \
8793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8794 done; \
8795 echo "Doing info in flex" ; \
8796 (cd $(HOST_SUBDIR)/flex && \
8797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8799 "RANLIB=$${RANLIB}" \
8800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8801 info) \
8802 || exit 1
8804 @endif flex
8806 .PHONY: maybe-dvi-flex dvi-flex
8807 maybe-dvi-flex:
8808 @if flex
8809 maybe-dvi-flex: dvi-flex
8811 dvi-flex: \
8812 configure-flex
8813 @: $(MAKE); $(unstage)
8814 @[ -f ./flex/Makefile ] || exit 0; \
8815 r=`${PWD_COMMAND}`; export r; \
8816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8817 $(HOST_EXPORTS) \
8818 for flag in $(EXTRA_HOST_FLAGS) ; do \
8819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8820 done; \
8821 echo "Doing dvi in flex" ; \
8822 (cd $(HOST_SUBDIR)/flex && \
8823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8825 "RANLIB=$${RANLIB}" \
8826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8827 dvi) \
8828 || exit 1
8830 @endif flex
8832 .PHONY: maybe-pdf-flex pdf-flex
8833 maybe-pdf-flex:
8834 @if flex
8835 maybe-pdf-flex: pdf-flex
8837 pdf-flex: \
8838 configure-flex
8839 @: $(MAKE); $(unstage)
8840 @[ -f ./flex/Makefile ] || exit 0; \
8841 r=`${PWD_COMMAND}`; export r; \
8842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8843 $(HOST_EXPORTS) \
8844 for flag in $(EXTRA_HOST_FLAGS) ; do \
8845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8846 done; \
8847 echo "Doing pdf in flex" ; \
8848 (cd $(HOST_SUBDIR)/flex && \
8849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8851 "RANLIB=$${RANLIB}" \
8852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8853 pdf) \
8854 || exit 1
8856 @endif flex
8858 .PHONY: maybe-html-flex html-flex
8859 maybe-html-flex:
8860 @if flex
8861 maybe-html-flex: html-flex
8863 html-flex: \
8864 configure-flex
8865 @: $(MAKE); $(unstage)
8866 @[ -f ./flex/Makefile ] || exit 0; \
8867 r=`${PWD_COMMAND}`; export r; \
8868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8869 $(HOST_EXPORTS) \
8870 for flag in $(EXTRA_HOST_FLAGS) ; do \
8871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8872 done; \
8873 echo "Doing html in flex" ; \
8874 (cd $(HOST_SUBDIR)/flex && \
8875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8877 "RANLIB=$${RANLIB}" \
8878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8879 html) \
8880 || exit 1
8882 @endif flex
8884 .PHONY: maybe-TAGS-flex TAGS-flex
8885 maybe-TAGS-flex:
8886 @if flex
8887 maybe-TAGS-flex: TAGS-flex
8889 TAGS-flex: \
8890 configure-flex
8891 @: $(MAKE); $(unstage)
8892 @[ -f ./flex/Makefile ] || exit 0; \
8893 r=`${PWD_COMMAND}`; export r; \
8894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8895 $(HOST_EXPORTS) \
8896 for flag in $(EXTRA_HOST_FLAGS) ; do \
8897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8898 done; \
8899 echo "Doing TAGS in flex" ; \
8900 (cd $(HOST_SUBDIR)/flex && \
8901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8903 "RANLIB=$${RANLIB}" \
8904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8905 TAGS) \
8906 || exit 1
8908 @endif flex
8910 .PHONY: maybe-install-info-flex install-info-flex
8911 maybe-install-info-flex:
8912 @if flex
8913 maybe-install-info-flex: install-info-flex
8915 install-info-flex: \
8916 configure-flex \
8917 info-flex
8918 @: $(MAKE); $(unstage)
8919 @[ -f ./flex/Makefile ] || exit 0; \
8920 r=`${PWD_COMMAND}`; export r; \
8921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8922 $(HOST_EXPORTS) \
8923 for flag in $(EXTRA_HOST_FLAGS) ; do \
8924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8925 done; \
8926 echo "Doing install-info in flex" ; \
8927 (cd $(HOST_SUBDIR)/flex && \
8928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8930 "RANLIB=$${RANLIB}" \
8931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8932 install-info) \
8933 || exit 1
8935 @endif flex
8937 .PHONY: maybe-install-pdf-flex install-pdf-flex
8938 maybe-install-pdf-flex:
8939 @if flex
8940 maybe-install-pdf-flex: install-pdf-flex
8942 install-pdf-flex: \
8943 configure-flex \
8944 pdf-flex
8945 @: $(MAKE); $(unstage)
8946 @[ -f ./flex/Makefile ] || exit 0; \
8947 r=`${PWD_COMMAND}`; export r; \
8948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8949 $(HOST_EXPORTS) \
8950 for flag in $(EXTRA_HOST_FLAGS) ; do \
8951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8952 done; \
8953 echo "Doing install-pdf in flex" ; \
8954 (cd $(HOST_SUBDIR)/flex && \
8955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8957 "RANLIB=$${RANLIB}" \
8958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8959 install-pdf) \
8960 || exit 1
8962 @endif flex
8964 .PHONY: maybe-install-html-flex install-html-flex
8965 maybe-install-html-flex:
8966 @if flex
8967 maybe-install-html-flex: install-html-flex
8969 install-html-flex: \
8970 configure-flex \
8971 html-flex
8972 @: $(MAKE); $(unstage)
8973 @[ -f ./flex/Makefile ] || exit 0; \
8974 r=`${PWD_COMMAND}`; export r; \
8975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8976 $(HOST_EXPORTS) \
8977 for flag in $(EXTRA_HOST_FLAGS) ; do \
8978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8979 done; \
8980 echo "Doing install-html in flex" ; \
8981 (cd $(HOST_SUBDIR)/flex && \
8982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8984 "RANLIB=$${RANLIB}" \
8985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8986 install-html) \
8987 || exit 1
8989 @endif flex
8991 .PHONY: maybe-installcheck-flex installcheck-flex
8992 maybe-installcheck-flex:
8993 @if flex
8994 maybe-installcheck-flex: installcheck-flex
8996 installcheck-flex: \
8997 configure-flex
8998 @: $(MAKE); $(unstage)
8999 @[ -f ./flex/Makefile ] || exit 0; \
9000 r=`${PWD_COMMAND}`; export r; \
9001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9002 $(HOST_EXPORTS) \
9003 for flag in $(EXTRA_HOST_FLAGS) ; do \
9004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9005 done; \
9006 echo "Doing installcheck in flex" ; \
9007 (cd $(HOST_SUBDIR)/flex && \
9008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9010 "RANLIB=$${RANLIB}" \
9011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9012 installcheck) \
9013 || exit 1
9015 @endif flex
9017 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
9018 maybe-mostlyclean-flex:
9019 @if flex
9020 maybe-mostlyclean-flex: mostlyclean-flex
9022 mostlyclean-flex:
9023 @: $(MAKE); $(unstage)
9024 @[ -f ./flex/Makefile ] || exit 0; \
9025 r=`${PWD_COMMAND}`; export r; \
9026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9027 $(HOST_EXPORTS) \
9028 for flag in $(EXTRA_HOST_FLAGS) ; do \
9029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9030 done; \
9031 echo "Doing mostlyclean in flex" ; \
9032 (cd $(HOST_SUBDIR)/flex && \
9033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9035 "RANLIB=$${RANLIB}" \
9036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9037 mostlyclean) \
9038 || exit 1
9040 @endif flex
9042 .PHONY: maybe-clean-flex clean-flex
9043 maybe-clean-flex:
9044 @if flex
9045 maybe-clean-flex: clean-flex
9047 clean-flex:
9048 @: $(MAKE); $(unstage)
9049 @[ -f ./flex/Makefile ] || exit 0; \
9050 r=`${PWD_COMMAND}`; export r; \
9051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9052 $(HOST_EXPORTS) \
9053 for flag in $(EXTRA_HOST_FLAGS) ; do \
9054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9055 done; \
9056 echo "Doing clean in flex" ; \
9057 (cd $(HOST_SUBDIR)/flex && \
9058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9060 "RANLIB=$${RANLIB}" \
9061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9062 clean) \
9063 || exit 1
9065 @endif flex
9067 .PHONY: maybe-distclean-flex distclean-flex
9068 maybe-distclean-flex:
9069 @if flex
9070 maybe-distclean-flex: distclean-flex
9072 distclean-flex:
9073 @: $(MAKE); $(unstage)
9074 @[ -f ./flex/Makefile ] || exit 0; \
9075 r=`${PWD_COMMAND}`; export r; \
9076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9077 $(HOST_EXPORTS) \
9078 for flag in $(EXTRA_HOST_FLAGS) ; do \
9079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9080 done; \
9081 echo "Doing distclean in flex" ; \
9082 (cd $(HOST_SUBDIR)/flex && \
9083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9085 "RANLIB=$${RANLIB}" \
9086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9087 distclean) \
9088 || exit 1
9090 @endif flex
9092 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
9093 maybe-maintainer-clean-flex:
9094 @if flex
9095 maybe-maintainer-clean-flex: maintainer-clean-flex
9097 maintainer-clean-flex:
9098 @: $(MAKE); $(unstage)
9099 @[ -f ./flex/Makefile ] || exit 0; \
9100 r=`${PWD_COMMAND}`; export r; \
9101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9102 $(HOST_EXPORTS) \
9103 for flag in $(EXTRA_HOST_FLAGS) ; do \
9104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9105 done; \
9106 echo "Doing maintainer-clean in flex" ; \
9107 (cd $(HOST_SUBDIR)/flex && \
9108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9110 "RANLIB=$${RANLIB}" \
9111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9112 maintainer-clean) \
9113 || exit 1
9115 @endif flex
9119 .PHONY: configure-gas maybe-configure-gas
9120 maybe-configure-gas:
9121 @if gcc-bootstrap
9122 configure-gas: stage_current
9123 @endif gcc-bootstrap
9124 @if gas
9125 maybe-configure-gas: configure-gas
9126 configure-gas:
9127 @r=`${PWD_COMMAND}`; export r; \
9128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9129 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
9130 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
9131 $(HOST_EXPORTS) \
9132 echo Configuring in $(HOST_SUBDIR)/gas; \
9133 cd "$(HOST_SUBDIR)/gas" || exit 1; \
9134 case $(srcdir) in \
9135 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9136 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9137 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9138 esac; \
9139 srcdiroption="--srcdir=$${topdir}/gas"; \
9140 libsrcdir="$$s/gas"; \
9141 $(SHELL) $${libsrcdir}/configure \
9142 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9143 --target=${target_alias} $${srcdiroption} \
9144 || exit 1
9145 @endif gas
9149 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
9150 maybe-configure-stage1-gas:
9151 @if gas-bootstrap
9152 maybe-configure-stage1-gas: configure-stage1-gas
9153 configure-stage1-gas:
9154 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
9155 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
9156 @r=`${PWD_COMMAND}`; export r; \
9157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9158 TFLAGS="$(STAGE1_TFLAGS)"; \
9159 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
9160 $(HOST_EXPORTS) \
9161 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
9162 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
9163 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
9164 echo Configuring stage 1 in $(HOST_SUBDIR)/gas ; \
9165 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
9166 cd $(HOST_SUBDIR)/gas || exit 1; \
9167 case $(srcdir) in \
9168 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9169 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9170 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9171 esac; \
9172 srcdiroption="--srcdir=$${topdir}/gas"; \
9173 libsrcdir="$$s/gas"; \
9174 $(SHELL) $${libsrcdir}/configure \
9175 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9176 --target=${target_alias} $${srcdiroption} \
9177 $(STAGE1_CONFIGURE_FLAGS)
9178 @endif gas-bootstrap
9180 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
9181 maybe-configure-stage2-gas:
9182 @if gas-bootstrap
9183 maybe-configure-stage2-gas: configure-stage2-gas
9184 configure-stage2-gas:
9185 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
9186 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
9187 @r=`${PWD_COMMAND}`; export r; \
9188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9189 TFLAGS="$(STAGE2_TFLAGS)"; \
9190 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
9191 $(HOST_EXPORTS) \
9192 $(POSTSTAGE1_HOST_EXPORTS) \
9193 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
9194 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
9195 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
9196 echo Configuring stage 2 in $(HOST_SUBDIR)/gas ; \
9197 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
9198 cd $(HOST_SUBDIR)/gas || exit 1; \
9199 case $(srcdir) in \
9200 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9201 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9202 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9203 esac; \
9204 srcdiroption="--srcdir=$${topdir}/gas"; \
9205 libsrcdir="$$s/gas"; \
9206 $(SHELL) $${libsrcdir}/configure \
9207 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9208 --target=${target_alias} $${srcdiroption} \
9209 --with-build-libsubdir=$(HOST_SUBDIR) \
9210 $(STAGE2_CONFIGURE_FLAGS)
9211 @endif gas-bootstrap
9213 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
9214 maybe-configure-stage3-gas:
9215 @if gas-bootstrap
9216 maybe-configure-stage3-gas: configure-stage3-gas
9217 configure-stage3-gas:
9218 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
9219 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
9220 @r=`${PWD_COMMAND}`; export r; \
9221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9222 TFLAGS="$(STAGE3_TFLAGS)"; \
9223 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
9224 $(HOST_EXPORTS) \
9225 $(POSTSTAGE1_HOST_EXPORTS) \
9226 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
9227 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
9228 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
9229 echo Configuring stage 3 in $(HOST_SUBDIR)/gas ; \
9230 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
9231 cd $(HOST_SUBDIR)/gas || exit 1; \
9232 case $(srcdir) in \
9233 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9234 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9235 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9236 esac; \
9237 srcdiroption="--srcdir=$${topdir}/gas"; \
9238 libsrcdir="$$s/gas"; \
9239 $(SHELL) $${libsrcdir}/configure \
9240 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9241 --target=${target_alias} $${srcdiroption} \
9242 --with-build-libsubdir=$(HOST_SUBDIR) \
9243 $(STAGE3_CONFIGURE_FLAGS)
9244 @endif gas-bootstrap
9246 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
9247 maybe-configure-stage4-gas:
9248 @if gas-bootstrap
9249 maybe-configure-stage4-gas: configure-stage4-gas
9250 configure-stage4-gas:
9251 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
9252 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
9253 @r=`${PWD_COMMAND}`; export r; \
9254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9255 TFLAGS="$(STAGE4_TFLAGS)"; \
9256 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
9257 $(HOST_EXPORTS) \
9258 $(POSTSTAGE1_HOST_EXPORTS) \
9259 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
9260 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
9261 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
9262 echo Configuring stage 4 in $(HOST_SUBDIR)/gas ; \
9263 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
9264 cd $(HOST_SUBDIR)/gas || exit 1; \
9265 case $(srcdir) in \
9266 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9267 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9268 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9269 esac; \
9270 srcdiroption="--srcdir=$${topdir}/gas"; \
9271 libsrcdir="$$s/gas"; \
9272 $(SHELL) $${libsrcdir}/configure \
9273 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9274 --target=${target_alias} $${srcdiroption} \
9275 --with-build-libsubdir=$(HOST_SUBDIR) \
9276 $(STAGE4_CONFIGURE_FLAGS)
9277 @endif gas-bootstrap
9279 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
9280 maybe-configure-stageprofile-gas:
9281 @if gas-bootstrap
9282 maybe-configure-stageprofile-gas: configure-stageprofile-gas
9283 configure-stageprofile-gas:
9284 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9285 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
9286 @r=`${PWD_COMMAND}`; export r; \
9287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9288 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9289 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
9290 $(HOST_EXPORTS) \
9291 $(POSTSTAGE1_HOST_EXPORTS) \
9292 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
9293 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
9294 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
9295 echo Configuring stage profile in $(HOST_SUBDIR)/gas ; \
9296 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
9297 cd $(HOST_SUBDIR)/gas || exit 1; \
9298 case $(srcdir) in \
9299 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9300 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9301 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9302 esac; \
9303 srcdiroption="--srcdir=$${topdir}/gas"; \
9304 libsrcdir="$$s/gas"; \
9305 $(SHELL) $${libsrcdir}/configure \
9306 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9307 --target=${target_alias} $${srcdiroption} \
9308 --with-build-libsubdir=$(HOST_SUBDIR) \
9309 $(STAGEprofile_CONFIGURE_FLAGS)
9310 @endif gas-bootstrap
9312 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
9313 maybe-configure-stagefeedback-gas:
9314 @if gas-bootstrap
9315 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
9316 configure-stagefeedback-gas:
9317 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9318 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
9319 @r=`${PWD_COMMAND}`; export r; \
9320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9321 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9322 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
9323 $(HOST_EXPORTS) \
9324 $(POSTSTAGE1_HOST_EXPORTS) \
9325 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
9326 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
9327 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
9328 echo Configuring stage feedback in $(HOST_SUBDIR)/gas ; \
9329 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
9330 cd $(HOST_SUBDIR)/gas || exit 1; \
9331 case $(srcdir) in \
9332 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9333 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9334 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9335 esac; \
9336 srcdiroption="--srcdir=$${topdir}/gas"; \
9337 libsrcdir="$$s/gas"; \
9338 $(SHELL) $${libsrcdir}/configure \
9339 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9340 --target=${target_alias} $${srcdiroption} \
9341 --with-build-libsubdir=$(HOST_SUBDIR) \
9342 $(STAGEfeedback_CONFIGURE_FLAGS)
9343 @endif gas-bootstrap
9349 .PHONY: all-gas maybe-all-gas
9350 maybe-all-gas:
9351 @if gcc-bootstrap
9352 all-gas: stage_current
9353 @endif gcc-bootstrap
9354 @if gas
9355 TARGET-gas=all
9356 maybe-all-gas: all-gas
9357 all-gas: configure-gas
9358 @r=`${PWD_COMMAND}`; export r; \
9359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9360 $(HOST_EXPORTS) \
9361 (cd $(HOST_SUBDIR)/gas && \
9362 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
9363 $(TARGET-gas))
9364 @endif gas
9368 .PHONY: all-stage1-gas maybe-all-stage1-gas
9369 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
9370 maybe-all-stage1-gas:
9371 maybe-clean-stage1-gas:
9372 @if gas-bootstrap
9373 maybe-all-stage1-gas: all-stage1-gas
9374 all-stage1: all-stage1-gas
9375 TARGET-stage1-gas = $(TARGET-gas)
9376 all-stage1-gas: configure-stage1-gas
9377 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
9378 @r=`${PWD_COMMAND}`; export r; \
9379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9380 TFLAGS="$(STAGE1_TFLAGS)"; \
9381 $(HOST_EXPORTS) \
9382 cd $(HOST_SUBDIR)/gas && \
9383 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9384 CFLAGS="$(STAGE1_CFLAGS)" \
9385 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
9386 LIBCFLAGS="$(LIBCFLAGS)" \
9387 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9388 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9389 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9390 $(EXTRA_HOST_FLAGS) \
9391 $(STAGE1_FLAGS_TO_PASS) \
9392 TFLAGS="$(STAGE1_TFLAGS)" \
9393 $(TARGET-stage1-gas)
9395 maybe-clean-stage1-gas: clean-stage1-gas
9396 clean-stage1: clean-stage1-gas
9397 clean-stage1-gas:
9398 @if [ $(current_stage) = stage1 ]; then \
9399 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9400 else \
9401 [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] || exit 0; \
9402 $(MAKE) stage1-start; \
9403 fi; \
9404 cd $(HOST_SUBDIR)/gas && \
9405 $(MAKE) $(EXTRA_HOST_FLAGS) \
9406 $(STAGE1_FLAGS_TO_PASS) clean
9407 @endif gas-bootstrap
9410 .PHONY: all-stage2-gas maybe-all-stage2-gas
9411 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
9412 maybe-all-stage2-gas:
9413 maybe-clean-stage2-gas:
9414 @if gas-bootstrap
9415 maybe-all-stage2-gas: all-stage2-gas
9416 all-stage2: all-stage2-gas
9417 TARGET-stage2-gas = $(TARGET-gas)
9418 all-stage2-gas: configure-stage2-gas
9419 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
9420 @r=`${PWD_COMMAND}`; export r; \
9421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9422 TFLAGS="$(STAGE2_TFLAGS)"; \
9423 $(HOST_EXPORTS) \
9424 $(POSTSTAGE1_HOST_EXPORTS) \
9425 cd $(HOST_SUBDIR)/gas && \
9426 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9427 CFLAGS="$(STAGE2_CFLAGS)" \
9428 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
9429 LIBCFLAGS="$(STAGE2_CFLAGS)" \
9430 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9431 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9432 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9433 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9434 TFLAGS="$(STAGE2_TFLAGS)" \
9435 $(TARGET-stage2-gas)
9437 maybe-clean-stage2-gas: clean-stage2-gas
9438 clean-stage2: clean-stage2-gas
9439 clean-stage2-gas:
9440 @if [ $(current_stage) = stage2 ]; then \
9441 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9442 else \
9443 [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] || exit 0; \
9444 $(MAKE) stage2-start; \
9445 fi; \
9446 cd $(HOST_SUBDIR)/gas && \
9447 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9448 @endif gas-bootstrap
9451 .PHONY: all-stage3-gas maybe-all-stage3-gas
9452 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
9453 maybe-all-stage3-gas:
9454 maybe-clean-stage3-gas:
9455 @if gas-bootstrap
9456 maybe-all-stage3-gas: all-stage3-gas
9457 all-stage3: all-stage3-gas
9458 TARGET-stage3-gas = $(TARGET-gas)
9459 all-stage3-gas: configure-stage3-gas
9460 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
9461 @r=`${PWD_COMMAND}`; export r; \
9462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9463 TFLAGS="$(STAGE3_TFLAGS)"; \
9464 $(HOST_EXPORTS) \
9465 $(POSTSTAGE1_HOST_EXPORTS) \
9466 cd $(HOST_SUBDIR)/gas && \
9467 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9468 CFLAGS="$(STAGE3_CFLAGS)" \
9469 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
9470 LIBCFLAGS="$(STAGE3_CFLAGS)" \
9471 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9472 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9473 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9474 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9475 TFLAGS="$(STAGE3_TFLAGS)" \
9476 $(TARGET-stage3-gas)
9478 maybe-clean-stage3-gas: clean-stage3-gas
9479 clean-stage3: clean-stage3-gas
9480 clean-stage3-gas:
9481 @if [ $(current_stage) = stage3 ]; then \
9482 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9483 else \
9484 [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] || exit 0; \
9485 $(MAKE) stage3-start; \
9486 fi; \
9487 cd $(HOST_SUBDIR)/gas && \
9488 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9489 @endif gas-bootstrap
9492 .PHONY: all-stage4-gas maybe-all-stage4-gas
9493 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
9494 maybe-all-stage4-gas:
9495 maybe-clean-stage4-gas:
9496 @if gas-bootstrap
9497 maybe-all-stage4-gas: all-stage4-gas
9498 all-stage4: all-stage4-gas
9499 TARGET-stage4-gas = $(TARGET-gas)
9500 all-stage4-gas: configure-stage4-gas
9501 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
9502 @r=`${PWD_COMMAND}`; export r; \
9503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9504 TFLAGS="$(STAGE4_TFLAGS)"; \
9505 $(HOST_EXPORTS) \
9506 $(POSTSTAGE1_HOST_EXPORTS) \
9507 cd $(HOST_SUBDIR)/gas && \
9508 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9509 CFLAGS="$(STAGE4_CFLAGS)" \
9510 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
9511 LIBCFLAGS="$(STAGE4_CFLAGS)" \
9512 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9513 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9514 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9515 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9516 TFLAGS="$(STAGE4_TFLAGS)" \
9517 $(TARGET-stage4-gas)
9519 maybe-clean-stage4-gas: clean-stage4-gas
9520 clean-stage4: clean-stage4-gas
9521 clean-stage4-gas:
9522 @if [ $(current_stage) = stage4 ]; then \
9523 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9524 else \
9525 [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] || exit 0; \
9526 $(MAKE) stage4-start; \
9527 fi; \
9528 cd $(HOST_SUBDIR)/gas && \
9529 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9530 @endif gas-bootstrap
9533 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
9534 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
9535 maybe-all-stageprofile-gas:
9536 maybe-clean-stageprofile-gas:
9537 @if gas-bootstrap
9538 maybe-all-stageprofile-gas: all-stageprofile-gas
9539 all-stageprofile: all-stageprofile-gas
9540 TARGET-stageprofile-gas = $(TARGET-gas)
9541 all-stageprofile-gas: configure-stageprofile-gas
9542 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9543 @r=`${PWD_COMMAND}`; export r; \
9544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9545 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9546 $(HOST_EXPORTS) \
9547 $(POSTSTAGE1_HOST_EXPORTS) \
9548 cd $(HOST_SUBDIR)/gas && \
9549 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9550 CFLAGS="$(STAGEprofile_CFLAGS)" \
9551 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
9552 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
9553 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9554 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9555 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9556 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9557 TFLAGS="$(STAGEprofile_TFLAGS)" \
9558 $(TARGET-stageprofile-gas)
9560 maybe-clean-stageprofile-gas: clean-stageprofile-gas
9561 clean-stageprofile: clean-stageprofile-gas
9562 clean-stageprofile-gas:
9563 @if [ $(current_stage) = stageprofile ]; then \
9564 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9565 else \
9566 [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] || exit 0; \
9567 $(MAKE) stageprofile-start; \
9568 fi; \
9569 cd $(HOST_SUBDIR)/gas && \
9570 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9571 @endif gas-bootstrap
9574 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
9575 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
9576 maybe-all-stagefeedback-gas:
9577 maybe-clean-stagefeedback-gas:
9578 @if gas-bootstrap
9579 maybe-all-stagefeedback-gas: all-stagefeedback-gas
9580 all-stagefeedback: all-stagefeedback-gas
9581 TARGET-stagefeedback-gas = $(TARGET-gas)
9582 all-stagefeedback-gas: configure-stagefeedback-gas
9583 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9584 @r=`${PWD_COMMAND}`; export r; \
9585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9586 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9587 $(HOST_EXPORTS) \
9588 $(POSTSTAGE1_HOST_EXPORTS) \
9589 cd $(HOST_SUBDIR)/gas && \
9590 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9591 CFLAGS="$(STAGEfeedback_CFLAGS)" \
9592 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
9593 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
9594 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9595 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9596 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9597 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9598 TFLAGS="$(STAGEfeedback_TFLAGS)" \
9599 $(TARGET-stagefeedback-gas)
9601 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
9602 clean-stagefeedback: clean-stagefeedback-gas
9603 clean-stagefeedback-gas:
9604 @if [ $(current_stage) = stagefeedback ]; then \
9605 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9606 else \
9607 [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] || exit 0; \
9608 $(MAKE) stagefeedback-start; \
9609 fi; \
9610 cd $(HOST_SUBDIR)/gas && \
9611 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9612 @endif gas-bootstrap
9618 .PHONY: check-gas maybe-check-gas
9619 maybe-check-gas:
9620 @if gas
9621 maybe-check-gas: check-gas
9623 check-gas:
9624 @: $(MAKE); $(unstage)
9625 @r=`${PWD_COMMAND}`; export r; \
9626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9627 $(HOST_EXPORTS) \
9628 (cd $(HOST_SUBDIR)/gas && \
9629 $(MAKE) $(FLAGS_TO_PASS) check)
9631 @endif gas
9633 .PHONY: install-gas maybe-install-gas
9634 maybe-install-gas:
9635 @if gas
9636 maybe-install-gas: install-gas
9638 install-gas: installdirs
9639 @: $(MAKE); $(unstage)
9640 @r=`${PWD_COMMAND}`; export r; \
9641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9642 $(HOST_EXPORTS) \
9643 (cd $(HOST_SUBDIR)/gas && \
9644 $(MAKE) $(FLAGS_TO_PASS) install)
9646 @endif gas
9648 .PHONY: install-strip-gas maybe-install-strip-gas
9649 maybe-install-strip-gas:
9650 @if gas
9651 maybe-install-strip-gas: install-strip-gas
9653 install-strip-gas: installdirs
9654 @: $(MAKE); $(unstage)
9655 @r=`${PWD_COMMAND}`; export r; \
9656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9657 $(HOST_EXPORTS) \
9658 (cd $(HOST_SUBDIR)/gas && \
9659 $(MAKE) $(FLAGS_TO_PASS) install-strip)
9661 @endif gas
9663 # Other targets (info, dvi, pdf, etc.)
9665 .PHONY: maybe-info-gas info-gas
9666 maybe-info-gas:
9667 @if gas
9668 maybe-info-gas: info-gas
9670 info-gas: \
9671 configure-gas
9672 @[ -f ./gas/Makefile ] || exit 0; \
9673 r=`${PWD_COMMAND}`; export r; \
9674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9675 $(HOST_EXPORTS) \
9676 for flag in $(EXTRA_HOST_FLAGS) ; do \
9677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9678 done; \
9679 echo "Doing info in gas" ; \
9680 (cd $(HOST_SUBDIR)/gas && \
9681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9683 "RANLIB=$${RANLIB}" \
9684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9685 info) \
9686 || exit 1
9688 @endif gas
9690 .PHONY: maybe-dvi-gas dvi-gas
9691 maybe-dvi-gas:
9692 @if gas
9693 maybe-dvi-gas: dvi-gas
9695 dvi-gas: \
9696 configure-gas
9697 @[ -f ./gas/Makefile ] || exit 0; \
9698 r=`${PWD_COMMAND}`; export r; \
9699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9700 $(HOST_EXPORTS) \
9701 for flag in $(EXTRA_HOST_FLAGS) ; do \
9702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9703 done; \
9704 echo "Doing dvi in gas" ; \
9705 (cd $(HOST_SUBDIR)/gas && \
9706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9708 "RANLIB=$${RANLIB}" \
9709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9710 dvi) \
9711 || exit 1
9713 @endif gas
9715 .PHONY: maybe-pdf-gas pdf-gas
9716 maybe-pdf-gas:
9717 @if gas
9718 maybe-pdf-gas: pdf-gas
9720 pdf-gas: \
9721 configure-gas
9722 @[ -f ./gas/Makefile ] || exit 0; \
9723 r=`${PWD_COMMAND}`; export r; \
9724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9725 $(HOST_EXPORTS) \
9726 for flag in $(EXTRA_HOST_FLAGS) ; do \
9727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9728 done; \
9729 echo "Doing pdf in gas" ; \
9730 (cd $(HOST_SUBDIR)/gas && \
9731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9733 "RANLIB=$${RANLIB}" \
9734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9735 pdf) \
9736 || exit 1
9738 @endif gas
9740 .PHONY: maybe-html-gas html-gas
9741 maybe-html-gas:
9742 @if gas
9743 maybe-html-gas: html-gas
9745 html-gas: \
9746 configure-gas
9747 @[ -f ./gas/Makefile ] || exit 0; \
9748 r=`${PWD_COMMAND}`; export r; \
9749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9750 $(HOST_EXPORTS) \
9751 for flag in $(EXTRA_HOST_FLAGS) ; do \
9752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9753 done; \
9754 echo "Doing html in gas" ; \
9755 (cd $(HOST_SUBDIR)/gas && \
9756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9758 "RANLIB=$${RANLIB}" \
9759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9760 html) \
9761 || exit 1
9763 @endif gas
9765 .PHONY: maybe-TAGS-gas TAGS-gas
9766 maybe-TAGS-gas:
9767 @if gas
9768 maybe-TAGS-gas: TAGS-gas
9770 TAGS-gas: \
9771 configure-gas
9772 @[ -f ./gas/Makefile ] || exit 0; \
9773 r=`${PWD_COMMAND}`; export r; \
9774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9775 $(HOST_EXPORTS) \
9776 for flag in $(EXTRA_HOST_FLAGS) ; do \
9777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9778 done; \
9779 echo "Doing TAGS in gas" ; \
9780 (cd $(HOST_SUBDIR)/gas && \
9781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9783 "RANLIB=$${RANLIB}" \
9784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9785 TAGS) \
9786 || exit 1
9788 @endif gas
9790 .PHONY: maybe-install-info-gas install-info-gas
9791 maybe-install-info-gas:
9792 @if gas
9793 maybe-install-info-gas: install-info-gas
9795 install-info-gas: \
9796 configure-gas \
9797 info-gas
9798 @[ -f ./gas/Makefile ] || exit 0; \
9799 r=`${PWD_COMMAND}`; export r; \
9800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9801 $(HOST_EXPORTS) \
9802 for flag in $(EXTRA_HOST_FLAGS) ; do \
9803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9804 done; \
9805 echo "Doing install-info in gas" ; \
9806 (cd $(HOST_SUBDIR)/gas && \
9807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9809 "RANLIB=$${RANLIB}" \
9810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9811 install-info) \
9812 || exit 1
9814 @endif gas
9816 .PHONY: maybe-install-pdf-gas install-pdf-gas
9817 maybe-install-pdf-gas:
9818 @if gas
9819 maybe-install-pdf-gas: install-pdf-gas
9821 install-pdf-gas: \
9822 configure-gas \
9823 pdf-gas
9824 @[ -f ./gas/Makefile ] || exit 0; \
9825 r=`${PWD_COMMAND}`; export r; \
9826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9827 $(HOST_EXPORTS) \
9828 for flag in $(EXTRA_HOST_FLAGS) ; do \
9829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9830 done; \
9831 echo "Doing install-pdf in gas" ; \
9832 (cd $(HOST_SUBDIR)/gas && \
9833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9835 "RANLIB=$${RANLIB}" \
9836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9837 install-pdf) \
9838 || exit 1
9840 @endif gas
9842 .PHONY: maybe-install-html-gas install-html-gas
9843 maybe-install-html-gas:
9844 @if gas
9845 maybe-install-html-gas: install-html-gas
9847 install-html-gas: \
9848 configure-gas \
9849 html-gas
9850 @[ -f ./gas/Makefile ] || exit 0; \
9851 r=`${PWD_COMMAND}`; export r; \
9852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9853 $(HOST_EXPORTS) \
9854 for flag in $(EXTRA_HOST_FLAGS) ; do \
9855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9856 done; \
9857 echo "Doing install-html in gas" ; \
9858 (cd $(HOST_SUBDIR)/gas && \
9859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9861 "RANLIB=$${RANLIB}" \
9862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9863 install-html) \
9864 || exit 1
9866 @endif gas
9868 .PHONY: maybe-installcheck-gas installcheck-gas
9869 maybe-installcheck-gas:
9870 @if gas
9871 maybe-installcheck-gas: installcheck-gas
9873 installcheck-gas: \
9874 configure-gas
9875 @[ -f ./gas/Makefile ] || exit 0; \
9876 r=`${PWD_COMMAND}`; export r; \
9877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9878 $(HOST_EXPORTS) \
9879 for flag in $(EXTRA_HOST_FLAGS) ; do \
9880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9881 done; \
9882 echo "Doing installcheck in gas" ; \
9883 (cd $(HOST_SUBDIR)/gas && \
9884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9886 "RANLIB=$${RANLIB}" \
9887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9888 installcheck) \
9889 || exit 1
9891 @endif gas
9893 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
9894 maybe-mostlyclean-gas:
9895 @if gas
9896 maybe-mostlyclean-gas: mostlyclean-gas
9898 mostlyclean-gas:
9899 @[ -f ./gas/Makefile ] || exit 0; \
9900 r=`${PWD_COMMAND}`; export r; \
9901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9902 $(HOST_EXPORTS) \
9903 for flag in $(EXTRA_HOST_FLAGS) ; do \
9904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9905 done; \
9906 echo "Doing mostlyclean in gas" ; \
9907 (cd $(HOST_SUBDIR)/gas && \
9908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9910 "RANLIB=$${RANLIB}" \
9911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9912 mostlyclean) \
9913 || exit 1
9915 @endif gas
9917 .PHONY: maybe-clean-gas clean-gas
9918 maybe-clean-gas:
9919 @if gas
9920 maybe-clean-gas: clean-gas
9922 clean-gas:
9923 @[ -f ./gas/Makefile ] || exit 0; \
9924 r=`${PWD_COMMAND}`; export r; \
9925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9926 $(HOST_EXPORTS) \
9927 for flag in $(EXTRA_HOST_FLAGS) ; do \
9928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9929 done; \
9930 echo "Doing clean in gas" ; \
9931 (cd $(HOST_SUBDIR)/gas && \
9932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9934 "RANLIB=$${RANLIB}" \
9935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9936 clean) \
9937 || exit 1
9939 @endif gas
9941 .PHONY: maybe-distclean-gas distclean-gas
9942 maybe-distclean-gas:
9943 @if gas
9944 maybe-distclean-gas: distclean-gas
9946 distclean-gas:
9947 @[ -f ./gas/Makefile ] || exit 0; \
9948 r=`${PWD_COMMAND}`; export r; \
9949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9950 $(HOST_EXPORTS) \
9951 for flag in $(EXTRA_HOST_FLAGS) ; do \
9952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9953 done; \
9954 echo "Doing distclean in gas" ; \
9955 (cd $(HOST_SUBDIR)/gas && \
9956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9958 "RANLIB=$${RANLIB}" \
9959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9960 distclean) \
9961 || exit 1
9963 @endif gas
9965 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
9966 maybe-maintainer-clean-gas:
9967 @if gas
9968 maybe-maintainer-clean-gas: maintainer-clean-gas
9970 maintainer-clean-gas:
9971 @[ -f ./gas/Makefile ] || exit 0; \
9972 r=`${PWD_COMMAND}`; export r; \
9973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9974 $(HOST_EXPORTS) \
9975 for flag in $(EXTRA_HOST_FLAGS) ; do \
9976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9977 done; \
9978 echo "Doing maintainer-clean in gas" ; \
9979 (cd $(HOST_SUBDIR)/gas && \
9980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9982 "RANLIB=$${RANLIB}" \
9983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9984 maintainer-clean) \
9985 || exit 1
9987 @endif gas
9991 .PHONY: configure-gcc maybe-configure-gcc
9992 maybe-configure-gcc:
9993 @if gcc-bootstrap
9994 configure-gcc: stage_current
9995 @endif gcc-bootstrap
9996 @if gcc
9997 maybe-configure-gcc: configure-gcc
9998 configure-gcc:
9999 @r=`${PWD_COMMAND}`; export r; \
10000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10001 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10002 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10003 $(HOST_EXPORTS) \
10004 echo Configuring in $(HOST_SUBDIR)/gcc; \
10005 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
10006 case $(srcdir) in \
10007 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10008 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10009 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10010 esac; \
10011 srcdiroption="--srcdir=$${topdir}/gcc"; \
10012 libsrcdir="$$s/gcc"; \
10013 $(SHELL) $${libsrcdir}/configure \
10014 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10015 --target=${target_alias} $${srcdiroption} \
10016 || exit 1
10017 @endif gcc
10021 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
10022 maybe-configure-stage1-gcc:
10023 @if gcc-bootstrap
10024 maybe-configure-stage1-gcc: configure-stage1-gcc
10025 configure-stage1-gcc:
10026 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10027 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10028 @r=`${PWD_COMMAND}`; export r; \
10029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10030 TFLAGS="$(STAGE1_TFLAGS)"; \
10031 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10032 $(HOST_EXPORTS) \
10033 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
10034 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
10035 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
10036 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc ; \
10037 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10038 cd $(HOST_SUBDIR)/gcc || exit 1; \
10039 case $(srcdir) in \
10040 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10041 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10042 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10043 esac; \
10044 srcdiroption="--srcdir=$${topdir}/gcc"; \
10045 libsrcdir="$$s/gcc"; \
10046 $(SHELL) $${libsrcdir}/configure \
10047 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10048 --target=${target_alias} $${srcdiroption} \
10049 $(STAGE1_CONFIGURE_FLAGS)
10050 @endif gcc-bootstrap
10052 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
10053 maybe-configure-stage2-gcc:
10054 @if gcc-bootstrap
10055 maybe-configure-stage2-gcc: configure-stage2-gcc
10056 configure-stage2-gcc:
10057 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10058 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10059 @r=`${PWD_COMMAND}`; export r; \
10060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10061 TFLAGS="$(STAGE2_TFLAGS)"; \
10062 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10063 $(HOST_EXPORTS) \
10064 $(POSTSTAGE1_HOST_EXPORTS) \
10065 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
10066 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
10067 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
10068 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc ; \
10069 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10070 cd $(HOST_SUBDIR)/gcc || exit 1; \
10071 case $(srcdir) in \
10072 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10073 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10074 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10075 esac; \
10076 srcdiroption="--srcdir=$${topdir}/gcc"; \
10077 libsrcdir="$$s/gcc"; \
10078 $(SHELL) $${libsrcdir}/configure \
10079 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10080 --target=${target_alias} $${srcdiroption} \
10081 --with-build-libsubdir=$(HOST_SUBDIR) \
10082 $(STAGE2_CONFIGURE_FLAGS)
10083 @endif gcc-bootstrap
10085 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
10086 maybe-configure-stage3-gcc:
10087 @if gcc-bootstrap
10088 maybe-configure-stage3-gcc: configure-stage3-gcc
10089 configure-stage3-gcc:
10090 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10091 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10092 @r=`${PWD_COMMAND}`; export r; \
10093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10094 TFLAGS="$(STAGE3_TFLAGS)"; \
10095 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10096 $(HOST_EXPORTS) \
10097 $(POSTSTAGE1_HOST_EXPORTS) \
10098 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
10099 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
10100 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
10101 echo Configuring stage 3 in $(HOST_SUBDIR)/gcc ; \
10102 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10103 cd $(HOST_SUBDIR)/gcc || exit 1; \
10104 case $(srcdir) in \
10105 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10106 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10107 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10108 esac; \
10109 srcdiroption="--srcdir=$${topdir}/gcc"; \
10110 libsrcdir="$$s/gcc"; \
10111 $(SHELL) $${libsrcdir}/configure \
10112 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10113 --target=${target_alias} $${srcdiroption} \
10114 --with-build-libsubdir=$(HOST_SUBDIR) \
10115 $(STAGE3_CONFIGURE_FLAGS)
10116 @endif gcc-bootstrap
10118 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
10119 maybe-configure-stage4-gcc:
10120 @if gcc-bootstrap
10121 maybe-configure-stage4-gcc: configure-stage4-gcc
10122 configure-stage4-gcc:
10123 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10124 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10125 @r=`${PWD_COMMAND}`; export r; \
10126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10127 TFLAGS="$(STAGE4_TFLAGS)"; \
10128 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10129 $(HOST_EXPORTS) \
10130 $(POSTSTAGE1_HOST_EXPORTS) \
10131 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
10132 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
10133 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
10134 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc ; \
10135 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10136 cd $(HOST_SUBDIR)/gcc || exit 1; \
10137 case $(srcdir) in \
10138 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10139 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10140 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10141 esac; \
10142 srcdiroption="--srcdir=$${topdir}/gcc"; \
10143 libsrcdir="$$s/gcc"; \
10144 $(SHELL) $${libsrcdir}/configure \
10145 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10146 --target=${target_alias} $${srcdiroption} \
10147 --with-build-libsubdir=$(HOST_SUBDIR) \
10148 $(STAGE4_CONFIGURE_FLAGS)
10149 @endif gcc-bootstrap
10151 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
10152 maybe-configure-stageprofile-gcc:
10153 @if gcc-bootstrap
10154 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
10155 configure-stageprofile-gcc:
10156 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10157 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10158 @r=`${PWD_COMMAND}`; export r; \
10159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10160 TFLAGS="$(STAGEprofile_TFLAGS)"; \
10161 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10162 $(HOST_EXPORTS) \
10163 $(POSTSTAGE1_HOST_EXPORTS) \
10164 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
10165 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
10166 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
10167 echo Configuring stage profile in $(HOST_SUBDIR)/gcc ; \
10168 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10169 cd $(HOST_SUBDIR)/gcc || exit 1; \
10170 case $(srcdir) in \
10171 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10172 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10173 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10174 esac; \
10175 srcdiroption="--srcdir=$${topdir}/gcc"; \
10176 libsrcdir="$$s/gcc"; \
10177 $(SHELL) $${libsrcdir}/configure \
10178 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10179 --target=${target_alias} $${srcdiroption} \
10180 --with-build-libsubdir=$(HOST_SUBDIR) \
10181 $(STAGEprofile_CONFIGURE_FLAGS)
10182 @endif gcc-bootstrap
10184 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
10185 maybe-configure-stagefeedback-gcc:
10186 @if gcc-bootstrap
10187 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
10188 configure-stagefeedback-gcc:
10189 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10190 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10191 @r=`${PWD_COMMAND}`; export r; \
10192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10193 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
10194 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10195 $(HOST_EXPORTS) \
10196 $(POSTSTAGE1_HOST_EXPORTS) \
10197 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
10198 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
10199 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
10200 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc ; \
10201 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10202 cd $(HOST_SUBDIR)/gcc || exit 1; \
10203 case $(srcdir) in \
10204 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10205 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10206 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10207 esac; \
10208 srcdiroption="--srcdir=$${topdir}/gcc"; \
10209 libsrcdir="$$s/gcc"; \
10210 $(SHELL) $${libsrcdir}/configure \
10211 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10212 --target=${target_alias} $${srcdiroption} \
10213 --with-build-libsubdir=$(HOST_SUBDIR) \
10214 $(STAGEfeedback_CONFIGURE_FLAGS)
10215 @endif gcc-bootstrap
10221 .PHONY: all-gcc maybe-all-gcc
10222 maybe-all-gcc:
10223 @if gcc-bootstrap
10224 all-gcc: stage_current
10225 @endif gcc-bootstrap
10226 @if gcc
10227 TARGET-gcc=all
10228 maybe-all-gcc: all-gcc
10229 all-gcc: configure-gcc
10230 @r=`${PWD_COMMAND}`; export r; \
10231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10232 $(HOST_EXPORTS) \
10233 (cd $(HOST_SUBDIR)/gcc && \
10234 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
10235 $(TARGET-gcc))
10236 @endif gcc
10240 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
10241 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
10242 maybe-all-stage1-gcc:
10243 maybe-clean-stage1-gcc:
10244 @if gcc-bootstrap
10245 maybe-all-stage1-gcc: all-stage1-gcc
10246 all-stage1: all-stage1-gcc
10247 TARGET-stage1-gcc = $(TARGET-gcc)
10248 all-stage1-gcc: configure-stage1-gcc
10249 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10250 @r=`${PWD_COMMAND}`; export r; \
10251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10252 TFLAGS="$(STAGE1_TFLAGS)"; \
10253 $(HOST_EXPORTS) \
10254 cd $(HOST_SUBDIR)/gcc && \
10255 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10256 CFLAGS="$(STAGE1_CFLAGS)" \
10257 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
10258 LIBCFLAGS="$(LIBCFLAGS)" \
10259 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10260 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10261 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10262 $(EXTRA_HOST_FLAGS) \
10263 $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
10264 TFLAGS="$(STAGE1_TFLAGS)" \
10265 $(TARGET-stage1-gcc)
10267 maybe-clean-stage1-gcc: clean-stage1-gcc
10268 clean-stage1: clean-stage1-gcc
10269 clean-stage1-gcc:
10270 @if [ $(current_stage) = stage1 ]; then \
10271 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
10272 else \
10273 [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] || exit 0; \
10274 $(MAKE) stage1-start; \
10275 fi; \
10276 cd $(HOST_SUBDIR)/gcc && \
10277 $(MAKE) $(EXTRA_HOST_FLAGS) \
10278 $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
10279 @endif gcc-bootstrap
10282 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
10283 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
10284 maybe-all-stage2-gcc:
10285 maybe-clean-stage2-gcc:
10286 @if gcc-bootstrap
10287 maybe-all-stage2-gcc: all-stage2-gcc
10288 all-stage2: all-stage2-gcc
10289 TARGET-stage2-gcc = $(TARGET-gcc)
10290 all-stage2-gcc: configure-stage2-gcc
10291 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10292 @r=`${PWD_COMMAND}`; export r; \
10293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10294 TFLAGS="$(STAGE2_TFLAGS)"; \
10295 $(HOST_EXPORTS) \
10296 $(POSTSTAGE1_HOST_EXPORTS) \
10297 cd $(HOST_SUBDIR)/gcc && \
10298 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10299 CFLAGS="$(STAGE2_CFLAGS)" \
10300 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
10301 LIBCFLAGS="$(STAGE2_CFLAGS)" \
10302 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10303 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10304 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10305 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
10306 TFLAGS="$(STAGE2_TFLAGS)" \
10307 $(TARGET-stage2-gcc)
10309 maybe-clean-stage2-gcc: clean-stage2-gcc
10310 clean-stage2: clean-stage2-gcc
10311 clean-stage2-gcc:
10312 @if [ $(current_stage) = stage2 ]; then \
10313 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
10314 else \
10315 [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] || exit 0; \
10316 $(MAKE) stage2-start; \
10317 fi; \
10318 cd $(HOST_SUBDIR)/gcc && \
10319 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
10320 @endif gcc-bootstrap
10323 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
10324 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
10325 maybe-all-stage3-gcc:
10326 maybe-clean-stage3-gcc:
10327 @if gcc-bootstrap
10328 maybe-all-stage3-gcc: all-stage3-gcc
10329 all-stage3: all-stage3-gcc
10330 TARGET-stage3-gcc = $(TARGET-gcc)
10331 all-stage3-gcc: configure-stage3-gcc
10332 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10333 @r=`${PWD_COMMAND}`; export r; \
10334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10335 TFLAGS="$(STAGE3_TFLAGS)"; \
10336 $(HOST_EXPORTS) \
10337 $(POSTSTAGE1_HOST_EXPORTS) \
10338 cd $(HOST_SUBDIR)/gcc && \
10339 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10340 CFLAGS="$(STAGE3_CFLAGS)" \
10341 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
10342 LIBCFLAGS="$(STAGE3_CFLAGS)" \
10343 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10344 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10345 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10346 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
10347 TFLAGS="$(STAGE3_TFLAGS)" \
10348 $(TARGET-stage3-gcc)
10350 maybe-clean-stage3-gcc: clean-stage3-gcc
10351 clean-stage3: clean-stage3-gcc
10352 clean-stage3-gcc:
10353 @if [ $(current_stage) = stage3 ]; then \
10354 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
10355 else \
10356 [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] || exit 0; \
10357 $(MAKE) stage3-start; \
10358 fi; \
10359 cd $(HOST_SUBDIR)/gcc && \
10360 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
10361 @endif gcc-bootstrap
10364 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
10365 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
10366 maybe-all-stage4-gcc:
10367 maybe-clean-stage4-gcc:
10368 @if gcc-bootstrap
10369 maybe-all-stage4-gcc: all-stage4-gcc
10370 all-stage4: all-stage4-gcc
10371 TARGET-stage4-gcc = $(TARGET-gcc)
10372 all-stage4-gcc: configure-stage4-gcc
10373 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10374 @r=`${PWD_COMMAND}`; export r; \
10375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10376 TFLAGS="$(STAGE4_TFLAGS)"; \
10377 $(HOST_EXPORTS) \
10378 $(POSTSTAGE1_HOST_EXPORTS) \
10379 cd $(HOST_SUBDIR)/gcc && \
10380 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10381 CFLAGS="$(STAGE4_CFLAGS)" \
10382 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
10383 LIBCFLAGS="$(STAGE4_CFLAGS)" \
10384 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10385 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10386 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10387 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
10388 TFLAGS="$(STAGE4_TFLAGS)" \
10389 $(TARGET-stage4-gcc)
10391 maybe-clean-stage4-gcc: clean-stage4-gcc
10392 clean-stage4: clean-stage4-gcc
10393 clean-stage4-gcc:
10394 @if [ $(current_stage) = stage4 ]; then \
10395 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
10396 else \
10397 [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] || exit 0; \
10398 $(MAKE) stage4-start; \
10399 fi; \
10400 cd $(HOST_SUBDIR)/gcc && \
10401 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
10402 @endif gcc-bootstrap
10405 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
10406 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
10407 maybe-all-stageprofile-gcc:
10408 maybe-clean-stageprofile-gcc:
10409 @if gcc-bootstrap
10410 maybe-all-stageprofile-gcc: all-stageprofile-gcc
10411 all-stageprofile: all-stageprofile-gcc
10412 TARGET-stageprofile-gcc = $(TARGET-gcc)
10413 all-stageprofile-gcc: configure-stageprofile-gcc
10414 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10415 @r=`${PWD_COMMAND}`; export r; \
10416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10417 TFLAGS="$(STAGEprofile_TFLAGS)"; \
10418 $(HOST_EXPORTS) \
10419 $(POSTSTAGE1_HOST_EXPORTS) \
10420 cd $(HOST_SUBDIR)/gcc && \
10421 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10422 CFLAGS="$(STAGEprofile_CFLAGS)" \
10423 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
10424 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
10425 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10426 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10427 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10428 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
10429 TFLAGS="$(STAGEprofile_TFLAGS)" \
10430 $(TARGET-stageprofile-gcc)
10432 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
10433 clean-stageprofile: clean-stageprofile-gcc
10434 clean-stageprofile-gcc:
10435 @if [ $(current_stage) = stageprofile ]; then \
10436 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
10437 else \
10438 [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] || exit 0; \
10439 $(MAKE) stageprofile-start; \
10440 fi; \
10441 cd $(HOST_SUBDIR)/gcc && \
10442 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
10443 @endif gcc-bootstrap
10446 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
10447 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
10448 maybe-all-stagefeedback-gcc:
10449 maybe-clean-stagefeedback-gcc:
10450 @if gcc-bootstrap
10451 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
10452 all-stagefeedback: all-stagefeedback-gcc
10453 TARGET-stagefeedback-gcc = $(TARGET-gcc)
10454 all-stagefeedback-gcc: configure-stagefeedback-gcc
10455 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10456 @r=`${PWD_COMMAND}`; export r; \
10457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10458 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
10459 $(HOST_EXPORTS) \
10460 $(POSTSTAGE1_HOST_EXPORTS) \
10461 cd $(HOST_SUBDIR)/gcc && \
10462 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10463 CFLAGS="$(STAGEfeedback_CFLAGS)" \
10464 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
10465 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
10466 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10467 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10468 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10469 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
10470 TFLAGS="$(STAGEfeedback_TFLAGS)" \
10471 $(TARGET-stagefeedback-gcc)
10473 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
10474 clean-stagefeedback: clean-stagefeedback-gcc
10475 clean-stagefeedback-gcc:
10476 @if [ $(current_stage) = stagefeedback ]; then \
10477 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
10478 else \
10479 [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] || exit 0; \
10480 $(MAKE) stagefeedback-start; \
10481 fi; \
10482 cd $(HOST_SUBDIR)/gcc && \
10483 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
10484 @endif gcc-bootstrap
10490 .PHONY: check-gcc maybe-check-gcc
10491 maybe-check-gcc:
10492 @if gcc
10493 maybe-check-gcc: check-gcc
10495 check-gcc:
10496 @: $(MAKE); $(unstage)
10497 @r=`${PWD_COMMAND}`; export r; \
10498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10499 $(HOST_EXPORTS) \
10500 (cd $(HOST_SUBDIR)/gcc && \
10501 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) check)
10503 @endif gcc
10505 .PHONY: install-gcc maybe-install-gcc
10506 maybe-install-gcc:
10507 @if gcc
10508 maybe-install-gcc: install-gcc
10510 install-gcc: installdirs
10511 @: $(MAKE); $(unstage)
10512 @r=`${PWD_COMMAND}`; export r; \
10513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10514 $(HOST_EXPORTS) \
10515 (cd $(HOST_SUBDIR)/gcc && \
10516 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
10518 @endif gcc
10520 .PHONY: install-strip-gcc maybe-install-strip-gcc
10521 maybe-install-strip-gcc:
10522 @if gcc
10523 maybe-install-strip-gcc: install-strip-gcc
10525 install-strip-gcc: installdirs
10526 @: $(MAKE); $(unstage)
10527 @r=`${PWD_COMMAND}`; export r; \
10528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10529 $(HOST_EXPORTS) \
10530 (cd $(HOST_SUBDIR)/gcc && \
10531 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install-strip)
10533 @endif gcc
10535 # Other targets (info, dvi, pdf, etc.)
10537 .PHONY: maybe-info-gcc info-gcc
10538 maybe-info-gcc:
10539 @if gcc
10540 maybe-info-gcc: info-gcc
10542 info-gcc: \
10543 configure-gcc
10544 @[ -f ./gcc/Makefile ] || exit 0; \
10545 r=`${PWD_COMMAND}`; export r; \
10546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10547 $(HOST_EXPORTS) \
10548 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10550 done; \
10551 echo "Doing info in gcc" ; \
10552 (cd $(HOST_SUBDIR)/gcc && \
10553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10555 "RANLIB=$${RANLIB}" \
10556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10557 info) \
10558 || exit 1
10560 @endif gcc
10562 .PHONY: maybe-dvi-gcc dvi-gcc
10563 maybe-dvi-gcc:
10564 @if gcc
10565 maybe-dvi-gcc: dvi-gcc
10567 dvi-gcc: \
10568 configure-gcc
10569 @[ -f ./gcc/Makefile ] || exit 0; \
10570 r=`${PWD_COMMAND}`; export r; \
10571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10572 $(HOST_EXPORTS) \
10573 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10575 done; \
10576 echo "Doing dvi in gcc" ; \
10577 (cd $(HOST_SUBDIR)/gcc && \
10578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10580 "RANLIB=$${RANLIB}" \
10581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10582 dvi) \
10583 || exit 1
10585 @endif gcc
10587 .PHONY: maybe-pdf-gcc pdf-gcc
10588 maybe-pdf-gcc:
10589 @if gcc
10590 maybe-pdf-gcc: pdf-gcc
10592 pdf-gcc: \
10593 configure-gcc
10594 @[ -f ./gcc/Makefile ] || exit 0; \
10595 r=`${PWD_COMMAND}`; export r; \
10596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10597 $(HOST_EXPORTS) \
10598 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10600 done; \
10601 echo "Doing pdf in gcc" ; \
10602 (cd $(HOST_SUBDIR)/gcc && \
10603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10605 "RANLIB=$${RANLIB}" \
10606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10607 pdf) \
10608 || exit 1
10610 @endif gcc
10612 .PHONY: maybe-html-gcc html-gcc
10613 maybe-html-gcc:
10614 @if gcc
10615 maybe-html-gcc: html-gcc
10617 html-gcc: \
10618 configure-gcc
10619 @[ -f ./gcc/Makefile ] || exit 0; \
10620 r=`${PWD_COMMAND}`; export r; \
10621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10622 $(HOST_EXPORTS) \
10623 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10625 done; \
10626 echo "Doing html in gcc" ; \
10627 (cd $(HOST_SUBDIR)/gcc && \
10628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10630 "RANLIB=$${RANLIB}" \
10631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10632 html) \
10633 || exit 1
10635 @endif gcc
10637 .PHONY: maybe-TAGS-gcc TAGS-gcc
10638 maybe-TAGS-gcc:
10639 @if gcc
10640 maybe-TAGS-gcc: TAGS-gcc
10642 TAGS-gcc: \
10643 configure-gcc
10644 @[ -f ./gcc/Makefile ] || exit 0; \
10645 r=`${PWD_COMMAND}`; export r; \
10646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10647 $(HOST_EXPORTS) \
10648 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10650 done; \
10651 echo "Doing TAGS in gcc" ; \
10652 (cd $(HOST_SUBDIR)/gcc && \
10653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10655 "RANLIB=$${RANLIB}" \
10656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10657 TAGS) \
10658 || exit 1
10660 @endif gcc
10662 .PHONY: maybe-install-info-gcc install-info-gcc
10663 maybe-install-info-gcc:
10664 @if gcc
10665 maybe-install-info-gcc: install-info-gcc
10667 install-info-gcc: \
10668 configure-gcc \
10669 info-gcc
10670 @[ -f ./gcc/Makefile ] || exit 0; \
10671 r=`${PWD_COMMAND}`; export r; \
10672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10673 $(HOST_EXPORTS) \
10674 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10676 done; \
10677 echo "Doing install-info in gcc" ; \
10678 (cd $(HOST_SUBDIR)/gcc && \
10679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10681 "RANLIB=$${RANLIB}" \
10682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10683 install-info) \
10684 || exit 1
10686 @endif gcc
10688 .PHONY: maybe-install-pdf-gcc install-pdf-gcc
10689 maybe-install-pdf-gcc:
10690 @if gcc
10691 maybe-install-pdf-gcc: install-pdf-gcc
10693 install-pdf-gcc: \
10694 configure-gcc \
10695 pdf-gcc
10696 @[ -f ./gcc/Makefile ] || exit 0; \
10697 r=`${PWD_COMMAND}`; export r; \
10698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10699 $(HOST_EXPORTS) \
10700 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10702 done; \
10703 echo "Doing install-pdf in gcc" ; \
10704 (cd $(HOST_SUBDIR)/gcc && \
10705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10707 "RANLIB=$${RANLIB}" \
10708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10709 install-pdf) \
10710 || exit 1
10712 @endif gcc
10714 .PHONY: maybe-install-html-gcc install-html-gcc
10715 maybe-install-html-gcc:
10716 @if gcc
10717 maybe-install-html-gcc: install-html-gcc
10719 install-html-gcc: \
10720 configure-gcc \
10721 html-gcc
10722 @[ -f ./gcc/Makefile ] || exit 0; \
10723 r=`${PWD_COMMAND}`; export r; \
10724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10725 $(HOST_EXPORTS) \
10726 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10728 done; \
10729 echo "Doing install-html in gcc" ; \
10730 (cd $(HOST_SUBDIR)/gcc && \
10731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10733 "RANLIB=$${RANLIB}" \
10734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10735 install-html) \
10736 || exit 1
10738 @endif gcc
10740 .PHONY: maybe-installcheck-gcc installcheck-gcc
10741 maybe-installcheck-gcc:
10742 @if gcc
10743 maybe-installcheck-gcc: installcheck-gcc
10745 installcheck-gcc: \
10746 configure-gcc
10747 @[ -f ./gcc/Makefile ] || exit 0; \
10748 r=`${PWD_COMMAND}`; export r; \
10749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10750 $(HOST_EXPORTS) \
10751 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10753 done; \
10754 echo "Doing installcheck in gcc" ; \
10755 (cd $(HOST_SUBDIR)/gcc && \
10756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10758 "RANLIB=$${RANLIB}" \
10759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10760 installcheck) \
10761 || exit 1
10763 @endif gcc
10765 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
10766 maybe-mostlyclean-gcc:
10767 @if gcc
10768 maybe-mostlyclean-gcc: mostlyclean-gcc
10770 mostlyclean-gcc:
10771 @[ -f ./gcc/Makefile ] || exit 0; \
10772 r=`${PWD_COMMAND}`; export r; \
10773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10774 $(HOST_EXPORTS) \
10775 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10777 done; \
10778 echo "Doing mostlyclean in gcc" ; \
10779 (cd $(HOST_SUBDIR)/gcc && \
10780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10782 "RANLIB=$${RANLIB}" \
10783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10784 mostlyclean) \
10785 || exit 1
10787 @endif gcc
10789 .PHONY: maybe-clean-gcc clean-gcc
10790 maybe-clean-gcc:
10791 @if gcc
10792 maybe-clean-gcc: clean-gcc
10794 clean-gcc:
10795 @[ -f ./gcc/Makefile ] || exit 0; \
10796 r=`${PWD_COMMAND}`; export r; \
10797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10798 $(HOST_EXPORTS) \
10799 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10801 done; \
10802 echo "Doing clean in gcc" ; \
10803 (cd $(HOST_SUBDIR)/gcc && \
10804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10806 "RANLIB=$${RANLIB}" \
10807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10808 clean) \
10809 || exit 1
10811 @endif gcc
10813 .PHONY: maybe-distclean-gcc distclean-gcc
10814 maybe-distclean-gcc:
10815 @if gcc
10816 maybe-distclean-gcc: distclean-gcc
10818 distclean-gcc:
10819 @[ -f ./gcc/Makefile ] || exit 0; \
10820 r=`${PWD_COMMAND}`; export r; \
10821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10822 $(HOST_EXPORTS) \
10823 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10825 done; \
10826 echo "Doing distclean in gcc" ; \
10827 (cd $(HOST_SUBDIR)/gcc && \
10828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10830 "RANLIB=$${RANLIB}" \
10831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10832 distclean) \
10833 || exit 1
10835 @endif gcc
10837 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
10838 maybe-maintainer-clean-gcc:
10839 @if gcc
10840 maybe-maintainer-clean-gcc: maintainer-clean-gcc
10842 maintainer-clean-gcc:
10843 @[ -f ./gcc/Makefile ] || exit 0; \
10844 r=`${PWD_COMMAND}`; export r; \
10845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10846 $(HOST_EXPORTS) \
10847 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10849 done; \
10850 echo "Doing maintainer-clean in gcc" ; \
10851 (cd $(HOST_SUBDIR)/gcc && \
10852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10854 "RANLIB=$${RANLIB}" \
10855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10856 maintainer-clean) \
10857 || exit 1
10859 @endif gcc
10863 .PHONY: configure-gmp maybe-configure-gmp
10864 maybe-configure-gmp:
10865 @if gcc-bootstrap
10866 configure-gmp: stage_current
10867 @endif gcc-bootstrap
10868 @if gmp
10869 maybe-configure-gmp: configure-gmp
10870 configure-gmp:
10871 @r=`${PWD_COMMAND}`; export r; \
10872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10873 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10874 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10875 $(HOST_EXPORTS) \
10876 echo Configuring in $(HOST_SUBDIR)/gmp; \
10877 cd "$(HOST_SUBDIR)/gmp" || exit 1; \
10878 case $(srcdir) in \
10879 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10880 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10881 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10882 esac; \
10883 srcdiroption="--srcdir=$${topdir}/gmp"; \
10884 libsrcdir="$$s/gmp"; \
10885 $(SHELL) $${libsrcdir}/configure \
10886 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10887 --target=none-${host_vendor}-${host_os} $${srcdiroption} --disable-shared \
10888 || exit 1
10889 @endif gmp
10893 .PHONY: configure-stage1-gmp maybe-configure-stage1-gmp
10894 maybe-configure-stage1-gmp:
10895 @if gmp-bootstrap
10896 maybe-configure-stage1-gmp: configure-stage1-gmp
10897 configure-stage1-gmp:
10898 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10899 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10900 @r=`${PWD_COMMAND}`; export r; \
10901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10902 TFLAGS="$(STAGE1_TFLAGS)"; \
10903 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10904 $(HOST_EXPORTS) \
10905 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
10906 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
10907 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
10908 echo Configuring stage 1 in $(HOST_SUBDIR)/gmp ; \
10909 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10910 cd $(HOST_SUBDIR)/gmp || exit 1; \
10911 case $(srcdir) in \
10912 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10913 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10914 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10915 esac; \
10916 srcdiroption="--srcdir=$${topdir}/gmp"; \
10917 libsrcdir="$$s/gmp"; \
10918 $(SHELL) $${libsrcdir}/configure \
10919 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10920 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10921 $(STAGE1_CONFIGURE_FLAGS) \
10922 --disable-shared
10923 @endif gmp-bootstrap
10925 .PHONY: configure-stage2-gmp maybe-configure-stage2-gmp
10926 maybe-configure-stage2-gmp:
10927 @if gmp-bootstrap
10928 maybe-configure-stage2-gmp: configure-stage2-gmp
10929 configure-stage2-gmp:
10930 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10931 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10932 @r=`${PWD_COMMAND}`; export r; \
10933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10934 TFLAGS="$(STAGE2_TFLAGS)"; \
10935 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10936 $(HOST_EXPORTS) \
10937 $(POSTSTAGE1_HOST_EXPORTS) \
10938 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
10939 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
10940 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
10941 echo Configuring stage 2 in $(HOST_SUBDIR)/gmp ; \
10942 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10943 cd $(HOST_SUBDIR)/gmp || exit 1; \
10944 case $(srcdir) in \
10945 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10946 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10947 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10948 esac; \
10949 srcdiroption="--srcdir=$${topdir}/gmp"; \
10950 libsrcdir="$$s/gmp"; \
10951 $(SHELL) $${libsrcdir}/configure \
10952 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10953 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10954 --with-build-libsubdir=$(HOST_SUBDIR) \
10955 $(STAGE2_CONFIGURE_FLAGS) \
10956 --disable-shared
10957 @endif gmp-bootstrap
10959 .PHONY: configure-stage3-gmp maybe-configure-stage3-gmp
10960 maybe-configure-stage3-gmp:
10961 @if gmp-bootstrap
10962 maybe-configure-stage3-gmp: configure-stage3-gmp
10963 configure-stage3-gmp:
10964 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10965 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
10966 @r=`${PWD_COMMAND}`; export r; \
10967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10968 TFLAGS="$(STAGE3_TFLAGS)"; \
10969 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10970 $(HOST_EXPORTS) \
10971 $(POSTSTAGE1_HOST_EXPORTS) \
10972 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
10973 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
10974 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
10975 echo Configuring stage 3 in $(HOST_SUBDIR)/gmp ; \
10976 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10977 cd $(HOST_SUBDIR)/gmp || exit 1; \
10978 case $(srcdir) in \
10979 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10980 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10981 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10982 esac; \
10983 srcdiroption="--srcdir=$${topdir}/gmp"; \
10984 libsrcdir="$$s/gmp"; \
10985 $(SHELL) $${libsrcdir}/configure \
10986 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10987 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
10988 --with-build-libsubdir=$(HOST_SUBDIR) \
10989 $(STAGE3_CONFIGURE_FLAGS) \
10990 --disable-shared
10991 @endif gmp-bootstrap
10993 .PHONY: configure-stage4-gmp maybe-configure-stage4-gmp
10994 maybe-configure-stage4-gmp:
10995 @if gmp-bootstrap
10996 maybe-configure-stage4-gmp: configure-stage4-gmp
10997 configure-stage4-gmp:
10998 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10999 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
11000 @r=`${PWD_COMMAND}`; export r; \
11001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11002 TFLAGS="$(STAGE4_TFLAGS)"; \
11003 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
11004 $(HOST_EXPORTS) \
11005 $(POSTSTAGE1_HOST_EXPORTS) \
11006 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
11007 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
11008 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
11009 echo Configuring stage 4 in $(HOST_SUBDIR)/gmp ; \
11010 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
11011 cd $(HOST_SUBDIR)/gmp || exit 1; \
11012 case $(srcdir) in \
11013 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11014 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
11015 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11016 esac; \
11017 srcdiroption="--srcdir=$${topdir}/gmp"; \
11018 libsrcdir="$$s/gmp"; \
11019 $(SHELL) $${libsrcdir}/configure \
11020 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
11021 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
11022 --with-build-libsubdir=$(HOST_SUBDIR) \
11023 $(STAGE4_CONFIGURE_FLAGS) \
11024 --disable-shared
11025 @endif gmp-bootstrap
11027 .PHONY: configure-stageprofile-gmp maybe-configure-stageprofile-gmp
11028 maybe-configure-stageprofile-gmp:
11029 @if gmp-bootstrap
11030 maybe-configure-stageprofile-gmp: configure-stageprofile-gmp
11031 configure-stageprofile-gmp:
11032 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11033 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
11034 @r=`${PWD_COMMAND}`; export r; \
11035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11036 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11037 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
11038 $(HOST_EXPORTS) \
11039 $(POSTSTAGE1_HOST_EXPORTS) \
11040 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
11041 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
11042 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
11043 echo Configuring stage profile in $(HOST_SUBDIR)/gmp ; \
11044 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
11045 cd $(HOST_SUBDIR)/gmp || exit 1; \
11046 case $(srcdir) in \
11047 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11048 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
11049 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11050 esac; \
11051 srcdiroption="--srcdir=$${topdir}/gmp"; \
11052 libsrcdir="$$s/gmp"; \
11053 $(SHELL) $${libsrcdir}/configure \
11054 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
11055 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
11056 --with-build-libsubdir=$(HOST_SUBDIR) \
11057 $(STAGEprofile_CONFIGURE_FLAGS) \
11058 --disable-shared
11059 @endif gmp-bootstrap
11061 .PHONY: configure-stagefeedback-gmp maybe-configure-stagefeedback-gmp
11062 maybe-configure-stagefeedback-gmp:
11063 @if gmp-bootstrap
11064 maybe-configure-stagefeedback-gmp: configure-stagefeedback-gmp
11065 configure-stagefeedback-gmp:
11066 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11067 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
11068 @r=`${PWD_COMMAND}`; export r; \
11069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11070 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11071 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
11072 $(HOST_EXPORTS) \
11073 $(POSTSTAGE1_HOST_EXPORTS) \
11074 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
11075 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
11076 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
11077 echo Configuring stage feedback in $(HOST_SUBDIR)/gmp ; \
11078 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
11079 cd $(HOST_SUBDIR)/gmp || exit 1; \
11080 case $(srcdir) in \
11081 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11082 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
11083 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11084 esac; \
11085 srcdiroption="--srcdir=$${topdir}/gmp"; \
11086 libsrcdir="$$s/gmp"; \
11087 $(SHELL) $${libsrcdir}/configure \
11088 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
11089 --target=none-${host_vendor}-${host_os} $${srcdiroption} \
11090 --with-build-libsubdir=$(HOST_SUBDIR) \
11091 $(STAGEfeedback_CONFIGURE_FLAGS) \
11092 --disable-shared
11093 @endif gmp-bootstrap
11099 .PHONY: all-gmp maybe-all-gmp
11100 maybe-all-gmp:
11101 @if gcc-bootstrap
11102 all-gmp: stage_current
11103 @endif gcc-bootstrap
11104 @if gmp
11105 TARGET-gmp=all
11106 maybe-all-gmp: all-gmp
11107 all-gmp: configure-gmp
11108 @r=`${PWD_COMMAND}`; export r; \
11109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11110 $(HOST_EXPORTS) \
11111 (cd $(HOST_SUBDIR)/gmp && \
11112 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
11113 $(TARGET-gmp))
11114 @endif gmp
11118 .PHONY: all-stage1-gmp maybe-all-stage1-gmp
11119 .PHONY: clean-stage1-gmp maybe-clean-stage1-gmp
11120 maybe-all-stage1-gmp:
11121 maybe-clean-stage1-gmp:
11122 @if gmp-bootstrap
11123 maybe-all-stage1-gmp: all-stage1-gmp
11124 all-stage1: all-stage1-gmp
11125 TARGET-stage1-gmp = $(TARGET-gmp)
11126 all-stage1-gmp: configure-stage1-gmp
11127 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11128 @r=`${PWD_COMMAND}`; export r; \
11129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11130 TFLAGS="$(STAGE1_TFLAGS)"; \
11131 $(HOST_EXPORTS) \
11132 cd $(HOST_SUBDIR)/gmp && \
11133 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11134 CFLAGS="$(STAGE1_CFLAGS)" \
11135 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
11136 LIBCFLAGS="$(LIBCFLAGS)" \
11137 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11138 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11139 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11140 $(EXTRA_HOST_FLAGS) \
11141 $(STAGE1_FLAGS_TO_PASS) \
11142 TFLAGS="$(STAGE1_TFLAGS)" \
11143 $(TARGET-stage1-gmp)
11145 maybe-clean-stage1-gmp: clean-stage1-gmp
11146 clean-stage1: clean-stage1-gmp
11147 clean-stage1-gmp:
11148 @if [ $(current_stage) = stage1 ]; then \
11149 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
11150 else \
11151 [ -f $(HOST_SUBDIR)/stage1-gmp/Makefile ] || exit 0; \
11152 $(MAKE) stage1-start; \
11153 fi; \
11154 cd $(HOST_SUBDIR)/gmp && \
11155 $(MAKE) $(EXTRA_HOST_FLAGS) \
11156 $(STAGE1_FLAGS_TO_PASS) clean
11157 @endif gmp-bootstrap
11160 .PHONY: all-stage2-gmp maybe-all-stage2-gmp
11161 .PHONY: clean-stage2-gmp maybe-clean-stage2-gmp
11162 maybe-all-stage2-gmp:
11163 maybe-clean-stage2-gmp:
11164 @if gmp-bootstrap
11165 maybe-all-stage2-gmp: all-stage2-gmp
11166 all-stage2: all-stage2-gmp
11167 TARGET-stage2-gmp = $(TARGET-gmp)
11168 all-stage2-gmp: configure-stage2-gmp
11169 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11170 @r=`${PWD_COMMAND}`; export r; \
11171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11172 TFLAGS="$(STAGE2_TFLAGS)"; \
11173 $(HOST_EXPORTS) \
11174 $(POSTSTAGE1_HOST_EXPORTS) \
11175 cd $(HOST_SUBDIR)/gmp && \
11176 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11177 CFLAGS="$(STAGE2_CFLAGS)" \
11178 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
11179 LIBCFLAGS="$(STAGE2_CFLAGS)" \
11180 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11181 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11182 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11183 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11184 TFLAGS="$(STAGE2_TFLAGS)" \
11185 $(TARGET-stage2-gmp)
11187 maybe-clean-stage2-gmp: clean-stage2-gmp
11188 clean-stage2: clean-stage2-gmp
11189 clean-stage2-gmp:
11190 @if [ $(current_stage) = stage2 ]; then \
11191 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
11192 else \
11193 [ -f $(HOST_SUBDIR)/stage2-gmp/Makefile ] || exit 0; \
11194 $(MAKE) stage2-start; \
11195 fi; \
11196 cd $(HOST_SUBDIR)/gmp && \
11197 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11198 @endif gmp-bootstrap
11201 .PHONY: all-stage3-gmp maybe-all-stage3-gmp
11202 .PHONY: clean-stage3-gmp maybe-clean-stage3-gmp
11203 maybe-all-stage3-gmp:
11204 maybe-clean-stage3-gmp:
11205 @if gmp-bootstrap
11206 maybe-all-stage3-gmp: all-stage3-gmp
11207 all-stage3: all-stage3-gmp
11208 TARGET-stage3-gmp = $(TARGET-gmp)
11209 all-stage3-gmp: configure-stage3-gmp
11210 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11211 @r=`${PWD_COMMAND}`; export r; \
11212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11213 TFLAGS="$(STAGE3_TFLAGS)"; \
11214 $(HOST_EXPORTS) \
11215 $(POSTSTAGE1_HOST_EXPORTS) \
11216 cd $(HOST_SUBDIR)/gmp && \
11217 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11218 CFLAGS="$(STAGE3_CFLAGS)" \
11219 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
11220 LIBCFLAGS="$(STAGE3_CFLAGS)" \
11221 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11222 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11223 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11224 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11225 TFLAGS="$(STAGE3_TFLAGS)" \
11226 $(TARGET-stage3-gmp)
11228 maybe-clean-stage3-gmp: clean-stage3-gmp
11229 clean-stage3: clean-stage3-gmp
11230 clean-stage3-gmp:
11231 @if [ $(current_stage) = stage3 ]; then \
11232 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
11233 else \
11234 [ -f $(HOST_SUBDIR)/stage3-gmp/Makefile ] || exit 0; \
11235 $(MAKE) stage3-start; \
11236 fi; \
11237 cd $(HOST_SUBDIR)/gmp && \
11238 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11239 @endif gmp-bootstrap
11242 .PHONY: all-stage4-gmp maybe-all-stage4-gmp
11243 .PHONY: clean-stage4-gmp maybe-clean-stage4-gmp
11244 maybe-all-stage4-gmp:
11245 maybe-clean-stage4-gmp:
11246 @if gmp-bootstrap
11247 maybe-all-stage4-gmp: all-stage4-gmp
11248 all-stage4: all-stage4-gmp
11249 TARGET-stage4-gmp = $(TARGET-gmp)
11250 all-stage4-gmp: configure-stage4-gmp
11251 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11252 @r=`${PWD_COMMAND}`; export r; \
11253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11254 TFLAGS="$(STAGE4_TFLAGS)"; \
11255 $(HOST_EXPORTS) \
11256 $(POSTSTAGE1_HOST_EXPORTS) \
11257 cd $(HOST_SUBDIR)/gmp && \
11258 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11259 CFLAGS="$(STAGE4_CFLAGS)" \
11260 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
11261 LIBCFLAGS="$(STAGE4_CFLAGS)" \
11262 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11263 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11264 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11265 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11266 TFLAGS="$(STAGE4_TFLAGS)" \
11267 $(TARGET-stage4-gmp)
11269 maybe-clean-stage4-gmp: clean-stage4-gmp
11270 clean-stage4: clean-stage4-gmp
11271 clean-stage4-gmp:
11272 @if [ $(current_stage) = stage4 ]; then \
11273 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
11274 else \
11275 [ -f $(HOST_SUBDIR)/stage4-gmp/Makefile ] || exit 0; \
11276 $(MAKE) stage4-start; \
11277 fi; \
11278 cd $(HOST_SUBDIR)/gmp && \
11279 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11280 @endif gmp-bootstrap
11283 .PHONY: all-stageprofile-gmp maybe-all-stageprofile-gmp
11284 .PHONY: clean-stageprofile-gmp maybe-clean-stageprofile-gmp
11285 maybe-all-stageprofile-gmp:
11286 maybe-clean-stageprofile-gmp:
11287 @if gmp-bootstrap
11288 maybe-all-stageprofile-gmp: all-stageprofile-gmp
11289 all-stageprofile: all-stageprofile-gmp
11290 TARGET-stageprofile-gmp = $(TARGET-gmp)
11291 all-stageprofile-gmp: configure-stageprofile-gmp
11292 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11293 @r=`${PWD_COMMAND}`; export r; \
11294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11295 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11296 $(HOST_EXPORTS) \
11297 $(POSTSTAGE1_HOST_EXPORTS) \
11298 cd $(HOST_SUBDIR)/gmp && \
11299 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11300 CFLAGS="$(STAGEprofile_CFLAGS)" \
11301 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
11302 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
11303 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11304 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11305 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11306 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11307 TFLAGS="$(STAGEprofile_TFLAGS)" \
11308 $(TARGET-stageprofile-gmp)
11310 maybe-clean-stageprofile-gmp: clean-stageprofile-gmp
11311 clean-stageprofile: clean-stageprofile-gmp
11312 clean-stageprofile-gmp:
11313 @if [ $(current_stage) = stageprofile ]; then \
11314 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
11315 else \
11316 [ -f $(HOST_SUBDIR)/stageprofile-gmp/Makefile ] || exit 0; \
11317 $(MAKE) stageprofile-start; \
11318 fi; \
11319 cd $(HOST_SUBDIR)/gmp && \
11320 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11321 @endif gmp-bootstrap
11324 .PHONY: all-stagefeedback-gmp maybe-all-stagefeedback-gmp
11325 .PHONY: clean-stagefeedback-gmp maybe-clean-stagefeedback-gmp
11326 maybe-all-stagefeedback-gmp:
11327 maybe-clean-stagefeedback-gmp:
11328 @if gmp-bootstrap
11329 maybe-all-stagefeedback-gmp: all-stagefeedback-gmp
11330 all-stagefeedback: all-stagefeedback-gmp
11331 TARGET-stagefeedback-gmp = $(TARGET-gmp)
11332 all-stagefeedback-gmp: configure-stagefeedback-gmp
11333 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11334 @r=`${PWD_COMMAND}`; export r; \
11335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11336 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11337 $(HOST_EXPORTS) \
11338 $(POSTSTAGE1_HOST_EXPORTS) \
11339 cd $(HOST_SUBDIR)/gmp && \
11340 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11341 CFLAGS="$(STAGEfeedback_CFLAGS)" \
11342 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
11343 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
11344 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11345 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11346 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11347 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11348 TFLAGS="$(STAGEfeedback_TFLAGS)" \
11349 $(TARGET-stagefeedback-gmp)
11351 maybe-clean-stagefeedback-gmp: clean-stagefeedback-gmp
11352 clean-stagefeedback: clean-stagefeedback-gmp
11353 clean-stagefeedback-gmp:
11354 @if [ $(current_stage) = stagefeedback ]; then \
11355 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
11356 else \
11357 [ -f $(HOST_SUBDIR)/stagefeedback-gmp/Makefile ] || exit 0; \
11358 $(MAKE) stagefeedback-start; \
11359 fi; \
11360 cd $(HOST_SUBDIR)/gmp && \
11361 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11362 @endif gmp-bootstrap
11368 .PHONY: check-gmp maybe-check-gmp
11369 maybe-check-gmp:
11370 @if gmp
11371 maybe-check-gmp: check-gmp
11373 check-gmp:
11374 @: $(MAKE); $(unstage)
11375 @r=`${PWD_COMMAND}`; export r; \
11376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11377 $(HOST_EXPORTS) \
11378 (cd $(HOST_SUBDIR)/gmp && \
11379 $(MAKE) $(FLAGS_TO_PASS) check)
11381 @endif gmp
11383 .PHONY: install-gmp maybe-install-gmp
11384 maybe-install-gmp:
11385 @if gmp
11386 maybe-install-gmp: install-gmp
11388 install-gmp:
11390 @endif gmp
11392 .PHONY: install-strip-gmp maybe-install-strip-gmp
11393 maybe-install-strip-gmp:
11394 @if gmp
11395 maybe-install-strip-gmp: install-strip-gmp
11397 install-strip-gmp:
11399 @endif gmp
11401 # Other targets (info, dvi, pdf, etc.)
11403 .PHONY: maybe-info-gmp info-gmp
11404 maybe-info-gmp:
11405 @if gmp
11406 maybe-info-gmp: info-gmp
11408 info-gmp: \
11409 configure-gmp
11410 @[ -f ./gmp/Makefile ] || exit 0; \
11411 r=`${PWD_COMMAND}`; export r; \
11412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11413 $(HOST_EXPORTS) \
11414 for flag in $(EXTRA_HOST_FLAGS) ; do \
11415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11416 done; \
11417 echo "Doing info in gmp" ; \
11418 (cd $(HOST_SUBDIR)/gmp && \
11419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11421 "RANLIB=$${RANLIB}" \
11422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11423 info) \
11424 || exit 1
11426 @endif gmp
11428 .PHONY: maybe-dvi-gmp dvi-gmp
11429 maybe-dvi-gmp:
11430 @if gmp
11431 maybe-dvi-gmp: dvi-gmp
11433 dvi-gmp: \
11434 configure-gmp
11435 @[ -f ./gmp/Makefile ] || exit 0; \
11436 r=`${PWD_COMMAND}`; export r; \
11437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11438 $(HOST_EXPORTS) \
11439 for flag in $(EXTRA_HOST_FLAGS) ; do \
11440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11441 done; \
11442 echo "Doing dvi in gmp" ; \
11443 (cd $(HOST_SUBDIR)/gmp && \
11444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11446 "RANLIB=$${RANLIB}" \
11447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11448 dvi) \
11449 || exit 1
11451 @endif gmp
11453 .PHONY: maybe-pdf-gmp pdf-gmp
11454 maybe-pdf-gmp:
11455 @if gmp
11456 maybe-pdf-gmp: pdf-gmp
11458 pdf-gmp: \
11459 configure-gmp
11460 @[ -f ./gmp/Makefile ] || exit 0; \
11461 r=`${PWD_COMMAND}`; export r; \
11462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11463 $(HOST_EXPORTS) \
11464 for flag in $(EXTRA_HOST_FLAGS) ; do \
11465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11466 done; \
11467 echo "Doing pdf in gmp" ; \
11468 (cd $(HOST_SUBDIR)/gmp && \
11469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11471 "RANLIB=$${RANLIB}" \
11472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11473 pdf) \
11474 || exit 1
11476 @endif gmp
11478 .PHONY: maybe-html-gmp html-gmp
11479 maybe-html-gmp:
11480 @if gmp
11481 maybe-html-gmp: html-gmp
11483 html-gmp: \
11484 configure-gmp
11485 @[ -f ./gmp/Makefile ] || exit 0; \
11486 r=`${PWD_COMMAND}`; export r; \
11487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11488 $(HOST_EXPORTS) \
11489 for flag in $(EXTRA_HOST_FLAGS) ; do \
11490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11491 done; \
11492 echo "Doing html in gmp" ; \
11493 (cd $(HOST_SUBDIR)/gmp && \
11494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11496 "RANLIB=$${RANLIB}" \
11497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11498 html) \
11499 || exit 1
11501 @endif gmp
11503 .PHONY: maybe-TAGS-gmp TAGS-gmp
11504 maybe-TAGS-gmp:
11505 @if gmp
11506 maybe-TAGS-gmp: TAGS-gmp
11508 TAGS-gmp: \
11509 configure-gmp
11510 @[ -f ./gmp/Makefile ] || exit 0; \
11511 r=`${PWD_COMMAND}`; export r; \
11512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11513 $(HOST_EXPORTS) \
11514 for flag in $(EXTRA_HOST_FLAGS) ; do \
11515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11516 done; \
11517 echo "Doing TAGS in gmp" ; \
11518 (cd $(HOST_SUBDIR)/gmp && \
11519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11521 "RANLIB=$${RANLIB}" \
11522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11523 TAGS) \
11524 || exit 1
11526 @endif gmp
11528 .PHONY: maybe-install-info-gmp install-info-gmp
11529 maybe-install-info-gmp:
11530 @if gmp
11531 maybe-install-info-gmp: install-info-gmp
11533 install-info-gmp: \
11534 configure-gmp \
11535 info-gmp
11536 @[ -f ./gmp/Makefile ] || exit 0; \
11537 r=`${PWD_COMMAND}`; export r; \
11538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11539 $(HOST_EXPORTS) \
11540 for flag in $(EXTRA_HOST_FLAGS) ; do \
11541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11542 done; \
11543 echo "Doing install-info in gmp" ; \
11544 (cd $(HOST_SUBDIR)/gmp && \
11545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11547 "RANLIB=$${RANLIB}" \
11548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11549 install-info) \
11550 || exit 1
11552 @endif gmp
11554 .PHONY: maybe-install-pdf-gmp install-pdf-gmp
11555 maybe-install-pdf-gmp:
11556 @if gmp
11557 maybe-install-pdf-gmp: install-pdf-gmp
11559 install-pdf-gmp: \
11560 configure-gmp \
11561 pdf-gmp
11562 @[ -f ./gmp/Makefile ] || exit 0; \
11563 r=`${PWD_COMMAND}`; export r; \
11564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11565 $(HOST_EXPORTS) \
11566 for flag in $(EXTRA_HOST_FLAGS) ; do \
11567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11568 done; \
11569 echo "Doing install-pdf in gmp" ; \
11570 (cd $(HOST_SUBDIR)/gmp && \
11571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11573 "RANLIB=$${RANLIB}" \
11574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11575 install-pdf) \
11576 || exit 1
11578 @endif gmp
11580 .PHONY: maybe-install-html-gmp install-html-gmp
11581 maybe-install-html-gmp:
11582 @if gmp
11583 maybe-install-html-gmp: install-html-gmp
11585 install-html-gmp: \
11586 configure-gmp \
11587 html-gmp
11588 @[ -f ./gmp/Makefile ] || exit 0; \
11589 r=`${PWD_COMMAND}`; export r; \
11590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11591 $(HOST_EXPORTS) \
11592 for flag in $(EXTRA_HOST_FLAGS) ; do \
11593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11594 done; \
11595 echo "Doing install-html in gmp" ; \
11596 (cd $(HOST_SUBDIR)/gmp && \
11597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11599 "RANLIB=$${RANLIB}" \
11600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11601 install-html) \
11602 || exit 1
11604 @endif gmp
11606 .PHONY: maybe-installcheck-gmp installcheck-gmp
11607 maybe-installcheck-gmp:
11608 @if gmp
11609 maybe-installcheck-gmp: installcheck-gmp
11611 installcheck-gmp: \
11612 configure-gmp
11613 @[ -f ./gmp/Makefile ] || exit 0; \
11614 r=`${PWD_COMMAND}`; export r; \
11615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11616 $(HOST_EXPORTS) \
11617 for flag in $(EXTRA_HOST_FLAGS) ; do \
11618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11619 done; \
11620 echo "Doing installcheck in gmp" ; \
11621 (cd $(HOST_SUBDIR)/gmp && \
11622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11624 "RANLIB=$${RANLIB}" \
11625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11626 installcheck) \
11627 || exit 1
11629 @endif gmp
11631 .PHONY: maybe-mostlyclean-gmp mostlyclean-gmp
11632 maybe-mostlyclean-gmp:
11633 @if gmp
11634 maybe-mostlyclean-gmp: mostlyclean-gmp
11636 mostlyclean-gmp:
11637 @[ -f ./gmp/Makefile ] || exit 0; \
11638 r=`${PWD_COMMAND}`; export r; \
11639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11640 $(HOST_EXPORTS) \
11641 for flag in $(EXTRA_HOST_FLAGS) ; do \
11642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11643 done; \
11644 echo "Doing mostlyclean in gmp" ; \
11645 (cd $(HOST_SUBDIR)/gmp && \
11646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11648 "RANLIB=$${RANLIB}" \
11649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11650 mostlyclean) \
11651 || exit 1
11653 @endif gmp
11655 .PHONY: maybe-clean-gmp clean-gmp
11656 maybe-clean-gmp:
11657 @if gmp
11658 maybe-clean-gmp: clean-gmp
11660 clean-gmp:
11661 @[ -f ./gmp/Makefile ] || exit 0; \
11662 r=`${PWD_COMMAND}`; export r; \
11663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11664 $(HOST_EXPORTS) \
11665 for flag in $(EXTRA_HOST_FLAGS) ; do \
11666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11667 done; \
11668 echo "Doing clean in gmp" ; \
11669 (cd $(HOST_SUBDIR)/gmp && \
11670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11672 "RANLIB=$${RANLIB}" \
11673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11674 clean) \
11675 || exit 1
11677 @endif gmp
11679 .PHONY: maybe-distclean-gmp distclean-gmp
11680 maybe-distclean-gmp:
11681 @if gmp
11682 maybe-distclean-gmp: distclean-gmp
11684 distclean-gmp:
11685 @[ -f ./gmp/Makefile ] || exit 0; \
11686 r=`${PWD_COMMAND}`; export r; \
11687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11688 $(HOST_EXPORTS) \
11689 for flag in $(EXTRA_HOST_FLAGS) ; do \
11690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11691 done; \
11692 echo "Doing distclean in gmp" ; \
11693 (cd $(HOST_SUBDIR)/gmp && \
11694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11696 "RANLIB=$${RANLIB}" \
11697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11698 distclean) \
11699 || exit 1
11701 @endif gmp
11703 .PHONY: maybe-maintainer-clean-gmp maintainer-clean-gmp
11704 maybe-maintainer-clean-gmp:
11705 @if gmp
11706 maybe-maintainer-clean-gmp: maintainer-clean-gmp
11708 maintainer-clean-gmp:
11709 @[ -f ./gmp/Makefile ] || exit 0; \
11710 r=`${PWD_COMMAND}`; export r; \
11711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11712 $(HOST_EXPORTS) \
11713 for flag in $(EXTRA_HOST_FLAGS) ; do \
11714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11715 done; \
11716 echo "Doing maintainer-clean in gmp" ; \
11717 (cd $(HOST_SUBDIR)/gmp && \
11718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11720 "RANLIB=$${RANLIB}" \
11721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11722 maintainer-clean) \
11723 || exit 1
11725 @endif gmp
11729 .PHONY: configure-mpfr maybe-configure-mpfr
11730 maybe-configure-mpfr:
11731 @if gcc-bootstrap
11732 configure-mpfr: stage_current
11733 @endif gcc-bootstrap
11734 @if mpfr
11735 maybe-configure-mpfr: configure-mpfr
11736 configure-mpfr:
11737 @r=`${PWD_COMMAND}`; export r; \
11738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11739 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11740 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11741 $(HOST_EXPORTS) \
11742 echo Configuring in $(HOST_SUBDIR)/mpfr; \
11743 cd "$(HOST_SUBDIR)/mpfr" || exit 1; \
11744 case $(srcdir) in \
11745 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11746 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11747 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11748 esac; \
11749 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11750 libsrcdir="$$s/mpfr"; \
11751 $(SHELL) $${libsrcdir}/configure \
11752 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11753 --target=${target_alias} $${srcdiroption} --disable-shared @extra_mpfr_configure_flags@ \
11754 || exit 1
11755 @endif mpfr
11759 .PHONY: configure-stage1-mpfr maybe-configure-stage1-mpfr
11760 maybe-configure-stage1-mpfr:
11761 @if mpfr-bootstrap
11762 maybe-configure-stage1-mpfr: configure-stage1-mpfr
11763 configure-stage1-mpfr:
11764 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11765 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11766 @r=`${PWD_COMMAND}`; export r; \
11767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11768 TFLAGS="$(STAGE1_TFLAGS)"; \
11769 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11770 $(HOST_EXPORTS) \
11771 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
11772 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
11773 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
11774 echo Configuring stage 1 in $(HOST_SUBDIR)/mpfr ; \
11775 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11776 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11777 case $(srcdir) in \
11778 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11779 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11780 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11781 esac; \
11782 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11783 libsrcdir="$$s/mpfr"; \
11784 $(SHELL) $${libsrcdir}/configure \
11785 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11786 --target=${target_alias} $${srcdiroption} \
11787 $(STAGE1_CONFIGURE_FLAGS) \
11788 --disable-shared @extra_mpfr_configure_flags@
11789 @endif mpfr-bootstrap
11791 .PHONY: configure-stage2-mpfr maybe-configure-stage2-mpfr
11792 maybe-configure-stage2-mpfr:
11793 @if mpfr-bootstrap
11794 maybe-configure-stage2-mpfr: configure-stage2-mpfr
11795 configure-stage2-mpfr:
11796 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11797 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11798 @r=`${PWD_COMMAND}`; export r; \
11799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11800 TFLAGS="$(STAGE2_TFLAGS)"; \
11801 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11802 $(HOST_EXPORTS) \
11803 $(POSTSTAGE1_HOST_EXPORTS) \
11804 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
11805 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
11806 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
11807 echo Configuring stage 2 in $(HOST_SUBDIR)/mpfr ; \
11808 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11809 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11810 case $(srcdir) in \
11811 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11812 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11813 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11814 esac; \
11815 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11816 libsrcdir="$$s/mpfr"; \
11817 $(SHELL) $${libsrcdir}/configure \
11818 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11819 --target=${target_alias} $${srcdiroption} \
11820 --with-build-libsubdir=$(HOST_SUBDIR) \
11821 $(STAGE2_CONFIGURE_FLAGS) \
11822 --disable-shared @extra_mpfr_configure_flags@
11823 @endif mpfr-bootstrap
11825 .PHONY: configure-stage3-mpfr maybe-configure-stage3-mpfr
11826 maybe-configure-stage3-mpfr:
11827 @if mpfr-bootstrap
11828 maybe-configure-stage3-mpfr: configure-stage3-mpfr
11829 configure-stage3-mpfr:
11830 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11831 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11832 @r=`${PWD_COMMAND}`; export r; \
11833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11834 TFLAGS="$(STAGE3_TFLAGS)"; \
11835 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11836 $(HOST_EXPORTS) \
11837 $(POSTSTAGE1_HOST_EXPORTS) \
11838 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
11839 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
11840 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
11841 echo Configuring stage 3 in $(HOST_SUBDIR)/mpfr ; \
11842 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11843 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11844 case $(srcdir) in \
11845 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11846 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11847 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11848 esac; \
11849 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11850 libsrcdir="$$s/mpfr"; \
11851 $(SHELL) $${libsrcdir}/configure \
11852 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11853 --target=${target_alias} $${srcdiroption} \
11854 --with-build-libsubdir=$(HOST_SUBDIR) \
11855 $(STAGE3_CONFIGURE_FLAGS) \
11856 --disable-shared @extra_mpfr_configure_flags@
11857 @endif mpfr-bootstrap
11859 .PHONY: configure-stage4-mpfr maybe-configure-stage4-mpfr
11860 maybe-configure-stage4-mpfr:
11861 @if mpfr-bootstrap
11862 maybe-configure-stage4-mpfr: configure-stage4-mpfr
11863 configure-stage4-mpfr:
11864 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11865 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11866 @r=`${PWD_COMMAND}`; export r; \
11867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11868 TFLAGS="$(STAGE4_TFLAGS)"; \
11869 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11870 $(HOST_EXPORTS) \
11871 $(POSTSTAGE1_HOST_EXPORTS) \
11872 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
11873 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
11874 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
11875 echo Configuring stage 4 in $(HOST_SUBDIR)/mpfr ; \
11876 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11877 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11878 case $(srcdir) in \
11879 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11880 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11881 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11882 esac; \
11883 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11884 libsrcdir="$$s/mpfr"; \
11885 $(SHELL) $${libsrcdir}/configure \
11886 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11887 --target=${target_alias} $${srcdiroption} \
11888 --with-build-libsubdir=$(HOST_SUBDIR) \
11889 $(STAGE4_CONFIGURE_FLAGS) \
11890 --disable-shared @extra_mpfr_configure_flags@
11891 @endif mpfr-bootstrap
11893 .PHONY: configure-stageprofile-mpfr maybe-configure-stageprofile-mpfr
11894 maybe-configure-stageprofile-mpfr:
11895 @if mpfr-bootstrap
11896 maybe-configure-stageprofile-mpfr: configure-stageprofile-mpfr
11897 configure-stageprofile-mpfr:
11898 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11899 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11900 @r=`${PWD_COMMAND}`; export r; \
11901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11902 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11903 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11904 $(HOST_EXPORTS) \
11905 $(POSTSTAGE1_HOST_EXPORTS) \
11906 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
11907 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
11908 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
11909 echo Configuring stage profile in $(HOST_SUBDIR)/mpfr ; \
11910 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11911 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11912 case $(srcdir) in \
11913 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11914 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11915 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11916 esac; \
11917 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11918 libsrcdir="$$s/mpfr"; \
11919 $(SHELL) $${libsrcdir}/configure \
11920 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11921 --target=${target_alias} $${srcdiroption} \
11922 --with-build-libsubdir=$(HOST_SUBDIR) \
11923 $(STAGEprofile_CONFIGURE_FLAGS) \
11924 --disable-shared @extra_mpfr_configure_flags@
11925 @endif mpfr-bootstrap
11927 .PHONY: configure-stagefeedback-mpfr maybe-configure-stagefeedback-mpfr
11928 maybe-configure-stagefeedback-mpfr:
11929 @if mpfr-bootstrap
11930 maybe-configure-stagefeedback-mpfr: configure-stagefeedback-mpfr
11931 configure-stagefeedback-mpfr:
11932 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11933 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11934 @r=`${PWD_COMMAND}`; export r; \
11935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11936 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11937 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11938 $(HOST_EXPORTS) \
11939 $(POSTSTAGE1_HOST_EXPORTS) \
11940 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
11941 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
11942 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
11943 echo Configuring stage feedback in $(HOST_SUBDIR)/mpfr ; \
11944 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11945 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11946 case $(srcdir) in \
11947 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11948 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11949 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11950 esac; \
11951 srcdiroption="--srcdir=$${topdir}/mpfr"; \
11952 libsrcdir="$$s/mpfr"; \
11953 $(SHELL) $${libsrcdir}/configure \
11954 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11955 --target=${target_alias} $${srcdiroption} \
11956 --with-build-libsubdir=$(HOST_SUBDIR) \
11957 $(STAGEfeedback_CONFIGURE_FLAGS) \
11958 --disable-shared @extra_mpfr_configure_flags@
11959 @endif mpfr-bootstrap
11965 .PHONY: all-mpfr maybe-all-mpfr
11966 maybe-all-mpfr:
11967 @if gcc-bootstrap
11968 all-mpfr: stage_current
11969 @endif gcc-bootstrap
11970 @if mpfr
11971 TARGET-mpfr=all
11972 maybe-all-mpfr: all-mpfr
11973 all-mpfr: configure-mpfr
11974 @r=`${PWD_COMMAND}`; export r; \
11975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11976 $(HOST_EXPORTS) \
11977 (cd $(HOST_SUBDIR)/mpfr && \
11978 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
11979 $(TARGET-mpfr))
11980 @endif mpfr
11984 .PHONY: all-stage1-mpfr maybe-all-stage1-mpfr
11985 .PHONY: clean-stage1-mpfr maybe-clean-stage1-mpfr
11986 maybe-all-stage1-mpfr:
11987 maybe-clean-stage1-mpfr:
11988 @if mpfr-bootstrap
11989 maybe-all-stage1-mpfr: all-stage1-mpfr
11990 all-stage1: all-stage1-mpfr
11991 TARGET-stage1-mpfr = $(TARGET-mpfr)
11992 all-stage1-mpfr: configure-stage1-mpfr
11993 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11994 @r=`${PWD_COMMAND}`; export r; \
11995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11996 TFLAGS="$(STAGE1_TFLAGS)"; \
11997 $(HOST_EXPORTS) \
11998 cd $(HOST_SUBDIR)/mpfr && \
11999 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12000 CFLAGS="$(STAGE1_CFLAGS)" \
12001 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
12002 LIBCFLAGS="$(LIBCFLAGS)" \
12003 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12004 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12005 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12006 $(EXTRA_HOST_FLAGS) \
12007 $(STAGE1_FLAGS_TO_PASS) \
12008 TFLAGS="$(STAGE1_TFLAGS)" \
12009 $(TARGET-stage1-mpfr)
12011 maybe-clean-stage1-mpfr: clean-stage1-mpfr
12012 clean-stage1: clean-stage1-mpfr
12013 clean-stage1-mpfr:
12014 @if [ $(current_stage) = stage1 ]; then \
12015 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
12016 else \
12017 [ -f $(HOST_SUBDIR)/stage1-mpfr/Makefile ] || exit 0; \
12018 $(MAKE) stage1-start; \
12019 fi; \
12020 cd $(HOST_SUBDIR)/mpfr && \
12021 $(MAKE) $(EXTRA_HOST_FLAGS) \
12022 $(STAGE1_FLAGS_TO_PASS) clean
12023 @endif mpfr-bootstrap
12026 .PHONY: all-stage2-mpfr maybe-all-stage2-mpfr
12027 .PHONY: clean-stage2-mpfr maybe-clean-stage2-mpfr
12028 maybe-all-stage2-mpfr:
12029 maybe-clean-stage2-mpfr:
12030 @if mpfr-bootstrap
12031 maybe-all-stage2-mpfr: all-stage2-mpfr
12032 all-stage2: all-stage2-mpfr
12033 TARGET-stage2-mpfr = $(TARGET-mpfr)
12034 all-stage2-mpfr: configure-stage2-mpfr
12035 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12036 @r=`${PWD_COMMAND}`; export r; \
12037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12038 TFLAGS="$(STAGE2_TFLAGS)"; \
12039 $(HOST_EXPORTS) \
12040 $(POSTSTAGE1_HOST_EXPORTS) \
12041 cd $(HOST_SUBDIR)/mpfr && \
12042 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12043 CFLAGS="$(STAGE2_CFLAGS)" \
12044 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
12045 LIBCFLAGS="$(STAGE2_CFLAGS)" \
12046 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12047 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12048 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12049 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12050 TFLAGS="$(STAGE2_TFLAGS)" \
12051 $(TARGET-stage2-mpfr)
12053 maybe-clean-stage2-mpfr: clean-stage2-mpfr
12054 clean-stage2: clean-stage2-mpfr
12055 clean-stage2-mpfr:
12056 @if [ $(current_stage) = stage2 ]; then \
12057 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
12058 else \
12059 [ -f $(HOST_SUBDIR)/stage2-mpfr/Makefile ] || exit 0; \
12060 $(MAKE) stage2-start; \
12061 fi; \
12062 cd $(HOST_SUBDIR)/mpfr && \
12063 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12064 @endif mpfr-bootstrap
12067 .PHONY: all-stage3-mpfr maybe-all-stage3-mpfr
12068 .PHONY: clean-stage3-mpfr maybe-clean-stage3-mpfr
12069 maybe-all-stage3-mpfr:
12070 maybe-clean-stage3-mpfr:
12071 @if mpfr-bootstrap
12072 maybe-all-stage3-mpfr: all-stage3-mpfr
12073 all-stage3: all-stage3-mpfr
12074 TARGET-stage3-mpfr = $(TARGET-mpfr)
12075 all-stage3-mpfr: configure-stage3-mpfr
12076 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12077 @r=`${PWD_COMMAND}`; export r; \
12078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12079 TFLAGS="$(STAGE3_TFLAGS)"; \
12080 $(HOST_EXPORTS) \
12081 $(POSTSTAGE1_HOST_EXPORTS) \
12082 cd $(HOST_SUBDIR)/mpfr && \
12083 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12084 CFLAGS="$(STAGE3_CFLAGS)" \
12085 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
12086 LIBCFLAGS="$(STAGE3_CFLAGS)" \
12087 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12088 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12089 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12090 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12091 TFLAGS="$(STAGE3_TFLAGS)" \
12092 $(TARGET-stage3-mpfr)
12094 maybe-clean-stage3-mpfr: clean-stage3-mpfr
12095 clean-stage3: clean-stage3-mpfr
12096 clean-stage3-mpfr:
12097 @if [ $(current_stage) = stage3 ]; then \
12098 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
12099 else \
12100 [ -f $(HOST_SUBDIR)/stage3-mpfr/Makefile ] || exit 0; \
12101 $(MAKE) stage3-start; \
12102 fi; \
12103 cd $(HOST_SUBDIR)/mpfr && \
12104 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12105 @endif mpfr-bootstrap
12108 .PHONY: all-stage4-mpfr maybe-all-stage4-mpfr
12109 .PHONY: clean-stage4-mpfr maybe-clean-stage4-mpfr
12110 maybe-all-stage4-mpfr:
12111 maybe-clean-stage4-mpfr:
12112 @if mpfr-bootstrap
12113 maybe-all-stage4-mpfr: all-stage4-mpfr
12114 all-stage4: all-stage4-mpfr
12115 TARGET-stage4-mpfr = $(TARGET-mpfr)
12116 all-stage4-mpfr: configure-stage4-mpfr
12117 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12118 @r=`${PWD_COMMAND}`; export r; \
12119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12120 TFLAGS="$(STAGE4_TFLAGS)"; \
12121 $(HOST_EXPORTS) \
12122 $(POSTSTAGE1_HOST_EXPORTS) \
12123 cd $(HOST_SUBDIR)/mpfr && \
12124 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12125 CFLAGS="$(STAGE4_CFLAGS)" \
12126 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
12127 LIBCFLAGS="$(STAGE4_CFLAGS)" \
12128 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12129 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12130 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12131 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12132 TFLAGS="$(STAGE4_TFLAGS)" \
12133 $(TARGET-stage4-mpfr)
12135 maybe-clean-stage4-mpfr: clean-stage4-mpfr
12136 clean-stage4: clean-stage4-mpfr
12137 clean-stage4-mpfr:
12138 @if [ $(current_stage) = stage4 ]; then \
12139 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
12140 else \
12141 [ -f $(HOST_SUBDIR)/stage4-mpfr/Makefile ] || exit 0; \
12142 $(MAKE) stage4-start; \
12143 fi; \
12144 cd $(HOST_SUBDIR)/mpfr && \
12145 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12146 @endif mpfr-bootstrap
12149 .PHONY: all-stageprofile-mpfr maybe-all-stageprofile-mpfr
12150 .PHONY: clean-stageprofile-mpfr maybe-clean-stageprofile-mpfr
12151 maybe-all-stageprofile-mpfr:
12152 maybe-clean-stageprofile-mpfr:
12153 @if mpfr-bootstrap
12154 maybe-all-stageprofile-mpfr: all-stageprofile-mpfr
12155 all-stageprofile: all-stageprofile-mpfr
12156 TARGET-stageprofile-mpfr = $(TARGET-mpfr)
12157 all-stageprofile-mpfr: configure-stageprofile-mpfr
12158 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12159 @r=`${PWD_COMMAND}`; export r; \
12160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12161 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12162 $(HOST_EXPORTS) \
12163 $(POSTSTAGE1_HOST_EXPORTS) \
12164 cd $(HOST_SUBDIR)/mpfr && \
12165 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12166 CFLAGS="$(STAGEprofile_CFLAGS)" \
12167 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
12168 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
12169 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12170 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12171 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12172 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12173 TFLAGS="$(STAGEprofile_TFLAGS)" \
12174 $(TARGET-stageprofile-mpfr)
12176 maybe-clean-stageprofile-mpfr: clean-stageprofile-mpfr
12177 clean-stageprofile: clean-stageprofile-mpfr
12178 clean-stageprofile-mpfr:
12179 @if [ $(current_stage) = stageprofile ]; then \
12180 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
12181 else \
12182 [ -f $(HOST_SUBDIR)/stageprofile-mpfr/Makefile ] || exit 0; \
12183 $(MAKE) stageprofile-start; \
12184 fi; \
12185 cd $(HOST_SUBDIR)/mpfr && \
12186 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12187 @endif mpfr-bootstrap
12190 .PHONY: all-stagefeedback-mpfr maybe-all-stagefeedback-mpfr
12191 .PHONY: clean-stagefeedback-mpfr maybe-clean-stagefeedback-mpfr
12192 maybe-all-stagefeedback-mpfr:
12193 maybe-clean-stagefeedback-mpfr:
12194 @if mpfr-bootstrap
12195 maybe-all-stagefeedback-mpfr: all-stagefeedback-mpfr
12196 all-stagefeedback: all-stagefeedback-mpfr
12197 TARGET-stagefeedback-mpfr = $(TARGET-mpfr)
12198 all-stagefeedback-mpfr: configure-stagefeedback-mpfr
12199 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12200 @r=`${PWD_COMMAND}`; export r; \
12201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12202 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12203 $(HOST_EXPORTS) \
12204 $(POSTSTAGE1_HOST_EXPORTS) \
12205 cd $(HOST_SUBDIR)/mpfr && \
12206 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12207 CFLAGS="$(STAGEfeedback_CFLAGS)" \
12208 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
12209 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
12210 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12211 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12212 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12213 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12214 TFLAGS="$(STAGEfeedback_TFLAGS)" \
12215 $(TARGET-stagefeedback-mpfr)
12217 maybe-clean-stagefeedback-mpfr: clean-stagefeedback-mpfr
12218 clean-stagefeedback: clean-stagefeedback-mpfr
12219 clean-stagefeedback-mpfr:
12220 @if [ $(current_stage) = stagefeedback ]; then \
12221 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
12222 else \
12223 [ -f $(HOST_SUBDIR)/stagefeedback-mpfr/Makefile ] || exit 0; \
12224 $(MAKE) stagefeedback-start; \
12225 fi; \
12226 cd $(HOST_SUBDIR)/mpfr && \
12227 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12228 @endif mpfr-bootstrap
12234 .PHONY: check-mpfr maybe-check-mpfr
12235 maybe-check-mpfr:
12236 @if mpfr
12237 maybe-check-mpfr: check-mpfr
12239 check-mpfr:
12240 @: $(MAKE); $(unstage)
12241 @r=`${PWD_COMMAND}`; export r; \
12242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12243 $(HOST_EXPORTS) \
12244 (cd $(HOST_SUBDIR)/mpfr && \
12245 $(MAKE) $(FLAGS_TO_PASS) check)
12247 @endif mpfr
12249 .PHONY: install-mpfr maybe-install-mpfr
12250 maybe-install-mpfr:
12251 @if mpfr
12252 maybe-install-mpfr: install-mpfr
12254 install-mpfr:
12256 @endif mpfr
12258 .PHONY: install-strip-mpfr maybe-install-strip-mpfr
12259 maybe-install-strip-mpfr:
12260 @if mpfr
12261 maybe-install-strip-mpfr: install-strip-mpfr
12263 install-strip-mpfr:
12265 @endif mpfr
12267 # Other targets (info, dvi, pdf, etc.)
12269 .PHONY: maybe-info-mpfr info-mpfr
12270 maybe-info-mpfr:
12271 @if mpfr
12272 maybe-info-mpfr: info-mpfr
12274 info-mpfr: \
12275 configure-mpfr
12276 @[ -f ./mpfr/Makefile ] || exit 0; \
12277 r=`${PWD_COMMAND}`; export r; \
12278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12279 $(HOST_EXPORTS) \
12280 for flag in $(EXTRA_HOST_FLAGS) ; do \
12281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12282 done; \
12283 echo "Doing info in mpfr" ; \
12284 (cd $(HOST_SUBDIR)/mpfr && \
12285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12287 "RANLIB=$${RANLIB}" \
12288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12289 info) \
12290 || exit 1
12292 @endif mpfr
12294 .PHONY: maybe-dvi-mpfr dvi-mpfr
12295 maybe-dvi-mpfr:
12296 @if mpfr
12297 maybe-dvi-mpfr: dvi-mpfr
12299 dvi-mpfr: \
12300 configure-mpfr
12301 @[ -f ./mpfr/Makefile ] || exit 0; \
12302 r=`${PWD_COMMAND}`; export r; \
12303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12304 $(HOST_EXPORTS) \
12305 for flag in $(EXTRA_HOST_FLAGS) ; do \
12306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12307 done; \
12308 echo "Doing dvi in mpfr" ; \
12309 (cd $(HOST_SUBDIR)/mpfr && \
12310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12312 "RANLIB=$${RANLIB}" \
12313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12314 dvi) \
12315 || exit 1
12317 @endif mpfr
12319 .PHONY: maybe-pdf-mpfr pdf-mpfr
12320 maybe-pdf-mpfr:
12321 @if mpfr
12322 maybe-pdf-mpfr: pdf-mpfr
12324 pdf-mpfr: \
12325 configure-mpfr
12326 @[ -f ./mpfr/Makefile ] || exit 0; \
12327 r=`${PWD_COMMAND}`; export r; \
12328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12329 $(HOST_EXPORTS) \
12330 for flag in $(EXTRA_HOST_FLAGS) ; do \
12331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12332 done; \
12333 echo "Doing pdf in mpfr" ; \
12334 (cd $(HOST_SUBDIR)/mpfr && \
12335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12337 "RANLIB=$${RANLIB}" \
12338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12339 pdf) \
12340 || exit 1
12342 @endif mpfr
12344 .PHONY: maybe-html-mpfr html-mpfr
12345 maybe-html-mpfr:
12346 @if mpfr
12347 maybe-html-mpfr: html-mpfr
12349 html-mpfr: \
12350 configure-mpfr
12351 @[ -f ./mpfr/Makefile ] || exit 0; \
12352 r=`${PWD_COMMAND}`; export r; \
12353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12354 $(HOST_EXPORTS) \
12355 for flag in $(EXTRA_HOST_FLAGS) ; do \
12356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12357 done; \
12358 echo "Doing html in mpfr" ; \
12359 (cd $(HOST_SUBDIR)/mpfr && \
12360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12362 "RANLIB=$${RANLIB}" \
12363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12364 html) \
12365 || exit 1
12367 @endif mpfr
12369 .PHONY: maybe-TAGS-mpfr TAGS-mpfr
12370 maybe-TAGS-mpfr:
12371 @if mpfr
12372 maybe-TAGS-mpfr: TAGS-mpfr
12374 TAGS-mpfr: \
12375 configure-mpfr
12376 @[ -f ./mpfr/Makefile ] || exit 0; \
12377 r=`${PWD_COMMAND}`; export r; \
12378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12379 $(HOST_EXPORTS) \
12380 for flag in $(EXTRA_HOST_FLAGS) ; do \
12381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12382 done; \
12383 echo "Doing TAGS in mpfr" ; \
12384 (cd $(HOST_SUBDIR)/mpfr && \
12385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12387 "RANLIB=$${RANLIB}" \
12388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12389 TAGS) \
12390 || exit 1
12392 @endif mpfr
12394 .PHONY: maybe-install-info-mpfr install-info-mpfr
12395 maybe-install-info-mpfr:
12396 @if mpfr
12397 maybe-install-info-mpfr: install-info-mpfr
12399 install-info-mpfr: \
12400 configure-mpfr \
12401 info-mpfr
12402 @[ -f ./mpfr/Makefile ] || exit 0; \
12403 r=`${PWD_COMMAND}`; export r; \
12404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12405 $(HOST_EXPORTS) \
12406 for flag in $(EXTRA_HOST_FLAGS) ; do \
12407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12408 done; \
12409 echo "Doing install-info in mpfr" ; \
12410 (cd $(HOST_SUBDIR)/mpfr && \
12411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12413 "RANLIB=$${RANLIB}" \
12414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12415 install-info) \
12416 || exit 1
12418 @endif mpfr
12420 .PHONY: maybe-install-pdf-mpfr install-pdf-mpfr
12421 maybe-install-pdf-mpfr:
12422 @if mpfr
12423 maybe-install-pdf-mpfr: install-pdf-mpfr
12425 install-pdf-mpfr: \
12426 configure-mpfr \
12427 pdf-mpfr
12428 @[ -f ./mpfr/Makefile ] || exit 0; \
12429 r=`${PWD_COMMAND}`; export r; \
12430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12431 $(HOST_EXPORTS) \
12432 for flag in $(EXTRA_HOST_FLAGS) ; do \
12433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12434 done; \
12435 echo "Doing install-pdf in mpfr" ; \
12436 (cd $(HOST_SUBDIR)/mpfr && \
12437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12439 "RANLIB=$${RANLIB}" \
12440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12441 install-pdf) \
12442 || exit 1
12444 @endif mpfr
12446 .PHONY: maybe-install-html-mpfr install-html-mpfr
12447 maybe-install-html-mpfr:
12448 @if mpfr
12449 maybe-install-html-mpfr: install-html-mpfr
12451 install-html-mpfr: \
12452 configure-mpfr \
12453 html-mpfr
12454 @[ -f ./mpfr/Makefile ] || exit 0; \
12455 r=`${PWD_COMMAND}`; export r; \
12456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12457 $(HOST_EXPORTS) \
12458 for flag in $(EXTRA_HOST_FLAGS) ; do \
12459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12460 done; \
12461 echo "Doing install-html in mpfr" ; \
12462 (cd $(HOST_SUBDIR)/mpfr && \
12463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12465 "RANLIB=$${RANLIB}" \
12466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12467 install-html) \
12468 || exit 1
12470 @endif mpfr
12472 .PHONY: maybe-installcheck-mpfr installcheck-mpfr
12473 maybe-installcheck-mpfr:
12474 @if mpfr
12475 maybe-installcheck-mpfr: installcheck-mpfr
12477 installcheck-mpfr: \
12478 configure-mpfr
12479 @[ -f ./mpfr/Makefile ] || exit 0; \
12480 r=`${PWD_COMMAND}`; export r; \
12481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12482 $(HOST_EXPORTS) \
12483 for flag in $(EXTRA_HOST_FLAGS) ; do \
12484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12485 done; \
12486 echo "Doing installcheck in mpfr" ; \
12487 (cd $(HOST_SUBDIR)/mpfr && \
12488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12490 "RANLIB=$${RANLIB}" \
12491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12492 installcheck) \
12493 || exit 1
12495 @endif mpfr
12497 .PHONY: maybe-mostlyclean-mpfr mostlyclean-mpfr
12498 maybe-mostlyclean-mpfr:
12499 @if mpfr
12500 maybe-mostlyclean-mpfr: mostlyclean-mpfr
12502 mostlyclean-mpfr:
12503 @[ -f ./mpfr/Makefile ] || exit 0; \
12504 r=`${PWD_COMMAND}`; export r; \
12505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12506 $(HOST_EXPORTS) \
12507 for flag in $(EXTRA_HOST_FLAGS) ; do \
12508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12509 done; \
12510 echo "Doing mostlyclean in mpfr" ; \
12511 (cd $(HOST_SUBDIR)/mpfr && \
12512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12514 "RANLIB=$${RANLIB}" \
12515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12516 mostlyclean) \
12517 || exit 1
12519 @endif mpfr
12521 .PHONY: maybe-clean-mpfr clean-mpfr
12522 maybe-clean-mpfr:
12523 @if mpfr
12524 maybe-clean-mpfr: clean-mpfr
12526 clean-mpfr:
12527 @[ -f ./mpfr/Makefile ] || exit 0; \
12528 r=`${PWD_COMMAND}`; export r; \
12529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12530 $(HOST_EXPORTS) \
12531 for flag in $(EXTRA_HOST_FLAGS) ; do \
12532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12533 done; \
12534 echo "Doing clean in mpfr" ; \
12535 (cd $(HOST_SUBDIR)/mpfr && \
12536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12538 "RANLIB=$${RANLIB}" \
12539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12540 clean) \
12541 || exit 1
12543 @endif mpfr
12545 .PHONY: maybe-distclean-mpfr distclean-mpfr
12546 maybe-distclean-mpfr:
12547 @if mpfr
12548 maybe-distclean-mpfr: distclean-mpfr
12550 distclean-mpfr:
12551 @[ -f ./mpfr/Makefile ] || exit 0; \
12552 r=`${PWD_COMMAND}`; export r; \
12553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12554 $(HOST_EXPORTS) \
12555 for flag in $(EXTRA_HOST_FLAGS) ; do \
12556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12557 done; \
12558 echo "Doing distclean in mpfr" ; \
12559 (cd $(HOST_SUBDIR)/mpfr && \
12560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12562 "RANLIB=$${RANLIB}" \
12563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12564 distclean) \
12565 || exit 1
12567 @endif mpfr
12569 .PHONY: maybe-maintainer-clean-mpfr maintainer-clean-mpfr
12570 maybe-maintainer-clean-mpfr:
12571 @if mpfr
12572 maybe-maintainer-clean-mpfr: maintainer-clean-mpfr
12574 maintainer-clean-mpfr:
12575 @[ -f ./mpfr/Makefile ] || exit 0; \
12576 r=`${PWD_COMMAND}`; export r; \
12577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12578 $(HOST_EXPORTS) \
12579 for flag in $(EXTRA_HOST_FLAGS) ; do \
12580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12581 done; \
12582 echo "Doing maintainer-clean in mpfr" ; \
12583 (cd $(HOST_SUBDIR)/mpfr && \
12584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12586 "RANLIB=$${RANLIB}" \
12587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12588 maintainer-clean) \
12589 || exit 1
12591 @endif mpfr
12595 .PHONY: configure-mpc maybe-configure-mpc
12596 maybe-configure-mpc:
12597 @if gcc-bootstrap
12598 configure-mpc: stage_current
12599 @endif gcc-bootstrap
12600 @if mpc
12601 maybe-configure-mpc: configure-mpc
12602 configure-mpc:
12603 @r=`${PWD_COMMAND}`; export r; \
12604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12605 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12606 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12607 $(HOST_EXPORTS) \
12608 echo Configuring in $(HOST_SUBDIR)/mpc; \
12609 cd "$(HOST_SUBDIR)/mpc" || exit 1; \
12610 case $(srcdir) in \
12611 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12612 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12613 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12614 esac; \
12615 srcdiroption="--srcdir=$${topdir}/mpc"; \
12616 libsrcdir="$$s/mpc"; \
12617 $(SHELL) $${libsrcdir}/configure \
12618 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12619 --target=${target_alias} $${srcdiroption} --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ \
12620 || exit 1
12621 @endif mpc
12625 .PHONY: configure-stage1-mpc maybe-configure-stage1-mpc
12626 maybe-configure-stage1-mpc:
12627 @if mpc-bootstrap
12628 maybe-configure-stage1-mpc: configure-stage1-mpc
12629 configure-stage1-mpc:
12630 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12631 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12632 @r=`${PWD_COMMAND}`; export r; \
12633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12634 TFLAGS="$(STAGE1_TFLAGS)"; \
12635 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12636 $(HOST_EXPORTS) \
12637 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
12638 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
12639 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
12640 echo Configuring stage 1 in $(HOST_SUBDIR)/mpc ; \
12641 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12642 cd $(HOST_SUBDIR)/mpc || exit 1; \
12643 case $(srcdir) in \
12644 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12645 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12646 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12647 esac; \
12648 srcdiroption="--srcdir=$${topdir}/mpc"; \
12649 libsrcdir="$$s/mpc"; \
12650 $(SHELL) $${libsrcdir}/configure \
12651 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12652 --target=${target_alias} $${srcdiroption} \
12653 $(STAGE1_CONFIGURE_FLAGS) \
12654 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12655 @endif mpc-bootstrap
12657 .PHONY: configure-stage2-mpc maybe-configure-stage2-mpc
12658 maybe-configure-stage2-mpc:
12659 @if mpc-bootstrap
12660 maybe-configure-stage2-mpc: configure-stage2-mpc
12661 configure-stage2-mpc:
12662 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12663 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12664 @r=`${PWD_COMMAND}`; export r; \
12665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12666 TFLAGS="$(STAGE2_TFLAGS)"; \
12667 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12668 $(HOST_EXPORTS) \
12669 $(POSTSTAGE1_HOST_EXPORTS) \
12670 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
12671 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
12672 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
12673 echo Configuring stage 2 in $(HOST_SUBDIR)/mpc ; \
12674 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12675 cd $(HOST_SUBDIR)/mpc || exit 1; \
12676 case $(srcdir) in \
12677 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12678 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12679 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12680 esac; \
12681 srcdiroption="--srcdir=$${topdir}/mpc"; \
12682 libsrcdir="$$s/mpc"; \
12683 $(SHELL) $${libsrcdir}/configure \
12684 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12685 --target=${target_alias} $${srcdiroption} \
12686 --with-build-libsubdir=$(HOST_SUBDIR) \
12687 $(STAGE2_CONFIGURE_FLAGS) \
12688 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12689 @endif mpc-bootstrap
12691 .PHONY: configure-stage3-mpc maybe-configure-stage3-mpc
12692 maybe-configure-stage3-mpc:
12693 @if mpc-bootstrap
12694 maybe-configure-stage3-mpc: configure-stage3-mpc
12695 configure-stage3-mpc:
12696 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12697 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12698 @r=`${PWD_COMMAND}`; export r; \
12699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12700 TFLAGS="$(STAGE3_TFLAGS)"; \
12701 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12702 $(HOST_EXPORTS) \
12703 $(POSTSTAGE1_HOST_EXPORTS) \
12704 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
12705 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
12706 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
12707 echo Configuring stage 3 in $(HOST_SUBDIR)/mpc ; \
12708 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12709 cd $(HOST_SUBDIR)/mpc || exit 1; \
12710 case $(srcdir) in \
12711 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12712 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12713 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12714 esac; \
12715 srcdiroption="--srcdir=$${topdir}/mpc"; \
12716 libsrcdir="$$s/mpc"; \
12717 $(SHELL) $${libsrcdir}/configure \
12718 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12719 --target=${target_alias} $${srcdiroption} \
12720 --with-build-libsubdir=$(HOST_SUBDIR) \
12721 $(STAGE3_CONFIGURE_FLAGS) \
12722 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12723 @endif mpc-bootstrap
12725 .PHONY: configure-stage4-mpc maybe-configure-stage4-mpc
12726 maybe-configure-stage4-mpc:
12727 @if mpc-bootstrap
12728 maybe-configure-stage4-mpc: configure-stage4-mpc
12729 configure-stage4-mpc:
12730 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12731 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12732 @r=`${PWD_COMMAND}`; export r; \
12733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12734 TFLAGS="$(STAGE4_TFLAGS)"; \
12735 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12736 $(HOST_EXPORTS) \
12737 $(POSTSTAGE1_HOST_EXPORTS) \
12738 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
12739 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
12740 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
12741 echo Configuring stage 4 in $(HOST_SUBDIR)/mpc ; \
12742 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12743 cd $(HOST_SUBDIR)/mpc || exit 1; \
12744 case $(srcdir) in \
12745 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12746 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12747 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12748 esac; \
12749 srcdiroption="--srcdir=$${topdir}/mpc"; \
12750 libsrcdir="$$s/mpc"; \
12751 $(SHELL) $${libsrcdir}/configure \
12752 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12753 --target=${target_alias} $${srcdiroption} \
12754 --with-build-libsubdir=$(HOST_SUBDIR) \
12755 $(STAGE4_CONFIGURE_FLAGS) \
12756 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12757 @endif mpc-bootstrap
12759 .PHONY: configure-stageprofile-mpc maybe-configure-stageprofile-mpc
12760 maybe-configure-stageprofile-mpc:
12761 @if mpc-bootstrap
12762 maybe-configure-stageprofile-mpc: configure-stageprofile-mpc
12763 configure-stageprofile-mpc:
12764 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12765 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12766 @r=`${PWD_COMMAND}`; export r; \
12767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12768 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12769 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12770 $(HOST_EXPORTS) \
12771 $(POSTSTAGE1_HOST_EXPORTS) \
12772 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
12773 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
12774 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
12775 echo Configuring stage profile in $(HOST_SUBDIR)/mpc ; \
12776 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12777 cd $(HOST_SUBDIR)/mpc || exit 1; \
12778 case $(srcdir) in \
12779 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12780 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12781 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12782 esac; \
12783 srcdiroption="--srcdir=$${topdir}/mpc"; \
12784 libsrcdir="$$s/mpc"; \
12785 $(SHELL) $${libsrcdir}/configure \
12786 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12787 --target=${target_alias} $${srcdiroption} \
12788 --with-build-libsubdir=$(HOST_SUBDIR) \
12789 $(STAGEprofile_CONFIGURE_FLAGS) \
12790 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12791 @endif mpc-bootstrap
12793 .PHONY: configure-stagefeedback-mpc maybe-configure-stagefeedback-mpc
12794 maybe-configure-stagefeedback-mpc:
12795 @if mpc-bootstrap
12796 maybe-configure-stagefeedback-mpc: configure-stagefeedback-mpc
12797 configure-stagefeedback-mpc:
12798 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12799 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12800 @r=`${PWD_COMMAND}`; export r; \
12801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12802 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12803 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12804 $(HOST_EXPORTS) \
12805 $(POSTSTAGE1_HOST_EXPORTS) \
12806 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
12807 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
12808 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
12809 echo Configuring stage feedback in $(HOST_SUBDIR)/mpc ; \
12810 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12811 cd $(HOST_SUBDIR)/mpc || exit 1; \
12812 case $(srcdir) in \
12813 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12814 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12815 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12816 esac; \
12817 srcdiroption="--srcdir=$${topdir}/mpc"; \
12818 libsrcdir="$$s/mpc"; \
12819 $(SHELL) $${libsrcdir}/configure \
12820 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12821 --target=${target_alias} $${srcdiroption} \
12822 --with-build-libsubdir=$(HOST_SUBDIR) \
12823 $(STAGEfeedback_CONFIGURE_FLAGS) \
12824 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12825 @endif mpc-bootstrap
12831 .PHONY: all-mpc maybe-all-mpc
12832 maybe-all-mpc:
12833 @if gcc-bootstrap
12834 all-mpc: stage_current
12835 @endif gcc-bootstrap
12836 @if mpc
12837 TARGET-mpc=all
12838 maybe-all-mpc: all-mpc
12839 all-mpc: configure-mpc
12840 @r=`${PWD_COMMAND}`; export r; \
12841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12842 $(HOST_EXPORTS) \
12843 (cd $(HOST_SUBDIR)/mpc && \
12844 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
12845 $(TARGET-mpc))
12846 @endif mpc
12850 .PHONY: all-stage1-mpc maybe-all-stage1-mpc
12851 .PHONY: clean-stage1-mpc maybe-clean-stage1-mpc
12852 maybe-all-stage1-mpc:
12853 maybe-clean-stage1-mpc:
12854 @if mpc-bootstrap
12855 maybe-all-stage1-mpc: all-stage1-mpc
12856 all-stage1: all-stage1-mpc
12857 TARGET-stage1-mpc = $(TARGET-mpc)
12858 all-stage1-mpc: configure-stage1-mpc
12859 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12860 @r=`${PWD_COMMAND}`; export r; \
12861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12862 TFLAGS="$(STAGE1_TFLAGS)"; \
12863 $(HOST_EXPORTS) \
12864 cd $(HOST_SUBDIR)/mpc && \
12865 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12866 CFLAGS="$(STAGE1_CFLAGS)" \
12867 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
12868 LIBCFLAGS="$(LIBCFLAGS)" \
12869 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12870 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12871 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12872 $(EXTRA_HOST_FLAGS) \
12873 $(STAGE1_FLAGS_TO_PASS) \
12874 TFLAGS="$(STAGE1_TFLAGS)" \
12875 $(TARGET-stage1-mpc)
12877 maybe-clean-stage1-mpc: clean-stage1-mpc
12878 clean-stage1: clean-stage1-mpc
12879 clean-stage1-mpc:
12880 @if [ $(current_stage) = stage1 ]; then \
12881 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12882 else \
12883 [ -f $(HOST_SUBDIR)/stage1-mpc/Makefile ] || exit 0; \
12884 $(MAKE) stage1-start; \
12885 fi; \
12886 cd $(HOST_SUBDIR)/mpc && \
12887 $(MAKE) $(EXTRA_HOST_FLAGS) \
12888 $(STAGE1_FLAGS_TO_PASS) clean
12889 @endif mpc-bootstrap
12892 .PHONY: all-stage2-mpc maybe-all-stage2-mpc
12893 .PHONY: clean-stage2-mpc maybe-clean-stage2-mpc
12894 maybe-all-stage2-mpc:
12895 maybe-clean-stage2-mpc:
12896 @if mpc-bootstrap
12897 maybe-all-stage2-mpc: all-stage2-mpc
12898 all-stage2: all-stage2-mpc
12899 TARGET-stage2-mpc = $(TARGET-mpc)
12900 all-stage2-mpc: configure-stage2-mpc
12901 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12902 @r=`${PWD_COMMAND}`; export r; \
12903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12904 TFLAGS="$(STAGE2_TFLAGS)"; \
12905 $(HOST_EXPORTS) \
12906 $(POSTSTAGE1_HOST_EXPORTS) \
12907 cd $(HOST_SUBDIR)/mpc && \
12908 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12909 CFLAGS="$(STAGE2_CFLAGS)" \
12910 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
12911 LIBCFLAGS="$(STAGE2_CFLAGS)" \
12912 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12913 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12914 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12915 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12916 TFLAGS="$(STAGE2_TFLAGS)" \
12917 $(TARGET-stage2-mpc)
12919 maybe-clean-stage2-mpc: clean-stage2-mpc
12920 clean-stage2: clean-stage2-mpc
12921 clean-stage2-mpc:
12922 @if [ $(current_stage) = stage2 ]; then \
12923 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12924 else \
12925 [ -f $(HOST_SUBDIR)/stage2-mpc/Makefile ] || exit 0; \
12926 $(MAKE) stage2-start; \
12927 fi; \
12928 cd $(HOST_SUBDIR)/mpc && \
12929 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12930 @endif mpc-bootstrap
12933 .PHONY: all-stage3-mpc maybe-all-stage3-mpc
12934 .PHONY: clean-stage3-mpc maybe-clean-stage3-mpc
12935 maybe-all-stage3-mpc:
12936 maybe-clean-stage3-mpc:
12937 @if mpc-bootstrap
12938 maybe-all-stage3-mpc: all-stage3-mpc
12939 all-stage3: all-stage3-mpc
12940 TARGET-stage3-mpc = $(TARGET-mpc)
12941 all-stage3-mpc: configure-stage3-mpc
12942 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12943 @r=`${PWD_COMMAND}`; export r; \
12944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12945 TFLAGS="$(STAGE3_TFLAGS)"; \
12946 $(HOST_EXPORTS) \
12947 $(POSTSTAGE1_HOST_EXPORTS) \
12948 cd $(HOST_SUBDIR)/mpc && \
12949 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12950 CFLAGS="$(STAGE3_CFLAGS)" \
12951 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
12952 LIBCFLAGS="$(STAGE3_CFLAGS)" \
12953 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12954 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12955 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12956 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12957 TFLAGS="$(STAGE3_TFLAGS)" \
12958 $(TARGET-stage3-mpc)
12960 maybe-clean-stage3-mpc: clean-stage3-mpc
12961 clean-stage3: clean-stage3-mpc
12962 clean-stage3-mpc:
12963 @if [ $(current_stage) = stage3 ]; then \
12964 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12965 else \
12966 [ -f $(HOST_SUBDIR)/stage3-mpc/Makefile ] || exit 0; \
12967 $(MAKE) stage3-start; \
12968 fi; \
12969 cd $(HOST_SUBDIR)/mpc && \
12970 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12971 @endif mpc-bootstrap
12974 .PHONY: all-stage4-mpc maybe-all-stage4-mpc
12975 .PHONY: clean-stage4-mpc maybe-clean-stage4-mpc
12976 maybe-all-stage4-mpc:
12977 maybe-clean-stage4-mpc:
12978 @if mpc-bootstrap
12979 maybe-all-stage4-mpc: all-stage4-mpc
12980 all-stage4: all-stage4-mpc
12981 TARGET-stage4-mpc = $(TARGET-mpc)
12982 all-stage4-mpc: configure-stage4-mpc
12983 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12984 @r=`${PWD_COMMAND}`; export r; \
12985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12986 TFLAGS="$(STAGE4_TFLAGS)"; \
12987 $(HOST_EXPORTS) \
12988 $(POSTSTAGE1_HOST_EXPORTS) \
12989 cd $(HOST_SUBDIR)/mpc && \
12990 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12991 CFLAGS="$(STAGE4_CFLAGS)" \
12992 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
12993 LIBCFLAGS="$(STAGE4_CFLAGS)" \
12994 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12995 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12996 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12997 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12998 TFLAGS="$(STAGE4_TFLAGS)" \
12999 $(TARGET-stage4-mpc)
13001 maybe-clean-stage4-mpc: clean-stage4-mpc
13002 clean-stage4: clean-stage4-mpc
13003 clean-stage4-mpc:
13004 @if [ $(current_stage) = stage4 ]; then \
13005 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
13006 else \
13007 [ -f $(HOST_SUBDIR)/stage4-mpc/Makefile ] || exit 0; \
13008 $(MAKE) stage4-start; \
13009 fi; \
13010 cd $(HOST_SUBDIR)/mpc && \
13011 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
13012 @endif mpc-bootstrap
13015 .PHONY: all-stageprofile-mpc maybe-all-stageprofile-mpc
13016 .PHONY: clean-stageprofile-mpc maybe-clean-stageprofile-mpc
13017 maybe-all-stageprofile-mpc:
13018 maybe-clean-stageprofile-mpc:
13019 @if mpc-bootstrap
13020 maybe-all-stageprofile-mpc: all-stageprofile-mpc
13021 all-stageprofile: all-stageprofile-mpc
13022 TARGET-stageprofile-mpc = $(TARGET-mpc)
13023 all-stageprofile-mpc: configure-stageprofile-mpc
13024 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13025 @r=`${PWD_COMMAND}`; export r; \
13026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13027 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13028 $(HOST_EXPORTS) \
13029 $(POSTSTAGE1_HOST_EXPORTS) \
13030 cd $(HOST_SUBDIR)/mpc && \
13031 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13032 CFLAGS="$(STAGEprofile_CFLAGS)" \
13033 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
13034 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
13035 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13036 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13037 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13038 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13039 TFLAGS="$(STAGEprofile_TFLAGS)" \
13040 $(TARGET-stageprofile-mpc)
13042 maybe-clean-stageprofile-mpc: clean-stageprofile-mpc
13043 clean-stageprofile: clean-stageprofile-mpc
13044 clean-stageprofile-mpc:
13045 @if [ $(current_stage) = stageprofile ]; then \
13046 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
13047 else \
13048 [ -f $(HOST_SUBDIR)/stageprofile-mpc/Makefile ] || exit 0; \
13049 $(MAKE) stageprofile-start; \
13050 fi; \
13051 cd $(HOST_SUBDIR)/mpc && \
13052 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
13053 @endif mpc-bootstrap
13056 .PHONY: all-stagefeedback-mpc maybe-all-stagefeedback-mpc
13057 .PHONY: clean-stagefeedback-mpc maybe-clean-stagefeedback-mpc
13058 maybe-all-stagefeedback-mpc:
13059 maybe-clean-stagefeedback-mpc:
13060 @if mpc-bootstrap
13061 maybe-all-stagefeedback-mpc: all-stagefeedback-mpc
13062 all-stagefeedback: all-stagefeedback-mpc
13063 TARGET-stagefeedback-mpc = $(TARGET-mpc)
13064 all-stagefeedback-mpc: configure-stagefeedback-mpc
13065 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13066 @r=`${PWD_COMMAND}`; export r; \
13067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13068 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13069 $(HOST_EXPORTS) \
13070 $(POSTSTAGE1_HOST_EXPORTS) \
13071 cd $(HOST_SUBDIR)/mpc && \
13072 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13073 CFLAGS="$(STAGEfeedback_CFLAGS)" \
13074 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
13075 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
13076 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13077 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13078 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13079 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13080 TFLAGS="$(STAGEfeedback_TFLAGS)" \
13081 $(TARGET-stagefeedback-mpc)
13083 maybe-clean-stagefeedback-mpc: clean-stagefeedback-mpc
13084 clean-stagefeedback: clean-stagefeedback-mpc
13085 clean-stagefeedback-mpc:
13086 @if [ $(current_stage) = stagefeedback ]; then \
13087 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
13088 else \
13089 [ -f $(HOST_SUBDIR)/stagefeedback-mpc/Makefile ] || exit 0; \
13090 $(MAKE) stagefeedback-start; \
13091 fi; \
13092 cd $(HOST_SUBDIR)/mpc && \
13093 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
13094 @endif mpc-bootstrap
13100 .PHONY: check-mpc maybe-check-mpc
13101 maybe-check-mpc:
13102 @if mpc
13103 maybe-check-mpc: check-mpc
13105 check-mpc:
13106 @: $(MAKE); $(unstage)
13107 @r=`${PWD_COMMAND}`; export r; \
13108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13109 $(HOST_EXPORTS) \
13110 (cd $(HOST_SUBDIR)/mpc && \
13111 $(MAKE) $(FLAGS_TO_PASS) check)
13113 @endif mpc
13115 .PHONY: install-mpc maybe-install-mpc
13116 maybe-install-mpc:
13117 @if mpc
13118 maybe-install-mpc: install-mpc
13120 install-mpc:
13122 @endif mpc
13124 .PHONY: install-strip-mpc maybe-install-strip-mpc
13125 maybe-install-strip-mpc:
13126 @if mpc
13127 maybe-install-strip-mpc: install-strip-mpc
13129 install-strip-mpc:
13131 @endif mpc
13133 # Other targets (info, dvi, pdf, etc.)
13135 .PHONY: maybe-info-mpc info-mpc
13136 maybe-info-mpc:
13137 @if mpc
13138 maybe-info-mpc: info-mpc
13140 info-mpc: \
13141 configure-mpc
13142 @[ -f ./mpc/Makefile ] || exit 0; \
13143 r=`${PWD_COMMAND}`; export r; \
13144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13145 $(HOST_EXPORTS) \
13146 for flag in $(EXTRA_HOST_FLAGS) ; do \
13147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13148 done; \
13149 echo "Doing info in mpc" ; \
13150 (cd $(HOST_SUBDIR)/mpc && \
13151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13153 "RANLIB=$${RANLIB}" \
13154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13155 info) \
13156 || exit 1
13158 @endif mpc
13160 .PHONY: maybe-dvi-mpc dvi-mpc
13161 maybe-dvi-mpc:
13162 @if mpc
13163 maybe-dvi-mpc: dvi-mpc
13165 dvi-mpc: \
13166 configure-mpc
13167 @[ -f ./mpc/Makefile ] || exit 0; \
13168 r=`${PWD_COMMAND}`; export r; \
13169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13170 $(HOST_EXPORTS) \
13171 for flag in $(EXTRA_HOST_FLAGS) ; do \
13172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13173 done; \
13174 echo "Doing dvi in mpc" ; \
13175 (cd $(HOST_SUBDIR)/mpc && \
13176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13178 "RANLIB=$${RANLIB}" \
13179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13180 dvi) \
13181 || exit 1
13183 @endif mpc
13185 .PHONY: maybe-pdf-mpc pdf-mpc
13186 maybe-pdf-mpc:
13187 @if mpc
13188 maybe-pdf-mpc: pdf-mpc
13190 pdf-mpc: \
13191 configure-mpc
13192 @[ -f ./mpc/Makefile ] || exit 0; \
13193 r=`${PWD_COMMAND}`; export r; \
13194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13195 $(HOST_EXPORTS) \
13196 for flag in $(EXTRA_HOST_FLAGS) ; do \
13197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13198 done; \
13199 echo "Doing pdf in mpc" ; \
13200 (cd $(HOST_SUBDIR)/mpc && \
13201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13203 "RANLIB=$${RANLIB}" \
13204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13205 pdf) \
13206 || exit 1
13208 @endif mpc
13210 .PHONY: maybe-html-mpc html-mpc
13211 maybe-html-mpc:
13212 @if mpc
13213 maybe-html-mpc: html-mpc
13215 html-mpc: \
13216 configure-mpc
13217 @[ -f ./mpc/Makefile ] || exit 0; \
13218 r=`${PWD_COMMAND}`; export r; \
13219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13220 $(HOST_EXPORTS) \
13221 for flag in $(EXTRA_HOST_FLAGS) ; do \
13222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13223 done; \
13224 echo "Doing html in mpc" ; \
13225 (cd $(HOST_SUBDIR)/mpc && \
13226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13228 "RANLIB=$${RANLIB}" \
13229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13230 html) \
13231 || exit 1
13233 @endif mpc
13235 .PHONY: maybe-TAGS-mpc TAGS-mpc
13236 maybe-TAGS-mpc:
13237 @if mpc
13238 maybe-TAGS-mpc: TAGS-mpc
13240 TAGS-mpc: \
13241 configure-mpc
13242 @[ -f ./mpc/Makefile ] || exit 0; \
13243 r=`${PWD_COMMAND}`; export r; \
13244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13245 $(HOST_EXPORTS) \
13246 for flag in $(EXTRA_HOST_FLAGS) ; do \
13247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13248 done; \
13249 echo "Doing TAGS in mpc" ; \
13250 (cd $(HOST_SUBDIR)/mpc && \
13251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13253 "RANLIB=$${RANLIB}" \
13254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13255 TAGS) \
13256 || exit 1
13258 @endif mpc
13260 .PHONY: maybe-install-info-mpc install-info-mpc
13261 maybe-install-info-mpc:
13262 @if mpc
13263 maybe-install-info-mpc: install-info-mpc
13265 install-info-mpc: \
13266 configure-mpc \
13267 info-mpc
13268 @[ -f ./mpc/Makefile ] || exit 0; \
13269 r=`${PWD_COMMAND}`; export r; \
13270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13271 $(HOST_EXPORTS) \
13272 for flag in $(EXTRA_HOST_FLAGS) ; do \
13273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13274 done; \
13275 echo "Doing install-info in mpc" ; \
13276 (cd $(HOST_SUBDIR)/mpc && \
13277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13279 "RANLIB=$${RANLIB}" \
13280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13281 install-info) \
13282 || exit 1
13284 @endif mpc
13286 .PHONY: maybe-install-pdf-mpc install-pdf-mpc
13287 maybe-install-pdf-mpc:
13288 @if mpc
13289 maybe-install-pdf-mpc: install-pdf-mpc
13291 install-pdf-mpc: \
13292 configure-mpc \
13293 pdf-mpc
13294 @[ -f ./mpc/Makefile ] || exit 0; \
13295 r=`${PWD_COMMAND}`; export r; \
13296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13297 $(HOST_EXPORTS) \
13298 for flag in $(EXTRA_HOST_FLAGS) ; do \
13299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13300 done; \
13301 echo "Doing install-pdf in mpc" ; \
13302 (cd $(HOST_SUBDIR)/mpc && \
13303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13305 "RANLIB=$${RANLIB}" \
13306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13307 install-pdf) \
13308 || exit 1
13310 @endif mpc
13312 .PHONY: maybe-install-html-mpc install-html-mpc
13313 maybe-install-html-mpc:
13314 @if mpc
13315 maybe-install-html-mpc: install-html-mpc
13317 install-html-mpc: \
13318 configure-mpc \
13319 html-mpc
13320 @[ -f ./mpc/Makefile ] || exit 0; \
13321 r=`${PWD_COMMAND}`; export r; \
13322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13323 $(HOST_EXPORTS) \
13324 for flag in $(EXTRA_HOST_FLAGS) ; do \
13325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13326 done; \
13327 echo "Doing install-html in mpc" ; \
13328 (cd $(HOST_SUBDIR)/mpc && \
13329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13331 "RANLIB=$${RANLIB}" \
13332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13333 install-html) \
13334 || exit 1
13336 @endif mpc
13338 .PHONY: maybe-installcheck-mpc installcheck-mpc
13339 maybe-installcheck-mpc:
13340 @if mpc
13341 maybe-installcheck-mpc: installcheck-mpc
13343 installcheck-mpc: \
13344 configure-mpc
13345 @[ -f ./mpc/Makefile ] || exit 0; \
13346 r=`${PWD_COMMAND}`; export r; \
13347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13348 $(HOST_EXPORTS) \
13349 for flag in $(EXTRA_HOST_FLAGS) ; do \
13350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13351 done; \
13352 echo "Doing installcheck in mpc" ; \
13353 (cd $(HOST_SUBDIR)/mpc && \
13354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13356 "RANLIB=$${RANLIB}" \
13357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13358 installcheck) \
13359 || exit 1
13361 @endif mpc
13363 .PHONY: maybe-mostlyclean-mpc mostlyclean-mpc
13364 maybe-mostlyclean-mpc:
13365 @if mpc
13366 maybe-mostlyclean-mpc: mostlyclean-mpc
13368 mostlyclean-mpc:
13369 @[ -f ./mpc/Makefile ] || exit 0; \
13370 r=`${PWD_COMMAND}`; export r; \
13371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13372 $(HOST_EXPORTS) \
13373 for flag in $(EXTRA_HOST_FLAGS) ; do \
13374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13375 done; \
13376 echo "Doing mostlyclean in mpc" ; \
13377 (cd $(HOST_SUBDIR)/mpc && \
13378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13380 "RANLIB=$${RANLIB}" \
13381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13382 mostlyclean) \
13383 || exit 1
13385 @endif mpc
13387 .PHONY: maybe-clean-mpc clean-mpc
13388 maybe-clean-mpc:
13389 @if mpc
13390 maybe-clean-mpc: clean-mpc
13392 clean-mpc:
13393 @[ -f ./mpc/Makefile ] || exit 0; \
13394 r=`${PWD_COMMAND}`; export r; \
13395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13396 $(HOST_EXPORTS) \
13397 for flag in $(EXTRA_HOST_FLAGS) ; do \
13398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13399 done; \
13400 echo "Doing clean in mpc" ; \
13401 (cd $(HOST_SUBDIR)/mpc && \
13402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13404 "RANLIB=$${RANLIB}" \
13405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13406 clean) \
13407 || exit 1
13409 @endif mpc
13411 .PHONY: maybe-distclean-mpc distclean-mpc
13412 maybe-distclean-mpc:
13413 @if mpc
13414 maybe-distclean-mpc: distclean-mpc
13416 distclean-mpc:
13417 @[ -f ./mpc/Makefile ] || exit 0; \
13418 r=`${PWD_COMMAND}`; export r; \
13419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13420 $(HOST_EXPORTS) \
13421 for flag in $(EXTRA_HOST_FLAGS) ; do \
13422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13423 done; \
13424 echo "Doing distclean in mpc" ; \
13425 (cd $(HOST_SUBDIR)/mpc && \
13426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13428 "RANLIB=$${RANLIB}" \
13429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13430 distclean) \
13431 || exit 1
13433 @endif mpc
13435 .PHONY: maybe-maintainer-clean-mpc maintainer-clean-mpc
13436 maybe-maintainer-clean-mpc:
13437 @if mpc
13438 maybe-maintainer-clean-mpc: maintainer-clean-mpc
13440 maintainer-clean-mpc:
13441 @[ -f ./mpc/Makefile ] || exit 0; \
13442 r=`${PWD_COMMAND}`; export r; \
13443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13444 $(HOST_EXPORTS) \
13445 for flag in $(EXTRA_HOST_FLAGS) ; do \
13446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13447 done; \
13448 echo "Doing maintainer-clean in mpc" ; \
13449 (cd $(HOST_SUBDIR)/mpc && \
13450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13452 "RANLIB=$${RANLIB}" \
13453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13454 maintainer-clean) \
13455 || exit 1
13457 @endif mpc
13461 .PHONY: configure-isl maybe-configure-isl
13462 maybe-configure-isl:
13463 @if gcc-bootstrap
13464 configure-isl: stage_current
13465 @endif gcc-bootstrap
13466 @if isl
13467 maybe-configure-isl: configure-isl
13468 configure-isl:
13469 @r=`${PWD_COMMAND}`; export r; \
13470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13471 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13472 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13473 $(HOST_EXPORTS) \
13474 echo Configuring in $(HOST_SUBDIR)/isl; \
13475 cd "$(HOST_SUBDIR)/isl" || exit 1; \
13476 case $(srcdir) in \
13477 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13478 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13479 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13480 esac; \
13481 srcdiroption="--srcdir=$${topdir}/isl"; \
13482 libsrcdir="$$s/isl"; \
13483 $(SHELL) $${libsrcdir}/configure \
13484 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13485 --target=${target_alias} $${srcdiroption} --disable-shared @extra_isl_gmp_configure_flags@ \
13486 || exit 1
13487 @endif isl
13491 .PHONY: configure-stage1-isl maybe-configure-stage1-isl
13492 maybe-configure-stage1-isl:
13493 @if isl-bootstrap
13494 maybe-configure-stage1-isl: configure-stage1-isl
13495 configure-stage1-isl:
13496 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13497 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13498 @r=`${PWD_COMMAND}`; export r; \
13499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13500 TFLAGS="$(STAGE1_TFLAGS)"; \
13501 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13502 $(HOST_EXPORTS) \
13503 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
13504 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
13505 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
13506 echo Configuring stage 1 in $(HOST_SUBDIR)/isl ; \
13507 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13508 cd $(HOST_SUBDIR)/isl || exit 1; \
13509 case $(srcdir) in \
13510 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13511 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13512 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13513 esac; \
13514 srcdiroption="--srcdir=$${topdir}/isl"; \
13515 libsrcdir="$$s/isl"; \
13516 $(SHELL) $${libsrcdir}/configure \
13517 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13518 --target=${target_alias} $${srcdiroption} \
13519 $(STAGE1_CONFIGURE_FLAGS) \
13520 --disable-shared @extra_isl_gmp_configure_flags@
13521 @endif isl-bootstrap
13523 .PHONY: configure-stage2-isl maybe-configure-stage2-isl
13524 maybe-configure-stage2-isl:
13525 @if isl-bootstrap
13526 maybe-configure-stage2-isl: configure-stage2-isl
13527 configure-stage2-isl:
13528 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13529 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13530 @r=`${PWD_COMMAND}`; export r; \
13531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13532 TFLAGS="$(STAGE2_TFLAGS)"; \
13533 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13534 $(HOST_EXPORTS) \
13535 $(POSTSTAGE1_HOST_EXPORTS) \
13536 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
13537 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
13538 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
13539 echo Configuring stage 2 in $(HOST_SUBDIR)/isl ; \
13540 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13541 cd $(HOST_SUBDIR)/isl || exit 1; \
13542 case $(srcdir) in \
13543 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13544 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13545 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13546 esac; \
13547 srcdiroption="--srcdir=$${topdir}/isl"; \
13548 libsrcdir="$$s/isl"; \
13549 $(SHELL) $${libsrcdir}/configure \
13550 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13551 --target=${target_alias} $${srcdiroption} \
13552 --with-build-libsubdir=$(HOST_SUBDIR) \
13553 $(STAGE2_CONFIGURE_FLAGS) \
13554 --disable-shared @extra_isl_gmp_configure_flags@
13555 @endif isl-bootstrap
13557 .PHONY: configure-stage3-isl maybe-configure-stage3-isl
13558 maybe-configure-stage3-isl:
13559 @if isl-bootstrap
13560 maybe-configure-stage3-isl: configure-stage3-isl
13561 configure-stage3-isl:
13562 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13563 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13564 @r=`${PWD_COMMAND}`; export r; \
13565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13566 TFLAGS="$(STAGE3_TFLAGS)"; \
13567 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13568 $(HOST_EXPORTS) \
13569 $(POSTSTAGE1_HOST_EXPORTS) \
13570 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
13571 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
13572 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
13573 echo Configuring stage 3 in $(HOST_SUBDIR)/isl ; \
13574 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13575 cd $(HOST_SUBDIR)/isl || exit 1; \
13576 case $(srcdir) in \
13577 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13578 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13579 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13580 esac; \
13581 srcdiroption="--srcdir=$${topdir}/isl"; \
13582 libsrcdir="$$s/isl"; \
13583 $(SHELL) $${libsrcdir}/configure \
13584 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13585 --target=${target_alias} $${srcdiroption} \
13586 --with-build-libsubdir=$(HOST_SUBDIR) \
13587 $(STAGE3_CONFIGURE_FLAGS) \
13588 --disable-shared @extra_isl_gmp_configure_flags@
13589 @endif isl-bootstrap
13591 .PHONY: configure-stage4-isl maybe-configure-stage4-isl
13592 maybe-configure-stage4-isl:
13593 @if isl-bootstrap
13594 maybe-configure-stage4-isl: configure-stage4-isl
13595 configure-stage4-isl:
13596 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13597 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13598 @r=`${PWD_COMMAND}`; export r; \
13599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13600 TFLAGS="$(STAGE4_TFLAGS)"; \
13601 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13602 $(HOST_EXPORTS) \
13603 $(POSTSTAGE1_HOST_EXPORTS) \
13604 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
13605 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
13606 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
13607 echo Configuring stage 4 in $(HOST_SUBDIR)/isl ; \
13608 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13609 cd $(HOST_SUBDIR)/isl || exit 1; \
13610 case $(srcdir) in \
13611 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13612 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13613 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13614 esac; \
13615 srcdiroption="--srcdir=$${topdir}/isl"; \
13616 libsrcdir="$$s/isl"; \
13617 $(SHELL) $${libsrcdir}/configure \
13618 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13619 --target=${target_alias} $${srcdiroption} \
13620 --with-build-libsubdir=$(HOST_SUBDIR) \
13621 $(STAGE4_CONFIGURE_FLAGS) \
13622 --disable-shared @extra_isl_gmp_configure_flags@
13623 @endif isl-bootstrap
13625 .PHONY: configure-stageprofile-isl maybe-configure-stageprofile-isl
13626 maybe-configure-stageprofile-isl:
13627 @if isl-bootstrap
13628 maybe-configure-stageprofile-isl: configure-stageprofile-isl
13629 configure-stageprofile-isl:
13630 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13631 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13632 @r=`${PWD_COMMAND}`; export r; \
13633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13634 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13635 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13636 $(HOST_EXPORTS) \
13637 $(POSTSTAGE1_HOST_EXPORTS) \
13638 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
13639 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
13640 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
13641 echo Configuring stage profile in $(HOST_SUBDIR)/isl ; \
13642 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13643 cd $(HOST_SUBDIR)/isl || exit 1; \
13644 case $(srcdir) in \
13645 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13646 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13647 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13648 esac; \
13649 srcdiroption="--srcdir=$${topdir}/isl"; \
13650 libsrcdir="$$s/isl"; \
13651 $(SHELL) $${libsrcdir}/configure \
13652 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13653 --target=${target_alias} $${srcdiroption} \
13654 --with-build-libsubdir=$(HOST_SUBDIR) \
13655 $(STAGEprofile_CONFIGURE_FLAGS) \
13656 --disable-shared @extra_isl_gmp_configure_flags@
13657 @endif isl-bootstrap
13659 .PHONY: configure-stagefeedback-isl maybe-configure-stagefeedback-isl
13660 maybe-configure-stagefeedback-isl:
13661 @if isl-bootstrap
13662 maybe-configure-stagefeedback-isl: configure-stagefeedback-isl
13663 configure-stagefeedback-isl:
13664 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13665 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13666 @r=`${PWD_COMMAND}`; export r; \
13667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13668 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13669 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13670 $(HOST_EXPORTS) \
13671 $(POSTSTAGE1_HOST_EXPORTS) \
13672 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
13673 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
13674 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
13675 echo Configuring stage feedback in $(HOST_SUBDIR)/isl ; \
13676 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13677 cd $(HOST_SUBDIR)/isl || exit 1; \
13678 case $(srcdir) in \
13679 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13680 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13681 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13682 esac; \
13683 srcdiroption="--srcdir=$${topdir}/isl"; \
13684 libsrcdir="$$s/isl"; \
13685 $(SHELL) $${libsrcdir}/configure \
13686 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13687 --target=${target_alias} $${srcdiroption} \
13688 --with-build-libsubdir=$(HOST_SUBDIR) \
13689 $(STAGEfeedback_CONFIGURE_FLAGS) \
13690 --disable-shared @extra_isl_gmp_configure_flags@
13691 @endif isl-bootstrap
13697 .PHONY: all-isl maybe-all-isl
13698 maybe-all-isl:
13699 @if gcc-bootstrap
13700 all-isl: stage_current
13701 @endif gcc-bootstrap
13702 @if isl
13703 TARGET-isl=all
13704 maybe-all-isl: all-isl
13705 all-isl: configure-isl
13706 @r=`${PWD_COMMAND}`; export r; \
13707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13708 $(HOST_EXPORTS) \
13709 (cd $(HOST_SUBDIR)/isl && \
13710 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) V=1 \
13711 $(TARGET-isl))
13712 @endif isl
13716 .PHONY: all-stage1-isl maybe-all-stage1-isl
13717 .PHONY: clean-stage1-isl maybe-clean-stage1-isl
13718 maybe-all-stage1-isl:
13719 maybe-clean-stage1-isl:
13720 @if isl-bootstrap
13721 maybe-all-stage1-isl: all-stage1-isl
13722 all-stage1: all-stage1-isl
13723 TARGET-stage1-isl = $(TARGET-isl)
13724 all-stage1-isl: configure-stage1-isl
13725 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13726 @r=`${PWD_COMMAND}`; export r; \
13727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13728 TFLAGS="$(STAGE1_TFLAGS)"; \
13729 $(HOST_EXPORTS) \
13730 cd $(HOST_SUBDIR)/isl && \
13731 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13732 CFLAGS="$(STAGE1_CFLAGS)" \
13733 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
13734 LIBCFLAGS="$(LIBCFLAGS)" \
13735 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13736 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13737 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13738 $(EXTRA_HOST_FLAGS) \
13739 $(STAGE1_FLAGS_TO_PASS) V=1 \
13740 TFLAGS="$(STAGE1_TFLAGS)" \
13741 $(TARGET-stage1-isl)
13743 maybe-clean-stage1-isl: clean-stage1-isl
13744 clean-stage1: clean-stage1-isl
13745 clean-stage1-isl:
13746 @if [ $(current_stage) = stage1 ]; then \
13747 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13748 else \
13749 [ -f $(HOST_SUBDIR)/stage1-isl/Makefile ] || exit 0; \
13750 $(MAKE) stage1-start; \
13751 fi; \
13752 cd $(HOST_SUBDIR)/isl && \
13753 $(MAKE) $(EXTRA_HOST_FLAGS) \
13754 $(STAGE1_FLAGS_TO_PASS) V=1 clean
13755 @endif isl-bootstrap
13758 .PHONY: all-stage2-isl maybe-all-stage2-isl
13759 .PHONY: clean-stage2-isl maybe-clean-stage2-isl
13760 maybe-all-stage2-isl:
13761 maybe-clean-stage2-isl:
13762 @if isl-bootstrap
13763 maybe-all-stage2-isl: all-stage2-isl
13764 all-stage2: all-stage2-isl
13765 TARGET-stage2-isl = $(TARGET-isl)
13766 all-stage2-isl: configure-stage2-isl
13767 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13768 @r=`${PWD_COMMAND}`; export r; \
13769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13770 TFLAGS="$(STAGE2_TFLAGS)"; \
13771 $(HOST_EXPORTS) \
13772 $(POSTSTAGE1_HOST_EXPORTS) \
13773 cd $(HOST_SUBDIR)/isl && \
13774 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13775 CFLAGS="$(STAGE2_CFLAGS)" \
13776 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
13777 LIBCFLAGS="$(STAGE2_CFLAGS)" \
13778 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13779 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13780 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13781 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13782 TFLAGS="$(STAGE2_TFLAGS)" \
13783 $(TARGET-stage2-isl)
13785 maybe-clean-stage2-isl: clean-stage2-isl
13786 clean-stage2: clean-stage2-isl
13787 clean-stage2-isl:
13788 @if [ $(current_stage) = stage2 ]; then \
13789 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13790 else \
13791 [ -f $(HOST_SUBDIR)/stage2-isl/Makefile ] || exit 0; \
13792 $(MAKE) stage2-start; \
13793 fi; \
13794 cd $(HOST_SUBDIR)/isl && \
13795 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
13796 @endif isl-bootstrap
13799 .PHONY: all-stage3-isl maybe-all-stage3-isl
13800 .PHONY: clean-stage3-isl maybe-clean-stage3-isl
13801 maybe-all-stage3-isl:
13802 maybe-clean-stage3-isl:
13803 @if isl-bootstrap
13804 maybe-all-stage3-isl: all-stage3-isl
13805 all-stage3: all-stage3-isl
13806 TARGET-stage3-isl = $(TARGET-isl)
13807 all-stage3-isl: configure-stage3-isl
13808 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13809 @r=`${PWD_COMMAND}`; export r; \
13810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13811 TFLAGS="$(STAGE3_TFLAGS)"; \
13812 $(HOST_EXPORTS) \
13813 $(POSTSTAGE1_HOST_EXPORTS) \
13814 cd $(HOST_SUBDIR)/isl && \
13815 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13816 CFLAGS="$(STAGE3_CFLAGS)" \
13817 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
13818 LIBCFLAGS="$(STAGE3_CFLAGS)" \
13819 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13820 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13821 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13822 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13823 TFLAGS="$(STAGE3_TFLAGS)" \
13824 $(TARGET-stage3-isl)
13826 maybe-clean-stage3-isl: clean-stage3-isl
13827 clean-stage3: clean-stage3-isl
13828 clean-stage3-isl:
13829 @if [ $(current_stage) = stage3 ]; then \
13830 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13831 else \
13832 [ -f $(HOST_SUBDIR)/stage3-isl/Makefile ] || exit 0; \
13833 $(MAKE) stage3-start; \
13834 fi; \
13835 cd $(HOST_SUBDIR)/isl && \
13836 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
13837 @endif isl-bootstrap
13840 .PHONY: all-stage4-isl maybe-all-stage4-isl
13841 .PHONY: clean-stage4-isl maybe-clean-stage4-isl
13842 maybe-all-stage4-isl:
13843 maybe-clean-stage4-isl:
13844 @if isl-bootstrap
13845 maybe-all-stage4-isl: all-stage4-isl
13846 all-stage4: all-stage4-isl
13847 TARGET-stage4-isl = $(TARGET-isl)
13848 all-stage4-isl: configure-stage4-isl
13849 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13850 @r=`${PWD_COMMAND}`; export r; \
13851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13852 TFLAGS="$(STAGE4_TFLAGS)"; \
13853 $(HOST_EXPORTS) \
13854 $(POSTSTAGE1_HOST_EXPORTS) \
13855 cd $(HOST_SUBDIR)/isl && \
13856 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13857 CFLAGS="$(STAGE4_CFLAGS)" \
13858 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
13859 LIBCFLAGS="$(STAGE4_CFLAGS)" \
13860 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13861 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13862 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13863 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13864 TFLAGS="$(STAGE4_TFLAGS)" \
13865 $(TARGET-stage4-isl)
13867 maybe-clean-stage4-isl: clean-stage4-isl
13868 clean-stage4: clean-stage4-isl
13869 clean-stage4-isl:
13870 @if [ $(current_stage) = stage4 ]; then \
13871 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13872 else \
13873 [ -f $(HOST_SUBDIR)/stage4-isl/Makefile ] || exit 0; \
13874 $(MAKE) stage4-start; \
13875 fi; \
13876 cd $(HOST_SUBDIR)/isl && \
13877 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
13878 @endif isl-bootstrap
13881 .PHONY: all-stageprofile-isl maybe-all-stageprofile-isl
13882 .PHONY: clean-stageprofile-isl maybe-clean-stageprofile-isl
13883 maybe-all-stageprofile-isl:
13884 maybe-clean-stageprofile-isl:
13885 @if isl-bootstrap
13886 maybe-all-stageprofile-isl: all-stageprofile-isl
13887 all-stageprofile: all-stageprofile-isl
13888 TARGET-stageprofile-isl = $(TARGET-isl)
13889 all-stageprofile-isl: configure-stageprofile-isl
13890 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13891 @r=`${PWD_COMMAND}`; export r; \
13892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13893 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13894 $(HOST_EXPORTS) \
13895 $(POSTSTAGE1_HOST_EXPORTS) \
13896 cd $(HOST_SUBDIR)/isl && \
13897 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13898 CFLAGS="$(STAGEprofile_CFLAGS)" \
13899 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
13900 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
13901 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13902 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13903 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13904 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13905 TFLAGS="$(STAGEprofile_TFLAGS)" \
13906 $(TARGET-stageprofile-isl)
13908 maybe-clean-stageprofile-isl: clean-stageprofile-isl
13909 clean-stageprofile: clean-stageprofile-isl
13910 clean-stageprofile-isl:
13911 @if [ $(current_stage) = stageprofile ]; then \
13912 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13913 else \
13914 [ -f $(HOST_SUBDIR)/stageprofile-isl/Makefile ] || exit 0; \
13915 $(MAKE) stageprofile-start; \
13916 fi; \
13917 cd $(HOST_SUBDIR)/isl && \
13918 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
13919 @endif isl-bootstrap
13922 .PHONY: all-stagefeedback-isl maybe-all-stagefeedback-isl
13923 .PHONY: clean-stagefeedback-isl maybe-clean-stagefeedback-isl
13924 maybe-all-stagefeedback-isl:
13925 maybe-clean-stagefeedback-isl:
13926 @if isl-bootstrap
13927 maybe-all-stagefeedback-isl: all-stagefeedback-isl
13928 all-stagefeedback: all-stagefeedback-isl
13929 TARGET-stagefeedback-isl = $(TARGET-isl)
13930 all-stagefeedback-isl: configure-stagefeedback-isl
13931 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13932 @r=`${PWD_COMMAND}`; export r; \
13933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13934 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13935 $(HOST_EXPORTS) \
13936 $(POSTSTAGE1_HOST_EXPORTS) \
13937 cd $(HOST_SUBDIR)/isl && \
13938 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13939 CFLAGS="$(STAGEfeedback_CFLAGS)" \
13940 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
13941 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
13942 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13943 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13944 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13945 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13946 TFLAGS="$(STAGEfeedback_TFLAGS)" \
13947 $(TARGET-stagefeedback-isl)
13949 maybe-clean-stagefeedback-isl: clean-stagefeedback-isl
13950 clean-stagefeedback: clean-stagefeedback-isl
13951 clean-stagefeedback-isl:
13952 @if [ $(current_stage) = stagefeedback ]; then \
13953 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13954 else \
13955 [ -f $(HOST_SUBDIR)/stagefeedback-isl/Makefile ] || exit 0; \
13956 $(MAKE) stagefeedback-start; \
13957 fi; \
13958 cd $(HOST_SUBDIR)/isl && \
13959 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
13960 @endif isl-bootstrap
13966 .PHONY: check-isl maybe-check-isl
13967 maybe-check-isl:
13968 @if isl
13969 maybe-check-isl: check-isl
13971 check-isl:
13972 @: $(MAKE); $(unstage)
13973 @r=`${PWD_COMMAND}`; export r; \
13974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13975 $(HOST_EXPORTS) \
13976 (cd $(HOST_SUBDIR)/isl && \
13977 $(MAKE) $(FLAGS_TO_PASS) V=1 check)
13979 @endif isl
13981 .PHONY: install-isl maybe-install-isl
13982 maybe-install-isl:
13983 @if isl
13984 maybe-install-isl: install-isl
13986 install-isl:
13988 @endif isl
13990 .PHONY: install-strip-isl maybe-install-strip-isl
13991 maybe-install-strip-isl:
13992 @if isl
13993 maybe-install-strip-isl: install-strip-isl
13995 install-strip-isl:
13997 @endif isl
13999 # Other targets (info, dvi, pdf, etc.)
14001 .PHONY: maybe-info-isl info-isl
14002 maybe-info-isl:
14003 @if isl
14004 maybe-info-isl: info-isl
14006 info-isl: \
14007 configure-isl
14008 @[ -f ./isl/Makefile ] || exit 0; \
14009 r=`${PWD_COMMAND}`; export r; \
14010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14011 $(HOST_EXPORTS) \
14012 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14014 done; \
14015 echo "Doing info in isl" ; \
14016 (cd $(HOST_SUBDIR)/isl && \
14017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14019 "RANLIB=$${RANLIB}" \
14020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14021 info) \
14022 || exit 1
14024 @endif isl
14026 .PHONY: maybe-dvi-isl dvi-isl
14027 maybe-dvi-isl:
14028 @if isl
14029 maybe-dvi-isl: dvi-isl
14031 dvi-isl: \
14032 configure-isl
14033 @[ -f ./isl/Makefile ] || exit 0; \
14034 r=`${PWD_COMMAND}`; export r; \
14035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14036 $(HOST_EXPORTS) \
14037 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14039 done; \
14040 echo "Doing dvi in isl" ; \
14041 (cd $(HOST_SUBDIR)/isl && \
14042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14044 "RANLIB=$${RANLIB}" \
14045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14046 dvi) \
14047 || exit 1
14049 @endif isl
14051 .PHONY: maybe-pdf-isl pdf-isl
14052 maybe-pdf-isl:
14053 @if isl
14054 maybe-pdf-isl: pdf-isl
14056 pdf-isl: \
14057 configure-isl
14058 @[ -f ./isl/Makefile ] || exit 0; \
14059 r=`${PWD_COMMAND}`; export r; \
14060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14061 $(HOST_EXPORTS) \
14062 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14064 done; \
14065 echo "Doing pdf in isl" ; \
14066 (cd $(HOST_SUBDIR)/isl && \
14067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14069 "RANLIB=$${RANLIB}" \
14070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14071 pdf) \
14072 || exit 1
14074 @endif isl
14076 .PHONY: maybe-html-isl html-isl
14077 maybe-html-isl:
14078 @if isl
14079 maybe-html-isl: html-isl
14081 html-isl: \
14082 configure-isl
14083 @[ -f ./isl/Makefile ] || exit 0; \
14084 r=`${PWD_COMMAND}`; export r; \
14085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14086 $(HOST_EXPORTS) \
14087 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14089 done; \
14090 echo "Doing html in isl" ; \
14091 (cd $(HOST_SUBDIR)/isl && \
14092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14094 "RANLIB=$${RANLIB}" \
14095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14096 html) \
14097 || exit 1
14099 @endif isl
14101 .PHONY: maybe-TAGS-isl TAGS-isl
14102 maybe-TAGS-isl:
14103 @if isl
14104 maybe-TAGS-isl: TAGS-isl
14106 TAGS-isl: \
14107 configure-isl
14108 @[ -f ./isl/Makefile ] || exit 0; \
14109 r=`${PWD_COMMAND}`; export r; \
14110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14111 $(HOST_EXPORTS) \
14112 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14114 done; \
14115 echo "Doing TAGS in isl" ; \
14116 (cd $(HOST_SUBDIR)/isl && \
14117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14119 "RANLIB=$${RANLIB}" \
14120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14121 TAGS) \
14122 || exit 1
14124 @endif isl
14126 .PHONY: maybe-install-info-isl install-info-isl
14127 maybe-install-info-isl:
14128 @if isl
14129 maybe-install-info-isl: install-info-isl
14131 install-info-isl: \
14132 configure-isl \
14133 info-isl
14134 @[ -f ./isl/Makefile ] || exit 0; \
14135 r=`${PWD_COMMAND}`; export r; \
14136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14137 $(HOST_EXPORTS) \
14138 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14140 done; \
14141 echo "Doing install-info in isl" ; \
14142 (cd $(HOST_SUBDIR)/isl && \
14143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14145 "RANLIB=$${RANLIB}" \
14146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14147 install-info) \
14148 || exit 1
14150 @endif isl
14152 .PHONY: maybe-install-pdf-isl install-pdf-isl
14153 maybe-install-pdf-isl:
14154 @if isl
14155 maybe-install-pdf-isl: install-pdf-isl
14157 install-pdf-isl: \
14158 configure-isl \
14159 pdf-isl
14160 @[ -f ./isl/Makefile ] || exit 0; \
14161 r=`${PWD_COMMAND}`; export r; \
14162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14163 $(HOST_EXPORTS) \
14164 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14166 done; \
14167 echo "Doing install-pdf in isl" ; \
14168 (cd $(HOST_SUBDIR)/isl && \
14169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14171 "RANLIB=$${RANLIB}" \
14172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14173 install-pdf) \
14174 || exit 1
14176 @endif isl
14178 .PHONY: maybe-install-html-isl install-html-isl
14179 maybe-install-html-isl:
14180 @if isl
14181 maybe-install-html-isl: install-html-isl
14183 install-html-isl: \
14184 configure-isl \
14185 html-isl
14186 @[ -f ./isl/Makefile ] || exit 0; \
14187 r=`${PWD_COMMAND}`; export r; \
14188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14189 $(HOST_EXPORTS) \
14190 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14192 done; \
14193 echo "Doing install-html in isl" ; \
14194 (cd $(HOST_SUBDIR)/isl && \
14195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14197 "RANLIB=$${RANLIB}" \
14198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14199 install-html) \
14200 || exit 1
14202 @endif isl
14204 .PHONY: maybe-installcheck-isl installcheck-isl
14205 maybe-installcheck-isl:
14206 @if isl
14207 maybe-installcheck-isl: installcheck-isl
14209 installcheck-isl: \
14210 configure-isl
14211 @[ -f ./isl/Makefile ] || exit 0; \
14212 r=`${PWD_COMMAND}`; export r; \
14213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14214 $(HOST_EXPORTS) \
14215 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14217 done; \
14218 echo "Doing installcheck in isl" ; \
14219 (cd $(HOST_SUBDIR)/isl && \
14220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14222 "RANLIB=$${RANLIB}" \
14223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14224 installcheck) \
14225 || exit 1
14227 @endif isl
14229 .PHONY: maybe-mostlyclean-isl mostlyclean-isl
14230 maybe-mostlyclean-isl:
14231 @if isl
14232 maybe-mostlyclean-isl: mostlyclean-isl
14234 mostlyclean-isl:
14235 @[ -f ./isl/Makefile ] || exit 0; \
14236 r=`${PWD_COMMAND}`; export r; \
14237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14238 $(HOST_EXPORTS) \
14239 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14241 done; \
14242 echo "Doing mostlyclean in isl" ; \
14243 (cd $(HOST_SUBDIR)/isl && \
14244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14246 "RANLIB=$${RANLIB}" \
14247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14248 mostlyclean) \
14249 || exit 1
14251 @endif isl
14253 .PHONY: maybe-clean-isl clean-isl
14254 maybe-clean-isl:
14255 @if isl
14256 maybe-clean-isl: clean-isl
14258 clean-isl:
14259 @[ -f ./isl/Makefile ] || exit 0; \
14260 r=`${PWD_COMMAND}`; export r; \
14261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14262 $(HOST_EXPORTS) \
14263 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14265 done; \
14266 echo "Doing clean in isl" ; \
14267 (cd $(HOST_SUBDIR)/isl && \
14268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14270 "RANLIB=$${RANLIB}" \
14271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14272 clean) \
14273 || exit 1
14275 @endif isl
14277 .PHONY: maybe-distclean-isl distclean-isl
14278 maybe-distclean-isl:
14279 @if isl
14280 maybe-distclean-isl: distclean-isl
14282 distclean-isl:
14283 @[ -f ./isl/Makefile ] || exit 0; \
14284 r=`${PWD_COMMAND}`; export r; \
14285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14286 $(HOST_EXPORTS) \
14287 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14289 done; \
14290 echo "Doing distclean in isl" ; \
14291 (cd $(HOST_SUBDIR)/isl && \
14292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14294 "RANLIB=$${RANLIB}" \
14295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14296 distclean) \
14297 || exit 1
14299 @endif isl
14301 .PHONY: maybe-maintainer-clean-isl maintainer-clean-isl
14302 maybe-maintainer-clean-isl:
14303 @if isl
14304 maybe-maintainer-clean-isl: maintainer-clean-isl
14306 maintainer-clean-isl:
14307 @[ -f ./isl/Makefile ] || exit 0; \
14308 r=`${PWD_COMMAND}`; export r; \
14309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14310 $(HOST_EXPORTS) \
14311 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14313 done; \
14314 echo "Doing maintainer-clean in isl" ; \
14315 (cd $(HOST_SUBDIR)/isl && \
14316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14318 "RANLIB=$${RANLIB}" \
14319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14320 maintainer-clean) \
14321 || exit 1
14323 @endif isl
14327 .PHONY: configure-cloog maybe-configure-cloog
14328 maybe-configure-cloog:
14329 @if gcc-bootstrap
14330 configure-cloog: stage_current
14331 @endif gcc-bootstrap
14332 @if cloog
14333 maybe-configure-cloog: configure-cloog
14334 configure-cloog:
14335 @r=`${PWD_COMMAND}`; export r; \
14336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14337 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
14338 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
14339 $(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; \
14340 echo Configuring in $(HOST_SUBDIR)/cloog; \
14341 cd "$(HOST_SUBDIR)/cloog" || exit 1; \
14342 case $(srcdir) in \
14343 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14344 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
14345 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14346 esac; \
14347 srcdiroption="--srcdir=$${topdir}/cloog"; \
14348 libsrcdir="$$s/cloog"; \
14349 $(SHELL) $${libsrcdir}/configure \
14350 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14351 --target=${target_alias} $${srcdiroption} --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system \
14352 || exit 1
14353 @endif cloog
14357 .PHONY: configure-stage1-cloog maybe-configure-stage1-cloog
14358 maybe-configure-stage1-cloog:
14359 @if cloog-bootstrap
14360 maybe-configure-stage1-cloog: configure-stage1-cloog
14361 configure-stage1-cloog:
14362 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14363 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
14364 @r=`${PWD_COMMAND}`; export r; \
14365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14366 TFLAGS="$(STAGE1_TFLAGS)"; \
14367 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
14368 $(HOST_EXPORTS) \
14369 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
14370 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
14371 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; \
14372 echo Configuring stage 1 in $(HOST_SUBDIR)/cloog ; \
14373 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
14374 cd $(HOST_SUBDIR)/cloog || exit 1; \
14375 case $(srcdir) in \
14376 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14377 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
14378 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14379 esac; \
14380 srcdiroption="--srcdir=$${topdir}/cloog"; \
14381 libsrcdir="$$s/cloog"; \
14382 $(SHELL) $${libsrcdir}/configure \
14383 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14384 --target=${target_alias} $${srcdiroption} \
14385 $(STAGE1_CONFIGURE_FLAGS) \
14386 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
14387 @endif cloog-bootstrap
14389 .PHONY: configure-stage2-cloog maybe-configure-stage2-cloog
14390 maybe-configure-stage2-cloog:
14391 @if cloog-bootstrap
14392 maybe-configure-stage2-cloog: configure-stage2-cloog
14393 configure-stage2-cloog:
14394 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14395 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
14396 @r=`${PWD_COMMAND}`; export r; \
14397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14398 TFLAGS="$(STAGE2_TFLAGS)"; \
14399 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
14400 $(HOST_EXPORTS) \
14401 $(POSTSTAGE1_HOST_EXPORTS) \
14402 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
14403 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
14404 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; \
14405 echo Configuring stage 2 in $(HOST_SUBDIR)/cloog ; \
14406 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
14407 cd $(HOST_SUBDIR)/cloog || exit 1; \
14408 case $(srcdir) in \
14409 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14410 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
14411 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14412 esac; \
14413 srcdiroption="--srcdir=$${topdir}/cloog"; \
14414 libsrcdir="$$s/cloog"; \
14415 $(SHELL) $${libsrcdir}/configure \
14416 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14417 --target=${target_alias} $${srcdiroption} \
14418 --with-build-libsubdir=$(HOST_SUBDIR) \
14419 $(STAGE2_CONFIGURE_FLAGS) \
14420 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
14421 @endif cloog-bootstrap
14423 .PHONY: configure-stage3-cloog maybe-configure-stage3-cloog
14424 maybe-configure-stage3-cloog:
14425 @if cloog-bootstrap
14426 maybe-configure-stage3-cloog: configure-stage3-cloog
14427 configure-stage3-cloog:
14428 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14429 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
14430 @r=`${PWD_COMMAND}`; export r; \
14431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14432 TFLAGS="$(STAGE3_TFLAGS)"; \
14433 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
14434 $(HOST_EXPORTS) \
14435 $(POSTSTAGE1_HOST_EXPORTS) \
14436 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
14437 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
14438 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; \
14439 echo Configuring stage 3 in $(HOST_SUBDIR)/cloog ; \
14440 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
14441 cd $(HOST_SUBDIR)/cloog || exit 1; \
14442 case $(srcdir) in \
14443 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14444 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
14445 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14446 esac; \
14447 srcdiroption="--srcdir=$${topdir}/cloog"; \
14448 libsrcdir="$$s/cloog"; \
14449 $(SHELL) $${libsrcdir}/configure \
14450 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14451 --target=${target_alias} $${srcdiroption} \
14452 --with-build-libsubdir=$(HOST_SUBDIR) \
14453 $(STAGE3_CONFIGURE_FLAGS) \
14454 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
14455 @endif cloog-bootstrap
14457 .PHONY: configure-stage4-cloog maybe-configure-stage4-cloog
14458 maybe-configure-stage4-cloog:
14459 @if cloog-bootstrap
14460 maybe-configure-stage4-cloog: configure-stage4-cloog
14461 configure-stage4-cloog:
14462 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14463 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
14464 @r=`${PWD_COMMAND}`; export r; \
14465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14466 TFLAGS="$(STAGE4_TFLAGS)"; \
14467 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
14468 $(HOST_EXPORTS) \
14469 $(POSTSTAGE1_HOST_EXPORTS) \
14470 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
14471 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
14472 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; \
14473 echo Configuring stage 4 in $(HOST_SUBDIR)/cloog ; \
14474 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
14475 cd $(HOST_SUBDIR)/cloog || exit 1; \
14476 case $(srcdir) in \
14477 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14478 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
14479 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14480 esac; \
14481 srcdiroption="--srcdir=$${topdir}/cloog"; \
14482 libsrcdir="$$s/cloog"; \
14483 $(SHELL) $${libsrcdir}/configure \
14484 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14485 --target=${target_alias} $${srcdiroption} \
14486 --with-build-libsubdir=$(HOST_SUBDIR) \
14487 $(STAGE4_CONFIGURE_FLAGS) \
14488 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
14489 @endif cloog-bootstrap
14491 .PHONY: configure-stageprofile-cloog maybe-configure-stageprofile-cloog
14492 maybe-configure-stageprofile-cloog:
14493 @if cloog-bootstrap
14494 maybe-configure-stageprofile-cloog: configure-stageprofile-cloog
14495 configure-stageprofile-cloog:
14496 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14497 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
14498 @r=`${PWD_COMMAND}`; export r; \
14499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14500 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14501 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
14502 $(HOST_EXPORTS) \
14503 $(POSTSTAGE1_HOST_EXPORTS) \
14504 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
14505 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
14506 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; \
14507 echo Configuring stage profile in $(HOST_SUBDIR)/cloog ; \
14508 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
14509 cd $(HOST_SUBDIR)/cloog || exit 1; \
14510 case $(srcdir) in \
14511 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14512 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
14513 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14514 esac; \
14515 srcdiroption="--srcdir=$${topdir}/cloog"; \
14516 libsrcdir="$$s/cloog"; \
14517 $(SHELL) $${libsrcdir}/configure \
14518 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14519 --target=${target_alias} $${srcdiroption} \
14520 --with-build-libsubdir=$(HOST_SUBDIR) \
14521 $(STAGEprofile_CONFIGURE_FLAGS) \
14522 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
14523 @endif cloog-bootstrap
14525 .PHONY: configure-stagefeedback-cloog maybe-configure-stagefeedback-cloog
14526 maybe-configure-stagefeedback-cloog:
14527 @if cloog-bootstrap
14528 maybe-configure-stagefeedback-cloog: configure-stagefeedback-cloog
14529 configure-stagefeedback-cloog:
14530 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14531 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog
14532 @r=`${PWD_COMMAND}`; export r; \
14533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14534 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14535 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \
14536 $(HOST_EXPORTS) \
14537 $(POSTSTAGE1_HOST_EXPORTS) \
14538 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
14539 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
14540 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; \
14541 echo Configuring stage feedback in $(HOST_SUBDIR)/cloog ; \
14542 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \
14543 cd $(HOST_SUBDIR)/cloog || exit 1; \
14544 case $(srcdir) in \
14545 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14546 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \
14547 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14548 esac; \
14549 srcdiroption="--srcdir=$${topdir}/cloog"; \
14550 libsrcdir="$$s/cloog"; \
14551 $(SHELL) $${libsrcdir}/configure \
14552 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14553 --target=${target_alias} $${srcdiroption} \
14554 --with-build-libsubdir=$(HOST_SUBDIR) \
14555 $(STAGEfeedback_CONFIGURE_FLAGS) \
14556 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system
14557 @endif cloog-bootstrap
14563 .PHONY: all-cloog maybe-all-cloog
14564 maybe-all-cloog:
14565 @if gcc-bootstrap
14566 all-cloog: stage_current
14567 @endif gcc-bootstrap
14568 @if cloog
14569 TARGET-cloog=all
14570 maybe-all-cloog: all-cloog
14571 all-cloog: configure-cloog
14572 @r=`${PWD_COMMAND}`; export r; \
14573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14574 $(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; \
14575 (cd $(HOST_SUBDIR)/cloog && \
14576 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14577 $(TARGET-cloog))
14578 @endif cloog
14582 .PHONY: all-stage1-cloog maybe-all-stage1-cloog
14583 .PHONY: clean-stage1-cloog maybe-clean-stage1-cloog
14584 maybe-all-stage1-cloog:
14585 maybe-clean-stage1-cloog:
14586 @if cloog-bootstrap
14587 maybe-all-stage1-cloog: all-stage1-cloog
14588 all-stage1: all-stage1-cloog
14589 TARGET-stage1-cloog = $(TARGET-cloog)
14590 all-stage1-cloog: configure-stage1-cloog
14591 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14592 @r=`${PWD_COMMAND}`; export r; \
14593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14594 TFLAGS="$(STAGE1_TFLAGS)"; \
14595 $(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; \
14596 cd $(HOST_SUBDIR)/cloog && \
14597 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14598 CFLAGS="$(STAGE1_CFLAGS)" \
14599 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
14600 LIBCFLAGS="$(LIBCFLAGS)" \
14601 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14602 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14603 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14604 $(EXTRA_HOST_FLAGS) \
14605 $(STAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14606 TFLAGS="$(STAGE1_TFLAGS)" \
14607 $(TARGET-stage1-cloog)
14609 maybe-clean-stage1-cloog: clean-stage1-cloog
14610 clean-stage1: clean-stage1-cloog
14611 clean-stage1-cloog:
14612 @if [ $(current_stage) = stage1 ]; then \
14613 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14614 else \
14615 [ -f $(HOST_SUBDIR)/stage1-cloog/Makefile ] || exit 0; \
14616 $(MAKE) stage1-start; \
14617 fi; \
14618 cd $(HOST_SUBDIR)/cloog && \
14619 $(MAKE) $(EXTRA_HOST_FLAGS) \
14620 $(STAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14621 @endif cloog-bootstrap
14624 .PHONY: all-stage2-cloog maybe-all-stage2-cloog
14625 .PHONY: clean-stage2-cloog maybe-clean-stage2-cloog
14626 maybe-all-stage2-cloog:
14627 maybe-clean-stage2-cloog:
14628 @if cloog-bootstrap
14629 maybe-all-stage2-cloog: all-stage2-cloog
14630 all-stage2: all-stage2-cloog
14631 TARGET-stage2-cloog = $(TARGET-cloog)
14632 all-stage2-cloog: configure-stage2-cloog
14633 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14634 @r=`${PWD_COMMAND}`; export r; \
14635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14636 TFLAGS="$(STAGE2_TFLAGS)"; \
14637 $(HOST_EXPORTS) \
14638 $(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; \
14639 cd $(HOST_SUBDIR)/cloog && \
14640 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14641 CFLAGS="$(STAGE2_CFLAGS)" \
14642 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
14643 LIBCFLAGS="$(STAGE2_CFLAGS)" \
14644 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14645 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14646 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14647 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14648 TFLAGS="$(STAGE2_TFLAGS)" \
14649 $(TARGET-stage2-cloog)
14651 maybe-clean-stage2-cloog: clean-stage2-cloog
14652 clean-stage2: clean-stage2-cloog
14653 clean-stage2-cloog:
14654 @if [ $(current_stage) = stage2 ]; then \
14655 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14656 else \
14657 [ -f $(HOST_SUBDIR)/stage2-cloog/Makefile ] || exit 0; \
14658 $(MAKE) stage2-start; \
14659 fi; \
14660 cd $(HOST_SUBDIR)/cloog && \
14661 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14662 @endif cloog-bootstrap
14665 .PHONY: all-stage3-cloog maybe-all-stage3-cloog
14666 .PHONY: clean-stage3-cloog maybe-clean-stage3-cloog
14667 maybe-all-stage3-cloog:
14668 maybe-clean-stage3-cloog:
14669 @if cloog-bootstrap
14670 maybe-all-stage3-cloog: all-stage3-cloog
14671 all-stage3: all-stage3-cloog
14672 TARGET-stage3-cloog = $(TARGET-cloog)
14673 all-stage3-cloog: configure-stage3-cloog
14674 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14675 @r=`${PWD_COMMAND}`; export r; \
14676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14677 TFLAGS="$(STAGE3_TFLAGS)"; \
14678 $(HOST_EXPORTS) \
14679 $(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; \
14680 cd $(HOST_SUBDIR)/cloog && \
14681 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14682 CFLAGS="$(STAGE3_CFLAGS)" \
14683 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
14684 LIBCFLAGS="$(STAGE3_CFLAGS)" \
14685 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14686 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14687 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14688 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14689 TFLAGS="$(STAGE3_TFLAGS)" \
14690 $(TARGET-stage3-cloog)
14692 maybe-clean-stage3-cloog: clean-stage3-cloog
14693 clean-stage3: clean-stage3-cloog
14694 clean-stage3-cloog:
14695 @if [ $(current_stage) = stage3 ]; then \
14696 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14697 else \
14698 [ -f $(HOST_SUBDIR)/stage3-cloog/Makefile ] || exit 0; \
14699 $(MAKE) stage3-start; \
14700 fi; \
14701 cd $(HOST_SUBDIR)/cloog && \
14702 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14703 @endif cloog-bootstrap
14706 .PHONY: all-stage4-cloog maybe-all-stage4-cloog
14707 .PHONY: clean-stage4-cloog maybe-clean-stage4-cloog
14708 maybe-all-stage4-cloog:
14709 maybe-clean-stage4-cloog:
14710 @if cloog-bootstrap
14711 maybe-all-stage4-cloog: all-stage4-cloog
14712 all-stage4: all-stage4-cloog
14713 TARGET-stage4-cloog = $(TARGET-cloog)
14714 all-stage4-cloog: configure-stage4-cloog
14715 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14716 @r=`${PWD_COMMAND}`; export r; \
14717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14718 TFLAGS="$(STAGE4_TFLAGS)"; \
14719 $(HOST_EXPORTS) \
14720 $(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; \
14721 cd $(HOST_SUBDIR)/cloog && \
14722 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14723 CFLAGS="$(STAGE4_CFLAGS)" \
14724 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
14725 LIBCFLAGS="$(STAGE4_CFLAGS)" \
14726 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14727 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14728 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14729 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14730 TFLAGS="$(STAGE4_TFLAGS)" \
14731 $(TARGET-stage4-cloog)
14733 maybe-clean-stage4-cloog: clean-stage4-cloog
14734 clean-stage4: clean-stage4-cloog
14735 clean-stage4-cloog:
14736 @if [ $(current_stage) = stage4 ]; then \
14737 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14738 else \
14739 [ -f $(HOST_SUBDIR)/stage4-cloog/Makefile ] || exit 0; \
14740 $(MAKE) stage4-start; \
14741 fi; \
14742 cd $(HOST_SUBDIR)/cloog && \
14743 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14744 @endif cloog-bootstrap
14747 .PHONY: all-stageprofile-cloog maybe-all-stageprofile-cloog
14748 .PHONY: clean-stageprofile-cloog maybe-clean-stageprofile-cloog
14749 maybe-all-stageprofile-cloog:
14750 maybe-clean-stageprofile-cloog:
14751 @if cloog-bootstrap
14752 maybe-all-stageprofile-cloog: all-stageprofile-cloog
14753 all-stageprofile: all-stageprofile-cloog
14754 TARGET-stageprofile-cloog = $(TARGET-cloog)
14755 all-stageprofile-cloog: configure-stageprofile-cloog
14756 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14757 @r=`${PWD_COMMAND}`; export r; \
14758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14759 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14760 $(HOST_EXPORTS) \
14761 $(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; \
14762 cd $(HOST_SUBDIR)/cloog && \
14763 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14764 CFLAGS="$(STAGEprofile_CFLAGS)" \
14765 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
14766 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
14767 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14768 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14769 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14770 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14771 TFLAGS="$(STAGEprofile_TFLAGS)" \
14772 $(TARGET-stageprofile-cloog)
14774 maybe-clean-stageprofile-cloog: clean-stageprofile-cloog
14775 clean-stageprofile: clean-stageprofile-cloog
14776 clean-stageprofile-cloog:
14777 @if [ $(current_stage) = stageprofile ]; then \
14778 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14779 else \
14780 [ -f $(HOST_SUBDIR)/stageprofile-cloog/Makefile ] || exit 0; \
14781 $(MAKE) stageprofile-start; \
14782 fi; \
14783 cd $(HOST_SUBDIR)/cloog && \
14784 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14785 @endif cloog-bootstrap
14788 .PHONY: all-stagefeedback-cloog maybe-all-stagefeedback-cloog
14789 .PHONY: clean-stagefeedback-cloog maybe-clean-stagefeedback-cloog
14790 maybe-all-stagefeedback-cloog:
14791 maybe-clean-stagefeedback-cloog:
14792 @if cloog-bootstrap
14793 maybe-all-stagefeedback-cloog: all-stagefeedback-cloog
14794 all-stagefeedback: all-stagefeedback-cloog
14795 TARGET-stagefeedback-cloog = $(TARGET-cloog)
14796 all-stagefeedback-cloog: configure-stagefeedback-cloog
14797 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14798 @r=`${PWD_COMMAND}`; export r; \
14799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14800 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14801 $(HOST_EXPORTS) \
14802 $(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; \
14803 cd $(HOST_SUBDIR)/cloog && \
14804 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14805 CFLAGS="$(STAGEfeedback_CFLAGS)" \
14806 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
14807 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
14808 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14809 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14810 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14811 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \
14812 TFLAGS="$(STAGEfeedback_TFLAGS)" \
14813 $(TARGET-stagefeedback-cloog)
14815 maybe-clean-stagefeedback-cloog: clean-stagefeedback-cloog
14816 clean-stagefeedback: clean-stagefeedback-cloog
14817 clean-stagefeedback-cloog:
14818 @if [ $(current_stage) = stagefeedback ]; then \
14819 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \
14820 else \
14821 [ -f $(HOST_SUBDIR)/stagefeedback-cloog/Makefile ] || exit 0; \
14822 $(MAKE) stagefeedback-start; \
14823 fi; \
14824 cd $(HOST_SUBDIR)/cloog && \
14825 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean
14826 @endif cloog-bootstrap
14832 .PHONY: check-cloog maybe-check-cloog
14833 maybe-check-cloog:
14834 @if cloog
14835 maybe-check-cloog: check-cloog
14837 check-cloog:
14838 @: $(MAKE); $(unstage)
14839 @r=`${PWD_COMMAND}`; export r; \
14840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14841 $(HOST_EXPORTS) \
14842 (cd $(HOST_SUBDIR)/cloog && \
14843 $(MAKE) $(FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 check)
14845 @endif cloog
14847 .PHONY: install-cloog maybe-install-cloog
14848 maybe-install-cloog:
14849 @if cloog
14850 maybe-install-cloog: install-cloog
14852 install-cloog:
14854 @endif cloog
14856 .PHONY: install-strip-cloog maybe-install-strip-cloog
14857 maybe-install-strip-cloog:
14858 @if cloog
14859 maybe-install-strip-cloog: install-strip-cloog
14861 install-strip-cloog:
14863 @endif cloog
14865 # Other targets (info, dvi, pdf, etc.)
14867 .PHONY: maybe-info-cloog info-cloog
14868 maybe-info-cloog:
14869 @if cloog
14870 maybe-info-cloog: info-cloog
14872 info-cloog: \
14873 configure-cloog
14874 @[ -f ./cloog/Makefile ] || exit 0; \
14875 r=`${PWD_COMMAND}`; export r; \
14876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14877 $(HOST_EXPORTS) \
14878 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14880 done; \
14881 echo "Doing info in cloog" ; \
14882 (cd $(HOST_SUBDIR)/cloog && \
14883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14885 "RANLIB=$${RANLIB}" \
14886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14887 info) \
14888 || exit 1
14890 @endif cloog
14892 .PHONY: maybe-dvi-cloog dvi-cloog
14893 maybe-dvi-cloog:
14894 @if cloog
14895 maybe-dvi-cloog: dvi-cloog
14897 dvi-cloog: \
14898 configure-cloog
14899 @[ -f ./cloog/Makefile ] || exit 0; \
14900 r=`${PWD_COMMAND}`; export r; \
14901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14902 $(HOST_EXPORTS) \
14903 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14905 done; \
14906 echo "Doing dvi in cloog" ; \
14907 (cd $(HOST_SUBDIR)/cloog && \
14908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14910 "RANLIB=$${RANLIB}" \
14911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14912 dvi) \
14913 || exit 1
14915 @endif cloog
14917 .PHONY: maybe-pdf-cloog pdf-cloog
14918 maybe-pdf-cloog:
14919 @if cloog
14920 maybe-pdf-cloog: pdf-cloog
14922 pdf-cloog: \
14923 configure-cloog
14924 @[ -f ./cloog/Makefile ] || exit 0; \
14925 r=`${PWD_COMMAND}`; export r; \
14926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14927 $(HOST_EXPORTS) \
14928 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14930 done; \
14931 echo "Doing pdf in cloog" ; \
14932 (cd $(HOST_SUBDIR)/cloog && \
14933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14935 "RANLIB=$${RANLIB}" \
14936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14937 pdf) \
14938 || exit 1
14940 @endif cloog
14942 .PHONY: maybe-html-cloog html-cloog
14943 maybe-html-cloog:
14944 @if cloog
14945 maybe-html-cloog: html-cloog
14947 html-cloog: \
14948 configure-cloog
14949 @[ -f ./cloog/Makefile ] || exit 0; \
14950 r=`${PWD_COMMAND}`; export r; \
14951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14952 $(HOST_EXPORTS) \
14953 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14955 done; \
14956 echo "Doing html in cloog" ; \
14957 (cd $(HOST_SUBDIR)/cloog && \
14958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14960 "RANLIB=$${RANLIB}" \
14961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14962 html) \
14963 || exit 1
14965 @endif cloog
14967 .PHONY: maybe-TAGS-cloog TAGS-cloog
14968 maybe-TAGS-cloog:
14969 @if cloog
14970 maybe-TAGS-cloog: TAGS-cloog
14972 TAGS-cloog: \
14973 configure-cloog
14974 @[ -f ./cloog/Makefile ] || exit 0; \
14975 r=`${PWD_COMMAND}`; export r; \
14976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14977 $(HOST_EXPORTS) \
14978 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
14979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14980 done; \
14981 echo "Doing TAGS in cloog" ; \
14982 (cd $(HOST_SUBDIR)/cloog && \
14983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14985 "RANLIB=$${RANLIB}" \
14986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14987 TAGS) \
14988 || exit 1
14990 @endif cloog
14992 .PHONY: maybe-install-info-cloog install-info-cloog
14993 maybe-install-info-cloog:
14994 @if cloog
14995 maybe-install-info-cloog: install-info-cloog
14997 install-info-cloog: \
14998 configure-cloog \
14999 info-cloog
15000 @[ -f ./cloog/Makefile ] || exit 0; \
15001 r=`${PWD_COMMAND}`; export r; \
15002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15003 $(HOST_EXPORTS) \
15004 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
15005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15006 done; \
15007 echo "Doing install-info in cloog" ; \
15008 (cd $(HOST_SUBDIR)/cloog && \
15009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15011 "RANLIB=$${RANLIB}" \
15012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15013 install-info) \
15014 || exit 1
15016 @endif cloog
15018 .PHONY: maybe-install-pdf-cloog install-pdf-cloog
15019 maybe-install-pdf-cloog:
15020 @if cloog
15021 maybe-install-pdf-cloog: install-pdf-cloog
15023 install-pdf-cloog: \
15024 configure-cloog \
15025 pdf-cloog
15026 @[ -f ./cloog/Makefile ] || exit 0; \
15027 r=`${PWD_COMMAND}`; export r; \
15028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15029 $(HOST_EXPORTS) \
15030 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
15031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15032 done; \
15033 echo "Doing install-pdf in cloog" ; \
15034 (cd $(HOST_SUBDIR)/cloog && \
15035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15037 "RANLIB=$${RANLIB}" \
15038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15039 install-pdf) \
15040 || exit 1
15042 @endif cloog
15044 .PHONY: maybe-install-html-cloog install-html-cloog
15045 maybe-install-html-cloog:
15046 @if cloog
15047 maybe-install-html-cloog: install-html-cloog
15049 install-html-cloog: \
15050 configure-cloog \
15051 html-cloog
15052 @[ -f ./cloog/Makefile ] || exit 0; \
15053 r=`${PWD_COMMAND}`; export r; \
15054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15055 $(HOST_EXPORTS) \
15056 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
15057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15058 done; \
15059 echo "Doing install-html in cloog" ; \
15060 (cd $(HOST_SUBDIR)/cloog && \
15061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15063 "RANLIB=$${RANLIB}" \
15064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15065 install-html) \
15066 || exit 1
15068 @endif cloog
15070 .PHONY: maybe-installcheck-cloog installcheck-cloog
15071 maybe-installcheck-cloog:
15072 @if cloog
15073 maybe-installcheck-cloog: installcheck-cloog
15075 installcheck-cloog: \
15076 configure-cloog
15077 @[ -f ./cloog/Makefile ] || exit 0; \
15078 r=`${PWD_COMMAND}`; export r; \
15079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15080 $(HOST_EXPORTS) \
15081 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
15082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15083 done; \
15084 echo "Doing installcheck in cloog" ; \
15085 (cd $(HOST_SUBDIR)/cloog && \
15086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15088 "RANLIB=$${RANLIB}" \
15089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15090 installcheck) \
15091 || exit 1
15093 @endif cloog
15095 .PHONY: maybe-mostlyclean-cloog mostlyclean-cloog
15096 maybe-mostlyclean-cloog:
15097 @if cloog
15098 maybe-mostlyclean-cloog: mostlyclean-cloog
15100 mostlyclean-cloog:
15101 @[ -f ./cloog/Makefile ] || exit 0; \
15102 r=`${PWD_COMMAND}`; export r; \
15103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15104 $(HOST_EXPORTS) \
15105 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
15106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15107 done; \
15108 echo "Doing mostlyclean in cloog" ; \
15109 (cd $(HOST_SUBDIR)/cloog && \
15110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15112 "RANLIB=$${RANLIB}" \
15113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15114 mostlyclean) \
15115 || exit 1
15117 @endif cloog
15119 .PHONY: maybe-clean-cloog clean-cloog
15120 maybe-clean-cloog:
15121 @if cloog
15122 maybe-clean-cloog: clean-cloog
15124 clean-cloog:
15125 @[ -f ./cloog/Makefile ] || exit 0; \
15126 r=`${PWD_COMMAND}`; export r; \
15127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15128 $(HOST_EXPORTS) \
15129 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
15130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15131 done; \
15132 echo "Doing clean in cloog" ; \
15133 (cd $(HOST_SUBDIR)/cloog && \
15134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15136 "RANLIB=$${RANLIB}" \
15137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15138 clean) \
15139 || exit 1
15141 @endif cloog
15143 .PHONY: maybe-distclean-cloog distclean-cloog
15144 maybe-distclean-cloog:
15145 @if cloog
15146 maybe-distclean-cloog: distclean-cloog
15148 distclean-cloog:
15149 @[ -f ./cloog/Makefile ] || exit 0; \
15150 r=`${PWD_COMMAND}`; export r; \
15151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15152 $(HOST_EXPORTS) \
15153 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
15154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15155 done; \
15156 echo "Doing distclean in cloog" ; \
15157 (cd $(HOST_SUBDIR)/cloog && \
15158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15160 "RANLIB=$${RANLIB}" \
15161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15162 distclean) \
15163 || exit 1
15165 @endif cloog
15167 .PHONY: maybe-maintainer-clean-cloog maintainer-clean-cloog
15168 maybe-maintainer-clean-cloog:
15169 @if cloog
15170 maybe-maintainer-clean-cloog: maintainer-clean-cloog
15172 maintainer-clean-cloog:
15173 @[ -f ./cloog/Makefile ] || exit 0; \
15174 r=`${PWD_COMMAND}`; export r; \
15175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15176 $(HOST_EXPORTS) \
15177 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \
15178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15179 done; \
15180 echo "Doing maintainer-clean in cloog" ; \
15181 (cd $(HOST_SUBDIR)/cloog && \
15182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15184 "RANLIB=$${RANLIB}" \
15185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15186 maintainer-clean) \
15187 || exit 1
15189 @endif cloog
15193 .PHONY: configure-libelf maybe-configure-libelf
15194 maybe-configure-libelf:
15195 @if gcc-bootstrap
15196 configure-libelf: stage_current
15197 @endif gcc-bootstrap
15198 @if libelf
15199 maybe-configure-libelf: configure-libelf
15200 configure-libelf:
15201 @r=`${PWD_COMMAND}`; export r; \
15202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15203 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
15204 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
15205 $(HOST_EXPORTS) \
15206 echo Configuring in $(HOST_SUBDIR)/libelf; \
15207 cd "$(HOST_SUBDIR)/libelf" || exit 1; \
15208 case $(srcdir) in \
15209 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15210 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
15211 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15212 esac; \
15213 srcdiroption="--srcdir=$${topdir}/libelf"; \
15214 libsrcdir="$$s/libelf"; \
15215 $(SHELL) $${libsrcdir}/configure \
15216 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15217 --target=${target_alias} $${srcdiroption} --disable-shared \
15218 || exit 1
15219 @endif libelf
15223 .PHONY: configure-stage1-libelf maybe-configure-stage1-libelf
15224 maybe-configure-stage1-libelf:
15225 @if libelf-bootstrap
15226 maybe-configure-stage1-libelf: configure-stage1-libelf
15227 configure-stage1-libelf:
15228 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15229 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
15230 @r=`${PWD_COMMAND}`; export r; \
15231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15232 TFLAGS="$(STAGE1_TFLAGS)"; \
15233 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
15234 $(HOST_EXPORTS) \
15235 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
15236 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
15237 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
15238 echo Configuring stage 1 in $(HOST_SUBDIR)/libelf ; \
15239 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
15240 cd $(HOST_SUBDIR)/libelf || exit 1; \
15241 case $(srcdir) in \
15242 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15243 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
15244 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15245 esac; \
15246 srcdiroption="--srcdir=$${topdir}/libelf"; \
15247 libsrcdir="$$s/libelf"; \
15248 $(SHELL) $${libsrcdir}/configure \
15249 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15250 --target=${target_alias} $${srcdiroption} \
15251 $(STAGE1_CONFIGURE_FLAGS) \
15252 --disable-shared
15253 @endif libelf-bootstrap
15255 .PHONY: configure-stage2-libelf maybe-configure-stage2-libelf
15256 maybe-configure-stage2-libelf:
15257 @if libelf-bootstrap
15258 maybe-configure-stage2-libelf: configure-stage2-libelf
15259 configure-stage2-libelf:
15260 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15261 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
15262 @r=`${PWD_COMMAND}`; export r; \
15263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15264 TFLAGS="$(STAGE2_TFLAGS)"; \
15265 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
15266 $(HOST_EXPORTS) \
15267 $(POSTSTAGE1_HOST_EXPORTS) \
15268 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
15269 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
15270 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
15271 echo Configuring stage 2 in $(HOST_SUBDIR)/libelf ; \
15272 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
15273 cd $(HOST_SUBDIR)/libelf || exit 1; \
15274 case $(srcdir) in \
15275 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15276 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
15277 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15278 esac; \
15279 srcdiroption="--srcdir=$${topdir}/libelf"; \
15280 libsrcdir="$$s/libelf"; \
15281 $(SHELL) $${libsrcdir}/configure \
15282 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15283 --target=${target_alias} $${srcdiroption} \
15284 --with-build-libsubdir=$(HOST_SUBDIR) \
15285 $(STAGE2_CONFIGURE_FLAGS) \
15286 --disable-shared
15287 @endif libelf-bootstrap
15289 .PHONY: configure-stage3-libelf maybe-configure-stage3-libelf
15290 maybe-configure-stage3-libelf:
15291 @if libelf-bootstrap
15292 maybe-configure-stage3-libelf: configure-stage3-libelf
15293 configure-stage3-libelf:
15294 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15295 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
15296 @r=`${PWD_COMMAND}`; export r; \
15297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15298 TFLAGS="$(STAGE3_TFLAGS)"; \
15299 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
15300 $(HOST_EXPORTS) \
15301 $(POSTSTAGE1_HOST_EXPORTS) \
15302 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
15303 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
15304 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
15305 echo Configuring stage 3 in $(HOST_SUBDIR)/libelf ; \
15306 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
15307 cd $(HOST_SUBDIR)/libelf || exit 1; \
15308 case $(srcdir) in \
15309 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15310 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
15311 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15312 esac; \
15313 srcdiroption="--srcdir=$${topdir}/libelf"; \
15314 libsrcdir="$$s/libelf"; \
15315 $(SHELL) $${libsrcdir}/configure \
15316 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15317 --target=${target_alias} $${srcdiroption} \
15318 --with-build-libsubdir=$(HOST_SUBDIR) \
15319 $(STAGE3_CONFIGURE_FLAGS) \
15320 --disable-shared
15321 @endif libelf-bootstrap
15323 .PHONY: configure-stage4-libelf maybe-configure-stage4-libelf
15324 maybe-configure-stage4-libelf:
15325 @if libelf-bootstrap
15326 maybe-configure-stage4-libelf: configure-stage4-libelf
15327 configure-stage4-libelf:
15328 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15329 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
15330 @r=`${PWD_COMMAND}`; export r; \
15331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15332 TFLAGS="$(STAGE4_TFLAGS)"; \
15333 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
15334 $(HOST_EXPORTS) \
15335 $(POSTSTAGE1_HOST_EXPORTS) \
15336 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
15337 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
15338 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
15339 echo Configuring stage 4 in $(HOST_SUBDIR)/libelf ; \
15340 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
15341 cd $(HOST_SUBDIR)/libelf || exit 1; \
15342 case $(srcdir) in \
15343 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15344 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
15345 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15346 esac; \
15347 srcdiroption="--srcdir=$${topdir}/libelf"; \
15348 libsrcdir="$$s/libelf"; \
15349 $(SHELL) $${libsrcdir}/configure \
15350 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15351 --target=${target_alias} $${srcdiroption} \
15352 --with-build-libsubdir=$(HOST_SUBDIR) \
15353 $(STAGE4_CONFIGURE_FLAGS) \
15354 --disable-shared
15355 @endif libelf-bootstrap
15357 .PHONY: configure-stageprofile-libelf maybe-configure-stageprofile-libelf
15358 maybe-configure-stageprofile-libelf:
15359 @if libelf-bootstrap
15360 maybe-configure-stageprofile-libelf: configure-stageprofile-libelf
15361 configure-stageprofile-libelf:
15362 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15363 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
15364 @r=`${PWD_COMMAND}`; export r; \
15365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15366 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15367 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
15368 $(HOST_EXPORTS) \
15369 $(POSTSTAGE1_HOST_EXPORTS) \
15370 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
15371 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
15372 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
15373 echo Configuring stage profile in $(HOST_SUBDIR)/libelf ; \
15374 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
15375 cd $(HOST_SUBDIR)/libelf || exit 1; \
15376 case $(srcdir) in \
15377 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15378 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
15379 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15380 esac; \
15381 srcdiroption="--srcdir=$${topdir}/libelf"; \
15382 libsrcdir="$$s/libelf"; \
15383 $(SHELL) $${libsrcdir}/configure \
15384 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15385 --target=${target_alias} $${srcdiroption} \
15386 --with-build-libsubdir=$(HOST_SUBDIR) \
15387 $(STAGEprofile_CONFIGURE_FLAGS) \
15388 --disable-shared
15389 @endif libelf-bootstrap
15391 .PHONY: configure-stagefeedback-libelf maybe-configure-stagefeedback-libelf
15392 maybe-configure-stagefeedback-libelf:
15393 @if libelf-bootstrap
15394 maybe-configure-stagefeedback-libelf: configure-stagefeedback-libelf
15395 configure-stagefeedback-libelf:
15396 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15397 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
15398 @r=`${PWD_COMMAND}`; export r; \
15399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15400 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15401 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
15402 $(HOST_EXPORTS) \
15403 $(POSTSTAGE1_HOST_EXPORTS) \
15404 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
15405 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
15406 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
15407 echo Configuring stage feedback in $(HOST_SUBDIR)/libelf ; \
15408 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
15409 cd $(HOST_SUBDIR)/libelf || exit 1; \
15410 case $(srcdir) in \
15411 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15412 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
15413 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15414 esac; \
15415 srcdiroption="--srcdir=$${topdir}/libelf"; \
15416 libsrcdir="$$s/libelf"; \
15417 $(SHELL) $${libsrcdir}/configure \
15418 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15419 --target=${target_alias} $${srcdiroption} \
15420 --with-build-libsubdir=$(HOST_SUBDIR) \
15421 $(STAGEfeedback_CONFIGURE_FLAGS) \
15422 --disable-shared
15423 @endif libelf-bootstrap
15429 .PHONY: all-libelf maybe-all-libelf
15430 maybe-all-libelf:
15431 @if gcc-bootstrap
15432 all-libelf: stage_current
15433 @endif gcc-bootstrap
15434 @if libelf
15435 TARGET-libelf=all
15436 maybe-all-libelf: all-libelf
15437 all-libelf: configure-libelf
15438 @r=`${PWD_COMMAND}`; export r; \
15439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15440 $(HOST_EXPORTS) \
15441 (cd $(HOST_SUBDIR)/libelf && \
15442 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
15443 $(TARGET-libelf))
15444 @endif libelf
15448 .PHONY: all-stage1-libelf maybe-all-stage1-libelf
15449 .PHONY: clean-stage1-libelf maybe-clean-stage1-libelf
15450 maybe-all-stage1-libelf:
15451 maybe-clean-stage1-libelf:
15452 @if libelf-bootstrap
15453 maybe-all-stage1-libelf: all-stage1-libelf
15454 all-stage1: all-stage1-libelf
15455 TARGET-stage1-libelf = $(TARGET-libelf)
15456 all-stage1-libelf: configure-stage1-libelf
15457 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15458 @r=`${PWD_COMMAND}`; export r; \
15459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15460 TFLAGS="$(STAGE1_TFLAGS)"; \
15461 $(HOST_EXPORTS) \
15462 cd $(HOST_SUBDIR)/libelf && \
15463 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15464 CFLAGS="$(STAGE1_CFLAGS)" \
15465 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
15466 LIBCFLAGS="$(LIBCFLAGS)" \
15467 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15468 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15469 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15470 $(EXTRA_HOST_FLAGS) \
15471 $(STAGE1_FLAGS_TO_PASS) \
15472 TFLAGS="$(STAGE1_TFLAGS)" \
15473 $(TARGET-stage1-libelf)
15475 maybe-clean-stage1-libelf: clean-stage1-libelf
15476 clean-stage1: clean-stage1-libelf
15477 clean-stage1-libelf:
15478 @if [ $(current_stage) = stage1 ]; then \
15479 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15480 else \
15481 [ -f $(HOST_SUBDIR)/stage1-libelf/Makefile ] || exit 0; \
15482 $(MAKE) stage1-start; \
15483 fi; \
15484 cd $(HOST_SUBDIR)/libelf && \
15485 $(MAKE) $(EXTRA_HOST_FLAGS) \
15486 $(STAGE1_FLAGS_TO_PASS) clean
15487 @endif libelf-bootstrap
15490 .PHONY: all-stage2-libelf maybe-all-stage2-libelf
15491 .PHONY: clean-stage2-libelf maybe-clean-stage2-libelf
15492 maybe-all-stage2-libelf:
15493 maybe-clean-stage2-libelf:
15494 @if libelf-bootstrap
15495 maybe-all-stage2-libelf: all-stage2-libelf
15496 all-stage2: all-stage2-libelf
15497 TARGET-stage2-libelf = $(TARGET-libelf)
15498 all-stage2-libelf: configure-stage2-libelf
15499 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15500 @r=`${PWD_COMMAND}`; export r; \
15501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15502 TFLAGS="$(STAGE2_TFLAGS)"; \
15503 $(HOST_EXPORTS) \
15504 $(POSTSTAGE1_HOST_EXPORTS) \
15505 cd $(HOST_SUBDIR)/libelf && \
15506 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15507 CFLAGS="$(STAGE2_CFLAGS)" \
15508 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
15509 LIBCFLAGS="$(STAGE2_CFLAGS)" \
15510 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15511 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15512 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15513 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15514 TFLAGS="$(STAGE2_TFLAGS)" \
15515 $(TARGET-stage2-libelf)
15517 maybe-clean-stage2-libelf: clean-stage2-libelf
15518 clean-stage2: clean-stage2-libelf
15519 clean-stage2-libelf:
15520 @if [ $(current_stage) = stage2 ]; then \
15521 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15522 else \
15523 [ -f $(HOST_SUBDIR)/stage2-libelf/Makefile ] || exit 0; \
15524 $(MAKE) stage2-start; \
15525 fi; \
15526 cd $(HOST_SUBDIR)/libelf && \
15527 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15528 @endif libelf-bootstrap
15531 .PHONY: all-stage3-libelf maybe-all-stage3-libelf
15532 .PHONY: clean-stage3-libelf maybe-clean-stage3-libelf
15533 maybe-all-stage3-libelf:
15534 maybe-clean-stage3-libelf:
15535 @if libelf-bootstrap
15536 maybe-all-stage3-libelf: all-stage3-libelf
15537 all-stage3: all-stage3-libelf
15538 TARGET-stage3-libelf = $(TARGET-libelf)
15539 all-stage3-libelf: configure-stage3-libelf
15540 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15541 @r=`${PWD_COMMAND}`; export r; \
15542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15543 TFLAGS="$(STAGE3_TFLAGS)"; \
15544 $(HOST_EXPORTS) \
15545 $(POSTSTAGE1_HOST_EXPORTS) \
15546 cd $(HOST_SUBDIR)/libelf && \
15547 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15548 CFLAGS="$(STAGE3_CFLAGS)" \
15549 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
15550 LIBCFLAGS="$(STAGE3_CFLAGS)" \
15551 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15552 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15553 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15554 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15555 TFLAGS="$(STAGE3_TFLAGS)" \
15556 $(TARGET-stage3-libelf)
15558 maybe-clean-stage3-libelf: clean-stage3-libelf
15559 clean-stage3: clean-stage3-libelf
15560 clean-stage3-libelf:
15561 @if [ $(current_stage) = stage3 ]; then \
15562 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15563 else \
15564 [ -f $(HOST_SUBDIR)/stage3-libelf/Makefile ] || exit 0; \
15565 $(MAKE) stage3-start; \
15566 fi; \
15567 cd $(HOST_SUBDIR)/libelf && \
15568 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15569 @endif libelf-bootstrap
15572 .PHONY: all-stage4-libelf maybe-all-stage4-libelf
15573 .PHONY: clean-stage4-libelf maybe-clean-stage4-libelf
15574 maybe-all-stage4-libelf:
15575 maybe-clean-stage4-libelf:
15576 @if libelf-bootstrap
15577 maybe-all-stage4-libelf: all-stage4-libelf
15578 all-stage4: all-stage4-libelf
15579 TARGET-stage4-libelf = $(TARGET-libelf)
15580 all-stage4-libelf: configure-stage4-libelf
15581 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15582 @r=`${PWD_COMMAND}`; export r; \
15583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15584 TFLAGS="$(STAGE4_TFLAGS)"; \
15585 $(HOST_EXPORTS) \
15586 $(POSTSTAGE1_HOST_EXPORTS) \
15587 cd $(HOST_SUBDIR)/libelf && \
15588 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15589 CFLAGS="$(STAGE4_CFLAGS)" \
15590 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
15591 LIBCFLAGS="$(STAGE4_CFLAGS)" \
15592 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15593 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15594 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15595 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15596 TFLAGS="$(STAGE4_TFLAGS)" \
15597 $(TARGET-stage4-libelf)
15599 maybe-clean-stage4-libelf: clean-stage4-libelf
15600 clean-stage4: clean-stage4-libelf
15601 clean-stage4-libelf:
15602 @if [ $(current_stage) = stage4 ]; then \
15603 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15604 else \
15605 [ -f $(HOST_SUBDIR)/stage4-libelf/Makefile ] || exit 0; \
15606 $(MAKE) stage4-start; \
15607 fi; \
15608 cd $(HOST_SUBDIR)/libelf && \
15609 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15610 @endif libelf-bootstrap
15613 .PHONY: all-stageprofile-libelf maybe-all-stageprofile-libelf
15614 .PHONY: clean-stageprofile-libelf maybe-clean-stageprofile-libelf
15615 maybe-all-stageprofile-libelf:
15616 maybe-clean-stageprofile-libelf:
15617 @if libelf-bootstrap
15618 maybe-all-stageprofile-libelf: all-stageprofile-libelf
15619 all-stageprofile: all-stageprofile-libelf
15620 TARGET-stageprofile-libelf = $(TARGET-libelf)
15621 all-stageprofile-libelf: configure-stageprofile-libelf
15622 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15623 @r=`${PWD_COMMAND}`; export r; \
15624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15625 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15626 $(HOST_EXPORTS) \
15627 $(POSTSTAGE1_HOST_EXPORTS) \
15628 cd $(HOST_SUBDIR)/libelf && \
15629 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15630 CFLAGS="$(STAGEprofile_CFLAGS)" \
15631 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
15632 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
15633 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15634 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15635 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15636 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15637 TFLAGS="$(STAGEprofile_TFLAGS)" \
15638 $(TARGET-stageprofile-libelf)
15640 maybe-clean-stageprofile-libelf: clean-stageprofile-libelf
15641 clean-stageprofile: clean-stageprofile-libelf
15642 clean-stageprofile-libelf:
15643 @if [ $(current_stage) = stageprofile ]; then \
15644 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15645 else \
15646 [ -f $(HOST_SUBDIR)/stageprofile-libelf/Makefile ] || exit 0; \
15647 $(MAKE) stageprofile-start; \
15648 fi; \
15649 cd $(HOST_SUBDIR)/libelf && \
15650 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15651 @endif libelf-bootstrap
15654 .PHONY: all-stagefeedback-libelf maybe-all-stagefeedback-libelf
15655 .PHONY: clean-stagefeedback-libelf maybe-clean-stagefeedback-libelf
15656 maybe-all-stagefeedback-libelf:
15657 maybe-clean-stagefeedback-libelf:
15658 @if libelf-bootstrap
15659 maybe-all-stagefeedback-libelf: all-stagefeedback-libelf
15660 all-stagefeedback: all-stagefeedback-libelf
15661 TARGET-stagefeedback-libelf = $(TARGET-libelf)
15662 all-stagefeedback-libelf: configure-stagefeedback-libelf
15663 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15664 @r=`${PWD_COMMAND}`; export r; \
15665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15666 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15667 $(HOST_EXPORTS) \
15668 $(POSTSTAGE1_HOST_EXPORTS) \
15669 cd $(HOST_SUBDIR)/libelf && \
15670 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15671 CFLAGS="$(STAGEfeedback_CFLAGS)" \
15672 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
15673 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
15674 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15675 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15676 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15677 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15678 TFLAGS="$(STAGEfeedback_TFLAGS)" \
15679 $(TARGET-stagefeedback-libelf)
15681 maybe-clean-stagefeedback-libelf: clean-stagefeedback-libelf
15682 clean-stagefeedback: clean-stagefeedback-libelf
15683 clean-stagefeedback-libelf:
15684 @if [ $(current_stage) = stagefeedback ]; then \
15685 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
15686 else \
15687 [ -f $(HOST_SUBDIR)/stagefeedback-libelf/Makefile ] || exit 0; \
15688 $(MAKE) stagefeedback-start; \
15689 fi; \
15690 cd $(HOST_SUBDIR)/libelf && \
15691 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15692 @endif libelf-bootstrap
15698 .PHONY: check-libelf maybe-check-libelf
15699 maybe-check-libelf:
15700 @if libelf
15701 maybe-check-libelf: check-libelf
15703 check-libelf:
15704 @: $(MAKE); $(unstage)
15705 @r=`${PWD_COMMAND}`; export r; \
15706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15707 $(HOST_EXPORTS) \
15708 (cd $(HOST_SUBDIR)/libelf && \
15709 $(MAKE) $(FLAGS_TO_PASS) check)
15711 @endif libelf
15713 .PHONY: install-libelf maybe-install-libelf
15714 maybe-install-libelf:
15715 @if libelf
15716 maybe-install-libelf: install-libelf
15718 install-libelf:
15720 @endif libelf
15722 .PHONY: install-strip-libelf maybe-install-strip-libelf
15723 maybe-install-strip-libelf:
15724 @if libelf
15725 maybe-install-strip-libelf: install-strip-libelf
15727 install-strip-libelf:
15729 @endif libelf
15731 # Other targets (info, dvi, pdf, etc.)
15733 .PHONY: maybe-info-libelf info-libelf
15734 maybe-info-libelf:
15735 @if libelf
15736 maybe-info-libelf: info-libelf
15738 info-libelf: \
15739 configure-libelf
15740 @[ -f ./libelf/Makefile ] || exit 0; \
15741 r=`${PWD_COMMAND}`; export r; \
15742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15743 $(HOST_EXPORTS) \
15744 for flag in $(EXTRA_HOST_FLAGS) ; do \
15745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15746 done; \
15747 echo "Doing info in libelf" ; \
15748 (cd $(HOST_SUBDIR)/libelf && \
15749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15751 "RANLIB=$${RANLIB}" \
15752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15753 info) \
15754 || exit 1
15756 @endif libelf
15758 .PHONY: maybe-dvi-libelf dvi-libelf
15759 maybe-dvi-libelf:
15760 @if libelf
15761 maybe-dvi-libelf: dvi-libelf
15763 dvi-libelf: \
15764 configure-libelf
15765 @[ -f ./libelf/Makefile ] || exit 0; \
15766 r=`${PWD_COMMAND}`; export r; \
15767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15768 $(HOST_EXPORTS) \
15769 for flag in $(EXTRA_HOST_FLAGS) ; do \
15770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15771 done; \
15772 echo "Doing dvi in libelf" ; \
15773 (cd $(HOST_SUBDIR)/libelf && \
15774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15776 "RANLIB=$${RANLIB}" \
15777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15778 dvi) \
15779 || exit 1
15781 @endif libelf
15783 .PHONY: maybe-pdf-libelf pdf-libelf
15784 maybe-pdf-libelf:
15785 @if libelf
15786 maybe-pdf-libelf: pdf-libelf
15788 pdf-libelf: \
15789 configure-libelf
15790 @[ -f ./libelf/Makefile ] || exit 0; \
15791 r=`${PWD_COMMAND}`; export r; \
15792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15793 $(HOST_EXPORTS) \
15794 for flag in $(EXTRA_HOST_FLAGS) ; do \
15795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15796 done; \
15797 echo "Doing pdf in libelf" ; \
15798 (cd $(HOST_SUBDIR)/libelf && \
15799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15801 "RANLIB=$${RANLIB}" \
15802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15803 pdf) \
15804 || exit 1
15806 @endif libelf
15808 .PHONY: maybe-html-libelf html-libelf
15809 maybe-html-libelf:
15810 @if libelf
15811 maybe-html-libelf: html-libelf
15813 html-libelf: \
15814 configure-libelf
15815 @[ -f ./libelf/Makefile ] || exit 0; \
15816 r=`${PWD_COMMAND}`; export r; \
15817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15818 $(HOST_EXPORTS) \
15819 for flag in $(EXTRA_HOST_FLAGS) ; do \
15820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15821 done; \
15822 echo "Doing html in libelf" ; \
15823 (cd $(HOST_SUBDIR)/libelf && \
15824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15826 "RANLIB=$${RANLIB}" \
15827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15828 html) \
15829 || exit 1
15831 @endif libelf
15833 .PHONY: maybe-TAGS-libelf TAGS-libelf
15834 maybe-TAGS-libelf:
15835 @if libelf
15836 maybe-TAGS-libelf: TAGS-libelf
15838 TAGS-libelf: \
15839 configure-libelf
15840 @[ -f ./libelf/Makefile ] || exit 0; \
15841 r=`${PWD_COMMAND}`; export r; \
15842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15843 $(HOST_EXPORTS) \
15844 for flag in $(EXTRA_HOST_FLAGS) ; do \
15845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15846 done; \
15847 echo "Doing TAGS in libelf" ; \
15848 (cd $(HOST_SUBDIR)/libelf && \
15849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15851 "RANLIB=$${RANLIB}" \
15852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15853 TAGS) \
15854 || exit 1
15856 @endif libelf
15858 .PHONY: maybe-install-info-libelf install-info-libelf
15859 maybe-install-info-libelf:
15860 @if libelf
15861 maybe-install-info-libelf: install-info-libelf
15863 install-info-libelf: \
15864 configure-libelf \
15865 info-libelf
15866 @[ -f ./libelf/Makefile ] || exit 0; \
15867 r=`${PWD_COMMAND}`; export r; \
15868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15869 $(HOST_EXPORTS) \
15870 for flag in $(EXTRA_HOST_FLAGS) ; do \
15871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15872 done; \
15873 echo "Doing install-info in libelf" ; \
15874 (cd $(HOST_SUBDIR)/libelf && \
15875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15877 "RANLIB=$${RANLIB}" \
15878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15879 install-info) \
15880 || exit 1
15882 @endif libelf
15884 .PHONY: maybe-install-pdf-libelf install-pdf-libelf
15885 maybe-install-pdf-libelf:
15886 @if libelf
15887 maybe-install-pdf-libelf: install-pdf-libelf
15889 install-pdf-libelf: \
15890 configure-libelf \
15891 pdf-libelf
15892 @[ -f ./libelf/Makefile ] || exit 0; \
15893 r=`${PWD_COMMAND}`; export r; \
15894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15895 $(HOST_EXPORTS) \
15896 for flag in $(EXTRA_HOST_FLAGS) ; do \
15897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15898 done; \
15899 echo "Doing install-pdf in libelf" ; \
15900 (cd $(HOST_SUBDIR)/libelf && \
15901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15903 "RANLIB=$${RANLIB}" \
15904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15905 install-pdf) \
15906 || exit 1
15908 @endif libelf
15910 .PHONY: maybe-install-html-libelf install-html-libelf
15911 maybe-install-html-libelf:
15912 @if libelf
15913 maybe-install-html-libelf: install-html-libelf
15915 install-html-libelf: \
15916 configure-libelf \
15917 html-libelf
15918 @[ -f ./libelf/Makefile ] || exit 0; \
15919 r=`${PWD_COMMAND}`; export r; \
15920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15921 $(HOST_EXPORTS) \
15922 for flag in $(EXTRA_HOST_FLAGS) ; do \
15923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15924 done; \
15925 echo "Doing install-html in libelf" ; \
15926 (cd $(HOST_SUBDIR)/libelf && \
15927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15929 "RANLIB=$${RANLIB}" \
15930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15931 install-html) \
15932 || exit 1
15934 @endif libelf
15936 .PHONY: maybe-installcheck-libelf installcheck-libelf
15937 maybe-installcheck-libelf:
15938 @if libelf
15939 maybe-installcheck-libelf: installcheck-libelf
15941 installcheck-libelf: \
15942 configure-libelf
15943 @[ -f ./libelf/Makefile ] || exit 0; \
15944 r=`${PWD_COMMAND}`; export r; \
15945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15946 $(HOST_EXPORTS) \
15947 for flag in $(EXTRA_HOST_FLAGS) ; do \
15948 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15949 done; \
15950 echo "Doing installcheck in libelf" ; \
15951 (cd $(HOST_SUBDIR)/libelf && \
15952 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15953 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15954 "RANLIB=$${RANLIB}" \
15955 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15956 installcheck) \
15957 || exit 1
15959 @endif libelf
15961 .PHONY: maybe-mostlyclean-libelf mostlyclean-libelf
15962 maybe-mostlyclean-libelf:
15963 @if libelf
15964 maybe-mostlyclean-libelf: mostlyclean-libelf
15966 mostlyclean-libelf:
15967 @[ -f ./libelf/Makefile ] || exit 0; \
15968 r=`${PWD_COMMAND}`; export r; \
15969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15970 $(HOST_EXPORTS) \
15971 for flag in $(EXTRA_HOST_FLAGS) ; do \
15972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15973 done; \
15974 echo "Doing mostlyclean in libelf" ; \
15975 (cd $(HOST_SUBDIR)/libelf && \
15976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15978 "RANLIB=$${RANLIB}" \
15979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15980 mostlyclean) \
15981 || exit 1
15983 @endif libelf
15985 .PHONY: maybe-clean-libelf clean-libelf
15986 maybe-clean-libelf:
15987 @if libelf
15988 maybe-clean-libelf: clean-libelf
15990 clean-libelf:
15991 @[ -f ./libelf/Makefile ] || exit 0; \
15992 r=`${PWD_COMMAND}`; export r; \
15993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15994 $(HOST_EXPORTS) \
15995 for flag in $(EXTRA_HOST_FLAGS) ; do \
15996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15997 done; \
15998 echo "Doing clean in libelf" ; \
15999 (cd $(HOST_SUBDIR)/libelf && \
16000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16002 "RANLIB=$${RANLIB}" \
16003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16004 clean) \
16005 || exit 1
16007 @endif libelf
16009 .PHONY: maybe-distclean-libelf distclean-libelf
16010 maybe-distclean-libelf:
16011 @if libelf
16012 maybe-distclean-libelf: distclean-libelf
16014 distclean-libelf:
16015 @[ -f ./libelf/Makefile ] || exit 0; \
16016 r=`${PWD_COMMAND}`; export r; \
16017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16018 $(HOST_EXPORTS) \
16019 for flag in $(EXTRA_HOST_FLAGS) ; do \
16020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16021 done; \
16022 echo "Doing distclean in libelf" ; \
16023 (cd $(HOST_SUBDIR)/libelf && \
16024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16026 "RANLIB=$${RANLIB}" \
16027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16028 distclean) \
16029 || exit 1
16031 @endif libelf
16033 .PHONY: maybe-maintainer-clean-libelf maintainer-clean-libelf
16034 maybe-maintainer-clean-libelf:
16035 @if libelf
16036 maybe-maintainer-clean-libelf: maintainer-clean-libelf
16038 maintainer-clean-libelf:
16039 @[ -f ./libelf/Makefile ] || exit 0; \
16040 r=`${PWD_COMMAND}`; export r; \
16041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16042 $(HOST_EXPORTS) \
16043 for flag in $(EXTRA_HOST_FLAGS) ; do \
16044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16045 done; \
16046 echo "Doing maintainer-clean in libelf" ; \
16047 (cd $(HOST_SUBDIR)/libelf && \
16048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16050 "RANLIB=$${RANLIB}" \
16051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16052 maintainer-clean) \
16053 || exit 1
16055 @endif libelf
16059 .PHONY: configure-gold maybe-configure-gold
16060 maybe-configure-gold:
16061 @if gcc-bootstrap
16062 configure-gold: stage_current
16063 @endif gcc-bootstrap
16064 @if gold
16065 maybe-configure-gold: configure-gold
16066 configure-gold:
16067 @r=`${PWD_COMMAND}`; export r; \
16068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16069 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
16070 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
16071 $(HOST_EXPORTS) \
16072 echo Configuring in $(HOST_SUBDIR)/gold; \
16073 cd "$(HOST_SUBDIR)/gold" || exit 1; \
16074 case $(srcdir) in \
16075 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16076 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
16077 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16078 esac; \
16079 srcdiroption="--srcdir=$${topdir}/gold"; \
16080 libsrcdir="$$s/gold"; \
16081 $(SHELL) $${libsrcdir}/configure \
16082 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16083 --target=${target_alias} $${srcdiroption} \
16084 || exit 1
16085 @endif gold
16089 .PHONY: configure-stage1-gold maybe-configure-stage1-gold
16090 maybe-configure-stage1-gold:
16091 @if gold-bootstrap
16092 maybe-configure-stage1-gold: configure-stage1-gold
16093 configure-stage1-gold:
16094 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16095 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
16096 @r=`${PWD_COMMAND}`; export r; \
16097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16098 TFLAGS="$(STAGE1_TFLAGS)"; \
16099 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
16100 $(HOST_EXPORTS) \
16101 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
16102 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
16103 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
16104 echo Configuring stage 1 in $(HOST_SUBDIR)/gold ; \
16105 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
16106 cd $(HOST_SUBDIR)/gold || exit 1; \
16107 case $(srcdir) in \
16108 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16109 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
16110 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16111 esac; \
16112 srcdiroption="--srcdir=$${topdir}/gold"; \
16113 libsrcdir="$$s/gold"; \
16114 $(SHELL) $${libsrcdir}/configure \
16115 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16116 --target=${target_alias} $${srcdiroption} \
16117 $(STAGE1_CONFIGURE_FLAGS)
16118 @endif gold-bootstrap
16120 .PHONY: configure-stage2-gold maybe-configure-stage2-gold
16121 maybe-configure-stage2-gold:
16122 @if gold-bootstrap
16123 maybe-configure-stage2-gold: configure-stage2-gold
16124 configure-stage2-gold:
16125 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16126 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
16127 @r=`${PWD_COMMAND}`; export r; \
16128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16129 TFLAGS="$(STAGE2_TFLAGS)"; \
16130 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
16131 $(HOST_EXPORTS) \
16132 $(POSTSTAGE1_HOST_EXPORTS) \
16133 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
16134 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
16135 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
16136 echo Configuring stage 2 in $(HOST_SUBDIR)/gold ; \
16137 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
16138 cd $(HOST_SUBDIR)/gold || exit 1; \
16139 case $(srcdir) in \
16140 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16141 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
16142 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16143 esac; \
16144 srcdiroption="--srcdir=$${topdir}/gold"; \
16145 libsrcdir="$$s/gold"; \
16146 $(SHELL) $${libsrcdir}/configure \
16147 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16148 --target=${target_alias} $${srcdiroption} \
16149 --with-build-libsubdir=$(HOST_SUBDIR) \
16150 $(STAGE2_CONFIGURE_FLAGS)
16151 @endif gold-bootstrap
16153 .PHONY: configure-stage3-gold maybe-configure-stage3-gold
16154 maybe-configure-stage3-gold:
16155 @if gold-bootstrap
16156 maybe-configure-stage3-gold: configure-stage3-gold
16157 configure-stage3-gold:
16158 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16159 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
16160 @r=`${PWD_COMMAND}`; export r; \
16161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16162 TFLAGS="$(STAGE3_TFLAGS)"; \
16163 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
16164 $(HOST_EXPORTS) \
16165 $(POSTSTAGE1_HOST_EXPORTS) \
16166 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
16167 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
16168 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
16169 echo Configuring stage 3 in $(HOST_SUBDIR)/gold ; \
16170 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
16171 cd $(HOST_SUBDIR)/gold || exit 1; \
16172 case $(srcdir) in \
16173 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16174 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
16175 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16176 esac; \
16177 srcdiroption="--srcdir=$${topdir}/gold"; \
16178 libsrcdir="$$s/gold"; \
16179 $(SHELL) $${libsrcdir}/configure \
16180 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16181 --target=${target_alias} $${srcdiroption} \
16182 --with-build-libsubdir=$(HOST_SUBDIR) \
16183 $(STAGE3_CONFIGURE_FLAGS)
16184 @endif gold-bootstrap
16186 .PHONY: configure-stage4-gold maybe-configure-stage4-gold
16187 maybe-configure-stage4-gold:
16188 @if gold-bootstrap
16189 maybe-configure-stage4-gold: configure-stage4-gold
16190 configure-stage4-gold:
16191 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16192 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
16193 @r=`${PWD_COMMAND}`; export r; \
16194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16195 TFLAGS="$(STAGE4_TFLAGS)"; \
16196 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
16197 $(HOST_EXPORTS) \
16198 $(POSTSTAGE1_HOST_EXPORTS) \
16199 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
16200 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
16201 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
16202 echo Configuring stage 4 in $(HOST_SUBDIR)/gold ; \
16203 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
16204 cd $(HOST_SUBDIR)/gold || exit 1; \
16205 case $(srcdir) in \
16206 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16207 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
16208 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16209 esac; \
16210 srcdiroption="--srcdir=$${topdir}/gold"; \
16211 libsrcdir="$$s/gold"; \
16212 $(SHELL) $${libsrcdir}/configure \
16213 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16214 --target=${target_alias} $${srcdiroption} \
16215 --with-build-libsubdir=$(HOST_SUBDIR) \
16216 $(STAGE4_CONFIGURE_FLAGS)
16217 @endif gold-bootstrap
16219 .PHONY: configure-stageprofile-gold maybe-configure-stageprofile-gold
16220 maybe-configure-stageprofile-gold:
16221 @if gold-bootstrap
16222 maybe-configure-stageprofile-gold: configure-stageprofile-gold
16223 configure-stageprofile-gold:
16224 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16225 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
16226 @r=`${PWD_COMMAND}`; export r; \
16227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16228 TFLAGS="$(STAGEprofile_TFLAGS)"; \
16229 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
16230 $(HOST_EXPORTS) \
16231 $(POSTSTAGE1_HOST_EXPORTS) \
16232 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
16233 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
16234 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
16235 echo Configuring stage profile in $(HOST_SUBDIR)/gold ; \
16236 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
16237 cd $(HOST_SUBDIR)/gold || exit 1; \
16238 case $(srcdir) in \
16239 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16240 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
16241 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16242 esac; \
16243 srcdiroption="--srcdir=$${topdir}/gold"; \
16244 libsrcdir="$$s/gold"; \
16245 $(SHELL) $${libsrcdir}/configure \
16246 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16247 --target=${target_alias} $${srcdiroption} \
16248 --with-build-libsubdir=$(HOST_SUBDIR) \
16249 $(STAGEprofile_CONFIGURE_FLAGS)
16250 @endif gold-bootstrap
16252 .PHONY: configure-stagefeedback-gold maybe-configure-stagefeedback-gold
16253 maybe-configure-stagefeedback-gold:
16254 @if gold-bootstrap
16255 maybe-configure-stagefeedback-gold: configure-stagefeedback-gold
16256 configure-stagefeedback-gold:
16257 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16258 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
16259 @r=`${PWD_COMMAND}`; export r; \
16260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16261 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
16262 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
16263 $(HOST_EXPORTS) \
16264 $(POSTSTAGE1_HOST_EXPORTS) \
16265 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
16266 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
16267 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
16268 echo Configuring stage feedback in $(HOST_SUBDIR)/gold ; \
16269 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
16270 cd $(HOST_SUBDIR)/gold || exit 1; \
16271 case $(srcdir) in \
16272 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16273 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
16274 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16275 esac; \
16276 srcdiroption="--srcdir=$${topdir}/gold"; \
16277 libsrcdir="$$s/gold"; \
16278 $(SHELL) $${libsrcdir}/configure \
16279 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16280 --target=${target_alias} $${srcdiroption} \
16281 --with-build-libsubdir=$(HOST_SUBDIR) \
16282 $(STAGEfeedback_CONFIGURE_FLAGS)
16283 @endif gold-bootstrap
16289 .PHONY: all-gold maybe-all-gold
16290 maybe-all-gold:
16291 @if gcc-bootstrap
16292 all-gold: stage_current
16293 @endif gcc-bootstrap
16294 @if gold
16295 TARGET-gold=all
16296 maybe-all-gold: all-gold
16297 all-gold: configure-gold
16298 @r=`${PWD_COMMAND}`; export r; \
16299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16300 $(HOST_EXPORTS) \
16301 (cd $(HOST_SUBDIR)/gold && \
16302 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
16303 $(TARGET-gold))
16304 @endif gold
16308 .PHONY: all-stage1-gold maybe-all-stage1-gold
16309 .PHONY: clean-stage1-gold maybe-clean-stage1-gold
16310 maybe-all-stage1-gold:
16311 maybe-clean-stage1-gold:
16312 @if gold-bootstrap
16313 maybe-all-stage1-gold: all-stage1-gold
16314 all-stage1: all-stage1-gold
16315 TARGET-stage1-gold = $(TARGET-gold)
16316 all-stage1-gold: configure-stage1-gold
16317 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16318 @r=`${PWD_COMMAND}`; export r; \
16319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16320 TFLAGS="$(STAGE1_TFLAGS)"; \
16321 $(HOST_EXPORTS) \
16322 cd $(HOST_SUBDIR)/gold && \
16323 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16324 CFLAGS="$(STAGE1_CFLAGS)" \
16325 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
16326 LIBCFLAGS="$(LIBCFLAGS)" \
16327 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16328 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16329 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16330 $(EXTRA_HOST_FLAGS) \
16331 $(STAGE1_FLAGS_TO_PASS) \
16332 TFLAGS="$(STAGE1_TFLAGS)" \
16333 $(TARGET-stage1-gold)
16335 maybe-clean-stage1-gold: clean-stage1-gold
16336 clean-stage1: clean-stage1-gold
16337 clean-stage1-gold:
16338 @if [ $(current_stage) = stage1 ]; then \
16339 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
16340 else \
16341 [ -f $(HOST_SUBDIR)/stage1-gold/Makefile ] || exit 0; \
16342 $(MAKE) stage1-start; \
16343 fi; \
16344 cd $(HOST_SUBDIR)/gold && \
16345 $(MAKE) $(EXTRA_HOST_FLAGS) \
16346 $(STAGE1_FLAGS_TO_PASS) clean
16347 @endif gold-bootstrap
16350 .PHONY: all-stage2-gold maybe-all-stage2-gold
16351 .PHONY: clean-stage2-gold maybe-clean-stage2-gold
16352 maybe-all-stage2-gold:
16353 maybe-clean-stage2-gold:
16354 @if gold-bootstrap
16355 maybe-all-stage2-gold: all-stage2-gold
16356 all-stage2: all-stage2-gold
16357 TARGET-stage2-gold = $(TARGET-gold)
16358 all-stage2-gold: configure-stage2-gold
16359 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16360 @r=`${PWD_COMMAND}`; export r; \
16361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16362 TFLAGS="$(STAGE2_TFLAGS)"; \
16363 $(HOST_EXPORTS) \
16364 $(POSTSTAGE1_HOST_EXPORTS) \
16365 cd $(HOST_SUBDIR)/gold && \
16366 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16367 CFLAGS="$(STAGE2_CFLAGS)" \
16368 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
16369 LIBCFLAGS="$(STAGE2_CFLAGS)" \
16370 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16371 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16372 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16373 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16374 TFLAGS="$(STAGE2_TFLAGS)" \
16375 $(TARGET-stage2-gold)
16377 maybe-clean-stage2-gold: clean-stage2-gold
16378 clean-stage2: clean-stage2-gold
16379 clean-stage2-gold:
16380 @if [ $(current_stage) = stage2 ]; then \
16381 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
16382 else \
16383 [ -f $(HOST_SUBDIR)/stage2-gold/Makefile ] || exit 0; \
16384 $(MAKE) stage2-start; \
16385 fi; \
16386 cd $(HOST_SUBDIR)/gold && \
16387 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
16388 @endif gold-bootstrap
16391 .PHONY: all-stage3-gold maybe-all-stage3-gold
16392 .PHONY: clean-stage3-gold maybe-clean-stage3-gold
16393 maybe-all-stage3-gold:
16394 maybe-clean-stage3-gold:
16395 @if gold-bootstrap
16396 maybe-all-stage3-gold: all-stage3-gold
16397 all-stage3: all-stage3-gold
16398 TARGET-stage3-gold = $(TARGET-gold)
16399 all-stage3-gold: configure-stage3-gold
16400 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16401 @r=`${PWD_COMMAND}`; export r; \
16402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16403 TFLAGS="$(STAGE3_TFLAGS)"; \
16404 $(HOST_EXPORTS) \
16405 $(POSTSTAGE1_HOST_EXPORTS) \
16406 cd $(HOST_SUBDIR)/gold && \
16407 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16408 CFLAGS="$(STAGE3_CFLAGS)" \
16409 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
16410 LIBCFLAGS="$(STAGE3_CFLAGS)" \
16411 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16412 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16413 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16414 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16415 TFLAGS="$(STAGE3_TFLAGS)" \
16416 $(TARGET-stage3-gold)
16418 maybe-clean-stage3-gold: clean-stage3-gold
16419 clean-stage3: clean-stage3-gold
16420 clean-stage3-gold:
16421 @if [ $(current_stage) = stage3 ]; then \
16422 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
16423 else \
16424 [ -f $(HOST_SUBDIR)/stage3-gold/Makefile ] || exit 0; \
16425 $(MAKE) stage3-start; \
16426 fi; \
16427 cd $(HOST_SUBDIR)/gold && \
16428 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
16429 @endif gold-bootstrap
16432 .PHONY: all-stage4-gold maybe-all-stage4-gold
16433 .PHONY: clean-stage4-gold maybe-clean-stage4-gold
16434 maybe-all-stage4-gold:
16435 maybe-clean-stage4-gold:
16436 @if gold-bootstrap
16437 maybe-all-stage4-gold: all-stage4-gold
16438 all-stage4: all-stage4-gold
16439 TARGET-stage4-gold = $(TARGET-gold)
16440 all-stage4-gold: configure-stage4-gold
16441 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16442 @r=`${PWD_COMMAND}`; export r; \
16443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16444 TFLAGS="$(STAGE4_TFLAGS)"; \
16445 $(HOST_EXPORTS) \
16446 $(POSTSTAGE1_HOST_EXPORTS) \
16447 cd $(HOST_SUBDIR)/gold && \
16448 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16449 CFLAGS="$(STAGE4_CFLAGS)" \
16450 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
16451 LIBCFLAGS="$(STAGE4_CFLAGS)" \
16452 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16453 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16454 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16455 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16456 TFLAGS="$(STAGE4_TFLAGS)" \
16457 $(TARGET-stage4-gold)
16459 maybe-clean-stage4-gold: clean-stage4-gold
16460 clean-stage4: clean-stage4-gold
16461 clean-stage4-gold:
16462 @if [ $(current_stage) = stage4 ]; then \
16463 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
16464 else \
16465 [ -f $(HOST_SUBDIR)/stage4-gold/Makefile ] || exit 0; \
16466 $(MAKE) stage4-start; \
16467 fi; \
16468 cd $(HOST_SUBDIR)/gold && \
16469 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
16470 @endif gold-bootstrap
16473 .PHONY: all-stageprofile-gold maybe-all-stageprofile-gold
16474 .PHONY: clean-stageprofile-gold maybe-clean-stageprofile-gold
16475 maybe-all-stageprofile-gold:
16476 maybe-clean-stageprofile-gold:
16477 @if gold-bootstrap
16478 maybe-all-stageprofile-gold: all-stageprofile-gold
16479 all-stageprofile: all-stageprofile-gold
16480 TARGET-stageprofile-gold = $(TARGET-gold)
16481 all-stageprofile-gold: configure-stageprofile-gold
16482 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16483 @r=`${PWD_COMMAND}`; export r; \
16484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16485 TFLAGS="$(STAGEprofile_TFLAGS)"; \
16486 $(HOST_EXPORTS) \
16487 $(POSTSTAGE1_HOST_EXPORTS) \
16488 cd $(HOST_SUBDIR)/gold && \
16489 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16490 CFLAGS="$(STAGEprofile_CFLAGS)" \
16491 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
16492 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
16493 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16494 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16495 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16496 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16497 TFLAGS="$(STAGEprofile_TFLAGS)" \
16498 $(TARGET-stageprofile-gold)
16500 maybe-clean-stageprofile-gold: clean-stageprofile-gold
16501 clean-stageprofile: clean-stageprofile-gold
16502 clean-stageprofile-gold:
16503 @if [ $(current_stage) = stageprofile ]; then \
16504 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
16505 else \
16506 [ -f $(HOST_SUBDIR)/stageprofile-gold/Makefile ] || exit 0; \
16507 $(MAKE) stageprofile-start; \
16508 fi; \
16509 cd $(HOST_SUBDIR)/gold && \
16510 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
16511 @endif gold-bootstrap
16514 .PHONY: all-stagefeedback-gold maybe-all-stagefeedback-gold
16515 .PHONY: clean-stagefeedback-gold maybe-clean-stagefeedback-gold
16516 maybe-all-stagefeedback-gold:
16517 maybe-clean-stagefeedback-gold:
16518 @if gold-bootstrap
16519 maybe-all-stagefeedback-gold: all-stagefeedback-gold
16520 all-stagefeedback: all-stagefeedback-gold
16521 TARGET-stagefeedback-gold = $(TARGET-gold)
16522 all-stagefeedback-gold: configure-stagefeedback-gold
16523 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16524 @r=`${PWD_COMMAND}`; export r; \
16525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16526 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
16527 $(HOST_EXPORTS) \
16528 $(POSTSTAGE1_HOST_EXPORTS) \
16529 cd $(HOST_SUBDIR)/gold && \
16530 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16531 CFLAGS="$(STAGEfeedback_CFLAGS)" \
16532 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
16533 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
16534 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16535 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16536 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16537 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16538 TFLAGS="$(STAGEfeedback_TFLAGS)" \
16539 $(TARGET-stagefeedback-gold)
16541 maybe-clean-stagefeedback-gold: clean-stagefeedback-gold
16542 clean-stagefeedback: clean-stagefeedback-gold
16543 clean-stagefeedback-gold:
16544 @if [ $(current_stage) = stagefeedback ]; then \
16545 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
16546 else \
16547 [ -f $(HOST_SUBDIR)/stagefeedback-gold/Makefile ] || exit 0; \
16548 $(MAKE) stagefeedback-start; \
16549 fi; \
16550 cd $(HOST_SUBDIR)/gold && \
16551 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
16552 @endif gold-bootstrap
16558 .PHONY: check-gold maybe-check-gold
16559 maybe-check-gold:
16560 @if gold
16561 maybe-check-gold: check-gold
16563 check-gold:
16564 @: $(MAKE); $(unstage)
16565 @r=`${PWD_COMMAND}`; export r; \
16566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16567 $(HOST_EXPORTS) \
16568 (cd $(HOST_SUBDIR)/gold && \
16569 $(MAKE) $(FLAGS_TO_PASS) check)
16571 @endif gold
16573 .PHONY: install-gold maybe-install-gold
16574 maybe-install-gold:
16575 @if gold
16576 maybe-install-gold: install-gold
16578 install-gold: installdirs
16579 @: $(MAKE); $(unstage)
16580 @r=`${PWD_COMMAND}`; export r; \
16581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16582 $(HOST_EXPORTS) \
16583 (cd $(HOST_SUBDIR)/gold && \
16584 $(MAKE) $(FLAGS_TO_PASS) install)
16586 @endif gold
16588 .PHONY: install-strip-gold maybe-install-strip-gold
16589 maybe-install-strip-gold:
16590 @if gold
16591 maybe-install-strip-gold: install-strip-gold
16593 install-strip-gold: installdirs
16594 @: $(MAKE); $(unstage)
16595 @r=`${PWD_COMMAND}`; export r; \
16596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16597 $(HOST_EXPORTS) \
16598 (cd $(HOST_SUBDIR)/gold && \
16599 $(MAKE) $(FLAGS_TO_PASS) install-strip)
16601 @endif gold
16603 # Other targets (info, dvi, pdf, etc.)
16605 .PHONY: maybe-info-gold info-gold
16606 maybe-info-gold:
16607 @if gold
16608 maybe-info-gold: info-gold
16610 info-gold: \
16611 configure-gold
16612 @[ -f ./gold/Makefile ] || exit 0; \
16613 r=`${PWD_COMMAND}`; export r; \
16614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16615 $(HOST_EXPORTS) \
16616 for flag in $(EXTRA_HOST_FLAGS) ; do \
16617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16618 done; \
16619 echo "Doing info in gold" ; \
16620 (cd $(HOST_SUBDIR)/gold && \
16621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16623 "RANLIB=$${RANLIB}" \
16624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16625 info) \
16626 || exit 1
16628 @endif gold
16630 .PHONY: maybe-dvi-gold dvi-gold
16631 maybe-dvi-gold:
16632 @if gold
16633 maybe-dvi-gold: dvi-gold
16635 dvi-gold: \
16636 configure-gold
16637 @[ -f ./gold/Makefile ] || exit 0; \
16638 r=`${PWD_COMMAND}`; export r; \
16639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16640 $(HOST_EXPORTS) \
16641 for flag in $(EXTRA_HOST_FLAGS) ; do \
16642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16643 done; \
16644 echo "Doing dvi in gold" ; \
16645 (cd $(HOST_SUBDIR)/gold && \
16646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16648 "RANLIB=$${RANLIB}" \
16649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16650 dvi) \
16651 || exit 1
16653 @endif gold
16655 .PHONY: maybe-pdf-gold pdf-gold
16656 maybe-pdf-gold:
16657 @if gold
16658 maybe-pdf-gold: pdf-gold
16660 pdf-gold: \
16661 configure-gold
16662 @[ -f ./gold/Makefile ] || exit 0; \
16663 r=`${PWD_COMMAND}`; export r; \
16664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16665 $(HOST_EXPORTS) \
16666 for flag in $(EXTRA_HOST_FLAGS) ; do \
16667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16668 done; \
16669 echo "Doing pdf in gold" ; \
16670 (cd $(HOST_SUBDIR)/gold && \
16671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16673 "RANLIB=$${RANLIB}" \
16674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16675 pdf) \
16676 || exit 1
16678 @endif gold
16680 .PHONY: maybe-html-gold html-gold
16681 maybe-html-gold:
16682 @if gold
16683 maybe-html-gold: html-gold
16685 html-gold: \
16686 configure-gold
16687 @[ -f ./gold/Makefile ] || exit 0; \
16688 r=`${PWD_COMMAND}`; export r; \
16689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16690 $(HOST_EXPORTS) \
16691 for flag in $(EXTRA_HOST_FLAGS) ; do \
16692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16693 done; \
16694 echo "Doing html in gold" ; \
16695 (cd $(HOST_SUBDIR)/gold && \
16696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16698 "RANLIB=$${RANLIB}" \
16699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16700 html) \
16701 || exit 1
16703 @endif gold
16705 .PHONY: maybe-TAGS-gold TAGS-gold
16706 maybe-TAGS-gold:
16707 @if gold
16708 maybe-TAGS-gold: TAGS-gold
16710 TAGS-gold: \
16711 configure-gold
16712 @[ -f ./gold/Makefile ] || exit 0; \
16713 r=`${PWD_COMMAND}`; export r; \
16714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16715 $(HOST_EXPORTS) \
16716 for flag in $(EXTRA_HOST_FLAGS) ; do \
16717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16718 done; \
16719 echo "Doing TAGS in gold" ; \
16720 (cd $(HOST_SUBDIR)/gold && \
16721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16723 "RANLIB=$${RANLIB}" \
16724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16725 TAGS) \
16726 || exit 1
16728 @endif gold
16730 .PHONY: maybe-install-info-gold install-info-gold
16731 maybe-install-info-gold:
16732 @if gold
16733 maybe-install-info-gold: install-info-gold
16735 install-info-gold: \
16736 configure-gold \
16737 info-gold
16738 @[ -f ./gold/Makefile ] || exit 0; \
16739 r=`${PWD_COMMAND}`; export r; \
16740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16741 $(HOST_EXPORTS) \
16742 for flag in $(EXTRA_HOST_FLAGS) ; do \
16743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16744 done; \
16745 echo "Doing install-info in gold" ; \
16746 (cd $(HOST_SUBDIR)/gold && \
16747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16749 "RANLIB=$${RANLIB}" \
16750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16751 install-info) \
16752 || exit 1
16754 @endif gold
16756 .PHONY: maybe-install-pdf-gold install-pdf-gold
16757 maybe-install-pdf-gold:
16758 @if gold
16759 maybe-install-pdf-gold: install-pdf-gold
16761 install-pdf-gold: \
16762 configure-gold \
16763 pdf-gold
16764 @[ -f ./gold/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-pdf in gold" ; \
16772 (cd $(HOST_SUBDIR)/gold && \
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-pdf) \
16778 || exit 1
16780 @endif gold
16782 .PHONY: maybe-install-html-gold install-html-gold
16783 maybe-install-html-gold:
16784 @if gold
16785 maybe-install-html-gold: install-html-gold
16787 install-html-gold: \
16788 configure-gold \
16789 html-gold
16790 @[ -f ./gold/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 install-html in gold" ; \
16798 (cd $(HOST_SUBDIR)/gold && \
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 install-html) \
16804 || exit 1
16806 @endif gold
16808 .PHONY: maybe-installcheck-gold installcheck-gold
16809 maybe-installcheck-gold:
16810 @if gold
16811 maybe-installcheck-gold: installcheck-gold
16813 installcheck-gold: \
16814 configure-gold
16815 @[ -f ./gold/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 installcheck in gold" ; \
16823 (cd $(HOST_SUBDIR)/gold && \
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 installcheck) \
16829 || exit 1
16831 @endif gold
16833 .PHONY: maybe-mostlyclean-gold mostlyclean-gold
16834 maybe-mostlyclean-gold:
16835 @if gold
16836 maybe-mostlyclean-gold: mostlyclean-gold
16838 mostlyclean-gold:
16839 @[ -f ./gold/Makefile ] || exit 0; \
16840 r=`${PWD_COMMAND}`; export r; \
16841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16842 $(HOST_EXPORTS) \
16843 for flag in $(EXTRA_HOST_FLAGS) ; do \
16844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16845 done; \
16846 echo "Doing mostlyclean in gold" ; \
16847 (cd $(HOST_SUBDIR)/gold && \
16848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16850 "RANLIB=$${RANLIB}" \
16851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16852 mostlyclean) \
16853 || exit 1
16855 @endif gold
16857 .PHONY: maybe-clean-gold clean-gold
16858 maybe-clean-gold:
16859 @if gold
16860 maybe-clean-gold: clean-gold
16862 clean-gold:
16863 @[ -f ./gold/Makefile ] || exit 0; \
16864 r=`${PWD_COMMAND}`; export r; \
16865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16866 $(HOST_EXPORTS) \
16867 for flag in $(EXTRA_HOST_FLAGS) ; do \
16868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16869 done; \
16870 echo "Doing clean in gold" ; \
16871 (cd $(HOST_SUBDIR)/gold && \
16872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16874 "RANLIB=$${RANLIB}" \
16875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16876 clean) \
16877 || exit 1
16879 @endif gold
16881 .PHONY: maybe-distclean-gold distclean-gold
16882 maybe-distclean-gold:
16883 @if gold
16884 maybe-distclean-gold: distclean-gold
16886 distclean-gold:
16887 @[ -f ./gold/Makefile ] || exit 0; \
16888 r=`${PWD_COMMAND}`; export r; \
16889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16890 $(HOST_EXPORTS) \
16891 for flag in $(EXTRA_HOST_FLAGS) ; do \
16892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16893 done; \
16894 echo "Doing distclean in gold" ; \
16895 (cd $(HOST_SUBDIR)/gold && \
16896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16898 "RANLIB=$${RANLIB}" \
16899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16900 distclean) \
16901 || exit 1
16903 @endif gold
16905 .PHONY: maybe-maintainer-clean-gold maintainer-clean-gold
16906 maybe-maintainer-clean-gold:
16907 @if gold
16908 maybe-maintainer-clean-gold: maintainer-clean-gold
16910 maintainer-clean-gold:
16911 @[ -f ./gold/Makefile ] || exit 0; \
16912 r=`${PWD_COMMAND}`; export r; \
16913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16914 $(HOST_EXPORTS) \
16915 for flag in $(EXTRA_HOST_FLAGS) ; do \
16916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16917 done; \
16918 echo "Doing maintainer-clean in gold" ; \
16919 (cd $(HOST_SUBDIR)/gold && \
16920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16922 "RANLIB=$${RANLIB}" \
16923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16924 maintainer-clean) \
16925 || exit 1
16927 @endif gold
16931 .PHONY: configure-gprof maybe-configure-gprof
16932 maybe-configure-gprof:
16933 @if gcc-bootstrap
16934 configure-gprof: stage_current
16935 @endif gcc-bootstrap
16936 @if gprof
16937 maybe-configure-gprof: configure-gprof
16938 configure-gprof:
16939 @: $(MAKE); $(unstage)
16940 @r=`${PWD_COMMAND}`; export r; \
16941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16942 test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
16943 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof ; \
16944 $(HOST_EXPORTS) \
16945 echo Configuring in $(HOST_SUBDIR)/gprof; \
16946 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
16947 case $(srcdir) in \
16948 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16949 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
16950 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16951 esac; \
16952 srcdiroption="--srcdir=$${topdir}/gprof"; \
16953 libsrcdir="$$s/gprof"; \
16954 $(SHELL) $${libsrcdir}/configure \
16955 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16956 --target=${target_alias} $${srcdiroption} \
16957 || exit 1
16958 @endif gprof
16964 .PHONY: all-gprof maybe-all-gprof
16965 maybe-all-gprof:
16966 @if gcc-bootstrap
16967 all-gprof: stage_current
16968 @endif gcc-bootstrap
16969 @if gprof
16970 TARGET-gprof=all
16971 maybe-all-gprof: all-gprof
16972 all-gprof: configure-gprof
16973 @: $(MAKE); $(unstage)
16974 @r=`${PWD_COMMAND}`; export r; \
16975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16976 $(HOST_EXPORTS) \
16977 (cd $(HOST_SUBDIR)/gprof && \
16978 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
16979 $(TARGET-gprof))
16980 @endif gprof
16985 .PHONY: check-gprof maybe-check-gprof
16986 maybe-check-gprof:
16987 @if gprof
16988 maybe-check-gprof: check-gprof
16990 check-gprof:
16991 @: $(MAKE); $(unstage)
16992 @r=`${PWD_COMMAND}`; export r; \
16993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16994 $(HOST_EXPORTS) \
16995 (cd $(HOST_SUBDIR)/gprof && \
16996 $(MAKE) $(FLAGS_TO_PASS) check)
16998 @endif gprof
17000 .PHONY: install-gprof maybe-install-gprof
17001 maybe-install-gprof:
17002 @if gprof
17003 maybe-install-gprof: install-gprof
17005 install-gprof: installdirs
17006 @: $(MAKE); $(unstage)
17007 @r=`${PWD_COMMAND}`; export r; \
17008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17009 $(HOST_EXPORTS) \
17010 (cd $(HOST_SUBDIR)/gprof && \
17011 $(MAKE) $(FLAGS_TO_PASS) install)
17013 @endif gprof
17015 .PHONY: install-strip-gprof maybe-install-strip-gprof
17016 maybe-install-strip-gprof:
17017 @if gprof
17018 maybe-install-strip-gprof: install-strip-gprof
17020 install-strip-gprof: installdirs
17021 @: $(MAKE); $(unstage)
17022 @r=`${PWD_COMMAND}`; export r; \
17023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17024 $(HOST_EXPORTS) \
17025 (cd $(HOST_SUBDIR)/gprof && \
17026 $(MAKE) $(FLAGS_TO_PASS) install-strip)
17028 @endif gprof
17030 # Other targets (info, dvi, pdf, etc.)
17032 .PHONY: maybe-info-gprof info-gprof
17033 maybe-info-gprof:
17034 @if gprof
17035 maybe-info-gprof: info-gprof
17037 info-gprof: \
17038 configure-gprof
17039 @: $(MAKE); $(unstage)
17040 @[ -f ./gprof/Makefile ] || exit 0; \
17041 r=`${PWD_COMMAND}`; export r; \
17042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17043 $(HOST_EXPORTS) \
17044 for flag in $(EXTRA_HOST_FLAGS) ; do \
17045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17046 done; \
17047 echo "Doing info in gprof" ; \
17048 (cd $(HOST_SUBDIR)/gprof && \
17049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17051 "RANLIB=$${RANLIB}" \
17052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17053 info) \
17054 || exit 1
17056 @endif gprof
17058 .PHONY: maybe-dvi-gprof dvi-gprof
17059 maybe-dvi-gprof:
17060 @if gprof
17061 maybe-dvi-gprof: dvi-gprof
17063 dvi-gprof: \
17064 configure-gprof
17065 @: $(MAKE); $(unstage)
17066 @[ -f ./gprof/Makefile ] || exit 0; \
17067 r=`${PWD_COMMAND}`; export r; \
17068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17069 $(HOST_EXPORTS) \
17070 for flag in $(EXTRA_HOST_FLAGS) ; do \
17071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17072 done; \
17073 echo "Doing dvi in gprof" ; \
17074 (cd $(HOST_SUBDIR)/gprof && \
17075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17077 "RANLIB=$${RANLIB}" \
17078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17079 dvi) \
17080 || exit 1
17082 @endif gprof
17084 .PHONY: maybe-pdf-gprof pdf-gprof
17085 maybe-pdf-gprof:
17086 @if gprof
17087 maybe-pdf-gprof: pdf-gprof
17089 pdf-gprof: \
17090 configure-gprof
17091 @: $(MAKE); $(unstage)
17092 @[ -f ./gprof/Makefile ] || exit 0; \
17093 r=`${PWD_COMMAND}`; export r; \
17094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17095 $(HOST_EXPORTS) \
17096 for flag in $(EXTRA_HOST_FLAGS) ; do \
17097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17098 done; \
17099 echo "Doing pdf in gprof" ; \
17100 (cd $(HOST_SUBDIR)/gprof && \
17101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17103 "RANLIB=$${RANLIB}" \
17104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17105 pdf) \
17106 || exit 1
17108 @endif gprof
17110 .PHONY: maybe-html-gprof html-gprof
17111 maybe-html-gprof:
17112 @if gprof
17113 maybe-html-gprof: html-gprof
17115 html-gprof: \
17116 configure-gprof
17117 @: $(MAKE); $(unstage)
17118 @[ -f ./gprof/Makefile ] || exit 0; \
17119 r=`${PWD_COMMAND}`; export r; \
17120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17121 $(HOST_EXPORTS) \
17122 for flag in $(EXTRA_HOST_FLAGS) ; do \
17123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17124 done; \
17125 echo "Doing html in gprof" ; \
17126 (cd $(HOST_SUBDIR)/gprof && \
17127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17129 "RANLIB=$${RANLIB}" \
17130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17131 html) \
17132 || exit 1
17134 @endif gprof
17136 .PHONY: maybe-TAGS-gprof TAGS-gprof
17137 maybe-TAGS-gprof:
17138 @if gprof
17139 maybe-TAGS-gprof: TAGS-gprof
17141 TAGS-gprof: \
17142 configure-gprof
17143 @: $(MAKE); $(unstage)
17144 @[ -f ./gprof/Makefile ] || exit 0; \
17145 r=`${PWD_COMMAND}`; export r; \
17146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17147 $(HOST_EXPORTS) \
17148 for flag in $(EXTRA_HOST_FLAGS) ; do \
17149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17150 done; \
17151 echo "Doing TAGS in gprof" ; \
17152 (cd $(HOST_SUBDIR)/gprof && \
17153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17155 "RANLIB=$${RANLIB}" \
17156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17157 TAGS) \
17158 || exit 1
17160 @endif gprof
17162 .PHONY: maybe-install-info-gprof install-info-gprof
17163 maybe-install-info-gprof:
17164 @if gprof
17165 maybe-install-info-gprof: install-info-gprof
17167 install-info-gprof: \
17168 configure-gprof \
17169 info-gprof
17170 @: $(MAKE); $(unstage)
17171 @[ -f ./gprof/Makefile ] || exit 0; \
17172 r=`${PWD_COMMAND}`; export r; \
17173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17174 $(HOST_EXPORTS) \
17175 for flag in $(EXTRA_HOST_FLAGS) ; do \
17176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17177 done; \
17178 echo "Doing install-info in gprof" ; \
17179 (cd $(HOST_SUBDIR)/gprof && \
17180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17182 "RANLIB=$${RANLIB}" \
17183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17184 install-info) \
17185 || exit 1
17187 @endif gprof
17189 .PHONY: maybe-install-pdf-gprof install-pdf-gprof
17190 maybe-install-pdf-gprof:
17191 @if gprof
17192 maybe-install-pdf-gprof: install-pdf-gprof
17194 install-pdf-gprof: \
17195 configure-gprof \
17196 pdf-gprof
17197 @: $(MAKE); $(unstage)
17198 @[ -f ./gprof/Makefile ] || exit 0; \
17199 r=`${PWD_COMMAND}`; export r; \
17200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17201 $(HOST_EXPORTS) \
17202 for flag in $(EXTRA_HOST_FLAGS) ; do \
17203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17204 done; \
17205 echo "Doing install-pdf in gprof" ; \
17206 (cd $(HOST_SUBDIR)/gprof && \
17207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17209 "RANLIB=$${RANLIB}" \
17210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17211 install-pdf) \
17212 || exit 1
17214 @endif gprof
17216 .PHONY: maybe-install-html-gprof install-html-gprof
17217 maybe-install-html-gprof:
17218 @if gprof
17219 maybe-install-html-gprof: install-html-gprof
17221 install-html-gprof: \
17222 configure-gprof \
17223 html-gprof
17224 @: $(MAKE); $(unstage)
17225 @[ -f ./gprof/Makefile ] || exit 0; \
17226 r=`${PWD_COMMAND}`; export r; \
17227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17228 $(HOST_EXPORTS) \
17229 for flag in $(EXTRA_HOST_FLAGS) ; do \
17230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17231 done; \
17232 echo "Doing install-html in gprof" ; \
17233 (cd $(HOST_SUBDIR)/gprof && \
17234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17236 "RANLIB=$${RANLIB}" \
17237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17238 install-html) \
17239 || exit 1
17241 @endif gprof
17243 .PHONY: maybe-installcheck-gprof installcheck-gprof
17244 maybe-installcheck-gprof:
17245 @if gprof
17246 maybe-installcheck-gprof: installcheck-gprof
17248 installcheck-gprof: \
17249 configure-gprof
17250 @: $(MAKE); $(unstage)
17251 @[ -f ./gprof/Makefile ] || exit 0; \
17252 r=`${PWD_COMMAND}`; export r; \
17253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17254 $(HOST_EXPORTS) \
17255 for flag in $(EXTRA_HOST_FLAGS) ; do \
17256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17257 done; \
17258 echo "Doing installcheck in gprof" ; \
17259 (cd $(HOST_SUBDIR)/gprof && \
17260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17262 "RANLIB=$${RANLIB}" \
17263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17264 installcheck) \
17265 || exit 1
17267 @endif gprof
17269 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
17270 maybe-mostlyclean-gprof:
17271 @if gprof
17272 maybe-mostlyclean-gprof: mostlyclean-gprof
17274 mostlyclean-gprof:
17275 @: $(MAKE); $(unstage)
17276 @[ -f ./gprof/Makefile ] || exit 0; \
17277 r=`${PWD_COMMAND}`; export r; \
17278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17279 $(HOST_EXPORTS) \
17280 for flag in $(EXTRA_HOST_FLAGS) ; do \
17281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17282 done; \
17283 echo "Doing mostlyclean in gprof" ; \
17284 (cd $(HOST_SUBDIR)/gprof && \
17285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17287 "RANLIB=$${RANLIB}" \
17288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17289 mostlyclean) \
17290 || exit 1
17292 @endif gprof
17294 .PHONY: maybe-clean-gprof clean-gprof
17295 maybe-clean-gprof:
17296 @if gprof
17297 maybe-clean-gprof: clean-gprof
17299 clean-gprof:
17300 @: $(MAKE); $(unstage)
17301 @[ -f ./gprof/Makefile ] || exit 0; \
17302 r=`${PWD_COMMAND}`; export r; \
17303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17304 $(HOST_EXPORTS) \
17305 for flag in $(EXTRA_HOST_FLAGS) ; do \
17306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17307 done; \
17308 echo "Doing clean in gprof" ; \
17309 (cd $(HOST_SUBDIR)/gprof && \
17310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17312 "RANLIB=$${RANLIB}" \
17313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17314 clean) \
17315 || exit 1
17317 @endif gprof
17319 .PHONY: maybe-distclean-gprof distclean-gprof
17320 maybe-distclean-gprof:
17321 @if gprof
17322 maybe-distclean-gprof: distclean-gprof
17324 distclean-gprof:
17325 @: $(MAKE); $(unstage)
17326 @[ -f ./gprof/Makefile ] || exit 0; \
17327 r=`${PWD_COMMAND}`; export r; \
17328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17329 $(HOST_EXPORTS) \
17330 for flag in $(EXTRA_HOST_FLAGS) ; do \
17331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17332 done; \
17333 echo "Doing distclean in gprof" ; \
17334 (cd $(HOST_SUBDIR)/gprof && \
17335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17337 "RANLIB=$${RANLIB}" \
17338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17339 distclean) \
17340 || exit 1
17342 @endif gprof
17344 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
17345 maybe-maintainer-clean-gprof:
17346 @if gprof
17347 maybe-maintainer-clean-gprof: maintainer-clean-gprof
17349 maintainer-clean-gprof:
17350 @: $(MAKE); $(unstage)
17351 @[ -f ./gprof/Makefile ] || exit 0; \
17352 r=`${PWD_COMMAND}`; export r; \
17353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17354 $(HOST_EXPORTS) \
17355 for flag in $(EXTRA_HOST_FLAGS) ; do \
17356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17357 done; \
17358 echo "Doing maintainer-clean in gprof" ; \
17359 (cd $(HOST_SUBDIR)/gprof && \
17360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17362 "RANLIB=$${RANLIB}" \
17363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17364 maintainer-clean) \
17365 || exit 1
17367 @endif gprof
17371 .PHONY: configure-intl maybe-configure-intl
17372 maybe-configure-intl:
17373 @if gcc-bootstrap
17374 configure-intl: stage_current
17375 @endif gcc-bootstrap
17376 @if intl
17377 maybe-configure-intl: configure-intl
17378 configure-intl:
17379 @r=`${PWD_COMMAND}`; export r; \
17380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17381 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17382 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17383 $(HOST_EXPORTS) \
17384 echo Configuring in $(HOST_SUBDIR)/intl; \
17385 cd "$(HOST_SUBDIR)/intl" || exit 1; \
17386 case $(srcdir) in \
17387 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17388 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17389 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17390 esac; \
17391 srcdiroption="--srcdir=$${topdir}/intl"; \
17392 libsrcdir="$$s/intl"; \
17393 $(SHELL) $${libsrcdir}/configure \
17394 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17395 --target=${target_alias} $${srcdiroption} \
17396 || exit 1
17397 @endif intl
17401 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
17402 maybe-configure-stage1-intl:
17403 @if intl-bootstrap
17404 maybe-configure-stage1-intl: configure-stage1-intl
17405 configure-stage1-intl:
17406 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17407 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17408 @r=`${PWD_COMMAND}`; export r; \
17409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17410 TFLAGS="$(STAGE1_TFLAGS)"; \
17411 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17412 $(HOST_EXPORTS) \
17413 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
17414 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
17415 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
17416 echo Configuring stage 1 in $(HOST_SUBDIR)/intl ; \
17417 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17418 cd $(HOST_SUBDIR)/intl || exit 1; \
17419 case $(srcdir) in \
17420 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17421 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17422 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17423 esac; \
17424 srcdiroption="--srcdir=$${topdir}/intl"; \
17425 libsrcdir="$$s/intl"; \
17426 $(SHELL) $${libsrcdir}/configure \
17427 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17428 --target=${target_alias} $${srcdiroption} \
17429 $(STAGE1_CONFIGURE_FLAGS)
17430 @endif intl-bootstrap
17432 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
17433 maybe-configure-stage2-intl:
17434 @if intl-bootstrap
17435 maybe-configure-stage2-intl: configure-stage2-intl
17436 configure-stage2-intl:
17437 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17438 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17439 @r=`${PWD_COMMAND}`; export r; \
17440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17441 TFLAGS="$(STAGE2_TFLAGS)"; \
17442 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17443 $(HOST_EXPORTS) \
17444 $(POSTSTAGE1_HOST_EXPORTS) \
17445 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
17446 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
17447 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
17448 echo Configuring stage 2 in $(HOST_SUBDIR)/intl ; \
17449 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17450 cd $(HOST_SUBDIR)/intl || exit 1; \
17451 case $(srcdir) in \
17452 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17453 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17454 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17455 esac; \
17456 srcdiroption="--srcdir=$${topdir}/intl"; \
17457 libsrcdir="$$s/intl"; \
17458 $(SHELL) $${libsrcdir}/configure \
17459 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17460 --target=${target_alias} $${srcdiroption} \
17461 --with-build-libsubdir=$(HOST_SUBDIR) \
17462 $(STAGE2_CONFIGURE_FLAGS)
17463 @endif intl-bootstrap
17465 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
17466 maybe-configure-stage3-intl:
17467 @if intl-bootstrap
17468 maybe-configure-stage3-intl: configure-stage3-intl
17469 configure-stage3-intl:
17470 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17471 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17472 @r=`${PWD_COMMAND}`; export r; \
17473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17474 TFLAGS="$(STAGE3_TFLAGS)"; \
17475 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17476 $(HOST_EXPORTS) \
17477 $(POSTSTAGE1_HOST_EXPORTS) \
17478 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
17479 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
17480 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
17481 echo Configuring stage 3 in $(HOST_SUBDIR)/intl ; \
17482 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17483 cd $(HOST_SUBDIR)/intl || exit 1; \
17484 case $(srcdir) in \
17485 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17486 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17487 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17488 esac; \
17489 srcdiroption="--srcdir=$${topdir}/intl"; \
17490 libsrcdir="$$s/intl"; \
17491 $(SHELL) $${libsrcdir}/configure \
17492 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17493 --target=${target_alias} $${srcdiroption} \
17494 --with-build-libsubdir=$(HOST_SUBDIR) \
17495 $(STAGE3_CONFIGURE_FLAGS)
17496 @endif intl-bootstrap
17498 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
17499 maybe-configure-stage4-intl:
17500 @if intl-bootstrap
17501 maybe-configure-stage4-intl: configure-stage4-intl
17502 configure-stage4-intl:
17503 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17504 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17505 @r=`${PWD_COMMAND}`; export r; \
17506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17507 TFLAGS="$(STAGE4_TFLAGS)"; \
17508 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17509 $(HOST_EXPORTS) \
17510 $(POSTSTAGE1_HOST_EXPORTS) \
17511 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
17512 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
17513 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
17514 echo Configuring stage 4 in $(HOST_SUBDIR)/intl ; \
17515 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17516 cd $(HOST_SUBDIR)/intl || exit 1; \
17517 case $(srcdir) in \
17518 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17519 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17520 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17521 esac; \
17522 srcdiroption="--srcdir=$${topdir}/intl"; \
17523 libsrcdir="$$s/intl"; \
17524 $(SHELL) $${libsrcdir}/configure \
17525 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17526 --target=${target_alias} $${srcdiroption} \
17527 --with-build-libsubdir=$(HOST_SUBDIR) \
17528 $(STAGE4_CONFIGURE_FLAGS)
17529 @endif intl-bootstrap
17531 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
17532 maybe-configure-stageprofile-intl:
17533 @if intl-bootstrap
17534 maybe-configure-stageprofile-intl: configure-stageprofile-intl
17535 configure-stageprofile-intl:
17536 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17537 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17538 @r=`${PWD_COMMAND}`; export r; \
17539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17540 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17541 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17542 $(HOST_EXPORTS) \
17543 $(POSTSTAGE1_HOST_EXPORTS) \
17544 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
17545 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
17546 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
17547 echo Configuring stage profile in $(HOST_SUBDIR)/intl ; \
17548 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17549 cd $(HOST_SUBDIR)/intl || exit 1; \
17550 case $(srcdir) in \
17551 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17552 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17553 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17554 esac; \
17555 srcdiroption="--srcdir=$${topdir}/intl"; \
17556 libsrcdir="$$s/intl"; \
17557 $(SHELL) $${libsrcdir}/configure \
17558 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17559 --target=${target_alias} $${srcdiroption} \
17560 --with-build-libsubdir=$(HOST_SUBDIR) \
17561 $(STAGEprofile_CONFIGURE_FLAGS)
17562 @endif intl-bootstrap
17564 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
17565 maybe-configure-stagefeedback-intl:
17566 @if intl-bootstrap
17567 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
17568 configure-stagefeedback-intl:
17569 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17570 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
17571 @r=`${PWD_COMMAND}`; export r; \
17572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17573 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17574 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
17575 $(HOST_EXPORTS) \
17576 $(POSTSTAGE1_HOST_EXPORTS) \
17577 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
17578 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
17579 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
17580 echo Configuring stage feedback in $(HOST_SUBDIR)/intl ; \
17581 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
17582 cd $(HOST_SUBDIR)/intl || exit 1; \
17583 case $(srcdir) in \
17584 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17585 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
17586 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17587 esac; \
17588 srcdiroption="--srcdir=$${topdir}/intl"; \
17589 libsrcdir="$$s/intl"; \
17590 $(SHELL) $${libsrcdir}/configure \
17591 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17592 --target=${target_alias} $${srcdiroption} \
17593 --with-build-libsubdir=$(HOST_SUBDIR) \
17594 $(STAGEfeedback_CONFIGURE_FLAGS)
17595 @endif intl-bootstrap
17601 .PHONY: all-intl maybe-all-intl
17602 maybe-all-intl:
17603 @if gcc-bootstrap
17604 all-intl: stage_current
17605 @endif gcc-bootstrap
17606 @if intl
17607 TARGET-intl=all
17608 maybe-all-intl: all-intl
17609 all-intl: configure-intl
17610 @r=`${PWD_COMMAND}`; export r; \
17611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17612 $(HOST_EXPORTS) \
17613 (cd $(HOST_SUBDIR)/intl && \
17614 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
17615 $(TARGET-intl))
17616 @endif intl
17620 .PHONY: all-stage1-intl maybe-all-stage1-intl
17621 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
17622 maybe-all-stage1-intl:
17623 maybe-clean-stage1-intl:
17624 @if intl-bootstrap
17625 maybe-all-stage1-intl: all-stage1-intl
17626 all-stage1: all-stage1-intl
17627 TARGET-stage1-intl = $(TARGET-intl)
17628 all-stage1-intl: configure-stage1-intl
17629 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
17630 @r=`${PWD_COMMAND}`; export r; \
17631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17632 TFLAGS="$(STAGE1_TFLAGS)"; \
17633 $(HOST_EXPORTS) \
17634 cd $(HOST_SUBDIR)/intl && \
17635 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17636 CFLAGS="$(STAGE1_CFLAGS)" \
17637 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
17638 LIBCFLAGS="$(LIBCFLAGS)" \
17639 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17640 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17641 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17642 $(EXTRA_HOST_FLAGS) \
17643 $(STAGE1_FLAGS_TO_PASS) \
17644 TFLAGS="$(STAGE1_TFLAGS)" \
17645 $(TARGET-stage1-intl)
17647 maybe-clean-stage1-intl: clean-stage1-intl
17648 clean-stage1: clean-stage1-intl
17649 clean-stage1-intl:
17650 @if [ $(current_stage) = stage1 ]; then \
17651 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17652 else \
17653 [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] || exit 0; \
17654 $(MAKE) stage1-start; \
17655 fi; \
17656 cd $(HOST_SUBDIR)/intl && \
17657 $(MAKE) $(EXTRA_HOST_FLAGS) \
17658 $(STAGE1_FLAGS_TO_PASS) clean
17659 @endif intl-bootstrap
17662 .PHONY: all-stage2-intl maybe-all-stage2-intl
17663 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
17664 maybe-all-stage2-intl:
17665 maybe-clean-stage2-intl:
17666 @if intl-bootstrap
17667 maybe-all-stage2-intl: all-stage2-intl
17668 all-stage2: all-stage2-intl
17669 TARGET-stage2-intl = $(TARGET-intl)
17670 all-stage2-intl: configure-stage2-intl
17671 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
17672 @r=`${PWD_COMMAND}`; export r; \
17673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17674 TFLAGS="$(STAGE2_TFLAGS)"; \
17675 $(HOST_EXPORTS) \
17676 $(POSTSTAGE1_HOST_EXPORTS) \
17677 cd $(HOST_SUBDIR)/intl && \
17678 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17679 CFLAGS="$(STAGE2_CFLAGS)" \
17680 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
17681 LIBCFLAGS="$(STAGE2_CFLAGS)" \
17682 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17683 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17684 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17685 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17686 TFLAGS="$(STAGE2_TFLAGS)" \
17687 $(TARGET-stage2-intl)
17689 maybe-clean-stage2-intl: clean-stage2-intl
17690 clean-stage2: clean-stage2-intl
17691 clean-stage2-intl:
17692 @if [ $(current_stage) = stage2 ]; then \
17693 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17694 else \
17695 [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] || exit 0; \
17696 $(MAKE) stage2-start; \
17697 fi; \
17698 cd $(HOST_SUBDIR)/intl && \
17699 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17700 @endif intl-bootstrap
17703 .PHONY: all-stage3-intl maybe-all-stage3-intl
17704 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
17705 maybe-all-stage3-intl:
17706 maybe-clean-stage3-intl:
17707 @if intl-bootstrap
17708 maybe-all-stage3-intl: all-stage3-intl
17709 all-stage3: all-stage3-intl
17710 TARGET-stage3-intl = $(TARGET-intl)
17711 all-stage3-intl: configure-stage3-intl
17712 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17713 @r=`${PWD_COMMAND}`; export r; \
17714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17715 TFLAGS="$(STAGE3_TFLAGS)"; \
17716 $(HOST_EXPORTS) \
17717 $(POSTSTAGE1_HOST_EXPORTS) \
17718 cd $(HOST_SUBDIR)/intl && \
17719 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17720 CFLAGS="$(STAGE3_CFLAGS)" \
17721 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
17722 LIBCFLAGS="$(STAGE3_CFLAGS)" \
17723 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17724 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17725 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17726 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17727 TFLAGS="$(STAGE3_TFLAGS)" \
17728 $(TARGET-stage3-intl)
17730 maybe-clean-stage3-intl: clean-stage3-intl
17731 clean-stage3: clean-stage3-intl
17732 clean-stage3-intl:
17733 @if [ $(current_stage) = stage3 ]; then \
17734 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17735 else \
17736 [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] || exit 0; \
17737 $(MAKE) stage3-start; \
17738 fi; \
17739 cd $(HOST_SUBDIR)/intl && \
17740 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17741 @endif intl-bootstrap
17744 .PHONY: all-stage4-intl maybe-all-stage4-intl
17745 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
17746 maybe-all-stage4-intl:
17747 maybe-clean-stage4-intl:
17748 @if intl-bootstrap
17749 maybe-all-stage4-intl: all-stage4-intl
17750 all-stage4: all-stage4-intl
17751 TARGET-stage4-intl = $(TARGET-intl)
17752 all-stage4-intl: configure-stage4-intl
17753 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17754 @r=`${PWD_COMMAND}`; export r; \
17755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17756 TFLAGS="$(STAGE4_TFLAGS)"; \
17757 $(HOST_EXPORTS) \
17758 $(POSTSTAGE1_HOST_EXPORTS) \
17759 cd $(HOST_SUBDIR)/intl && \
17760 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17761 CFLAGS="$(STAGE4_CFLAGS)" \
17762 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
17763 LIBCFLAGS="$(STAGE4_CFLAGS)" \
17764 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17765 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17766 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17767 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17768 TFLAGS="$(STAGE4_TFLAGS)" \
17769 $(TARGET-stage4-intl)
17771 maybe-clean-stage4-intl: clean-stage4-intl
17772 clean-stage4: clean-stage4-intl
17773 clean-stage4-intl:
17774 @if [ $(current_stage) = stage4 ]; then \
17775 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17776 else \
17777 [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] || exit 0; \
17778 $(MAKE) stage4-start; \
17779 fi; \
17780 cd $(HOST_SUBDIR)/intl && \
17781 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17782 @endif intl-bootstrap
17785 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
17786 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
17787 maybe-all-stageprofile-intl:
17788 maybe-clean-stageprofile-intl:
17789 @if intl-bootstrap
17790 maybe-all-stageprofile-intl: all-stageprofile-intl
17791 all-stageprofile: all-stageprofile-intl
17792 TARGET-stageprofile-intl = $(TARGET-intl)
17793 all-stageprofile-intl: configure-stageprofile-intl
17794 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17795 @r=`${PWD_COMMAND}`; export r; \
17796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17797 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17798 $(HOST_EXPORTS) \
17799 $(POSTSTAGE1_HOST_EXPORTS) \
17800 cd $(HOST_SUBDIR)/intl && \
17801 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17802 CFLAGS="$(STAGEprofile_CFLAGS)" \
17803 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
17804 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
17805 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17806 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17807 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17808 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17809 TFLAGS="$(STAGEprofile_TFLAGS)" \
17810 $(TARGET-stageprofile-intl)
17812 maybe-clean-stageprofile-intl: clean-stageprofile-intl
17813 clean-stageprofile: clean-stageprofile-intl
17814 clean-stageprofile-intl:
17815 @if [ $(current_stage) = stageprofile ]; then \
17816 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17817 else \
17818 [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] || exit 0; \
17819 $(MAKE) stageprofile-start; \
17820 fi; \
17821 cd $(HOST_SUBDIR)/intl && \
17822 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17823 @endif intl-bootstrap
17826 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
17827 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
17828 maybe-all-stagefeedback-intl:
17829 maybe-clean-stagefeedback-intl:
17830 @if intl-bootstrap
17831 maybe-all-stagefeedback-intl: all-stagefeedback-intl
17832 all-stagefeedback: all-stagefeedback-intl
17833 TARGET-stagefeedback-intl = $(TARGET-intl)
17834 all-stagefeedback-intl: configure-stagefeedback-intl
17835 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17836 @r=`${PWD_COMMAND}`; export r; \
17837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17838 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17839 $(HOST_EXPORTS) \
17840 $(POSTSTAGE1_HOST_EXPORTS) \
17841 cd $(HOST_SUBDIR)/intl && \
17842 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17843 CFLAGS="$(STAGEfeedback_CFLAGS)" \
17844 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
17845 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
17846 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17847 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17848 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17849 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17850 TFLAGS="$(STAGEfeedback_TFLAGS)" \
17851 $(TARGET-stagefeedback-intl)
17853 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
17854 clean-stagefeedback: clean-stagefeedback-intl
17855 clean-stagefeedback-intl:
17856 @if [ $(current_stage) = stagefeedback ]; then \
17857 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17858 else \
17859 [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] || exit 0; \
17860 $(MAKE) stagefeedback-start; \
17861 fi; \
17862 cd $(HOST_SUBDIR)/intl && \
17863 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17864 @endif intl-bootstrap
17870 .PHONY: check-intl maybe-check-intl
17871 maybe-check-intl:
17872 @if intl
17873 maybe-check-intl: check-intl
17875 check-intl:
17876 @: $(MAKE); $(unstage)
17877 @r=`${PWD_COMMAND}`; export r; \
17878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17879 $(HOST_EXPORTS) \
17880 (cd $(HOST_SUBDIR)/intl && \
17881 $(MAKE) $(FLAGS_TO_PASS) check)
17883 @endif intl
17885 .PHONY: install-intl maybe-install-intl
17886 maybe-install-intl:
17887 @if intl
17888 maybe-install-intl: install-intl
17890 install-intl: installdirs
17891 @: $(MAKE); $(unstage)
17892 @r=`${PWD_COMMAND}`; export r; \
17893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17894 $(HOST_EXPORTS) \
17895 (cd $(HOST_SUBDIR)/intl && \
17896 $(MAKE) $(FLAGS_TO_PASS) install)
17898 @endif intl
17900 .PHONY: install-strip-intl maybe-install-strip-intl
17901 maybe-install-strip-intl:
17902 @if intl
17903 maybe-install-strip-intl: install-strip-intl
17905 install-strip-intl: installdirs
17906 @: $(MAKE); $(unstage)
17907 @r=`${PWD_COMMAND}`; export r; \
17908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17909 $(HOST_EXPORTS) \
17910 (cd $(HOST_SUBDIR)/intl && \
17911 $(MAKE) $(FLAGS_TO_PASS) install-strip)
17913 @endif intl
17915 # Other targets (info, dvi, pdf, etc.)
17917 .PHONY: maybe-info-intl info-intl
17918 maybe-info-intl:
17919 @if intl
17920 maybe-info-intl: info-intl
17922 info-intl: \
17923 configure-intl
17924 @[ -f ./intl/Makefile ] || exit 0; \
17925 r=`${PWD_COMMAND}`; export r; \
17926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17927 $(HOST_EXPORTS) \
17928 for flag in $(EXTRA_HOST_FLAGS) ; do \
17929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17930 done; \
17931 echo "Doing info in intl" ; \
17932 (cd $(HOST_SUBDIR)/intl && \
17933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17935 "RANLIB=$${RANLIB}" \
17936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17937 info) \
17938 || exit 1
17940 @endif intl
17942 .PHONY: maybe-dvi-intl dvi-intl
17943 maybe-dvi-intl:
17944 @if intl
17945 maybe-dvi-intl: dvi-intl
17947 dvi-intl: \
17948 configure-intl
17949 @[ -f ./intl/Makefile ] || exit 0; \
17950 r=`${PWD_COMMAND}`; export r; \
17951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17952 $(HOST_EXPORTS) \
17953 for flag in $(EXTRA_HOST_FLAGS) ; do \
17954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17955 done; \
17956 echo "Doing dvi in intl" ; \
17957 (cd $(HOST_SUBDIR)/intl && \
17958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17960 "RANLIB=$${RANLIB}" \
17961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17962 dvi) \
17963 || exit 1
17965 @endif intl
17967 .PHONY: maybe-pdf-intl pdf-intl
17968 maybe-pdf-intl:
17969 @if intl
17970 maybe-pdf-intl: pdf-intl
17972 pdf-intl: \
17973 configure-intl
17974 @[ -f ./intl/Makefile ] || exit 0; \
17975 r=`${PWD_COMMAND}`; export r; \
17976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17977 $(HOST_EXPORTS) \
17978 for flag in $(EXTRA_HOST_FLAGS) ; do \
17979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17980 done; \
17981 echo "Doing pdf in intl" ; \
17982 (cd $(HOST_SUBDIR)/intl && \
17983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17985 "RANLIB=$${RANLIB}" \
17986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17987 pdf) \
17988 || exit 1
17990 @endif intl
17992 .PHONY: maybe-html-intl html-intl
17993 maybe-html-intl:
17994 @if intl
17995 maybe-html-intl: html-intl
17997 html-intl: \
17998 configure-intl
17999 @[ -f ./intl/Makefile ] || exit 0; \
18000 r=`${PWD_COMMAND}`; export r; \
18001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18002 $(HOST_EXPORTS) \
18003 for flag in $(EXTRA_HOST_FLAGS) ; do \
18004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18005 done; \
18006 echo "Doing html in intl" ; \
18007 (cd $(HOST_SUBDIR)/intl && \
18008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18010 "RANLIB=$${RANLIB}" \
18011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18012 html) \
18013 || exit 1
18015 @endif intl
18017 .PHONY: maybe-TAGS-intl TAGS-intl
18018 maybe-TAGS-intl:
18019 @if intl
18020 maybe-TAGS-intl: TAGS-intl
18022 TAGS-intl: \
18023 configure-intl
18024 @[ -f ./intl/Makefile ] || exit 0; \
18025 r=`${PWD_COMMAND}`; export r; \
18026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18027 $(HOST_EXPORTS) \
18028 for flag in $(EXTRA_HOST_FLAGS) ; do \
18029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18030 done; \
18031 echo "Doing TAGS in intl" ; \
18032 (cd $(HOST_SUBDIR)/intl && \
18033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18035 "RANLIB=$${RANLIB}" \
18036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18037 TAGS) \
18038 || exit 1
18040 @endif intl
18042 .PHONY: maybe-install-info-intl install-info-intl
18043 maybe-install-info-intl:
18044 @if intl
18045 maybe-install-info-intl: install-info-intl
18047 install-info-intl: \
18048 configure-intl \
18049 info-intl
18050 @[ -f ./intl/Makefile ] || exit 0; \
18051 r=`${PWD_COMMAND}`; export r; \
18052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18053 $(HOST_EXPORTS) \
18054 for flag in $(EXTRA_HOST_FLAGS) ; do \
18055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18056 done; \
18057 echo "Doing install-info in intl" ; \
18058 (cd $(HOST_SUBDIR)/intl && \
18059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18061 "RANLIB=$${RANLIB}" \
18062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18063 install-info) \
18064 || exit 1
18066 @endif intl
18068 .PHONY: maybe-install-pdf-intl install-pdf-intl
18069 maybe-install-pdf-intl:
18070 @if intl
18071 maybe-install-pdf-intl: install-pdf-intl
18073 install-pdf-intl: \
18074 configure-intl \
18075 pdf-intl
18076 @[ -f ./intl/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-pdf in intl" ; \
18084 (cd $(HOST_SUBDIR)/intl && \
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-pdf) \
18090 || exit 1
18092 @endif intl
18094 .PHONY: maybe-install-html-intl install-html-intl
18095 maybe-install-html-intl:
18096 @if intl
18097 maybe-install-html-intl: install-html-intl
18099 install-html-intl: \
18100 configure-intl \
18101 html-intl
18102 @[ -f ./intl/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 install-html in intl" ; \
18110 (cd $(HOST_SUBDIR)/intl && \
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 install-html) \
18116 || exit 1
18118 @endif intl
18120 .PHONY: maybe-installcheck-intl installcheck-intl
18121 maybe-installcheck-intl:
18122 @if intl
18123 maybe-installcheck-intl: installcheck-intl
18125 installcheck-intl: \
18126 configure-intl
18127 @[ -f ./intl/Makefile ] || exit 0; \
18128 r=`${PWD_COMMAND}`; export r; \
18129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18130 $(HOST_EXPORTS) \
18131 for flag in $(EXTRA_HOST_FLAGS) ; do \
18132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18133 done; \
18134 echo "Doing installcheck in intl" ; \
18135 (cd $(HOST_SUBDIR)/intl && \
18136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18138 "RANLIB=$${RANLIB}" \
18139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18140 installcheck) \
18141 || exit 1
18143 @endif intl
18145 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
18146 maybe-mostlyclean-intl:
18147 @if intl
18148 maybe-mostlyclean-intl: mostlyclean-intl
18150 mostlyclean-intl:
18151 @[ -f ./intl/Makefile ] || exit 0; \
18152 r=`${PWD_COMMAND}`; export r; \
18153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18154 $(HOST_EXPORTS) \
18155 for flag in $(EXTRA_HOST_FLAGS) ; do \
18156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18157 done; \
18158 echo "Doing mostlyclean in intl" ; \
18159 (cd $(HOST_SUBDIR)/intl && \
18160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18162 "RANLIB=$${RANLIB}" \
18163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18164 mostlyclean) \
18165 || exit 1
18167 @endif intl
18169 .PHONY: maybe-clean-intl clean-intl
18170 maybe-clean-intl:
18171 @if intl
18172 maybe-clean-intl: clean-intl
18174 clean-intl:
18175 @[ -f ./intl/Makefile ] || exit 0; \
18176 r=`${PWD_COMMAND}`; export r; \
18177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18178 $(HOST_EXPORTS) \
18179 for flag in $(EXTRA_HOST_FLAGS) ; do \
18180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18181 done; \
18182 echo "Doing clean in intl" ; \
18183 (cd $(HOST_SUBDIR)/intl && \
18184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18186 "RANLIB=$${RANLIB}" \
18187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18188 clean) \
18189 || exit 1
18191 @endif intl
18193 .PHONY: maybe-distclean-intl distclean-intl
18194 maybe-distclean-intl:
18195 @if intl
18196 maybe-distclean-intl: distclean-intl
18198 distclean-intl:
18199 @[ -f ./intl/Makefile ] || exit 0; \
18200 r=`${PWD_COMMAND}`; export r; \
18201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18202 $(HOST_EXPORTS) \
18203 for flag in $(EXTRA_HOST_FLAGS) ; do \
18204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18205 done; \
18206 echo "Doing distclean in intl" ; \
18207 (cd $(HOST_SUBDIR)/intl && \
18208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18210 "RANLIB=$${RANLIB}" \
18211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18212 distclean) \
18213 || exit 1
18215 @endif intl
18217 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
18218 maybe-maintainer-clean-intl:
18219 @if intl
18220 maybe-maintainer-clean-intl: maintainer-clean-intl
18222 maintainer-clean-intl:
18223 @[ -f ./intl/Makefile ] || exit 0; \
18224 r=`${PWD_COMMAND}`; export r; \
18225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18226 $(HOST_EXPORTS) \
18227 for flag in $(EXTRA_HOST_FLAGS) ; do \
18228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18229 done; \
18230 echo "Doing maintainer-clean in intl" ; \
18231 (cd $(HOST_SUBDIR)/intl && \
18232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18234 "RANLIB=$${RANLIB}" \
18235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18236 maintainer-clean) \
18237 || exit 1
18239 @endif intl
18243 .PHONY: configure-tcl maybe-configure-tcl
18244 maybe-configure-tcl:
18245 @if gcc-bootstrap
18246 configure-tcl: stage_current
18247 @endif gcc-bootstrap
18248 @if tcl
18249 maybe-configure-tcl: configure-tcl
18250 configure-tcl:
18251 @: $(MAKE); $(unstage)
18252 @r=`${PWD_COMMAND}`; export r; \
18253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18254 test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
18255 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl ; \
18256 $(HOST_EXPORTS) \
18257 echo Configuring in $(HOST_SUBDIR)/tcl; \
18258 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
18259 case $(srcdir) in \
18260 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18261 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
18262 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18263 esac; \
18264 srcdiroption="--srcdir=$${topdir}/tcl"; \
18265 libsrcdir="$$s/tcl"; \
18266 $(SHELL) $${libsrcdir}/configure \
18267 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18268 --target=${target_alias} $${srcdiroption} \
18269 || exit 1
18270 @endif tcl
18276 .PHONY: all-tcl maybe-all-tcl
18277 maybe-all-tcl:
18278 @if gcc-bootstrap
18279 all-tcl: stage_current
18280 @endif gcc-bootstrap
18281 @if tcl
18282 TARGET-tcl=all
18283 maybe-all-tcl: all-tcl
18284 all-tcl: configure-tcl
18285 @: $(MAKE); $(unstage)
18286 @r=`${PWD_COMMAND}`; export r; \
18287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18288 $(HOST_EXPORTS) \
18289 (cd $(HOST_SUBDIR)/tcl && \
18290 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
18291 $(TARGET-tcl))
18292 @endif tcl
18297 .PHONY: check-tcl maybe-check-tcl
18298 maybe-check-tcl:
18299 @if tcl
18300 maybe-check-tcl: check-tcl
18302 check-tcl:
18303 @: $(MAKE); $(unstage)
18304 @r=`${PWD_COMMAND}`; export r; \
18305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18306 $(HOST_EXPORTS) \
18307 (cd $(HOST_SUBDIR)/tcl && \
18308 $(MAKE) $(FLAGS_TO_PASS) check)
18310 @endif tcl
18312 .PHONY: install-tcl maybe-install-tcl
18313 maybe-install-tcl:
18314 @if tcl
18315 maybe-install-tcl: install-tcl
18317 install-tcl: installdirs
18318 @: $(MAKE); $(unstage)
18319 @r=`${PWD_COMMAND}`; export r; \
18320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18321 $(HOST_EXPORTS) \
18322 (cd $(HOST_SUBDIR)/tcl && \
18323 $(MAKE) $(FLAGS_TO_PASS) install)
18325 @endif tcl
18327 .PHONY: install-strip-tcl maybe-install-strip-tcl
18328 maybe-install-strip-tcl:
18329 @if tcl
18330 maybe-install-strip-tcl: install-strip-tcl
18332 install-strip-tcl: installdirs
18333 @: $(MAKE); $(unstage)
18334 @r=`${PWD_COMMAND}`; export r; \
18335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18336 $(HOST_EXPORTS) \
18337 (cd $(HOST_SUBDIR)/tcl && \
18338 $(MAKE) $(FLAGS_TO_PASS) install-strip)
18340 @endif tcl
18342 # Other targets (info, dvi, pdf, etc.)
18344 .PHONY: maybe-info-tcl info-tcl
18345 maybe-info-tcl:
18346 @if tcl
18347 maybe-info-tcl: info-tcl
18349 info-tcl: \
18350 configure-tcl
18351 @: $(MAKE); $(unstage)
18352 @[ -f ./tcl/Makefile ] || exit 0; \
18353 r=`${PWD_COMMAND}`; export r; \
18354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18355 $(HOST_EXPORTS) \
18356 for flag in $(EXTRA_HOST_FLAGS) ; do \
18357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18358 done; \
18359 echo "Doing info in tcl" ; \
18360 (cd $(HOST_SUBDIR)/tcl && \
18361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18363 "RANLIB=$${RANLIB}" \
18364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18365 info) \
18366 || exit 1
18368 @endif tcl
18370 .PHONY: maybe-dvi-tcl dvi-tcl
18371 maybe-dvi-tcl:
18372 @if tcl
18373 maybe-dvi-tcl: dvi-tcl
18375 dvi-tcl: \
18376 configure-tcl
18377 @: $(MAKE); $(unstage)
18378 @[ -f ./tcl/Makefile ] || exit 0; \
18379 r=`${PWD_COMMAND}`; export r; \
18380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18381 $(HOST_EXPORTS) \
18382 for flag in $(EXTRA_HOST_FLAGS) ; do \
18383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18384 done; \
18385 echo "Doing dvi in tcl" ; \
18386 (cd $(HOST_SUBDIR)/tcl && \
18387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18389 "RANLIB=$${RANLIB}" \
18390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18391 dvi) \
18392 || exit 1
18394 @endif tcl
18396 .PHONY: maybe-pdf-tcl pdf-tcl
18397 maybe-pdf-tcl:
18398 @if tcl
18399 maybe-pdf-tcl: pdf-tcl
18401 pdf-tcl: \
18402 configure-tcl
18403 @: $(MAKE); $(unstage)
18404 @[ -f ./tcl/Makefile ] || exit 0; \
18405 r=`${PWD_COMMAND}`; export r; \
18406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18407 $(HOST_EXPORTS) \
18408 for flag in $(EXTRA_HOST_FLAGS) ; do \
18409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18410 done; \
18411 echo "Doing pdf in tcl" ; \
18412 (cd $(HOST_SUBDIR)/tcl && \
18413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18415 "RANLIB=$${RANLIB}" \
18416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18417 pdf) \
18418 || exit 1
18420 @endif tcl
18422 .PHONY: maybe-html-tcl html-tcl
18423 maybe-html-tcl:
18424 @if tcl
18425 maybe-html-tcl: html-tcl
18427 html-tcl: \
18428 configure-tcl
18429 @: $(MAKE); $(unstage)
18430 @[ -f ./tcl/Makefile ] || exit 0; \
18431 r=`${PWD_COMMAND}`; export r; \
18432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18433 $(HOST_EXPORTS) \
18434 for flag in $(EXTRA_HOST_FLAGS) ; do \
18435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18436 done; \
18437 echo "Doing html in tcl" ; \
18438 (cd $(HOST_SUBDIR)/tcl && \
18439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18441 "RANLIB=$${RANLIB}" \
18442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18443 html) \
18444 || exit 1
18446 @endif tcl
18448 .PHONY: maybe-TAGS-tcl TAGS-tcl
18449 maybe-TAGS-tcl:
18450 @if tcl
18451 maybe-TAGS-tcl: TAGS-tcl
18453 TAGS-tcl: \
18454 configure-tcl
18455 @: $(MAKE); $(unstage)
18456 @[ -f ./tcl/Makefile ] || exit 0; \
18457 r=`${PWD_COMMAND}`; export r; \
18458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18459 $(HOST_EXPORTS) \
18460 for flag in $(EXTRA_HOST_FLAGS) ; do \
18461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18462 done; \
18463 echo "Doing TAGS in tcl" ; \
18464 (cd $(HOST_SUBDIR)/tcl && \
18465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18467 "RANLIB=$${RANLIB}" \
18468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18469 TAGS) \
18470 || exit 1
18472 @endif tcl
18474 .PHONY: maybe-install-info-tcl install-info-tcl
18475 maybe-install-info-tcl:
18476 @if tcl
18477 maybe-install-info-tcl: install-info-tcl
18479 install-info-tcl: \
18480 configure-tcl \
18481 info-tcl
18482 @: $(MAKE); $(unstage)
18483 @[ -f ./tcl/Makefile ] || exit 0; \
18484 r=`${PWD_COMMAND}`; export r; \
18485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18486 $(HOST_EXPORTS) \
18487 for flag in $(EXTRA_HOST_FLAGS) ; do \
18488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18489 done; \
18490 echo "Doing install-info in tcl" ; \
18491 (cd $(HOST_SUBDIR)/tcl && \
18492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18494 "RANLIB=$${RANLIB}" \
18495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18496 install-info) \
18497 || exit 1
18499 @endif tcl
18501 .PHONY: maybe-install-pdf-tcl install-pdf-tcl
18502 maybe-install-pdf-tcl:
18503 @if tcl
18504 maybe-install-pdf-tcl: install-pdf-tcl
18506 install-pdf-tcl: \
18507 configure-tcl \
18508 pdf-tcl
18509 @: $(MAKE); $(unstage)
18510 @[ -f ./tcl/Makefile ] || exit 0; \
18511 r=`${PWD_COMMAND}`; export r; \
18512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18513 $(HOST_EXPORTS) \
18514 for flag in $(EXTRA_HOST_FLAGS) ; do \
18515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18516 done; \
18517 echo "Doing install-pdf in tcl" ; \
18518 (cd $(HOST_SUBDIR)/tcl && \
18519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18521 "RANLIB=$${RANLIB}" \
18522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18523 install-pdf) \
18524 || exit 1
18526 @endif tcl
18528 .PHONY: maybe-install-html-tcl install-html-tcl
18529 maybe-install-html-tcl:
18530 @if tcl
18531 maybe-install-html-tcl: install-html-tcl
18533 install-html-tcl: \
18534 configure-tcl \
18535 html-tcl
18536 @: $(MAKE); $(unstage)
18537 @[ -f ./tcl/Makefile ] || exit 0; \
18538 r=`${PWD_COMMAND}`; export r; \
18539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18540 $(HOST_EXPORTS) \
18541 for flag in $(EXTRA_HOST_FLAGS) ; do \
18542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18543 done; \
18544 echo "Doing install-html in tcl" ; \
18545 (cd $(HOST_SUBDIR)/tcl && \
18546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18548 "RANLIB=$${RANLIB}" \
18549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18550 install-html) \
18551 || exit 1
18553 @endif tcl
18555 .PHONY: maybe-installcheck-tcl installcheck-tcl
18556 maybe-installcheck-tcl:
18557 @if tcl
18558 maybe-installcheck-tcl: installcheck-tcl
18560 installcheck-tcl: \
18561 configure-tcl
18562 @: $(MAKE); $(unstage)
18563 @[ -f ./tcl/Makefile ] || exit 0; \
18564 r=`${PWD_COMMAND}`; export r; \
18565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18566 $(HOST_EXPORTS) \
18567 for flag in $(EXTRA_HOST_FLAGS) ; do \
18568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18569 done; \
18570 echo "Doing installcheck in tcl" ; \
18571 (cd $(HOST_SUBDIR)/tcl && \
18572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18574 "RANLIB=$${RANLIB}" \
18575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18576 installcheck) \
18577 || exit 1
18579 @endif tcl
18581 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
18582 maybe-mostlyclean-tcl:
18583 @if tcl
18584 maybe-mostlyclean-tcl: mostlyclean-tcl
18586 # tcl doesn't support mostlyclean.
18587 mostlyclean-tcl:
18589 @endif tcl
18591 .PHONY: maybe-clean-tcl clean-tcl
18592 maybe-clean-tcl:
18593 @if tcl
18594 maybe-clean-tcl: clean-tcl
18596 clean-tcl:
18597 @: $(MAKE); $(unstage)
18598 @[ -f ./tcl/Makefile ] || exit 0; \
18599 r=`${PWD_COMMAND}`; export r; \
18600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18601 $(HOST_EXPORTS) \
18602 for flag in $(EXTRA_HOST_FLAGS) ; do \
18603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18604 done; \
18605 echo "Doing clean in tcl" ; \
18606 (cd $(HOST_SUBDIR)/tcl && \
18607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18609 "RANLIB=$${RANLIB}" \
18610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18611 clean) \
18612 || exit 1
18614 @endif tcl
18616 .PHONY: maybe-distclean-tcl distclean-tcl
18617 maybe-distclean-tcl:
18618 @if tcl
18619 maybe-distclean-tcl: distclean-tcl
18621 distclean-tcl:
18622 @: $(MAKE); $(unstage)
18623 @[ -f ./tcl/Makefile ] || exit 0; \
18624 r=`${PWD_COMMAND}`; export r; \
18625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18626 $(HOST_EXPORTS) \
18627 for flag in $(EXTRA_HOST_FLAGS) ; do \
18628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18629 done; \
18630 echo "Doing distclean in tcl" ; \
18631 (cd $(HOST_SUBDIR)/tcl && \
18632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18634 "RANLIB=$${RANLIB}" \
18635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18636 distclean) \
18637 || exit 1
18639 @endif tcl
18641 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
18642 maybe-maintainer-clean-tcl:
18643 @if tcl
18644 maybe-maintainer-clean-tcl: maintainer-clean-tcl
18646 maintainer-clean-tcl:
18647 @: $(MAKE); $(unstage)
18648 @[ -f ./tcl/Makefile ] || exit 0; \
18649 r=`${PWD_COMMAND}`; export r; \
18650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18651 $(HOST_EXPORTS) \
18652 for flag in $(EXTRA_HOST_FLAGS) ; do \
18653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18654 done; \
18655 echo "Doing maintainer-clean in tcl" ; \
18656 (cd $(HOST_SUBDIR)/tcl && \
18657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18659 "RANLIB=$${RANLIB}" \
18660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18661 maintainer-clean) \
18662 || exit 1
18664 @endif tcl
18668 .PHONY: configure-itcl maybe-configure-itcl
18669 maybe-configure-itcl:
18670 @if gcc-bootstrap
18671 configure-itcl: stage_current
18672 @endif gcc-bootstrap
18673 @if itcl
18674 maybe-configure-itcl: configure-itcl
18675 configure-itcl:
18676 @: $(MAKE); $(unstage)
18677 @r=`${PWD_COMMAND}`; export r; \
18678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18679 test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
18680 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl ; \
18681 $(HOST_EXPORTS) \
18682 echo Configuring in $(HOST_SUBDIR)/itcl; \
18683 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
18684 case $(srcdir) in \
18685 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18686 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
18687 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18688 esac; \
18689 srcdiroption="--srcdir=$${topdir}/itcl"; \
18690 libsrcdir="$$s/itcl"; \
18691 $(SHELL) $${libsrcdir}/configure \
18692 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18693 --target=${target_alias} $${srcdiroption} \
18694 || exit 1
18695 @endif itcl
18701 .PHONY: all-itcl maybe-all-itcl
18702 maybe-all-itcl:
18703 @if gcc-bootstrap
18704 all-itcl: stage_current
18705 @endif gcc-bootstrap
18706 @if itcl
18707 TARGET-itcl=all
18708 maybe-all-itcl: all-itcl
18709 all-itcl: configure-itcl
18710 @: $(MAKE); $(unstage)
18711 @r=`${PWD_COMMAND}`; export r; \
18712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18713 $(HOST_EXPORTS) \
18714 (cd $(HOST_SUBDIR)/itcl && \
18715 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
18716 $(TARGET-itcl))
18717 @endif itcl
18722 .PHONY: check-itcl maybe-check-itcl
18723 maybe-check-itcl:
18724 @if itcl
18725 maybe-check-itcl: check-itcl
18727 check-itcl:
18728 @: $(MAKE); $(unstage)
18729 @r=`${PWD_COMMAND}`; export r; \
18730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18731 $(HOST_EXPORTS) \
18732 (cd $(HOST_SUBDIR)/itcl && \
18733 $(MAKE) $(FLAGS_TO_PASS) check)
18735 @endif itcl
18737 .PHONY: install-itcl maybe-install-itcl
18738 maybe-install-itcl:
18739 @if itcl
18740 maybe-install-itcl: install-itcl
18742 install-itcl: installdirs
18743 @: $(MAKE); $(unstage)
18744 @r=`${PWD_COMMAND}`; export r; \
18745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18746 $(HOST_EXPORTS) \
18747 (cd $(HOST_SUBDIR)/itcl && \
18748 $(MAKE) $(FLAGS_TO_PASS) install)
18750 @endif itcl
18752 .PHONY: install-strip-itcl maybe-install-strip-itcl
18753 maybe-install-strip-itcl:
18754 @if itcl
18755 maybe-install-strip-itcl: install-strip-itcl
18757 install-strip-itcl: installdirs
18758 @: $(MAKE); $(unstage)
18759 @r=`${PWD_COMMAND}`; export r; \
18760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18761 $(HOST_EXPORTS) \
18762 (cd $(HOST_SUBDIR)/itcl && \
18763 $(MAKE) $(FLAGS_TO_PASS) install-strip)
18765 @endif itcl
18767 # Other targets (info, dvi, pdf, etc.)
18769 .PHONY: maybe-info-itcl info-itcl
18770 maybe-info-itcl:
18771 @if itcl
18772 maybe-info-itcl: info-itcl
18774 info-itcl: \
18775 configure-itcl
18776 @: $(MAKE); $(unstage)
18777 @[ -f ./itcl/Makefile ] || exit 0; \
18778 r=`${PWD_COMMAND}`; export r; \
18779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18780 $(HOST_EXPORTS) \
18781 for flag in $(EXTRA_HOST_FLAGS) ; do \
18782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18783 done; \
18784 echo "Doing info in itcl" ; \
18785 (cd $(HOST_SUBDIR)/itcl && \
18786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18788 "RANLIB=$${RANLIB}" \
18789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18790 info) \
18791 || exit 1
18793 @endif itcl
18795 .PHONY: maybe-dvi-itcl dvi-itcl
18796 maybe-dvi-itcl:
18797 @if itcl
18798 maybe-dvi-itcl: dvi-itcl
18800 dvi-itcl: \
18801 configure-itcl
18802 @: $(MAKE); $(unstage)
18803 @[ -f ./itcl/Makefile ] || exit 0; \
18804 r=`${PWD_COMMAND}`; export r; \
18805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18806 $(HOST_EXPORTS) \
18807 for flag in $(EXTRA_HOST_FLAGS) ; do \
18808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18809 done; \
18810 echo "Doing dvi in itcl" ; \
18811 (cd $(HOST_SUBDIR)/itcl && \
18812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18814 "RANLIB=$${RANLIB}" \
18815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18816 dvi) \
18817 || exit 1
18819 @endif itcl
18821 .PHONY: maybe-pdf-itcl pdf-itcl
18822 maybe-pdf-itcl:
18823 @if itcl
18824 maybe-pdf-itcl: pdf-itcl
18826 pdf-itcl: \
18827 configure-itcl
18828 @: $(MAKE); $(unstage)
18829 @[ -f ./itcl/Makefile ] || exit 0; \
18830 r=`${PWD_COMMAND}`; export r; \
18831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18832 $(HOST_EXPORTS) \
18833 for flag in $(EXTRA_HOST_FLAGS) ; do \
18834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18835 done; \
18836 echo "Doing pdf in itcl" ; \
18837 (cd $(HOST_SUBDIR)/itcl && \
18838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18840 "RANLIB=$${RANLIB}" \
18841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18842 pdf) \
18843 || exit 1
18845 @endif itcl
18847 .PHONY: maybe-html-itcl html-itcl
18848 maybe-html-itcl:
18849 @if itcl
18850 maybe-html-itcl: html-itcl
18852 html-itcl: \
18853 configure-itcl
18854 @: $(MAKE); $(unstage)
18855 @[ -f ./itcl/Makefile ] || exit 0; \
18856 r=`${PWD_COMMAND}`; export r; \
18857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18858 $(HOST_EXPORTS) \
18859 for flag in $(EXTRA_HOST_FLAGS) ; do \
18860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18861 done; \
18862 echo "Doing html in itcl" ; \
18863 (cd $(HOST_SUBDIR)/itcl && \
18864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18866 "RANLIB=$${RANLIB}" \
18867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18868 html) \
18869 || exit 1
18871 @endif itcl
18873 .PHONY: maybe-TAGS-itcl TAGS-itcl
18874 maybe-TAGS-itcl:
18875 @if itcl
18876 maybe-TAGS-itcl: TAGS-itcl
18878 TAGS-itcl: \
18879 configure-itcl
18880 @: $(MAKE); $(unstage)
18881 @[ -f ./itcl/Makefile ] || exit 0; \
18882 r=`${PWD_COMMAND}`; export r; \
18883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18884 $(HOST_EXPORTS) \
18885 for flag in $(EXTRA_HOST_FLAGS) ; do \
18886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18887 done; \
18888 echo "Doing TAGS in itcl" ; \
18889 (cd $(HOST_SUBDIR)/itcl && \
18890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18892 "RANLIB=$${RANLIB}" \
18893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18894 TAGS) \
18895 || exit 1
18897 @endif itcl
18899 .PHONY: maybe-install-info-itcl install-info-itcl
18900 maybe-install-info-itcl:
18901 @if itcl
18902 maybe-install-info-itcl: install-info-itcl
18904 install-info-itcl: \
18905 configure-itcl \
18906 info-itcl
18907 @: $(MAKE); $(unstage)
18908 @[ -f ./itcl/Makefile ] || exit 0; \
18909 r=`${PWD_COMMAND}`; export r; \
18910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18911 $(HOST_EXPORTS) \
18912 for flag in $(EXTRA_HOST_FLAGS) ; do \
18913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18914 done; \
18915 echo "Doing install-info in itcl" ; \
18916 (cd $(HOST_SUBDIR)/itcl && \
18917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18919 "RANLIB=$${RANLIB}" \
18920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18921 install-info) \
18922 || exit 1
18924 @endif itcl
18926 .PHONY: maybe-install-pdf-itcl install-pdf-itcl
18927 maybe-install-pdf-itcl:
18928 @if itcl
18929 maybe-install-pdf-itcl: install-pdf-itcl
18931 install-pdf-itcl: \
18932 configure-itcl \
18933 pdf-itcl
18934 @: $(MAKE); $(unstage)
18935 @[ -f ./itcl/Makefile ] || exit 0; \
18936 r=`${PWD_COMMAND}`; export r; \
18937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18938 $(HOST_EXPORTS) \
18939 for flag in $(EXTRA_HOST_FLAGS) ; do \
18940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18941 done; \
18942 echo "Doing install-pdf in itcl" ; \
18943 (cd $(HOST_SUBDIR)/itcl && \
18944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18946 "RANLIB=$${RANLIB}" \
18947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18948 install-pdf) \
18949 || exit 1
18951 @endif itcl
18953 .PHONY: maybe-install-html-itcl install-html-itcl
18954 maybe-install-html-itcl:
18955 @if itcl
18956 maybe-install-html-itcl: install-html-itcl
18958 install-html-itcl: \
18959 configure-itcl \
18960 html-itcl
18961 @: $(MAKE); $(unstage)
18962 @[ -f ./itcl/Makefile ] || exit 0; \
18963 r=`${PWD_COMMAND}`; export r; \
18964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18965 $(HOST_EXPORTS) \
18966 for flag in $(EXTRA_HOST_FLAGS) ; do \
18967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18968 done; \
18969 echo "Doing install-html in itcl" ; \
18970 (cd $(HOST_SUBDIR)/itcl && \
18971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18973 "RANLIB=$${RANLIB}" \
18974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18975 install-html) \
18976 || exit 1
18978 @endif itcl
18980 .PHONY: maybe-installcheck-itcl installcheck-itcl
18981 maybe-installcheck-itcl:
18982 @if itcl
18983 maybe-installcheck-itcl: installcheck-itcl
18985 installcheck-itcl: \
18986 configure-itcl
18987 @: $(MAKE); $(unstage)
18988 @[ -f ./itcl/Makefile ] || exit 0; \
18989 r=`${PWD_COMMAND}`; export r; \
18990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18991 $(HOST_EXPORTS) \
18992 for flag in $(EXTRA_HOST_FLAGS) ; do \
18993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18994 done; \
18995 echo "Doing installcheck in itcl" ; \
18996 (cd $(HOST_SUBDIR)/itcl && \
18997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18999 "RANLIB=$${RANLIB}" \
19000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19001 installcheck) \
19002 || exit 1
19004 @endif itcl
19006 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
19007 maybe-mostlyclean-itcl:
19008 @if itcl
19009 maybe-mostlyclean-itcl: mostlyclean-itcl
19011 mostlyclean-itcl:
19012 @: $(MAKE); $(unstage)
19013 @[ -f ./itcl/Makefile ] || exit 0; \
19014 r=`${PWD_COMMAND}`; export r; \
19015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19016 $(HOST_EXPORTS) \
19017 for flag in $(EXTRA_HOST_FLAGS) ; do \
19018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19019 done; \
19020 echo "Doing mostlyclean in itcl" ; \
19021 (cd $(HOST_SUBDIR)/itcl && \
19022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19024 "RANLIB=$${RANLIB}" \
19025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19026 mostlyclean) \
19027 || exit 1
19029 @endif itcl
19031 .PHONY: maybe-clean-itcl clean-itcl
19032 maybe-clean-itcl:
19033 @if itcl
19034 maybe-clean-itcl: clean-itcl
19036 clean-itcl:
19037 @: $(MAKE); $(unstage)
19038 @[ -f ./itcl/Makefile ] || exit 0; \
19039 r=`${PWD_COMMAND}`; export r; \
19040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19041 $(HOST_EXPORTS) \
19042 for flag in $(EXTRA_HOST_FLAGS) ; do \
19043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19044 done; \
19045 echo "Doing clean in itcl" ; \
19046 (cd $(HOST_SUBDIR)/itcl && \
19047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19049 "RANLIB=$${RANLIB}" \
19050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19051 clean) \
19052 || exit 1
19054 @endif itcl
19056 .PHONY: maybe-distclean-itcl distclean-itcl
19057 maybe-distclean-itcl:
19058 @if itcl
19059 maybe-distclean-itcl: distclean-itcl
19061 distclean-itcl:
19062 @: $(MAKE); $(unstage)
19063 @[ -f ./itcl/Makefile ] || exit 0; \
19064 r=`${PWD_COMMAND}`; export r; \
19065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19066 $(HOST_EXPORTS) \
19067 for flag in $(EXTRA_HOST_FLAGS) ; do \
19068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19069 done; \
19070 echo "Doing distclean in itcl" ; \
19071 (cd $(HOST_SUBDIR)/itcl && \
19072 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19073 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19074 "RANLIB=$${RANLIB}" \
19075 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19076 distclean) \
19077 || exit 1
19079 @endif itcl
19081 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
19082 maybe-maintainer-clean-itcl:
19083 @if itcl
19084 maybe-maintainer-clean-itcl: maintainer-clean-itcl
19086 maintainer-clean-itcl:
19087 @: $(MAKE); $(unstage)
19088 @[ -f ./itcl/Makefile ] || exit 0; \
19089 r=`${PWD_COMMAND}`; export r; \
19090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19091 $(HOST_EXPORTS) \
19092 for flag in $(EXTRA_HOST_FLAGS) ; do \
19093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19094 done; \
19095 echo "Doing maintainer-clean in itcl" ; \
19096 (cd $(HOST_SUBDIR)/itcl && \
19097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19099 "RANLIB=$${RANLIB}" \
19100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19101 maintainer-clean) \
19102 || exit 1
19104 @endif itcl
19108 .PHONY: configure-ld maybe-configure-ld
19109 maybe-configure-ld:
19110 @if gcc-bootstrap
19111 configure-ld: stage_current
19112 @endif gcc-bootstrap
19113 @if ld
19114 maybe-configure-ld: configure-ld
19115 configure-ld:
19116 @r=`${PWD_COMMAND}`; export r; \
19117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19118 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
19119 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
19120 $(HOST_EXPORTS) \
19121 echo Configuring in $(HOST_SUBDIR)/ld; \
19122 cd "$(HOST_SUBDIR)/ld" || exit 1; \
19123 case $(srcdir) in \
19124 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19125 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
19126 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19127 esac; \
19128 srcdiroption="--srcdir=$${topdir}/ld"; \
19129 libsrcdir="$$s/ld"; \
19130 $(SHELL) $${libsrcdir}/configure \
19131 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19132 --target=${target_alias} $${srcdiroption} \
19133 || exit 1
19134 @endif ld
19138 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
19139 maybe-configure-stage1-ld:
19140 @if ld-bootstrap
19141 maybe-configure-stage1-ld: configure-stage1-ld
19142 configure-stage1-ld:
19143 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19144 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
19145 @r=`${PWD_COMMAND}`; export r; \
19146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19147 TFLAGS="$(STAGE1_TFLAGS)"; \
19148 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
19149 $(HOST_EXPORTS) \
19150 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
19151 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
19152 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
19153 echo Configuring stage 1 in $(HOST_SUBDIR)/ld ; \
19154 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
19155 cd $(HOST_SUBDIR)/ld || exit 1; \
19156 case $(srcdir) in \
19157 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19158 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
19159 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19160 esac; \
19161 srcdiroption="--srcdir=$${topdir}/ld"; \
19162 libsrcdir="$$s/ld"; \
19163 $(SHELL) $${libsrcdir}/configure \
19164 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19165 --target=${target_alias} $${srcdiroption} \
19166 $(STAGE1_CONFIGURE_FLAGS)
19167 @endif ld-bootstrap
19169 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
19170 maybe-configure-stage2-ld:
19171 @if ld-bootstrap
19172 maybe-configure-stage2-ld: configure-stage2-ld
19173 configure-stage2-ld:
19174 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19175 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
19176 @r=`${PWD_COMMAND}`; export r; \
19177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19178 TFLAGS="$(STAGE2_TFLAGS)"; \
19179 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
19180 $(HOST_EXPORTS) \
19181 $(POSTSTAGE1_HOST_EXPORTS) \
19182 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
19183 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
19184 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
19185 echo Configuring stage 2 in $(HOST_SUBDIR)/ld ; \
19186 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
19187 cd $(HOST_SUBDIR)/ld || exit 1; \
19188 case $(srcdir) in \
19189 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19190 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
19191 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19192 esac; \
19193 srcdiroption="--srcdir=$${topdir}/ld"; \
19194 libsrcdir="$$s/ld"; \
19195 $(SHELL) $${libsrcdir}/configure \
19196 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19197 --target=${target_alias} $${srcdiroption} \
19198 --with-build-libsubdir=$(HOST_SUBDIR) \
19199 $(STAGE2_CONFIGURE_FLAGS)
19200 @endif ld-bootstrap
19202 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
19203 maybe-configure-stage3-ld:
19204 @if ld-bootstrap
19205 maybe-configure-stage3-ld: configure-stage3-ld
19206 configure-stage3-ld:
19207 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19208 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
19209 @r=`${PWD_COMMAND}`; export r; \
19210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19211 TFLAGS="$(STAGE3_TFLAGS)"; \
19212 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
19213 $(HOST_EXPORTS) \
19214 $(POSTSTAGE1_HOST_EXPORTS) \
19215 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
19216 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
19217 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
19218 echo Configuring stage 3 in $(HOST_SUBDIR)/ld ; \
19219 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
19220 cd $(HOST_SUBDIR)/ld || exit 1; \
19221 case $(srcdir) in \
19222 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19223 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
19224 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19225 esac; \
19226 srcdiroption="--srcdir=$${topdir}/ld"; \
19227 libsrcdir="$$s/ld"; \
19228 $(SHELL) $${libsrcdir}/configure \
19229 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19230 --target=${target_alias} $${srcdiroption} \
19231 --with-build-libsubdir=$(HOST_SUBDIR) \
19232 $(STAGE3_CONFIGURE_FLAGS)
19233 @endif ld-bootstrap
19235 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
19236 maybe-configure-stage4-ld:
19237 @if ld-bootstrap
19238 maybe-configure-stage4-ld: configure-stage4-ld
19239 configure-stage4-ld:
19240 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19241 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
19242 @r=`${PWD_COMMAND}`; export r; \
19243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19244 TFLAGS="$(STAGE4_TFLAGS)"; \
19245 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
19246 $(HOST_EXPORTS) \
19247 $(POSTSTAGE1_HOST_EXPORTS) \
19248 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
19249 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
19250 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
19251 echo Configuring stage 4 in $(HOST_SUBDIR)/ld ; \
19252 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
19253 cd $(HOST_SUBDIR)/ld || exit 1; \
19254 case $(srcdir) in \
19255 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19256 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
19257 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19258 esac; \
19259 srcdiroption="--srcdir=$${topdir}/ld"; \
19260 libsrcdir="$$s/ld"; \
19261 $(SHELL) $${libsrcdir}/configure \
19262 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19263 --target=${target_alias} $${srcdiroption} \
19264 --with-build-libsubdir=$(HOST_SUBDIR) \
19265 $(STAGE4_CONFIGURE_FLAGS)
19266 @endif ld-bootstrap
19268 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
19269 maybe-configure-stageprofile-ld:
19270 @if ld-bootstrap
19271 maybe-configure-stageprofile-ld: configure-stageprofile-ld
19272 configure-stageprofile-ld:
19273 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19274 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
19275 @r=`${PWD_COMMAND}`; export r; \
19276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19277 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19278 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
19279 $(HOST_EXPORTS) \
19280 $(POSTSTAGE1_HOST_EXPORTS) \
19281 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
19282 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
19283 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
19284 echo Configuring stage profile in $(HOST_SUBDIR)/ld ; \
19285 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
19286 cd $(HOST_SUBDIR)/ld || exit 1; \
19287 case $(srcdir) in \
19288 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19289 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
19290 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19291 esac; \
19292 srcdiroption="--srcdir=$${topdir}/ld"; \
19293 libsrcdir="$$s/ld"; \
19294 $(SHELL) $${libsrcdir}/configure \
19295 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19296 --target=${target_alias} $${srcdiroption} \
19297 --with-build-libsubdir=$(HOST_SUBDIR) \
19298 $(STAGEprofile_CONFIGURE_FLAGS)
19299 @endif ld-bootstrap
19301 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
19302 maybe-configure-stagefeedback-ld:
19303 @if ld-bootstrap
19304 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
19305 configure-stagefeedback-ld:
19306 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19307 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
19308 @r=`${PWD_COMMAND}`; export r; \
19309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19310 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19311 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
19312 $(HOST_EXPORTS) \
19313 $(POSTSTAGE1_HOST_EXPORTS) \
19314 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
19315 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
19316 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
19317 echo Configuring stage feedback in $(HOST_SUBDIR)/ld ; \
19318 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
19319 cd $(HOST_SUBDIR)/ld || exit 1; \
19320 case $(srcdir) in \
19321 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19322 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
19323 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19324 esac; \
19325 srcdiroption="--srcdir=$${topdir}/ld"; \
19326 libsrcdir="$$s/ld"; \
19327 $(SHELL) $${libsrcdir}/configure \
19328 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19329 --target=${target_alias} $${srcdiroption} \
19330 --with-build-libsubdir=$(HOST_SUBDIR) \
19331 $(STAGEfeedback_CONFIGURE_FLAGS)
19332 @endif ld-bootstrap
19338 .PHONY: all-ld maybe-all-ld
19339 maybe-all-ld:
19340 @if gcc-bootstrap
19341 all-ld: stage_current
19342 @endif gcc-bootstrap
19343 @if ld
19344 TARGET-ld=all
19345 maybe-all-ld: all-ld
19346 all-ld: configure-ld
19347 @r=`${PWD_COMMAND}`; export r; \
19348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19349 $(HOST_EXPORTS) \
19350 (cd $(HOST_SUBDIR)/ld && \
19351 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
19352 $(TARGET-ld))
19353 @endif ld
19357 .PHONY: all-stage1-ld maybe-all-stage1-ld
19358 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
19359 maybe-all-stage1-ld:
19360 maybe-clean-stage1-ld:
19361 @if ld-bootstrap
19362 maybe-all-stage1-ld: all-stage1-ld
19363 all-stage1: all-stage1-ld
19364 TARGET-stage1-ld = $(TARGET-ld)
19365 all-stage1-ld: configure-stage1-ld
19366 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19367 @r=`${PWD_COMMAND}`; export r; \
19368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19369 TFLAGS="$(STAGE1_TFLAGS)"; \
19370 $(HOST_EXPORTS) \
19371 cd $(HOST_SUBDIR)/ld && \
19372 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19373 CFLAGS="$(STAGE1_CFLAGS)" \
19374 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
19375 LIBCFLAGS="$(LIBCFLAGS)" \
19376 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19377 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19378 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19379 $(EXTRA_HOST_FLAGS) \
19380 $(STAGE1_FLAGS_TO_PASS) \
19381 TFLAGS="$(STAGE1_TFLAGS)" \
19382 $(TARGET-stage1-ld)
19384 maybe-clean-stage1-ld: clean-stage1-ld
19385 clean-stage1: clean-stage1-ld
19386 clean-stage1-ld:
19387 @if [ $(current_stage) = stage1 ]; then \
19388 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19389 else \
19390 [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] || exit 0; \
19391 $(MAKE) stage1-start; \
19392 fi; \
19393 cd $(HOST_SUBDIR)/ld && \
19394 $(MAKE) $(EXTRA_HOST_FLAGS) \
19395 $(STAGE1_FLAGS_TO_PASS) clean
19396 @endif ld-bootstrap
19399 .PHONY: all-stage2-ld maybe-all-stage2-ld
19400 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
19401 maybe-all-stage2-ld:
19402 maybe-clean-stage2-ld:
19403 @if ld-bootstrap
19404 maybe-all-stage2-ld: all-stage2-ld
19405 all-stage2: all-stage2-ld
19406 TARGET-stage2-ld = $(TARGET-ld)
19407 all-stage2-ld: configure-stage2-ld
19408 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19409 @r=`${PWD_COMMAND}`; export r; \
19410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19411 TFLAGS="$(STAGE2_TFLAGS)"; \
19412 $(HOST_EXPORTS) \
19413 $(POSTSTAGE1_HOST_EXPORTS) \
19414 cd $(HOST_SUBDIR)/ld && \
19415 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19416 CFLAGS="$(STAGE2_CFLAGS)" \
19417 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
19418 LIBCFLAGS="$(STAGE2_CFLAGS)" \
19419 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19420 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19421 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19422 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19423 TFLAGS="$(STAGE2_TFLAGS)" \
19424 $(TARGET-stage2-ld)
19426 maybe-clean-stage2-ld: clean-stage2-ld
19427 clean-stage2: clean-stage2-ld
19428 clean-stage2-ld:
19429 @if [ $(current_stage) = stage2 ]; then \
19430 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19431 else \
19432 [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] || exit 0; \
19433 $(MAKE) stage2-start; \
19434 fi; \
19435 cd $(HOST_SUBDIR)/ld && \
19436 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19437 @endif ld-bootstrap
19440 .PHONY: all-stage3-ld maybe-all-stage3-ld
19441 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
19442 maybe-all-stage3-ld:
19443 maybe-clean-stage3-ld:
19444 @if ld-bootstrap
19445 maybe-all-stage3-ld: all-stage3-ld
19446 all-stage3: all-stage3-ld
19447 TARGET-stage3-ld = $(TARGET-ld)
19448 all-stage3-ld: configure-stage3-ld
19449 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19450 @r=`${PWD_COMMAND}`; export r; \
19451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19452 TFLAGS="$(STAGE3_TFLAGS)"; \
19453 $(HOST_EXPORTS) \
19454 $(POSTSTAGE1_HOST_EXPORTS) \
19455 cd $(HOST_SUBDIR)/ld && \
19456 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19457 CFLAGS="$(STAGE3_CFLAGS)" \
19458 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
19459 LIBCFLAGS="$(STAGE3_CFLAGS)" \
19460 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19461 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19462 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19463 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19464 TFLAGS="$(STAGE3_TFLAGS)" \
19465 $(TARGET-stage3-ld)
19467 maybe-clean-stage3-ld: clean-stage3-ld
19468 clean-stage3: clean-stage3-ld
19469 clean-stage3-ld:
19470 @if [ $(current_stage) = stage3 ]; then \
19471 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19472 else \
19473 [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] || exit 0; \
19474 $(MAKE) stage3-start; \
19475 fi; \
19476 cd $(HOST_SUBDIR)/ld && \
19477 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19478 @endif ld-bootstrap
19481 .PHONY: all-stage4-ld maybe-all-stage4-ld
19482 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
19483 maybe-all-stage4-ld:
19484 maybe-clean-stage4-ld:
19485 @if ld-bootstrap
19486 maybe-all-stage4-ld: all-stage4-ld
19487 all-stage4: all-stage4-ld
19488 TARGET-stage4-ld = $(TARGET-ld)
19489 all-stage4-ld: configure-stage4-ld
19490 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19491 @r=`${PWD_COMMAND}`; export r; \
19492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19493 TFLAGS="$(STAGE4_TFLAGS)"; \
19494 $(HOST_EXPORTS) \
19495 $(POSTSTAGE1_HOST_EXPORTS) \
19496 cd $(HOST_SUBDIR)/ld && \
19497 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19498 CFLAGS="$(STAGE4_CFLAGS)" \
19499 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
19500 LIBCFLAGS="$(STAGE4_CFLAGS)" \
19501 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19502 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19503 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19504 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19505 TFLAGS="$(STAGE4_TFLAGS)" \
19506 $(TARGET-stage4-ld)
19508 maybe-clean-stage4-ld: clean-stage4-ld
19509 clean-stage4: clean-stage4-ld
19510 clean-stage4-ld:
19511 @if [ $(current_stage) = stage4 ]; then \
19512 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19513 else \
19514 [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] || exit 0; \
19515 $(MAKE) stage4-start; \
19516 fi; \
19517 cd $(HOST_SUBDIR)/ld && \
19518 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19519 @endif ld-bootstrap
19522 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
19523 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
19524 maybe-all-stageprofile-ld:
19525 maybe-clean-stageprofile-ld:
19526 @if ld-bootstrap
19527 maybe-all-stageprofile-ld: all-stageprofile-ld
19528 all-stageprofile: all-stageprofile-ld
19529 TARGET-stageprofile-ld = $(TARGET-ld)
19530 all-stageprofile-ld: configure-stageprofile-ld
19531 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19532 @r=`${PWD_COMMAND}`; export r; \
19533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19534 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19535 $(HOST_EXPORTS) \
19536 $(POSTSTAGE1_HOST_EXPORTS) \
19537 cd $(HOST_SUBDIR)/ld && \
19538 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19539 CFLAGS="$(STAGEprofile_CFLAGS)" \
19540 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
19541 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
19542 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19543 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19544 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19545 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19546 TFLAGS="$(STAGEprofile_TFLAGS)" \
19547 $(TARGET-stageprofile-ld)
19549 maybe-clean-stageprofile-ld: clean-stageprofile-ld
19550 clean-stageprofile: clean-stageprofile-ld
19551 clean-stageprofile-ld:
19552 @if [ $(current_stage) = stageprofile ]; then \
19553 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19554 else \
19555 [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] || exit 0; \
19556 $(MAKE) stageprofile-start; \
19557 fi; \
19558 cd $(HOST_SUBDIR)/ld && \
19559 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19560 @endif ld-bootstrap
19563 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
19564 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
19565 maybe-all-stagefeedback-ld:
19566 maybe-clean-stagefeedback-ld:
19567 @if ld-bootstrap
19568 maybe-all-stagefeedback-ld: all-stagefeedback-ld
19569 all-stagefeedback: all-stagefeedback-ld
19570 TARGET-stagefeedback-ld = $(TARGET-ld)
19571 all-stagefeedback-ld: configure-stagefeedback-ld
19572 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19573 @r=`${PWD_COMMAND}`; export r; \
19574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19575 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19576 $(HOST_EXPORTS) \
19577 $(POSTSTAGE1_HOST_EXPORTS) \
19578 cd $(HOST_SUBDIR)/ld && \
19579 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19580 CFLAGS="$(STAGEfeedback_CFLAGS)" \
19581 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
19582 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
19583 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19584 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19585 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19586 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19587 TFLAGS="$(STAGEfeedback_TFLAGS)" \
19588 $(TARGET-stagefeedback-ld)
19590 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
19591 clean-stagefeedback: clean-stagefeedback-ld
19592 clean-stagefeedback-ld:
19593 @if [ $(current_stage) = stagefeedback ]; then \
19594 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
19595 else \
19596 [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] || exit 0; \
19597 $(MAKE) stagefeedback-start; \
19598 fi; \
19599 cd $(HOST_SUBDIR)/ld && \
19600 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19601 @endif ld-bootstrap
19607 .PHONY: check-ld maybe-check-ld
19608 maybe-check-ld:
19609 @if ld
19610 maybe-check-ld: check-ld
19612 check-ld:
19613 @: $(MAKE); $(unstage)
19614 @r=`${PWD_COMMAND}`; export r; \
19615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19616 $(HOST_EXPORTS) \
19617 (cd $(HOST_SUBDIR)/ld && \
19618 $(MAKE) $(FLAGS_TO_PASS) check)
19620 @endif ld
19622 .PHONY: install-ld maybe-install-ld
19623 maybe-install-ld:
19624 @if ld
19625 maybe-install-ld: install-ld
19627 install-ld: installdirs
19628 @: $(MAKE); $(unstage)
19629 @r=`${PWD_COMMAND}`; export r; \
19630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19631 $(HOST_EXPORTS) \
19632 (cd $(HOST_SUBDIR)/ld && \
19633 $(MAKE) $(FLAGS_TO_PASS) install)
19635 @endif ld
19637 .PHONY: install-strip-ld maybe-install-strip-ld
19638 maybe-install-strip-ld:
19639 @if ld
19640 maybe-install-strip-ld: install-strip-ld
19642 install-strip-ld: installdirs
19643 @: $(MAKE); $(unstage)
19644 @r=`${PWD_COMMAND}`; export r; \
19645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19646 $(HOST_EXPORTS) \
19647 (cd $(HOST_SUBDIR)/ld && \
19648 $(MAKE) $(FLAGS_TO_PASS) install-strip)
19650 @endif ld
19652 # Other targets (info, dvi, pdf, etc.)
19654 .PHONY: maybe-info-ld info-ld
19655 maybe-info-ld:
19656 @if ld
19657 maybe-info-ld: info-ld
19659 info-ld: \
19660 configure-ld
19661 @[ -f ./ld/Makefile ] || exit 0; \
19662 r=`${PWD_COMMAND}`; export r; \
19663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19664 $(HOST_EXPORTS) \
19665 for flag in $(EXTRA_HOST_FLAGS) ; do \
19666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19667 done; \
19668 echo "Doing info in ld" ; \
19669 (cd $(HOST_SUBDIR)/ld && \
19670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19672 "RANLIB=$${RANLIB}" \
19673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19674 info) \
19675 || exit 1
19677 @endif ld
19679 .PHONY: maybe-dvi-ld dvi-ld
19680 maybe-dvi-ld:
19681 @if ld
19682 maybe-dvi-ld: dvi-ld
19684 dvi-ld: \
19685 configure-ld
19686 @[ -f ./ld/Makefile ] || exit 0; \
19687 r=`${PWD_COMMAND}`; export r; \
19688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19689 $(HOST_EXPORTS) \
19690 for flag in $(EXTRA_HOST_FLAGS) ; do \
19691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19692 done; \
19693 echo "Doing dvi in ld" ; \
19694 (cd $(HOST_SUBDIR)/ld && \
19695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19697 "RANLIB=$${RANLIB}" \
19698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19699 dvi) \
19700 || exit 1
19702 @endif ld
19704 .PHONY: maybe-pdf-ld pdf-ld
19705 maybe-pdf-ld:
19706 @if ld
19707 maybe-pdf-ld: pdf-ld
19709 pdf-ld: \
19710 configure-ld
19711 @[ -f ./ld/Makefile ] || exit 0; \
19712 r=`${PWD_COMMAND}`; export r; \
19713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19714 $(HOST_EXPORTS) \
19715 for flag in $(EXTRA_HOST_FLAGS) ; do \
19716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19717 done; \
19718 echo "Doing pdf in ld" ; \
19719 (cd $(HOST_SUBDIR)/ld && \
19720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19722 "RANLIB=$${RANLIB}" \
19723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19724 pdf) \
19725 || exit 1
19727 @endif ld
19729 .PHONY: maybe-html-ld html-ld
19730 maybe-html-ld:
19731 @if ld
19732 maybe-html-ld: html-ld
19734 html-ld: \
19735 configure-ld
19736 @[ -f ./ld/Makefile ] || exit 0; \
19737 r=`${PWD_COMMAND}`; export r; \
19738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19739 $(HOST_EXPORTS) \
19740 for flag in $(EXTRA_HOST_FLAGS) ; do \
19741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19742 done; \
19743 echo "Doing html in ld" ; \
19744 (cd $(HOST_SUBDIR)/ld && \
19745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19747 "RANLIB=$${RANLIB}" \
19748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19749 html) \
19750 || exit 1
19752 @endif ld
19754 .PHONY: maybe-TAGS-ld TAGS-ld
19755 maybe-TAGS-ld:
19756 @if ld
19757 maybe-TAGS-ld: TAGS-ld
19759 TAGS-ld: \
19760 configure-ld
19761 @[ -f ./ld/Makefile ] || exit 0; \
19762 r=`${PWD_COMMAND}`; export r; \
19763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19764 $(HOST_EXPORTS) \
19765 for flag in $(EXTRA_HOST_FLAGS) ; do \
19766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19767 done; \
19768 echo "Doing TAGS in ld" ; \
19769 (cd $(HOST_SUBDIR)/ld && \
19770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19772 "RANLIB=$${RANLIB}" \
19773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19774 TAGS) \
19775 || exit 1
19777 @endif ld
19779 .PHONY: maybe-install-info-ld install-info-ld
19780 maybe-install-info-ld:
19781 @if ld
19782 maybe-install-info-ld: install-info-ld
19784 install-info-ld: \
19785 configure-ld \
19786 info-ld
19787 @[ -f ./ld/Makefile ] || exit 0; \
19788 r=`${PWD_COMMAND}`; export r; \
19789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19790 $(HOST_EXPORTS) \
19791 for flag in $(EXTRA_HOST_FLAGS) ; do \
19792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19793 done; \
19794 echo "Doing install-info in ld" ; \
19795 (cd $(HOST_SUBDIR)/ld && \
19796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19798 "RANLIB=$${RANLIB}" \
19799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19800 install-info) \
19801 || exit 1
19803 @endif ld
19805 .PHONY: maybe-install-pdf-ld install-pdf-ld
19806 maybe-install-pdf-ld:
19807 @if ld
19808 maybe-install-pdf-ld: install-pdf-ld
19810 install-pdf-ld: \
19811 configure-ld \
19812 pdf-ld
19813 @[ -f ./ld/Makefile ] || exit 0; \
19814 r=`${PWD_COMMAND}`; export r; \
19815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19816 $(HOST_EXPORTS) \
19817 for flag in $(EXTRA_HOST_FLAGS) ; do \
19818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19819 done; \
19820 echo "Doing install-pdf in ld" ; \
19821 (cd $(HOST_SUBDIR)/ld && \
19822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19824 "RANLIB=$${RANLIB}" \
19825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19826 install-pdf) \
19827 || exit 1
19829 @endif ld
19831 .PHONY: maybe-install-html-ld install-html-ld
19832 maybe-install-html-ld:
19833 @if ld
19834 maybe-install-html-ld: install-html-ld
19836 install-html-ld: \
19837 configure-ld \
19838 html-ld
19839 @[ -f ./ld/Makefile ] || exit 0; \
19840 r=`${PWD_COMMAND}`; export r; \
19841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19842 $(HOST_EXPORTS) \
19843 for flag in $(EXTRA_HOST_FLAGS) ; do \
19844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19845 done; \
19846 echo "Doing install-html in ld" ; \
19847 (cd $(HOST_SUBDIR)/ld && \
19848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19850 "RANLIB=$${RANLIB}" \
19851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19852 install-html) \
19853 || exit 1
19855 @endif ld
19857 .PHONY: maybe-installcheck-ld installcheck-ld
19858 maybe-installcheck-ld:
19859 @if ld
19860 maybe-installcheck-ld: installcheck-ld
19862 installcheck-ld: \
19863 configure-ld
19864 @[ -f ./ld/Makefile ] || exit 0; \
19865 r=`${PWD_COMMAND}`; export r; \
19866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19867 $(HOST_EXPORTS) \
19868 for flag in $(EXTRA_HOST_FLAGS) ; do \
19869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19870 done; \
19871 echo "Doing installcheck in ld" ; \
19872 (cd $(HOST_SUBDIR)/ld && \
19873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19875 "RANLIB=$${RANLIB}" \
19876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19877 installcheck) \
19878 || exit 1
19880 @endif ld
19882 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
19883 maybe-mostlyclean-ld:
19884 @if ld
19885 maybe-mostlyclean-ld: mostlyclean-ld
19887 mostlyclean-ld:
19888 @[ -f ./ld/Makefile ] || exit 0; \
19889 r=`${PWD_COMMAND}`; export r; \
19890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19891 $(HOST_EXPORTS) \
19892 for flag in $(EXTRA_HOST_FLAGS) ; do \
19893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19894 done; \
19895 echo "Doing mostlyclean in ld" ; \
19896 (cd $(HOST_SUBDIR)/ld && \
19897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19899 "RANLIB=$${RANLIB}" \
19900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19901 mostlyclean) \
19902 || exit 1
19904 @endif ld
19906 .PHONY: maybe-clean-ld clean-ld
19907 maybe-clean-ld:
19908 @if ld
19909 maybe-clean-ld: clean-ld
19911 clean-ld:
19912 @[ -f ./ld/Makefile ] || exit 0; \
19913 r=`${PWD_COMMAND}`; export r; \
19914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19915 $(HOST_EXPORTS) \
19916 for flag in $(EXTRA_HOST_FLAGS) ; do \
19917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19918 done; \
19919 echo "Doing clean in ld" ; \
19920 (cd $(HOST_SUBDIR)/ld && \
19921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19923 "RANLIB=$${RANLIB}" \
19924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19925 clean) \
19926 || exit 1
19928 @endif ld
19930 .PHONY: maybe-distclean-ld distclean-ld
19931 maybe-distclean-ld:
19932 @if ld
19933 maybe-distclean-ld: distclean-ld
19935 distclean-ld:
19936 @[ -f ./ld/Makefile ] || exit 0; \
19937 r=`${PWD_COMMAND}`; export r; \
19938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19939 $(HOST_EXPORTS) \
19940 for flag in $(EXTRA_HOST_FLAGS) ; do \
19941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19942 done; \
19943 echo "Doing distclean in ld" ; \
19944 (cd $(HOST_SUBDIR)/ld && \
19945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19947 "RANLIB=$${RANLIB}" \
19948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19949 distclean) \
19950 || exit 1
19952 @endif ld
19954 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
19955 maybe-maintainer-clean-ld:
19956 @if ld
19957 maybe-maintainer-clean-ld: maintainer-clean-ld
19959 maintainer-clean-ld:
19960 @[ -f ./ld/Makefile ] || exit 0; \
19961 r=`${PWD_COMMAND}`; export r; \
19962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19963 $(HOST_EXPORTS) \
19964 for flag in $(EXTRA_HOST_FLAGS) ; do \
19965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19966 done; \
19967 echo "Doing maintainer-clean in ld" ; \
19968 (cd $(HOST_SUBDIR)/ld && \
19969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19971 "RANLIB=$${RANLIB}" \
19972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19973 maintainer-clean) \
19974 || exit 1
19976 @endif ld
19980 .PHONY: configure-libbacktrace maybe-configure-libbacktrace
19981 maybe-configure-libbacktrace:
19982 @if gcc-bootstrap
19983 configure-libbacktrace: stage_current
19984 @endif gcc-bootstrap
19985 @if libbacktrace
19986 maybe-configure-libbacktrace: configure-libbacktrace
19987 configure-libbacktrace:
19988 @r=`${PWD_COMMAND}`; export r; \
19989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19990 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19991 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19992 $(HOST_EXPORTS) \
19993 echo Configuring in $(HOST_SUBDIR)/libbacktrace; \
19994 cd "$(HOST_SUBDIR)/libbacktrace" || exit 1; \
19995 case $(srcdir) in \
19996 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19997 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19998 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19999 esac; \
20000 srcdiroption="--srcdir=$${topdir}/libbacktrace"; \
20001 libsrcdir="$$s/libbacktrace"; \
20002 $(SHELL) $${libsrcdir}/configure \
20003 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20004 --target=${target_alias} $${srcdiroption} \
20005 || exit 1
20006 @endif libbacktrace
20010 .PHONY: configure-stage1-libbacktrace maybe-configure-stage1-libbacktrace
20011 maybe-configure-stage1-libbacktrace:
20012 @if libbacktrace-bootstrap
20013 maybe-configure-stage1-libbacktrace: configure-stage1-libbacktrace
20014 configure-stage1-libbacktrace:
20015 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20016 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
20017 @r=`${PWD_COMMAND}`; export r; \
20018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20019 TFLAGS="$(STAGE1_TFLAGS)"; \
20020 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
20021 $(HOST_EXPORTS) \
20022 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
20023 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
20024 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
20025 echo Configuring stage 1 in $(HOST_SUBDIR)/libbacktrace ; \
20026 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
20027 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
20028 case $(srcdir) in \
20029 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20030 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
20031 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20032 esac; \
20033 srcdiroption="--srcdir=$${topdir}/libbacktrace"; \
20034 libsrcdir="$$s/libbacktrace"; \
20035 $(SHELL) $${libsrcdir}/configure \
20036 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20037 --target=${target_alias} $${srcdiroption} \
20038 $(STAGE1_CONFIGURE_FLAGS)
20039 @endif libbacktrace-bootstrap
20041 .PHONY: configure-stage2-libbacktrace maybe-configure-stage2-libbacktrace
20042 maybe-configure-stage2-libbacktrace:
20043 @if libbacktrace-bootstrap
20044 maybe-configure-stage2-libbacktrace: configure-stage2-libbacktrace
20045 configure-stage2-libbacktrace:
20046 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20047 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
20048 @r=`${PWD_COMMAND}`; export r; \
20049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20050 TFLAGS="$(STAGE2_TFLAGS)"; \
20051 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
20052 $(HOST_EXPORTS) \
20053 $(POSTSTAGE1_HOST_EXPORTS) \
20054 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
20055 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
20056 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
20057 echo Configuring stage 2 in $(HOST_SUBDIR)/libbacktrace ; \
20058 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
20059 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
20060 case $(srcdir) in \
20061 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20062 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
20063 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20064 esac; \
20065 srcdiroption="--srcdir=$${topdir}/libbacktrace"; \
20066 libsrcdir="$$s/libbacktrace"; \
20067 $(SHELL) $${libsrcdir}/configure \
20068 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20069 --target=${target_alias} $${srcdiroption} \
20070 --with-build-libsubdir=$(HOST_SUBDIR) \
20071 $(STAGE2_CONFIGURE_FLAGS)
20072 @endif libbacktrace-bootstrap
20074 .PHONY: configure-stage3-libbacktrace maybe-configure-stage3-libbacktrace
20075 maybe-configure-stage3-libbacktrace:
20076 @if libbacktrace-bootstrap
20077 maybe-configure-stage3-libbacktrace: configure-stage3-libbacktrace
20078 configure-stage3-libbacktrace:
20079 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20080 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
20081 @r=`${PWD_COMMAND}`; export r; \
20082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20083 TFLAGS="$(STAGE3_TFLAGS)"; \
20084 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
20085 $(HOST_EXPORTS) \
20086 $(POSTSTAGE1_HOST_EXPORTS) \
20087 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
20088 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
20089 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
20090 echo Configuring stage 3 in $(HOST_SUBDIR)/libbacktrace ; \
20091 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
20092 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
20093 case $(srcdir) in \
20094 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20095 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
20096 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20097 esac; \
20098 srcdiroption="--srcdir=$${topdir}/libbacktrace"; \
20099 libsrcdir="$$s/libbacktrace"; \
20100 $(SHELL) $${libsrcdir}/configure \
20101 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20102 --target=${target_alias} $${srcdiroption} \
20103 --with-build-libsubdir=$(HOST_SUBDIR) \
20104 $(STAGE3_CONFIGURE_FLAGS)
20105 @endif libbacktrace-bootstrap
20107 .PHONY: configure-stage4-libbacktrace maybe-configure-stage4-libbacktrace
20108 maybe-configure-stage4-libbacktrace:
20109 @if libbacktrace-bootstrap
20110 maybe-configure-stage4-libbacktrace: configure-stage4-libbacktrace
20111 configure-stage4-libbacktrace:
20112 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20113 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
20114 @r=`${PWD_COMMAND}`; export r; \
20115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20116 TFLAGS="$(STAGE4_TFLAGS)"; \
20117 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
20118 $(HOST_EXPORTS) \
20119 $(POSTSTAGE1_HOST_EXPORTS) \
20120 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
20121 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
20122 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
20123 echo Configuring stage 4 in $(HOST_SUBDIR)/libbacktrace ; \
20124 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
20125 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
20126 case $(srcdir) in \
20127 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20128 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
20129 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20130 esac; \
20131 srcdiroption="--srcdir=$${topdir}/libbacktrace"; \
20132 libsrcdir="$$s/libbacktrace"; \
20133 $(SHELL) $${libsrcdir}/configure \
20134 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20135 --target=${target_alias} $${srcdiroption} \
20136 --with-build-libsubdir=$(HOST_SUBDIR) \
20137 $(STAGE4_CONFIGURE_FLAGS)
20138 @endif libbacktrace-bootstrap
20140 .PHONY: configure-stageprofile-libbacktrace maybe-configure-stageprofile-libbacktrace
20141 maybe-configure-stageprofile-libbacktrace:
20142 @if libbacktrace-bootstrap
20143 maybe-configure-stageprofile-libbacktrace: configure-stageprofile-libbacktrace
20144 configure-stageprofile-libbacktrace:
20145 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20146 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
20147 @r=`${PWD_COMMAND}`; export r; \
20148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20149 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20150 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
20151 $(HOST_EXPORTS) \
20152 $(POSTSTAGE1_HOST_EXPORTS) \
20153 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
20154 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
20155 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
20156 echo Configuring stage profile in $(HOST_SUBDIR)/libbacktrace ; \
20157 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
20158 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
20159 case $(srcdir) in \
20160 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20161 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
20162 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20163 esac; \
20164 srcdiroption="--srcdir=$${topdir}/libbacktrace"; \
20165 libsrcdir="$$s/libbacktrace"; \
20166 $(SHELL) $${libsrcdir}/configure \
20167 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20168 --target=${target_alias} $${srcdiroption} \
20169 --with-build-libsubdir=$(HOST_SUBDIR) \
20170 $(STAGEprofile_CONFIGURE_FLAGS)
20171 @endif libbacktrace-bootstrap
20173 .PHONY: configure-stagefeedback-libbacktrace maybe-configure-stagefeedback-libbacktrace
20174 maybe-configure-stagefeedback-libbacktrace:
20175 @if libbacktrace-bootstrap
20176 maybe-configure-stagefeedback-libbacktrace: configure-stagefeedback-libbacktrace
20177 configure-stagefeedback-libbacktrace:
20178 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20179 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
20180 @r=`${PWD_COMMAND}`; export r; \
20181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20182 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20183 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
20184 $(HOST_EXPORTS) \
20185 $(POSTSTAGE1_HOST_EXPORTS) \
20186 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
20187 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
20188 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
20189 echo Configuring stage feedback in $(HOST_SUBDIR)/libbacktrace ; \
20190 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
20191 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
20192 case $(srcdir) in \
20193 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20194 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
20195 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20196 esac; \
20197 srcdiroption="--srcdir=$${topdir}/libbacktrace"; \
20198 libsrcdir="$$s/libbacktrace"; \
20199 $(SHELL) $${libsrcdir}/configure \
20200 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20201 --target=${target_alias} $${srcdiroption} \
20202 --with-build-libsubdir=$(HOST_SUBDIR) \
20203 $(STAGEfeedback_CONFIGURE_FLAGS)
20204 @endif libbacktrace-bootstrap
20210 .PHONY: all-libbacktrace maybe-all-libbacktrace
20211 maybe-all-libbacktrace:
20212 @if gcc-bootstrap
20213 all-libbacktrace: stage_current
20214 @endif gcc-bootstrap
20215 @if libbacktrace
20216 TARGET-libbacktrace=all
20217 maybe-all-libbacktrace: all-libbacktrace
20218 all-libbacktrace: configure-libbacktrace
20219 @r=`${PWD_COMMAND}`; export r; \
20220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20221 $(HOST_EXPORTS) \
20222 (cd $(HOST_SUBDIR)/libbacktrace && \
20223 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
20224 $(TARGET-libbacktrace))
20225 @endif libbacktrace
20229 .PHONY: all-stage1-libbacktrace maybe-all-stage1-libbacktrace
20230 .PHONY: clean-stage1-libbacktrace maybe-clean-stage1-libbacktrace
20231 maybe-all-stage1-libbacktrace:
20232 maybe-clean-stage1-libbacktrace:
20233 @if libbacktrace-bootstrap
20234 maybe-all-stage1-libbacktrace: all-stage1-libbacktrace
20235 all-stage1: all-stage1-libbacktrace
20236 TARGET-stage1-libbacktrace = $(TARGET-libbacktrace)
20237 all-stage1-libbacktrace: configure-stage1-libbacktrace
20238 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20239 @r=`${PWD_COMMAND}`; export r; \
20240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20241 TFLAGS="$(STAGE1_TFLAGS)"; \
20242 $(HOST_EXPORTS) \
20243 cd $(HOST_SUBDIR)/libbacktrace && \
20244 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20245 CFLAGS="$(STAGE1_CFLAGS)" \
20246 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
20247 LIBCFLAGS="$(LIBCFLAGS)" \
20248 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20249 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20250 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20251 $(EXTRA_HOST_FLAGS) \
20252 $(STAGE1_FLAGS_TO_PASS) \
20253 TFLAGS="$(STAGE1_TFLAGS)" \
20254 $(TARGET-stage1-libbacktrace)
20256 maybe-clean-stage1-libbacktrace: clean-stage1-libbacktrace
20257 clean-stage1: clean-stage1-libbacktrace
20258 clean-stage1-libbacktrace:
20259 @if [ $(current_stage) = stage1 ]; then \
20260 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
20261 else \
20262 [ -f $(HOST_SUBDIR)/stage1-libbacktrace/Makefile ] || exit 0; \
20263 $(MAKE) stage1-start; \
20264 fi; \
20265 cd $(HOST_SUBDIR)/libbacktrace && \
20266 $(MAKE) $(EXTRA_HOST_FLAGS) \
20267 $(STAGE1_FLAGS_TO_PASS) clean
20268 @endif libbacktrace-bootstrap
20271 .PHONY: all-stage2-libbacktrace maybe-all-stage2-libbacktrace
20272 .PHONY: clean-stage2-libbacktrace maybe-clean-stage2-libbacktrace
20273 maybe-all-stage2-libbacktrace:
20274 maybe-clean-stage2-libbacktrace:
20275 @if libbacktrace-bootstrap
20276 maybe-all-stage2-libbacktrace: all-stage2-libbacktrace
20277 all-stage2: all-stage2-libbacktrace
20278 TARGET-stage2-libbacktrace = $(TARGET-libbacktrace)
20279 all-stage2-libbacktrace: configure-stage2-libbacktrace
20280 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20281 @r=`${PWD_COMMAND}`; export r; \
20282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20283 TFLAGS="$(STAGE2_TFLAGS)"; \
20284 $(HOST_EXPORTS) \
20285 $(POSTSTAGE1_HOST_EXPORTS) \
20286 cd $(HOST_SUBDIR)/libbacktrace && \
20287 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20288 CFLAGS="$(STAGE2_CFLAGS)" \
20289 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
20290 LIBCFLAGS="$(STAGE2_CFLAGS)" \
20291 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20292 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20293 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20294 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20295 TFLAGS="$(STAGE2_TFLAGS)" \
20296 $(TARGET-stage2-libbacktrace)
20298 maybe-clean-stage2-libbacktrace: clean-stage2-libbacktrace
20299 clean-stage2: clean-stage2-libbacktrace
20300 clean-stage2-libbacktrace:
20301 @if [ $(current_stage) = stage2 ]; then \
20302 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
20303 else \
20304 [ -f $(HOST_SUBDIR)/stage2-libbacktrace/Makefile ] || exit 0; \
20305 $(MAKE) stage2-start; \
20306 fi; \
20307 cd $(HOST_SUBDIR)/libbacktrace && \
20308 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20309 @endif libbacktrace-bootstrap
20312 .PHONY: all-stage3-libbacktrace maybe-all-stage3-libbacktrace
20313 .PHONY: clean-stage3-libbacktrace maybe-clean-stage3-libbacktrace
20314 maybe-all-stage3-libbacktrace:
20315 maybe-clean-stage3-libbacktrace:
20316 @if libbacktrace-bootstrap
20317 maybe-all-stage3-libbacktrace: all-stage3-libbacktrace
20318 all-stage3: all-stage3-libbacktrace
20319 TARGET-stage3-libbacktrace = $(TARGET-libbacktrace)
20320 all-stage3-libbacktrace: configure-stage3-libbacktrace
20321 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20322 @r=`${PWD_COMMAND}`; export r; \
20323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20324 TFLAGS="$(STAGE3_TFLAGS)"; \
20325 $(HOST_EXPORTS) \
20326 $(POSTSTAGE1_HOST_EXPORTS) \
20327 cd $(HOST_SUBDIR)/libbacktrace && \
20328 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20329 CFLAGS="$(STAGE3_CFLAGS)" \
20330 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
20331 LIBCFLAGS="$(STAGE3_CFLAGS)" \
20332 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20333 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20334 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20335 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20336 TFLAGS="$(STAGE3_TFLAGS)" \
20337 $(TARGET-stage3-libbacktrace)
20339 maybe-clean-stage3-libbacktrace: clean-stage3-libbacktrace
20340 clean-stage3: clean-stage3-libbacktrace
20341 clean-stage3-libbacktrace:
20342 @if [ $(current_stage) = stage3 ]; then \
20343 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
20344 else \
20345 [ -f $(HOST_SUBDIR)/stage3-libbacktrace/Makefile ] || exit 0; \
20346 $(MAKE) stage3-start; \
20347 fi; \
20348 cd $(HOST_SUBDIR)/libbacktrace && \
20349 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20350 @endif libbacktrace-bootstrap
20353 .PHONY: all-stage4-libbacktrace maybe-all-stage4-libbacktrace
20354 .PHONY: clean-stage4-libbacktrace maybe-clean-stage4-libbacktrace
20355 maybe-all-stage4-libbacktrace:
20356 maybe-clean-stage4-libbacktrace:
20357 @if libbacktrace-bootstrap
20358 maybe-all-stage4-libbacktrace: all-stage4-libbacktrace
20359 all-stage4: all-stage4-libbacktrace
20360 TARGET-stage4-libbacktrace = $(TARGET-libbacktrace)
20361 all-stage4-libbacktrace: configure-stage4-libbacktrace
20362 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20363 @r=`${PWD_COMMAND}`; export r; \
20364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20365 TFLAGS="$(STAGE4_TFLAGS)"; \
20366 $(HOST_EXPORTS) \
20367 $(POSTSTAGE1_HOST_EXPORTS) \
20368 cd $(HOST_SUBDIR)/libbacktrace && \
20369 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20370 CFLAGS="$(STAGE4_CFLAGS)" \
20371 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
20372 LIBCFLAGS="$(STAGE4_CFLAGS)" \
20373 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20374 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20375 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20376 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20377 TFLAGS="$(STAGE4_TFLAGS)" \
20378 $(TARGET-stage4-libbacktrace)
20380 maybe-clean-stage4-libbacktrace: clean-stage4-libbacktrace
20381 clean-stage4: clean-stage4-libbacktrace
20382 clean-stage4-libbacktrace:
20383 @if [ $(current_stage) = stage4 ]; then \
20384 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
20385 else \
20386 [ -f $(HOST_SUBDIR)/stage4-libbacktrace/Makefile ] || exit 0; \
20387 $(MAKE) stage4-start; \
20388 fi; \
20389 cd $(HOST_SUBDIR)/libbacktrace && \
20390 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20391 @endif libbacktrace-bootstrap
20394 .PHONY: all-stageprofile-libbacktrace maybe-all-stageprofile-libbacktrace
20395 .PHONY: clean-stageprofile-libbacktrace maybe-clean-stageprofile-libbacktrace
20396 maybe-all-stageprofile-libbacktrace:
20397 maybe-clean-stageprofile-libbacktrace:
20398 @if libbacktrace-bootstrap
20399 maybe-all-stageprofile-libbacktrace: all-stageprofile-libbacktrace
20400 all-stageprofile: all-stageprofile-libbacktrace
20401 TARGET-stageprofile-libbacktrace = $(TARGET-libbacktrace)
20402 all-stageprofile-libbacktrace: configure-stageprofile-libbacktrace
20403 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20404 @r=`${PWD_COMMAND}`; export r; \
20405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20406 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20407 $(HOST_EXPORTS) \
20408 $(POSTSTAGE1_HOST_EXPORTS) \
20409 cd $(HOST_SUBDIR)/libbacktrace && \
20410 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20411 CFLAGS="$(STAGEprofile_CFLAGS)" \
20412 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
20413 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
20414 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20415 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20416 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20417 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20418 TFLAGS="$(STAGEprofile_TFLAGS)" \
20419 $(TARGET-stageprofile-libbacktrace)
20421 maybe-clean-stageprofile-libbacktrace: clean-stageprofile-libbacktrace
20422 clean-stageprofile: clean-stageprofile-libbacktrace
20423 clean-stageprofile-libbacktrace:
20424 @if [ $(current_stage) = stageprofile ]; then \
20425 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
20426 else \
20427 [ -f $(HOST_SUBDIR)/stageprofile-libbacktrace/Makefile ] || exit 0; \
20428 $(MAKE) stageprofile-start; \
20429 fi; \
20430 cd $(HOST_SUBDIR)/libbacktrace && \
20431 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20432 @endif libbacktrace-bootstrap
20435 .PHONY: all-stagefeedback-libbacktrace maybe-all-stagefeedback-libbacktrace
20436 .PHONY: clean-stagefeedback-libbacktrace maybe-clean-stagefeedback-libbacktrace
20437 maybe-all-stagefeedback-libbacktrace:
20438 maybe-clean-stagefeedback-libbacktrace:
20439 @if libbacktrace-bootstrap
20440 maybe-all-stagefeedback-libbacktrace: all-stagefeedback-libbacktrace
20441 all-stagefeedback: all-stagefeedback-libbacktrace
20442 TARGET-stagefeedback-libbacktrace = $(TARGET-libbacktrace)
20443 all-stagefeedback-libbacktrace: configure-stagefeedback-libbacktrace
20444 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20445 @r=`${PWD_COMMAND}`; export r; \
20446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20447 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20448 $(HOST_EXPORTS) \
20449 $(POSTSTAGE1_HOST_EXPORTS) \
20450 cd $(HOST_SUBDIR)/libbacktrace && \
20451 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20452 CFLAGS="$(STAGEfeedback_CFLAGS)" \
20453 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
20454 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
20455 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20456 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20457 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20458 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20459 TFLAGS="$(STAGEfeedback_TFLAGS)" \
20460 $(TARGET-stagefeedback-libbacktrace)
20462 maybe-clean-stagefeedback-libbacktrace: clean-stagefeedback-libbacktrace
20463 clean-stagefeedback: clean-stagefeedback-libbacktrace
20464 clean-stagefeedback-libbacktrace:
20465 @if [ $(current_stage) = stagefeedback ]; then \
20466 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
20467 else \
20468 [ -f $(HOST_SUBDIR)/stagefeedback-libbacktrace/Makefile ] || exit 0; \
20469 $(MAKE) stagefeedback-start; \
20470 fi; \
20471 cd $(HOST_SUBDIR)/libbacktrace && \
20472 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20473 @endif libbacktrace-bootstrap
20479 .PHONY: check-libbacktrace maybe-check-libbacktrace
20480 maybe-check-libbacktrace:
20481 @if libbacktrace
20482 maybe-check-libbacktrace: check-libbacktrace
20484 check-libbacktrace:
20485 @: $(MAKE); $(unstage)
20486 @r=`${PWD_COMMAND}`; export r; \
20487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20488 $(HOST_EXPORTS) \
20489 (cd $(HOST_SUBDIR)/libbacktrace && \
20490 $(MAKE) $(FLAGS_TO_PASS) check)
20492 @endif libbacktrace
20494 .PHONY: install-libbacktrace maybe-install-libbacktrace
20495 maybe-install-libbacktrace:
20496 @if libbacktrace
20497 maybe-install-libbacktrace: install-libbacktrace
20499 install-libbacktrace: installdirs
20500 @: $(MAKE); $(unstage)
20501 @r=`${PWD_COMMAND}`; export r; \
20502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20503 $(HOST_EXPORTS) \
20504 (cd $(HOST_SUBDIR)/libbacktrace && \
20505 $(MAKE) $(FLAGS_TO_PASS) install)
20507 @endif libbacktrace
20509 .PHONY: install-strip-libbacktrace maybe-install-strip-libbacktrace
20510 maybe-install-strip-libbacktrace:
20511 @if libbacktrace
20512 maybe-install-strip-libbacktrace: install-strip-libbacktrace
20514 install-strip-libbacktrace: installdirs
20515 @: $(MAKE); $(unstage)
20516 @r=`${PWD_COMMAND}`; export r; \
20517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20518 $(HOST_EXPORTS) \
20519 (cd $(HOST_SUBDIR)/libbacktrace && \
20520 $(MAKE) $(FLAGS_TO_PASS) install-strip)
20522 @endif libbacktrace
20524 # Other targets (info, dvi, pdf, etc.)
20526 .PHONY: maybe-info-libbacktrace info-libbacktrace
20527 maybe-info-libbacktrace:
20528 @if libbacktrace
20529 maybe-info-libbacktrace: info-libbacktrace
20531 info-libbacktrace: \
20532 configure-libbacktrace
20533 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20534 r=`${PWD_COMMAND}`; export r; \
20535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20536 $(HOST_EXPORTS) \
20537 for flag in $(EXTRA_HOST_FLAGS) ; do \
20538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20539 done; \
20540 echo "Doing info in libbacktrace" ; \
20541 (cd $(HOST_SUBDIR)/libbacktrace && \
20542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20544 "RANLIB=$${RANLIB}" \
20545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20546 info) \
20547 || exit 1
20549 @endif libbacktrace
20551 .PHONY: maybe-dvi-libbacktrace dvi-libbacktrace
20552 maybe-dvi-libbacktrace:
20553 @if libbacktrace
20554 maybe-dvi-libbacktrace: dvi-libbacktrace
20556 dvi-libbacktrace: \
20557 configure-libbacktrace
20558 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20559 r=`${PWD_COMMAND}`; export r; \
20560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20561 $(HOST_EXPORTS) \
20562 for flag in $(EXTRA_HOST_FLAGS) ; do \
20563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20564 done; \
20565 echo "Doing dvi in libbacktrace" ; \
20566 (cd $(HOST_SUBDIR)/libbacktrace && \
20567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20569 "RANLIB=$${RANLIB}" \
20570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20571 dvi) \
20572 || exit 1
20574 @endif libbacktrace
20576 .PHONY: maybe-pdf-libbacktrace pdf-libbacktrace
20577 maybe-pdf-libbacktrace:
20578 @if libbacktrace
20579 maybe-pdf-libbacktrace: pdf-libbacktrace
20581 pdf-libbacktrace: \
20582 configure-libbacktrace
20583 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20584 r=`${PWD_COMMAND}`; export r; \
20585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20586 $(HOST_EXPORTS) \
20587 for flag in $(EXTRA_HOST_FLAGS) ; do \
20588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20589 done; \
20590 echo "Doing pdf in libbacktrace" ; \
20591 (cd $(HOST_SUBDIR)/libbacktrace && \
20592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20594 "RANLIB=$${RANLIB}" \
20595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20596 pdf) \
20597 || exit 1
20599 @endif libbacktrace
20601 .PHONY: maybe-html-libbacktrace html-libbacktrace
20602 maybe-html-libbacktrace:
20603 @if libbacktrace
20604 maybe-html-libbacktrace: html-libbacktrace
20606 html-libbacktrace: \
20607 configure-libbacktrace
20608 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20609 r=`${PWD_COMMAND}`; export r; \
20610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20611 $(HOST_EXPORTS) \
20612 for flag in $(EXTRA_HOST_FLAGS) ; do \
20613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20614 done; \
20615 echo "Doing html in libbacktrace" ; \
20616 (cd $(HOST_SUBDIR)/libbacktrace && \
20617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20619 "RANLIB=$${RANLIB}" \
20620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20621 html) \
20622 || exit 1
20624 @endif libbacktrace
20626 .PHONY: maybe-TAGS-libbacktrace TAGS-libbacktrace
20627 maybe-TAGS-libbacktrace:
20628 @if libbacktrace
20629 maybe-TAGS-libbacktrace: TAGS-libbacktrace
20631 TAGS-libbacktrace: \
20632 configure-libbacktrace
20633 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20634 r=`${PWD_COMMAND}`; export r; \
20635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20636 $(HOST_EXPORTS) \
20637 for flag in $(EXTRA_HOST_FLAGS) ; do \
20638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20639 done; \
20640 echo "Doing TAGS in libbacktrace" ; \
20641 (cd $(HOST_SUBDIR)/libbacktrace && \
20642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20644 "RANLIB=$${RANLIB}" \
20645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20646 TAGS) \
20647 || exit 1
20649 @endif libbacktrace
20651 .PHONY: maybe-install-info-libbacktrace install-info-libbacktrace
20652 maybe-install-info-libbacktrace:
20653 @if libbacktrace
20654 maybe-install-info-libbacktrace: install-info-libbacktrace
20656 install-info-libbacktrace: \
20657 configure-libbacktrace \
20658 info-libbacktrace
20659 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20660 r=`${PWD_COMMAND}`; export r; \
20661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20662 $(HOST_EXPORTS) \
20663 for flag in $(EXTRA_HOST_FLAGS) ; do \
20664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20665 done; \
20666 echo "Doing install-info in libbacktrace" ; \
20667 (cd $(HOST_SUBDIR)/libbacktrace && \
20668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20670 "RANLIB=$${RANLIB}" \
20671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20672 install-info) \
20673 || exit 1
20675 @endif libbacktrace
20677 .PHONY: maybe-install-pdf-libbacktrace install-pdf-libbacktrace
20678 maybe-install-pdf-libbacktrace:
20679 @if libbacktrace
20680 maybe-install-pdf-libbacktrace: install-pdf-libbacktrace
20682 install-pdf-libbacktrace: \
20683 configure-libbacktrace \
20684 pdf-libbacktrace
20685 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20686 r=`${PWD_COMMAND}`; export r; \
20687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20688 $(HOST_EXPORTS) \
20689 for flag in $(EXTRA_HOST_FLAGS) ; do \
20690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20691 done; \
20692 echo "Doing install-pdf in libbacktrace" ; \
20693 (cd $(HOST_SUBDIR)/libbacktrace && \
20694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20696 "RANLIB=$${RANLIB}" \
20697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20698 install-pdf) \
20699 || exit 1
20701 @endif libbacktrace
20703 .PHONY: maybe-install-html-libbacktrace install-html-libbacktrace
20704 maybe-install-html-libbacktrace:
20705 @if libbacktrace
20706 maybe-install-html-libbacktrace: install-html-libbacktrace
20708 install-html-libbacktrace: \
20709 configure-libbacktrace \
20710 html-libbacktrace
20711 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20712 r=`${PWD_COMMAND}`; export r; \
20713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20714 $(HOST_EXPORTS) \
20715 for flag in $(EXTRA_HOST_FLAGS) ; do \
20716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20717 done; \
20718 echo "Doing install-html in libbacktrace" ; \
20719 (cd $(HOST_SUBDIR)/libbacktrace && \
20720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20722 "RANLIB=$${RANLIB}" \
20723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20724 install-html) \
20725 || exit 1
20727 @endif libbacktrace
20729 .PHONY: maybe-installcheck-libbacktrace installcheck-libbacktrace
20730 maybe-installcheck-libbacktrace:
20731 @if libbacktrace
20732 maybe-installcheck-libbacktrace: installcheck-libbacktrace
20734 installcheck-libbacktrace: \
20735 configure-libbacktrace
20736 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20737 r=`${PWD_COMMAND}`; export r; \
20738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20739 $(HOST_EXPORTS) \
20740 for flag in $(EXTRA_HOST_FLAGS) ; do \
20741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20742 done; \
20743 echo "Doing installcheck in libbacktrace" ; \
20744 (cd $(HOST_SUBDIR)/libbacktrace && \
20745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20747 "RANLIB=$${RANLIB}" \
20748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20749 installcheck) \
20750 || exit 1
20752 @endif libbacktrace
20754 .PHONY: maybe-mostlyclean-libbacktrace mostlyclean-libbacktrace
20755 maybe-mostlyclean-libbacktrace:
20756 @if libbacktrace
20757 maybe-mostlyclean-libbacktrace: mostlyclean-libbacktrace
20759 mostlyclean-libbacktrace:
20760 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20761 r=`${PWD_COMMAND}`; export r; \
20762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20763 $(HOST_EXPORTS) \
20764 for flag in $(EXTRA_HOST_FLAGS) ; do \
20765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20766 done; \
20767 echo "Doing mostlyclean in libbacktrace" ; \
20768 (cd $(HOST_SUBDIR)/libbacktrace && \
20769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20771 "RANLIB=$${RANLIB}" \
20772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20773 mostlyclean) \
20774 || exit 1
20776 @endif libbacktrace
20778 .PHONY: maybe-clean-libbacktrace clean-libbacktrace
20779 maybe-clean-libbacktrace:
20780 @if libbacktrace
20781 maybe-clean-libbacktrace: clean-libbacktrace
20783 clean-libbacktrace:
20784 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20785 r=`${PWD_COMMAND}`; export r; \
20786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20787 $(HOST_EXPORTS) \
20788 for flag in $(EXTRA_HOST_FLAGS) ; do \
20789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20790 done; \
20791 echo "Doing clean in libbacktrace" ; \
20792 (cd $(HOST_SUBDIR)/libbacktrace && \
20793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20795 "RANLIB=$${RANLIB}" \
20796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20797 clean) \
20798 || exit 1
20800 @endif libbacktrace
20802 .PHONY: maybe-distclean-libbacktrace distclean-libbacktrace
20803 maybe-distclean-libbacktrace:
20804 @if libbacktrace
20805 maybe-distclean-libbacktrace: distclean-libbacktrace
20807 distclean-libbacktrace:
20808 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20809 r=`${PWD_COMMAND}`; export r; \
20810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20811 $(HOST_EXPORTS) \
20812 for flag in $(EXTRA_HOST_FLAGS) ; do \
20813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20814 done; \
20815 echo "Doing distclean in libbacktrace" ; \
20816 (cd $(HOST_SUBDIR)/libbacktrace && \
20817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20819 "RANLIB=$${RANLIB}" \
20820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20821 distclean) \
20822 || exit 1
20824 @endif libbacktrace
20826 .PHONY: maybe-maintainer-clean-libbacktrace maintainer-clean-libbacktrace
20827 maybe-maintainer-clean-libbacktrace:
20828 @if libbacktrace
20829 maybe-maintainer-clean-libbacktrace: maintainer-clean-libbacktrace
20831 maintainer-clean-libbacktrace:
20832 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20833 r=`${PWD_COMMAND}`; export r; \
20834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20835 $(HOST_EXPORTS) \
20836 for flag in $(EXTRA_HOST_FLAGS) ; do \
20837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20838 done; \
20839 echo "Doing maintainer-clean in libbacktrace" ; \
20840 (cd $(HOST_SUBDIR)/libbacktrace && \
20841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20843 "RANLIB=$${RANLIB}" \
20844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20845 maintainer-clean) \
20846 || exit 1
20848 @endif libbacktrace
20852 .PHONY: configure-libcpp maybe-configure-libcpp
20853 maybe-configure-libcpp:
20854 @if gcc-bootstrap
20855 configure-libcpp: stage_current
20856 @endif gcc-bootstrap
20857 @if libcpp
20858 maybe-configure-libcpp: configure-libcpp
20859 configure-libcpp:
20860 @r=`${PWD_COMMAND}`; export r; \
20861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20862 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20863 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20864 $(HOST_EXPORTS) \
20865 echo Configuring in $(HOST_SUBDIR)/libcpp; \
20866 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
20867 case $(srcdir) in \
20868 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20869 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20870 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20871 esac; \
20872 srcdiroption="--srcdir=$${topdir}/libcpp"; \
20873 libsrcdir="$$s/libcpp"; \
20874 $(SHELL) $${libsrcdir}/configure \
20875 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20876 --target=${target_alias} $${srcdiroption} \
20877 || exit 1
20878 @endif libcpp
20882 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
20883 maybe-configure-stage1-libcpp:
20884 @if libcpp-bootstrap
20885 maybe-configure-stage1-libcpp: configure-stage1-libcpp
20886 configure-stage1-libcpp:
20887 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20888 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20889 @r=`${PWD_COMMAND}`; export r; \
20890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20891 TFLAGS="$(STAGE1_TFLAGS)"; \
20892 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20893 $(HOST_EXPORTS) \
20894 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
20895 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
20896 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
20897 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp ; \
20898 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20899 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20900 case $(srcdir) in \
20901 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20902 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20903 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20904 esac; \
20905 srcdiroption="--srcdir=$${topdir}/libcpp"; \
20906 libsrcdir="$$s/libcpp"; \
20907 $(SHELL) $${libsrcdir}/configure \
20908 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20909 --target=${target_alias} $${srcdiroption} \
20910 $(STAGE1_CONFIGURE_FLAGS)
20911 @endif libcpp-bootstrap
20913 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
20914 maybe-configure-stage2-libcpp:
20915 @if libcpp-bootstrap
20916 maybe-configure-stage2-libcpp: configure-stage2-libcpp
20917 configure-stage2-libcpp:
20918 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20919 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20920 @r=`${PWD_COMMAND}`; export r; \
20921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20922 TFLAGS="$(STAGE2_TFLAGS)"; \
20923 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20924 $(HOST_EXPORTS) \
20925 $(POSTSTAGE1_HOST_EXPORTS) \
20926 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
20927 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
20928 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
20929 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp ; \
20930 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20931 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20932 case $(srcdir) in \
20933 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20934 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20935 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20936 esac; \
20937 srcdiroption="--srcdir=$${topdir}/libcpp"; \
20938 libsrcdir="$$s/libcpp"; \
20939 $(SHELL) $${libsrcdir}/configure \
20940 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20941 --target=${target_alias} $${srcdiroption} \
20942 --with-build-libsubdir=$(HOST_SUBDIR) \
20943 $(STAGE2_CONFIGURE_FLAGS)
20944 @endif libcpp-bootstrap
20946 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
20947 maybe-configure-stage3-libcpp:
20948 @if libcpp-bootstrap
20949 maybe-configure-stage3-libcpp: configure-stage3-libcpp
20950 configure-stage3-libcpp:
20951 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20952 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20953 @r=`${PWD_COMMAND}`; export r; \
20954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20955 TFLAGS="$(STAGE3_TFLAGS)"; \
20956 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20957 $(HOST_EXPORTS) \
20958 $(POSTSTAGE1_HOST_EXPORTS) \
20959 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
20960 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
20961 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
20962 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp ; \
20963 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20964 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20965 case $(srcdir) in \
20966 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20967 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20968 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20969 esac; \
20970 srcdiroption="--srcdir=$${topdir}/libcpp"; \
20971 libsrcdir="$$s/libcpp"; \
20972 $(SHELL) $${libsrcdir}/configure \
20973 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20974 --target=${target_alias} $${srcdiroption} \
20975 --with-build-libsubdir=$(HOST_SUBDIR) \
20976 $(STAGE3_CONFIGURE_FLAGS)
20977 @endif libcpp-bootstrap
20979 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
20980 maybe-configure-stage4-libcpp:
20981 @if libcpp-bootstrap
20982 maybe-configure-stage4-libcpp: configure-stage4-libcpp
20983 configure-stage4-libcpp:
20984 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20985 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20986 @r=`${PWD_COMMAND}`; export r; \
20987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20988 TFLAGS="$(STAGE4_TFLAGS)"; \
20989 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20990 $(HOST_EXPORTS) \
20991 $(POSTSTAGE1_HOST_EXPORTS) \
20992 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
20993 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
20994 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
20995 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp ; \
20996 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20997 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20998 case $(srcdir) in \
20999 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21000 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
21001 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21002 esac; \
21003 srcdiroption="--srcdir=$${topdir}/libcpp"; \
21004 libsrcdir="$$s/libcpp"; \
21005 $(SHELL) $${libsrcdir}/configure \
21006 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21007 --target=${target_alias} $${srcdiroption} \
21008 --with-build-libsubdir=$(HOST_SUBDIR) \
21009 $(STAGE4_CONFIGURE_FLAGS)
21010 @endif libcpp-bootstrap
21012 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
21013 maybe-configure-stageprofile-libcpp:
21014 @if libcpp-bootstrap
21015 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
21016 configure-stageprofile-libcpp:
21017 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
21018 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
21019 @r=`${PWD_COMMAND}`; export r; \
21020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21021 TFLAGS="$(STAGEprofile_TFLAGS)"; \
21022 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
21023 $(HOST_EXPORTS) \
21024 $(POSTSTAGE1_HOST_EXPORTS) \
21025 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
21026 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
21027 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
21028 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp ; \
21029 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
21030 cd $(HOST_SUBDIR)/libcpp || exit 1; \
21031 case $(srcdir) in \
21032 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21033 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
21034 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21035 esac; \
21036 srcdiroption="--srcdir=$${topdir}/libcpp"; \
21037 libsrcdir="$$s/libcpp"; \
21038 $(SHELL) $${libsrcdir}/configure \
21039 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21040 --target=${target_alias} $${srcdiroption} \
21041 --with-build-libsubdir=$(HOST_SUBDIR) \
21042 $(STAGEprofile_CONFIGURE_FLAGS)
21043 @endif libcpp-bootstrap
21045 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
21046 maybe-configure-stagefeedback-libcpp:
21047 @if libcpp-bootstrap
21048 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
21049 configure-stagefeedback-libcpp:
21050 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
21051 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
21052 @r=`${PWD_COMMAND}`; export r; \
21053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21054 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
21055 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
21056 $(HOST_EXPORTS) \
21057 $(POSTSTAGE1_HOST_EXPORTS) \
21058 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
21059 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
21060 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
21061 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp ; \
21062 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
21063 cd $(HOST_SUBDIR)/libcpp || exit 1; \
21064 case $(srcdir) in \
21065 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21066 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
21067 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21068 esac; \
21069 srcdiroption="--srcdir=$${topdir}/libcpp"; \
21070 libsrcdir="$$s/libcpp"; \
21071 $(SHELL) $${libsrcdir}/configure \
21072 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21073 --target=${target_alias} $${srcdiroption} \
21074 --with-build-libsubdir=$(HOST_SUBDIR) \
21075 $(STAGEfeedback_CONFIGURE_FLAGS)
21076 @endif libcpp-bootstrap
21082 .PHONY: all-libcpp maybe-all-libcpp
21083 maybe-all-libcpp:
21084 @if gcc-bootstrap
21085 all-libcpp: stage_current
21086 @endif gcc-bootstrap
21087 @if libcpp
21088 TARGET-libcpp=all
21089 maybe-all-libcpp: all-libcpp
21090 all-libcpp: configure-libcpp
21091 @r=`${PWD_COMMAND}`; export r; \
21092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21093 $(HOST_EXPORTS) \
21094 (cd $(HOST_SUBDIR)/libcpp && \
21095 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
21096 $(TARGET-libcpp))
21097 @endif libcpp
21101 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
21102 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
21103 maybe-all-stage1-libcpp:
21104 maybe-clean-stage1-libcpp:
21105 @if libcpp-bootstrap
21106 maybe-all-stage1-libcpp: all-stage1-libcpp
21107 all-stage1: all-stage1-libcpp
21108 TARGET-stage1-libcpp = $(TARGET-libcpp)
21109 all-stage1-libcpp: configure-stage1-libcpp
21110 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
21111 @r=`${PWD_COMMAND}`; export r; \
21112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21113 TFLAGS="$(STAGE1_TFLAGS)"; \
21114 $(HOST_EXPORTS) \
21115 cd $(HOST_SUBDIR)/libcpp && \
21116 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21117 CFLAGS="$(STAGE1_CFLAGS)" \
21118 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
21119 LIBCFLAGS="$(LIBCFLAGS)" \
21120 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21121 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21122 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21123 $(EXTRA_HOST_FLAGS) \
21124 $(STAGE1_FLAGS_TO_PASS) \
21125 TFLAGS="$(STAGE1_TFLAGS)" \
21126 $(TARGET-stage1-libcpp)
21128 maybe-clean-stage1-libcpp: clean-stage1-libcpp
21129 clean-stage1: clean-stage1-libcpp
21130 clean-stage1-libcpp:
21131 @if [ $(current_stage) = stage1 ]; then \
21132 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
21133 else \
21134 [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] || exit 0; \
21135 $(MAKE) stage1-start; \
21136 fi; \
21137 cd $(HOST_SUBDIR)/libcpp && \
21138 $(MAKE) $(EXTRA_HOST_FLAGS) \
21139 $(STAGE1_FLAGS_TO_PASS) clean
21140 @endif libcpp-bootstrap
21143 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
21144 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
21145 maybe-all-stage2-libcpp:
21146 maybe-clean-stage2-libcpp:
21147 @if libcpp-bootstrap
21148 maybe-all-stage2-libcpp: all-stage2-libcpp
21149 all-stage2: all-stage2-libcpp
21150 TARGET-stage2-libcpp = $(TARGET-libcpp)
21151 all-stage2-libcpp: configure-stage2-libcpp
21152 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
21153 @r=`${PWD_COMMAND}`; export r; \
21154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21155 TFLAGS="$(STAGE2_TFLAGS)"; \
21156 $(HOST_EXPORTS) \
21157 $(POSTSTAGE1_HOST_EXPORTS) \
21158 cd $(HOST_SUBDIR)/libcpp && \
21159 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21160 CFLAGS="$(STAGE2_CFLAGS)" \
21161 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
21162 LIBCFLAGS="$(STAGE2_CFLAGS)" \
21163 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21164 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21165 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21166 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21167 TFLAGS="$(STAGE2_TFLAGS)" \
21168 $(TARGET-stage2-libcpp)
21170 maybe-clean-stage2-libcpp: clean-stage2-libcpp
21171 clean-stage2: clean-stage2-libcpp
21172 clean-stage2-libcpp:
21173 @if [ $(current_stage) = stage2 ]; then \
21174 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
21175 else \
21176 [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] || exit 0; \
21177 $(MAKE) stage2-start; \
21178 fi; \
21179 cd $(HOST_SUBDIR)/libcpp && \
21180 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21181 @endif libcpp-bootstrap
21184 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
21185 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
21186 maybe-all-stage3-libcpp:
21187 maybe-clean-stage3-libcpp:
21188 @if libcpp-bootstrap
21189 maybe-all-stage3-libcpp: all-stage3-libcpp
21190 all-stage3: all-stage3-libcpp
21191 TARGET-stage3-libcpp = $(TARGET-libcpp)
21192 all-stage3-libcpp: configure-stage3-libcpp
21193 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
21194 @r=`${PWD_COMMAND}`; export r; \
21195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21196 TFLAGS="$(STAGE3_TFLAGS)"; \
21197 $(HOST_EXPORTS) \
21198 $(POSTSTAGE1_HOST_EXPORTS) \
21199 cd $(HOST_SUBDIR)/libcpp && \
21200 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21201 CFLAGS="$(STAGE3_CFLAGS)" \
21202 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
21203 LIBCFLAGS="$(STAGE3_CFLAGS)" \
21204 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21205 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21206 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21207 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21208 TFLAGS="$(STAGE3_TFLAGS)" \
21209 $(TARGET-stage3-libcpp)
21211 maybe-clean-stage3-libcpp: clean-stage3-libcpp
21212 clean-stage3: clean-stage3-libcpp
21213 clean-stage3-libcpp:
21214 @if [ $(current_stage) = stage3 ]; then \
21215 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
21216 else \
21217 [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] || exit 0; \
21218 $(MAKE) stage3-start; \
21219 fi; \
21220 cd $(HOST_SUBDIR)/libcpp && \
21221 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21222 @endif libcpp-bootstrap
21225 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
21226 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
21227 maybe-all-stage4-libcpp:
21228 maybe-clean-stage4-libcpp:
21229 @if libcpp-bootstrap
21230 maybe-all-stage4-libcpp: all-stage4-libcpp
21231 all-stage4: all-stage4-libcpp
21232 TARGET-stage4-libcpp = $(TARGET-libcpp)
21233 all-stage4-libcpp: configure-stage4-libcpp
21234 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
21235 @r=`${PWD_COMMAND}`; export r; \
21236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21237 TFLAGS="$(STAGE4_TFLAGS)"; \
21238 $(HOST_EXPORTS) \
21239 $(POSTSTAGE1_HOST_EXPORTS) \
21240 cd $(HOST_SUBDIR)/libcpp && \
21241 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21242 CFLAGS="$(STAGE4_CFLAGS)" \
21243 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
21244 LIBCFLAGS="$(STAGE4_CFLAGS)" \
21245 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21246 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21247 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21248 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21249 TFLAGS="$(STAGE4_TFLAGS)" \
21250 $(TARGET-stage4-libcpp)
21252 maybe-clean-stage4-libcpp: clean-stage4-libcpp
21253 clean-stage4: clean-stage4-libcpp
21254 clean-stage4-libcpp:
21255 @if [ $(current_stage) = stage4 ]; then \
21256 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
21257 else \
21258 [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] || exit 0; \
21259 $(MAKE) stage4-start; \
21260 fi; \
21261 cd $(HOST_SUBDIR)/libcpp && \
21262 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21263 @endif libcpp-bootstrap
21266 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
21267 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
21268 maybe-all-stageprofile-libcpp:
21269 maybe-clean-stageprofile-libcpp:
21270 @if libcpp-bootstrap
21271 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
21272 all-stageprofile: all-stageprofile-libcpp
21273 TARGET-stageprofile-libcpp = $(TARGET-libcpp)
21274 all-stageprofile-libcpp: configure-stageprofile-libcpp
21275 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
21276 @r=`${PWD_COMMAND}`; export r; \
21277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21278 TFLAGS="$(STAGEprofile_TFLAGS)"; \
21279 $(HOST_EXPORTS) \
21280 $(POSTSTAGE1_HOST_EXPORTS) \
21281 cd $(HOST_SUBDIR)/libcpp && \
21282 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21283 CFLAGS="$(STAGEprofile_CFLAGS)" \
21284 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
21285 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
21286 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21287 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21288 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21289 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21290 TFLAGS="$(STAGEprofile_TFLAGS)" \
21291 $(TARGET-stageprofile-libcpp)
21293 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
21294 clean-stageprofile: clean-stageprofile-libcpp
21295 clean-stageprofile-libcpp:
21296 @if [ $(current_stage) = stageprofile ]; then \
21297 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
21298 else \
21299 [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] || exit 0; \
21300 $(MAKE) stageprofile-start; \
21301 fi; \
21302 cd $(HOST_SUBDIR)/libcpp && \
21303 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21304 @endif libcpp-bootstrap
21307 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
21308 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
21309 maybe-all-stagefeedback-libcpp:
21310 maybe-clean-stagefeedback-libcpp:
21311 @if libcpp-bootstrap
21312 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
21313 all-stagefeedback: all-stagefeedback-libcpp
21314 TARGET-stagefeedback-libcpp = $(TARGET-libcpp)
21315 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
21316 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
21317 @r=`${PWD_COMMAND}`; export r; \
21318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21319 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
21320 $(HOST_EXPORTS) \
21321 $(POSTSTAGE1_HOST_EXPORTS) \
21322 cd $(HOST_SUBDIR)/libcpp && \
21323 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21324 CFLAGS="$(STAGEfeedback_CFLAGS)" \
21325 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
21326 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
21327 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21328 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21329 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21330 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21331 TFLAGS="$(STAGEfeedback_TFLAGS)" \
21332 $(TARGET-stagefeedback-libcpp)
21334 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
21335 clean-stagefeedback: clean-stagefeedback-libcpp
21336 clean-stagefeedback-libcpp:
21337 @if [ $(current_stage) = stagefeedback ]; then \
21338 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
21339 else \
21340 [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] || exit 0; \
21341 $(MAKE) stagefeedback-start; \
21342 fi; \
21343 cd $(HOST_SUBDIR)/libcpp && \
21344 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21345 @endif libcpp-bootstrap
21351 .PHONY: check-libcpp maybe-check-libcpp
21352 maybe-check-libcpp:
21353 @if libcpp
21354 maybe-check-libcpp: check-libcpp
21356 check-libcpp:
21357 @: $(MAKE); $(unstage)
21358 @r=`${PWD_COMMAND}`; export r; \
21359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21360 $(HOST_EXPORTS) \
21361 (cd $(HOST_SUBDIR)/libcpp && \
21362 $(MAKE) $(FLAGS_TO_PASS) check)
21364 @endif libcpp
21366 .PHONY: install-libcpp maybe-install-libcpp
21367 maybe-install-libcpp:
21368 @if libcpp
21369 maybe-install-libcpp: install-libcpp
21371 install-libcpp: installdirs
21372 @: $(MAKE); $(unstage)
21373 @r=`${PWD_COMMAND}`; export r; \
21374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21375 $(HOST_EXPORTS) \
21376 (cd $(HOST_SUBDIR)/libcpp && \
21377 $(MAKE) $(FLAGS_TO_PASS) install)
21379 @endif libcpp
21381 .PHONY: install-strip-libcpp maybe-install-strip-libcpp
21382 maybe-install-strip-libcpp:
21383 @if libcpp
21384 maybe-install-strip-libcpp: install-strip-libcpp
21386 install-strip-libcpp: installdirs
21387 @: $(MAKE); $(unstage)
21388 @r=`${PWD_COMMAND}`; export r; \
21389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21390 $(HOST_EXPORTS) \
21391 (cd $(HOST_SUBDIR)/libcpp && \
21392 $(MAKE) $(FLAGS_TO_PASS) install-strip)
21394 @endif libcpp
21396 # Other targets (info, dvi, pdf, etc.)
21398 .PHONY: maybe-info-libcpp info-libcpp
21399 maybe-info-libcpp:
21400 @if libcpp
21401 maybe-info-libcpp: info-libcpp
21403 info-libcpp: \
21404 configure-libcpp
21405 @[ -f ./libcpp/Makefile ] || exit 0; \
21406 r=`${PWD_COMMAND}`; export r; \
21407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21408 $(HOST_EXPORTS) \
21409 for flag in $(EXTRA_HOST_FLAGS) ; do \
21410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21411 done; \
21412 echo "Doing info in libcpp" ; \
21413 (cd $(HOST_SUBDIR)/libcpp && \
21414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21416 "RANLIB=$${RANLIB}" \
21417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21418 info) \
21419 || exit 1
21421 @endif libcpp
21423 .PHONY: maybe-dvi-libcpp dvi-libcpp
21424 maybe-dvi-libcpp:
21425 @if libcpp
21426 maybe-dvi-libcpp: dvi-libcpp
21428 dvi-libcpp: \
21429 configure-libcpp
21430 @[ -f ./libcpp/Makefile ] || exit 0; \
21431 r=`${PWD_COMMAND}`; export r; \
21432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21433 $(HOST_EXPORTS) \
21434 for flag in $(EXTRA_HOST_FLAGS) ; do \
21435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21436 done; \
21437 echo "Doing dvi in libcpp" ; \
21438 (cd $(HOST_SUBDIR)/libcpp && \
21439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21441 "RANLIB=$${RANLIB}" \
21442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21443 dvi) \
21444 || exit 1
21446 @endif libcpp
21448 .PHONY: maybe-pdf-libcpp pdf-libcpp
21449 maybe-pdf-libcpp:
21450 @if libcpp
21451 maybe-pdf-libcpp: pdf-libcpp
21453 pdf-libcpp: \
21454 configure-libcpp
21455 @[ -f ./libcpp/Makefile ] || exit 0; \
21456 r=`${PWD_COMMAND}`; export r; \
21457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21458 $(HOST_EXPORTS) \
21459 for flag in $(EXTRA_HOST_FLAGS) ; do \
21460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21461 done; \
21462 echo "Doing pdf in libcpp" ; \
21463 (cd $(HOST_SUBDIR)/libcpp && \
21464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21466 "RANLIB=$${RANLIB}" \
21467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21468 pdf) \
21469 || exit 1
21471 @endif libcpp
21473 .PHONY: maybe-html-libcpp html-libcpp
21474 maybe-html-libcpp:
21475 @if libcpp
21476 maybe-html-libcpp: html-libcpp
21478 html-libcpp: \
21479 configure-libcpp
21480 @[ -f ./libcpp/Makefile ] || exit 0; \
21481 r=`${PWD_COMMAND}`; export r; \
21482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21483 $(HOST_EXPORTS) \
21484 for flag in $(EXTRA_HOST_FLAGS) ; do \
21485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21486 done; \
21487 echo "Doing html in libcpp" ; \
21488 (cd $(HOST_SUBDIR)/libcpp && \
21489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21491 "RANLIB=$${RANLIB}" \
21492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21493 html) \
21494 || exit 1
21496 @endif libcpp
21498 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
21499 maybe-TAGS-libcpp:
21500 @if libcpp
21501 maybe-TAGS-libcpp: TAGS-libcpp
21503 TAGS-libcpp: \
21504 configure-libcpp
21505 @[ -f ./libcpp/Makefile ] || exit 0; \
21506 r=`${PWD_COMMAND}`; export r; \
21507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21508 $(HOST_EXPORTS) \
21509 for flag in $(EXTRA_HOST_FLAGS) ; do \
21510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21511 done; \
21512 echo "Doing TAGS in libcpp" ; \
21513 (cd $(HOST_SUBDIR)/libcpp && \
21514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21516 "RANLIB=$${RANLIB}" \
21517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21518 TAGS) \
21519 || exit 1
21521 @endif libcpp
21523 .PHONY: maybe-install-info-libcpp install-info-libcpp
21524 maybe-install-info-libcpp:
21525 @if libcpp
21526 maybe-install-info-libcpp: install-info-libcpp
21528 install-info-libcpp: \
21529 configure-libcpp \
21530 info-libcpp
21531 @[ -f ./libcpp/Makefile ] || exit 0; \
21532 r=`${PWD_COMMAND}`; export r; \
21533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21534 $(HOST_EXPORTS) \
21535 for flag in $(EXTRA_HOST_FLAGS) ; do \
21536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21537 done; \
21538 echo "Doing install-info in libcpp" ; \
21539 (cd $(HOST_SUBDIR)/libcpp && \
21540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21542 "RANLIB=$${RANLIB}" \
21543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21544 install-info) \
21545 || exit 1
21547 @endif libcpp
21549 .PHONY: maybe-install-pdf-libcpp install-pdf-libcpp
21550 maybe-install-pdf-libcpp:
21551 @if libcpp
21552 maybe-install-pdf-libcpp: install-pdf-libcpp
21554 install-pdf-libcpp: \
21555 configure-libcpp \
21556 pdf-libcpp
21557 @[ -f ./libcpp/Makefile ] || exit 0; \
21558 r=`${PWD_COMMAND}`; export r; \
21559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21560 $(HOST_EXPORTS) \
21561 for flag in $(EXTRA_HOST_FLAGS) ; do \
21562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21563 done; \
21564 echo "Doing install-pdf in libcpp" ; \
21565 (cd $(HOST_SUBDIR)/libcpp && \
21566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21568 "RANLIB=$${RANLIB}" \
21569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21570 install-pdf) \
21571 || exit 1
21573 @endif libcpp
21575 .PHONY: maybe-install-html-libcpp install-html-libcpp
21576 maybe-install-html-libcpp:
21577 @if libcpp
21578 maybe-install-html-libcpp: install-html-libcpp
21580 install-html-libcpp: \
21581 configure-libcpp \
21582 html-libcpp
21583 @[ -f ./libcpp/Makefile ] || exit 0; \
21584 r=`${PWD_COMMAND}`; export r; \
21585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21586 $(HOST_EXPORTS) \
21587 for flag in $(EXTRA_HOST_FLAGS) ; do \
21588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21589 done; \
21590 echo "Doing install-html in libcpp" ; \
21591 (cd $(HOST_SUBDIR)/libcpp && \
21592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21594 "RANLIB=$${RANLIB}" \
21595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21596 install-html) \
21597 || exit 1
21599 @endif libcpp
21601 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
21602 maybe-installcheck-libcpp:
21603 @if libcpp
21604 maybe-installcheck-libcpp: installcheck-libcpp
21606 installcheck-libcpp: \
21607 configure-libcpp
21608 @[ -f ./libcpp/Makefile ] || exit 0; \
21609 r=`${PWD_COMMAND}`; export r; \
21610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21611 $(HOST_EXPORTS) \
21612 for flag in $(EXTRA_HOST_FLAGS) ; do \
21613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21614 done; \
21615 echo "Doing installcheck in libcpp" ; \
21616 (cd $(HOST_SUBDIR)/libcpp && \
21617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21619 "RANLIB=$${RANLIB}" \
21620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21621 installcheck) \
21622 || exit 1
21624 @endif libcpp
21626 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
21627 maybe-mostlyclean-libcpp:
21628 @if libcpp
21629 maybe-mostlyclean-libcpp: mostlyclean-libcpp
21631 mostlyclean-libcpp:
21632 @[ -f ./libcpp/Makefile ] || exit 0; \
21633 r=`${PWD_COMMAND}`; export r; \
21634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21635 $(HOST_EXPORTS) \
21636 for flag in $(EXTRA_HOST_FLAGS) ; do \
21637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21638 done; \
21639 echo "Doing mostlyclean in libcpp" ; \
21640 (cd $(HOST_SUBDIR)/libcpp && \
21641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21643 "RANLIB=$${RANLIB}" \
21644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21645 mostlyclean) \
21646 || exit 1
21648 @endif libcpp
21650 .PHONY: maybe-clean-libcpp clean-libcpp
21651 maybe-clean-libcpp:
21652 @if libcpp
21653 maybe-clean-libcpp: clean-libcpp
21655 clean-libcpp:
21656 @[ -f ./libcpp/Makefile ] || exit 0; \
21657 r=`${PWD_COMMAND}`; export r; \
21658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21659 $(HOST_EXPORTS) \
21660 for flag in $(EXTRA_HOST_FLAGS) ; do \
21661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21662 done; \
21663 echo "Doing clean in libcpp" ; \
21664 (cd $(HOST_SUBDIR)/libcpp && \
21665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21667 "RANLIB=$${RANLIB}" \
21668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21669 clean) \
21670 || exit 1
21672 @endif libcpp
21674 .PHONY: maybe-distclean-libcpp distclean-libcpp
21675 maybe-distclean-libcpp:
21676 @if libcpp
21677 maybe-distclean-libcpp: distclean-libcpp
21679 distclean-libcpp:
21680 @[ -f ./libcpp/Makefile ] || exit 0; \
21681 r=`${PWD_COMMAND}`; export r; \
21682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21683 $(HOST_EXPORTS) \
21684 for flag in $(EXTRA_HOST_FLAGS) ; do \
21685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21686 done; \
21687 echo "Doing distclean in libcpp" ; \
21688 (cd $(HOST_SUBDIR)/libcpp && \
21689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21691 "RANLIB=$${RANLIB}" \
21692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21693 distclean) \
21694 || exit 1
21696 @endif libcpp
21698 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
21699 maybe-maintainer-clean-libcpp:
21700 @if libcpp
21701 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
21703 maintainer-clean-libcpp:
21704 @[ -f ./libcpp/Makefile ] || exit 0; \
21705 r=`${PWD_COMMAND}`; export r; \
21706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21707 $(HOST_EXPORTS) \
21708 for flag in $(EXTRA_HOST_FLAGS) ; do \
21709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21710 done; \
21711 echo "Doing maintainer-clean in libcpp" ; \
21712 (cd $(HOST_SUBDIR)/libcpp && \
21713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21715 "RANLIB=$${RANLIB}" \
21716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21717 maintainer-clean) \
21718 || exit 1
21720 @endif libcpp
21724 .PHONY: configure-libdecnumber maybe-configure-libdecnumber
21725 maybe-configure-libdecnumber:
21726 @if gcc-bootstrap
21727 configure-libdecnumber: stage_current
21728 @endif gcc-bootstrap
21729 @if libdecnumber
21730 maybe-configure-libdecnumber: configure-libdecnumber
21731 configure-libdecnumber:
21732 @r=`${PWD_COMMAND}`; export r; \
21733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21734 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21735 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21736 $(HOST_EXPORTS) \
21737 echo Configuring in $(HOST_SUBDIR)/libdecnumber; \
21738 cd "$(HOST_SUBDIR)/libdecnumber" || exit 1; \
21739 case $(srcdir) in \
21740 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21741 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21742 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21743 esac; \
21744 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
21745 libsrcdir="$$s/libdecnumber"; \
21746 $(SHELL) $${libsrcdir}/configure \
21747 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21748 --target=${target_alias} $${srcdiroption} \
21749 || exit 1
21750 @endif libdecnumber
21754 .PHONY: configure-stage1-libdecnumber maybe-configure-stage1-libdecnumber
21755 maybe-configure-stage1-libdecnumber:
21756 @if libdecnumber-bootstrap
21757 maybe-configure-stage1-libdecnumber: configure-stage1-libdecnumber
21758 configure-stage1-libdecnumber:
21759 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
21760 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21761 @r=`${PWD_COMMAND}`; export r; \
21762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21763 TFLAGS="$(STAGE1_TFLAGS)"; \
21764 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21765 $(HOST_EXPORTS) \
21766 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
21767 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
21768 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
21769 echo Configuring stage 1 in $(HOST_SUBDIR)/libdecnumber ; \
21770 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21771 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21772 case $(srcdir) in \
21773 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21774 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21775 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21776 esac; \
21777 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
21778 libsrcdir="$$s/libdecnumber"; \
21779 $(SHELL) $${libsrcdir}/configure \
21780 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21781 --target=${target_alias} $${srcdiroption} \
21782 $(STAGE1_CONFIGURE_FLAGS)
21783 @endif libdecnumber-bootstrap
21785 .PHONY: configure-stage2-libdecnumber maybe-configure-stage2-libdecnumber
21786 maybe-configure-stage2-libdecnumber:
21787 @if libdecnumber-bootstrap
21788 maybe-configure-stage2-libdecnumber: configure-stage2-libdecnumber
21789 configure-stage2-libdecnumber:
21790 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
21791 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21792 @r=`${PWD_COMMAND}`; export r; \
21793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21794 TFLAGS="$(STAGE2_TFLAGS)"; \
21795 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21796 $(HOST_EXPORTS) \
21797 $(POSTSTAGE1_HOST_EXPORTS) \
21798 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
21799 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
21800 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
21801 echo Configuring stage 2 in $(HOST_SUBDIR)/libdecnumber ; \
21802 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21803 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21804 case $(srcdir) in \
21805 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21806 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21807 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21808 esac; \
21809 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
21810 libsrcdir="$$s/libdecnumber"; \
21811 $(SHELL) $${libsrcdir}/configure \
21812 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21813 --target=${target_alias} $${srcdiroption} \
21814 --with-build-libsubdir=$(HOST_SUBDIR) \
21815 $(STAGE2_CONFIGURE_FLAGS)
21816 @endif libdecnumber-bootstrap
21818 .PHONY: configure-stage3-libdecnumber maybe-configure-stage3-libdecnumber
21819 maybe-configure-stage3-libdecnumber:
21820 @if libdecnumber-bootstrap
21821 maybe-configure-stage3-libdecnumber: configure-stage3-libdecnumber
21822 configure-stage3-libdecnumber:
21823 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
21824 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21825 @r=`${PWD_COMMAND}`; export r; \
21826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21827 TFLAGS="$(STAGE3_TFLAGS)"; \
21828 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21829 $(HOST_EXPORTS) \
21830 $(POSTSTAGE1_HOST_EXPORTS) \
21831 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
21832 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
21833 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
21834 echo Configuring stage 3 in $(HOST_SUBDIR)/libdecnumber ; \
21835 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21836 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21837 case $(srcdir) in \
21838 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21839 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21840 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21841 esac; \
21842 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
21843 libsrcdir="$$s/libdecnumber"; \
21844 $(SHELL) $${libsrcdir}/configure \
21845 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21846 --target=${target_alias} $${srcdiroption} \
21847 --with-build-libsubdir=$(HOST_SUBDIR) \
21848 $(STAGE3_CONFIGURE_FLAGS)
21849 @endif libdecnumber-bootstrap
21851 .PHONY: configure-stage4-libdecnumber maybe-configure-stage4-libdecnumber
21852 maybe-configure-stage4-libdecnumber:
21853 @if libdecnumber-bootstrap
21854 maybe-configure-stage4-libdecnumber: configure-stage4-libdecnumber
21855 configure-stage4-libdecnumber:
21856 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
21857 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21858 @r=`${PWD_COMMAND}`; export r; \
21859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21860 TFLAGS="$(STAGE4_TFLAGS)"; \
21861 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21862 $(HOST_EXPORTS) \
21863 $(POSTSTAGE1_HOST_EXPORTS) \
21864 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
21865 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
21866 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
21867 echo Configuring stage 4 in $(HOST_SUBDIR)/libdecnumber ; \
21868 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21869 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21870 case $(srcdir) in \
21871 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21872 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21873 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21874 esac; \
21875 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
21876 libsrcdir="$$s/libdecnumber"; \
21877 $(SHELL) $${libsrcdir}/configure \
21878 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21879 --target=${target_alias} $${srcdiroption} \
21880 --with-build-libsubdir=$(HOST_SUBDIR) \
21881 $(STAGE4_CONFIGURE_FLAGS)
21882 @endif libdecnumber-bootstrap
21884 .PHONY: configure-stageprofile-libdecnumber maybe-configure-stageprofile-libdecnumber
21885 maybe-configure-stageprofile-libdecnumber:
21886 @if libdecnumber-bootstrap
21887 maybe-configure-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
21888 configure-stageprofile-libdecnumber:
21889 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
21890 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21891 @r=`${PWD_COMMAND}`; export r; \
21892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21893 TFLAGS="$(STAGEprofile_TFLAGS)"; \
21894 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21895 $(HOST_EXPORTS) \
21896 $(POSTSTAGE1_HOST_EXPORTS) \
21897 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
21898 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
21899 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
21900 echo Configuring stage profile in $(HOST_SUBDIR)/libdecnumber ; \
21901 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21902 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21903 case $(srcdir) in \
21904 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21905 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21906 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21907 esac; \
21908 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
21909 libsrcdir="$$s/libdecnumber"; \
21910 $(SHELL) $${libsrcdir}/configure \
21911 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21912 --target=${target_alias} $${srcdiroption} \
21913 --with-build-libsubdir=$(HOST_SUBDIR) \
21914 $(STAGEprofile_CONFIGURE_FLAGS)
21915 @endif libdecnumber-bootstrap
21917 .PHONY: configure-stagefeedback-libdecnumber maybe-configure-stagefeedback-libdecnumber
21918 maybe-configure-stagefeedback-libdecnumber:
21919 @if libdecnumber-bootstrap
21920 maybe-configure-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
21921 configure-stagefeedback-libdecnumber:
21922 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
21923 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21924 @r=`${PWD_COMMAND}`; export r; \
21925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21926 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
21927 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21928 $(HOST_EXPORTS) \
21929 $(POSTSTAGE1_HOST_EXPORTS) \
21930 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
21931 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
21932 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
21933 echo Configuring stage feedback in $(HOST_SUBDIR)/libdecnumber ; \
21934 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21935 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21936 case $(srcdir) in \
21937 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21938 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21939 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21940 esac; \
21941 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
21942 libsrcdir="$$s/libdecnumber"; \
21943 $(SHELL) $${libsrcdir}/configure \
21944 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21945 --target=${target_alias} $${srcdiroption} \
21946 --with-build-libsubdir=$(HOST_SUBDIR) \
21947 $(STAGEfeedback_CONFIGURE_FLAGS)
21948 @endif libdecnumber-bootstrap
21954 .PHONY: all-libdecnumber maybe-all-libdecnumber
21955 maybe-all-libdecnumber:
21956 @if gcc-bootstrap
21957 all-libdecnumber: stage_current
21958 @endif gcc-bootstrap
21959 @if libdecnumber
21960 TARGET-libdecnumber=all
21961 maybe-all-libdecnumber: all-libdecnumber
21962 all-libdecnumber: configure-libdecnumber
21963 @r=`${PWD_COMMAND}`; export r; \
21964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21965 $(HOST_EXPORTS) \
21966 (cd $(HOST_SUBDIR)/libdecnumber && \
21967 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
21968 $(TARGET-libdecnumber))
21969 @endif libdecnumber
21973 .PHONY: all-stage1-libdecnumber maybe-all-stage1-libdecnumber
21974 .PHONY: clean-stage1-libdecnumber maybe-clean-stage1-libdecnumber
21975 maybe-all-stage1-libdecnumber:
21976 maybe-clean-stage1-libdecnumber:
21977 @if libdecnumber-bootstrap
21978 maybe-all-stage1-libdecnumber: all-stage1-libdecnumber
21979 all-stage1: all-stage1-libdecnumber
21980 TARGET-stage1-libdecnumber = $(TARGET-libdecnumber)
21981 all-stage1-libdecnumber: configure-stage1-libdecnumber
21982 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
21983 @r=`${PWD_COMMAND}`; export r; \
21984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21985 TFLAGS="$(STAGE1_TFLAGS)"; \
21986 $(HOST_EXPORTS) \
21987 cd $(HOST_SUBDIR)/libdecnumber && \
21988 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21989 CFLAGS="$(STAGE1_CFLAGS)" \
21990 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
21991 LIBCFLAGS="$(LIBCFLAGS)" \
21992 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21993 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21994 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21995 $(EXTRA_HOST_FLAGS) \
21996 $(STAGE1_FLAGS_TO_PASS) \
21997 TFLAGS="$(STAGE1_TFLAGS)" \
21998 $(TARGET-stage1-libdecnumber)
22000 maybe-clean-stage1-libdecnumber: clean-stage1-libdecnumber
22001 clean-stage1: clean-stage1-libdecnumber
22002 clean-stage1-libdecnumber:
22003 @if [ $(current_stage) = stage1 ]; then \
22004 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
22005 else \
22006 [ -f $(HOST_SUBDIR)/stage1-libdecnumber/Makefile ] || exit 0; \
22007 $(MAKE) stage1-start; \
22008 fi; \
22009 cd $(HOST_SUBDIR)/libdecnumber && \
22010 $(MAKE) $(EXTRA_HOST_FLAGS) \
22011 $(STAGE1_FLAGS_TO_PASS) clean
22012 @endif libdecnumber-bootstrap
22015 .PHONY: all-stage2-libdecnumber maybe-all-stage2-libdecnumber
22016 .PHONY: clean-stage2-libdecnumber maybe-clean-stage2-libdecnumber
22017 maybe-all-stage2-libdecnumber:
22018 maybe-clean-stage2-libdecnumber:
22019 @if libdecnumber-bootstrap
22020 maybe-all-stage2-libdecnumber: all-stage2-libdecnumber
22021 all-stage2: all-stage2-libdecnumber
22022 TARGET-stage2-libdecnumber = $(TARGET-libdecnumber)
22023 all-stage2-libdecnumber: configure-stage2-libdecnumber
22024 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
22025 @r=`${PWD_COMMAND}`; export r; \
22026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22027 TFLAGS="$(STAGE2_TFLAGS)"; \
22028 $(HOST_EXPORTS) \
22029 $(POSTSTAGE1_HOST_EXPORTS) \
22030 cd $(HOST_SUBDIR)/libdecnumber && \
22031 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22032 CFLAGS="$(STAGE2_CFLAGS)" \
22033 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
22034 LIBCFLAGS="$(STAGE2_CFLAGS)" \
22035 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22036 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22037 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22038 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22039 TFLAGS="$(STAGE2_TFLAGS)" \
22040 $(TARGET-stage2-libdecnumber)
22042 maybe-clean-stage2-libdecnumber: clean-stage2-libdecnumber
22043 clean-stage2: clean-stage2-libdecnumber
22044 clean-stage2-libdecnumber:
22045 @if [ $(current_stage) = stage2 ]; then \
22046 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
22047 else \
22048 [ -f $(HOST_SUBDIR)/stage2-libdecnumber/Makefile ] || exit 0; \
22049 $(MAKE) stage2-start; \
22050 fi; \
22051 cd $(HOST_SUBDIR)/libdecnumber && \
22052 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22053 @endif libdecnumber-bootstrap
22056 .PHONY: all-stage3-libdecnumber maybe-all-stage3-libdecnumber
22057 .PHONY: clean-stage3-libdecnumber maybe-clean-stage3-libdecnumber
22058 maybe-all-stage3-libdecnumber:
22059 maybe-clean-stage3-libdecnumber:
22060 @if libdecnumber-bootstrap
22061 maybe-all-stage3-libdecnumber: all-stage3-libdecnumber
22062 all-stage3: all-stage3-libdecnumber
22063 TARGET-stage3-libdecnumber = $(TARGET-libdecnumber)
22064 all-stage3-libdecnumber: configure-stage3-libdecnumber
22065 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
22066 @r=`${PWD_COMMAND}`; export r; \
22067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22068 TFLAGS="$(STAGE3_TFLAGS)"; \
22069 $(HOST_EXPORTS) \
22070 $(POSTSTAGE1_HOST_EXPORTS) \
22071 cd $(HOST_SUBDIR)/libdecnumber && \
22072 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22073 CFLAGS="$(STAGE3_CFLAGS)" \
22074 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
22075 LIBCFLAGS="$(STAGE3_CFLAGS)" \
22076 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22077 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22078 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22079 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22080 TFLAGS="$(STAGE3_TFLAGS)" \
22081 $(TARGET-stage3-libdecnumber)
22083 maybe-clean-stage3-libdecnumber: clean-stage3-libdecnumber
22084 clean-stage3: clean-stage3-libdecnumber
22085 clean-stage3-libdecnumber:
22086 @if [ $(current_stage) = stage3 ]; then \
22087 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
22088 else \
22089 [ -f $(HOST_SUBDIR)/stage3-libdecnumber/Makefile ] || exit 0; \
22090 $(MAKE) stage3-start; \
22091 fi; \
22092 cd $(HOST_SUBDIR)/libdecnumber && \
22093 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22094 @endif libdecnumber-bootstrap
22097 .PHONY: all-stage4-libdecnumber maybe-all-stage4-libdecnumber
22098 .PHONY: clean-stage4-libdecnumber maybe-clean-stage4-libdecnumber
22099 maybe-all-stage4-libdecnumber:
22100 maybe-clean-stage4-libdecnumber:
22101 @if libdecnumber-bootstrap
22102 maybe-all-stage4-libdecnumber: all-stage4-libdecnumber
22103 all-stage4: all-stage4-libdecnumber
22104 TARGET-stage4-libdecnumber = $(TARGET-libdecnumber)
22105 all-stage4-libdecnumber: configure-stage4-libdecnumber
22106 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
22107 @r=`${PWD_COMMAND}`; export r; \
22108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22109 TFLAGS="$(STAGE4_TFLAGS)"; \
22110 $(HOST_EXPORTS) \
22111 $(POSTSTAGE1_HOST_EXPORTS) \
22112 cd $(HOST_SUBDIR)/libdecnumber && \
22113 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22114 CFLAGS="$(STAGE4_CFLAGS)" \
22115 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
22116 LIBCFLAGS="$(STAGE4_CFLAGS)" \
22117 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22118 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22119 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22120 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22121 TFLAGS="$(STAGE4_TFLAGS)" \
22122 $(TARGET-stage4-libdecnumber)
22124 maybe-clean-stage4-libdecnumber: clean-stage4-libdecnumber
22125 clean-stage4: clean-stage4-libdecnumber
22126 clean-stage4-libdecnumber:
22127 @if [ $(current_stage) = stage4 ]; then \
22128 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
22129 else \
22130 [ -f $(HOST_SUBDIR)/stage4-libdecnumber/Makefile ] || exit 0; \
22131 $(MAKE) stage4-start; \
22132 fi; \
22133 cd $(HOST_SUBDIR)/libdecnumber && \
22134 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22135 @endif libdecnumber-bootstrap
22138 .PHONY: all-stageprofile-libdecnumber maybe-all-stageprofile-libdecnumber
22139 .PHONY: clean-stageprofile-libdecnumber maybe-clean-stageprofile-libdecnumber
22140 maybe-all-stageprofile-libdecnumber:
22141 maybe-clean-stageprofile-libdecnumber:
22142 @if libdecnumber-bootstrap
22143 maybe-all-stageprofile-libdecnumber: all-stageprofile-libdecnumber
22144 all-stageprofile: all-stageprofile-libdecnumber
22145 TARGET-stageprofile-libdecnumber = $(TARGET-libdecnumber)
22146 all-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
22147 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
22148 @r=`${PWD_COMMAND}`; export r; \
22149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22150 TFLAGS="$(STAGEprofile_TFLAGS)"; \
22151 $(HOST_EXPORTS) \
22152 $(POSTSTAGE1_HOST_EXPORTS) \
22153 cd $(HOST_SUBDIR)/libdecnumber && \
22154 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22155 CFLAGS="$(STAGEprofile_CFLAGS)" \
22156 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
22157 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
22158 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22159 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22160 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22161 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22162 TFLAGS="$(STAGEprofile_TFLAGS)" \
22163 $(TARGET-stageprofile-libdecnumber)
22165 maybe-clean-stageprofile-libdecnumber: clean-stageprofile-libdecnumber
22166 clean-stageprofile: clean-stageprofile-libdecnumber
22167 clean-stageprofile-libdecnumber:
22168 @if [ $(current_stage) = stageprofile ]; then \
22169 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
22170 else \
22171 [ -f $(HOST_SUBDIR)/stageprofile-libdecnumber/Makefile ] || exit 0; \
22172 $(MAKE) stageprofile-start; \
22173 fi; \
22174 cd $(HOST_SUBDIR)/libdecnumber && \
22175 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22176 @endif libdecnumber-bootstrap
22179 .PHONY: all-stagefeedback-libdecnumber maybe-all-stagefeedback-libdecnumber
22180 .PHONY: clean-stagefeedback-libdecnumber maybe-clean-stagefeedback-libdecnumber
22181 maybe-all-stagefeedback-libdecnumber:
22182 maybe-clean-stagefeedback-libdecnumber:
22183 @if libdecnumber-bootstrap
22184 maybe-all-stagefeedback-libdecnumber: all-stagefeedback-libdecnumber
22185 all-stagefeedback: all-stagefeedback-libdecnumber
22186 TARGET-stagefeedback-libdecnumber = $(TARGET-libdecnumber)
22187 all-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
22188 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
22189 @r=`${PWD_COMMAND}`; export r; \
22190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22191 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
22192 $(HOST_EXPORTS) \
22193 $(POSTSTAGE1_HOST_EXPORTS) \
22194 cd $(HOST_SUBDIR)/libdecnumber && \
22195 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22196 CFLAGS="$(STAGEfeedback_CFLAGS)" \
22197 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
22198 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
22199 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22200 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22201 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22202 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22203 TFLAGS="$(STAGEfeedback_TFLAGS)" \
22204 $(TARGET-stagefeedback-libdecnumber)
22206 maybe-clean-stagefeedback-libdecnumber: clean-stagefeedback-libdecnumber
22207 clean-stagefeedback: clean-stagefeedback-libdecnumber
22208 clean-stagefeedback-libdecnumber:
22209 @if [ $(current_stage) = stagefeedback ]; then \
22210 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
22211 else \
22212 [ -f $(HOST_SUBDIR)/stagefeedback-libdecnumber/Makefile ] || exit 0; \
22213 $(MAKE) stagefeedback-start; \
22214 fi; \
22215 cd $(HOST_SUBDIR)/libdecnumber && \
22216 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22217 @endif libdecnumber-bootstrap
22223 .PHONY: check-libdecnumber maybe-check-libdecnumber
22224 maybe-check-libdecnumber:
22225 @if libdecnumber
22226 maybe-check-libdecnumber: check-libdecnumber
22228 check-libdecnumber:
22229 @: $(MAKE); $(unstage)
22230 @r=`${PWD_COMMAND}`; export r; \
22231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22232 $(HOST_EXPORTS) \
22233 (cd $(HOST_SUBDIR)/libdecnumber && \
22234 $(MAKE) $(FLAGS_TO_PASS) check)
22236 @endif libdecnumber
22238 .PHONY: install-libdecnumber maybe-install-libdecnumber
22239 maybe-install-libdecnumber:
22240 @if libdecnumber
22241 maybe-install-libdecnumber: install-libdecnumber
22243 install-libdecnumber: installdirs
22244 @: $(MAKE); $(unstage)
22245 @r=`${PWD_COMMAND}`; export r; \
22246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22247 $(HOST_EXPORTS) \
22248 (cd $(HOST_SUBDIR)/libdecnumber && \
22249 $(MAKE) $(FLAGS_TO_PASS) install)
22251 @endif libdecnumber
22253 .PHONY: install-strip-libdecnumber maybe-install-strip-libdecnumber
22254 maybe-install-strip-libdecnumber:
22255 @if libdecnumber
22256 maybe-install-strip-libdecnumber: install-strip-libdecnumber
22258 install-strip-libdecnumber: installdirs
22259 @: $(MAKE); $(unstage)
22260 @r=`${PWD_COMMAND}`; export r; \
22261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22262 $(HOST_EXPORTS) \
22263 (cd $(HOST_SUBDIR)/libdecnumber && \
22264 $(MAKE) $(FLAGS_TO_PASS) install-strip)
22266 @endif libdecnumber
22268 # Other targets (info, dvi, pdf, etc.)
22270 .PHONY: maybe-info-libdecnumber info-libdecnumber
22271 maybe-info-libdecnumber:
22272 @if libdecnumber
22273 maybe-info-libdecnumber: info-libdecnumber
22275 info-libdecnumber: \
22276 configure-libdecnumber
22277 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22278 r=`${PWD_COMMAND}`; export r; \
22279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22280 $(HOST_EXPORTS) \
22281 for flag in $(EXTRA_HOST_FLAGS) ; do \
22282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22283 done; \
22284 echo "Doing info in libdecnumber" ; \
22285 (cd $(HOST_SUBDIR)/libdecnumber && \
22286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22288 "RANLIB=$${RANLIB}" \
22289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22290 info) \
22291 || exit 1
22293 @endif libdecnumber
22295 .PHONY: maybe-dvi-libdecnumber dvi-libdecnumber
22296 maybe-dvi-libdecnumber:
22297 @if libdecnumber
22298 maybe-dvi-libdecnumber: dvi-libdecnumber
22300 dvi-libdecnumber: \
22301 configure-libdecnumber
22302 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22303 r=`${PWD_COMMAND}`; export r; \
22304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22305 $(HOST_EXPORTS) \
22306 for flag in $(EXTRA_HOST_FLAGS) ; do \
22307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22308 done; \
22309 echo "Doing dvi in libdecnumber" ; \
22310 (cd $(HOST_SUBDIR)/libdecnumber && \
22311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22313 "RANLIB=$${RANLIB}" \
22314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22315 dvi) \
22316 || exit 1
22318 @endif libdecnumber
22320 .PHONY: maybe-pdf-libdecnumber pdf-libdecnumber
22321 maybe-pdf-libdecnumber:
22322 @if libdecnumber
22323 maybe-pdf-libdecnumber: pdf-libdecnumber
22325 pdf-libdecnumber: \
22326 configure-libdecnumber
22327 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22328 r=`${PWD_COMMAND}`; export r; \
22329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22330 $(HOST_EXPORTS) \
22331 for flag in $(EXTRA_HOST_FLAGS) ; do \
22332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22333 done; \
22334 echo "Doing pdf in libdecnumber" ; \
22335 (cd $(HOST_SUBDIR)/libdecnumber && \
22336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22338 "RANLIB=$${RANLIB}" \
22339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22340 pdf) \
22341 || exit 1
22343 @endif libdecnumber
22345 .PHONY: maybe-html-libdecnumber html-libdecnumber
22346 maybe-html-libdecnumber:
22347 @if libdecnumber
22348 maybe-html-libdecnumber: html-libdecnumber
22350 html-libdecnumber: \
22351 configure-libdecnumber
22352 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22353 r=`${PWD_COMMAND}`; export r; \
22354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22355 $(HOST_EXPORTS) \
22356 for flag in $(EXTRA_HOST_FLAGS) ; do \
22357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22358 done; \
22359 echo "Doing html in libdecnumber" ; \
22360 (cd $(HOST_SUBDIR)/libdecnumber && \
22361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22363 "RANLIB=$${RANLIB}" \
22364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22365 html) \
22366 || exit 1
22368 @endif libdecnumber
22370 .PHONY: maybe-TAGS-libdecnumber TAGS-libdecnumber
22371 maybe-TAGS-libdecnumber:
22372 @if libdecnumber
22373 maybe-TAGS-libdecnumber: TAGS-libdecnumber
22375 TAGS-libdecnumber: \
22376 configure-libdecnumber
22377 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22378 r=`${PWD_COMMAND}`; export r; \
22379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22380 $(HOST_EXPORTS) \
22381 for flag in $(EXTRA_HOST_FLAGS) ; do \
22382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22383 done; \
22384 echo "Doing TAGS in libdecnumber" ; \
22385 (cd $(HOST_SUBDIR)/libdecnumber && \
22386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22388 "RANLIB=$${RANLIB}" \
22389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22390 TAGS) \
22391 || exit 1
22393 @endif libdecnumber
22395 .PHONY: maybe-install-info-libdecnumber install-info-libdecnumber
22396 maybe-install-info-libdecnumber:
22397 @if libdecnumber
22398 maybe-install-info-libdecnumber: install-info-libdecnumber
22400 install-info-libdecnumber: \
22401 configure-libdecnumber \
22402 info-libdecnumber
22403 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22404 r=`${PWD_COMMAND}`; export r; \
22405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22406 $(HOST_EXPORTS) \
22407 for flag in $(EXTRA_HOST_FLAGS) ; do \
22408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22409 done; \
22410 echo "Doing install-info in libdecnumber" ; \
22411 (cd $(HOST_SUBDIR)/libdecnumber && \
22412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22414 "RANLIB=$${RANLIB}" \
22415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22416 install-info) \
22417 || exit 1
22419 @endif libdecnumber
22421 .PHONY: maybe-install-pdf-libdecnumber install-pdf-libdecnumber
22422 maybe-install-pdf-libdecnumber:
22423 @if libdecnumber
22424 maybe-install-pdf-libdecnumber: install-pdf-libdecnumber
22426 install-pdf-libdecnumber: \
22427 configure-libdecnumber \
22428 pdf-libdecnumber
22429 @[ -f ./libdecnumber/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-pdf in libdecnumber" ; \
22437 (cd $(HOST_SUBDIR)/libdecnumber && \
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-pdf) \
22443 || exit 1
22445 @endif libdecnumber
22447 .PHONY: maybe-install-html-libdecnumber install-html-libdecnumber
22448 maybe-install-html-libdecnumber:
22449 @if libdecnumber
22450 maybe-install-html-libdecnumber: install-html-libdecnumber
22452 install-html-libdecnumber: \
22453 configure-libdecnumber \
22454 html-libdecnumber
22455 @[ -f ./libdecnumber/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 install-html in libdecnumber" ; \
22463 (cd $(HOST_SUBDIR)/libdecnumber && \
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 install-html) \
22469 || exit 1
22471 @endif libdecnumber
22473 .PHONY: maybe-installcheck-libdecnumber installcheck-libdecnumber
22474 maybe-installcheck-libdecnumber:
22475 @if libdecnumber
22476 maybe-installcheck-libdecnumber: installcheck-libdecnumber
22478 installcheck-libdecnumber: \
22479 configure-libdecnumber
22480 @[ -f ./libdecnumber/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 installcheck in libdecnumber" ; \
22488 (cd $(HOST_SUBDIR)/libdecnumber && \
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 installcheck) \
22494 || exit 1
22496 @endif libdecnumber
22498 .PHONY: maybe-mostlyclean-libdecnumber mostlyclean-libdecnumber
22499 maybe-mostlyclean-libdecnumber:
22500 @if libdecnumber
22501 maybe-mostlyclean-libdecnumber: mostlyclean-libdecnumber
22503 mostlyclean-libdecnumber:
22504 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22505 r=`${PWD_COMMAND}`; export r; \
22506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22507 $(HOST_EXPORTS) \
22508 for flag in $(EXTRA_HOST_FLAGS) ; do \
22509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22510 done; \
22511 echo "Doing mostlyclean in libdecnumber" ; \
22512 (cd $(HOST_SUBDIR)/libdecnumber && \
22513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22515 "RANLIB=$${RANLIB}" \
22516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22517 mostlyclean) \
22518 || exit 1
22520 @endif libdecnumber
22522 .PHONY: maybe-clean-libdecnumber clean-libdecnumber
22523 maybe-clean-libdecnumber:
22524 @if libdecnumber
22525 maybe-clean-libdecnumber: clean-libdecnumber
22527 clean-libdecnumber:
22528 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22529 r=`${PWD_COMMAND}`; export r; \
22530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22531 $(HOST_EXPORTS) \
22532 for flag in $(EXTRA_HOST_FLAGS) ; do \
22533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22534 done; \
22535 echo "Doing clean in libdecnumber" ; \
22536 (cd $(HOST_SUBDIR)/libdecnumber && \
22537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22539 "RANLIB=$${RANLIB}" \
22540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22541 clean) \
22542 || exit 1
22544 @endif libdecnumber
22546 .PHONY: maybe-distclean-libdecnumber distclean-libdecnumber
22547 maybe-distclean-libdecnumber:
22548 @if libdecnumber
22549 maybe-distclean-libdecnumber: distclean-libdecnumber
22551 distclean-libdecnumber:
22552 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22553 r=`${PWD_COMMAND}`; export r; \
22554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22555 $(HOST_EXPORTS) \
22556 for flag in $(EXTRA_HOST_FLAGS) ; do \
22557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22558 done; \
22559 echo "Doing distclean in libdecnumber" ; \
22560 (cd $(HOST_SUBDIR)/libdecnumber && \
22561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22563 "RANLIB=$${RANLIB}" \
22564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22565 distclean) \
22566 || exit 1
22568 @endif libdecnumber
22570 .PHONY: maybe-maintainer-clean-libdecnumber maintainer-clean-libdecnumber
22571 maybe-maintainer-clean-libdecnumber:
22572 @if libdecnumber
22573 maybe-maintainer-clean-libdecnumber: maintainer-clean-libdecnumber
22575 maintainer-clean-libdecnumber:
22576 @[ -f ./libdecnumber/Makefile ] || exit 0; \
22577 r=`${PWD_COMMAND}`; export r; \
22578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22579 $(HOST_EXPORTS) \
22580 for flag in $(EXTRA_HOST_FLAGS) ; do \
22581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22582 done; \
22583 echo "Doing maintainer-clean in libdecnumber" ; \
22584 (cd $(HOST_SUBDIR)/libdecnumber && \
22585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22587 "RANLIB=$${RANLIB}" \
22588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22589 maintainer-clean) \
22590 || exit 1
22592 @endif libdecnumber
22596 .PHONY: configure-libgui maybe-configure-libgui
22597 maybe-configure-libgui:
22598 @if gcc-bootstrap
22599 configure-libgui: stage_current
22600 @endif gcc-bootstrap
22601 @if libgui
22602 maybe-configure-libgui: configure-libgui
22603 configure-libgui:
22604 @: $(MAKE); $(unstage)
22605 @r=`${PWD_COMMAND}`; export r; \
22606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22607 test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
22608 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui ; \
22609 $(HOST_EXPORTS) \
22610 echo Configuring in $(HOST_SUBDIR)/libgui; \
22611 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
22612 case $(srcdir) in \
22613 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22614 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
22615 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22616 esac; \
22617 srcdiroption="--srcdir=$${topdir}/libgui"; \
22618 libsrcdir="$$s/libgui"; \
22619 $(SHELL) $${libsrcdir}/configure \
22620 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22621 --target=${target_alias} $${srcdiroption} \
22622 || exit 1
22623 @endif libgui
22629 .PHONY: all-libgui maybe-all-libgui
22630 maybe-all-libgui:
22631 @if gcc-bootstrap
22632 all-libgui: stage_current
22633 @endif gcc-bootstrap
22634 @if libgui
22635 TARGET-libgui=all
22636 maybe-all-libgui: all-libgui
22637 all-libgui: configure-libgui
22638 @: $(MAKE); $(unstage)
22639 @r=`${PWD_COMMAND}`; export r; \
22640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22641 $(HOST_EXPORTS) \
22642 (cd $(HOST_SUBDIR)/libgui && \
22643 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
22644 $(TARGET-libgui))
22645 @endif libgui
22650 .PHONY: check-libgui maybe-check-libgui
22651 maybe-check-libgui:
22652 @if libgui
22653 maybe-check-libgui: check-libgui
22655 check-libgui:
22656 @: $(MAKE); $(unstage)
22657 @r=`${PWD_COMMAND}`; export r; \
22658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22659 $(HOST_EXPORTS) \
22660 (cd $(HOST_SUBDIR)/libgui && \
22661 $(MAKE) $(FLAGS_TO_PASS) check)
22663 @endif libgui
22665 .PHONY: install-libgui maybe-install-libgui
22666 maybe-install-libgui:
22667 @if libgui
22668 maybe-install-libgui: install-libgui
22670 install-libgui: installdirs
22671 @: $(MAKE); $(unstage)
22672 @r=`${PWD_COMMAND}`; export r; \
22673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22674 $(HOST_EXPORTS) \
22675 (cd $(HOST_SUBDIR)/libgui && \
22676 $(MAKE) $(FLAGS_TO_PASS) install)
22678 @endif libgui
22680 .PHONY: install-strip-libgui maybe-install-strip-libgui
22681 maybe-install-strip-libgui:
22682 @if libgui
22683 maybe-install-strip-libgui: install-strip-libgui
22685 install-strip-libgui: installdirs
22686 @: $(MAKE); $(unstage)
22687 @r=`${PWD_COMMAND}`; export r; \
22688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22689 $(HOST_EXPORTS) \
22690 (cd $(HOST_SUBDIR)/libgui && \
22691 $(MAKE) $(FLAGS_TO_PASS) install-strip)
22693 @endif libgui
22695 # Other targets (info, dvi, pdf, etc.)
22697 .PHONY: maybe-info-libgui info-libgui
22698 maybe-info-libgui:
22699 @if libgui
22700 maybe-info-libgui: info-libgui
22702 info-libgui: \
22703 configure-libgui
22704 @: $(MAKE); $(unstage)
22705 @[ -f ./libgui/Makefile ] || exit 0; \
22706 r=`${PWD_COMMAND}`; export r; \
22707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22708 $(HOST_EXPORTS) \
22709 for flag in $(EXTRA_HOST_FLAGS) ; do \
22710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22711 done; \
22712 echo "Doing info in libgui" ; \
22713 (cd $(HOST_SUBDIR)/libgui && \
22714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22716 "RANLIB=$${RANLIB}" \
22717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22718 info) \
22719 || exit 1
22721 @endif libgui
22723 .PHONY: maybe-dvi-libgui dvi-libgui
22724 maybe-dvi-libgui:
22725 @if libgui
22726 maybe-dvi-libgui: dvi-libgui
22728 dvi-libgui: \
22729 configure-libgui
22730 @: $(MAKE); $(unstage)
22731 @[ -f ./libgui/Makefile ] || exit 0; \
22732 r=`${PWD_COMMAND}`; export r; \
22733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22734 $(HOST_EXPORTS) \
22735 for flag in $(EXTRA_HOST_FLAGS) ; do \
22736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22737 done; \
22738 echo "Doing dvi in libgui" ; \
22739 (cd $(HOST_SUBDIR)/libgui && \
22740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22742 "RANLIB=$${RANLIB}" \
22743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22744 dvi) \
22745 || exit 1
22747 @endif libgui
22749 .PHONY: maybe-pdf-libgui pdf-libgui
22750 maybe-pdf-libgui:
22751 @if libgui
22752 maybe-pdf-libgui: pdf-libgui
22754 pdf-libgui: \
22755 configure-libgui
22756 @: $(MAKE); $(unstage)
22757 @[ -f ./libgui/Makefile ] || exit 0; \
22758 r=`${PWD_COMMAND}`; export r; \
22759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22760 $(HOST_EXPORTS) \
22761 for flag in $(EXTRA_HOST_FLAGS) ; do \
22762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22763 done; \
22764 echo "Doing pdf in libgui" ; \
22765 (cd $(HOST_SUBDIR)/libgui && \
22766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22768 "RANLIB=$${RANLIB}" \
22769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22770 pdf) \
22771 || exit 1
22773 @endif libgui
22775 .PHONY: maybe-html-libgui html-libgui
22776 maybe-html-libgui:
22777 @if libgui
22778 maybe-html-libgui: html-libgui
22780 html-libgui: \
22781 configure-libgui
22782 @: $(MAKE); $(unstage)
22783 @[ -f ./libgui/Makefile ] || exit 0; \
22784 r=`${PWD_COMMAND}`; export r; \
22785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22786 $(HOST_EXPORTS) \
22787 for flag in $(EXTRA_HOST_FLAGS) ; do \
22788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22789 done; \
22790 echo "Doing html in libgui" ; \
22791 (cd $(HOST_SUBDIR)/libgui && \
22792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22794 "RANLIB=$${RANLIB}" \
22795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22796 html) \
22797 || exit 1
22799 @endif libgui
22801 .PHONY: maybe-TAGS-libgui TAGS-libgui
22802 maybe-TAGS-libgui:
22803 @if libgui
22804 maybe-TAGS-libgui: TAGS-libgui
22806 TAGS-libgui: \
22807 configure-libgui
22808 @: $(MAKE); $(unstage)
22809 @[ -f ./libgui/Makefile ] || exit 0; \
22810 r=`${PWD_COMMAND}`; export r; \
22811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22812 $(HOST_EXPORTS) \
22813 for flag in $(EXTRA_HOST_FLAGS) ; do \
22814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22815 done; \
22816 echo "Doing TAGS in libgui" ; \
22817 (cd $(HOST_SUBDIR)/libgui && \
22818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22820 "RANLIB=$${RANLIB}" \
22821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22822 TAGS) \
22823 || exit 1
22825 @endif libgui
22827 .PHONY: maybe-install-info-libgui install-info-libgui
22828 maybe-install-info-libgui:
22829 @if libgui
22830 maybe-install-info-libgui: install-info-libgui
22832 install-info-libgui: \
22833 configure-libgui \
22834 info-libgui
22835 @: $(MAKE); $(unstage)
22836 @[ -f ./libgui/Makefile ] || exit 0; \
22837 r=`${PWD_COMMAND}`; export r; \
22838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22839 $(HOST_EXPORTS) \
22840 for flag in $(EXTRA_HOST_FLAGS) ; do \
22841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22842 done; \
22843 echo "Doing install-info in libgui" ; \
22844 (cd $(HOST_SUBDIR)/libgui && \
22845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22847 "RANLIB=$${RANLIB}" \
22848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22849 install-info) \
22850 || exit 1
22852 @endif libgui
22854 .PHONY: maybe-install-pdf-libgui install-pdf-libgui
22855 maybe-install-pdf-libgui:
22856 @if libgui
22857 maybe-install-pdf-libgui: install-pdf-libgui
22859 install-pdf-libgui: \
22860 configure-libgui \
22861 pdf-libgui
22862 @: $(MAKE); $(unstage)
22863 @[ -f ./libgui/Makefile ] || exit 0; \
22864 r=`${PWD_COMMAND}`; export r; \
22865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22866 $(HOST_EXPORTS) \
22867 for flag in $(EXTRA_HOST_FLAGS) ; do \
22868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22869 done; \
22870 echo "Doing install-pdf in libgui" ; \
22871 (cd $(HOST_SUBDIR)/libgui && \
22872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22874 "RANLIB=$${RANLIB}" \
22875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22876 install-pdf) \
22877 || exit 1
22879 @endif libgui
22881 .PHONY: maybe-install-html-libgui install-html-libgui
22882 maybe-install-html-libgui:
22883 @if libgui
22884 maybe-install-html-libgui: install-html-libgui
22886 install-html-libgui: \
22887 configure-libgui \
22888 html-libgui
22889 @: $(MAKE); $(unstage)
22890 @[ -f ./libgui/Makefile ] || exit 0; \
22891 r=`${PWD_COMMAND}`; export r; \
22892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22893 $(HOST_EXPORTS) \
22894 for flag in $(EXTRA_HOST_FLAGS) ; do \
22895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22896 done; \
22897 echo "Doing install-html in libgui" ; \
22898 (cd $(HOST_SUBDIR)/libgui && \
22899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22901 "RANLIB=$${RANLIB}" \
22902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22903 install-html) \
22904 || exit 1
22906 @endif libgui
22908 .PHONY: maybe-installcheck-libgui installcheck-libgui
22909 maybe-installcheck-libgui:
22910 @if libgui
22911 maybe-installcheck-libgui: installcheck-libgui
22913 installcheck-libgui: \
22914 configure-libgui
22915 @: $(MAKE); $(unstage)
22916 @[ -f ./libgui/Makefile ] || exit 0; \
22917 r=`${PWD_COMMAND}`; export r; \
22918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22919 $(HOST_EXPORTS) \
22920 for flag in $(EXTRA_HOST_FLAGS) ; do \
22921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22922 done; \
22923 echo "Doing installcheck in libgui" ; \
22924 (cd $(HOST_SUBDIR)/libgui && \
22925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22927 "RANLIB=$${RANLIB}" \
22928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22929 installcheck) \
22930 || exit 1
22932 @endif libgui
22934 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
22935 maybe-mostlyclean-libgui:
22936 @if libgui
22937 maybe-mostlyclean-libgui: mostlyclean-libgui
22939 mostlyclean-libgui:
22940 @: $(MAKE); $(unstage)
22941 @[ -f ./libgui/Makefile ] || exit 0; \
22942 r=`${PWD_COMMAND}`; export r; \
22943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22944 $(HOST_EXPORTS) \
22945 for flag in $(EXTRA_HOST_FLAGS) ; do \
22946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22947 done; \
22948 echo "Doing mostlyclean in libgui" ; \
22949 (cd $(HOST_SUBDIR)/libgui && \
22950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22952 "RANLIB=$${RANLIB}" \
22953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22954 mostlyclean) \
22955 || exit 1
22957 @endif libgui
22959 .PHONY: maybe-clean-libgui clean-libgui
22960 maybe-clean-libgui:
22961 @if libgui
22962 maybe-clean-libgui: clean-libgui
22964 clean-libgui:
22965 @: $(MAKE); $(unstage)
22966 @[ -f ./libgui/Makefile ] || exit 0; \
22967 r=`${PWD_COMMAND}`; export r; \
22968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22969 $(HOST_EXPORTS) \
22970 for flag in $(EXTRA_HOST_FLAGS) ; do \
22971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22972 done; \
22973 echo "Doing clean in libgui" ; \
22974 (cd $(HOST_SUBDIR)/libgui && \
22975 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22977 "RANLIB=$${RANLIB}" \
22978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22979 clean) \
22980 || exit 1
22982 @endif libgui
22984 .PHONY: maybe-distclean-libgui distclean-libgui
22985 maybe-distclean-libgui:
22986 @if libgui
22987 maybe-distclean-libgui: distclean-libgui
22989 distclean-libgui:
22990 @: $(MAKE); $(unstage)
22991 @[ -f ./libgui/Makefile ] || exit 0; \
22992 r=`${PWD_COMMAND}`; export r; \
22993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22994 $(HOST_EXPORTS) \
22995 for flag in $(EXTRA_HOST_FLAGS) ; do \
22996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22997 done; \
22998 echo "Doing distclean in libgui" ; \
22999 (cd $(HOST_SUBDIR)/libgui && \
23000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23002 "RANLIB=$${RANLIB}" \
23003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23004 distclean) \
23005 || exit 1
23007 @endif libgui
23009 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
23010 maybe-maintainer-clean-libgui:
23011 @if libgui
23012 maybe-maintainer-clean-libgui: maintainer-clean-libgui
23014 maintainer-clean-libgui:
23015 @: $(MAKE); $(unstage)
23016 @[ -f ./libgui/Makefile ] || exit 0; \
23017 r=`${PWD_COMMAND}`; export r; \
23018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23019 $(HOST_EXPORTS) \
23020 for flag in $(EXTRA_HOST_FLAGS) ; do \
23021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23022 done; \
23023 echo "Doing maintainer-clean in libgui" ; \
23024 (cd $(HOST_SUBDIR)/libgui && \
23025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23027 "RANLIB=$${RANLIB}" \
23028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23029 maintainer-clean) \
23030 || exit 1
23032 @endif libgui
23036 .PHONY: configure-libiberty maybe-configure-libiberty
23037 maybe-configure-libiberty:
23038 @if gcc-bootstrap
23039 configure-libiberty: stage_current
23040 @endif gcc-bootstrap
23041 @if libiberty
23042 maybe-configure-libiberty: configure-libiberty
23043 configure-libiberty:
23044 @r=`${PWD_COMMAND}`; export r; \
23045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23046 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
23047 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
23048 $(HOST_EXPORTS) \
23049 echo Configuring in $(HOST_SUBDIR)/libiberty; \
23050 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
23051 case $(srcdir) in \
23052 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23053 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
23054 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23055 esac; \
23056 srcdiroption="--srcdir=$${topdir}/libiberty"; \
23057 libsrcdir="$$s/libiberty"; \
23058 $(SHELL) $${libsrcdir}/configure \
23059 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23060 --target=${target_alias} $${srcdiroption} @extra_host_libiberty_configure_flags@ \
23061 || exit 1
23062 @endif libiberty
23066 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
23067 maybe-configure-stage1-libiberty:
23068 @if libiberty-bootstrap
23069 maybe-configure-stage1-libiberty: configure-stage1-libiberty
23070 configure-stage1-libiberty:
23071 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
23072 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
23073 @r=`${PWD_COMMAND}`; export r; \
23074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23075 TFLAGS="$(STAGE1_TFLAGS)"; \
23076 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
23077 $(HOST_EXPORTS) \
23078 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
23079 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
23080 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
23081 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty ; \
23082 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
23083 cd $(HOST_SUBDIR)/libiberty || exit 1; \
23084 case $(srcdir) in \
23085 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23086 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
23087 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23088 esac; \
23089 srcdiroption="--srcdir=$${topdir}/libiberty"; \
23090 libsrcdir="$$s/libiberty"; \
23091 $(SHELL) $${libsrcdir}/configure \
23092 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23093 --target=${target_alias} $${srcdiroption} \
23094 $(STAGE1_CONFIGURE_FLAGS) \
23095 @extra_host_libiberty_configure_flags@
23096 @endif libiberty-bootstrap
23098 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
23099 maybe-configure-stage2-libiberty:
23100 @if libiberty-bootstrap
23101 maybe-configure-stage2-libiberty: configure-stage2-libiberty
23102 configure-stage2-libiberty:
23103 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
23104 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
23105 @r=`${PWD_COMMAND}`; export r; \
23106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23107 TFLAGS="$(STAGE2_TFLAGS)"; \
23108 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
23109 $(HOST_EXPORTS) \
23110 $(POSTSTAGE1_HOST_EXPORTS) \
23111 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
23112 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
23113 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
23114 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty ; \
23115 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
23116 cd $(HOST_SUBDIR)/libiberty || exit 1; \
23117 case $(srcdir) in \
23118 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23119 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
23120 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23121 esac; \
23122 srcdiroption="--srcdir=$${topdir}/libiberty"; \
23123 libsrcdir="$$s/libiberty"; \
23124 $(SHELL) $${libsrcdir}/configure \
23125 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23126 --target=${target_alias} $${srcdiroption} \
23127 --with-build-libsubdir=$(HOST_SUBDIR) \
23128 $(STAGE2_CONFIGURE_FLAGS) \
23129 @extra_host_libiberty_configure_flags@
23130 @endif libiberty-bootstrap
23132 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
23133 maybe-configure-stage3-libiberty:
23134 @if libiberty-bootstrap
23135 maybe-configure-stage3-libiberty: configure-stage3-libiberty
23136 configure-stage3-libiberty:
23137 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
23138 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
23139 @r=`${PWD_COMMAND}`; export r; \
23140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23141 TFLAGS="$(STAGE3_TFLAGS)"; \
23142 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
23143 $(HOST_EXPORTS) \
23144 $(POSTSTAGE1_HOST_EXPORTS) \
23145 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
23146 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
23147 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
23148 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty ; \
23149 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
23150 cd $(HOST_SUBDIR)/libiberty || exit 1; \
23151 case $(srcdir) in \
23152 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23153 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
23154 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23155 esac; \
23156 srcdiroption="--srcdir=$${topdir}/libiberty"; \
23157 libsrcdir="$$s/libiberty"; \
23158 $(SHELL) $${libsrcdir}/configure \
23159 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23160 --target=${target_alias} $${srcdiroption} \
23161 --with-build-libsubdir=$(HOST_SUBDIR) \
23162 $(STAGE3_CONFIGURE_FLAGS) \
23163 @extra_host_libiberty_configure_flags@
23164 @endif libiberty-bootstrap
23166 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
23167 maybe-configure-stage4-libiberty:
23168 @if libiberty-bootstrap
23169 maybe-configure-stage4-libiberty: configure-stage4-libiberty
23170 configure-stage4-libiberty:
23171 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
23172 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
23173 @r=`${PWD_COMMAND}`; export r; \
23174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23175 TFLAGS="$(STAGE4_TFLAGS)"; \
23176 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
23177 $(HOST_EXPORTS) \
23178 $(POSTSTAGE1_HOST_EXPORTS) \
23179 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
23180 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
23181 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
23182 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty ; \
23183 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
23184 cd $(HOST_SUBDIR)/libiberty || exit 1; \
23185 case $(srcdir) in \
23186 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23187 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
23188 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23189 esac; \
23190 srcdiroption="--srcdir=$${topdir}/libiberty"; \
23191 libsrcdir="$$s/libiberty"; \
23192 $(SHELL) $${libsrcdir}/configure \
23193 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23194 --target=${target_alias} $${srcdiroption} \
23195 --with-build-libsubdir=$(HOST_SUBDIR) \
23196 $(STAGE4_CONFIGURE_FLAGS) \
23197 @extra_host_libiberty_configure_flags@
23198 @endif libiberty-bootstrap
23200 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
23201 maybe-configure-stageprofile-libiberty:
23202 @if libiberty-bootstrap
23203 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
23204 configure-stageprofile-libiberty:
23205 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
23206 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
23207 @r=`${PWD_COMMAND}`; export r; \
23208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23209 TFLAGS="$(STAGEprofile_TFLAGS)"; \
23210 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
23211 $(HOST_EXPORTS) \
23212 $(POSTSTAGE1_HOST_EXPORTS) \
23213 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
23214 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
23215 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
23216 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty ; \
23217 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
23218 cd $(HOST_SUBDIR)/libiberty || exit 1; \
23219 case $(srcdir) in \
23220 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23221 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
23222 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23223 esac; \
23224 srcdiroption="--srcdir=$${topdir}/libiberty"; \
23225 libsrcdir="$$s/libiberty"; \
23226 $(SHELL) $${libsrcdir}/configure \
23227 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23228 --target=${target_alias} $${srcdiroption} \
23229 --with-build-libsubdir=$(HOST_SUBDIR) \
23230 $(STAGEprofile_CONFIGURE_FLAGS) \
23231 @extra_host_libiberty_configure_flags@
23232 @endif libiberty-bootstrap
23234 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
23235 maybe-configure-stagefeedback-libiberty:
23236 @if libiberty-bootstrap
23237 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
23238 configure-stagefeedback-libiberty:
23239 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
23240 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
23241 @r=`${PWD_COMMAND}`; export r; \
23242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23243 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
23244 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
23245 $(HOST_EXPORTS) \
23246 $(POSTSTAGE1_HOST_EXPORTS) \
23247 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
23248 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
23249 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
23250 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty ; \
23251 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
23252 cd $(HOST_SUBDIR)/libiberty || exit 1; \
23253 case $(srcdir) in \
23254 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23255 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
23256 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23257 esac; \
23258 srcdiroption="--srcdir=$${topdir}/libiberty"; \
23259 libsrcdir="$$s/libiberty"; \
23260 $(SHELL) $${libsrcdir}/configure \
23261 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23262 --target=${target_alias} $${srcdiroption} \
23263 --with-build-libsubdir=$(HOST_SUBDIR) \
23264 $(STAGEfeedback_CONFIGURE_FLAGS) \
23265 @extra_host_libiberty_configure_flags@
23266 @endif libiberty-bootstrap
23272 .PHONY: all-libiberty maybe-all-libiberty
23273 maybe-all-libiberty:
23274 @if gcc-bootstrap
23275 all-libiberty: stage_current
23276 @endif gcc-bootstrap
23277 @if libiberty
23278 TARGET-libiberty=all
23279 maybe-all-libiberty: all-libiberty
23280 all-libiberty: configure-libiberty
23281 @r=`${PWD_COMMAND}`; export r; \
23282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23283 $(HOST_EXPORTS) \
23284 (cd $(HOST_SUBDIR)/libiberty && \
23285 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
23286 $(TARGET-libiberty))
23287 @endif libiberty
23291 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
23292 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
23293 maybe-all-stage1-libiberty:
23294 maybe-clean-stage1-libiberty:
23295 @if libiberty-bootstrap
23296 maybe-all-stage1-libiberty: all-stage1-libiberty
23297 all-stage1: all-stage1-libiberty
23298 TARGET-stage1-libiberty = $(TARGET-libiberty)
23299 all-stage1-libiberty: configure-stage1-libiberty
23300 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
23301 @r=`${PWD_COMMAND}`; export r; \
23302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23303 TFLAGS="$(STAGE1_TFLAGS)"; \
23304 $(HOST_EXPORTS) \
23305 cd $(HOST_SUBDIR)/libiberty && \
23306 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23307 CFLAGS="$(STAGE1_CFLAGS)" \
23308 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
23309 LIBCFLAGS="$(LIBCFLAGS)" \
23310 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23311 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23312 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23313 $(EXTRA_HOST_FLAGS) \
23314 $(STAGE1_FLAGS_TO_PASS) \
23315 TFLAGS="$(STAGE1_TFLAGS)" \
23316 $(TARGET-stage1-libiberty)
23318 maybe-clean-stage1-libiberty: clean-stage1-libiberty
23319 clean-stage1: clean-stage1-libiberty
23320 clean-stage1-libiberty:
23321 @if [ $(current_stage) = stage1 ]; then \
23322 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
23323 else \
23324 [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] || exit 0; \
23325 $(MAKE) stage1-start; \
23326 fi; \
23327 cd $(HOST_SUBDIR)/libiberty && \
23328 $(MAKE) $(EXTRA_HOST_FLAGS) \
23329 $(STAGE1_FLAGS_TO_PASS) clean
23330 @endif libiberty-bootstrap
23333 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
23334 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
23335 maybe-all-stage2-libiberty:
23336 maybe-clean-stage2-libiberty:
23337 @if libiberty-bootstrap
23338 maybe-all-stage2-libiberty: all-stage2-libiberty
23339 all-stage2: all-stage2-libiberty
23340 TARGET-stage2-libiberty = $(TARGET-libiberty)
23341 all-stage2-libiberty: configure-stage2-libiberty
23342 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
23343 @r=`${PWD_COMMAND}`; export r; \
23344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23345 TFLAGS="$(STAGE2_TFLAGS)"; \
23346 $(HOST_EXPORTS) \
23347 $(POSTSTAGE1_HOST_EXPORTS) \
23348 cd $(HOST_SUBDIR)/libiberty && \
23349 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23350 CFLAGS="$(STAGE2_CFLAGS)" \
23351 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
23352 LIBCFLAGS="$(STAGE2_CFLAGS)" \
23353 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23354 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23355 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23356 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23357 TFLAGS="$(STAGE2_TFLAGS)" \
23358 $(TARGET-stage2-libiberty)
23360 maybe-clean-stage2-libiberty: clean-stage2-libiberty
23361 clean-stage2: clean-stage2-libiberty
23362 clean-stage2-libiberty:
23363 @if [ $(current_stage) = stage2 ]; then \
23364 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
23365 else \
23366 [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] || exit 0; \
23367 $(MAKE) stage2-start; \
23368 fi; \
23369 cd $(HOST_SUBDIR)/libiberty && \
23370 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23371 @endif libiberty-bootstrap
23374 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
23375 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
23376 maybe-all-stage3-libiberty:
23377 maybe-clean-stage3-libiberty:
23378 @if libiberty-bootstrap
23379 maybe-all-stage3-libiberty: all-stage3-libiberty
23380 all-stage3: all-stage3-libiberty
23381 TARGET-stage3-libiberty = $(TARGET-libiberty)
23382 all-stage3-libiberty: configure-stage3-libiberty
23383 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
23384 @r=`${PWD_COMMAND}`; export r; \
23385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23386 TFLAGS="$(STAGE3_TFLAGS)"; \
23387 $(HOST_EXPORTS) \
23388 $(POSTSTAGE1_HOST_EXPORTS) \
23389 cd $(HOST_SUBDIR)/libiberty && \
23390 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23391 CFLAGS="$(STAGE3_CFLAGS)" \
23392 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
23393 LIBCFLAGS="$(STAGE3_CFLAGS)" \
23394 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23395 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23396 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23397 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23398 TFLAGS="$(STAGE3_TFLAGS)" \
23399 $(TARGET-stage3-libiberty)
23401 maybe-clean-stage3-libiberty: clean-stage3-libiberty
23402 clean-stage3: clean-stage3-libiberty
23403 clean-stage3-libiberty:
23404 @if [ $(current_stage) = stage3 ]; then \
23405 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
23406 else \
23407 [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] || exit 0; \
23408 $(MAKE) stage3-start; \
23409 fi; \
23410 cd $(HOST_SUBDIR)/libiberty && \
23411 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23412 @endif libiberty-bootstrap
23415 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
23416 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
23417 maybe-all-stage4-libiberty:
23418 maybe-clean-stage4-libiberty:
23419 @if libiberty-bootstrap
23420 maybe-all-stage4-libiberty: all-stage4-libiberty
23421 all-stage4: all-stage4-libiberty
23422 TARGET-stage4-libiberty = $(TARGET-libiberty)
23423 all-stage4-libiberty: configure-stage4-libiberty
23424 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
23425 @r=`${PWD_COMMAND}`; export r; \
23426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23427 TFLAGS="$(STAGE4_TFLAGS)"; \
23428 $(HOST_EXPORTS) \
23429 $(POSTSTAGE1_HOST_EXPORTS) \
23430 cd $(HOST_SUBDIR)/libiberty && \
23431 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23432 CFLAGS="$(STAGE4_CFLAGS)" \
23433 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
23434 LIBCFLAGS="$(STAGE4_CFLAGS)" \
23435 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23436 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23437 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23438 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23439 TFLAGS="$(STAGE4_TFLAGS)" \
23440 $(TARGET-stage4-libiberty)
23442 maybe-clean-stage4-libiberty: clean-stage4-libiberty
23443 clean-stage4: clean-stage4-libiberty
23444 clean-stage4-libiberty:
23445 @if [ $(current_stage) = stage4 ]; then \
23446 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
23447 else \
23448 [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] || exit 0; \
23449 $(MAKE) stage4-start; \
23450 fi; \
23451 cd $(HOST_SUBDIR)/libiberty && \
23452 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23453 @endif libiberty-bootstrap
23456 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
23457 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
23458 maybe-all-stageprofile-libiberty:
23459 maybe-clean-stageprofile-libiberty:
23460 @if libiberty-bootstrap
23461 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
23462 all-stageprofile: all-stageprofile-libiberty
23463 TARGET-stageprofile-libiberty = $(TARGET-libiberty)
23464 all-stageprofile-libiberty: configure-stageprofile-libiberty
23465 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
23466 @r=`${PWD_COMMAND}`; export r; \
23467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23468 TFLAGS="$(STAGEprofile_TFLAGS)"; \
23469 $(HOST_EXPORTS) \
23470 $(POSTSTAGE1_HOST_EXPORTS) \
23471 cd $(HOST_SUBDIR)/libiberty && \
23472 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23473 CFLAGS="$(STAGEprofile_CFLAGS)" \
23474 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
23475 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
23476 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23477 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23478 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23479 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23480 TFLAGS="$(STAGEprofile_TFLAGS)" \
23481 $(TARGET-stageprofile-libiberty)
23483 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
23484 clean-stageprofile: clean-stageprofile-libiberty
23485 clean-stageprofile-libiberty:
23486 @if [ $(current_stage) = stageprofile ]; then \
23487 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
23488 else \
23489 [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] || exit 0; \
23490 $(MAKE) stageprofile-start; \
23491 fi; \
23492 cd $(HOST_SUBDIR)/libiberty && \
23493 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23494 @endif libiberty-bootstrap
23497 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
23498 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
23499 maybe-all-stagefeedback-libiberty:
23500 maybe-clean-stagefeedback-libiberty:
23501 @if libiberty-bootstrap
23502 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
23503 all-stagefeedback: all-stagefeedback-libiberty
23504 TARGET-stagefeedback-libiberty = $(TARGET-libiberty)
23505 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
23506 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
23507 @r=`${PWD_COMMAND}`; export r; \
23508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23509 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
23510 $(HOST_EXPORTS) \
23511 $(POSTSTAGE1_HOST_EXPORTS) \
23512 cd $(HOST_SUBDIR)/libiberty && \
23513 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23514 CFLAGS="$(STAGEfeedback_CFLAGS)" \
23515 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
23516 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
23517 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23518 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23519 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23520 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
23521 TFLAGS="$(STAGEfeedback_TFLAGS)" \
23522 $(TARGET-stagefeedback-libiberty)
23524 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
23525 clean-stagefeedback: clean-stagefeedback-libiberty
23526 clean-stagefeedback-libiberty:
23527 @if [ $(current_stage) = stagefeedback ]; then \
23528 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
23529 else \
23530 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] || exit 0; \
23531 $(MAKE) stagefeedback-start; \
23532 fi; \
23533 cd $(HOST_SUBDIR)/libiberty && \
23534 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
23535 @endif libiberty-bootstrap
23541 .PHONY: check-libiberty maybe-check-libiberty
23542 maybe-check-libiberty:
23543 @if libiberty
23544 maybe-check-libiberty: check-libiberty
23546 check-libiberty:
23547 @: $(MAKE); $(unstage)
23548 @r=`${PWD_COMMAND}`; export r; \
23549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23550 $(HOST_EXPORTS) \
23551 (cd $(HOST_SUBDIR)/libiberty && \
23552 $(MAKE) $(FLAGS_TO_PASS) check)
23554 @endif libiberty
23556 .PHONY: install-libiberty maybe-install-libiberty
23557 maybe-install-libiberty:
23558 @if libiberty
23559 maybe-install-libiberty: install-libiberty
23561 install-libiberty: installdirs
23562 @: $(MAKE); $(unstage)
23563 @r=`${PWD_COMMAND}`; export r; \
23564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23565 $(HOST_EXPORTS) \
23566 (cd $(HOST_SUBDIR)/libiberty && \
23567 $(MAKE) $(FLAGS_TO_PASS) install)
23569 @endif libiberty
23571 .PHONY: install-strip-libiberty maybe-install-strip-libiberty
23572 maybe-install-strip-libiberty:
23573 @if libiberty
23574 maybe-install-strip-libiberty: install-strip-libiberty
23576 install-strip-libiberty: installdirs
23577 @: $(MAKE); $(unstage)
23578 @r=`${PWD_COMMAND}`; export r; \
23579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23580 $(HOST_EXPORTS) \
23581 (cd $(HOST_SUBDIR)/libiberty && \
23582 $(MAKE) $(FLAGS_TO_PASS) install-strip)
23584 @endif libiberty
23586 # Other targets (info, dvi, pdf, etc.)
23588 .PHONY: maybe-info-libiberty info-libiberty
23589 maybe-info-libiberty:
23590 @if libiberty
23591 maybe-info-libiberty: info-libiberty
23593 info-libiberty: \
23594 configure-libiberty
23595 @[ -f ./libiberty/Makefile ] || exit 0; \
23596 r=`${PWD_COMMAND}`; export r; \
23597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23598 $(HOST_EXPORTS) \
23599 for flag in $(EXTRA_HOST_FLAGS) ; do \
23600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23601 done; \
23602 echo "Doing info in libiberty" ; \
23603 (cd $(HOST_SUBDIR)/libiberty && \
23604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23606 "RANLIB=$${RANLIB}" \
23607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23608 info) \
23609 || exit 1
23611 @endif libiberty
23613 .PHONY: maybe-dvi-libiberty dvi-libiberty
23614 maybe-dvi-libiberty:
23615 @if libiberty
23616 maybe-dvi-libiberty: dvi-libiberty
23618 dvi-libiberty: \
23619 configure-libiberty
23620 @[ -f ./libiberty/Makefile ] || exit 0; \
23621 r=`${PWD_COMMAND}`; export r; \
23622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23623 $(HOST_EXPORTS) \
23624 for flag in $(EXTRA_HOST_FLAGS) ; do \
23625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23626 done; \
23627 echo "Doing dvi in libiberty" ; \
23628 (cd $(HOST_SUBDIR)/libiberty && \
23629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23631 "RANLIB=$${RANLIB}" \
23632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23633 dvi) \
23634 || exit 1
23636 @endif libiberty
23638 .PHONY: maybe-pdf-libiberty pdf-libiberty
23639 maybe-pdf-libiberty:
23640 @if libiberty
23641 maybe-pdf-libiberty: pdf-libiberty
23643 pdf-libiberty: \
23644 configure-libiberty
23645 @[ -f ./libiberty/Makefile ] || exit 0; \
23646 r=`${PWD_COMMAND}`; export r; \
23647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23648 $(HOST_EXPORTS) \
23649 for flag in $(EXTRA_HOST_FLAGS) ; do \
23650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23651 done; \
23652 echo "Doing pdf in libiberty" ; \
23653 (cd $(HOST_SUBDIR)/libiberty && \
23654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23656 "RANLIB=$${RANLIB}" \
23657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23658 pdf) \
23659 || exit 1
23661 @endif libiberty
23663 .PHONY: maybe-html-libiberty html-libiberty
23664 maybe-html-libiberty:
23665 @if libiberty
23666 maybe-html-libiberty: html-libiberty
23668 html-libiberty: \
23669 configure-libiberty
23670 @[ -f ./libiberty/Makefile ] || exit 0; \
23671 r=`${PWD_COMMAND}`; export r; \
23672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23673 $(HOST_EXPORTS) \
23674 for flag in $(EXTRA_HOST_FLAGS) ; do \
23675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23676 done; \
23677 echo "Doing html in libiberty" ; \
23678 (cd $(HOST_SUBDIR)/libiberty && \
23679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23681 "RANLIB=$${RANLIB}" \
23682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23683 html) \
23684 || exit 1
23686 @endif libiberty
23688 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
23689 maybe-TAGS-libiberty:
23690 @if libiberty
23691 maybe-TAGS-libiberty: TAGS-libiberty
23693 TAGS-libiberty: \
23694 configure-libiberty
23695 @[ -f ./libiberty/Makefile ] || exit 0; \
23696 r=`${PWD_COMMAND}`; export r; \
23697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23698 $(HOST_EXPORTS) \
23699 for flag in $(EXTRA_HOST_FLAGS) ; do \
23700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23701 done; \
23702 echo "Doing TAGS in libiberty" ; \
23703 (cd $(HOST_SUBDIR)/libiberty && \
23704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23706 "RANLIB=$${RANLIB}" \
23707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23708 TAGS) \
23709 || exit 1
23711 @endif libiberty
23713 .PHONY: maybe-install-info-libiberty install-info-libiberty
23714 maybe-install-info-libiberty:
23715 @if libiberty
23716 maybe-install-info-libiberty: install-info-libiberty
23718 install-info-libiberty: \
23719 configure-libiberty \
23720 info-libiberty
23721 @[ -f ./libiberty/Makefile ] || exit 0; \
23722 r=`${PWD_COMMAND}`; export r; \
23723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23724 $(HOST_EXPORTS) \
23725 for flag in $(EXTRA_HOST_FLAGS) ; do \
23726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23727 done; \
23728 echo "Doing install-info in libiberty" ; \
23729 (cd $(HOST_SUBDIR)/libiberty && \
23730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23732 "RANLIB=$${RANLIB}" \
23733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23734 install-info) \
23735 || exit 1
23737 @endif libiberty
23739 .PHONY: maybe-install-pdf-libiberty install-pdf-libiberty
23740 maybe-install-pdf-libiberty:
23741 @if libiberty
23742 maybe-install-pdf-libiberty: install-pdf-libiberty
23744 install-pdf-libiberty: \
23745 configure-libiberty \
23746 pdf-libiberty
23747 @[ -f ./libiberty/Makefile ] || exit 0; \
23748 r=`${PWD_COMMAND}`; export r; \
23749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23750 $(HOST_EXPORTS) \
23751 for flag in $(EXTRA_HOST_FLAGS) ; do \
23752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23753 done; \
23754 echo "Doing install-pdf in libiberty" ; \
23755 (cd $(HOST_SUBDIR)/libiberty && \
23756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23758 "RANLIB=$${RANLIB}" \
23759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23760 install-pdf) \
23761 || exit 1
23763 @endif libiberty
23765 .PHONY: maybe-install-html-libiberty install-html-libiberty
23766 maybe-install-html-libiberty:
23767 @if libiberty
23768 maybe-install-html-libiberty: install-html-libiberty
23770 install-html-libiberty: \
23771 configure-libiberty \
23772 html-libiberty
23773 @[ -f ./libiberty/Makefile ] || exit 0; \
23774 r=`${PWD_COMMAND}`; export r; \
23775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23776 $(HOST_EXPORTS) \
23777 for flag in $(EXTRA_HOST_FLAGS) ; do \
23778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23779 done; \
23780 echo "Doing install-html in libiberty" ; \
23781 (cd $(HOST_SUBDIR)/libiberty && \
23782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23784 "RANLIB=$${RANLIB}" \
23785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23786 install-html) \
23787 || exit 1
23789 @endif libiberty
23791 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
23792 maybe-installcheck-libiberty:
23793 @if libiberty
23794 maybe-installcheck-libiberty: installcheck-libiberty
23796 installcheck-libiberty: \
23797 configure-libiberty
23798 @[ -f ./libiberty/Makefile ] || exit 0; \
23799 r=`${PWD_COMMAND}`; export r; \
23800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23801 $(HOST_EXPORTS) \
23802 for flag in $(EXTRA_HOST_FLAGS) ; do \
23803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23804 done; \
23805 echo "Doing installcheck in libiberty" ; \
23806 (cd $(HOST_SUBDIR)/libiberty && \
23807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23809 "RANLIB=$${RANLIB}" \
23810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23811 installcheck) \
23812 || exit 1
23814 @endif libiberty
23816 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
23817 maybe-mostlyclean-libiberty:
23818 @if libiberty
23819 maybe-mostlyclean-libiberty: mostlyclean-libiberty
23821 mostlyclean-libiberty:
23822 @[ -f ./libiberty/Makefile ] || exit 0; \
23823 r=`${PWD_COMMAND}`; export r; \
23824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23825 $(HOST_EXPORTS) \
23826 for flag in $(EXTRA_HOST_FLAGS) ; do \
23827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23828 done; \
23829 echo "Doing mostlyclean in libiberty" ; \
23830 (cd $(HOST_SUBDIR)/libiberty && \
23831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23833 "RANLIB=$${RANLIB}" \
23834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23835 mostlyclean) \
23836 || exit 1
23838 @endif libiberty
23840 .PHONY: maybe-clean-libiberty clean-libiberty
23841 maybe-clean-libiberty:
23842 @if libiberty
23843 maybe-clean-libiberty: clean-libiberty
23845 clean-libiberty:
23846 @[ -f ./libiberty/Makefile ] || exit 0; \
23847 r=`${PWD_COMMAND}`; export r; \
23848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23849 $(HOST_EXPORTS) \
23850 for flag in $(EXTRA_HOST_FLAGS) ; do \
23851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23852 done; \
23853 echo "Doing clean in libiberty" ; \
23854 (cd $(HOST_SUBDIR)/libiberty && \
23855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23857 "RANLIB=$${RANLIB}" \
23858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23859 clean) \
23860 || exit 1
23862 @endif libiberty
23864 .PHONY: maybe-distclean-libiberty distclean-libiberty
23865 maybe-distclean-libiberty:
23866 @if libiberty
23867 maybe-distclean-libiberty: distclean-libiberty
23869 distclean-libiberty:
23870 @[ -f ./libiberty/Makefile ] || exit 0; \
23871 r=`${PWD_COMMAND}`; export r; \
23872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23873 $(HOST_EXPORTS) \
23874 for flag in $(EXTRA_HOST_FLAGS) ; do \
23875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23876 done; \
23877 echo "Doing distclean in libiberty" ; \
23878 (cd $(HOST_SUBDIR)/libiberty && \
23879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23881 "RANLIB=$${RANLIB}" \
23882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23883 distclean) \
23884 || exit 1
23886 @endif libiberty
23888 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
23889 maybe-maintainer-clean-libiberty:
23890 @if libiberty
23891 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
23893 maintainer-clean-libiberty:
23894 @[ -f ./libiberty/Makefile ] || exit 0; \
23895 r=`${PWD_COMMAND}`; export r; \
23896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23897 $(HOST_EXPORTS) \
23898 for flag in $(EXTRA_HOST_FLAGS) ; do \
23899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23900 done; \
23901 echo "Doing maintainer-clean in libiberty" ; \
23902 (cd $(HOST_SUBDIR)/libiberty && \
23903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23905 "RANLIB=$${RANLIB}" \
23906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23907 maintainer-clean) \
23908 || exit 1
23910 @endif libiberty
23914 .PHONY: configure-libiconv maybe-configure-libiconv
23915 maybe-configure-libiconv:
23916 @if gcc-bootstrap
23917 configure-libiconv: stage_current
23918 @endif gcc-bootstrap
23919 @if libiconv
23920 maybe-configure-libiconv: configure-libiconv
23921 configure-libiconv:
23922 @: $(MAKE); $(unstage)
23923 @r=`${PWD_COMMAND}`; export r; \
23924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23925 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
23926 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv ; \
23927 $(HOST_EXPORTS) \
23928 echo Configuring in $(HOST_SUBDIR)/libiconv; \
23929 cd "$(HOST_SUBDIR)/libiconv" || exit 1; \
23930 case $(srcdir) in \
23931 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23932 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
23933 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23934 esac; \
23935 srcdiroption="--srcdir=$${topdir}/libiconv"; \
23936 libsrcdir="$$s/libiconv"; \
23937 $(SHELL) $${libsrcdir}/configure \
23938 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23939 --target=${target_alias} $${srcdiroption} --disable-shared \
23940 || exit 1
23941 @endif libiconv
23947 .PHONY: all-libiconv maybe-all-libiconv
23948 maybe-all-libiconv:
23949 @if gcc-bootstrap
23950 all-libiconv: stage_current
23951 @endif gcc-bootstrap
23952 @if libiconv
23953 TARGET-libiconv=all
23954 maybe-all-libiconv: all-libiconv
23955 all-libiconv: configure-libiconv
23956 @: $(MAKE); $(unstage)
23957 @r=`${PWD_COMMAND}`; export r; \
23958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23959 $(HOST_EXPORTS) \
23960 (cd $(HOST_SUBDIR)/libiconv && \
23961 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
23962 $(TARGET-libiconv))
23963 @endif libiconv
23968 .PHONY: check-libiconv maybe-check-libiconv
23969 maybe-check-libiconv:
23970 @if libiconv
23971 maybe-check-libiconv: check-libiconv
23973 check-libiconv:
23974 @: $(MAKE); $(unstage)
23975 @r=`${PWD_COMMAND}`; export r; \
23976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23977 $(HOST_EXPORTS) \
23978 (cd $(HOST_SUBDIR)/libiconv && \
23979 $(MAKE) $(FLAGS_TO_PASS) check)
23981 @endif libiconv
23983 .PHONY: install-libiconv maybe-install-libiconv
23984 maybe-install-libiconv:
23985 @if libiconv
23986 maybe-install-libiconv: install-libiconv
23988 install-libiconv:
23990 @endif libiconv
23992 .PHONY: install-strip-libiconv maybe-install-strip-libiconv
23993 maybe-install-strip-libiconv:
23994 @if libiconv
23995 maybe-install-strip-libiconv: install-strip-libiconv
23997 install-strip-libiconv:
23999 @endif libiconv
24001 # Other targets (info, dvi, pdf, etc.)
24003 .PHONY: maybe-info-libiconv info-libiconv
24004 maybe-info-libiconv:
24005 @if libiconv
24006 maybe-info-libiconv: info-libiconv
24008 info-libiconv: \
24009 configure-libiconv
24010 @: $(MAKE); $(unstage)
24011 @[ -f ./libiconv/Makefile ] || exit 0; \
24012 r=`${PWD_COMMAND}`; export r; \
24013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24014 $(HOST_EXPORTS) \
24015 for flag in $(EXTRA_HOST_FLAGS) ; do \
24016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24017 done; \
24018 echo "Doing info in libiconv" ; \
24019 (cd $(HOST_SUBDIR)/libiconv && \
24020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24022 "RANLIB=$${RANLIB}" \
24023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24024 info) \
24025 || exit 1
24027 @endif libiconv
24029 .PHONY: maybe-dvi-libiconv dvi-libiconv
24030 maybe-dvi-libiconv:
24031 @if libiconv
24032 maybe-dvi-libiconv: dvi-libiconv
24034 dvi-libiconv: \
24035 configure-libiconv
24036 @: $(MAKE); $(unstage)
24037 @[ -f ./libiconv/Makefile ] || exit 0; \
24038 r=`${PWD_COMMAND}`; export r; \
24039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24040 $(HOST_EXPORTS) \
24041 for flag in $(EXTRA_HOST_FLAGS) ; do \
24042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24043 done; \
24044 echo "Doing dvi in libiconv" ; \
24045 (cd $(HOST_SUBDIR)/libiconv && \
24046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24048 "RANLIB=$${RANLIB}" \
24049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24050 dvi) \
24051 || exit 1
24053 @endif libiconv
24055 .PHONY: maybe-pdf-libiconv pdf-libiconv
24056 maybe-pdf-libiconv:
24057 @if libiconv
24058 maybe-pdf-libiconv: pdf-libiconv
24060 pdf-libiconv: \
24061 configure-libiconv
24062 @: $(MAKE); $(unstage)
24063 @[ -f ./libiconv/Makefile ] || exit 0; \
24064 r=`${PWD_COMMAND}`; export r; \
24065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24066 $(HOST_EXPORTS) \
24067 for flag in $(EXTRA_HOST_FLAGS) ; do \
24068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24069 done; \
24070 echo "Doing pdf in libiconv" ; \
24071 (cd $(HOST_SUBDIR)/libiconv && \
24072 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24073 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24074 "RANLIB=$${RANLIB}" \
24075 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24076 pdf) \
24077 || exit 1
24079 @endif libiconv
24081 .PHONY: maybe-html-libiconv html-libiconv
24082 maybe-html-libiconv:
24083 @if libiconv
24084 maybe-html-libiconv: html-libiconv
24086 html-libiconv: \
24087 configure-libiconv
24088 @: $(MAKE); $(unstage)
24089 @[ -f ./libiconv/Makefile ] || exit 0; \
24090 r=`${PWD_COMMAND}`; export r; \
24091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24092 $(HOST_EXPORTS) \
24093 for flag in $(EXTRA_HOST_FLAGS) ; do \
24094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24095 done; \
24096 echo "Doing html in libiconv" ; \
24097 (cd $(HOST_SUBDIR)/libiconv && \
24098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24100 "RANLIB=$${RANLIB}" \
24101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24102 html) \
24103 || exit 1
24105 @endif libiconv
24107 .PHONY: maybe-TAGS-libiconv TAGS-libiconv
24108 maybe-TAGS-libiconv:
24109 @if libiconv
24110 maybe-TAGS-libiconv: TAGS-libiconv
24112 TAGS-libiconv: \
24113 configure-libiconv
24114 @: $(MAKE); $(unstage)
24115 @[ -f ./libiconv/Makefile ] || exit 0; \
24116 r=`${PWD_COMMAND}`; export r; \
24117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24118 $(HOST_EXPORTS) \
24119 for flag in $(EXTRA_HOST_FLAGS) ; do \
24120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24121 done; \
24122 echo "Doing TAGS in libiconv" ; \
24123 (cd $(HOST_SUBDIR)/libiconv && \
24124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24126 "RANLIB=$${RANLIB}" \
24127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24128 TAGS) \
24129 || exit 1
24131 @endif libiconv
24133 .PHONY: maybe-install-info-libiconv install-info-libiconv
24134 maybe-install-info-libiconv:
24135 @if libiconv
24136 maybe-install-info-libiconv: install-info-libiconv
24138 # libiconv doesn't support install-info.
24139 install-info-libiconv:
24141 @endif libiconv
24143 .PHONY: maybe-install-pdf-libiconv install-pdf-libiconv
24144 maybe-install-pdf-libiconv:
24145 @if libiconv
24146 maybe-install-pdf-libiconv: install-pdf-libiconv
24148 # libiconv doesn't support install-pdf.
24149 install-pdf-libiconv:
24151 @endif libiconv
24153 .PHONY: maybe-install-html-libiconv install-html-libiconv
24154 maybe-install-html-libiconv:
24155 @if libiconv
24156 maybe-install-html-libiconv: install-html-libiconv
24158 # libiconv doesn't support install-html.
24159 install-html-libiconv:
24161 @endif libiconv
24163 .PHONY: maybe-installcheck-libiconv installcheck-libiconv
24164 maybe-installcheck-libiconv:
24165 @if libiconv
24166 maybe-installcheck-libiconv: installcheck-libiconv
24168 installcheck-libiconv: \
24169 configure-libiconv
24170 @: $(MAKE); $(unstage)
24171 @[ -f ./libiconv/Makefile ] || exit 0; \
24172 r=`${PWD_COMMAND}`; export r; \
24173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24174 $(HOST_EXPORTS) \
24175 for flag in $(EXTRA_HOST_FLAGS) ; do \
24176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24177 done; \
24178 echo "Doing installcheck in libiconv" ; \
24179 (cd $(HOST_SUBDIR)/libiconv && \
24180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24182 "RANLIB=$${RANLIB}" \
24183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24184 installcheck) \
24185 || exit 1
24187 @endif libiconv
24189 .PHONY: maybe-mostlyclean-libiconv mostlyclean-libiconv
24190 maybe-mostlyclean-libiconv:
24191 @if libiconv
24192 maybe-mostlyclean-libiconv: mostlyclean-libiconv
24194 mostlyclean-libiconv:
24195 @: $(MAKE); $(unstage)
24196 @[ -f ./libiconv/Makefile ] || exit 0; \
24197 r=`${PWD_COMMAND}`; export r; \
24198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24199 $(HOST_EXPORTS) \
24200 for flag in $(EXTRA_HOST_FLAGS) ; do \
24201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24202 done; \
24203 echo "Doing mostlyclean in libiconv" ; \
24204 (cd $(HOST_SUBDIR)/libiconv && \
24205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24207 "RANLIB=$${RANLIB}" \
24208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24209 mostlyclean) \
24210 || exit 1
24212 @endif libiconv
24214 .PHONY: maybe-clean-libiconv clean-libiconv
24215 maybe-clean-libiconv:
24216 @if libiconv
24217 maybe-clean-libiconv: clean-libiconv
24219 clean-libiconv:
24220 @: $(MAKE); $(unstage)
24221 @[ -f ./libiconv/Makefile ] || exit 0; \
24222 r=`${PWD_COMMAND}`; export r; \
24223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24224 $(HOST_EXPORTS) \
24225 for flag in $(EXTRA_HOST_FLAGS) ; do \
24226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24227 done; \
24228 echo "Doing clean in libiconv" ; \
24229 (cd $(HOST_SUBDIR)/libiconv && \
24230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24232 "RANLIB=$${RANLIB}" \
24233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24234 clean) \
24235 || exit 1
24237 @endif libiconv
24239 .PHONY: maybe-distclean-libiconv distclean-libiconv
24240 maybe-distclean-libiconv:
24241 @if libiconv
24242 maybe-distclean-libiconv: distclean-libiconv
24244 distclean-libiconv:
24245 @: $(MAKE); $(unstage)
24246 @[ -f ./libiconv/Makefile ] || exit 0; \
24247 r=`${PWD_COMMAND}`; export r; \
24248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24249 $(HOST_EXPORTS) \
24250 for flag in $(EXTRA_HOST_FLAGS) ; do \
24251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24252 done; \
24253 echo "Doing distclean in libiconv" ; \
24254 (cd $(HOST_SUBDIR)/libiconv && \
24255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24257 "RANLIB=$${RANLIB}" \
24258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24259 distclean) \
24260 || exit 1
24262 @endif libiconv
24264 .PHONY: maybe-maintainer-clean-libiconv maintainer-clean-libiconv
24265 maybe-maintainer-clean-libiconv:
24266 @if libiconv
24267 maybe-maintainer-clean-libiconv: maintainer-clean-libiconv
24269 maintainer-clean-libiconv:
24270 @: $(MAKE); $(unstage)
24271 @[ -f ./libiconv/Makefile ] || exit 0; \
24272 r=`${PWD_COMMAND}`; export r; \
24273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24274 $(HOST_EXPORTS) \
24275 for flag in $(EXTRA_HOST_FLAGS) ; do \
24276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24277 done; \
24278 echo "Doing maintainer-clean in libiconv" ; \
24279 (cd $(HOST_SUBDIR)/libiconv && \
24280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24282 "RANLIB=$${RANLIB}" \
24283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24284 maintainer-clean) \
24285 || exit 1
24287 @endif libiconv
24291 .PHONY: configure-m4 maybe-configure-m4
24292 maybe-configure-m4:
24293 @if gcc-bootstrap
24294 configure-m4: stage_current
24295 @endif gcc-bootstrap
24296 @if m4
24297 maybe-configure-m4: configure-m4
24298 configure-m4:
24299 @: $(MAKE); $(unstage)
24300 @r=`${PWD_COMMAND}`; export r; \
24301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24302 test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
24303 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4 ; \
24304 $(HOST_EXPORTS) \
24305 echo Configuring in $(HOST_SUBDIR)/m4; \
24306 cd "$(HOST_SUBDIR)/m4" || exit 1; \
24307 case $(srcdir) in \
24308 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24309 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
24310 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24311 esac; \
24312 srcdiroption="--srcdir=$${topdir}/m4"; \
24313 libsrcdir="$$s/m4"; \
24314 $(SHELL) $${libsrcdir}/configure \
24315 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24316 --target=${target_alias} $${srcdiroption} \
24317 || exit 1
24318 @endif m4
24324 .PHONY: all-m4 maybe-all-m4
24325 maybe-all-m4:
24326 @if gcc-bootstrap
24327 all-m4: stage_current
24328 @endif gcc-bootstrap
24329 @if m4
24330 TARGET-m4=all
24331 maybe-all-m4: all-m4
24332 all-m4: configure-m4
24333 @: $(MAKE); $(unstage)
24334 @r=`${PWD_COMMAND}`; export r; \
24335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24336 $(HOST_EXPORTS) \
24337 (cd $(HOST_SUBDIR)/m4 && \
24338 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
24339 $(TARGET-m4))
24340 @endif m4
24345 .PHONY: check-m4 maybe-check-m4
24346 maybe-check-m4:
24347 @if m4
24348 maybe-check-m4: check-m4
24350 check-m4:
24351 @: $(MAKE); $(unstage)
24352 @r=`${PWD_COMMAND}`; export r; \
24353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24354 $(HOST_EXPORTS) \
24355 (cd $(HOST_SUBDIR)/m4 && \
24356 $(MAKE) $(FLAGS_TO_PASS) check)
24358 @endif m4
24360 .PHONY: install-m4 maybe-install-m4
24361 maybe-install-m4:
24362 @if m4
24363 maybe-install-m4: install-m4
24365 install-m4: installdirs
24366 @: $(MAKE); $(unstage)
24367 @r=`${PWD_COMMAND}`; export r; \
24368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24369 $(HOST_EXPORTS) \
24370 (cd $(HOST_SUBDIR)/m4 && \
24371 $(MAKE) $(FLAGS_TO_PASS) install)
24373 @endif m4
24375 .PHONY: install-strip-m4 maybe-install-strip-m4
24376 maybe-install-strip-m4:
24377 @if m4
24378 maybe-install-strip-m4: install-strip-m4
24380 install-strip-m4: installdirs
24381 @: $(MAKE); $(unstage)
24382 @r=`${PWD_COMMAND}`; export r; \
24383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24384 $(HOST_EXPORTS) \
24385 (cd $(HOST_SUBDIR)/m4 && \
24386 $(MAKE) $(FLAGS_TO_PASS) install-strip)
24388 @endif m4
24390 # Other targets (info, dvi, pdf, etc.)
24392 .PHONY: maybe-info-m4 info-m4
24393 maybe-info-m4:
24394 @if m4
24395 maybe-info-m4: info-m4
24397 info-m4: \
24398 configure-m4
24399 @: $(MAKE); $(unstage)
24400 @[ -f ./m4/Makefile ] || exit 0; \
24401 r=`${PWD_COMMAND}`; export r; \
24402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24403 $(HOST_EXPORTS) \
24404 for flag in $(EXTRA_HOST_FLAGS) ; do \
24405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24406 done; \
24407 echo "Doing info in m4" ; \
24408 (cd $(HOST_SUBDIR)/m4 && \
24409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24411 "RANLIB=$${RANLIB}" \
24412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24413 info) \
24414 || exit 1
24416 @endif m4
24418 .PHONY: maybe-dvi-m4 dvi-m4
24419 maybe-dvi-m4:
24420 @if m4
24421 maybe-dvi-m4: dvi-m4
24423 dvi-m4: \
24424 configure-m4
24425 @: $(MAKE); $(unstage)
24426 @[ -f ./m4/Makefile ] || exit 0; \
24427 r=`${PWD_COMMAND}`; export r; \
24428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24429 $(HOST_EXPORTS) \
24430 for flag in $(EXTRA_HOST_FLAGS) ; do \
24431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24432 done; \
24433 echo "Doing dvi in m4" ; \
24434 (cd $(HOST_SUBDIR)/m4 && \
24435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24437 "RANLIB=$${RANLIB}" \
24438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24439 dvi) \
24440 || exit 1
24442 @endif m4
24444 .PHONY: maybe-pdf-m4 pdf-m4
24445 maybe-pdf-m4:
24446 @if m4
24447 maybe-pdf-m4: pdf-m4
24449 pdf-m4: \
24450 configure-m4
24451 @: $(MAKE); $(unstage)
24452 @[ -f ./m4/Makefile ] || exit 0; \
24453 r=`${PWD_COMMAND}`; export r; \
24454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24455 $(HOST_EXPORTS) \
24456 for flag in $(EXTRA_HOST_FLAGS) ; do \
24457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24458 done; \
24459 echo "Doing pdf in m4" ; \
24460 (cd $(HOST_SUBDIR)/m4 && \
24461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24463 "RANLIB=$${RANLIB}" \
24464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24465 pdf) \
24466 || exit 1
24468 @endif m4
24470 .PHONY: maybe-html-m4 html-m4
24471 maybe-html-m4:
24472 @if m4
24473 maybe-html-m4: html-m4
24475 html-m4: \
24476 configure-m4
24477 @: $(MAKE); $(unstage)
24478 @[ -f ./m4/Makefile ] || exit 0; \
24479 r=`${PWD_COMMAND}`; export r; \
24480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24481 $(HOST_EXPORTS) \
24482 for flag in $(EXTRA_HOST_FLAGS) ; do \
24483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24484 done; \
24485 echo "Doing html in m4" ; \
24486 (cd $(HOST_SUBDIR)/m4 && \
24487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24489 "RANLIB=$${RANLIB}" \
24490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24491 html) \
24492 || exit 1
24494 @endif m4
24496 .PHONY: maybe-TAGS-m4 TAGS-m4
24497 maybe-TAGS-m4:
24498 @if m4
24499 maybe-TAGS-m4: TAGS-m4
24501 TAGS-m4: \
24502 configure-m4
24503 @: $(MAKE); $(unstage)
24504 @[ -f ./m4/Makefile ] || exit 0; \
24505 r=`${PWD_COMMAND}`; export r; \
24506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24507 $(HOST_EXPORTS) \
24508 for flag in $(EXTRA_HOST_FLAGS) ; do \
24509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24510 done; \
24511 echo "Doing TAGS in m4" ; \
24512 (cd $(HOST_SUBDIR)/m4 && \
24513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24515 "RANLIB=$${RANLIB}" \
24516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24517 TAGS) \
24518 || exit 1
24520 @endif m4
24522 .PHONY: maybe-install-info-m4 install-info-m4
24523 maybe-install-info-m4:
24524 @if m4
24525 maybe-install-info-m4: install-info-m4
24527 install-info-m4: \
24528 configure-m4 \
24529 info-m4
24530 @: $(MAKE); $(unstage)
24531 @[ -f ./m4/Makefile ] || exit 0; \
24532 r=`${PWD_COMMAND}`; export r; \
24533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24534 $(HOST_EXPORTS) \
24535 for flag in $(EXTRA_HOST_FLAGS) ; do \
24536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24537 done; \
24538 echo "Doing install-info in m4" ; \
24539 (cd $(HOST_SUBDIR)/m4 && \
24540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24542 "RANLIB=$${RANLIB}" \
24543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24544 install-info) \
24545 || exit 1
24547 @endif m4
24549 .PHONY: maybe-install-pdf-m4 install-pdf-m4
24550 maybe-install-pdf-m4:
24551 @if m4
24552 maybe-install-pdf-m4: install-pdf-m4
24554 install-pdf-m4: \
24555 configure-m4 \
24556 pdf-m4
24557 @: $(MAKE); $(unstage)
24558 @[ -f ./m4/Makefile ] || exit 0; \
24559 r=`${PWD_COMMAND}`; export r; \
24560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24561 $(HOST_EXPORTS) \
24562 for flag in $(EXTRA_HOST_FLAGS) ; do \
24563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24564 done; \
24565 echo "Doing install-pdf in m4" ; \
24566 (cd $(HOST_SUBDIR)/m4 && \
24567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24569 "RANLIB=$${RANLIB}" \
24570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24571 install-pdf) \
24572 || exit 1
24574 @endif m4
24576 .PHONY: maybe-install-html-m4 install-html-m4
24577 maybe-install-html-m4:
24578 @if m4
24579 maybe-install-html-m4: install-html-m4
24581 install-html-m4: \
24582 configure-m4 \
24583 html-m4
24584 @: $(MAKE); $(unstage)
24585 @[ -f ./m4/Makefile ] || exit 0; \
24586 r=`${PWD_COMMAND}`; export r; \
24587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24588 $(HOST_EXPORTS) \
24589 for flag in $(EXTRA_HOST_FLAGS) ; do \
24590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24591 done; \
24592 echo "Doing install-html in m4" ; \
24593 (cd $(HOST_SUBDIR)/m4 && \
24594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24596 "RANLIB=$${RANLIB}" \
24597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24598 install-html) \
24599 || exit 1
24601 @endif m4
24603 .PHONY: maybe-installcheck-m4 installcheck-m4
24604 maybe-installcheck-m4:
24605 @if m4
24606 maybe-installcheck-m4: installcheck-m4
24608 installcheck-m4: \
24609 configure-m4
24610 @: $(MAKE); $(unstage)
24611 @[ -f ./m4/Makefile ] || exit 0; \
24612 r=`${PWD_COMMAND}`; export r; \
24613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24614 $(HOST_EXPORTS) \
24615 for flag in $(EXTRA_HOST_FLAGS) ; do \
24616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24617 done; \
24618 echo "Doing installcheck in m4" ; \
24619 (cd $(HOST_SUBDIR)/m4 && \
24620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24622 "RANLIB=$${RANLIB}" \
24623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24624 installcheck) \
24625 || exit 1
24627 @endif m4
24629 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
24630 maybe-mostlyclean-m4:
24631 @if m4
24632 maybe-mostlyclean-m4: mostlyclean-m4
24634 mostlyclean-m4:
24635 @: $(MAKE); $(unstage)
24636 @[ -f ./m4/Makefile ] || exit 0; \
24637 r=`${PWD_COMMAND}`; export r; \
24638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24639 $(HOST_EXPORTS) \
24640 for flag in $(EXTRA_HOST_FLAGS) ; do \
24641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24642 done; \
24643 echo "Doing mostlyclean in m4" ; \
24644 (cd $(HOST_SUBDIR)/m4 && \
24645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24647 "RANLIB=$${RANLIB}" \
24648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24649 mostlyclean) \
24650 || exit 1
24652 @endif m4
24654 .PHONY: maybe-clean-m4 clean-m4
24655 maybe-clean-m4:
24656 @if m4
24657 maybe-clean-m4: clean-m4
24659 clean-m4:
24660 @: $(MAKE); $(unstage)
24661 @[ -f ./m4/Makefile ] || exit 0; \
24662 r=`${PWD_COMMAND}`; export r; \
24663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24664 $(HOST_EXPORTS) \
24665 for flag in $(EXTRA_HOST_FLAGS) ; do \
24666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24667 done; \
24668 echo "Doing clean in m4" ; \
24669 (cd $(HOST_SUBDIR)/m4 && \
24670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24672 "RANLIB=$${RANLIB}" \
24673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24674 clean) \
24675 || exit 1
24677 @endif m4
24679 .PHONY: maybe-distclean-m4 distclean-m4
24680 maybe-distclean-m4:
24681 @if m4
24682 maybe-distclean-m4: distclean-m4
24684 distclean-m4:
24685 @: $(MAKE); $(unstage)
24686 @[ -f ./m4/Makefile ] || exit 0; \
24687 r=`${PWD_COMMAND}`; export r; \
24688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24689 $(HOST_EXPORTS) \
24690 for flag in $(EXTRA_HOST_FLAGS) ; do \
24691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24692 done; \
24693 echo "Doing distclean in m4" ; \
24694 (cd $(HOST_SUBDIR)/m4 && \
24695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24697 "RANLIB=$${RANLIB}" \
24698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24699 distclean) \
24700 || exit 1
24702 @endif m4
24704 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
24705 maybe-maintainer-clean-m4:
24706 @if m4
24707 maybe-maintainer-clean-m4: maintainer-clean-m4
24709 maintainer-clean-m4:
24710 @: $(MAKE); $(unstage)
24711 @[ -f ./m4/Makefile ] || exit 0; \
24712 r=`${PWD_COMMAND}`; export r; \
24713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24714 $(HOST_EXPORTS) \
24715 for flag in $(EXTRA_HOST_FLAGS) ; do \
24716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24717 done; \
24718 echo "Doing maintainer-clean in m4" ; \
24719 (cd $(HOST_SUBDIR)/m4 && \
24720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24722 "RANLIB=$${RANLIB}" \
24723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24724 maintainer-clean) \
24725 || exit 1
24727 @endif m4
24731 .PHONY: configure-readline maybe-configure-readline
24732 maybe-configure-readline:
24733 @if gcc-bootstrap
24734 configure-readline: stage_current
24735 @endif gcc-bootstrap
24736 @if readline
24737 maybe-configure-readline: configure-readline
24738 configure-readline:
24739 @: $(MAKE); $(unstage)
24740 @r=`${PWD_COMMAND}`; export r; \
24741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24742 test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
24743 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline ; \
24744 $(HOST_EXPORTS) \
24745 echo Configuring in $(HOST_SUBDIR)/readline; \
24746 cd "$(HOST_SUBDIR)/readline" || exit 1; \
24747 case $(srcdir) in \
24748 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24749 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
24750 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24751 esac; \
24752 srcdiroption="--srcdir=$${topdir}/readline"; \
24753 libsrcdir="$$s/readline"; \
24754 $(SHELL) $${libsrcdir}/configure \
24755 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24756 --target=${target_alias} $${srcdiroption} \
24757 || exit 1
24758 @endif readline
24764 .PHONY: all-readline maybe-all-readline
24765 maybe-all-readline:
24766 @if gcc-bootstrap
24767 all-readline: stage_current
24768 @endif gcc-bootstrap
24769 @if readline
24770 TARGET-readline=all
24771 maybe-all-readline: all-readline
24772 all-readline: configure-readline
24773 @: $(MAKE); $(unstage)
24774 @r=`${PWD_COMMAND}`; export r; \
24775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24776 $(HOST_EXPORTS) \
24777 (cd $(HOST_SUBDIR)/readline && \
24778 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
24779 $(TARGET-readline))
24780 @endif readline
24785 .PHONY: check-readline maybe-check-readline
24786 maybe-check-readline:
24787 @if readline
24788 maybe-check-readline: check-readline
24790 check-readline:
24791 @: $(MAKE); $(unstage)
24792 @r=`${PWD_COMMAND}`; export r; \
24793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24794 $(HOST_EXPORTS) \
24795 (cd $(HOST_SUBDIR)/readline && \
24796 $(MAKE) $(FLAGS_TO_PASS) check)
24798 @endif readline
24800 .PHONY: install-readline maybe-install-readline
24801 maybe-install-readline:
24802 @if readline
24803 maybe-install-readline: install-readline
24805 install-readline: installdirs
24806 @: $(MAKE); $(unstage)
24807 @r=`${PWD_COMMAND}`; export r; \
24808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24809 $(HOST_EXPORTS) \
24810 (cd $(HOST_SUBDIR)/readline && \
24811 $(MAKE) $(FLAGS_TO_PASS) install)
24813 @endif readline
24815 .PHONY: install-strip-readline maybe-install-strip-readline
24816 maybe-install-strip-readline:
24817 @if readline
24818 maybe-install-strip-readline: install-strip-readline
24820 install-strip-readline: installdirs
24821 @: $(MAKE); $(unstage)
24822 @r=`${PWD_COMMAND}`; export r; \
24823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24824 $(HOST_EXPORTS) \
24825 (cd $(HOST_SUBDIR)/readline && \
24826 $(MAKE) $(FLAGS_TO_PASS) install-strip)
24828 @endif readline
24830 # Other targets (info, dvi, pdf, etc.)
24832 .PHONY: maybe-info-readline info-readline
24833 maybe-info-readline:
24834 @if readline
24835 maybe-info-readline: info-readline
24837 info-readline: \
24838 configure-readline
24839 @: $(MAKE); $(unstage)
24840 @[ -f ./readline/Makefile ] || exit 0; \
24841 r=`${PWD_COMMAND}`; export r; \
24842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24843 $(HOST_EXPORTS) \
24844 for flag in $(EXTRA_HOST_FLAGS) ; do \
24845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24846 done; \
24847 echo "Doing info in readline" ; \
24848 (cd $(HOST_SUBDIR)/readline && \
24849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24851 "RANLIB=$${RANLIB}" \
24852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24853 info) \
24854 || exit 1
24856 @endif readline
24858 .PHONY: maybe-dvi-readline dvi-readline
24859 maybe-dvi-readline:
24860 @if readline
24861 maybe-dvi-readline: dvi-readline
24863 dvi-readline: \
24864 configure-readline
24865 @: $(MAKE); $(unstage)
24866 @[ -f ./readline/Makefile ] || exit 0; \
24867 r=`${PWD_COMMAND}`; export r; \
24868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24869 $(HOST_EXPORTS) \
24870 for flag in $(EXTRA_HOST_FLAGS) ; do \
24871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24872 done; \
24873 echo "Doing dvi in readline" ; \
24874 (cd $(HOST_SUBDIR)/readline && \
24875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24877 "RANLIB=$${RANLIB}" \
24878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24879 dvi) \
24880 || exit 1
24882 @endif readline
24884 .PHONY: maybe-pdf-readline pdf-readline
24885 maybe-pdf-readline:
24886 @if readline
24887 maybe-pdf-readline: pdf-readline
24889 pdf-readline: \
24890 configure-readline
24891 @: $(MAKE); $(unstage)
24892 @[ -f ./readline/Makefile ] || exit 0; \
24893 r=`${PWD_COMMAND}`; export r; \
24894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24895 $(HOST_EXPORTS) \
24896 for flag in $(EXTRA_HOST_FLAGS) ; do \
24897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24898 done; \
24899 echo "Doing pdf in readline" ; \
24900 (cd $(HOST_SUBDIR)/readline && \
24901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24903 "RANLIB=$${RANLIB}" \
24904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24905 pdf) \
24906 || exit 1
24908 @endif readline
24910 .PHONY: maybe-html-readline html-readline
24911 maybe-html-readline:
24912 @if readline
24913 maybe-html-readline: html-readline
24915 html-readline: \
24916 configure-readline
24917 @: $(MAKE); $(unstage)
24918 @[ -f ./readline/Makefile ] || exit 0; \
24919 r=`${PWD_COMMAND}`; export r; \
24920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24921 $(HOST_EXPORTS) \
24922 for flag in $(EXTRA_HOST_FLAGS) ; do \
24923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24924 done; \
24925 echo "Doing html in readline" ; \
24926 (cd $(HOST_SUBDIR)/readline && \
24927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24929 "RANLIB=$${RANLIB}" \
24930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24931 html) \
24932 || exit 1
24934 @endif readline
24936 .PHONY: maybe-TAGS-readline TAGS-readline
24937 maybe-TAGS-readline:
24938 @if readline
24939 maybe-TAGS-readline: TAGS-readline
24941 TAGS-readline: \
24942 configure-readline
24943 @: $(MAKE); $(unstage)
24944 @[ -f ./readline/Makefile ] || exit 0; \
24945 r=`${PWD_COMMAND}`; export r; \
24946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24947 $(HOST_EXPORTS) \
24948 for flag in $(EXTRA_HOST_FLAGS) ; do \
24949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24950 done; \
24951 echo "Doing TAGS in readline" ; \
24952 (cd $(HOST_SUBDIR)/readline && \
24953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24955 "RANLIB=$${RANLIB}" \
24956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24957 TAGS) \
24958 || exit 1
24960 @endif readline
24962 .PHONY: maybe-install-info-readline install-info-readline
24963 maybe-install-info-readline:
24964 @if readline
24965 maybe-install-info-readline: install-info-readline
24967 install-info-readline: \
24968 configure-readline \
24969 info-readline
24970 @: $(MAKE); $(unstage)
24971 @[ -f ./readline/Makefile ] || exit 0; \
24972 r=`${PWD_COMMAND}`; export r; \
24973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24974 $(HOST_EXPORTS) \
24975 for flag in $(EXTRA_HOST_FLAGS) ; do \
24976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24977 done; \
24978 echo "Doing install-info in readline" ; \
24979 (cd $(HOST_SUBDIR)/readline && \
24980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24982 "RANLIB=$${RANLIB}" \
24983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24984 install-info) \
24985 || exit 1
24987 @endif readline
24989 .PHONY: maybe-install-pdf-readline install-pdf-readline
24990 maybe-install-pdf-readline:
24991 @if readline
24992 maybe-install-pdf-readline: install-pdf-readline
24994 install-pdf-readline: \
24995 configure-readline \
24996 pdf-readline
24997 @: $(MAKE); $(unstage)
24998 @[ -f ./readline/Makefile ] || exit 0; \
24999 r=`${PWD_COMMAND}`; export r; \
25000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25001 $(HOST_EXPORTS) \
25002 for flag in $(EXTRA_HOST_FLAGS) ; do \
25003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25004 done; \
25005 echo "Doing install-pdf in readline" ; \
25006 (cd $(HOST_SUBDIR)/readline && \
25007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25009 "RANLIB=$${RANLIB}" \
25010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25011 install-pdf) \
25012 || exit 1
25014 @endif readline
25016 .PHONY: maybe-install-html-readline install-html-readline
25017 maybe-install-html-readline:
25018 @if readline
25019 maybe-install-html-readline: install-html-readline
25021 install-html-readline: \
25022 configure-readline \
25023 html-readline
25024 @: $(MAKE); $(unstage)
25025 @[ -f ./readline/Makefile ] || exit 0; \
25026 r=`${PWD_COMMAND}`; export r; \
25027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25028 $(HOST_EXPORTS) \
25029 for flag in $(EXTRA_HOST_FLAGS) ; do \
25030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25031 done; \
25032 echo "Doing install-html in readline" ; \
25033 (cd $(HOST_SUBDIR)/readline && \
25034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25036 "RANLIB=$${RANLIB}" \
25037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25038 install-html) \
25039 || exit 1
25041 @endif readline
25043 .PHONY: maybe-installcheck-readline installcheck-readline
25044 maybe-installcheck-readline:
25045 @if readline
25046 maybe-installcheck-readline: installcheck-readline
25048 installcheck-readline: \
25049 configure-readline
25050 @: $(MAKE); $(unstage)
25051 @[ -f ./readline/Makefile ] || exit 0; \
25052 r=`${PWD_COMMAND}`; export r; \
25053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25054 $(HOST_EXPORTS) \
25055 for flag in $(EXTRA_HOST_FLAGS) ; do \
25056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25057 done; \
25058 echo "Doing installcheck in readline" ; \
25059 (cd $(HOST_SUBDIR)/readline && \
25060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25062 "RANLIB=$${RANLIB}" \
25063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25064 installcheck) \
25065 || exit 1
25067 @endif readline
25069 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
25070 maybe-mostlyclean-readline:
25071 @if readline
25072 maybe-mostlyclean-readline: mostlyclean-readline
25074 mostlyclean-readline:
25075 @: $(MAKE); $(unstage)
25076 @[ -f ./readline/Makefile ] || exit 0; \
25077 r=`${PWD_COMMAND}`; export r; \
25078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25079 $(HOST_EXPORTS) \
25080 for flag in $(EXTRA_HOST_FLAGS) ; do \
25081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25082 done; \
25083 echo "Doing mostlyclean in readline" ; \
25084 (cd $(HOST_SUBDIR)/readline && \
25085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25087 "RANLIB=$${RANLIB}" \
25088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25089 mostlyclean) \
25090 || exit 1
25092 @endif readline
25094 .PHONY: maybe-clean-readline clean-readline
25095 maybe-clean-readline:
25096 @if readline
25097 maybe-clean-readline: clean-readline
25099 clean-readline:
25100 @: $(MAKE); $(unstage)
25101 @[ -f ./readline/Makefile ] || exit 0; \
25102 r=`${PWD_COMMAND}`; export r; \
25103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25104 $(HOST_EXPORTS) \
25105 for flag in $(EXTRA_HOST_FLAGS) ; do \
25106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25107 done; \
25108 echo "Doing clean in readline" ; \
25109 (cd $(HOST_SUBDIR)/readline && \
25110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25112 "RANLIB=$${RANLIB}" \
25113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25114 clean) \
25115 || exit 1
25117 @endif readline
25119 .PHONY: maybe-distclean-readline distclean-readline
25120 maybe-distclean-readline:
25121 @if readline
25122 maybe-distclean-readline: distclean-readline
25124 distclean-readline:
25125 @: $(MAKE); $(unstage)
25126 @[ -f ./readline/Makefile ] || exit 0; \
25127 r=`${PWD_COMMAND}`; export r; \
25128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25129 $(HOST_EXPORTS) \
25130 for flag in $(EXTRA_HOST_FLAGS) ; do \
25131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25132 done; \
25133 echo "Doing distclean in readline" ; \
25134 (cd $(HOST_SUBDIR)/readline && \
25135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25137 "RANLIB=$${RANLIB}" \
25138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25139 distclean) \
25140 || exit 1
25142 @endif readline
25144 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
25145 maybe-maintainer-clean-readline:
25146 @if readline
25147 maybe-maintainer-clean-readline: maintainer-clean-readline
25149 maintainer-clean-readline:
25150 @: $(MAKE); $(unstage)
25151 @[ -f ./readline/Makefile ] || exit 0; \
25152 r=`${PWD_COMMAND}`; export r; \
25153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25154 $(HOST_EXPORTS) \
25155 for flag in $(EXTRA_HOST_FLAGS) ; do \
25156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25157 done; \
25158 echo "Doing maintainer-clean in readline" ; \
25159 (cd $(HOST_SUBDIR)/readline && \
25160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25162 "RANLIB=$${RANLIB}" \
25163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25164 maintainer-clean) \
25165 || exit 1
25167 @endif readline
25171 .PHONY: configure-sid maybe-configure-sid
25172 maybe-configure-sid:
25173 @if gcc-bootstrap
25174 configure-sid: stage_current
25175 @endif gcc-bootstrap
25176 @if sid
25177 maybe-configure-sid: configure-sid
25178 configure-sid:
25179 @: $(MAKE); $(unstage)
25180 @r=`${PWD_COMMAND}`; export r; \
25181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25182 test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
25183 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid ; \
25184 $(HOST_EXPORTS) \
25185 echo Configuring in $(HOST_SUBDIR)/sid; \
25186 cd "$(HOST_SUBDIR)/sid" || exit 1; \
25187 case $(srcdir) in \
25188 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25189 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
25190 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25191 esac; \
25192 srcdiroption="--srcdir=$${topdir}/sid"; \
25193 libsrcdir="$$s/sid"; \
25194 $(SHELL) $${libsrcdir}/configure \
25195 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25196 --target=${target_alias} $${srcdiroption} \
25197 || exit 1
25198 @endif sid
25204 .PHONY: all-sid maybe-all-sid
25205 maybe-all-sid:
25206 @if gcc-bootstrap
25207 all-sid: stage_current
25208 @endif gcc-bootstrap
25209 @if sid
25210 TARGET-sid=all
25211 maybe-all-sid: all-sid
25212 all-sid: configure-sid
25213 @: $(MAKE); $(unstage)
25214 @r=`${PWD_COMMAND}`; export r; \
25215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25216 $(HOST_EXPORTS) \
25217 (cd $(HOST_SUBDIR)/sid && \
25218 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
25219 $(TARGET-sid))
25220 @endif sid
25225 .PHONY: check-sid maybe-check-sid
25226 maybe-check-sid:
25227 @if sid
25228 maybe-check-sid: check-sid
25230 check-sid:
25231 @: $(MAKE); $(unstage)
25232 @r=`${PWD_COMMAND}`; export r; \
25233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25234 $(HOST_EXPORTS) \
25235 (cd $(HOST_SUBDIR)/sid && \
25236 $(MAKE) $(FLAGS_TO_PASS) check)
25238 @endif sid
25240 .PHONY: install-sid maybe-install-sid
25241 maybe-install-sid:
25242 @if sid
25243 maybe-install-sid: install-sid
25245 install-sid: installdirs
25246 @: $(MAKE); $(unstage)
25247 @r=`${PWD_COMMAND}`; export r; \
25248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25249 $(HOST_EXPORTS) \
25250 (cd $(HOST_SUBDIR)/sid && \
25251 $(MAKE) $(FLAGS_TO_PASS) install)
25253 @endif sid
25255 .PHONY: install-strip-sid maybe-install-strip-sid
25256 maybe-install-strip-sid:
25257 @if sid
25258 maybe-install-strip-sid: install-strip-sid
25260 install-strip-sid: installdirs
25261 @: $(MAKE); $(unstage)
25262 @r=`${PWD_COMMAND}`; export r; \
25263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25264 $(HOST_EXPORTS) \
25265 (cd $(HOST_SUBDIR)/sid && \
25266 $(MAKE) $(FLAGS_TO_PASS) install-strip)
25268 @endif sid
25270 # Other targets (info, dvi, pdf, etc.)
25272 .PHONY: maybe-info-sid info-sid
25273 maybe-info-sid:
25274 @if sid
25275 maybe-info-sid: info-sid
25277 info-sid: \
25278 configure-sid
25279 @: $(MAKE); $(unstage)
25280 @[ -f ./sid/Makefile ] || exit 0; \
25281 r=`${PWD_COMMAND}`; export r; \
25282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25283 $(HOST_EXPORTS) \
25284 for flag in $(EXTRA_HOST_FLAGS) ; do \
25285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25286 done; \
25287 echo "Doing info in sid" ; \
25288 (cd $(HOST_SUBDIR)/sid && \
25289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25291 "RANLIB=$${RANLIB}" \
25292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25293 info) \
25294 || exit 1
25296 @endif sid
25298 .PHONY: maybe-dvi-sid dvi-sid
25299 maybe-dvi-sid:
25300 @if sid
25301 maybe-dvi-sid: dvi-sid
25303 dvi-sid: \
25304 configure-sid
25305 @: $(MAKE); $(unstage)
25306 @[ -f ./sid/Makefile ] || exit 0; \
25307 r=`${PWD_COMMAND}`; export r; \
25308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25309 $(HOST_EXPORTS) \
25310 for flag in $(EXTRA_HOST_FLAGS) ; do \
25311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25312 done; \
25313 echo "Doing dvi in sid" ; \
25314 (cd $(HOST_SUBDIR)/sid && \
25315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25317 "RANLIB=$${RANLIB}" \
25318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25319 dvi) \
25320 || exit 1
25322 @endif sid
25324 .PHONY: maybe-pdf-sid pdf-sid
25325 maybe-pdf-sid:
25326 @if sid
25327 maybe-pdf-sid: pdf-sid
25329 pdf-sid: \
25330 configure-sid
25331 @: $(MAKE); $(unstage)
25332 @[ -f ./sid/Makefile ] || exit 0; \
25333 r=`${PWD_COMMAND}`; export r; \
25334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25335 $(HOST_EXPORTS) \
25336 for flag in $(EXTRA_HOST_FLAGS) ; do \
25337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25338 done; \
25339 echo "Doing pdf in sid" ; \
25340 (cd $(HOST_SUBDIR)/sid && \
25341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25343 "RANLIB=$${RANLIB}" \
25344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25345 pdf) \
25346 || exit 1
25348 @endif sid
25350 .PHONY: maybe-html-sid html-sid
25351 maybe-html-sid:
25352 @if sid
25353 maybe-html-sid: html-sid
25355 html-sid: \
25356 configure-sid
25357 @: $(MAKE); $(unstage)
25358 @[ -f ./sid/Makefile ] || exit 0; \
25359 r=`${PWD_COMMAND}`; export r; \
25360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25361 $(HOST_EXPORTS) \
25362 for flag in $(EXTRA_HOST_FLAGS) ; do \
25363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25364 done; \
25365 echo "Doing html in sid" ; \
25366 (cd $(HOST_SUBDIR)/sid && \
25367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25369 "RANLIB=$${RANLIB}" \
25370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25371 html) \
25372 || exit 1
25374 @endif sid
25376 .PHONY: maybe-TAGS-sid TAGS-sid
25377 maybe-TAGS-sid:
25378 @if sid
25379 maybe-TAGS-sid: TAGS-sid
25381 TAGS-sid: \
25382 configure-sid
25383 @: $(MAKE); $(unstage)
25384 @[ -f ./sid/Makefile ] || exit 0; \
25385 r=`${PWD_COMMAND}`; export r; \
25386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25387 $(HOST_EXPORTS) \
25388 for flag in $(EXTRA_HOST_FLAGS) ; do \
25389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25390 done; \
25391 echo "Doing TAGS in sid" ; \
25392 (cd $(HOST_SUBDIR)/sid && \
25393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25395 "RANLIB=$${RANLIB}" \
25396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25397 TAGS) \
25398 || exit 1
25400 @endif sid
25402 .PHONY: maybe-install-info-sid install-info-sid
25403 maybe-install-info-sid:
25404 @if sid
25405 maybe-install-info-sid: install-info-sid
25407 install-info-sid: \
25408 configure-sid \
25409 info-sid
25410 @: $(MAKE); $(unstage)
25411 @[ -f ./sid/Makefile ] || exit 0; \
25412 r=`${PWD_COMMAND}`; export r; \
25413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25414 $(HOST_EXPORTS) \
25415 for flag in $(EXTRA_HOST_FLAGS) ; do \
25416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25417 done; \
25418 echo "Doing install-info in sid" ; \
25419 (cd $(HOST_SUBDIR)/sid && \
25420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25422 "RANLIB=$${RANLIB}" \
25423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25424 install-info) \
25425 || exit 1
25427 @endif sid
25429 .PHONY: maybe-install-pdf-sid install-pdf-sid
25430 maybe-install-pdf-sid:
25431 @if sid
25432 maybe-install-pdf-sid: install-pdf-sid
25434 install-pdf-sid: \
25435 configure-sid \
25436 pdf-sid
25437 @: $(MAKE); $(unstage)
25438 @[ -f ./sid/Makefile ] || exit 0; \
25439 r=`${PWD_COMMAND}`; export r; \
25440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25441 $(HOST_EXPORTS) \
25442 for flag in $(EXTRA_HOST_FLAGS) ; do \
25443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25444 done; \
25445 echo "Doing install-pdf in sid" ; \
25446 (cd $(HOST_SUBDIR)/sid && \
25447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25449 "RANLIB=$${RANLIB}" \
25450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25451 install-pdf) \
25452 || exit 1
25454 @endif sid
25456 .PHONY: maybe-install-html-sid install-html-sid
25457 maybe-install-html-sid:
25458 @if sid
25459 maybe-install-html-sid: install-html-sid
25461 install-html-sid: \
25462 configure-sid \
25463 html-sid
25464 @: $(MAKE); $(unstage)
25465 @[ -f ./sid/Makefile ] || exit 0; \
25466 r=`${PWD_COMMAND}`; export r; \
25467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25468 $(HOST_EXPORTS) \
25469 for flag in $(EXTRA_HOST_FLAGS) ; do \
25470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25471 done; \
25472 echo "Doing install-html in sid" ; \
25473 (cd $(HOST_SUBDIR)/sid && \
25474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25476 "RANLIB=$${RANLIB}" \
25477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25478 install-html) \
25479 || exit 1
25481 @endif sid
25483 .PHONY: maybe-installcheck-sid installcheck-sid
25484 maybe-installcheck-sid:
25485 @if sid
25486 maybe-installcheck-sid: installcheck-sid
25488 installcheck-sid: \
25489 configure-sid
25490 @: $(MAKE); $(unstage)
25491 @[ -f ./sid/Makefile ] || exit 0; \
25492 r=`${PWD_COMMAND}`; export r; \
25493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25494 $(HOST_EXPORTS) \
25495 for flag in $(EXTRA_HOST_FLAGS) ; do \
25496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25497 done; \
25498 echo "Doing installcheck in sid" ; \
25499 (cd $(HOST_SUBDIR)/sid && \
25500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25502 "RANLIB=$${RANLIB}" \
25503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25504 installcheck) \
25505 || exit 1
25507 @endif sid
25509 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
25510 maybe-mostlyclean-sid:
25511 @if sid
25512 maybe-mostlyclean-sid: mostlyclean-sid
25514 mostlyclean-sid:
25515 @: $(MAKE); $(unstage)
25516 @[ -f ./sid/Makefile ] || exit 0; \
25517 r=`${PWD_COMMAND}`; export r; \
25518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25519 $(HOST_EXPORTS) \
25520 for flag in $(EXTRA_HOST_FLAGS) ; do \
25521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25522 done; \
25523 echo "Doing mostlyclean in sid" ; \
25524 (cd $(HOST_SUBDIR)/sid && \
25525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25527 "RANLIB=$${RANLIB}" \
25528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25529 mostlyclean) \
25530 || exit 1
25532 @endif sid
25534 .PHONY: maybe-clean-sid clean-sid
25535 maybe-clean-sid:
25536 @if sid
25537 maybe-clean-sid: clean-sid
25539 clean-sid:
25540 @: $(MAKE); $(unstage)
25541 @[ -f ./sid/Makefile ] || exit 0; \
25542 r=`${PWD_COMMAND}`; export r; \
25543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25544 $(HOST_EXPORTS) \
25545 for flag in $(EXTRA_HOST_FLAGS) ; do \
25546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25547 done; \
25548 echo "Doing clean in sid" ; \
25549 (cd $(HOST_SUBDIR)/sid && \
25550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25552 "RANLIB=$${RANLIB}" \
25553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25554 clean) \
25555 || exit 1
25557 @endif sid
25559 .PHONY: maybe-distclean-sid distclean-sid
25560 maybe-distclean-sid:
25561 @if sid
25562 maybe-distclean-sid: distclean-sid
25564 distclean-sid:
25565 @: $(MAKE); $(unstage)
25566 @[ -f ./sid/Makefile ] || exit 0; \
25567 r=`${PWD_COMMAND}`; export r; \
25568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25569 $(HOST_EXPORTS) \
25570 for flag in $(EXTRA_HOST_FLAGS) ; do \
25571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25572 done; \
25573 echo "Doing distclean in sid" ; \
25574 (cd $(HOST_SUBDIR)/sid && \
25575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25577 "RANLIB=$${RANLIB}" \
25578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25579 distclean) \
25580 || exit 1
25582 @endif sid
25584 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
25585 maybe-maintainer-clean-sid:
25586 @if sid
25587 maybe-maintainer-clean-sid: maintainer-clean-sid
25589 maintainer-clean-sid:
25590 @: $(MAKE); $(unstage)
25591 @[ -f ./sid/Makefile ] || exit 0; \
25592 r=`${PWD_COMMAND}`; export r; \
25593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25594 $(HOST_EXPORTS) \
25595 for flag in $(EXTRA_HOST_FLAGS) ; do \
25596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25597 done; \
25598 echo "Doing maintainer-clean in sid" ; \
25599 (cd $(HOST_SUBDIR)/sid && \
25600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25602 "RANLIB=$${RANLIB}" \
25603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25604 maintainer-clean) \
25605 || exit 1
25607 @endif sid
25611 .PHONY: configure-sim maybe-configure-sim
25612 maybe-configure-sim:
25613 @if gcc-bootstrap
25614 configure-sim: stage_current
25615 @endif gcc-bootstrap
25616 @if sim
25617 maybe-configure-sim: configure-sim
25618 configure-sim:
25619 @: $(MAKE); $(unstage)
25620 @r=`${PWD_COMMAND}`; export r; \
25621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25622 test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
25623 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim ; \
25624 $(HOST_EXPORTS) \
25625 echo Configuring in $(HOST_SUBDIR)/sim; \
25626 cd "$(HOST_SUBDIR)/sim" || exit 1; \
25627 case $(srcdir) in \
25628 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25629 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
25630 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25631 esac; \
25632 srcdiroption="--srcdir=$${topdir}/sim"; \
25633 libsrcdir="$$s/sim"; \
25634 $(SHELL) $${libsrcdir}/configure \
25635 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25636 --target=${target_alias} $${srcdiroption} \
25637 || exit 1
25638 @endif sim
25644 .PHONY: all-sim maybe-all-sim
25645 maybe-all-sim:
25646 @if gcc-bootstrap
25647 all-sim: stage_current
25648 @endif gcc-bootstrap
25649 @if sim
25650 TARGET-sim=all
25651 maybe-all-sim: all-sim
25652 all-sim: configure-sim
25653 @: $(MAKE); $(unstage)
25654 @r=`${PWD_COMMAND}`; export r; \
25655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25656 $(HOST_EXPORTS) \
25657 (cd $(HOST_SUBDIR)/sim && \
25658 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
25659 $(TARGET-sim))
25660 @endif sim
25665 .PHONY: check-sim maybe-check-sim
25666 maybe-check-sim:
25667 @if sim
25668 maybe-check-sim: check-sim
25670 check-sim:
25671 @: $(MAKE); $(unstage)
25672 @r=`${PWD_COMMAND}`; export r; \
25673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25674 $(HOST_EXPORTS) \
25675 (cd $(HOST_SUBDIR)/sim && \
25676 $(MAKE) $(FLAGS_TO_PASS) check)
25678 @endif sim
25680 .PHONY: install-sim maybe-install-sim
25681 maybe-install-sim:
25682 @if sim
25683 maybe-install-sim: install-sim
25685 install-sim: installdirs
25686 @: $(MAKE); $(unstage)
25687 @r=`${PWD_COMMAND}`; export r; \
25688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25689 $(HOST_EXPORTS) \
25690 (cd $(HOST_SUBDIR)/sim && \
25691 $(MAKE) $(FLAGS_TO_PASS) install)
25693 @endif sim
25695 .PHONY: install-strip-sim maybe-install-strip-sim
25696 maybe-install-strip-sim:
25697 @if sim
25698 maybe-install-strip-sim: install-strip-sim
25700 install-strip-sim: installdirs
25701 @: $(MAKE); $(unstage)
25702 @r=`${PWD_COMMAND}`; export r; \
25703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25704 $(HOST_EXPORTS) \
25705 (cd $(HOST_SUBDIR)/sim && \
25706 $(MAKE) $(FLAGS_TO_PASS) install-strip)
25708 @endif sim
25710 # Other targets (info, dvi, pdf, etc.)
25712 .PHONY: maybe-info-sim info-sim
25713 maybe-info-sim:
25714 @if sim
25715 maybe-info-sim: info-sim
25717 info-sim: \
25718 configure-sim
25719 @: $(MAKE); $(unstage)
25720 @[ -f ./sim/Makefile ] || exit 0; \
25721 r=`${PWD_COMMAND}`; export r; \
25722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25723 $(HOST_EXPORTS) \
25724 for flag in $(EXTRA_HOST_FLAGS) ; do \
25725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25726 done; \
25727 echo "Doing info in sim" ; \
25728 (cd $(HOST_SUBDIR)/sim && \
25729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25731 "RANLIB=$${RANLIB}" \
25732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25733 info) \
25734 || exit 1
25736 @endif sim
25738 .PHONY: maybe-dvi-sim dvi-sim
25739 maybe-dvi-sim:
25740 @if sim
25741 maybe-dvi-sim: dvi-sim
25743 dvi-sim: \
25744 configure-sim
25745 @: $(MAKE); $(unstage)
25746 @[ -f ./sim/Makefile ] || exit 0; \
25747 r=`${PWD_COMMAND}`; export r; \
25748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25749 $(HOST_EXPORTS) \
25750 for flag in $(EXTRA_HOST_FLAGS) ; do \
25751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25752 done; \
25753 echo "Doing dvi in sim" ; \
25754 (cd $(HOST_SUBDIR)/sim && \
25755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25757 "RANLIB=$${RANLIB}" \
25758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25759 dvi) \
25760 || exit 1
25762 @endif sim
25764 .PHONY: maybe-pdf-sim pdf-sim
25765 maybe-pdf-sim:
25766 @if sim
25767 maybe-pdf-sim: pdf-sim
25769 pdf-sim: \
25770 configure-sim
25771 @: $(MAKE); $(unstage)
25772 @[ -f ./sim/Makefile ] || exit 0; \
25773 r=`${PWD_COMMAND}`; export r; \
25774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25775 $(HOST_EXPORTS) \
25776 for flag in $(EXTRA_HOST_FLAGS) ; do \
25777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25778 done; \
25779 echo "Doing pdf in sim" ; \
25780 (cd $(HOST_SUBDIR)/sim && \
25781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25783 "RANLIB=$${RANLIB}" \
25784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25785 pdf) \
25786 || exit 1
25788 @endif sim
25790 .PHONY: maybe-html-sim html-sim
25791 maybe-html-sim:
25792 @if sim
25793 maybe-html-sim: html-sim
25795 html-sim: \
25796 configure-sim
25797 @: $(MAKE); $(unstage)
25798 @[ -f ./sim/Makefile ] || exit 0; \
25799 r=`${PWD_COMMAND}`; export r; \
25800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25801 $(HOST_EXPORTS) \
25802 for flag in $(EXTRA_HOST_FLAGS) ; do \
25803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25804 done; \
25805 echo "Doing html in sim" ; \
25806 (cd $(HOST_SUBDIR)/sim && \
25807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25809 "RANLIB=$${RANLIB}" \
25810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25811 html) \
25812 || exit 1
25814 @endif sim
25816 .PHONY: maybe-TAGS-sim TAGS-sim
25817 maybe-TAGS-sim:
25818 @if sim
25819 maybe-TAGS-sim: TAGS-sim
25821 TAGS-sim: \
25822 configure-sim
25823 @: $(MAKE); $(unstage)
25824 @[ -f ./sim/Makefile ] || exit 0; \
25825 r=`${PWD_COMMAND}`; export r; \
25826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25827 $(HOST_EXPORTS) \
25828 for flag in $(EXTRA_HOST_FLAGS) ; do \
25829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25830 done; \
25831 echo "Doing TAGS in sim" ; \
25832 (cd $(HOST_SUBDIR)/sim && \
25833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25835 "RANLIB=$${RANLIB}" \
25836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25837 TAGS) \
25838 || exit 1
25840 @endif sim
25842 .PHONY: maybe-install-info-sim install-info-sim
25843 maybe-install-info-sim:
25844 @if sim
25845 maybe-install-info-sim: install-info-sim
25847 install-info-sim: \
25848 configure-sim \
25849 info-sim
25850 @: $(MAKE); $(unstage)
25851 @[ -f ./sim/Makefile ] || exit 0; \
25852 r=`${PWD_COMMAND}`; export r; \
25853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25854 $(HOST_EXPORTS) \
25855 for flag in $(EXTRA_HOST_FLAGS) ; do \
25856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25857 done; \
25858 echo "Doing install-info in sim" ; \
25859 (cd $(HOST_SUBDIR)/sim && \
25860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25862 "RANLIB=$${RANLIB}" \
25863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25864 install-info) \
25865 || exit 1
25867 @endif sim
25869 .PHONY: maybe-install-pdf-sim install-pdf-sim
25870 maybe-install-pdf-sim:
25871 @if sim
25872 maybe-install-pdf-sim: install-pdf-sim
25874 install-pdf-sim: \
25875 configure-sim \
25876 pdf-sim
25877 @: $(MAKE); $(unstage)
25878 @[ -f ./sim/Makefile ] || exit 0; \
25879 r=`${PWD_COMMAND}`; export r; \
25880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25881 $(HOST_EXPORTS) \
25882 for flag in $(EXTRA_HOST_FLAGS) ; do \
25883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25884 done; \
25885 echo "Doing install-pdf in sim" ; \
25886 (cd $(HOST_SUBDIR)/sim && \
25887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25889 "RANLIB=$${RANLIB}" \
25890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25891 install-pdf) \
25892 || exit 1
25894 @endif sim
25896 .PHONY: maybe-install-html-sim install-html-sim
25897 maybe-install-html-sim:
25898 @if sim
25899 maybe-install-html-sim: install-html-sim
25901 install-html-sim: \
25902 configure-sim \
25903 html-sim
25904 @: $(MAKE); $(unstage)
25905 @[ -f ./sim/Makefile ] || exit 0; \
25906 r=`${PWD_COMMAND}`; export r; \
25907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25908 $(HOST_EXPORTS) \
25909 for flag in $(EXTRA_HOST_FLAGS) ; do \
25910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25911 done; \
25912 echo "Doing install-html in sim" ; \
25913 (cd $(HOST_SUBDIR)/sim && \
25914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25916 "RANLIB=$${RANLIB}" \
25917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25918 install-html) \
25919 || exit 1
25921 @endif sim
25923 .PHONY: maybe-installcheck-sim installcheck-sim
25924 maybe-installcheck-sim:
25925 @if sim
25926 maybe-installcheck-sim: installcheck-sim
25928 installcheck-sim: \
25929 configure-sim
25930 @: $(MAKE); $(unstage)
25931 @[ -f ./sim/Makefile ] || exit 0; \
25932 r=`${PWD_COMMAND}`; export r; \
25933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25934 $(HOST_EXPORTS) \
25935 for flag in $(EXTRA_HOST_FLAGS) ; do \
25936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25937 done; \
25938 echo "Doing installcheck in sim" ; \
25939 (cd $(HOST_SUBDIR)/sim && \
25940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25942 "RANLIB=$${RANLIB}" \
25943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25944 installcheck) \
25945 || exit 1
25947 @endif sim
25949 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
25950 maybe-mostlyclean-sim:
25951 @if sim
25952 maybe-mostlyclean-sim: mostlyclean-sim
25954 mostlyclean-sim:
25955 @: $(MAKE); $(unstage)
25956 @[ -f ./sim/Makefile ] || exit 0; \
25957 r=`${PWD_COMMAND}`; export r; \
25958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25959 $(HOST_EXPORTS) \
25960 for flag in $(EXTRA_HOST_FLAGS) ; do \
25961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25962 done; \
25963 echo "Doing mostlyclean in sim" ; \
25964 (cd $(HOST_SUBDIR)/sim && \
25965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25967 "RANLIB=$${RANLIB}" \
25968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25969 mostlyclean) \
25970 || exit 1
25972 @endif sim
25974 .PHONY: maybe-clean-sim clean-sim
25975 maybe-clean-sim:
25976 @if sim
25977 maybe-clean-sim: clean-sim
25979 clean-sim:
25980 @: $(MAKE); $(unstage)
25981 @[ -f ./sim/Makefile ] || exit 0; \
25982 r=`${PWD_COMMAND}`; export r; \
25983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25984 $(HOST_EXPORTS) \
25985 for flag in $(EXTRA_HOST_FLAGS) ; do \
25986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25987 done; \
25988 echo "Doing clean in sim" ; \
25989 (cd $(HOST_SUBDIR)/sim && \
25990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25992 "RANLIB=$${RANLIB}" \
25993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25994 clean) \
25995 || exit 1
25997 @endif sim
25999 .PHONY: maybe-distclean-sim distclean-sim
26000 maybe-distclean-sim:
26001 @if sim
26002 maybe-distclean-sim: distclean-sim
26004 distclean-sim:
26005 @: $(MAKE); $(unstage)
26006 @[ -f ./sim/Makefile ] || exit 0; \
26007 r=`${PWD_COMMAND}`; export r; \
26008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26009 $(HOST_EXPORTS) \
26010 for flag in $(EXTRA_HOST_FLAGS) ; do \
26011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26012 done; \
26013 echo "Doing distclean in sim" ; \
26014 (cd $(HOST_SUBDIR)/sim && \
26015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26017 "RANLIB=$${RANLIB}" \
26018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26019 distclean) \
26020 || exit 1
26022 @endif sim
26024 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
26025 maybe-maintainer-clean-sim:
26026 @if sim
26027 maybe-maintainer-clean-sim: maintainer-clean-sim
26029 maintainer-clean-sim:
26030 @: $(MAKE); $(unstage)
26031 @[ -f ./sim/Makefile ] || exit 0; \
26032 r=`${PWD_COMMAND}`; export r; \
26033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26034 $(HOST_EXPORTS) \
26035 for flag in $(EXTRA_HOST_FLAGS) ; do \
26036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26037 done; \
26038 echo "Doing maintainer-clean in sim" ; \
26039 (cd $(HOST_SUBDIR)/sim && \
26040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26042 "RANLIB=$${RANLIB}" \
26043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26044 maintainer-clean) \
26045 || exit 1
26047 @endif sim
26051 .PHONY: configure-texinfo maybe-configure-texinfo
26052 maybe-configure-texinfo:
26053 @if gcc-bootstrap
26054 configure-texinfo: stage_current
26055 @endif gcc-bootstrap
26056 @if texinfo
26057 maybe-configure-texinfo: configure-texinfo
26058 configure-texinfo:
26059 @: $(MAKE); $(unstage)
26060 @r=`${PWD_COMMAND}`; export r; \
26061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26062 test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
26063 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo ; \
26064 $(HOST_EXPORTS) \
26065 echo Configuring in $(HOST_SUBDIR)/texinfo; \
26066 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
26067 case $(srcdir) in \
26068 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26069 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
26070 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26071 esac; \
26072 srcdiroption="--srcdir=$${topdir}/texinfo"; \
26073 libsrcdir="$$s/texinfo"; \
26074 $(SHELL) $${libsrcdir}/configure \
26075 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26076 --target=${target_alias} $${srcdiroption} \
26077 || exit 1
26078 @endif texinfo
26084 .PHONY: all-texinfo maybe-all-texinfo
26085 maybe-all-texinfo:
26086 @if gcc-bootstrap
26087 all-texinfo: stage_current
26088 @endif gcc-bootstrap
26089 @if texinfo
26090 TARGET-texinfo=all
26091 maybe-all-texinfo: all-texinfo
26092 all-texinfo: configure-texinfo
26093 @: $(MAKE); $(unstage)
26094 @r=`${PWD_COMMAND}`; export r; \
26095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26096 $(HOST_EXPORTS) \
26097 (cd $(HOST_SUBDIR)/texinfo && \
26098 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
26099 $(TARGET-texinfo))
26100 @endif texinfo
26105 .PHONY: check-texinfo maybe-check-texinfo
26106 maybe-check-texinfo:
26107 @if texinfo
26108 maybe-check-texinfo: check-texinfo
26110 check-texinfo:
26111 @: $(MAKE); $(unstage)
26112 @r=`${PWD_COMMAND}`; export r; \
26113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26114 $(HOST_EXPORTS) \
26115 (cd $(HOST_SUBDIR)/texinfo && \
26116 $(MAKE) $(FLAGS_TO_PASS) check)
26118 @endif texinfo
26120 .PHONY: install-texinfo maybe-install-texinfo
26121 maybe-install-texinfo:
26122 @if texinfo
26123 maybe-install-texinfo: install-texinfo
26125 install-texinfo:
26127 @endif texinfo
26129 .PHONY: install-strip-texinfo maybe-install-strip-texinfo
26130 maybe-install-strip-texinfo:
26131 @if texinfo
26132 maybe-install-strip-texinfo: install-strip-texinfo
26134 install-strip-texinfo:
26136 @endif texinfo
26138 # Other targets (info, dvi, pdf, etc.)
26140 .PHONY: maybe-info-texinfo info-texinfo
26141 maybe-info-texinfo:
26142 @if texinfo
26143 maybe-info-texinfo: info-texinfo
26145 info-texinfo: \
26146 configure-texinfo
26147 @: $(MAKE); $(unstage)
26148 @[ -f ./texinfo/Makefile ] || exit 0; \
26149 r=`${PWD_COMMAND}`; export r; \
26150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26151 $(HOST_EXPORTS) \
26152 for flag in $(EXTRA_HOST_FLAGS) ; do \
26153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26154 done; \
26155 echo "Doing info in texinfo" ; \
26156 (cd $(HOST_SUBDIR)/texinfo && \
26157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26159 "RANLIB=$${RANLIB}" \
26160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26161 info) \
26162 || exit 1
26164 @endif texinfo
26166 .PHONY: maybe-dvi-texinfo dvi-texinfo
26167 maybe-dvi-texinfo:
26168 @if texinfo
26169 maybe-dvi-texinfo: dvi-texinfo
26171 dvi-texinfo: \
26172 configure-texinfo
26173 @: $(MAKE); $(unstage)
26174 @[ -f ./texinfo/Makefile ] || exit 0; \
26175 r=`${PWD_COMMAND}`; export r; \
26176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26177 $(HOST_EXPORTS) \
26178 for flag in $(EXTRA_HOST_FLAGS) ; do \
26179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26180 done; \
26181 echo "Doing dvi in texinfo" ; \
26182 (cd $(HOST_SUBDIR)/texinfo && \
26183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26185 "RANLIB=$${RANLIB}" \
26186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26187 dvi) \
26188 || exit 1
26190 @endif texinfo
26192 .PHONY: maybe-pdf-texinfo pdf-texinfo
26193 maybe-pdf-texinfo:
26194 @if texinfo
26195 maybe-pdf-texinfo: pdf-texinfo
26197 pdf-texinfo: \
26198 configure-texinfo
26199 @: $(MAKE); $(unstage)
26200 @[ -f ./texinfo/Makefile ] || exit 0; \
26201 r=`${PWD_COMMAND}`; export r; \
26202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26203 $(HOST_EXPORTS) \
26204 for flag in $(EXTRA_HOST_FLAGS) ; do \
26205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26206 done; \
26207 echo "Doing pdf in texinfo" ; \
26208 (cd $(HOST_SUBDIR)/texinfo && \
26209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26211 "RANLIB=$${RANLIB}" \
26212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26213 pdf) \
26214 || exit 1
26216 @endif texinfo
26218 .PHONY: maybe-html-texinfo html-texinfo
26219 maybe-html-texinfo:
26220 @if texinfo
26221 maybe-html-texinfo: html-texinfo
26223 html-texinfo: \
26224 configure-texinfo
26225 @: $(MAKE); $(unstage)
26226 @[ -f ./texinfo/Makefile ] || exit 0; \
26227 r=`${PWD_COMMAND}`; export r; \
26228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26229 $(HOST_EXPORTS) \
26230 for flag in $(EXTRA_HOST_FLAGS) ; do \
26231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26232 done; \
26233 echo "Doing html in texinfo" ; \
26234 (cd $(HOST_SUBDIR)/texinfo && \
26235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26237 "RANLIB=$${RANLIB}" \
26238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26239 html) \
26240 || exit 1
26242 @endif texinfo
26244 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
26245 maybe-TAGS-texinfo:
26246 @if texinfo
26247 maybe-TAGS-texinfo: TAGS-texinfo
26249 TAGS-texinfo: \
26250 configure-texinfo
26251 @: $(MAKE); $(unstage)
26252 @[ -f ./texinfo/Makefile ] || exit 0; \
26253 r=`${PWD_COMMAND}`; export r; \
26254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26255 $(HOST_EXPORTS) \
26256 for flag in $(EXTRA_HOST_FLAGS) ; do \
26257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26258 done; \
26259 echo "Doing TAGS in texinfo" ; \
26260 (cd $(HOST_SUBDIR)/texinfo && \
26261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26263 "RANLIB=$${RANLIB}" \
26264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26265 TAGS) \
26266 || exit 1
26268 @endif texinfo
26270 .PHONY: maybe-install-info-texinfo install-info-texinfo
26271 maybe-install-info-texinfo:
26272 @if texinfo
26273 maybe-install-info-texinfo: install-info-texinfo
26275 install-info-texinfo: \
26276 configure-texinfo \
26277 info-texinfo
26278 @: $(MAKE); $(unstage)
26279 @[ -f ./texinfo/Makefile ] || exit 0; \
26280 r=`${PWD_COMMAND}`; export r; \
26281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26282 $(HOST_EXPORTS) \
26283 for flag in $(EXTRA_HOST_FLAGS) ; do \
26284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26285 done; \
26286 echo "Doing install-info in texinfo" ; \
26287 (cd $(HOST_SUBDIR)/texinfo && \
26288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26290 "RANLIB=$${RANLIB}" \
26291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26292 install-info) \
26293 || exit 1
26295 @endif texinfo
26297 .PHONY: maybe-install-pdf-texinfo install-pdf-texinfo
26298 maybe-install-pdf-texinfo:
26299 @if texinfo
26300 maybe-install-pdf-texinfo: install-pdf-texinfo
26302 install-pdf-texinfo: \
26303 configure-texinfo \
26304 pdf-texinfo
26305 @: $(MAKE); $(unstage)
26306 @[ -f ./texinfo/Makefile ] || exit 0; \
26307 r=`${PWD_COMMAND}`; export r; \
26308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26309 $(HOST_EXPORTS) \
26310 for flag in $(EXTRA_HOST_FLAGS) ; do \
26311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26312 done; \
26313 echo "Doing install-pdf in texinfo" ; \
26314 (cd $(HOST_SUBDIR)/texinfo && \
26315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26317 "RANLIB=$${RANLIB}" \
26318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26319 install-pdf) \
26320 || exit 1
26322 @endif texinfo
26324 .PHONY: maybe-install-html-texinfo install-html-texinfo
26325 maybe-install-html-texinfo:
26326 @if texinfo
26327 maybe-install-html-texinfo: install-html-texinfo
26329 install-html-texinfo: \
26330 configure-texinfo \
26331 html-texinfo
26332 @: $(MAKE); $(unstage)
26333 @[ -f ./texinfo/Makefile ] || exit 0; \
26334 r=`${PWD_COMMAND}`; export r; \
26335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26336 $(HOST_EXPORTS) \
26337 for flag in $(EXTRA_HOST_FLAGS) ; do \
26338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26339 done; \
26340 echo "Doing install-html in texinfo" ; \
26341 (cd $(HOST_SUBDIR)/texinfo && \
26342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26344 "RANLIB=$${RANLIB}" \
26345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26346 install-html) \
26347 || exit 1
26349 @endif texinfo
26351 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
26352 maybe-installcheck-texinfo:
26353 @if texinfo
26354 maybe-installcheck-texinfo: installcheck-texinfo
26356 installcheck-texinfo: \
26357 configure-texinfo
26358 @: $(MAKE); $(unstage)
26359 @[ -f ./texinfo/Makefile ] || exit 0; \
26360 r=`${PWD_COMMAND}`; export r; \
26361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26362 $(HOST_EXPORTS) \
26363 for flag in $(EXTRA_HOST_FLAGS) ; do \
26364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26365 done; \
26366 echo "Doing installcheck in texinfo" ; \
26367 (cd $(HOST_SUBDIR)/texinfo && \
26368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26370 "RANLIB=$${RANLIB}" \
26371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26372 installcheck) \
26373 || exit 1
26375 @endif texinfo
26377 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
26378 maybe-mostlyclean-texinfo:
26379 @if texinfo
26380 maybe-mostlyclean-texinfo: mostlyclean-texinfo
26382 mostlyclean-texinfo:
26383 @: $(MAKE); $(unstage)
26384 @[ -f ./texinfo/Makefile ] || exit 0; \
26385 r=`${PWD_COMMAND}`; export r; \
26386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26387 $(HOST_EXPORTS) \
26388 for flag in $(EXTRA_HOST_FLAGS) ; do \
26389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26390 done; \
26391 echo "Doing mostlyclean in texinfo" ; \
26392 (cd $(HOST_SUBDIR)/texinfo && \
26393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26395 "RANLIB=$${RANLIB}" \
26396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26397 mostlyclean) \
26398 || exit 1
26400 @endif texinfo
26402 .PHONY: maybe-clean-texinfo clean-texinfo
26403 maybe-clean-texinfo:
26404 @if texinfo
26405 maybe-clean-texinfo: clean-texinfo
26407 clean-texinfo:
26408 @: $(MAKE); $(unstage)
26409 @[ -f ./texinfo/Makefile ] || exit 0; \
26410 r=`${PWD_COMMAND}`; export r; \
26411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26412 $(HOST_EXPORTS) \
26413 for flag in $(EXTRA_HOST_FLAGS) ; do \
26414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26415 done; \
26416 echo "Doing clean in texinfo" ; \
26417 (cd $(HOST_SUBDIR)/texinfo && \
26418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26420 "RANLIB=$${RANLIB}" \
26421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26422 clean) \
26423 || exit 1
26425 @endif texinfo
26427 .PHONY: maybe-distclean-texinfo distclean-texinfo
26428 maybe-distclean-texinfo:
26429 @if texinfo
26430 maybe-distclean-texinfo: distclean-texinfo
26432 distclean-texinfo:
26433 @: $(MAKE); $(unstage)
26434 @[ -f ./texinfo/Makefile ] || exit 0; \
26435 r=`${PWD_COMMAND}`; export r; \
26436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26437 $(HOST_EXPORTS) \
26438 for flag in $(EXTRA_HOST_FLAGS) ; do \
26439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26440 done; \
26441 echo "Doing distclean in texinfo" ; \
26442 (cd $(HOST_SUBDIR)/texinfo && \
26443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26445 "RANLIB=$${RANLIB}" \
26446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26447 distclean) \
26448 || exit 1
26450 @endif texinfo
26452 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
26453 maybe-maintainer-clean-texinfo:
26454 @if texinfo
26455 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
26457 maintainer-clean-texinfo:
26458 @: $(MAKE); $(unstage)
26459 @[ -f ./texinfo/Makefile ] || exit 0; \
26460 r=`${PWD_COMMAND}`; export r; \
26461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26462 $(HOST_EXPORTS) \
26463 for flag in $(EXTRA_HOST_FLAGS) ; do \
26464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26465 done; \
26466 echo "Doing maintainer-clean in texinfo" ; \
26467 (cd $(HOST_SUBDIR)/texinfo && \
26468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26470 "RANLIB=$${RANLIB}" \
26471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26472 maintainer-clean) \
26473 || exit 1
26475 @endif texinfo
26479 .PHONY: configure-zlib maybe-configure-zlib
26480 maybe-configure-zlib:
26481 @if gcc-bootstrap
26482 configure-zlib: stage_current
26483 @endif gcc-bootstrap
26484 @if zlib
26485 maybe-configure-zlib: configure-zlib
26486 configure-zlib:
26487 @r=`${PWD_COMMAND}`; export r; \
26488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26489 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26490 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26491 $(HOST_EXPORTS) \
26492 echo Configuring in $(HOST_SUBDIR)/zlib; \
26493 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
26494 case $(srcdir) in \
26495 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26496 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26497 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26498 esac; \
26499 srcdiroption="--srcdir=$${topdir}/zlib"; \
26500 libsrcdir="$$s/zlib"; \
26501 $(SHELL) $${libsrcdir}/configure \
26502 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26503 --target=${target_alias} $${srcdiroption} \
26504 || exit 1
26505 @endif zlib
26509 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
26510 maybe-configure-stage1-zlib:
26511 @if zlib-bootstrap
26512 maybe-configure-stage1-zlib: configure-stage1-zlib
26513 configure-stage1-zlib:
26514 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
26515 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26516 @r=`${PWD_COMMAND}`; export r; \
26517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26518 TFLAGS="$(STAGE1_TFLAGS)"; \
26519 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26520 $(HOST_EXPORTS) \
26521 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
26522 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
26523 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
26524 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib ; \
26525 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26526 cd $(HOST_SUBDIR)/zlib || exit 1; \
26527 case $(srcdir) in \
26528 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26529 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26530 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26531 esac; \
26532 srcdiroption="--srcdir=$${topdir}/zlib"; \
26533 libsrcdir="$$s/zlib"; \
26534 $(SHELL) $${libsrcdir}/configure \
26535 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26536 --target=${target_alias} $${srcdiroption} \
26537 $(STAGE1_CONFIGURE_FLAGS)
26538 @endif zlib-bootstrap
26540 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
26541 maybe-configure-stage2-zlib:
26542 @if zlib-bootstrap
26543 maybe-configure-stage2-zlib: configure-stage2-zlib
26544 configure-stage2-zlib:
26545 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
26546 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26547 @r=`${PWD_COMMAND}`; export r; \
26548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26549 TFLAGS="$(STAGE2_TFLAGS)"; \
26550 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26551 $(HOST_EXPORTS) \
26552 $(POSTSTAGE1_HOST_EXPORTS) \
26553 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
26554 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
26555 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
26556 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib ; \
26557 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26558 cd $(HOST_SUBDIR)/zlib || exit 1; \
26559 case $(srcdir) in \
26560 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26561 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26562 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26563 esac; \
26564 srcdiroption="--srcdir=$${topdir}/zlib"; \
26565 libsrcdir="$$s/zlib"; \
26566 $(SHELL) $${libsrcdir}/configure \
26567 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26568 --target=${target_alias} $${srcdiroption} \
26569 --with-build-libsubdir=$(HOST_SUBDIR) \
26570 $(STAGE2_CONFIGURE_FLAGS)
26571 @endif zlib-bootstrap
26573 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
26574 maybe-configure-stage3-zlib:
26575 @if zlib-bootstrap
26576 maybe-configure-stage3-zlib: configure-stage3-zlib
26577 configure-stage3-zlib:
26578 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
26579 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26580 @r=`${PWD_COMMAND}`; export r; \
26581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26582 TFLAGS="$(STAGE3_TFLAGS)"; \
26583 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26584 $(HOST_EXPORTS) \
26585 $(POSTSTAGE1_HOST_EXPORTS) \
26586 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
26587 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
26588 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
26589 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib ; \
26590 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26591 cd $(HOST_SUBDIR)/zlib || exit 1; \
26592 case $(srcdir) in \
26593 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26594 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26595 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26596 esac; \
26597 srcdiroption="--srcdir=$${topdir}/zlib"; \
26598 libsrcdir="$$s/zlib"; \
26599 $(SHELL) $${libsrcdir}/configure \
26600 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26601 --target=${target_alias} $${srcdiroption} \
26602 --with-build-libsubdir=$(HOST_SUBDIR) \
26603 $(STAGE3_CONFIGURE_FLAGS)
26604 @endif zlib-bootstrap
26606 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
26607 maybe-configure-stage4-zlib:
26608 @if zlib-bootstrap
26609 maybe-configure-stage4-zlib: configure-stage4-zlib
26610 configure-stage4-zlib:
26611 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
26612 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26613 @r=`${PWD_COMMAND}`; export r; \
26614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26615 TFLAGS="$(STAGE4_TFLAGS)"; \
26616 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26617 $(HOST_EXPORTS) \
26618 $(POSTSTAGE1_HOST_EXPORTS) \
26619 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
26620 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
26621 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
26622 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib ; \
26623 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26624 cd $(HOST_SUBDIR)/zlib || exit 1; \
26625 case $(srcdir) in \
26626 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26627 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26628 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26629 esac; \
26630 srcdiroption="--srcdir=$${topdir}/zlib"; \
26631 libsrcdir="$$s/zlib"; \
26632 $(SHELL) $${libsrcdir}/configure \
26633 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26634 --target=${target_alias} $${srcdiroption} \
26635 --with-build-libsubdir=$(HOST_SUBDIR) \
26636 $(STAGE4_CONFIGURE_FLAGS)
26637 @endif zlib-bootstrap
26639 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
26640 maybe-configure-stageprofile-zlib:
26641 @if zlib-bootstrap
26642 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
26643 configure-stageprofile-zlib:
26644 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
26645 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26646 @r=`${PWD_COMMAND}`; export r; \
26647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26648 TFLAGS="$(STAGEprofile_TFLAGS)"; \
26649 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26650 $(HOST_EXPORTS) \
26651 $(POSTSTAGE1_HOST_EXPORTS) \
26652 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
26653 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
26654 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
26655 echo Configuring stage profile in $(HOST_SUBDIR)/zlib ; \
26656 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26657 cd $(HOST_SUBDIR)/zlib || exit 1; \
26658 case $(srcdir) in \
26659 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26660 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26661 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26662 esac; \
26663 srcdiroption="--srcdir=$${topdir}/zlib"; \
26664 libsrcdir="$$s/zlib"; \
26665 $(SHELL) $${libsrcdir}/configure \
26666 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26667 --target=${target_alias} $${srcdiroption} \
26668 --with-build-libsubdir=$(HOST_SUBDIR) \
26669 $(STAGEprofile_CONFIGURE_FLAGS)
26670 @endif zlib-bootstrap
26672 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
26673 maybe-configure-stagefeedback-zlib:
26674 @if zlib-bootstrap
26675 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
26676 configure-stagefeedback-zlib:
26677 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
26678 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26679 @r=`${PWD_COMMAND}`; export r; \
26680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26681 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
26682 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26683 $(HOST_EXPORTS) \
26684 $(POSTSTAGE1_HOST_EXPORTS) \
26685 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
26686 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
26687 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
26688 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib ; \
26689 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26690 cd $(HOST_SUBDIR)/zlib || exit 1; \
26691 case $(srcdir) in \
26692 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26693 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26694 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26695 esac; \
26696 srcdiroption="--srcdir=$${topdir}/zlib"; \
26697 libsrcdir="$$s/zlib"; \
26698 $(SHELL) $${libsrcdir}/configure \
26699 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26700 --target=${target_alias} $${srcdiroption} \
26701 --with-build-libsubdir=$(HOST_SUBDIR) \
26702 $(STAGEfeedback_CONFIGURE_FLAGS)
26703 @endif zlib-bootstrap
26709 .PHONY: all-zlib maybe-all-zlib
26710 maybe-all-zlib:
26711 @if gcc-bootstrap
26712 all-zlib: stage_current
26713 @endif gcc-bootstrap
26714 @if zlib
26715 TARGET-zlib=all
26716 maybe-all-zlib: all-zlib
26717 all-zlib: configure-zlib
26718 @r=`${PWD_COMMAND}`; export r; \
26719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26720 $(HOST_EXPORTS) \
26721 (cd $(HOST_SUBDIR)/zlib && \
26722 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
26723 $(TARGET-zlib))
26724 @endif zlib
26728 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
26729 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
26730 maybe-all-stage1-zlib:
26731 maybe-clean-stage1-zlib:
26732 @if zlib-bootstrap
26733 maybe-all-stage1-zlib: all-stage1-zlib
26734 all-stage1: all-stage1-zlib
26735 TARGET-stage1-zlib = $(TARGET-zlib)
26736 all-stage1-zlib: configure-stage1-zlib
26737 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
26738 @r=`${PWD_COMMAND}`; export r; \
26739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26740 TFLAGS="$(STAGE1_TFLAGS)"; \
26741 $(HOST_EXPORTS) \
26742 cd $(HOST_SUBDIR)/zlib && \
26743 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26744 CFLAGS="$(STAGE1_CFLAGS)" \
26745 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
26746 LIBCFLAGS="$(LIBCFLAGS)" \
26747 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26748 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26749 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26750 $(EXTRA_HOST_FLAGS) \
26751 $(STAGE1_FLAGS_TO_PASS) \
26752 TFLAGS="$(STAGE1_TFLAGS)" \
26753 $(TARGET-stage1-zlib)
26755 maybe-clean-stage1-zlib: clean-stage1-zlib
26756 clean-stage1: clean-stage1-zlib
26757 clean-stage1-zlib:
26758 @if [ $(current_stage) = stage1 ]; then \
26759 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
26760 else \
26761 [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] || exit 0; \
26762 $(MAKE) stage1-start; \
26763 fi; \
26764 cd $(HOST_SUBDIR)/zlib && \
26765 $(MAKE) $(EXTRA_HOST_FLAGS) \
26766 $(STAGE1_FLAGS_TO_PASS) clean
26767 @endif zlib-bootstrap
26770 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
26771 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
26772 maybe-all-stage2-zlib:
26773 maybe-clean-stage2-zlib:
26774 @if zlib-bootstrap
26775 maybe-all-stage2-zlib: all-stage2-zlib
26776 all-stage2: all-stage2-zlib
26777 TARGET-stage2-zlib = $(TARGET-zlib)
26778 all-stage2-zlib: configure-stage2-zlib
26779 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
26780 @r=`${PWD_COMMAND}`; export r; \
26781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26782 TFLAGS="$(STAGE2_TFLAGS)"; \
26783 $(HOST_EXPORTS) \
26784 $(POSTSTAGE1_HOST_EXPORTS) \
26785 cd $(HOST_SUBDIR)/zlib && \
26786 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26787 CFLAGS="$(STAGE2_CFLAGS)" \
26788 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
26789 LIBCFLAGS="$(STAGE2_CFLAGS)" \
26790 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26791 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26792 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26793 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26794 TFLAGS="$(STAGE2_TFLAGS)" \
26795 $(TARGET-stage2-zlib)
26797 maybe-clean-stage2-zlib: clean-stage2-zlib
26798 clean-stage2: clean-stage2-zlib
26799 clean-stage2-zlib:
26800 @if [ $(current_stage) = stage2 ]; then \
26801 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
26802 else \
26803 [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] || exit 0; \
26804 $(MAKE) stage2-start; \
26805 fi; \
26806 cd $(HOST_SUBDIR)/zlib && \
26807 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26808 @endif zlib-bootstrap
26811 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
26812 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
26813 maybe-all-stage3-zlib:
26814 maybe-clean-stage3-zlib:
26815 @if zlib-bootstrap
26816 maybe-all-stage3-zlib: all-stage3-zlib
26817 all-stage3: all-stage3-zlib
26818 TARGET-stage3-zlib = $(TARGET-zlib)
26819 all-stage3-zlib: configure-stage3-zlib
26820 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
26821 @r=`${PWD_COMMAND}`; export r; \
26822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26823 TFLAGS="$(STAGE3_TFLAGS)"; \
26824 $(HOST_EXPORTS) \
26825 $(POSTSTAGE1_HOST_EXPORTS) \
26826 cd $(HOST_SUBDIR)/zlib && \
26827 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26828 CFLAGS="$(STAGE3_CFLAGS)" \
26829 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
26830 LIBCFLAGS="$(STAGE3_CFLAGS)" \
26831 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26832 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26833 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26834 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26835 TFLAGS="$(STAGE3_TFLAGS)" \
26836 $(TARGET-stage3-zlib)
26838 maybe-clean-stage3-zlib: clean-stage3-zlib
26839 clean-stage3: clean-stage3-zlib
26840 clean-stage3-zlib:
26841 @if [ $(current_stage) = stage3 ]; then \
26842 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
26843 else \
26844 [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] || exit 0; \
26845 $(MAKE) stage3-start; \
26846 fi; \
26847 cd $(HOST_SUBDIR)/zlib && \
26848 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26849 @endif zlib-bootstrap
26852 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
26853 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
26854 maybe-all-stage4-zlib:
26855 maybe-clean-stage4-zlib:
26856 @if zlib-bootstrap
26857 maybe-all-stage4-zlib: all-stage4-zlib
26858 all-stage4: all-stage4-zlib
26859 TARGET-stage4-zlib = $(TARGET-zlib)
26860 all-stage4-zlib: configure-stage4-zlib
26861 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
26862 @r=`${PWD_COMMAND}`; export r; \
26863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26864 TFLAGS="$(STAGE4_TFLAGS)"; \
26865 $(HOST_EXPORTS) \
26866 $(POSTSTAGE1_HOST_EXPORTS) \
26867 cd $(HOST_SUBDIR)/zlib && \
26868 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26869 CFLAGS="$(STAGE4_CFLAGS)" \
26870 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
26871 LIBCFLAGS="$(STAGE4_CFLAGS)" \
26872 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26873 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26874 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26875 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26876 TFLAGS="$(STAGE4_TFLAGS)" \
26877 $(TARGET-stage4-zlib)
26879 maybe-clean-stage4-zlib: clean-stage4-zlib
26880 clean-stage4: clean-stage4-zlib
26881 clean-stage4-zlib:
26882 @if [ $(current_stage) = stage4 ]; then \
26883 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
26884 else \
26885 [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] || exit 0; \
26886 $(MAKE) stage4-start; \
26887 fi; \
26888 cd $(HOST_SUBDIR)/zlib && \
26889 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26890 @endif zlib-bootstrap
26893 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
26894 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
26895 maybe-all-stageprofile-zlib:
26896 maybe-clean-stageprofile-zlib:
26897 @if zlib-bootstrap
26898 maybe-all-stageprofile-zlib: all-stageprofile-zlib
26899 all-stageprofile: all-stageprofile-zlib
26900 TARGET-stageprofile-zlib = $(TARGET-zlib)
26901 all-stageprofile-zlib: configure-stageprofile-zlib
26902 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
26903 @r=`${PWD_COMMAND}`; export r; \
26904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26905 TFLAGS="$(STAGEprofile_TFLAGS)"; \
26906 $(HOST_EXPORTS) \
26907 $(POSTSTAGE1_HOST_EXPORTS) \
26908 cd $(HOST_SUBDIR)/zlib && \
26909 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26910 CFLAGS="$(STAGEprofile_CFLAGS)" \
26911 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
26912 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
26913 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26914 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26915 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26916 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26917 TFLAGS="$(STAGEprofile_TFLAGS)" \
26918 $(TARGET-stageprofile-zlib)
26920 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
26921 clean-stageprofile: clean-stageprofile-zlib
26922 clean-stageprofile-zlib:
26923 @if [ $(current_stage) = stageprofile ]; then \
26924 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
26925 else \
26926 [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] || exit 0; \
26927 $(MAKE) stageprofile-start; \
26928 fi; \
26929 cd $(HOST_SUBDIR)/zlib && \
26930 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26931 @endif zlib-bootstrap
26934 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
26935 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
26936 maybe-all-stagefeedback-zlib:
26937 maybe-clean-stagefeedback-zlib:
26938 @if zlib-bootstrap
26939 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
26940 all-stagefeedback: all-stagefeedback-zlib
26941 TARGET-stagefeedback-zlib = $(TARGET-zlib)
26942 all-stagefeedback-zlib: configure-stagefeedback-zlib
26943 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
26944 @r=`${PWD_COMMAND}`; export r; \
26945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26946 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
26947 $(HOST_EXPORTS) \
26948 $(POSTSTAGE1_HOST_EXPORTS) \
26949 cd $(HOST_SUBDIR)/zlib && \
26950 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26951 CFLAGS="$(STAGEfeedback_CFLAGS)" \
26952 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
26953 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
26954 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26955 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26956 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26957 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26958 TFLAGS="$(STAGEfeedback_TFLAGS)" \
26959 $(TARGET-stagefeedback-zlib)
26961 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
26962 clean-stagefeedback: clean-stagefeedback-zlib
26963 clean-stagefeedback-zlib:
26964 @if [ $(current_stage) = stagefeedback ]; then \
26965 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
26966 else \
26967 [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] || exit 0; \
26968 $(MAKE) stagefeedback-start; \
26969 fi; \
26970 cd $(HOST_SUBDIR)/zlib && \
26971 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26972 @endif zlib-bootstrap
26978 .PHONY: check-zlib maybe-check-zlib
26979 maybe-check-zlib:
26980 @if zlib
26981 maybe-check-zlib: check-zlib
26983 check-zlib:
26985 @endif zlib
26987 .PHONY: install-zlib maybe-install-zlib
26988 maybe-install-zlib:
26989 @if zlib
26990 maybe-install-zlib: install-zlib
26992 install-zlib:
26994 @endif zlib
26996 .PHONY: install-strip-zlib maybe-install-strip-zlib
26997 maybe-install-strip-zlib:
26998 @if zlib
26999 maybe-install-strip-zlib: install-strip-zlib
27001 install-strip-zlib:
27003 @endif zlib
27005 # Other targets (info, dvi, pdf, etc.)
27007 .PHONY: maybe-info-zlib info-zlib
27008 maybe-info-zlib:
27009 @if zlib
27010 maybe-info-zlib: info-zlib
27012 info-zlib: \
27013 configure-zlib
27014 @[ -f ./zlib/Makefile ] || exit 0; \
27015 r=`${PWD_COMMAND}`; export r; \
27016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27017 $(HOST_EXPORTS) \
27018 for flag in $(EXTRA_HOST_FLAGS) ; do \
27019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27020 done; \
27021 echo "Doing info in zlib" ; \
27022 (cd $(HOST_SUBDIR)/zlib && \
27023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27025 "RANLIB=$${RANLIB}" \
27026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27027 info) \
27028 || exit 1
27030 @endif zlib
27032 .PHONY: maybe-dvi-zlib dvi-zlib
27033 maybe-dvi-zlib:
27034 @if zlib
27035 maybe-dvi-zlib: dvi-zlib
27037 dvi-zlib: \
27038 configure-zlib
27039 @[ -f ./zlib/Makefile ] || exit 0; \
27040 r=`${PWD_COMMAND}`; export r; \
27041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27042 $(HOST_EXPORTS) \
27043 for flag in $(EXTRA_HOST_FLAGS) ; do \
27044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27045 done; \
27046 echo "Doing dvi in zlib" ; \
27047 (cd $(HOST_SUBDIR)/zlib && \
27048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27050 "RANLIB=$${RANLIB}" \
27051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27052 dvi) \
27053 || exit 1
27055 @endif zlib
27057 .PHONY: maybe-pdf-zlib pdf-zlib
27058 maybe-pdf-zlib:
27059 @if zlib
27060 maybe-pdf-zlib: pdf-zlib
27062 pdf-zlib: \
27063 configure-zlib
27064 @[ -f ./zlib/Makefile ] || exit 0; \
27065 r=`${PWD_COMMAND}`; export r; \
27066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27067 $(HOST_EXPORTS) \
27068 for flag in $(EXTRA_HOST_FLAGS) ; do \
27069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27070 done; \
27071 echo "Doing pdf in zlib" ; \
27072 (cd $(HOST_SUBDIR)/zlib && \
27073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27075 "RANLIB=$${RANLIB}" \
27076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27077 pdf) \
27078 || exit 1
27080 @endif zlib
27082 .PHONY: maybe-html-zlib html-zlib
27083 maybe-html-zlib:
27084 @if zlib
27085 maybe-html-zlib: html-zlib
27087 html-zlib: \
27088 configure-zlib
27089 @[ -f ./zlib/Makefile ] || exit 0; \
27090 r=`${PWD_COMMAND}`; export r; \
27091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27092 $(HOST_EXPORTS) \
27093 for flag in $(EXTRA_HOST_FLAGS) ; do \
27094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27095 done; \
27096 echo "Doing html in zlib" ; \
27097 (cd $(HOST_SUBDIR)/zlib && \
27098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27100 "RANLIB=$${RANLIB}" \
27101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27102 html) \
27103 || exit 1
27105 @endif zlib
27107 .PHONY: maybe-TAGS-zlib TAGS-zlib
27108 maybe-TAGS-zlib:
27109 @if zlib
27110 maybe-TAGS-zlib: TAGS-zlib
27112 TAGS-zlib: \
27113 configure-zlib
27114 @[ -f ./zlib/Makefile ] || exit 0; \
27115 r=`${PWD_COMMAND}`; export r; \
27116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27117 $(HOST_EXPORTS) \
27118 for flag in $(EXTRA_HOST_FLAGS) ; do \
27119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27120 done; \
27121 echo "Doing TAGS in zlib" ; \
27122 (cd $(HOST_SUBDIR)/zlib && \
27123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27125 "RANLIB=$${RANLIB}" \
27126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27127 TAGS) \
27128 || exit 1
27130 @endif zlib
27132 .PHONY: maybe-install-info-zlib install-info-zlib
27133 maybe-install-info-zlib:
27134 @if zlib
27135 maybe-install-info-zlib: install-info-zlib
27137 install-info-zlib: \
27138 configure-zlib \
27139 info-zlib
27140 @[ -f ./zlib/Makefile ] || exit 0; \
27141 r=`${PWD_COMMAND}`; export r; \
27142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27143 $(HOST_EXPORTS) \
27144 for flag in $(EXTRA_HOST_FLAGS) ; do \
27145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27146 done; \
27147 echo "Doing install-info in zlib" ; \
27148 (cd $(HOST_SUBDIR)/zlib && \
27149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27151 "RANLIB=$${RANLIB}" \
27152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27153 install-info) \
27154 || exit 1
27156 @endif zlib
27158 .PHONY: maybe-install-pdf-zlib install-pdf-zlib
27159 maybe-install-pdf-zlib:
27160 @if zlib
27161 maybe-install-pdf-zlib: install-pdf-zlib
27163 install-pdf-zlib: \
27164 configure-zlib \
27165 pdf-zlib
27166 @[ -f ./zlib/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-pdf in zlib" ; \
27174 (cd $(HOST_SUBDIR)/zlib && \
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-pdf) \
27180 || exit 1
27182 @endif zlib
27184 .PHONY: maybe-install-html-zlib install-html-zlib
27185 maybe-install-html-zlib:
27186 @if zlib
27187 maybe-install-html-zlib: install-html-zlib
27189 install-html-zlib: \
27190 configure-zlib \
27191 html-zlib
27192 @[ -f ./zlib/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 install-html in zlib" ; \
27200 (cd $(HOST_SUBDIR)/zlib && \
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 install-html) \
27206 || exit 1
27208 @endif zlib
27210 .PHONY: maybe-installcheck-zlib installcheck-zlib
27211 maybe-installcheck-zlib:
27212 @if zlib
27213 maybe-installcheck-zlib: installcheck-zlib
27215 installcheck-zlib: \
27216 configure-zlib
27217 @[ -f ./zlib/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 installcheck in zlib" ; \
27225 (cd $(HOST_SUBDIR)/zlib && \
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 installcheck) \
27231 || exit 1
27233 @endif zlib
27235 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
27236 maybe-mostlyclean-zlib:
27237 @if zlib
27238 maybe-mostlyclean-zlib: mostlyclean-zlib
27240 mostlyclean-zlib:
27241 @[ -f ./zlib/Makefile ] || exit 0; \
27242 r=`${PWD_COMMAND}`; export r; \
27243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27244 $(HOST_EXPORTS) \
27245 for flag in $(EXTRA_HOST_FLAGS) ; do \
27246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27247 done; \
27248 echo "Doing mostlyclean in zlib" ; \
27249 (cd $(HOST_SUBDIR)/zlib && \
27250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27252 "RANLIB=$${RANLIB}" \
27253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27254 mostlyclean) \
27255 || exit 1
27257 @endif zlib
27259 .PHONY: maybe-clean-zlib clean-zlib
27260 maybe-clean-zlib:
27261 @if zlib
27262 maybe-clean-zlib: clean-zlib
27264 clean-zlib:
27265 @[ -f ./zlib/Makefile ] || exit 0; \
27266 r=`${PWD_COMMAND}`; export r; \
27267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27268 $(HOST_EXPORTS) \
27269 for flag in $(EXTRA_HOST_FLAGS) ; do \
27270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27271 done; \
27272 echo "Doing clean in zlib" ; \
27273 (cd $(HOST_SUBDIR)/zlib && \
27274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27276 "RANLIB=$${RANLIB}" \
27277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27278 clean) \
27279 || exit 1
27281 @endif zlib
27283 .PHONY: maybe-distclean-zlib distclean-zlib
27284 maybe-distclean-zlib:
27285 @if zlib
27286 maybe-distclean-zlib: distclean-zlib
27288 distclean-zlib:
27289 @[ -f ./zlib/Makefile ] || exit 0; \
27290 r=`${PWD_COMMAND}`; export r; \
27291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27292 $(HOST_EXPORTS) \
27293 for flag in $(EXTRA_HOST_FLAGS) ; do \
27294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27295 done; \
27296 echo "Doing distclean in zlib" ; \
27297 (cd $(HOST_SUBDIR)/zlib && \
27298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27300 "RANLIB=$${RANLIB}" \
27301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27302 distclean) \
27303 || exit 1
27305 @endif zlib
27307 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
27308 maybe-maintainer-clean-zlib:
27309 @if zlib
27310 maybe-maintainer-clean-zlib: maintainer-clean-zlib
27312 maintainer-clean-zlib:
27313 @[ -f ./zlib/Makefile ] || exit 0; \
27314 r=`${PWD_COMMAND}`; export r; \
27315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27316 $(HOST_EXPORTS) \
27317 for flag in $(EXTRA_HOST_FLAGS) ; do \
27318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27319 done; \
27320 echo "Doing maintainer-clean in zlib" ; \
27321 (cd $(HOST_SUBDIR)/zlib && \
27322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27324 "RANLIB=$${RANLIB}" \
27325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27326 maintainer-clean) \
27327 || exit 1
27329 @endif zlib
27333 .PHONY: configure-gdb maybe-configure-gdb
27334 maybe-configure-gdb:
27335 @if gcc-bootstrap
27336 configure-gdb: stage_current
27337 @endif gcc-bootstrap
27338 @if gdb
27339 maybe-configure-gdb: configure-gdb
27340 configure-gdb:
27341 @: $(MAKE); $(unstage)
27342 @r=`${PWD_COMMAND}`; export r; \
27343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27344 test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
27345 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb ; \
27346 $(HOST_EXPORTS) \
27347 echo Configuring in $(HOST_SUBDIR)/gdb; \
27348 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
27349 case $(srcdir) in \
27350 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27351 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
27352 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27353 esac; \
27354 srcdiroption="--srcdir=$${topdir}/gdb"; \
27355 libsrcdir="$$s/gdb"; \
27356 $(SHELL) $${libsrcdir}/configure \
27357 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27358 --target=${target_alias} $${srcdiroption} \
27359 || exit 1
27360 @endif gdb
27366 .PHONY: all-gdb maybe-all-gdb
27367 maybe-all-gdb:
27368 @if gcc-bootstrap
27369 all-gdb: stage_current
27370 @endif gcc-bootstrap
27371 @if gdb
27372 TARGET-gdb=all
27373 maybe-all-gdb: all-gdb
27374 all-gdb: configure-gdb
27375 @: $(MAKE); $(unstage)
27376 @r=`${PWD_COMMAND}`; export r; \
27377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27378 $(HOST_EXPORTS) \
27379 (cd $(HOST_SUBDIR)/gdb && \
27380 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
27381 $(TARGET-gdb))
27382 @endif gdb
27387 .PHONY: check-gdb maybe-check-gdb
27388 maybe-check-gdb:
27389 @if gdb
27390 maybe-check-gdb: check-gdb
27392 check-gdb:
27393 @: $(MAKE); $(unstage)
27394 @r=`${PWD_COMMAND}`; export r; \
27395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27396 $(HOST_EXPORTS) \
27397 (cd $(HOST_SUBDIR)/gdb && \
27398 $(MAKE) $(FLAGS_TO_PASS) check)
27400 @endif gdb
27402 .PHONY: install-gdb maybe-install-gdb
27403 maybe-install-gdb:
27404 @if gdb
27405 maybe-install-gdb: install-gdb
27407 install-gdb: installdirs
27408 @: $(MAKE); $(unstage)
27409 @r=`${PWD_COMMAND}`; export r; \
27410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27411 $(HOST_EXPORTS) \
27412 (cd $(HOST_SUBDIR)/gdb && \
27413 $(MAKE) $(FLAGS_TO_PASS) install)
27415 @endif gdb
27417 .PHONY: install-strip-gdb maybe-install-strip-gdb
27418 maybe-install-strip-gdb:
27419 @if gdb
27420 maybe-install-strip-gdb: install-strip-gdb
27422 install-strip-gdb: installdirs
27423 @: $(MAKE); $(unstage)
27424 @r=`${PWD_COMMAND}`; export r; \
27425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27426 $(HOST_EXPORTS) \
27427 (cd $(HOST_SUBDIR)/gdb && \
27428 $(MAKE) $(FLAGS_TO_PASS) install-strip)
27430 @endif gdb
27432 # Other targets (info, dvi, pdf, etc.)
27434 .PHONY: maybe-info-gdb info-gdb
27435 maybe-info-gdb:
27436 @if gdb
27437 maybe-info-gdb: info-gdb
27439 info-gdb: \
27440 configure-gdb
27441 @: $(MAKE); $(unstage)
27442 @[ -f ./gdb/Makefile ] || exit 0; \
27443 r=`${PWD_COMMAND}`; export r; \
27444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27445 $(HOST_EXPORTS) \
27446 for flag in $(EXTRA_HOST_FLAGS) ; do \
27447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27448 done; \
27449 echo "Doing info in gdb" ; \
27450 (cd $(HOST_SUBDIR)/gdb && \
27451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27453 "RANLIB=$${RANLIB}" \
27454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27455 info) \
27456 || exit 1
27458 @endif gdb
27460 .PHONY: maybe-dvi-gdb dvi-gdb
27461 maybe-dvi-gdb:
27462 @if gdb
27463 maybe-dvi-gdb: dvi-gdb
27465 dvi-gdb: \
27466 configure-gdb
27467 @: $(MAKE); $(unstage)
27468 @[ -f ./gdb/Makefile ] || exit 0; \
27469 r=`${PWD_COMMAND}`; export r; \
27470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27471 $(HOST_EXPORTS) \
27472 for flag in $(EXTRA_HOST_FLAGS) ; do \
27473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27474 done; \
27475 echo "Doing dvi in gdb" ; \
27476 (cd $(HOST_SUBDIR)/gdb && \
27477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27479 "RANLIB=$${RANLIB}" \
27480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27481 dvi) \
27482 || exit 1
27484 @endif gdb
27486 .PHONY: maybe-pdf-gdb pdf-gdb
27487 maybe-pdf-gdb:
27488 @if gdb
27489 maybe-pdf-gdb: pdf-gdb
27491 pdf-gdb: \
27492 configure-gdb
27493 @: $(MAKE); $(unstage)
27494 @[ -f ./gdb/Makefile ] || exit 0; \
27495 r=`${PWD_COMMAND}`; export r; \
27496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27497 $(HOST_EXPORTS) \
27498 for flag in $(EXTRA_HOST_FLAGS) ; do \
27499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27500 done; \
27501 echo "Doing pdf in gdb" ; \
27502 (cd $(HOST_SUBDIR)/gdb && \
27503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27505 "RANLIB=$${RANLIB}" \
27506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27507 pdf) \
27508 || exit 1
27510 @endif gdb
27512 .PHONY: maybe-html-gdb html-gdb
27513 maybe-html-gdb:
27514 @if gdb
27515 maybe-html-gdb: html-gdb
27517 html-gdb: \
27518 configure-gdb
27519 @: $(MAKE); $(unstage)
27520 @[ -f ./gdb/Makefile ] || exit 0; \
27521 r=`${PWD_COMMAND}`; export r; \
27522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27523 $(HOST_EXPORTS) \
27524 for flag in $(EXTRA_HOST_FLAGS) ; do \
27525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27526 done; \
27527 echo "Doing html in gdb" ; \
27528 (cd $(HOST_SUBDIR)/gdb && \
27529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27531 "RANLIB=$${RANLIB}" \
27532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27533 html) \
27534 || exit 1
27536 @endif gdb
27538 .PHONY: maybe-TAGS-gdb TAGS-gdb
27539 maybe-TAGS-gdb:
27540 @if gdb
27541 maybe-TAGS-gdb: TAGS-gdb
27543 TAGS-gdb: \
27544 configure-gdb
27545 @: $(MAKE); $(unstage)
27546 @[ -f ./gdb/Makefile ] || exit 0; \
27547 r=`${PWD_COMMAND}`; export r; \
27548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27549 $(HOST_EXPORTS) \
27550 for flag in $(EXTRA_HOST_FLAGS) ; do \
27551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27552 done; \
27553 echo "Doing TAGS in gdb" ; \
27554 (cd $(HOST_SUBDIR)/gdb && \
27555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27557 "RANLIB=$${RANLIB}" \
27558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27559 TAGS) \
27560 || exit 1
27562 @endif gdb
27564 .PHONY: maybe-install-info-gdb install-info-gdb
27565 maybe-install-info-gdb:
27566 @if gdb
27567 maybe-install-info-gdb: install-info-gdb
27569 install-info-gdb: \
27570 configure-gdb \
27571 info-gdb
27572 @: $(MAKE); $(unstage)
27573 @[ -f ./gdb/Makefile ] || exit 0; \
27574 r=`${PWD_COMMAND}`; export r; \
27575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27576 $(HOST_EXPORTS) \
27577 for flag in $(EXTRA_HOST_FLAGS) ; do \
27578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27579 done; \
27580 echo "Doing install-info in gdb" ; \
27581 (cd $(HOST_SUBDIR)/gdb && \
27582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27584 "RANLIB=$${RANLIB}" \
27585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27586 install-info) \
27587 || exit 1
27589 @endif gdb
27591 .PHONY: maybe-install-pdf-gdb install-pdf-gdb
27592 maybe-install-pdf-gdb:
27593 @if gdb
27594 maybe-install-pdf-gdb: install-pdf-gdb
27596 install-pdf-gdb: \
27597 configure-gdb \
27598 pdf-gdb
27599 @: $(MAKE); $(unstage)
27600 @[ -f ./gdb/Makefile ] || exit 0; \
27601 r=`${PWD_COMMAND}`; export r; \
27602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27603 $(HOST_EXPORTS) \
27604 for flag in $(EXTRA_HOST_FLAGS) ; do \
27605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27606 done; \
27607 echo "Doing install-pdf in gdb" ; \
27608 (cd $(HOST_SUBDIR)/gdb && \
27609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27611 "RANLIB=$${RANLIB}" \
27612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27613 install-pdf) \
27614 || exit 1
27616 @endif gdb
27618 .PHONY: maybe-install-html-gdb install-html-gdb
27619 maybe-install-html-gdb:
27620 @if gdb
27621 maybe-install-html-gdb: install-html-gdb
27623 install-html-gdb: \
27624 configure-gdb \
27625 html-gdb
27626 @: $(MAKE); $(unstage)
27627 @[ -f ./gdb/Makefile ] || exit 0; \
27628 r=`${PWD_COMMAND}`; export r; \
27629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27630 $(HOST_EXPORTS) \
27631 for flag in $(EXTRA_HOST_FLAGS) ; do \
27632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27633 done; \
27634 echo "Doing install-html in gdb" ; \
27635 (cd $(HOST_SUBDIR)/gdb && \
27636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27638 "RANLIB=$${RANLIB}" \
27639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27640 install-html) \
27641 || exit 1
27643 @endif gdb
27645 .PHONY: maybe-installcheck-gdb installcheck-gdb
27646 maybe-installcheck-gdb:
27647 @if gdb
27648 maybe-installcheck-gdb: installcheck-gdb
27650 installcheck-gdb: \
27651 configure-gdb
27652 @: $(MAKE); $(unstage)
27653 @[ -f ./gdb/Makefile ] || exit 0; \
27654 r=`${PWD_COMMAND}`; export r; \
27655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27656 $(HOST_EXPORTS) \
27657 for flag in $(EXTRA_HOST_FLAGS) ; do \
27658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27659 done; \
27660 echo "Doing installcheck in gdb" ; \
27661 (cd $(HOST_SUBDIR)/gdb && \
27662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27664 "RANLIB=$${RANLIB}" \
27665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27666 installcheck) \
27667 || exit 1
27669 @endif gdb
27671 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
27672 maybe-mostlyclean-gdb:
27673 @if gdb
27674 maybe-mostlyclean-gdb: mostlyclean-gdb
27676 mostlyclean-gdb:
27677 @: $(MAKE); $(unstage)
27678 @[ -f ./gdb/Makefile ] || exit 0; \
27679 r=`${PWD_COMMAND}`; export r; \
27680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27681 $(HOST_EXPORTS) \
27682 for flag in $(EXTRA_HOST_FLAGS) ; do \
27683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27684 done; \
27685 echo "Doing mostlyclean in gdb" ; \
27686 (cd $(HOST_SUBDIR)/gdb && \
27687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27689 "RANLIB=$${RANLIB}" \
27690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27691 mostlyclean) \
27692 || exit 1
27694 @endif gdb
27696 .PHONY: maybe-clean-gdb clean-gdb
27697 maybe-clean-gdb:
27698 @if gdb
27699 maybe-clean-gdb: clean-gdb
27701 clean-gdb:
27702 @: $(MAKE); $(unstage)
27703 @[ -f ./gdb/Makefile ] || exit 0; \
27704 r=`${PWD_COMMAND}`; export r; \
27705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27706 $(HOST_EXPORTS) \
27707 for flag in $(EXTRA_HOST_FLAGS) ; do \
27708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27709 done; \
27710 echo "Doing clean in gdb" ; \
27711 (cd $(HOST_SUBDIR)/gdb && \
27712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27714 "RANLIB=$${RANLIB}" \
27715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27716 clean) \
27717 || exit 1
27719 @endif gdb
27721 .PHONY: maybe-distclean-gdb distclean-gdb
27722 maybe-distclean-gdb:
27723 @if gdb
27724 maybe-distclean-gdb: distclean-gdb
27726 distclean-gdb:
27727 @: $(MAKE); $(unstage)
27728 @[ -f ./gdb/Makefile ] || exit 0; \
27729 r=`${PWD_COMMAND}`; export r; \
27730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27731 $(HOST_EXPORTS) \
27732 for flag in $(EXTRA_HOST_FLAGS) ; do \
27733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27734 done; \
27735 echo "Doing distclean in gdb" ; \
27736 (cd $(HOST_SUBDIR)/gdb && \
27737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27739 "RANLIB=$${RANLIB}" \
27740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27741 distclean) \
27742 || exit 1
27744 @endif gdb
27746 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
27747 maybe-maintainer-clean-gdb:
27748 @if gdb
27749 maybe-maintainer-clean-gdb: maintainer-clean-gdb
27751 maintainer-clean-gdb:
27752 @: $(MAKE); $(unstage)
27753 @[ -f ./gdb/Makefile ] || exit 0; \
27754 r=`${PWD_COMMAND}`; export r; \
27755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27756 $(HOST_EXPORTS) \
27757 for flag in $(EXTRA_HOST_FLAGS) ; do \
27758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27759 done; \
27760 echo "Doing maintainer-clean in gdb" ; \
27761 (cd $(HOST_SUBDIR)/gdb && \
27762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27764 "RANLIB=$${RANLIB}" \
27765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27766 maintainer-clean) \
27767 || exit 1
27769 @endif gdb
27773 .PHONY: configure-expect maybe-configure-expect
27774 maybe-configure-expect:
27775 @if gcc-bootstrap
27776 configure-expect: stage_current
27777 @endif gcc-bootstrap
27778 @if expect
27779 maybe-configure-expect: configure-expect
27780 configure-expect:
27781 @: $(MAKE); $(unstage)
27782 @r=`${PWD_COMMAND}`; export r; \
27783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27784 test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
27785 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect ; \
27786 $(HOST_EXPORTS) \
27787 echo Configuring in $(HOST_SUBDIR)/expect; \
27788 cd "$(HOST_SUBDIR)/expect" || exit 1; \
27789 case $(srcdir) in \
27790 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27791 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
27792 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27793 esac; \
27794 srcdiroption="--srcdir=$${topdir}/expect"; \
27795 libsrcdir="$$s/expect"; \
27796 $(SHELL) $${libsrcdir}/configure \
27797 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27798 --target=${target_alias} $${srcdiroption} \
27799 || exit 1
27800 @endif expect
27806 .PHONY: all-expect maybe-all-expect
27807 maybe-all-expect:
27808 @if gcc-bootstrap
27809 all-expect: stage_current
27810 @endif gcc-bootstrap
27811 @if expect
27812 TARGET-expect=all
27813 maybe-all-expect: all-expect
27814 all-expect: configure-expect
27815 @: $(MAKE); $(unstage)
27816 @r=`${PWD_COMMAND}`; export r; \
27817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27818 $(HOST_EXPORTS) \
27819 (cd $(HOST_SUBDIR)/expect && \
27820 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
27821 $(TARGET-expect))
27822 @endif expect
27827 .PHONY: check-expect maybe-check-expect
27828 maybe-check-expect:
27829 @if expect
27830 maybe-check-expect: check-expect
27832 check-expect:
27833 @: $(MAKE); $(unstage)
27834 @r=`${PWD_COMMAND}`; export r; \
27835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27836 $(HOST_EXPORTS) \
27837 (cd $(HOST_SUBDIR)/expect && \
27838 $(MAKE) $(FLAGS_TO_PASS) check)
27840 @endif expect
27842 .PHONY: install-expect maybe-install-expect
27843 maybe-install-expect:
27844 @if expect
27845 maybe-install-expect: install-expect
27847 install-expect: installdirs
27848 @: $(MAKE); $(unstage)
27849 @r=`${PWD_COMMAND}`; export r; \
27850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27851 $(HOST_EXPORTS) \
27852 (cd $(HOST_SUBDIR)/expect && \
27853 $(MAKE) $(FLAGS_TO_PASS) install)
27855 @endif expect
27857 .PHONY: install-strip-expect maybe-install-strip-expect
27858 maybe-install-strip-expect:
27859 @if expect
27860 maybe-install-strip-expect: install-strip-expect
27862 install-strip-expect: installdirs
27863 @: $(MAKE); $(unstage)
27864 @r=`${PWD_COMMAND}`; export r; \
27865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27866 $(HOST_EXPORTS) \
27867 (cd $(HOST_SUBDIR)/expect && \
27868 $(MAKE) $(FLAGS_TO_PASS) install-strip)
27870 @endif expect
27872 # Other targets (info, dvi, pdf, etc.)
27874 .PHONY: maybe-info-expect info-expect
27875 maybe-info-expect:
27876 @if expect
27877 maybe-info-expect: info-expect
27879 info-expect: \
27880 configure-expect
27881 @: $(MAKE); $(unstage)
27882 @[ -f ./expect/Makefile ] || exit 0; \
27883 r=`${PWD_COMMAND}`; export r; \
27884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27885 $(HOST_EXPORTS) \
27886 for flag in $(EXTRA_HOST_FLAGS) ; do \
27887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27888 done; \
27889 echo "Doing info in expect" ; \
27890 (cd $(HOST_SUBDIR)/expect && \
27891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27893 "RANLIB=$${RANLIB}" \
27894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27895 info) \
27896 || exit 1
27898 @endif expect
27900 .PHONY: maybe-dvi-expect dvi-expect
27901 maybe-dvi-expect:
27902 @if expect
27903 maybe-dvi-expect: dvi-expect
27905 dvi-expect: \
27906 configure-expect
27907 @: $(MAKE); $(unstage)
27908 @[ -f ./expect/Makefile ] || exit 0; \
27909 r=`${PWD_COMMAND}`; export r; \
27910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27911 $(HOST_EXPORTS) \
27912 for flag in $(EXTRA_HOST_FLAGS) ; do \
27913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27914 done; \
27915 echo "Doing dvi in expect" ; \
27916 (cd $(HOST_SUBDIR)/expect && \
27917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27919 "RANLIB=$${RANLIB}" \
27920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27921 dvi) \
27922 || exit 1
27924 @endif expect
27926 .PHONY: maybe-pdf-expect pdf-expect
27927 maybe-pdf-expect:
27928 @if expect
27929 maybe-pdf-expect: pdf-expect
27931 pdf-expect: \
27932 configure-expect
27933 @: $(MAKE); $(unstage)
27934 @[ -f ./expect/Makefile ] || exit 0; \
27935 r=`${PWD_COMMAND}`; export r; \
27936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27937 $(HOST_EXPORTS) \
27938 for flag in $(EXTRA_HOST_FLAGS) ; do \
27939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27940 done; \
27941 echo "Doing pdf in expect" ; \
27942 (cd $(HOST_SUBDIR)/expect && \
27943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27945 "RANLIB=$${RANLIB}" \
27946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27947 pdf) \
27948 || exit 1
27950 @endif expect
27952 .PHONY: maybe-html-expect html-expect
27953 maybe-html-expect:
27954 @if expect
27955 maybe-html-expect: html-expect
27957 html-expect: \
27958 configure-expect
27959 @: $(MAKE); $(unstage)
27960 @[ -f ./expect/Makefile ] || exit 0; \
27961 r=`${PWD_COMMAND}`; export r; \
27962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27963 $(HOST_EXPORTS) \
27964 for flag in $(EXTRA_HOST_FLAGS) ; do \
27965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27966 done; \
27967 echo "Doing html in expect" ; \
27968 (cd $(HOST_SUBDIR)/expect && \
27969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27971 "RANLIB=$${RANLIB}" \
27972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27973 html) \
27974 || exit 1
27976 @endif expect
27978 .PHONY: maybe-TAGS-expect TAGS-expect
27979 maybe-TAGS-expect:
27980 @if expect
27981 maybe-TAGS-expect: TAGS-expect
27983 TAGS-expect: \
27984 configure-expect
27985 @: $(MAKE); $(unstage)
27986 @[ -f ./expect/Makefile ] || exit 0; \
27987 r=`${PWD_COMMAND}`; export r; \
27988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27989 $(HOST_EXPORTS) \
27990 for flag in $(EXTRA_HOST_FLAGS) ; do \
27991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27992 done; \
27993 echo "Doing TAGS in expect" ; \
27994 (cd $(HOST_SUBDIR)/expect && \
27995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27997 "RANLIB=$${RANLIB}" \
27998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27999 TAGS) \
28000 || exit 1
28002 @endif expect
28004 .PHONY: maybe-install-info-expect install-info-expect
28005 maybe-install-info-expect:
28006 @if expect
28007 maybe-install-info-expect: install-info-expect
28009 install-info-expect: \
28010 configure-expect \
28011 info-expect
28012 @: $(MAKE); $(unstage)
28013 @[ -f ./expect/Makefile ] || exit 0; \
28014 r=`${PWD_COMMAND}`; export r; \
28015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28016 $(HOST_EXPORTS) \
28017 for flag in $(EXTRA_HOST_FLAGS) ; do \
28018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28019 done; \
28020 echo "Doing install-info in expect" ; \
28021 (cd $(HOST_SUBDIR)/expect && \
28022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28024 "RANLIB=$${RANLIB}" \
28025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28026 install-info) \
28027 || exit 1
28029 @endif expect
28031 .PHONY: maybe-install-pdf-expect install-pdf-expect
28032 maybe-install-pdf-expect:
28033 @if expect
28034 maybe-install-pdf-expect: install-pdf-expect
28036 install-pdf-expect: \
28037 configure-expect \
28038 pdf-expect
28039 @: $(MAKE); $(unstage)
28040 @[ -f ./expect/Makefile ] || exit 0; \
28041 r=`${PWD_COMMAND}`; export r; \
28042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28043 $(HOST_EXPORTS) \
28044 for flag in $(EXTRA_HOST_FLAGS) ; do \
28045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28046 done; \
28047 echo "Doing install-pdf in expect" ; \
28048 (cd $(HOST_SUBDIR)/expect && \
28049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28051 "RANLIB=$${RANLIB}" \
28052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28053 install-pdf) \
28054 || exit 1
28056 @endif expect
28058 .PHONY: maybe-install-html-expect install-html-expect
28059 maybe-install-html-expect:
28060 @if expect
28061 maybe-install-html-expect: install-html-expect
28063 install-html-expect: \
28064 configure-expect \
28065 html-expect
28066 @: $(MAKE); $(unstage)
28067 @[ -f ./expect/Makefile ] || exit 0; \
28068 r=`${PWD_COMMAND}`; export r; \
28069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28070 $(HOST_EXPORTS) \
28071 for flag in $(EXTRA_HOST_FLAGS) ; do \
28072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28073 done; \
28074 echo "Doing install-html in expect" ; \
28075 (cd $(HOST_SUBDIR)/expect && \
28076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28078 "RANLIB=$${RANLIB}" \
28079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28080 install-html) \
28081 || exit 1
28083 @endif expect
28085 .PHONY: maybe-installcheck-expect installcheck-expect
28086 maybe-installcheck-expect:
28087 @if expect
28088 maybe-installcheck-expect: installcheck-expect
28090 installcheck-expect: \
28091 configure-expect
28092 @: $(MAKE); $(unstage)
28093 @[ -f ./expect/Makefile ] || exit 0; \
28094 r=`${PWD_COMMAND}`; export r; \
28095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28096 $(HOST_EXPORTS) \
28097 for flag in $(EXTRA_HOST_FLAGS) ; do \
28098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28099 done; \
28100 echo "Doing installcheck in expect" ; \
28101 (cd $(HOST_SUBDIR)/expect && \
28102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28104 "RANLIB=$${RANLIB}" \
28105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28106 installcheck) \
28107 || exit 1
28109 @endif expect
28111 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
28112 maybe-mostlyclean-expect:
28113 @if expect
28114 maybe-mostlyclean-expect: mostlyclean-expect
28116 mostlyclean-expect:
28117 @: $(MAKE); $(unstage)
28118 @[ -f ./expect/Makefile ] || exit 0; \
28119 r=`${PWD_COMMAND}`; export r; \
28120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28121 $(HOST_EXPORTS) \
28122 for flag in $(EXTRA_HOST_FLAGS) ; do \
28123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28124 done; \
28125 echo "Doing mostlyclean in expect" ; \
28126 (cd $(HOST_SUBDIR)/expect && \
28127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28129 "RANLIB=$${RANLIB}" \
28130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28131 mostlyclean) \
28132 || exit 1
28134 @endif expect
28136 .PHONY: maybe-clean-expect clean-expect
28137 maybe-clean-expect:
28138 @if expect
28139 maybe-clean-expect: clean-expect
28141 clean-expect:
28142 @: $(MAKE); $(unstage)
28143 @[ -f ./expect/Makefile ] || exit 0; \
28144 r=`${PWD_COMMAND}`; export r; \
28145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28146 $(HOST_EXPORTS) \
28147 for flag in $(EXTRA_HOST_FLAGS) ; do \
28148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28149 done; \
28150 echo "Doing clean in expect" ; \
28151 (cd $(HOST_SUBDIR)/expect && \
28152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28154 "RANLIB=$${RANLIB}" \
28155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28156 clean) \
28157 || exit 1
28159 @endif expect
28161 .PHONY: maybe-distclean-expect distclean-expect
28162 maybe-distclean-expect:
28163 @if expect
28164 maybe-distclean-expect: distclean-expect
28166 distclean-expect:
28167 @: $(MAKE); $(unstage)
28168 @[ -f ./expect/Makefile ] || exit 0; \
28169 r=`${PWD_COMMAND}`; export r; \
28170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28171 $(HOST_EXPORTS) \
28172 for flag in $(EXTRA_HOST_FLAGS) ; do \
28173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28174 done; \
28175 echo "Doing distclean in expect" ; \
28176 (cd $(HOST_SUBDIR)/expect && \
28177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28179 "RANLIB=$${RANLIB}" \
28180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28181 distclean) \
28182 || exit 1
28184 @endif expect
28186 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
28187 maybe-maintainer-clean-expect:
28188 @if expect
28189 maybe-maintainer-clean-expect: maintainer-clean-expect
28191 maintainer-clean-expect:
28192 @: $(MAKE); $(unstage)
28193 @[ -f ./expect/Makefile ] || exit 0; \
28194 r=`${PWD_COMMAND}`; export r; \
28195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28196 $(HOST_EXPORTS) \
28197 for flag in $(EXTRA_HOST_FLAGS) ; do \
28198 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28199 done; \
28200 echo "Doing maintainer-clean in expect" ; \
28201 (cd $(HOST_SUBDIR)/expect && \
28202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28204 "RANLIB=$${RANLIB}" \
28205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28206 maintainer-clean) \
28207 || exit 1
28209 @endif expect
28213 .PHONY: configure-guile maybe-configure-guile
28214 maybe-configure-guile:
28215 @if gcc-bootstrap
28216 configure-guile: stage_current
28217 @endif gcc-bootstrap
28218 @if guile
28219 maybe-configure-guile: configure-guile
28220 configure-guile:
28221 @: $(MAKE); $(unstage)
28222 @r=`${PWD_COMMAND}`; export r; \
28223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28224 test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
28225 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile ; \
28226 $(HOST_EXPORTS) \
28227 echo Configuring in $(HOST_SUBDIR)/guile; \
28228 cd "$(HOST_SUBDIR)/guile" || exit 1; \
28229 case $(srcdir) in \
28230 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28231 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
28232 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28233 esac; \
28234 srcdiroption="--srcdir=$${topdir}/guile"; \
28235 libsrcdir="$$s/guile"; \
28236 $(SHELL) $${libsrcdir}/configure \
28237 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28238 --target=${target_alias} $${srcdiroption} \
28239 || exit 1
28240 @endif guile
28246 .PHONY: all-guile maybe-all-guile
28247 maybe-all-guile:
28248 @if gcc-bootstrap
28249 all-guile: stage_current
28250 @endif gcc-bootstrap
28251 @if guile
28252 TARGET-guile=all
28253 maybe-all-guile: all-guile
28254 all-guile: configure-guile
28255 @: $(MAKE); $(unstage)
28256 @r=`${PWD_COMMAND}`; export r; \
28257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28258 $(HOST_EXPORTS) \
28259 (cd $(HOST_SUBDIR)/guile && \
28260 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
28261 $(TARGET-guile))
28262 @endif guile
28267 .PHONY: check-guile maybe-check-guile
28268 maybe-check-guile:
28269 @if guile
28270 maybe-check-guile: check-guile
28272 check-guile:
28273 @: $(MAKE); $(unstage)
28274 @r=`${PWD_COMMAND}`; export r; \
28275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28276 $(HOST_EXPORTS) \
28277 (cd $(HOST_SUBDIR)/guile && \
28278 $(MAKE) $(FLAGS_TO_PASS) check)
28280 @endif guile
28282 .PHONY: install-guile maybe-install-guile
28283 maybe-install-guile:
28284 @if guile
28285 maybe-install-guile: install-guile
28287 install-guile: installdirs
28288 @: $(MAKE); $(unstage)
28289 @r=`${PWD_COMMAND}`; export r; \
28290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28291 $(HOST_EXPORTS) \
28292 (cd $(HOST_SUBDIR)/guile && \
28293 $(MAKE) $(FLAGS_TO_PASS) install)
28295 @endif guile
28297 .PHONY: install-strip-guile maybe-install-strip-guile
28298 maybe-install-strip-guile:
28299 @if guile
28300 maybe-install-strip-guile: install-strip-guile
28302 install-strip-guile: installdirs
28303 @: $(MAKE); $(unstage)
28304 @r=`${PWD_COMMAND}`; export r; \
28305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28306 $(HOST_EXPORTS) \
28307 (cd $(HOST_SUBDIR)/guile && \
28308 $(MAKE) $(FLAGS_TO_PASS) install-strip)
28310 @endif guile
28312 # Other targets (info, dvi, pdf, etc.)
28314 .PHONY: maybe-info-guile info-guile
28315 maybe-info-guile:
28316 @if guile
28317 maybe-info-guile: info-guile
28319 info-guile: \
28320 configure-guile
28321 @: $(MAKE); $(unstage)
28322 @[ -f ./guile/Makefile ] || exit 0; \
28323 r=`${PWD_COMMAND}`; export r; \
28324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28325 $(HOST_EXPORTS) \
28326 for flag in $(EXTRA_HOST_FLAGS) ; do \
28327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28328 done; \
28329 echo "Doing info in guile" ; \
28330 (cd $(HOST_SUBDIR)/guile && \
28331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28333 "RANLIB=$${RANLIB}" \
28334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28335 info) \
28336 || exit 1
28338 @endif guile
28340 .PHONY: maybe-dvi-guile dvi-guile
28341 maybe-dvi-guile:
28342 @if guile
28343 maybe-dvi-guile: dvi-guile
28345 dvi-guile: \
28346 configure-guile
28347 @: $(MAKE); $(unstage)
28348 @[ -f ./guile/Makefile ] || exit 0; \
28349 r=`${PWD_COMMAND}`; export r; \
28350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28351 $(HOST_EXPORTS) \
28352 for flag in $(EXTRA_HOST_FLAGS) ; do \
28353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28354 done; \
28355 echo "Doing dvi in guile" ; \
28356 (cd $(HOST_SUBDIR)/guile && \
28357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28359 "RANLIB=$${RANLIB}" \
28360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28361 dvi) \
28362 || exit 1
28364 @endif guile
28366 .PHONY: maybe-pdf-guile pdf-guile
28367 maybe-pdf-guile:
28368 @if guile
28369 maybe-pdf-guile: pdf-guile
28371 pdf-guile: \
28372 configure-guile
28373 @: $(MAKE); $(unstage)
28374 @[ -f ./guile/Makefile ] || exit 0; \
28375 r=`${PWD_COMMAND}`; export r; \
28376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28377 $(HOST_EXPORTS) \
28378 for flag in $(EXTRA_HOST_FLAGS) ; do \
28379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28380 done; \
28381 echo "Doing pdf in guile" ; \
28382 (cd $(HOST_SUBDIR)/guile && \
28383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28385 "RANLIB=$${RANLIB}" \
28386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28387 pdf) \
28388 || exit 1
28390 @endif guile
28392 .PHONY: maybe-html-guile html-guile
28393 maybe-html-guile:
28394 @if guile
28395 maybe-html-guile: html-guile
28397 html-guile: \
28398 configure-guile
28399 @: $(MAKE); $(unstage)
28400 @[ -f ./guile/Makefile ] || exit 0; \
28401 r=`${PWD_COMMAND}`; export r; \
28402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28403 $(HOST_EXPORTS) \
28404 for flag in $(EXTRA_HOST_FLAGS) ; do \
28405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28406 done; \
28407 echo "Doing html in guile" ; \
28408 (cd $(HOST_SUBDIR)/guile && \
28409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28411 "RANLIB=$${RANLIB}" \
28412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28413 html) \
28414 || exit 1
28416 @endif guile
28418 .PHONY: maybe-TAGS-guile TAGS-guile
28419 maybe-TAGS-guile:
28420 @if guile
28421 maybe-TAGS-guile: TAGS-guile
28423 TAGS-guile: \
28424 configure-guile
28425 @: $(MAKE); $(unstage)
28426 @[ -f ./guile/Makefile ] || exit 0; \
28427 r=`${PWD_COMMAND}`; export r; \
28428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28429 $(HOST_EXPORTS) \
28430 for flag in $(EXTRA_HOST_FLAGS) ; do \
28431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28432 done; \
28433 echo "Doing TAGS in guile" ; \
28434 (cd $(HOST_SUBDIR)/guile && \
28435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28437 "RANLIB=$${RANLIB}" \
28438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28439 TAGS) \
28440 || exit 1
28442 @endif guile
28444 .PHONY: maybe-install-info-guile install-info-guile
28445 maybe-install-info-guile:
28446 @if guile
28447 maybe-install-info-guile: install-info-guile
28449 install-info-guile: \
28450 configure-guile \
28451 info-guile
28452 @: $(MAKE); $(unstage)
28453 @[ -f ./guile/Makefile ] || exit 0; \
28454 r=`${PWD_COMMAND}`; export r; \
28455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28456 $(HOST_EXPORTS) \
28457 for flag in $(EXTRA_HOST_FLAGS) ; do \
28458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28459 done; \
28460 echo "Doing install-info in guile" ; \
28461 (cd $(HOST_SUBDIR)/guile && \
28462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28464 "RANLIB=$${RANLIB}" \
28465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28466 install-info) \
28467 || exit 1
28469 @endif guile
28471 .PHONY: maybe-install-pdf-guile install-pdf-guile
28472 maybe-install-pdf-guile:
28473 @if guile
28474 maybe-install-pdf-guile: install-pdf-guile
28476 install-pdf-guile: \
28477 configure-guile \
28478 pdf-guile
28479 @: $(MAKE); $(unstage)
28480 @[ -f ./guile/Makefile ] || exit 0; \
28481 r=`${PWD_COMMAND}`; export r; \
28482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28483 $(HOST_EXPORTS) \
28484 for flag in $(EXTRA_HOST_FLAGS) ; do \
28485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28486 done; \
28487 echo "Doing install-pdf in guile" ; \
28488 (cd $(HOST_SUBDIR)/guile && \
28489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28491 "RANLIB=$${RANLIB}" \
28492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28493 install-pdf) \
28494 || exit 1
28496 @endif guile
28498 .PHONY: maybe-install-html-guile install-html-guile
28499 maybe-install-html-guile:
28500 @if guile
28501 maybe-install-html-guile: install-html-guile
28503 install-html-guile: \
28504 configure-guile \
28505 html-guile
28506 @: $(MAKE); $(unstage)
28507 @[ -f ./guile/Makefile ] || exit 0; \
28508 r=`${PWD_COMMAND}`; export r; \
28509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28510 $(HOST_EXPORTS) \
28511 for flag in $(EXTRA_HOST_FLAGS) ; do \
28512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28513 done; \
28514 echo "Doing install-html in guile" ; \
28515 (cd $(HOST_SUBDIR)/guile && \
28516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28518 "RANLIB=$${RANLIB}" \
28519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28520 install-html) \
28521 || exit 1
28523 @endif guile
28525 .PHONY: maybe-installcheck-guile installcheck-guile
28526 maybe-installcheck-guile:
28527 @if guile
28528 maybe-installcheck-guile: installcheck-guile
28530 installcheck-guile: \
28531 configure-guile
28532 @: $(MAKE); $(unstage)
28533 @[ -f ./guile/Makefile ] || exit 0; \
28534 r=`${PWD_COMMAND}`; export r; \
28535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28536 $(HOST_EXPORTS) \
28537 for flag in $(EXTRA_HOST_FLAGS) ; do \
28538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28539 done; \
28540 echo "Doing installcheck in guile" ; \
28541 (cd $(HOST_SUBDIR)/guile && \
28542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28544 "RANLIB=$${RANLIB}" \
28545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28546 installcheck) \
28547 || exit 1
28549 @endif guile
28551 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
28552 maybe-mostlyclean-guile:
28553 @if guile
28554 maybe-mostlyclean-guile: mostlyclean-guile
28556 mostlyclean-guile:
28557 @: $(MAKE); $(unstage)
28558 @[ -f ./guile/Makefile ] || exit 0; \
28559 r=`${PWD_COMMAND}`; export r; \
28560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28561 $(HOST_EXPORTS) \
28562 for flag in $(EXTRA_HOST_FLAGS) ; do \
28563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28564 done; \
28565 echo "Doing mostlyclean in guile" ; \
28566 (cd $(HOST_SUBDIR)/guile && \
28567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28569 "RANLIB=$${RANLIB}" \
28570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28571 mostlyclean) \
28572 || exit 1
28574 @endif guile
28576 .PHONY: maybe-clean-guile clean-guile
28577 maybe-clean-guile:
28578 @if guile
28579 maybe-clean-guile: clean-guile
28581 clean-guile:
28582 @: $(MAKE); $(unstage)
28583 @[ -f ./guile/Makefile ] || exit 0; \
28584 r=`${PWD_COMMAND}`; export r; \
28585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28586 $(HOST_EXPORTS) \
28587 for flag in $(EXTRA_HOST_FLAGS) ; do \
28588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28589 done; \
28590 echo "Doing clean in guile" ; \
28591 (cd $(HOST_SUBDIR)/guile && \
28592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28594 "RANLIB=$${RANLIB}" \
28595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28596 clean) \
28597 || exit 1
28599 @endif guile
28601 .PHONY: maybe-distclean-guile distclean-guile
28602 maybe-distclean-guile:
28603 @if guile
28604 maybe-distclean-guile: distclean-guile
28606 distclean-guile:
28607 @: $(MAKE); $(unstage)
28608 @[ -f ./guile/Makefile ] || exit 0; \
28609 r=`${PWD_COMMAND}`; export r; \
28610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28611 $(HOST_EXPORTS) \
28612 for flag in $(EXTRA_HOST_FLAGS) ; do \
28613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28614 done; \
28615 echo "Doing distclean in guile" ; \
28616 (cd $(HOST_SUBDIR)/guile && \
28617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28619 "RANLIB=$${RANLIB}" \
28620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28621 distclean) \
28622 || exit 1
28624 @endif guile
28626 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
28627 maybe-maintainer-clean-guile:
28628 @if guile
28629 maybe-maintainer-clean-guile: maintainer-clean-guile
28631 maintainer-clean-guile:
28632 @: $(MAKE); $(unstage)
28633 @[ -f ./guile/Makefile ] || exit 0; \
28634 r=`${PWD_COMMAND}`; export r; \
28635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28636 $(HOST_EXPORTS) \
28637 for flag in $(EXTRA_HOST_FLAGS) ; do \
28638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28639 done; \
28640 echo "Doing maintainer-clean in guile" ; \
28641 (cd $(HOST_SUBDIR)/guile && \
28642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28644 "RANLIB=$${RANLIB}" \
28645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28646 maintainer-clean) \
28647 || exit 1
28649 @endif guile
28653 .PHONY: configure-tk maybe-configure-tk
28654 maybe-configure-tk:
28655 @if gcc-bootstrap
28656 configure-tk: stage_current
28657 @endif gcc-bootstrap
28658 @if tk
28659 maybe-configure-tk: configure-tk
28660 configure-tk:
28661 @: $(MAKE); $(unstage)
28662 @r=`${PWD_COMMAND}`; export r; \
28663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28664 test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
28665 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk ; \
28666 $(HOST_EXPORTS) \
28667 echo Configuring in $(HOST_SUBDIR)/tk; \
28668 cd "$(HOST_SUBDIR)/tk" || exit 1; \
28669 case $(srcdir) in \
28670 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28671 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
28672 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28673 esac; \
28674 srcdiroption="--srcdir=$${topdir}/tk"; \
28675 libsrcdir="$$s/tk"; \
28676 $(SHELL) $${libsrcdir}/configure \
28677 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28678 --target=${target_alias} $${srcdiroption} \
28679 || exit 1
28680 @endif tk
28686 .PHONY: all-tk maybe-all-tk
28687 maybe-all-tk:
28688 @if gcc-bootstrap
28689 all-tk: stage_current
28690 @endif gcc-bootstrap
28691 @if tk
28692 TARGET-tk=all
28693 maybe-all-tk: all-tk
28694 all-tk: configure-tk
28695 @: $(MAKE); $(unstage)
28696 @r=`${PWD_COMMAND}`; export r; \
28697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28698 $(HOST_EXPORTS) \
28699 (cd $(HOST_SUBDIR)/tk && \
28700 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
28701 $(TARGET-tk))
28702 @endif tk
28707 .PHONY: check-tk maybe-check-tk
28708 maybe-check-tk:
28709 @if tk
28710 maybe-check-tk: check-tk
28712 check-tk:
28713 @: $(MAKE); $(unstage)
28714 @r=`${PWD_COMMAND}`; export r; \
28715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28716 $(HOST_EXPORTS) \
28717 (cd $(HOST_SUBDIR)/tk && \
28718 $(MAKE) $(FLAGS_TO_PASS) check)
28720 @endif tk
28722 .PHONY: install-tk maybe-install-tk
28723 maybe-install-tk:
28724 @if tk
28725 maybe-install-tk: install-tk
28727 install-tk: installdirs
28728 @: $(MAKE); $(unstage)
28729 @r=`${PWD_COMMAND}`; export r; \
28730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28731 $(HOST_EXPORTS) \
28732 (cd $(HOST_SUBDIR)/tk && \
28733 $(MAKE) $(FLAGS_TO_PASS) install)
28735 @endif tk
28737 .PHONY: install-strip-tk maybe-install-strip-tk
28738 maybe-install-strip-tk:
28739 @if tk
28740 maybe-install-strip-tk: install-strip-tk
28742 install-strip-tk: installdirs
28743 @: $(MAKE); $(unstage)
28744 @r=`${PWD_COMMAND}`; export r; \
28745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28746 $(HOST_EXPORTS) \
28747 (cd $(HOST_SUBDIR)/tk && \
28748 $(MAKE) $(FLAGS_TO_PASS) install-strip)
28750 @endif tk
28752 # Other targets (info, dvi, pdf, etc.)
28754 .PHONY: maybe-info-tk info-tk
28755 maybe-info-tk:
28756 @if tk
28757 maybe-info-tk: info-tk
28759 info-tk: \
28760 configure-tk
28761 @: $(MAKE); $(unstage)
28762 @[ -f ./tk/Makefile ] || exit 0; \
28763 r=`${PWD_COMMAND}`; export r; \
28764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28765 $(HOST_EXPORTS) \
28766 for flag in $(EXTRA_HOST_FLAGS) ; do \
28767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28768 done; \
28769 echo "Doing info in tk" ; \
28770 (cd $(HOST_SUBDIR)/tk && \
28771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28773 "RANLIB=$${RANLIB}" \
28774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28775 info) \
28776 || exit 1
28778 @endif tk
28780 .PHONY: maybe-dvi-tk dvi-tk
28781 maybe-dvi-tk:
28782 @if tk
28783 maybe-dvi-tk: dvi-tk
28785 dvi-tk: \
28786 configure-tk
28787 @: $(MAKE); $(unstage)
28788 @[ -f ./tk/Makefile ] || exit 0; \
28789 r=`${PWD_COMMAND}`; export r; \
28790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28791 $(HOST_EXPORTS) \
28792 for flag in $(EXTRA_HOST_FLAGS) ; do \
28793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28794 done; \
28795 echo "Doing dvi in tk" ; \
28796 (cd $(HOST_SUBDIR)/tk && \
28797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28799 "RANLIB=$${RANLIB}" \
28800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28801 dvi) \
28802 || exit 1
28804 @endif tk
28806 .PHONY: maybe-pdf-tk pdf-tk
28807 maybe-pdf-tk:
28808 @if tk
28809 maybe-pdf-tk: pdf-tk
28811 pdf-tk: \
28812 configure-tk
28813 @: $(MAKE); $(unstage)
28814 @[ -f ./tk/Makefile ] || exit 0; \
28815 r=`${PWD_COMMAND}`; export r; \
28816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28817 $(HOST_EXPORTS) \
28818 for flag in $(EXTRA_HOST_FLAGS) ; do \
28819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28820 done; \
28821 echo "Doing pdf in tk" ; \
28822 (cd $(HOST_SUBDIR)/tk && \
28823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28825 "RANLIB=$${RANLIB}" \
28826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28827 pdf) \
28828 || exit 1
28830 @endif tk
28832 .PHONY: maybe-html-tk html-tk
28833 maybe-html-tk:
28834 @if tk
28835 maybe-html-tk: html-tk
28837 html-tk: \
28838 configure-tk
28839 @: $(MAKE); $(unstage)
28840 @[ -f ./tk/Makefile ] || exit 0; \
28841 r=`${PWD_COMMAND}`; export r; \
28842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28843 $(HOST_EXPORTS) \
28844 for flag in $(EXTRA_HOST_FLAGS) ; do \
28845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28846 done; \
28847 echo "Doing html in tk" ; \
28848 (cd $(HOST_SUBDIR)/tk && \
28849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28851 "RANLIB=$${RANLIB}" \
28852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28853 html) \
28854 || exit 1
28856 @endif tk
28858 .PHONY: maybe-TAGS-tk TAGS-tk
28859 maybe-TAGS-tk:
28860 @if tk
28861 maybe-TAGS-tk: TAGS-tk
28863 TAGS-tk: \
28864 configure-tk
28865 @: $(MAKE); $(unstage)
28866 @[ -f ./tk/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 TAGS in tk" ; \
28874 (cd $(HOST_SUBDIR)/tk && \
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 TAGS) \
28880 || exit 1
28882 @endif tk
28884 .PHONY: maybe-install-info-tk install-info-tk
28885 maybe-install-info-tk:
28886 @if tk
28887 maybe-install-info-tk: install-info-tk
28889 install-info-tk: \
28890 configure-tk \
28891 info-tk
28892 @: $(MAKE); $(unstage)
28893 @[ -f ./tk/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-info in tk" ; \
28901 (cd $(HOST_SUBDIR)/tk && \
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-info) \
28907 || exit 1
28909 @endif tk
28911 .PHONY: maybe-install-pdf-tk install-pdf-tk
28912 maybe-install-pdf-tk:
28913 @if tk
28914 maybe-install-pdf-tk: install-pdf-tk
28916 install-pdf-tk: \
28917 configure-tk \
28918 pdf-tk
28919 @: $(MAKE); $(unstage)
28920 @[ -f ./tk/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-pdf in tk" ; \
28928 (cd $(HOST_SUBDIR)/tk && \
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-pdf) \
28934 || exit 1
28936 @endif tk
28938 .PHONY: maybe-install-html-tk install-html-tk
28939 maybe-install-html-tk:
28940 @if tk
28941 maybe-install-html-tk: install-html-tk
28943 install-html-tk: \
28944 configure-tk \
28945 html-tk
28946 @: $(MAKE); $(unstage)
28947 @[ -f ./tk/Makefile ] || exit 0; \
28948 r=`${PWD_COMMAND}`; export r; \
28949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28950 $(HOST_EXPORTS) \
28951 for flag in $(EXTRA_HOST_FLAGS) ; do \
28952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28953 done; \
28954 echo "Doing install-html in tk" ; \
28955 (cd $(HOST_SUBDIR)/tk && \
28956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28958 "RANLIB=$${RANLIB}" \
28959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28960 install-html) \
28961 || exit 1
28963 @endif tk
28965 .PHONY: maybe-installcheck-tk installcheck-tk
28966 maybe-installcheck-tk:
28967 @if tk
28968 maybe-installcheck-tk: installcheck-tk
28970 installcheck-tk: \
28971 configure-tk
28972 @: $(MAKE); $(unstage)
28973 @[ -f ./tk/Makefile ] || exit 0; \
28974 r=`${PWD_COMMAND}`; export r; \
28975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28976 $(HOST_EXPORTS) \
28977 for flag in $(EXTRA_HOST_FLAGS) ; do \
28978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28979 done; \
28980 echo "Doing installcheck in tk" ; \
28981 (cd $(HOST_SUBDIR)/tk && \
28982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28984 "RANLIB=$${RANLIB}" \
28985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28986 installcheck) \
28987 || exit 1
28989 @endif tk
28991 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
28992 maybe-mostlyclean-tk:
28993 @if tk
28994 maybe-mostlyclean-tk: mostlyclean-tk
28996 mostlyclean-tk:
28997 @: $(MAKE); $(unstage)
28998 @[ -f ./tk/Makefile ] || exit 0; \
28999 r=`${PWD_COMMAND}`; export r; \
29000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29001 $(HOST_EXPORTS) \
29002 for flag in $(EXTRA_HOST_FLAGS) ; do \
29003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29004 done; \
29005 echo "Doing mostlyclean in tk" ; \
29006 (cd $(HOST_SUBDIR)/tk && \
29007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29009 "RANLIB=$${RANLIB}" \
29010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29011 mostlyclean) \
29012 || exit 1
29014 @endif tk
29016 .PHONY: maybe-clean-tk clean-tk
29017 maybe-clean-tk:
29018 @if tk
29019 maybe-clean-tk: clean-tk
29021 clean-tk:
29022 @: $(MAKE); $(unstage)
29023 @[ -f ./tk/Makefile ] || exit 0; \
29024 r=`${PWD_COMMAND}`; export r; \
29025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29026 $(HOST_EXPORTS) \
29027 for flag in $(EXTRA_HOST_FLAGS) ; do \
29028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29029 done; \
29030 echo "Doing clean in tk" ; \
29031 (cd $(HOST_SUBDIR)/tk && \
29032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29034 "RANLIB=$${RANLIB}" \
29035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29036 clean) \
29037 || exit 1
29039 @endif tk
29041 .PHONY: maybe-distclean-tk distclean-tk
29042 maybe-distclean-tk:
29043 @if tk
29044 maybe-distclean-tk: distclean-tk
29046 distclean-tk:
29047 @: $(MAKE); $(unstage)
29048 @[ -f ./tk/Makefile ] || exit 0; \
29049 r=`${PWD_COMMAND}`; export r; \
29050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29051 $(HOST_EXPORTS) \
29052 for flag in $(EXTRA_HOST_FLAGS) ; do \
29053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29054 done; \
29055 echo "Doing distclean in tk" ; \
29056 (cd $(HOST_SUBDIR)/tk && \
29057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29059 "RANLIB=$${RANLIB}" \
29060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29061 distclean) \
29062 || exit 1
29064 @endif tk
29066 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
29067 maybe-maintainer-clean-tk:
29068 @if tk
29069 maybe-maintainer-clean-tk: maintainer-clean-tk
29071 maintainer-clean-tk:
29072 @: $(MAKE); $(unstage)
29073 @[ -f ./tk/Makefile ] || exit 0; \
29074 r=`${PWD_COMMAND}`; export r; \
29075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29076 $(HOST_EXPORTS) \
29077 for flag in $(EXTRA_HOST_FLAGS) ; do \
29078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29079 done; \
29080 echo "Doing maintainer-clean in tk" ; \
29081 (cd $(HOST_SUBDIR)/tk && \
29082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29084 "RANLIB=$${RANLIB}" \
29085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29086 maintainer-clean) \
29087 || exit 1
29089 @endif tk
29093 .PHONY: configure-libtermcap maybe-configure-libtermcap
29094 maybe-configure-libtermcap:
29095 @if gcc-bootstrap
29096 configure-libtermcap: stage_current
29097 @endif gcc-bootstrap
29098 @if libtermcap
29099 maybe-configure-libtermcap: configure-libtermcap
29100 configure-libtermcap:
29101 @: $(MAKE); $(unstage)
29102 @r=`${PWD_COMMAND}`; export r; \
29103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29104 test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
29105 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap ; \
29106 $(HOST_EXPORTS) \
29107 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
29108 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
29109 case $(srcdir) in \
29110 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29111 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
29112 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29113 esac; \
29114 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
29115 libsrcdir="$$s/libtermcap"; \
29116 $(SHELL) $${libsrcdir}/configure \
29117 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29118 --target=${target_alias} $${srcdiroption} \
29119 || exit 1
29120 @endif libtermcap
29126 .PHONY: all-libtermcap maybe-all-libtermcap
29127 maybe-all-libtermcap:
29128 @if gcc-bootstrap
29129 all-libtermcap: stage_current
29130 @endif gcc-bootstrap
29131 @if libtermcap
29132 TARGET-libtermcap=all
29133 maybe-all-libtermcap: all-libtermcap
29134 all-libtermcap: configure-libtermcap
29135 @: $(MAKE); $(unstage)
29136 @r=`${PWD_COMMAND}`; export r; \
29137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29138 $(HOST_EXPORTS) \
29139 (cd $(HOST_SUBDIR)/libtermcap && \
29140 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
29141 $(TARGET-libtermcap))
29142 @endif libtermcap
29147 .PHONY: check-libtermcap maybe-check-libtermcap
29148 maybe-check-libtermcap:
29149 @if libtermcap
29150 maybe-check-libtermcap: check-libtermcap
29152 check-libtermcap:
29154 @endif libtermcap
29156 .PHONY: install-libtermcap maybe-install-libtermcap
29157 maybe-install-libtermcap:
29158 @if libtermcap
29159 maybe-install-libtermcap: install-libtermcap
29161 install-libtermcap: installdirs
29162 @: $(MAKE); $(unstage)
29163 @r=`${PWD_COMMAND}`; export r; \
29164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29165 $(HOST_EXPORTS) \
29166 (cd $(HOST_SUBDIR)/libtermcap && \
29167 $(MAKE) $(FLAGS_TO_PASS) install)
29169 @endif libtermcap
29171 .PHONY: install-strip-libtermcap maybe-install-strip-libtermcap
29172 maybe-install-strip-libtermcap:
29173 @if libtermcap
29174 maybe-install-strip-libtermcap: install-strip-libtermcap
29176 install-strip-libtermcap: installdirs
29177 @: $(MAKE); $(unstage)
29178 @r=`${PWD_COMMAND}`; export r; \
29179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29180 $(HOST_EXPORTS) \
29181 (cd $(HOST_SUBDIR)/libtermcap && \
29182 $(MAKE) $(FLAGS_TO_PASS) install-strip)
29184 @endif libtermcap
29186 # Other targets (info, dvi, pdf, etc.)
29188 .PHONY: maybe-info-libtermcap info-libtermcap
29189 maybe-info-libtermcap:
29190 @if libtermcap
29191 maybe-info-libtermcap: info-libtermcap
29193 info-libtermcap: \
29194 configure-libtermcap
29195 @: $(MAKE); $(unstage)
29196 @[ -f ./libtermcap/Makefile ] || exit 0; \
29197 r=`${PWD_COMMAND}`; export r; \
29198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29199 $(HOST_EXPORTS) \
29200 for flag in $(EXTRA_HOST_FLAGS) ; do \
29201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29202 done; \
29203 echo "Doing info in libtermcap" ; \
29204 (cd $(HOST_SUBDIR)/libtermcap && \
29205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29207 "RANLIB=$${RANLIB}" \
29208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29209 info) \
29210 || exit 1
29212 @endif libtermcap
29214 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
29215 maybe-dvi-libtermcap:
29216 @if libtermcap
29217 maybe-dvi-libtermcap: dvi-libtermcap
29219 dvi-libtermcap: \
29220 configure-libtermcap
29221 @: $(MAKE); $(unstage)
29222 @[ -f ./libtermcap/Makefile ] || exit 0; \
29223 r=`${PWD_COMMAND}`; export r; \
29224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29225 $(HOST_EXPORTS) \
29226 for flag in $(EXTRA_HOST_FLAGS) ; do \
29227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29228 done; \
29229 echo "Doing dvi in libtermcap" ; \
29230 (cd $(HOST_SUBDIR)/libtermcap && \
29231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29233 "RANLIB=$${RANLIB}" \
29234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29235 dvi) \
29236 || exit 1
29238 @endif libtermcap
29240 .PHONY: maybe-pdf-libtermcap pdf-libtermcap
29241 maybe-pdf-libtermcap:
29242 @if libtermcap
29243 maybe-pdf-libtermcap: pdf-libtermcap
29245 pdf-libtermcap: \
29246 configure-libtermcap
29247 @: $(MAKE); $(unstage)
29248 @[ -f ./libtermcap/Makefile ] || exit 0; \
29249 r=`${PWD_COMMAND}`; export r; \
29250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29251 $(HOST_EXPORTS) \
29252 for flag in $(EXTRA_HOST_FLAGS) ; do \
29253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29254 done; \
29255 echo "Doing pdf in libtermcap" ; \
29256 (cd $(HOST_SUBDIR)/libtermcap && \
29257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29259 "RANLIB=$${RANLIB}" \
29260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29261 pdf) \
29262 || exit 1
29264 @endif libtermcap
29266 .PHONY: maybe-html-libtermcap html-libtermcap
29267 maybe-html-libtermcap:
29268 @if libtermcap
29269 maybe-html-libtermcap: html-libtermcap
29271 html-libtermcap: \
29272 configure-libtermcap
29273 @: $(MAKE); $(unstage)
29274 @[ -f ./libtermcap/Makefile ] || exit 0; \
29275 r=`${PWD_COMMAND}`; export r; \
29276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29277 $(HOST_EXPORTS) \
29278 for flag in $(EXTRA_HOST_FLAGS) ; do \
29279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29280 done; \
29281 echo "Doing html in libtermcap" ; \
29282 (cd $(HOST_SUBDIR)/libtermcap && \
29283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29285 "RANLIB=$${RANLIB}" \
29286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29287 html) \
29288 || exit 1
29290 @endif libtermcap
29292 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
29293 maybe-TAGS-libtermcap:
29294 @if libtermcap
29295 maybe-TAGS-libtermcap: TAGS-libtermcap
29297 TAGS-libtermcap: \
29298 configure-libtermcap
29299 @: $(MAKE); $(unstage)
29300 @[ -f ./libtermcap/Makefile ] || exit 0; \
29301 r=`${PWD_COMMAND}`; export r; \
29302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29303 $(HOST_EXPORTS) \
29304 for flag in $(EXTRA_HOST_FLAGS) ; do \
29305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29306 done; \
29307 echo "Doing TAGS in libtermcap" ; \
29308 (cd $(HOST_SUBDIR)/libtermcap && \
29309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29311 "RANLIB=$${RANLIB}" \
29312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29313 TAGS) \
29314 || exit 1
29316 @endif libtermcap
29318 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
29319 maybe-install-info-libtermcap:
29320 @if libtermcap
29321 maybe-install-info-libtermcap: install-info-libtermcap
29323 install-info-libtermcap: \
29324 configure-libtermcap \
29325 info-libtermcap
29326 @: $(MAKE); $(unstage)
29327 @[ -f ./libtermcap/Makefile ] || exit 0; \
29328 r=`${PWD_COMMAND}`; export r; \
29329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29330 $(HOST_EXPORTS) \
29331 for flag in $(EXTRA_HOST_FLAGS) ; do \
29332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29333 done; \
29334 echo "Doing install-info in libtermcap" ; \
29335 (cd $(HOST_SUBDIR)/libtermcap && \
29336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29338 "RANLIB=$${RANLIB}" \
29339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29340 install-info) \
29341 || exit 1
29343 @endif libtermcap
29345 .PHONY: maybe-install-pdf-libtermcap install-pdf-libtermcap
29346 maybe-install-pdf-libtermcap:
29347 @if libtermcap
29348 maybe-install-pdf-libtermcap: install-pdf-libtermcap
29350 install-pdf-libtermcap: \
29351 configure-libtermcap \
29352 pdf-libtermcap
29353 @: $(MAKE); $(unstage)
29354 @[ -f ./libtermcap/Makefile ] || exit 0; \
29355 r=`${PWD_COMMAND}`; export r; \
29356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29357 $(HOST_EXPORTS) \
29358 for flag in $(EXTRA_HOST_FLAGS) ; do \
29359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29360 done; \
29361 echo "Doing install-pdf in libtermcap" ; \
29362 (cd $(HOST_SUBDIR)/libtermcap && \
29363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29365 "RANLIB=$${RANLIB}" \
29366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29367 install-pdf) \
29368 || exit 1
29370 @endif libtermcap
29372 .PHONY: maybe-install-html-libtermcap install-html-libtermcap
29373 maybe-install-html-libtermcap:
29374 @if libtermcap
29375 maybe-install-html-libtermcap: install-html-libtermcap
29377 install-html-libtermcap: \
29378 configure-libtermcap \
29379 html-libtermcap
29380 @: $(MAKE); $(unstage)
29381 @[ -f ./libtermcap/Makefile ] || exit 0; \
29382 r=`${PWD_COMMAND}`; export r; \
29383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29384 $(HOST_EXPORTS) \
29385 for flag in $(EXTRA_HOST_FLAGS) ; do \
29386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29387 done; \
29388 echo "Doing install-html in libtermcap" ; \
29389 (cd $(HOST_SUBDIR)/libtermcap && \
29390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29392 "RANLIB=$${RANLIB}" \
29393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29394 install-html) \
29395 || exit 1
29397 @endif libtermcap
29399 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
29400 maybe-installcheck-libtermcap:
29401 @if libtermcap
29402 maybe-installcheck-libtermcap: installcheck-libtermcap
29404 installcheck-libtermcap: \
29405 configure-libtermcap
29406 @: $(MAKE); $(unstage)
29407 @[ -f ./libtermcap/Makefile ] || exit 0; \
29408 r=`${PWD_COMMAND}`; export r; \
29409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29410 $(HOST_EXPORTS) \
29411 for flag in $(EXTRA_HOST_FLAGS) ; do \
29412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29413 done; \
29414 echo "Doing installcheck in libtermcap" ; \
29415 (cd $(HOST_SUBDIR)/libtermcap && \
29416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29418 "RANLIB=$${RANLIB}" \
29419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29420 installcheck) \
29421 || exit 1
29423 @endif libtermcap
29425 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
29426 maybe-mostlyclean-libtermcap:
29427 @if libtermcap
29428 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
29430 # libtermcap doesn't support mostlyclean.
29431 mostlyclean-libtermcap:
29433 @endif libtermcap
29435 .PHONY: maybe-clean-libtermcap clean-libtermcap
29436 maybe-clean-libtermcap:
29437 @if libtermcap
29438 maybe-clean-libtermcap: clean-libtermcap
29440 # libtermcap doesn't support clean.
29441 clean-libtermcap:
29443 @endif libtermcap
29445 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
29446 maybe-distclean-libtermcap:
29447 @if libtermcap
29448 maybe-distclean-libtermcap: distclean-libtermcap
29450 # libtermcap doesn't support distclean.
29451 distclean-libtermcap:
29453 @endif libtermcap
29455 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
29456 maybe-maintainer-clean-libtermcap:
29457 @if libtermcap
29458 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
29460 # libtermcap doesn't support maintainer-clean.
29461 maintainer-clean-libtermcap:
29463 @endif libtermcap
29467 .PHONY: configure-utils maybe-configure-utils
29468 maybe-configure-utils:
29469 @if gcc-bootstrap
29470 configure-utils: stage_current
29471 @endif gcc-bootstrap
29472 @if utils
29473 maybe-configure-utils: configure-utils
29474 configure-utils:
29475 @: $(MAKE); $(unstage)
29476 @r=`${PWD_COMMAND}`; export r; \
29477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29478 test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
29479 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils ; \
29480 $(HOST_EXPORTS) \
29481 echo Configuring in $(HOST_SUBDIR)/utils; \
29482 cd "$(HOST_SUBDIR)/utils" || exit 1; \
29483 case $(srcdir) in \
29484 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29485 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
29486 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29487 esac; \
29488 srcdiroption="--srcdir=$${topdir}/utils"; \
29489 libsrcdir="$$s/utils"; \
29490 $(SHELL) $${libsrcdir}/configure \
29491 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29492 --target=${target_alias} $${srcdiroption} \
29493 || exit 1
29494 @endif utils
29500 .PHONY: all-utils maybe-all-utils
29501 maybe-all-utils:
29502 @if gcc-bootstrap
29503 all-utils: stage_current
29504 @endif gcc-bootstrap
29505 @if utils
29506 TARGET-utils=all
29507 maybe-all-utils: all-utils
29508 all-utils: configure-utils
29509 @: $(MAKE); $(unstage)
29510 @r=`${PWD_COMMAND}`; export r; \
29511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29512 $(HOST_EXPORTS) \
29513 (cd $(HOST_SUBDIR)/utils && \
29514 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
29515 $(TARGET-utils))
29516 @endif utils
29521 .PHONY: check-utils maybe-check-utils
29522 maybe-check-utils:
29523 @if utils
29524 maybe-check-utils: check-utils
29526 check-utils:
29528 @endif utils
29530 .PHONY: install-utils maybe-install-utils
29531 maybe-install-utils:
29532 @if utils
29533 maybe-install-utils: install-utils
29535 install-utils: installdirs
29536 @: $(MAKE); $(unstage)
29537 @r=`${PWD_COMMAND}`; export r; \
29538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29539 $(HOST_EXPORTS) \
29540 (cd $(HOST_SUBDIR)/utils && \
29541 $(MAKE) $(FLAGS_TO_PASS) install)
29543 @endif utils
29545 .PHONY: install-strip-utils maybe-install-strip-utils
29546 maybe-install-strip-utils:
29547 @if utils
29548 maybe-install-strip-utils: install-strip-utils
29550 install-strip-utils: installdirs
29551 @: $(MAKE); $(unstage)
29552 @r=`${PWD_COMMAND}`; export r; \
29553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29554 $(HOST_EXPORTS) \
29555 (cd $(HOST_SUBDIR)/utils && \
29556 $(MAKE) $(FLAGS_TO_PASS) install-strip)
29558 @endif utils
29560 # Other targets (info, dvi, pdf, etc.)
29562 .PHONY: maybe-info-utils info-utils
29563 maybe-info-utils:
29564 @if utils
29565 maybe-info-utils: info-utils
29567 info-utils: \
29568 configure-utils
29569 @: $(MAKE); $(unstage)
29570 @[ -f ./utils/Makefile ] || exit 0; \
29571 r=`${PWD_COMMAND}`; export r; \
29572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29573 $(HOST_EXPORTS) \
29574 for flag in $(EXTRA_HOST_FLAGS) ; do \
29575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29576 done; \
29577 echo "Doing info in utils" ; \
29578 (cd $(HOST_SUBDIR)/utils && \
29579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29581 "RANLIB=$${RANLIB}" \
29582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29583 info) \
29584 || exit 1
29586 @endif utils
29588 .PHONY: maybe-dvi-utils dvi-utils
29589 maybe-dvi-utils:
29590 @if utils
29591 maybe-dvi-utils: dvi-utils
29593 dvi-utils: \
29594 configure-utils
29595 @: $(MAKE); $(unstage)
29596 @[ -f ./utils/Makefile ] || exit 0; \
29597 r=`${PWD_COMMAND}`; export r; \
29598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29599 $(HOST_EXPORTS) \
29600 for flag in $(EXTRA_HOST_FLAGS) ; do \
29601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29602 done; \
29603 echo "Doing dvi in utils" ; \
29604 (cd $(HOST_SUBDIR)/utils && \
29605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29607 "RANLIB=$${RANLIB}" \
29608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29609 dvi) \
29610 || exit 1
29612 @endif utils
29614 .PHONY: maybe-pdf-utils pdf-utils
29615 maybe-pdf-utils:
29616 @if utils
29617 maybe-pdf-utils: pdf-utils
29619 pdf-utils: \
29620 configure-utils
29621 @: $(MAKE); $(unstage)
29622 @[ -f ./utils/Makefile ] || exit 0; \
29623 r=`${PWD_COMMAND}`; export r; \
29624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29625 $(HOST_EXPORTS) \
29626 for flag in $(EXTRA_HOST_FLAGS) ; do \
29627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29628 done; \
29629 echo "Doing pdf in utils" ; \
29630 (cd $(HOST_SUBDIR)/utils && \
29631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29633 "RANLIB=$${RANLIB}" \
29634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29635 pdf) \
29636 || exit 1
29638 @endif utils
29640 .PHONY: maybe-html-utils html-utils
29641 maybe-html-utils:
29642 @if utils
29643 maybe-html-utils: html-utils
29645 html-utils: \
29646 configure-utils
29647 @: $(MAKE); $(unstage)
29648 @[ -f ./utils/Makefile ] || exit 0; \
29649 r=`${PWD_COMMAND}`; export r; \
29650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29651 $(HOST_EXPORTS) \
29652 for flag in $(EXTRA_HOST_FLAGS) ; do \
29653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29654 done; \
29655 echo "Doing html in utils" ; \
29656 (cd $(HOST_SUBDIR)/utils && \
29657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29659 "RANLIB=$${RANLIB}" \
29660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29661 html) \
29662 || exit 1
29664 @endif utils
29666 .PHONY: maybe-TAGS-utils TAGS-utils
29667 maybe-TAGS-utils:
29668 @if utils
29669 maybe-TAGS-utils: TAGS-utils
29671 TAGS-utils: \
29672 configure-utils
29673 @: $(MAKE); $(unstage)
29674 @[ -f ./utils/Makefile ] || exit 0; \
29675 r=`${PWD_COMMAND}`; export r; \
29676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29677 $(HOST_EXPORTS) \
29678 for flag in $(EXTRA_HOST_FLAGS) ; do \
29679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29680 done; \
29681 echo "Doing TAGS in utils" ; \
29682 (cd $(HOST_SUBDIR)/utils && \
29683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29685 "RANLIB=$${RANLIB}" \
29686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29687 TAGS) \
29688 || exit 1
29690 @endif utils
29692 .PHONY: maybe-install-info-utils install-info-utils
29693 maybe-install-info-utils:
29694 @if utils
29695 maybe-install-info-utils: install-info-utils
29697 install-info-utils: \
29698 configure-utils \
29699 info-utils
29700 @: $(MAKE); $(unstage)
29701 @[ -f ./utils/Makefile ] || exit 0; \
29702 r=`${PWD_COMMAND}`; export r; \
29703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29704 $(HOST_EXPORTS) \
29705 for flag in $(EXTRA_HOST_FLAGS) ; do \
29706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29707 done; \
29708 echo "Doing install-info in utils" ; \
29709 (cd $(HOST_SUBDIR)/utils && \
29710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29712 "RANLIB=$${RANLIB}" \
29713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29714 install-info) \
29715 || exit 1
29717 @endif utils
29719 .PHONY: maybe-install-pdf-utils install-pdf-utils
29720 maybe-install-pdf-utils:
29721 @if utils
29722 maybe-install-pdf-utils: install-pdf-utils
29724 install-pdf-utils: \
29725 configure-utils \
29726 pdf-utils
29727 @: $(MAKE); $(unstage)
29728 @[ -f ./utils/Makefile ] || exit 0; \
29729 r=`${PWD_COMMAND}`; export r; \
29730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29731 $(HOST_EXPORTS) \
29732 for flag in $(EXTRA_HOST_FLAGS) ; do \
29733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29734 done; \
29735 echo "Doing install-pdf in utils" ; \
29736 (cd $(HOST_SUBDIR)/utils && \
29737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29739 "RANLIB=$${RANLIB}" \
29740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29741 install-pdf) \
29742 || exit 1
29744 @endif utils
29746 .PHONY: maybe-install-html-utils install-html-utils
29747 maybe-install-html-utils:
29748 @if utils
29749 maybe-install-html-utils: install-html-utils
29751 install-html-utils: \
29752 configure-utils \
29753 html-utils
29754 @: $(MAKE); $(unstage)
29755 @[ -f ./utils/Makefile ] || exit 0; \
29756 r=`${PWD_COMMAND}`; export r; \
29757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29758 $(HOST_EXPORTS) \
29759 for flag in $(EXTRA_HOST_FLAGS) ; do \
29760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29761 done; \
29762 echo "Doing install-html in utils" ; \
29763 (cd $(HOST_SUBDIR)/utils && \
29764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29766 "RANLIB=$${RANLIB}" \
29767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29768 install-html) \
29769 || exit 1
29771 @endif utils
29773 .PHONY: maybe-installcheck-utils installcheck-utils
29774 maybe-installcheck-utils:
29775 @if utils
29776 maybe-installcheck-utils: installcheck-utils
29778 installcheck-utils: \
29779 configure-utils
29780 @: $(MAKE); $(unstage)
29781 @[ -f ./utils/Makefile ] || exit 0; \
29782 r=`${PWD_COMMAND}`; export r; \
29783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29784 $(HOST_EXPORTS) \
29785 for flag in $(EXTRA_HOST_FLAGS) ; do \
29786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29787 done; \
29788 echo "Doing installcheck in utils" ; \
29789 (cd $(HOST_SUBDIR)/utils && \
29790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29792 "RANLIB=$${RANLIB}" \
29793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29794 installcheck) \
29795 || exit 1
29797 @endif utils
29799 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
29800 maybe-mostlyclean-utils:
29801 @if utils
29802 maybe-mostlyclean-utils: mostlyclean-utils
29804 mostlyclean-utils:
29805 @: $(MAKE); $(unstage)
29806 @[ -f ./utils/Makefile ] || exit 0; \
29807 r=`${PWD_COMMAND}`; export r; \
29808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29809 $(HOST_EXPORTS) \
29810 for flag in $(EXTRA_HOST_FLAGS) ; do \
29811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29812 done; \
29813 echo "Doing mostlyclean in utils" ; \
29814 (cd $(HOST_SUBDIR)/utils && \
29815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29817 "RANLIB=$${RANLIB}" \
29818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29819 mostlyclean) \
29820 || exit 1
29822 @endif utils
29824 .PHONY: maybe-clean-utils clean-utils
29825 maybe-clean-utils:
29826 @if utils
29827 maybe-clean-utils: clean-utils
29829 clean-utils:
29830 @: $(MAKE); $(unstage)
29831 @[ -f ./utils/Makefile ] || exit 0; \
29832 r=`${PWD_COMMAND}`; export r; \
29833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29834 $(HOST_EXPORTS) \
29835 for flag in $(EXTRA_HOST_FLAGS) ; do \
29836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29837 done; \
29838 echo "Doing clean in utils" ; \
29839 (cd $(HOST_SUBDIR)/utils && \
29840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29842 "RANLIB=$${RANLIB}" \
29843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29844 clean) \
29845 || exit 1
29847 @endif utils
29849 .PHONY: maybe-distclean-utils distclean-utils
29850 maybe-distclean-utils:
29851 @if utils
29852 maybe-distclean-utils: distclean-utils
29854 distclean-utils:
29855 @: $(MAKE); $(unstage)
29856 @[ -f ./utils/Makefile ] || exit 0; \
29857 r=`${PWD_COMMAND}`; export r; \
29858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29859 $(HOST_EXPORTS) \
29860 for flag in $(EXTRA_HOST_FLAGS) ; do \
29861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29862 done; \
29863 echo "Doing distclean in utils" ; \
29864 (cd $(HOST_SUBDIR)/utils && \
29865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29867 "RANLIB=$${RANLIB}" \
29868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29869 distclean) \
29870 || exit 1
29872 @endif utils
29874 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
29875 maybe-maintainer-clean-utils:
29876 @if utils
29877 maybe-maintainer-clean-utils: maintainer-clean-utils
29879 maintainer-clean-utils:
29880 @: $(MAKE); $(unstage)
29881 @[ -f ./utils/Makefile ] || exit 0; \
29882 r=`${PWD_COMMAND}`; export r; \
29883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29884 $(HOST_EXPORTS) \
29885 for flag in $(EXTRA_HOST_FLAGS) ; do \
29886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29887 done; \
29888 echo "Doing maintainer-clean in utils" ; \
29889 (cd $(HOST_SUBDIR)/utils && \
29890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29892 "RANLIB=$${RANLIB}" \
29893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29894 maintainer-clean) \
29895 || exit 1
29897 @endif utils
29901 .PHONY: configure-gnattools maybe-configure-gnattools
29902 maybe-configure-gnattools:
29903 @if gcc-bootstrap
29904 configure-gnattools: stage_current
29905 @endif gcc-bootstrap
29906 @if gnattools
29907 maybe-configure-gnattools: configure-gnattools
29908 configure-gnattools:
29909 @: $(MAKE); $(unstage)
29910 @r=`${PWD_COMMAND}`; export r; \
29911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29912 test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
29913 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools ; \
29914 $(HOST_EXPORTS) \
29915 echo Configuring in $(HOST_SUBDIR)/gnattools; \
29916 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
29917 case $(srcdir) in \
29918 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29919 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
29920 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29921 esac; \
29922 srcdiroption="--srcdir=$${topdir}/gnattools"; \
29923 libsrcdir="$$s/gnattools"; \
29924 $(SHELL) $${libsrcdir}/configure \
29925 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29926 --target=${target_alias} $${srcdiroption} \
29927 || exit 1
29928 @endif gnattools
29934 .PHONY: all-gnattools maybe-all-gnattools
29935 maybe-all-gnattools:
29936 @if gcc-bootstrap
29937 all-gnattools: stage_current
29938 @endif gcc-bootstrap
29939 @if gnattools
29940 TARGET-gnattools=all
29941 maybe-all-gnattools: all-gnattools
29942 all-gnattools: configure-gnattools
29943 @: $(MAKE); $(unstage)
29944 @r=`${PWD_COMMAND}`; export r; \
29945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29946 $(HOST_EXPORTS) \
29947 (cd $(HOST_SUBDIR)/gnattools && \
29948 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
29949 $(TARGET-gnattools))
29950 @endif gnattools
29955 .PHONY: check-gnattools maybe-check-gnattools
29956 maybe-check-gnattools:
29957 @if gnattools
29958 maybe-check-gnattools: check-gnattools
29960 check-gnattools:
29961 @: $(MAKE); $(unstage)
29962 @r=`${PWD_COMMAND}`; export r; \
29963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29964 $(HOST_EXPORTS) \
29965 (cd $(HOST_SUBDIR)/gnattools && \
29966 $(MAKE) $(FLAGS_TO_PASS) check)
29968 @endif gnattools
29970 .PHONY: install-gnattools maybe-install-gnattools
29971 maybe-install-gnattools:
29972 @if gnattools
29973 maybe-install-gnattools: install-gnattools
29975 install-gnattools: installdirs
29976 @: $(MAKE); $(unstage)
29977 @r=`${PWD_COMMAND}`; export r; \
29978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29979 $(HOST_EXPORTS) \
29980 (cd $(HOST_SUBDIR)/gnattools && \
29981 $(MAKE) $(FLAGS_TO_PASS) install)
29983 @endif gnattools
29985 .PHONY: install-strip-gnattools maybe-install-strip-gnattools
29986 maybe-install-strip-gnattools:
29987 @if gnattools
29988 maybe-install-strip-gnattools: install-strip-gnattools
29990 install-strip-gnattools: installdirs
29991 @: $(MAKE); $(unstage)
29992 @r=`${PWD_COMMAND}`; export r; \
29993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29994 $(HOST_EXPORTS) \
29995 (cd $(HOST_SUBDIR)/gnattools && \
29996 $(MAKE) $(FLAGS_TO_PASS) install-strip)
29998 @endif gnattools
30000 # Other targets (info, dvi, pdf, etc.)
30002 .PHONY: maybe-info-gnattools info-gnattools
30003 maybe-info-gnattools:
30004 @if gnattools
30005 maybe-info-gnattools: info-gnattools
30007 info-gnattools: \
30008 configure-gnattools
30009 @: $(MAKE); $(unstage)
30010 @[ -f ./gnattools/Makefile ] || exit 0; \
30011 r=`${PWD_COMMAND}`; export r; \
30012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30013 $(HOST_EXPORTS) \
30014 for flag in $(EXTRA_HOST_FLAGS) ; do \
30015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30016 done; \
30017 echo "Doing info in gnattools" ; \
30018 (cd $(HOST_SUBDIR)/gnattools && \
30019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30021 "RANLIB=$${RANLIB}" \
30022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30023 info) \
30024 || exit 1
30026 @endif gnattools
30028 .PHONY: maybe-dvi-gnattools dvi-gnattools
30029 maybe-dvi-gnattools:
30030 @if gnattools
30031 maybe-dvi-gnattools: dvi-gnattools
30033 dvi-gnattools: \
30034 configure-gnattools
30035 @: $(MAKE); $(unstage)
30036 @[ -f ./gnattools/Makefile ] || exit 0; \
30037 r=`${PWD_COMMAND}`; export r; \
30038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30039 $(HOST_EXPORTS) \
30040 for flag in $(EXTRA_HOST_FLAGS) ; do \
30041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30042 done; \
30043 echo "Doing dvi in gnattools" ; \
30044 (cd $(HOST_SUBDIR)/gnattools && \
30045 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30046 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30047 "RANLIB=$${RANLIB}" \
30048 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30049 dvi) \
30050 || exit 1
30052 @endif gnattools
30054 .PHONY: maybe-pdf-gnattools pdf-gnattools
30055 maybe-pdf-gnattools:
30056 @if gnattools
30057 maybe-pdf-gnattools: pdf-gnattools
30059 pdf-gnattools: \
30060 configure-gnattools
30061 @: $(MAKE); $(unstage)
30062 @[ -f ./gnattools/Makefile ] || exit 0; \
30063 r=`${PWD_COMMAND}`; export r; \
30064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30065 $(HOST_EXPORTS) \
30066 for flag in $(EXTRA_HOST_FLAGS) ; do \
30067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30068 done; \
30069 echo "Doing pdf in gnattools" ; \
30070 (cd $(HOST_SUBDIR)/gnattools && \
30071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30073 "RANLIB=$${RANLIB}" \
30074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30075 pdf) \
30076 || exit 1
30078 @endif gnattools
30080 .PHONY: maybe-html-gnattools html-gnattools
30081 maybe-html-gnattools:
30082 @if gnattools
30083 maybe-html-gnattools: html-gnattools
30085 html-gnattools: \
30086 configure-gnattools
30087 @: $(MAKE); $(unstage)
30088 @[ -f ./gnattools/Makefile ] || exit 0; \
30089 r=`${PWD_COMMAND}`; export r; \
30090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30091 $(HOST_EXPORTS) \
30092 for flag in $(EXTRA_HOST_FLAGS) ; do \
30093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30094 done; \
30095 echo "Doing html in gnattools" ; \
30096 (cd $(HOST_SUBDIR)/gnattools && \
30097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30099 "RANLIB=$${RANLIB}" \
30100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30101 html) \
30102 || exit 1
30104 @endif gnattools
30106 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
30107 maybe-TAGS-gnattools:
30108 @if gnattools
30109 maybe-TAGS-gnattools: TAGS-gnattools
30111 TAGS-gnattools: \
30112 configure-gnattools
30113 @: $(MAKE); $(unstage)
30114 @[ -f ./gnattools/Makefile ] || exit 0; \
30115 r=`${PWD_COMMAND}`; export r; \
30116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30117 $(HOST_EXPORTS) \
30118 for flag in $(EXTRA_HOST_FLAGS) ; do \
30119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30120 done; \
30121 echo "Doing TAGS in gnattools" ; \
30122 (cd $(HOST_SUBDIR)/gnattools && \
30123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30125 "RANLIB=$${RANLIB}" \
30126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30127 TAGS) \
30128 || exit 1
30130 @endif gnattools
30132 .PHONY: maybe-install-info-gnattools install-info-gnattools
30133 maybe-install-info-gnattools:
30134 @if gnattools
30135 maybe-install-info-gnattools: install-info-gnattools
30137 install-info-gnattools: \
30138 configure-gnattools \
30139 info-gnattools
30140 @: $(MAKE); $(unstage)
30141 @[ -f ./gnattools/Makefile ] || exit 0; \
30142 r=`${PWD_COMMAND}`; export r; \
30143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30144 $(HOST_EXPORTS) \
30145 for flag in $(EXTRA_HOST_FLAGS) ; do \
30146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30147 done; \
30148 echo "Doing install-info in gnattools" ; \
30149 (cd $(HOST_SUBDIR)/gnattools && \
30150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30152 "RANLIB=$${RANLIB}" \
30153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30154 install-info) \
30155 || exit 1
30157 @endif gnattools
30159 .PHONY: maybe-install-pdf-gnattools install-pdf-gnattools
30160 maybe-install-pdf-gnattools:
30161 @if gnattools
30162 maybe-install-pdf-gnattools: install-pdf-gnattools
30164 install-pdf-gnattools: \
30165 configure-gnattools \
30166 pdf-gnattools
30167 @: $(MAKE); $(unstage)
30168 @[ -f ./gnattools/Makefile ] || exit 0; \
30169 r=`${PWD_COMMAND}`; export r; \
30170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30171 $(HOST_EXPORTS) \
30172 for flag in $(EXTRA_HOST_FLAGS) ; do \
30173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30174 done; \
30175 echo "Doing install-pdf in gnattools" ; \
30176 (cd $(HOST_SUBDIR)/gnattools && \
30177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30179 "RANLIB=$${RANLIB}" \
30180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30181 install-pdf) \
30182 || exit 1
30184 @endif gnattools
30186 .PHONY: maybe-install-html-gnattools install-html-gnattools
30187 maybe-install-html-gnattools:
30188 @if gnattools
30189 maybe-install-html-gnattools: install-html-gnattools
30191 install-html-gnattools: \
30192 configure-gnattools \
30193 html-gnattools
30194 @: $(MAKE); $(unstage)
30195 @[ -f ./gnattools/Makefile ] || exit 0; \
30196 r=`${PWD_COMMAND}`; export r; \
30197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30198 $(HOST_EXPORTS) \
30199 for flag in $(EXTRA_HOST_FLAGS) ; do \
30200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30201 done; \
30202 echo "Doing install-html in gnattools" ; \
30203 (cd $(HOST_SUBDIR)/gnattools && \
30204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30206 "RANLIB=$${RANLIB}" \
30207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30208 install-html) \
30209 || exit 1
30211 @endif gnattools
30213 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
30214 maybe-installcheck-gnattools:
30215 @if gnattools
30216 maybe-installcheck-gnattools: installcheck-gnattools
30218 installcheck-gnattools: \
30219 configure-gnattools
30220 @: $(MAKE); $(unstage)
30221 @[ -f ./gnattools/Makefile ] || exit 0; \
30222 r=`${PWD_COMMAND}`; export r; \
30223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30224 $(HOST_EXPORTS) \
30225 for flag in $(EXTRA_HOST_FLAGS) ; do \
30226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30227 done; \
30228 echo "Doing installcheck in gnattools" ; \
30229 (cd $(HOST_SUBDIR)/gnattools && \
30230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30232 "RANLIB=$${RANLIB}" \
30233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30234 installcheck) \
30235 || exit 1
30237 @endif gnattools
30239 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
30240 maybe-mostlyclean-gnattools:
30241 @if gnattools
30242 maybe-mostlyclean-gnattools: mostlyclean-gnattools
30244 mostlyclean-gnattools:
30245 @: $(MAKE); $(unstage)
30246 @[ -f ./gnattools/Makefile ] || exit 0; \
30247 r=`${PWD_COMMAND}`; export r; \
30248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30249 $(HOST_EXPORTS) \
30250 for flag in $(EXTRA_HOST_FLAGS) ; do \
30251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30252 done; \
30253 echo "Doing mostlyclean in gnattools" ; \
30254 (cd $(HOST_SUBDIR)/gnattools && \
30255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30257 "RANLIB=$${RANLIB}" \
30258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30259 mostlyclean) \
30260 || exit 1
30262 @endif gnattools
30264 .PHONY: maybe-clean-gnattools clean-gnattools
30265 maybe-clean-gnattools:
30266 @if gnattools
30267 maybe-clean-gnattools: clean-gnattools
30269 clean-gnattools:
30270 @: $(MAKE); $(unstage)
30271 @[ -f ./gnattools/Makefile ] || exit 0; \
30272 r=`${PWD_COMMAND}`; export r; \
30273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30274 $(HOST_EXPORTS) \
30275 for flag in $(EXTRA_HOST_FLAGS) ; do \
30276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30277 done; \
30278 echo "Doing clean in gnattools" ; \
30279 (cd $(HOST_SUBDIR)/gnattools && \
30280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30282 "RANLIB=$${RANLIB}" \
30283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30284 clean) \
30285 || exit 1
30287 @endif gnattools
30289 .PHONY: maybe-distclean-gnattools distclean-gnattools
30290 maybe-distclean-gnattools:
30291 @if gnattools
30292 maybe-distclean-gnattools: distclean-gnattools
30294 distclean-gnattools:
30295 @: $(MAKE); $(unstage)
30296 @[ -f ./gnattools/Makefile ] || exit 0; \
30297 r=`${PWD_COMMAND}`; export r; \
30298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30299 $(HOST_EXPORTS) \
30300 for flag in $(EXTRA_HOST_FLAGS) ; do \
30301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30302 done; \
30303 echo "Doing distclean in gnattools" ; \
30304 (cd $(HOST_SUBDIR)/gnattools && \
30305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30307 "RANLIB=$${RANLIB}" \
30308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30309 distclean) \
30310 || exit 1
30312 @endif gnattools
30314 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
30315 maybe-maintainer-clean-gnattools:
30316 @if gnattools
30317 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
30319 maintainer-clean-gnattools:
30320 @: $(MAKE); $(unstage)
30321 @[ -f ./gnattools/Makefile ] || exit 0; \
30322 r=`${PWD_COMMAND}`; export r; \
30323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30324 $(HOST_EXPORTS) \
30325 for flag in $(EXTRA_HOST_FLAGS) ; do \
30326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30327 done; \
30328 echo "Doing maintainer-clean in gnattools" ; \
30329 (cd $(HOST_SUBDIR)/gnattools && \
30330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30332 "RANLIB=$${RANLIB}" \
30333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30334 maintainer-clean) \
30335 || exit 1
30337 @endif gnattools
30341 .PHONY: configure-lto-plugin maybe-configure-lto-plugin
30342 maybe-configure-lto-plugin:
30343 @if gcc-bootstrap
30344 configure-lto-plugin: stage_current
30345 @endif gcc-bootstrap
30346 @if lto-plugin
30347 maybe-configure-lto-plugin: configure-lto-plugin
30348 configure-lto-plugin:
30349 @r=`${PWD_COMMAND}`; export r; \
30350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30351 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
30352 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
30353 $(HOST_EXPORTS) \
30354 echo Configuring in $(HOST_SUBDIR)/lto-plugin; \
30355 cd "$(HOST_SUBDIR)/lto-plugin" || exit 1; \
30356 case $(srcdir) in \
30357 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30358 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
30359 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30360 esac; \
30361 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
30362 libsrcdir="$$s/lto-plugin"; \
30363 $(SHELL) $${libsrcdir}/configure \
30364 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30365 --target=${target_alias} $${srcdiroption} --enable-shared \
30366 || exit 1
30367 @endif lto-plugin
30371 .PHONY: configure-stage1-lto-plugin maybe-configure-stage1-lto-plugin
30372 maybe-configure-stage1-lto-plugin:
30373 @if lto-plugin-bootstrap
30374 maybe-configure-stage1-lto-plugin: configure-stage1-lto-plugin
30375 configure-stage1-lto-plugin:
30376 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
30377 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
30378 @r=`${PWD_COMMAND}`; export r; \
30379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30380 TFLAGS="$(STAGE1_TFLAGS)"; \
30381 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
30382 $(HOST_EXPORTS) \
30383 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
30384 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
30385 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
30386 echo Configuring stage 1 in $(HOST_SUBDIR)/lto-plugin ; \
30387 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
30388 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
30389 case $(srcdir) in \
30390 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30391 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
30392 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30393 esac; \
30394 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
30395 libsrcdir="$$s/lto-plugin"; \
30396 $(SHELL) $${libsrcdir}/configure \
30397 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30398 --target=${target_alias} $${srcdiroption} \
30399 $(STAGE1_CONFIGURE_FLAGS) \
30400 --enable-shared
30401 @endif lto-plugin-bootstrap
30403 .PHONY: configure-stage2-lto-plugin maybe-configure-stage2-lto-plugin
30404 maybe-configure-stage2-lto-plugin:
30405 @if lto-plugin-bootstrap
30406 maybe-configure-stage2-lto-plugin: configure-stage2-lto-plugin
30407 configure-stage2-lto-plugin:
30408 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
30409 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
30410 @r=`${PWD_COMMAND}`; export r; \
30411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30412 TFLAGS="$(STAGE2_TFLAGS)"; \
30413 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
30414 $(HOST_EXPORTS) \
30415 $(POSTSTAGE1_HOST_EXPORTS) \
30416 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
30417 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
30418 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
30419 echo Configuring stage 2 in $(HOST_SUBDIR)/lto-plugin ; \
30420 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
30421 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
30422 case $(srcdir) in \
30423 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30424 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
30425 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30426 esac; \
30427 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
30428 libsrcdir="$$s/lto-plugin"; \
30429 $(SHELL) $${libsrcdir}/configure \
30430 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30431 --target=${target_alias} $${srcdiroption} \
30432 --with-build-libsubdir=$(HOST_SUBDIR) \
30433 $(STAGE2_CONFIGURE_FLAGS) \
30434 --enable-shared
30435 @endif lto-plugin-bootstrap
30437 .PHONY: configure-stage3-lto-plugin maybe-configure-stage3-lto-plugin
30438 maybe-configure-stage3-lto-plugin:
30439 @if lto-plugin-bootstrap
30440 maybe-configure-stage3-lto-plugin: configure-stage3-lto-plugin
30441 configure-stage3-lto-plugin:
30442 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
30443 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
30444 @r=`${PWD_COMMAND}`; export r; \
30445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30446 TFLAGS="$(STAGE3_TFLAGS)"; \
30447 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
30448 $(HOST_EXPORTS) \
30449 $(POSTSTAGE1_HOST_EXPORTS) \
30450 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
30451 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
30452 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
30453 echo Configuring stage 3 in $(HOST_SUBDIR)/lto-plugin ; \
30454 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
30455 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
30456 case $(srcdir) in \
30457 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30458 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
30459 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30460 esac; \
30461 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
30462 libsrcdir="$$s/lto-plugin"; \
30463 $(SHELL) $${libsrcdir}/configure \
30464 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30465 --target=${target_alias} $${srcdiroption} \
30466 --with-build-libsubdir=$(HOST_SUBDIR) \
30467 $(STAGE3_CONFIGURE_FLAGS) \
30468 --enable-shared
30469 @endif lto-plugin-bootstrap
30471 .PHONY: configure-stage4-lto-plugin maybe-configure-stage4-lto-plugin
30472 maybe-configure-stage4-lto-plugin:
30473 @if lto-plugin-bootstrap
30474 maybe-configure-stage4-lto-plugin: configure-stage4-lto-plugin
30475 configure-stage4-lto-plugin:
30476 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
30477 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
30478 @r=`${PWD_COMMAND}`; export r; \
30479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30480 TFLAGS="$(STAGE4_TFLAGS)"; \
30481 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
30482 $(HOST_EXPORTS) \
30483 $(POSTSTAGE1_HOST_EXPORTS) \
30484 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
30485 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
30486 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
30487 echo Configuring stage 4 in $(HOST_SUBDIR)/lto-plugin ; \
30488 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
30489 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
30490 case $(srcdir) in \
30491 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30492 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
30493 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30494 esac; \
30495 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
30496 libsrcdir="$$s/lto-plugin"; \
30497 $(SHELL) $${libsrcdir}/configure \
30498 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30499 --target=${target_alias} $${srcdiroption} \
30500 --with-build-libsubdir=$(HOST_SUBDIR) \
30501 $(STAGE4_CONFIGURE_FLAGS) \
30502 --enable-shared
30503 @endif lto-plugin-bootstrap
30505 .PHONY: configure-stageprofile-lto-plugin maybe-configure-stageprofile-lto-plugin
30506 maybe-configure-stageprofile-lto-plugin:
30507 @if lto-plugin-bootstrap
30508 maybe-configure-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
30509 configure-stageprofile-lto-plugin:
30510 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
30511 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
30512 @r=`${PWD_COMMAND}`; export r; \
30513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30514 TFLAGS="$(STAGEprofile_TFLAGS)"; \
30515 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
30516 $(HOST_EXPORTS) \
30517 $(POSTSTAGE1_HOST_EXPORTS) \
30518 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
30519 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
30520 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
30521 echo Configuring stage profile in $(HOST_SUBDIR)/lto-plugin ; \
30522 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
30523 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
30524 case $(srcdir) in \
30525 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30526 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
30527 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30528 esac; \
30529 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
30530 libsrcdir="$$s/lto-plugin"; \
30531 $(SHELL) $${libsrcdir}/configure \
30532 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30533 --target=${target_alias} $${srcdiroption} \
30534 --with-build-libsubdir=$(HOST_SUBDIR) \
30535 $(STAGEprofile_CONFIGURE_FLAGS) \
30536 --enable-shared
30537 @endif lto-plugin-bootstrap
30539 .PHONY: configure-stagefeedback-lto-plugin maybe-configure-stagefeedback-lto-plugin
30540 maybe-configure-stagefeedback-lto-plugin:
30541 @if lto-plugin-bootstrap
30542 maybe-configure-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
30543 configure-stagefeedback-lto-plugin:
30544 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
30545 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
30546 @r=`${PWD_COMMAND}`; export r; \
30547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30548 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
30549 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
30550 $(HOST_EXPORTS) \
30551 $(POSTSTAGE1_HOST_EXPORTS) \
30552 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
30553 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
30554 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
30555 echo Configuring stage feedback in $(HOST_SUBDIR)/lto-plugin ; \
30556 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
30557 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
30558 case $(srcdir) in \
30559 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30560 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
30561 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30562 esac; \
30563 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \
30564 libsrcdir="$$s/lto-plugin"; \
30565 $(SHELL) $${libsrcdir}/configure \
30566 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30567 --target=${target_alias} $${srcdiroption} \
30568 --with-build-libsubdir=$(HOST_SUBDIR) \
30569 $(STAGEfeedback_CONFIGURE_FLAGS) \
30570 --enable-shared
30571 @endif lto-plugin-bootstrap
30577 .PHONY: all-lto-plugin maybe-all-lto-plugin
30578 maybe-all-lto-plugin:
30579 @if gcc-bootstrap
30580 all-lto-plugin: stage_current
30581 @endif gcc-bootstrap
30582 @if lto-plugin
30583 TARGET-lto-plugin=all
30584 maybe-all-lto-plugin: all-lto-plugin
30585 all-lto-plugin: configure-lto-plugin
30586 @r=`${PWD_COMMAND}`; export r; \
30587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30588 $(HOST_EXPORTS) \
30589 (cd $(HOST_SUBDIR)/lto-plugin && \
30590 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
30591 $(TARGET-lto-plugin))
30592 @endif lto-plugin
30596 .PHONY: all-stage1-lto-plugin maybe-all-stage1-lto-plugin
30597 .PHONY: clean-stage1-lto-plugin maybe-clean-stage1-lto-plugin
30598 maybe-all-stage1-lto-plugin:
30599 maybe-clean-stage1-lto-plugin:
30600 @if lto-plugin-bootstrap
30601 maybe-all-stage1-lto-plugin: all-stage1-lto-plugin
30602 all-stage1: all-stage1-lto-plugin
30603 TARGET-stage1-lto-plugin = $(TARGET-lto-plugin)
30604 all-stage1-lto-plugin: configure-stage1-lto-plugin
30605 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
30606 @r=`${PWD_COMMAND}`; export r; \
30607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30608 TFLAGS="$(STAGE1_TFLAGS)"; \
30609 $(HOST_EXPORTS) \
30610 cd $(HOST_SUBDIR)/lto-plugin && \
30611 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30612 CFLAGS="$(STAGE1_CFLAGS)" \
30613 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
30614 LIBCFLAGS="$(LIBCFLAGS)" \
30615 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30616 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30617 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30618 $(EXTRA_HOST_FLAGS) \
30619 $(STAGE1_FLAGS_TO_PASS) \
30620 TFLAGS="$(STAGE1_TFLAGS)" \
30621 $(TARGET-stage1-lto-plugin)
30623 maybe-clean-stage1-lto-plugin: clean-stage1-lto-plugin
30624 clean-stage1: clean-stage1-lto-plugin
30625 clean-stage1-lto-plugin:
30626 @if [ $(current_stage) = stage1 ]; then \
30627 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
30628 else \
30629 [ -f $(HOST_SUBDIR)/stage1-lto-plugin/Makefile ] || exit 0; \
30630 $(MAKE) stage1-start; \
30631 fi; \
30632 cd $(HOST_SUBDIR)/lto-plugin && \
30633 $(MAKE) $(EXTRA_HOST_FLAGS) \
30634 $(STAGE1_FLAGS_TO_PASS) clean
30635 @endif lto-plugin-bootstrap
30638 .PHONY: all-stage2-lto-plugin maybe-all-stage2-lto-plugin
30639 .PHONY: clean-stage2-lto-plugin maybe-clean-stage2-lto-plugin
30640 maybe-all-stage2-lto-plugin:
30641 maybe-clean-stage2-lto-plugin:
30642 @if lto-plugin-bootstrap
30643 maybe-all-stage2-lto-plugin: all-stage2-lto-plugin
30644 all-stage2: all-stage2-lto-plugin
30645 TARGET-stage2-lto-plugin = $(TARGET-lto-plugin)
30646 all-stage2-lto-plugin: configure-stage2-lto-plugin
30647 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
30648 @r=`${PWD_COMMAND}`; export r; \
30649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30650 TFLAGS="$(STAGE2_TFLAGS)"; \
30651 $(HOST_EXPORTS) \
30652 $(POSTSTAGE1_HOST_EXPORTS) \
30653 cd $(HOST_SUBDIR)/lto-plugin && \
30654 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30655 CFLAGS="$(STAGE2_CFLAGS)" \
30656 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
30657 LIBCFLAGS="$(STAGE2_CFLAGS)" \
30658 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30659 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30660 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30661 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30662 TFLAGS="$(STAGE2_TFLAGS)" \
30663 $(TARGET-stage2-lto-plugin)
30665 maybe-clean-stage2-lto-plugin: clean-stage2-lto-plugin
30666 clean-stage2: clean-stage2-lto-plugin
30667 clean-stage2-lto-plugin:
30668 @if [ $(current_stage) = stage2 ]; then \
30669 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
30670 else \
30671 [ -f $(HOST_SUBDIR)/stage2-lto-plugin/Makefile ] || exit 0; \
30672 $(MAKE) stage2-start; \
30673 fi; \
30674 cd $(HOST_SUBDIR)/lto-plugin && \
30675 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
30676 @endif lto-plugin-bootstrap
30679 .PHONY: all-stage3-lto-plugin maybe-all-stage3-lto-plugin
30680 .PHONY: clean-stage3-lto-plugin maybe-clean-stage3-lto-plugin
30681 maybe-all-stage3-lto-plugin:
30682 maybe-clean-stage3-lto-plugin:
30683 @if lto-plugin-bootstrap
30684 maybe-all-stage3-lto-plugin: all-stage3-lto-plugin
30685 all-stage3: all-stage3-lto-plugin
30686 TARGET-stage3-lto-plugin = $(TARGET-lto-plugin)
30687 all-stage3-lto-plugin: configure-stage3-lto-plugin
30688 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
30689 @r=`${PWD_COMMAND}`; export r; \
30690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30691 TFLAGS="$(STAGE3_TFLAGS)"; \
30692 $(HOST_EXPORTS) \
30693 $(POSTSTAGE1_HOST_EXPORTS) \
30694 cd $(HOST_SUBDIR)/lto-plugin && \
30695 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30696 CFLAGS="$(STAGE3_CFLAGS)" \
30697 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
30698 LIBCFLAGS="$(STAGE3_CFLAGS)" \
30699 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30700 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30701 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30702 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30703 TFLAGS="$(STAGE3_TFLAGS)" \
30704 $(TARGET-stage3-lto-plugin)
30706 maybe-clean-stage3-lto-plugin: clean-stage3-lto-plugin
30707 clean-stage3: clean-stage3-lto-plugin
30708 clean-stage3-lto-plugin:
30709 @if [ $(current_stage) = stage3 ]; then \
30710 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
30711 else \
30712 [ -f $(HOST_SUBDIR)/stage3-lto-plugin/Makefile ] || exit 0; \
30713 $(MAKE) stage3-start; \
30714 fi; \
30715 cd $(HOST_SUBDIR)/lto-plugin && \
30716 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
30717 @endif lto-plugin-bootstrap
30720 .PHONY: all-stage4-lto-plugin maybe-all-stage4-lto-plugin
30721 .PHONY: clean-stage4-lto-plugin maybe-clean-stage4-lto-plugin
30722 maybe-all-stage4-lto-plugin:
30723 maybe-clean-stage4-lto-plugin:
30724 @if lto-plugin-bootstrap
30725 maybe-all-stage4-lto-plugin: all-stage4-lto-plugin
30726 all-stage4: all-stage4-lto-plugin
30727 TARGET-stage4-lto-plugin = $(TARGET-lto-plugin)
30728 all-stage4-lto-plugin: configure-stage4-lto-plugin
30729 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
30730 @r=`${PWD_COMMAND}`; export r; \
30731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30732 TFLAGS="$(STAGE4_TFLAGS)"; \
30733 $(HOST_EXPORTS) \
30734 $(POSTSTAGE1_HOST_EXPORTS) \
30735 cd $(HOST_SUBDIR)/lto-plugin && \
30736 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30737 CFLAGS="$(STAGE4_CFLAGS)" \
30738 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
30739 LIBCFLAGS="$(STAGE4_CFLAGS)" \
30740 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30741 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30742 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30743 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30744 TFLAGS="$(STAGE4_TFLAGS)" \
30745 $(TARGET-stage4-lto-plugin)
30747 maybe-clean-stage4-lto-plugin: clean-stage4-lto-plugin
30748 clean-stage4: clean-stage4-lto-plugin
30749 clean-stage4-lto-plugin:
30750 @if [ $(current_stage) = stage4 ]; then \
30751 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
30752 else \
30753 [ -f $(HOST_SUBDIR)/stage4-lto-plugin/Makefile ] || exit 0; \
30754 $(MAKE) stage4-start; \
30755 fi; \
30756 cd $(HOST_SUBDIR)/lto-plugin && \
30757 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
30758 @endif lto-plugin-bootstrap
30761 .PHONY: all-stageprofile-lto-plugin maybe-all-stageprofile-lto-plugin
30762 .PHONY: clean-stageprofile-lto-plugin maybe-clean-stageprofile-lto-plugin
30763 maybe-all-stageprofile-lto-plugin:
30764 maybe-clean-stageprofile-lto-plugin:
30765 @if lto-plugin-bootstrap
30766 maybe-all-stageprofile-lto-plugin: all-stageprofile-lto-plugin
30767 all-stageprofile: all-stageprofile-lto-plugin
30768 TARGET-stageprofile-lto-plugin = $(TARGET-lto-plugin)
30769 all-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
30770 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
30771 @r=`${PWD_COMMAND}`; export r; \
30772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30773 TFLAGS="$(STAGEprofile_TFLAGS)"; \
30774 $(HOST_EXPORTS) \
30775 $(POSTSTAGE1_HOST_EXPORTS) \
30776 cd $(HOST_SUBDIR)/lto-plugin && \
30777 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30778 CFLAGS="$(STAGEprofile_CFLAGS)" \
30779 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
30780 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
30781 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30782 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30783 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30784 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30785 TFLAGS="$(STAGEprofile_TFLAGS)" \
30786 $(TARGET-stageprofile-lto-plugin)
30788 maybe-clean-stageprofile-lto-plugin: clean-stageprofile-lto-plugin
30789 clean-stageprofile: clean-stageprofile-lto-plugin
30790 clean-stageprofile-lto-plugin:
30791 @if [ $(current_stage) = stageprofile ]; then \
30792 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
30793 else \
30794 [ -f $(HOST_SUBDIR)/stageprofile-lto-plugin/Makefile ] || exit 0; \
30795 $(MAKE) stageprofile-start; \
30796 fi; \
30797 cd $(HOST_SUBDIR)/lto-plugin && \
30798 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
30799 @endif lto-plugin-bootstrap
30802 .PHONY: all-stagefeedback-lto-plugin maybe-all-stagefeedback-lto-plugin
30803 .PHONY: clean-stagefeedback-lto-plugin maybe-clean-stagefeedback-lto-plugin
30804 maybe-all-stagefeedback-lto-plugin:
30805 maybe-clean-stagefeedback-lto-plugin:
30806 @if lto-plugin-bootstrap
30807 maybe-all-stagefeedback-lto-plugin: all-stagefeedback-lto-plugin
30808 all-stagefeedback: all-stagefeedback-lto-plugin
30809 TARGET-stagefeedback-lto-plugin = $(TARGET-lto-plugin)
30810 all-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
30811 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
30812 @r=`${PWD_COMMAND}`; export r; \
30813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30814 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
30815 $(HOST_EXPORTS) \
30816 $(POSTSTAGE1_HOST_EXPORTS) \
30817 cd $(HOST_SUBDIR)/lto-plugin && \
30818 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30819 CFLAGS="$(STAGEfeedback_CFLAGS)" \
30820 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
30821 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
30822 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30823 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30824 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30825 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
30826 TFLAGS="$(STAGEfeedback_TFLAGS)" \
30827 $(TARGET-stagefeedback-lto-plugin)
30829 maybe-clean-stagefeedback-lto-plugin: clean-stagefeedback-lto-plugin
30830 clean-stagefeedback: clean-stagefeedback-lto-plugin
30831 clean-stagefeedback-lto-plugin:
30832 @if [ $(current_stage) = stagefeedback ]; then \
30833 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
30834 else \
30835 [ -f $(HOST_SUBDIR)/stagefeedback-lto-plugin/Makefile ] || exit 0; \
30836 $(MAKE) stagefeedback-start; \
30837 fi; \
30838 cd $(HOST_SUBDIR)/lto-plugin && \
30839 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
30840 @endif lto-plugin-bootstrap
30846 .PHONY: check-lto-plugin maybe-check-lto-plugin
30847 maybe-check-lto-plugin:
30848 @if lto-plugin
30849 maybe-check-lto-plugin: check-lto-plugin
30851 check-lto-plugin:
30852 @: $(MAKE); $(unstage)
30853 @r=`${PWD_COMMAND}`; export r; \
30854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30855 $(HOST_EXPORTS) \
30856 (cd $(HOST_SUBDIR)/lto-plugin && \
30857 $(MAKE) $(FLAGS_TO_PASS) check)
30859 @endif lto-plugin
30861 .PHONY: install-lto-plugin maybe-install-lto-plugin
30862 maybe-install-lto-plugin:
30863 @if lto-plugin
30864 maybe-install-lto-plugin: install-lto-plugin
30866 install-lto-plugin: installdirs
30867 @: $(MAKE); $(unstage)
30868 @r=`${PWD_COMMAND}`; export r; \
30869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30870 $(HOST_EXPORTS) \
30871 (cd $(HOST_SUBDIR)/lto-plugin && \
30872 $(MAKE) $(FLAGS_TO_PASS) install)
30874 @endif lto-plugin
30876 .PHONY: install-strip-lto-plugin maybe-install-strip-lto-plugin
30877 maybe-install-strip-lto-plugin:
30878 @if lto-plugin
30879 maybe-install-strip-lto-plugin: install-strip-lto-plugin
30881 install-strip-lto-plugin: installdirs
30882 @: $(MAKE); $(unstage)
30883 @r=`${PWD_COMMAND}`; export r; \
30884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30885 $(HOST_EXPORTS) \
30886 (cd $(HOST_SUBDIR)/lto-plugin && \
30887 $(MAKE) $(FLAGS_TO_PASS) install-strip)
30889 @endif lto-plugin
30891 # Other targets (info, dvi, pdf, etc.)
30893 .PHONY: maybe-info-lto-plugin info-lto-plugin
30894 maybe-info-lto-plugin:
30895 @if lto-plugin
30896 maybe-info-lto-plugin: info-lto-plugin
30898 info-lto-plugin: \
30899 configure-lto-plugin
30900 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30901 r=`${PWD_COMMAND}`; export r; \
30902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30903 $(HOST_EXPORTS) \
30904 for flag in $(EXTRA_HOST_FLAGS) ; do \
30905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30906 done; \
30907 echo "Doing info in lto-plugin" ; \
30908 (cd $(HOST_SUBDIR)/lto-plugin && \
30909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30911 "RANLIB=$${RANLIB}" \
30912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30913 info) \
30914 || exit 1
30916 @endif lto-plugin
30918 .PHONY: maybe-dvi-lto-plugin dvi-lto-plugin
30919 maybe-dvi-lto-plugin:
30920 @if lto-plugin
30921 maybe-dvi-lto-plugin: dvi-lto-plugin
30923 dvi-lto-plugin: \
30924 configure-lto-plugin
30925 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30926 r=`${PWD_COMMAND}`; export r; \
30927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30928 $(HOST_EXPORTS) \
30929 for flag in $(EXTRA_HOST_FLAGS) ; do \
30930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30931 done; \
30932 echo "Doing dvi in lto-plugin" ; \
30933 (cd $(HOST_SUBDIR)/lto-plugin && \
30934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30936 "RANLIB=$${RANLIB}" \
30937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30938 dvi) \
30939 || exit 1
30941 @endif lto-plugin
30943 .PHONY: maybe-pdf-lto-plugin pdf-lto-plugin
30944 maybe-pdf-lto-plugin:
30945 @if lto-plugin
30946 maybe-pdf-lto-plugin: pdf-lto-plugin
30948 pdf-lto-plugin: \
30949 configure-lto-plugin
30950 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30951 r=`${PWD_COMMAND}`; export r; \
30952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30953 $(HOST_EXPORTS) \
30954 for flag in $(EXTRA_HOST_FLAGS) ; do \
30955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30956 done; \
30957 echo "Doing pdf in lto-plugin" ; \
30958 (cd $(HOST_SUBDIR)/lto-plugin && \
30959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30961 "RANLIB=$${RANLIB}" \
30962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30963 pdf) \
30964 || exit 1
30966 @endif lto-plugin
30968 .PHONY: maybe-html-lto-plugin html-lto-plugin
30969 maybe-html-lto-plugin:
30970 @if lto-plugin
30971 maybe-html-lto-plugin: html-lto-plugin
30973 html-lto-plugin: \
30974 configure-lto-plugin
30975 @[ -f ./lto-plugin/Makefile ] || exit 0; \
30976 r=`${PWD_COMMAND}`; export r; \
30977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30978 $(HOST_EXPORTS) \
30979 for flag in $(EXTRA_HOST_FLAGS) ; do \
30980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30981 done; \
30982 echo "Doing html in lto-plugin" ; \
30983 (cd $(HOST_SUBDIR)/lto-plugin && \
30984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30986 "RANLIB=$${RANLIB}" \
30987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30988 html) \
30989 || exit 1
30991 @endif lto-plugin
30993 .PHONY: maybe-TAGS-lto-plugin TAGS-lto-plugin
30994 maybe-TAGS-lto-plugin:
30995 @if lto-plugin
30996 maybe-TAGS-lto-plugin: TAGS-lto-plugin
30998 TAGS-lto-plugin: \
30999 configure-lto-plugin
31000 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31001 r=`${PWD_COMMAND}`; export r; \
31002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31003 $(HOST_EXPORTS) \
31004 for flag in $(EXTRA_HOST_FLAGS) ; do \
31005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31006 done; \
31007 echo "Doing TAGS in lto-plugin" ; \
31008 (cd $(HOST_SUBDIR)/lto-plugin && \
31009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31011 "RANLIB=$${RANLIB}" \
31012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31013 TAGS) \
31014 || exit 1
31016 @endif lto-plugin
31018 .PHONY: maybe-install-info-lto-plugin install-info-lto-plugin
31019 maybe-install-info-lto-plugin:
31020 @if lto-plugin
31021 maybe-install-info-lto-plugin: install-info-lto-plugin
31023 install-info-lto-plugin: \
31024 configure-lto-plugin \
31025 info-lto-plugin
31026 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31027 r=`${PWD_COMMAND}`; export r; \
31028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31029 $(HOST_EXPORTS) \
31030 for flag in $(EXTRA_HOST_FLAGS) ; do \
31031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31032 done; \
31033 echo "Doing install-info in lto-plugin" ; \
31034 (cd $(HOST_SUBDIR)/lto-plugin && \
31035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31037 "RANLIB=$${RANLIB}" \
31038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31039 install-info) \
31040 || exit 1
31042 @endif lto-plugin
31044 .PHONY: maybe-install-pdf-lto-plugin install-pdf-lto-plugin
31045 maybe-install-pdf-lto-plugin:
31046 @if lto-plugin
31047 maybe-install-pdf-lto-plugin: install-pdf-lto-plugin
31049 install-pdf-lto-plugin: \
31050 configure-lto-plugin \
31051 pdf-lto-plugin
31052 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31053 r=`${PWD_COMMAND}`; export r; \
31054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31055 $(HOST_EXPORTS) \
31056 for flag in $(EXTRA_HOST_FLAGS) ; do \
31057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31058 done; \
31059 echo "Doing install-pdf in lto-plugin" ; \
31060 (cd $(HOST_SUBDIR)/lto-plugin && \
31061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31063 "RANLIB=$${RANLIB}" \
31064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31065 install-pdf) \
31066 || exit 1
31068 @endif lto-plugin
31070 .PHONY: maybe-install-html-lto-plugin install-html-lto-plugin
31071 maybe-install-html-lto-plugin:
31072 @if lto-plugin
31073 maybe-install-html-lto-plugin: install-html-lto-plugin
31075 install-html-lto-plugin: \
31076 configure-lto-plugin \
31077 html-lto-plugin
31078 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31079 r=`${PWD_COMMAND}`; export r; \
31080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31081 $(HOST_EXPORTS) \
31082 for flag in $(EXTRA_HOST_FLAGS) ; do \
31083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31084 done; \
31085 echo "Doing install-html in lto-plugin" ; \
31086 (cd $(HOST_SUBDIR)/lto-plugin && \
31087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31089 "RANLIB=$${RANLIB}" \
31090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31091 install-html) \
31092 || exit 1
31094 @endif lto-plugin
31096 .PHONY: maybe-installcheck-lto-plugin installcheck-lto-plugin
31097 maybe-installcheck-lto-plugin:
31098 @if lto-plugin
31099 maybe-installcheck-lto-plugin: installcheck-lto-plugin
31101 installcheck-lto-plugin: \
31102 configure-lto-plugin
31103 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31104 r=`${PWD_COMMAND}`; export r; \
31105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31106 $(HOST_EXPORTS) \
31107 for flag in $(EXTRA_HOST_FLAGS) ; do \
31108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31109 done; \
31110 echo "Doing installcheck in lto-plugin" ; \
31111 (cd $(HOST_SUBDIR)/lto-plugin && \
31112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31114 "RANLIB=$${RANLIB}" \
31115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31116 installcheck) \
31117 || exit 1
31119 @endif lto-plugin
31121 .PHONY: maybe-mostlyclean-lto-plugin mostlyclean-lto-plugin
31122 maybe-mostlyclean-lto-plugin:
31123 @if lto-plugin
31124 maybe-mostlyclean-lto-plugin: mostlyclean-lto-plugin
31126 mostlyclean-lto-plugin:
31127 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31128 r=`${PWD_COMMAND}`; export r; \
31129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31130 $(HOST_EXPORTS) \
31131 for flag in $(EXTRA_HOST_FLAGS) ; do \
31132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31133 done; \
31134 echo "Doing mostlyclean in lto-plugin" ; \
31135 (cd $(HOST_SUBDIR)/lto-plugin && \
31136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31138 "RANLIB=$${RANLIB}" \
31139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31140 mostlyclean) \
31141 || exit 1
31143 @endif lto-plugin
31145 .PHONY: maybe-clean-lto-plugin clean-lto-plugin
31146 maybe-clean-lto-plugin:
31147 @if lto-plugin
31148 maybe-clean-lto-plugin: clean-lto-plugin
31150 clean-lto-plugin:
31151 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31152 r=`${PWD_COMMAND}`; export r; \
31153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31154 $(HOST_EXPORTS) \
31155 for flag in $(EXTRA_HOST_FLAGS) ; do \
31156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31157 done; \
31158 echo "Doing clean in lto-plugin" ; \
31159 (cd $(HOST_SUBDIR)/lto-plugin && \
31160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31162 "RANLIB=$${RANLIB}" \
31163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31164 clean) \
31165 || exit 1
31167 @endif lto-plugin
31169 .PHONY: maybe-distclean-lto-plugin distclean-lto-plugin
31170 maybe-distclean-lto-plugin:
31171 @if lto-plugin
31172 maybe-distclean-lto-plugin: distclean-lto-plugin
31174 distclean-lto-plugin:
31175 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31176 r=`${PWD_COMMAND}`; export r; \
31177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31178 $(HOST_EXPORTS) \
31179 for flag in $(EXTRA_HOST_FLAGS) ; do \
31180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31181 done; \
31182 echo "Doing distclean in lto-plugin" ; \
31183 (cd $(HOST_SUBDIR)/lto-plugin && \
31184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31186 "RANLIB=$${RANLIB}" \
31187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31188 distclean) \
31189 || exit 1
31191 @endif lto-plugin
31193 .PHONY: maybe-maintainer-clean-lto-plugin maintainer-clean-lto-plugin
31194 maybe-maintainer-clean-lto-plugin:
31195 @if lto-plugin
31196 maybe-maintainer-clean-lto-plugin: maintainer-clean-lto-plugin
31198 maintainer-clean-lto-plugin:
31199 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31200 r=`${PWD_COMMAND}`; export r; \
31201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31202 $(HOST_EXPORTS) \
31203 for flag in $(EXTRA_HOST_FLAGS) ; do \
31204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31205 done; \
31206 echo "Doing maintainer-clean in lto-plugin" ; \
31207 (cd $(HOST_SUBDIR)/lto-plugin && \
31208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31210 "RANLIB=$${RANLIB}" \
31211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31212 maintainer-clean) \
31213 || exit 1
31215 @endif lto-plugin
31219 .PHONY: configure-function_reordering_plugin maybe-configure-function_reordering_plugin
31220 maybe-configure-function_reordering_plugin:
31221 @if gcc-bootstrap
31222 configure-function_reordering_plugin: stage_current
31223 @endif gcc-bootstrap
31224 @if function_reordering_plugin
31225 maybe-configure-function_reordering_plugin: configure-function_reordering_plugin
31226 configure-function_reordering_plugin:
31227 @r=`${PWD_COMMAND}`; export r; \
31228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31229 test ! -f $(HOST_SUBDIR)/function_reordering_plugin/Makefile || exit 0; \
31230 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/function_reordering_plugin ; \
31231 $(HOST_EXPORTS) \
31232 echo Configuring in $(HOST_SUBDIR)/function_reordering_plugin; \
31233 cd "$(HOST_SUBDIR)/function_reordering_plugin" || exit 1; \
31234 case $(srcdir) in \
31235 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31236 *) topdir=`echo $(HOST_SUBDIR)/function_reordering_plugin/ | \
31237 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31238 esac; \
31239 srcdiroption="--srcdir=$${topdir}/function_reordering_plugin"; \
31240 libsrcdir="$$s/function_reordering_plugin"; \
31241 $(SHELL) $${libsrcdir}/configure \
31242 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31243 --target=${target_alias} $${srcdiroption} --enable-shared \
31244 || exit 1
31245 @endif function_reordering_plugin
31249 .PHONY: configure-stage1-function_reordering_plugin maybe-configure-stage1-function_reordering_plugin
31250 maybe-configure-stage1-function_reordering_plugin:
31251 @if function_reordering_plugin-bootstrap
31252 maybe-configure-stage1-function_reordering_plugin: configure-stage1-function_reordering_plugin
31253 configure-stage1-function_reordering_plugin:
31254 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
31255 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/function_reordering_plugin
31256 @r=`${PWD_COMMAND}`; export r; \
31257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31258 TFLAGS="$(STAGE1_TFLAGS)"; \
31259 test ! -f $(HOST_SUBDIR)/function_reordering_plugin/Makefile || exit 0; \
31260 $(HOST_EXPORTS) \
31261 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
31262 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
31263 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
31264 echo Configuring stage 1 in $(HOST_SUBDIR)/function_reordering_plugin ; \
31265 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/function_reordering_plugin ; \
31266 cd $(HOST_SUBDIR)/function_reordering_plugin || exit 1; \
31267 case $(srcdir) in \
31268 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31269 *) topdir=`echo $(HOST_SUBDIR)/function_reordering_plugin/ | \
31270 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31271 esac; \
31272 srcdiroption="--srcdir=$${topdir}/function_reordering_plugin"; \
31273 libsrcdir="$$s/function_reordering_plugin"; \
31274 $(SHELL) $${libsrcdir}/configure \
31275 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31276 --target=${target_alias} $${srcdiroption} \
31277 $(STAGE1_CONFIGURE_FLAGS) \
31278 --enable-shared
31279 @endif function_reordering_plugin-bootstrap
31281 .PHONY: configure-stage2-function_reordering_plugin maybe-configure-stage2-function_reordering_plugin
31282 maybe-configure-stage2-function_reordering_plugin:
31283 @if function_reordering_plugin-bootstrap
31284 maybe-configure-stage2-function_reordering_plugin: configure-stage2-function_reordering_plugin
31285 configure-stage2-function_reordering_plugin:
31286 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
31287 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/function_reordering_plugin
31288 @r=`${PWD_COMMAND}`; export r; \
31289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31290 TFLAGS="$(STAGE2_TFLAGS)"; \
31291 test ! -f $(HOST_SUBDIR)/function_reordering_plugin/Makefile || exit 0; \
31292 $(HOST_EXPORTS) \
31293 $(POSTSTAGE1_HOST_EXPORTS) \
31294 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
31295 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
31296 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
31297 echo Configuring stage 2 in $(HOST_SUBDIR)/function_reordering_plugin ; \
31298 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/function_reordering_plugin ; \
31299 cd $(HOST_SUBDIR)/function_reordering_plugin || exit 1; \
31300 case $(srcdir) in \
31301 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31302 *) topdir=`echo $(HOST_SUBDIR)/function_reordering_plugin/ | \
31303 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31304 esac; \
31305 srcdiroption="--srcdir=$${topdir}/function_reordering_plugin"; \
31306 libsrcdir="$$s/function_reordering_plugin"; \
31307 $(SHELL) $${libsrcdir}/configure \
31308 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31309 --target=${target_alias} $${srcdiroption} \
31310 --with-build-libsubdir=$(HOST_SUBDIR) \
31311 $(STAGE2_CONFIGURE_FLAGS) \
31312 --enable-shared
31313 @endif function_reordering_plugin-bootstrap
31315 .PHONY: configure-stage3-function_reordering_plugin maybe-configure-stage3-function_reordering_plugin
31316 maybe-configure-stage3-function_reordering_plugin:
31317 @if function_reordering_plugin-bootstrap
31318 maybe-configure-stage3-function_reordering_plugin: configure-stage3-function_reordering_plugin
31319 configure-stage3-function_reordering_plugin:
31320 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
31321 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/function_reordering_plugin
31322 @r=`${PWD_COMMAND}`; export r; \
31323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31324 TFLAGS="$(STAGE3_TFLAGS)"; \
31325 test ! -f $(HOST_SUBDIR)/function_reordering_plugin/Makefile || exit 0; \
31326 $(HOST_EXPORTS) \
31327 $(POSTSTAGE1_HOST_EXPORTS) \
31328 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
31329 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
31330 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
31331 echo Configuring stage 3 in $(HOST_SUBDIR)/function_reordering_plugin ; \
31332 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/function_reordering_plugin ; \
31333 cd $(HOST_SUBDIR)/function_reordering_plugin || exit 1; \
31334 case $(srcdir) in \
31335 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31336 *) topdir=`echo $(HOST_SUBDIR)/function_reordering_plugin/ | \
31337 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31338 esac; \
31339 srcdiroption="--srcdir=$${topdir}/function_reordering_plugin"; \
31340 libsrcdir="$$s/function_reordering_plugin"; \
31341 $(SHELL) $${libsrcdir}/configure \
31342 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31343 --target=${target_alias} $${srcdiroption} \
31344 --with-build-libsubdir=$(HOST_SUBDIR) \
31345 $(STAGE3_CONFIGURE_FLAGS) \
31346 --enable-shared
31347 @endif function_reordering_plugin-bootstrap
31349 .PHONY: configure-stage4-function_reordering_plugin maybe-configure-stage4-function_reordering_plugin
31350 maybe-configure-stage4-function_reordering_plugin:
31351 @if function_reordering_plugin-bootstrap
31352 maybe-configure-stage4-function_reordering_plugin: configure-stage4-function_reordering_plugin
31353 configure-stage4-function_reordering_plugin:
31354 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
31355 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/function_reordering_plugin
31356 @r=`${PWD_COMMAND}`; export r; \
31357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31358 TFLAGS="$(STAGE4_TFLAGS)"; \
31359 test ! -f $(HOST_SUBDIR)/function_reordering_plugin/Makefile || exit 0; \
31360 $(HOST_EXPORTS) \
31361 $(POSTSTAGE1_HOST_EXPORTS) \
31362 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
31363 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
31364 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
31365 echo Configuring stage 4 in $(HOST_SUBDIR)/function_reordering_plugin ; \
31366 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/function_reordering_plugin ; \
31367 cd $(HOST_SUBDIR)/function_reordering_plugin || exit 1; \
31368 case $(srcdir) in \
31369 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31370 *) topdir=`echo $(HOST_SUBDIR)/function_reordering_plugin/ | \
31371 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31372 esac; \
31373 srcdiroption="--srcdir=$${topdir}/function_reordering_plugin"; \
31374 libsrcdir="$$s/function_reordering_plugin"; \
31375 $(SHELL) $${libsrcdir}/configure \
31376 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31377 --target=${target_alias} $${srcdiroption} \
31378 --with-build-libsubdir=$(HOST_SUBDIR) \
31379 $(STAGE4_CONFIGURE_FLAGS) \
31380 --enable-shared
31381 @endif function_reordering_plugin-bootstrap
31383 .PHONY: configure-stageprofile-function_reordering_plugin maybe-configure-stageprofile-function_reordering_plugin
31384 maybe-configure-stageprofile-function_reordering_plugin:
31385 @if function_reordering_plugin-bootstrap
31386 maybe-configure-stageprofile-function_reordering_plugin: configure-stageprofile-function_reordering_plugin
31387 configure-stageprofile-function_reordering_plugin:
31388 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
31389 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/function_reordering_plugin
31390 @r=`${PWD_COMMAND}`; export r; \
31391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31392 TFLAGS="$(STAGEprofile_TFLAGS)"; \
31393 test ! -f $(HOST_SUBDIR)/function_reordering_plugin/Makefile || exit 0; \
31394 $(HOST_EXPORTS) \
31395 $(POSTSTAGE1_HOST_EXPORTS) \
31396 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
31397 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
31398 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
31399 echo Configuring stage profile in $(HOST_SUBDIR)/function_reordering_plugin ; \
31400 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/function_reordering_plugin ; \
31401 cd $(HOST_SUBDIR)/function_reordering_plugin || exit 1; \
31402 case $(srcdir) in \
31403 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31404 *) topdir=`echo $(HOST_SUBDIR)/function_reordering_plugin/ | \
31405 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31406 esac; \
31407 srcdiroption="--srcdir=$${topdir}/function_reordering_plugin"; \
31408 libsrcdir="$$s/function_reordering_plugin"; \
31409 $(SHELL) $${libsrcdir}/configure \
31410 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31411 --target=${target_alias} $${srcdiroption} \
31412 --with-build-libsubdir=$(HOST_SUBDIR) \
31413 $(STAGEprofile_CONFIGURE_FLAGS) \
31414 --enable-shared
31415 @endif function_reordering_plugin-bootstrap
31417 .PHONY: configure-stagefeedback-function_reordering_plugin maybe-configure-stagefeedback-function_reordering_plugin
31418 maybe-configure-stagefeedback-function_reordering_plugin:
31419 @if function_reordering_plugin-bootstrap
31420 maybe-configure-stagefeedback-function_reordering_plugin: configure-stagefeedback-function_reordering_plugin
31421 configure-stagefeedback-function_reordering_plugin:
31422 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
31423 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/function_reordering_plugin
31424 @r=`${PWD_COMMAND}`; export r; \
31425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31426 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
31427 test ! -f $(HOST_SUBDIR)/function_reordering_plugin/Makefile || exit 0; \
31428 $(HOST_EXPORTS) \
31429 $(POSTSTAGE1_HOST_EXPORTS) \
31430 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
31431 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
31432 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
31433 echo Configuring stage feedback in $(HOST_SUBDIR)/function_reordering_plugin ; \
31434 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/function_reordering_plugin ; \
31435 cd $(HOST_SUBDIR)/function_reordering_plugin || exit 1; \
31436 case $(srcdir) in \
31437 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31438 *) topdir=`echo $(HOST_SUBDIR)/function_reordering_plugin/ | \
31439 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31440 esac; \
31441 srcdiroption="--srcdir=$${topdir}/function_reordering_plugin"; \
31442 libsrcdir="$$s/function_reordering_plugin"; \
31443 $(SHELL) $${libsrcdir}/configure \
31444 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31445 --target=${target_alias} $${srcdiroption} \
31446 --with-build-libsubdir=$(HOST_SUBDIR) \
31447 $(STAGEfeedback_CONFIGURE_FLAGS) \
31448 --enable-shared
31449 @endif function_reordering_plugin-bootstrap
31455 .PHONY: all-function_reordering_plugin maybe-all-function_reordering_plugin
31456 maybe-all-function_reordering_plugin:
31457 @if gcc-bootstrap
31458 all-function_reordering_plugin: stage_current
31459 @endif gcc-bootstrap
31460 @if function_reordering_plugin
31461 TARGET-function_reordering_plugin=all
31462 maybe-all-function_reordering_plugin: all-function_reordering_plugin
31463 all-function_reordering_plugin: configure-function_reordering_plugin
31464 @r=`${PWD_COMMAND}`; export r; \
31465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31466 $(HOST_EXPORTS) \
31467 (cd $(HOST_SUBDIR)/function_reordering_plugin && \
31468 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
31469 $(TARGET-function_reordering_plugin))
31470 @endif function_reordering_plugin
31474 .PHONY: all-stage1-function_reordering_plugin maybe-all-stage1-function_reordering_plugin
31475 .PHONY: clean-stage1-function_reordering_plugin maybe-clean-stage1-function_reordering_plugin
31476 maybe-all-stage1-function_reordering_plugin:
31477 maybe-clean-stage1-function_reordering_plugin:
31478 @if function_reordering_plugin-bootstrap
31479 maybe-all-stage1-function_reordering_plugin: all-stage1-function_reordering_plugin
31480 all-stage1: all-stage1-function_reordering_plugin
31481 TARGET-stage1-function_reordering_plugin = $(TARGET-function_reordering_plugin)
31482 all-stage1-function_reordering_plugin: configure-stage1-function_reordering_plugin
31483 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
31484 @r=`${PWD_COMMAND}`; export r; \
31485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31486 TFLAGS="$(STAGE1_TFLAGS)"; \
31487 $(HOST_EXPORTS) \
31488 cd $(HOST_SUBDIR)/function_reordering_plugin && \
31489 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31490 CFLAGS="$(STAGE1_CFLAGS)" \
31491 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
31492 LIBCFLAGS="$(LIBCFLAGS)" \
31493 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31494 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31495 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31496 $(EXTRA_HOST_FLAGS) \
31497 $(STAGE1_FLAGS_TO_PASS) \
31498 TFLAGS="$(STAGE1_TFLAGS)" \
31499 $(TARGET-stage1-function_reordering_plugin)
31501 maybe-clean-stage1-function_reordering_plugin: clean-stage1-function_reordering_plugin
31502 clean-stage1: clean-stage1-function_reordering_plugin
31503 clean-stage1-function_reordering_plugin:
31504 @if [ $(current_stage) = stage1 ]; then \
31505 [ -f $(HOST_SUBDIR)/function_reordering_plugin/Makefile ] || exit 0; \
31506 else \
31507 [ -f $(HOST_SUBDIR)/stage1-function_reordering_plugin/Makefile ] || exit 0; \
31508 $(MAKE) stage1-start; \
31509 fi; \
31510 cd $(HOST_SUBDIR)/function_reordering_plugin && \
31511 $(MAKE) $(EXTRA_HOST_FLAGS) \
31512 $(STAGE1_FLAGS_TO_PASS) clean
31513 @endif function_reordering_plugin-bootstrap
31516 .PHONY: all-stage2-function_reordering_plugin maybe-all-stage2-function_reordering_plugin
31517 .PHONY: clean-stage2-function_reordering_plugin maybe-clean-stage2-function_reordering_plugin
31518 maybe-all-stage2-function_reordering_plugin:
31519 maybe-clean-stage2-function_reordering_plugin:
31520 @if function_reordering_plugin-bootstrap
31521 maybe-all-stage2-function_reordering_plugin: all-stage2-function_reordering_plugin
31522 all-stage2: all-stage2-function_reordering_plugin
31523 TARGET-stage2-function_reordering_plugin = $(TARGET-function_reordering_plugin)
31524 all-stage2-function_reordering_plugin: configure-stage2-function_reordering_plugin
31525 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
31526 @r=`${PWD_COMMAND}`; export r; \
31527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31528 TFLAGS="$(STAGE2_TFLAGS)"; \
31529 $(HOST_EXPORTS) \
31530 $(POSTSTAGE1_HOST_EXPORTS) \
31531 cd $(HOST_SUBDIR)/function_reordering_plugin && \
31532 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31533 CFLAGS="$(STAGE2_CFLAGS)" \
31534 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
31535 LIBCFLAGS="$(STAGE2_CFLAGS)" \
31536 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31537 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31538 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31539 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
31540 TFLAGS="$(STAGE2_TFLAGS)" \
31541 $(TARGET-stage2-function_reordering_plugin)
31543 maybe-clean-stage2-function_reordering_plugin: clean-stage2-function_reordering_plugin
31544 clean-stage2: clean-stage2-function_reordering_plugin
31545 clean-stage2-function_reordering_plugin:
31546 @if [ $(current_stage) = stage2 ]; then \
31547 [ -f $(HOST_SUBDIR)/function_reordering_plugin/Makefile ] || exit 0; \
31548 else \
31549 [ -f $(HOST_SUBDIR)/stage2-function_reordering_plugin/Makefile ] || exit 0; \
31550 $(MAKE) stage2-start; \
31551 fi; \
31552 cd $(HOST_SUBDIR)/function_reordering_plugin && \
31553 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
31554 @endif function_reordering_plugin-bootstrap
31557 .PHONY: all-stage3-function_reordering_plugin maybe-all-stage3-function_reordering_plugin
31558 .PHONY: clean-stage3-function_reordering_plugin maybe-clean-stage3-function_reordering_plugin
31559 maybe-all-stage3-function_reordering_plugin:
31560 maybe-clean-stage3-function_reordering_plugin:
31561 @if function_reordering_plugin-bootstrap
31562 maybe-all-stage3-function_reordering_plugin: all-stage3-function_reordering_plugin
31563 all-stage3: all-stage3-function_reordering_plugin
31564 TARGET-stage3-function_reordering_plugin = $(TARGET-function_reordering_plugin)
31565 all-stage3-function_reordering_plugin: configure-stage3-function_reordering_plugin
31566 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
31567 @r=`${PWD_COMMAND}`; export r; \
31568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31569 TFLAGS="$(STAGE3_TFLAGS)"; \
31570 $(HOST_EXPORTS) \
31571 $(POSTSTAGE1_HOST_EXPORTS) \
31572 cd $(HOST_SUBDIR)/function_reordering_plugin && \
31573 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31574 CFLAGS="$(STAGE3_CFLAGS)" \
31575 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
31576 LIBCFLAGS="$(STAGE3_CFLAGS)" \
31577 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31578 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31579 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31580 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
31581 TFLAGS="$(STAGE3_TFLAGS)" \
31582 $(TARGET-stage3-function_reordering_plugin)
31584 maybe-clean-stage3-function_reordering_plugin: clean-stage3-function_reordering_plugin
31585 clean-stage3: clean-stage3-function_reordering_plugin
31586 clean-stage3-function_reordering_plugin:
31587 @if [ $(current_stage) = stage3 ]; then \
31588 [ -f $(HOST_SUBDIR)/function_reordering_plugin/Makefile ] || exit 0; \
31589 else \
31590 [ -f $(HOST_SUBDIR)/stage3-function_reordering_plugin/Makefile ] || exit 0; \
31591 $(MAKE) stage3-start; \
31592 fi; \
31593 cd $(HOST_SUBDIR)/function_reordering_plugin && \
31594 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
31595 @endif function_reordering_plugin-bootstrap
31598 .PHONY: all-stage4-function_reordering_plugin maybe-all-stage4-function_reordering_plugin
31599 .PHONY: clean-stage4-function_reordering_plugin maybe-clean-stage4-function_reordering_plugin
31600 maybe-all-stage4-function_reordering_plugin:
31601 maybe-clean-stage4-function_reordering_plugin:
31602 @if function_reordering_plugin-bootstrap
31603 maybe-all-stage4-function_reordering_plugin: all-stage4-function_reordering_plugin
31604 all-stage4: all-stage4-function_reordering_plugin
31605 TARGET-stage4-function_reordering_plugin = $(TARGET-function_reordering_plugin)
31606 all-stage4-function_reordering_plugin: configure-stage4-function_reordering_plugin
31607 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
31608 @r=`${PWD_COMMAND}`; export r; \
31609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31610 TFLAGS="$(STAGE4_TFLAGS)"; \
31611 $(HOST_EXPORTS) \
31612 $(POSTSTAGE1_HOST_EXPORTS) \
31613 cd $(HOST_SUBDIR)/function_reordering_plugin && \
31614 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31615 CFLAGS="$(STAGE4_CFLAGS)" \
31616 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
31617 LIBCFLAGS="$(STAGE4_CFLAGS)" \
31618 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31619 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31620 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31621 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
31622 TFLAGS="$(STAGE4_TFLAGS)" \
31623 $(TARGET-stage4-function_reordering_plugin)
31625 maybe-clean-stage4-function_reordering_plugin: clean-stage4-function_reordering_plugin
31626 clean-stage4: clean-stage4-function_reordering_plugin
31627 clean-stage4-function_reordering_plugin:
31628 @if [ $(current_stage) = stage4 ]; then \
31629 [ -f $(HOST_SUBDIR)/function_reordering_plugin/Makefile ] || exit 0; \
31630 else \
31631 [ -f $(HOST_SUBDIR)/stage4-function_reordering_plugin/Makefile ] || exit 0; \
31632 $(MAKE) stage4-start; \
31633 fi; \
31634 cd $(HOST_SUBDIR)/function_reordering_plugin && \
31635 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
31636 @endif function_reordering_plugin-bootstrap
31639 .PHONY: all-stageprofile-function_reordering_plugin maybe-all-stageprofile-function_reordering_plugin
31640 .PHONY: clean-stageprofile-function_reordering_plugin maybe-clean-stageprofile-function_reordering_plugin
31641 maybe-all-stageprofile-function_reordering_plugin:
31642 maybe-clean-stageprofile-function_reordering_plugin:
31643 @if function_reordering_plugin-bootstrap
31644 maybe-all-stageprofile-function_reordering_plugin: all-stageprofile-function_reordering_plugin
31645 all-stageprofile: all-stageprofile-function_reordering_plugin
31646 TARGET-stageprofile-function_reordering_plugin = $(TARGET-function_reordering_plugin)
31647 all-stageprofile-function_reordering_plugin: configure-stageprofile-function_reordering_plugin
31648 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
31649 @r=`${PWD_COMMAND}`; export r; \
31650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31651 TFLAGS="$(STAGEprofile_TFLAGS)"; \
31652 $(HOST_EXPORTS) \
31653 $(POSTSTAGE1_HOST_EXPORTS) \
31654 cd $(HOST_SUBDIR)/function_reordering_plugin && \
31655 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31656 CFLAGS="$(STAGEprofile_CFLAGS)" \
31657 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
31658 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
31659 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31660 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31661 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31662 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
31663 TFLAGS="$(STAGEprofile_TFLAGS)" \
31664 $(TARGET-stageprofile-function_reordering_plugin)
31666 maybe-clean-stageprofile-function_reordering_plugin: clean-stageprofile-function_reordering_plugin
31667 clean-stageprofile: clean-stageprofile-function_reordering_plugin
31668 clean-stageprofile-function_reordering_plugin:
31669 @if [ $(current_stage) = stageprofile ]; then \
31670 [ -f $(HOST_SUBDIR)/function_reordering_plugin/Makefile ] || exit 0; \
31671 else \
31672 [ -f $(HOST_SUBDIR)/stageprofile-function_reordering_plugin/Makefile ] || exit 0; \
31673 $(MAKE) stageprofile-start; \
31674 fi; \
31675 cd $(HOST_SUBDIR)/function_reordering_plugin && \
31676 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
31677 @endif function_reordering_plugin-bootstrap
31680 .PHONY: all-stagefeedback-function_reordering_plugin maybe-all-stagefeedback-function_reordering_plugin
31681 .PHONY: clean-stagefeedback-function_reordering_plugin maybe-clean-stagefeedback-function_reordering_plugin
31682 maybe-all-stagefeedback-function_reordering_plugin:
31683 maybe-clean-stagefeedback-function_reordering_plugin:
31684 @if function_reordering_plugin-bootstrap
31685 maybe-all-stagefeedback-function_reordering_plugin: all-stagefeedback-function_reordering_plugin
31686 all-stagefeedback: all-stagefeedback-function_reordering_plugin
31687 TARGET-stagefeedback-function_reordering_plugin = $(TARGET-function_reordering_plugin)
31688 all-stagefeedback-function_reordering_plugin: configure-stagefeedback-function_reordering_plugin
31689 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
31690 @r=`${PWD_COMMAND}`; export r; \
31691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31692 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
31693 $(HOST_EXPORTS) \
31694 $(POSTSTAGE1_HOST_EXPORTS) \
31695 cd $(HOST_SUBDIR)/function_reordering_plugin && \
31696 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31697 CFLAGS="$(STAGEfeedback_CFLAGS)" \
31698 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
31699 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
31700 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31701 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31702 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31703 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
31704 TFLAGS="$(STAGEfeedback_TFLAGS)" \
31705 $(TARGET-stagefeedback-function_reordering_plugin)
31707 maybe-clean-stagefeedback-function_reordering_plugin: clean-stagefeedback-function_reordering_plugin
31708 clean-stagefeedback: clean-stagefeedback-function_reordering_plugin
31709 clean-stagefeedback-function_reordering_plugin:
31710 @if [ $(current_stage) = stagefeedback ]; then \
31711 [ -f $(HOST_SUBDIR)/function_reordering_plugin/Makefile ] || exit 0; \
31712 else \
31713 [ -f $(HOST_SUBDIR)/stagefeedback-function_reordering_plugin/Makefile ] || exit 0; \
31714 $(MAKE) stagefeedback-start; \
31715 fi; \
31716 cd $(HOST_SUBDIR)/function_reordering_plugin && \
31717 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
31718 @endif function_reordering_plugin-bootstrap
31724 .PHONY: check-function_reordering_plugin maybe-check-function_reordering_plugin
31725 maybe-check-function_reordering_plugin:
31726 @if function_reordering_plugin
31727 maybe-check-function_reordering_plugin: check-function_reordering_plugin
31729 check-function_reordering_plugin:
31730 @: $(MAKE); $(unstage)
31731 @r=`${PWD_COMMAND}`; export r; \
31732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31733 $(HOST_EXPORTS) \
31734 (cd $(HOST_SUBDIR)/function_reordering_plugin && \
31735 $(MAKE) $(FLAGS_TO_PASS) check)
31737 @endif function_reordering_plugin
31739 .PHONY: install-function_reordering_plugin maybe-install-function_reordering_plugin
31740 maybe-install-function_reordering_plugin:
31741 @if function_reordering_plugin
31742 maybe-install-function_reordering_plugin: install-function_reordering_plugin
31744 install-function_reordering_plugin: installdirs
31745 @: $(MAKE); $(unstage)
31746 @r=`${PWD_COMMAND}`; export r; \
31747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31748 $(HOST_EXPORTS) \
31749 (cd $(HOST_SUBDIR)/function_reordering_plugin && \
31750 $(MAKE) $(FLAGS_TO_PASS) install)
31752 @endif function_reordering_plugin
31754 .PHONY: install-strip-function_reordering_plugin maybe-install-strip-function_reordering_plugin
31755 maybe-install-strip-function_reordering_plugin:
31756 @if function_reordering_plugin
31757 maybe-install-strip-function_reordering_plugin: install-strip-function_reordering_plugin
31759 install-strip-function_reordering_plugin: installdirs
31760 @: $(MAKE); $(unstage)
31761 @r=`${PWD_COMMAND}`; export r; \
31762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31763 $(HOST_EXPORTS) \
31764 (cd $(HOST_SUBDIR)/function_reordering_plugin && \
31765 $(MAKE) $(FLAGS_TO_PASS) install-strip)
31767 @endif function_reordering_plugin
31769 # Other targets (info, dvi, pdf, etc.)
31771 .PHONY: maybe-info-function_reordering_plugin info-function_reordering_plugin
31772 maybe-info-function_reordering_plugin:
31773 @if function_reordering_plugin
31774 maybe-info-function_reordering_plugin: info-function_reordering_plugin
31776 info-function_reordering_plugin: \
31777 configure-function_reordering_plugin
31778 @[ -f ./function_reordering_plugin/Makefile ] || exit 0; \
31779 r=`${PWD_COMMAND}`; export r; \
31780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31781 $(HOST_EXPORTS) \
31782 for flag in $(EXTRA_HOST_FLAGS) ; do \
31783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31784 done; \
31785 echo "Doing info in function_reordering_plugin" ; \
31786 (cd $(HOST_SUBDIR)/function_reordering_plugin && \
31787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31789 "RANLIB=$${RANLIB}" \
31790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31791 info) \
31792 || exit 1
31794 @endif function_reordering_plugin
31796 .PHONY: maybe-dvi-function_reordering_plugin dvi-function_reordering_plugin
31797 maybe-dvi-function_reordering_plugin:
31798 @if function_reordering_plugin
31799 maybe-dvi-function_reordering_plugin: dvi-function_reordering_plugin
31801 dvi-function_reordering_plugin: \
31802 configure-function_reordering_plugin
31803 @[ -f ./function_reordering_plugin/Makefile ] || exit 0; \
31804 r=`${PWD_COMMAND}`; export r; \
31805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31806 $(HOST_EXPORTS) \
31807 for flag in $(EXTRA_HOST_FLAGS) ; do \
31808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31809 done; \
31810 echo "Doing dvi in function_reordering_plugin" ; \
31811 (cd $(HOST_SUBDIR)/function_reordering_plugin && \
31812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31814 "RANLIB=$${RANLIB}" \
31815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31816 dvi) \
31817 || exit 1
31819 @endif function_reordering_plugin
31821 .PHONY: maybe-pdf-function_reordering_plugin pdf-function_reordering_plugin
31822 maybe-pdf-function_reordering_plugin:
31823 @if function_reordering_plugin
31824 maybe-pdf-function_reordering_plugin: pdf-function_reordering_plugin
31826 pdf-function_reordering_plugin: \
31827 configure-function_reordering_plugin
31828 @[ -f ./function_reordering_plugin/Makefile ] || exit 0; \
31829 r=`${PWD_COMMAND}`; export r; \
31830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31831 $(HOST_EXPORTS) \
31832 for flag in $(EXTRA_HOST_FLAGS) ; do \
31833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31834 done; \
31835 echo "Doing pdf in function_reordering_plugin" ; \
31836 (cd $(HOST_SUBDIR)/function_reordering_plugin && \
31837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31839 "RANLIB=$${RANLIB}" \
31840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31841 pdf) \
31842 || exit 1
31844 @endif function_reordering_plugin
31846 .PHONY: maybe-html-function_reordering_plugin html-function_reordering_plugin
31847 maybe-html-function_reordering_plugin:
31848 @if function_reordering_plugin
31849 maybe-html-function_reordering_plugin: html-function_reordering_plugin
31851 html-function_reordering_plugin: \
31852 configure-function_reordering_plugin
31853 @[ -f ./function_reordering_plugin/Makefile ] || exit 0; \
31854 r=`${PWD_COMMAND}`; export r; \
31855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31856 $(HOST_EXPORTS) \
31857 for flag in $(EXTRA_HOST_FLAGS) ; do \
31858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31859 done; \
31860 echo "Doing html in function_reordering_plugin" ; \
31861 (cd $(HOST_SUBDIR)/function_reordering_plugin && \
31862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31864 "RANLIB=$${RANLIB}" \
31865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31866 html) \
31867 || exit 1
31869 @endif function_reordering_plugin
31871 .PHONY: maybe-TAGS-function_reordering_plugin TAGS-function_reordering_plugin
31872 maybe-TAGS-function_reordering_plugin:
31873 @if function_reordering_plugin
31874 maybe-TAGS-function_reordering_plugin: TAGS-function_reordering_plugin
31876 TAGS-function_reordering_plugin: \
31877 configure-function_reordering_plugin
31878 @[ -f ./function_reordering_plugin/Makefile ] || exit 0; \
31879 r=`${PWD_COMMAND}`; export r; \
31880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31881 $(HOST_EXPORTS) \
31882 for flag in $(EXTRA_HOST_FLAGS) ; do \
31883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31884 done; \
31885 echo "Doing TAGS in function_reordering_plugin" ; \
31886 (cd $(HOST_SUBDIR)/function_reordering_plugin && \
31887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31889 "RANLIB=$${RANLIB}" \
31890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31891 TAGS) \
31892 || exit 1
31894 @endif function_reordering_plugin
31896 .PHONY: maybe-install-info-function_reordering_plugin install-info-function_reordering_plugin
31897 maybe-install-info-function_reordering_plugin:
31898 @if function_reordering_plugin
31899 maybe-install-info-function_reordering_plugin: install-info-function_reordering_plugin
31901 install-info-function_reordering_plugin: \
31902 configure-function_reordering_plugin \
31903 info-function_reordering_plugin
31904 @[ -f ./function_reordering_plugin/Makefile ] || exit 0; \
31905 r=`${PWD_COMMAND}`; export r; \
31906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31907 $(HOST_EXPORTS) \
31908 for flag in $(EXTRA_HOST_FLAGS) ; do \
31909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31910 done; \
31911 echo "Doing install-info in function_reordering_plugin" ; \
31912 (cd $(HOST_SUBDIR)/function_reordering_plugin && \
31913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31915 "RANLIB=$${RANLIB}" \
31916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31917 install-info) \
31918 || exit 1
31920 @endif function_reordering_plugin
31922 .PHONY: maybe-install-pdf-function_reordering_plugin install-pdf-function_reordering_plugin
31923 maybe-install-pdf-function_reordering_plugin:
31924 @if function_reordering_plugin
31925 maybe-install-pdf-function_reordering_plugin: install-pdf-function_reordering_plugin
31927 install-pdf-function_reordering_plugin: \
31928 configure-function_reordering_plugin \
31929 pdf-function_reordering_plugin
31930 @[ -f ./function_reordering_plugin/Makefile ] || exit 0; \
31931 r=`${PWD_COMMAND}`; export r; \
31932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31933 $(HOST_EXPORTS) \
31934 for flag in $(EXTRA_HOST_FLAGS) ; do \
31935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31936 done; \
31937 echo "Doing install-pdf in function_reordering_plugin" ; \
31938 (cd $(HOST_SUBDIR)/function_reordering_plugin && \
31939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31941 "RANLIB=$${RANLIB}" \
31942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31943 install-pdf) \
31944 || exit 1
31946 @endif function_reordering_plugin
31948 .PHONY: maybe-install-html-function_reordering_plugin install-html-function_reordering_plugin
31949 maybe-install-html-function_reordering_plugin:
31950 @if function_reordering_plugin
31951 maybe-install-html-function_reordering_plugin: install-html-function_reordering_plugin
31953 install-html-function_reordering_plugin: \
31954 configure-function_reordering_plugin \
31955 html-function_reordering_plugin
31956 @[ -f ./function_reordering_plugin/Makefile ] || exit 0; \
31957 r=`${PWD_COMMAND}`; export r; \
31958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31959 $(HOST_EXPORTS) \
31960 for flag in $(EXTRA_HOST_FLAGS) ; do \
31961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31962 done; \
31963 echo "Doing install-html in function_reordering_plugin" ; \
31964 (cd $(HOST_SUBDIR)/function_reordering_plugin && \
31965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31967 "RANLIB=$${RANLIB}" \
31968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31969 install-html) \
31970 || exit 1
31972 @endif function_reordering_plugin
31974 .PHONY: maybe-installcheck-function_reordering_plugin installcheck-function_reordering_plugin
31975 maybe-installcheck-function_reordering_plugin:
31976 @if function_reordering_plugin
31977 maybe-installcheck-function_reordering_plugin: installcheck-function_reordering_plugin
31979 installcheck-function_reordering_plugin: \
31980 configure-function_reordering_plugin
31981 @[ -f ./function_reordering_plugin/Makefile ] || exit 0; \
31982 r=`${PWD_COMMAND}`; export r; \
31983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31984 $(HOST_EXPORTS) \
31985 for flag in $(EXTRA_HOST_FLAGS) ; do \
31986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31987 done; \
31988 echo "Doing installcheck in function_reordering_plugin" ; \
31989 (cd $(HOST_SUBDIR)/function_reordering_plugin && \
31990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31992 "RANLIB=$${RANLIB}" \
31993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31994 installcheck) \
31995 || exit 1
31997 @endif function_reordering_plugin
31999 .PHONY: maybe-mostlyclean-function_reordering_plugin mostlyclean-function_reordering_plugin
32000 maybe-mostlyclean-function_reordering_plugin:
32001 @if function_reordering_plugin
32002 maybe-mostlyclean-function_reordering_plugin: mostlyclean-function_reordering_plugin
32004 mostlyclean-function_reordering_plugin:
32005 @[ -f ./function_reordering_plugin/Makefile ] || exit 0; \
32006 r=`${PWD_COMMAND}`; export r; \
32007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32008 $(HOST_EXPORTS) \
32009 for flag in $(EXTRA_HOST_FLAGS) ; do \
32010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32011 done; \
32012 echo "Doing mostlyclean in function_reordering_plugin" ; \
32013 (cd $(HOST_SUBDIR)/function_reordering_plugin && \
32014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32016 "RANLIB=$${RANLIB}" \
32017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32018 mostlyclean) \
32019 || exit 1
32021 @endif function_reordering_plugin
32023 .PHONY: maybe-clean-function_reordering_plugin clean-function_reordering_plugin
32024 maybe-clean-function_reordering_plugin:
32025 @if function_reordering_plugin
32026 maybe-clean-function_reordering_plugin: clean-function_reordering_plugin
32028 clean-function_reordering_plugin:
32029 @[ -f ./function_reordering_plugin/Makefile ] || exit 0; \
32030 r=`${PWD_COMMAND}`; export r; \
32031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32032 $(HOST_EXPORTS) \
32033 for flag in $(EXTRA_HOST_FLAGS) ; do \
32034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32035 done; \
32036 echo "Doing clean in function_reordering_plugin" ; \
32037 (cd $(HOST_SUBDIR)/function_reordering_plugin && \
32038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32040 "RANLIB=$${RANLIB}" \
32041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32042 clean) \
32043 || exit 1
32045 @endif function_reordering_plugin
32047 .PHONY: maybe-distclean-function_reordering_plugin distclean-function_reordering_plugin
32048 maybe-distclean-function_reordering_plugin:
32049 @if function_reordering_plugin
32050 maybe-distclean-function_reordering_plugin: distclean-function_reordering_plugin
32052 distclean-function_reordering_plugin:
32053 @[ -f ./function_reordering_plugin/Makefile ] || exit 0; \
32054 r=`${PWD_COMMAND}`; export r; \
32055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32056 $(HOST_EXPORTS) \
32057 for flag in $(EXTRA_HOST_FLAGS) ; do \
32058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32059 done; \
32060 echo "Doing distclean in function_reordering_plugin" ; \
32061 (cd $(HOST_SUBDIR)/function_reordering_plugin && \
32062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32064 "RANLIB=$${RANLIB}" \
32065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32066 distclean) \
32067 || exit 1
32069 @endif function_reordering_plugin
32071 .PHONY: maybe-maintainer-clean-function_reordering_plugin maintainer-clean-function_reordering_plugin
32072 maybe-maintainer-clean-function_reordering_plugin:
32073 @if function_reordering_plugin
32074 maybe-maintainer-clean-function_reordering_plugin: maintainer-clean-function_reordering_plugin
32076 maintainer-clean-function_reordering_plugin:
32077 @[ -f ./function_reordering_plugin/Makefile ] || exit 0; \
32078 r=`${PWD_COMMAND}`; export r; \
32079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32080 $(HOST_EXPORTS) \
32081 for flag in $(EXTRA_HOST_FLAGS) ; do \
32082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32083 done; \
32084 echo "Doing maintainer-clean in function_reordering_plugin" ; \
32085 (cd $(HOST_SUBDIR)/function_reordering_plugin && \
32086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32088 "RANLIB=$${RANLIB}" \
32089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32090 maintainer-clean) \
32091 || exit 1
32093 @endif function_reordering_plugin
32097 # ---------------------------------------
32098 # Modules which run on the target machine
32099 # ---------------------------------------
32104 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
32105 maybe-configure-target-libstdc++-v3:
32106 @if gcc-bootstrap
32107 configure-target-libstdc++-v3: stage_current
32108 @endif gcc-bootstrap
32109 @if target-libstdc++-v3
32110 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
32111 configure-target-libstdc++-v3:
32112 @r=`${PWD_COMMAND}`; export r; \
32113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32114 echo "Checking multilib configuration for libstdc++-v3..."; \
32115 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
32116 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
32117 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32118 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32119 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
32120 else \
32121 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
32122 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32123 fi; \
32124 else \
32125 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32126 fi; \
32127 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
32128 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
32129 $(RAW_CXX_TARGET_EXPORTS) \
32130 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
32131 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
32132 case $(srcdir) in \
32133 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32134 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
32135 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32136 esac; \
32137 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
32138 libsrcdir="$$s/libstdc++-v3"; \
32139 rm -f no-such-file || : ; \
32140 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32141 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32142 --target=${target_alias} $${srcdiroption} \
32143 || exit 1
32144 @endif target-libstdc++-v3
32148 .PHONY: configure-stage1-target-libstdc++-v3 maybe-configure-stage1-target-libstdc++-v3
32149 maybe-configure-stage1-target-libstdc++-v3:
32150 @if target-libstdc++-v3-bootstrap
32151 maybe-configure-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
32152 configure-stage1-target-libstdc++-v3:
32153 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
32154 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
32155 @r=`${PWD_COMMAND}`; export r; \
32156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32157 TFLAGS="$(STAGE1_TFLAGS)"; \
32158 echo "Checking multilib configuration for libstdc++-v3..."; \
32159 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
32160 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32161 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32162 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
32163 else \
32164 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
32165 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32166 fi; \
32167 else \
32168 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32169 fi; \
32170 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
32171 $(RAW_CXX_TARGET_EXPORTS) \
32172 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32173 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32174 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32175 echo Configuring stage 1 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
32176 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
32177 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
32178 case $(srcdir) in \
32179 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32180 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
32181 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32182 esac; \
32183 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
32184 libsrcdir="$$s/libstdc++-v3"; \
32185 $(SHELL) $${libsrcdir}/configure \
32186 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32187 --target=${target_alias} $${srcdiroption} \
32188 $(STAGE1_CONFIGURE_FLAGS)
32189 @endif target-libstdc++-v3-bootstrap
32191 .PHONY: configure-stage2-target-libstdc++-v3 maybe-configure-stage2-target-libstdc++-v3
32192 maybe-configure-stage2-target-libstdc++-v3:
32193 @if target-libstdc++-v3-bootstrap
32194 maybe-configure-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
32195 configure-stage2-target-libstdc++-v3:
32196 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
32197 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
32198 @r=`${PWD_COMMAND}`; export r; \
32199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32200 TFLAGS="$(STAGE2_TFLAGS)"; \
32201 echo "Checking multilib configuration for libstdc++-v3..."; \
32202 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
32203 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32204 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32205 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
32206 else \
32207 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
32208 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32209 fi; \
32210 else \
32211 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32212 fi; \
32213 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
32214 $(RAW_CXX_TARGET_EXPORTS) \
32216 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32217 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32218 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32219 echo Configuring stage 2 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
32220 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
32221 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
32222 case $(srcdir) in \
32223 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32224 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
32225 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32226 esac; \
32227 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
32228 libsrcdir="$$s/libstdc++-v3"; \
32229 $(SHELL) $${libsrcdir}/configure \
32230 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32231 --target=${target_alias} $${srcdiroption} \
32232 --with-build-libsubdir=$(HOST_SUBDIR) \
32233 $(STAGE2_CONFIGURE_FLAGS)
32234 @endif target-libstdc++-v3-bootstrap
32236 .PHONY: configure-stage3-target-libstdc++-v3 maybe-configure-stage3-target-libstdc++-v3
32237 maybe-configure-stage3-target-libstdc++-v3:
32238 @if target-libstdc++-v3-bootstrap
32239 maybe-configure-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
32240 configure-stage3-target-libstdc++-v3:
32241 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
32242 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
32243 @r=`${PWD_COMMAND}`; export r; \
32244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32245 TFLAGS="$(STAGE3_TFLAGS)"; \
32246 echo "Checking multilib configuration for libstdc++-v3..."; \
32247 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
32248 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32249 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32250 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
32251 else \
32252 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
32253 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32254 fi; \
32255 else \
32256 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32257 fi; \
32258 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
32259 $(RAW_CXX_TARGET_EXPORTS) \
32261 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32262 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32263 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32264 echo Configuring stage 3 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
32265 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
32266 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
32267 case $(srcdir) in \
32268 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32269 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
32270 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32271 esac; \
32272 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
32273 libsrcdir="$$s/libstdc++-v3"; \
32274 $(SHELL) $${libsrcdir}/configure \
32275 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32276 --target=${target_alias} $${srcdiroption} \
32277 --with-build-libsubdir=$(HOST_SUBDIR) \
32278 $(STAGE3_CONFIGURE_FLAGS)
32279 @endif target-libstdc++-v3-bootstrap
32281 .PHONY: configure-stage4-target-libstdc++-v3 maybe-configure-stage4-target-libstdc++-v3
32282 maybe-configure-stage4-target-libstdc++-v3:
32283 @if target-libstdc++-v3-bootstrap
32284 maybe-configure-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
32285 configure-stage4-target-libstdc++-v3:
32286 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
32287 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
32288 @r=`${PWD_COMMAND}`; export r; \
32289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32290 TFLAGS="$(STAGE4_TFLAGS)"; \
32291 echo "Checking multilib configuration for libstdc++-v3..."; \
32292 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
32293 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32294 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32295 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
32296 else \
32297 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
32298 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32299 fi; \
32300 else \
32301 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32302 fi; \
32303 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
32304 $(RAW_CXX_TARGET_EXPORTS) \
32306 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32307 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32308 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32309 echo Configuring stage 4 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
32310 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
32311 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
32312 case $(srcdir) in \
32313 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32314 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
32315 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32316 esac; \
32317 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
32318 libsrcdir="$$s/libstdc++-v3"; \
32319 $(SHELL) $${libsrcdir}/configure \
32320 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32321 --target=${target_alias} $${srcdiroption} \
32322 --with-build-libsubdir=$(HOST_SUBDIR) \
32323 $(STAGE4_CONFIGURE_FLAGS)
32324 @endif target-libstdc++-v3-bootstrap
32326 .PHONY: configure-stageprofile-target-libstdc++-v3 maybe-configure-stageprofile-target-libstdc++-v3
32327 maybe-configure-stageprofile-target-libstdc++-v3:
32328 @if target-libstdc++-v3-bootstrap
32329 maybe-configure-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
32330 configure-stageprofile-target-libstdc++-v3:
32331 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
32332 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
32333 @r=`${PWD_COMMAND}`; export r; \
32334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32335 TFLAGS="$(STAGEprofile_TFLAGS)"; \
32336 echo "Checking multilib configuration for libstdc++-v3..."; \
32337 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
32338 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32339 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32340 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
32341 else \
32342 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
32343 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32344 fi; \
32345 else \
32346 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32347 fi; \
32348 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
32349 $(RAW_CXX_TARGET_EXPORTS) \
32351 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32352 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32353 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32354 echo Configuring stage profile in $(TARGET_SUBDIR)/libstdc++-v3 ; \
32355 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
32356 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
32357 case $(srcdir) in \
32358 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32359 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
32360 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32361 esac; \
32362 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
32363 libsrcdir="$$s/libstdc++-v3"; \
32364 $(SHELL) $${libsrcdir}/configure \
32365 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32366 --target=${target_alias} $${srcdiroption} \
32367 --with-build-libsubdir=$(HOST_SUBDIR) \
32368 $(STAGEprofile_CONFIGURE_FLAGS)
32369 @endif target-libstdc++-v3-bootstrap
32371 .PHONY: configure-stagefeedback-target-libstdc++-v3 maybe-configure-stagefeedback-target-libstdc++-v3
32372 maybe-configure-stagefeedback-target-libstdc++-v3:
32373 @if target-libstdc++-v3-bootstrap
32374 maybe-configure-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
32375 configure-stagefeedback-target-libstdc++-v3:
32376 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
32377 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
32378 @r=`${PWD_COMMAND}`; export r; \
32379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32380 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
32381 echo "Checking multilib configuration for libstdc++-v3..."; \
32382 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
32383 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32384 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32385 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
32386 else \
32387 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
32388 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32389 fi; \
32390 else \
32391 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32392 fi; \
32393 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
32394 $(RAW_CXX_TARGET_EXPORTS) \
32396 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32397 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32398 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32399 echo Configuring stage feedback in $(TARGET_SUBDIR)/libstdc++-v3 ; \
32400 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
32401 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
32402 case $(srcdir) in \
32403 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32404 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
32405 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32406 esac; \
32407 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
32408 libsrcdir="$$s/libstdc++-v3"; \
32409 $(SHELL) $${libsrcdir}/configure \
32410 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32411 --target=${target_alias} $${srcdiroption} \
32412 --with-build-libsubdir=$(HOST_SUBDIR) \
32413 $(STAGEfeedback_CONFIGURE_FLAGS)
32414 @endif target-libstdc++-v3-bootstrap
32420 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
32421 maybe-all-target-libstdc++-v3:
32422 @if gcc-bootstrap
32423 all-target-libstdc++-v3: stage_current
32424 @endif gcc-bootstrap
32425 @if target-libstdc++-v3
32426 TARGET-target-libstdc++-v3=all
32427 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
32428 all-target-libstdc++-v3: configure-target-libstdc++-v3
32429 @r=`${PWD_COMMAND}`; export r; \
32430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32431 $(RAW_CXX_TARGET_EXPORTS) \
32432 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32433 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32434 $(TARGET-target-libstdc++-v3))
32435 @endif target-libstdc++-v3
32439 .PHONY: all-stage1-target-libstdc++-v3 maybe-all-stage1-target-libstdc++-v3
32440 .PHONY: clean-stage1-target-libstdc++-v3 maybe-clean-stage1-target-libstdc++-v3
32441 maybe-all-stage1-target-libstdc++-v3:
32442 maybe-clean-stage1-target-libstdc++-v3:
32443 @if target-libstdc++-v3-bootstrap
32444 maybe-all-stage1-target-libstdc++-v3: all-stage1-target-libstdc++-v3
32445 all-stage1: all-stage1-target-libstdc++-v3
32446 TARGET-stage1-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
32447 all-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
32448 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
32449 @r=`${PWD_COMMAND}`; export r; \
32450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32451 TFLAGS="$(STAGE1_TFLAGS)"; \
32452 $(RAW_CXX_TARGET_EXPORTS) \
32453 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32454 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32455 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32456 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32457 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32458 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32459 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32460 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32461 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32463 TFLAGS="$(STAGE1_TFLAGS)" \
32464 $(TARGET-stage1-target-libstdc++-v3)
32466 maybe-clean-stage1-target-libstdc++-v3: clean-stage1-target-libstdc++-v3
32467 clean-stage1: clean-stage1-target-libstdc++-v3
32468 clean-stage1-target-libstdc++-v3:
32469 @if [ $(current_stage) = stage1 ]; then \
32470 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
32471 else \
32472 [ -f $(TARGET_SUBDIR)/stage1-libstdc++-v3/Makefile ] || exit 0; \
32473 $(MAKE) stage1-start; \
32474 fi; \
32475 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32476 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32477 clean
32478 @endif target-libstdc++-v3-bootstrap
32481 .PHONY: all-stage2-target-libstdc++-v3 maybe-all-stage2-target-libstdc++-v3
32482 .PHONY: clean-stage2-target-libstdc++-v3 maybe-clean-stage2-target-libstdc++-v3
32483 maybe-all-stage2-target-libstdc++-v3:
32484 maybe-clean-stage2-target-libstdc++-v3:
32485 @if target-libstdc++-v3-bootstrap
32486 maybe-all-stage2-target-libstdc++-v3: all-stage2-target-libstdc++-v3
32487 all-stage2: all-stage2-target-libstdc++-v3
32488 TARGET-stage2-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
32489 all-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
32490 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
32491 @r=`${PWD_COMMAND}`; export r; \
32492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32493 TFLAGS="$(STAGE2_TFLAGS)"; \
32494 $(RAW_CXX_TARGET_EXPORTS) \
32496 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32497 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32498 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32499 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32500 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32501 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32502 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32503 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32504 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32505 TFLAGS="$(STAGE2_TFLAGS)" \
32506 $(TARGET-stage2-target-libstdc++-v3)
32508 maybe-clean-stage2-target-libstdc++-v3: clean-stage2-target-libstdc++-v3
32509 clean-stage2: clean-stage2-target-libstdc++-v3
32510 clean-stage2-target-libstdc++-v3:
32511 @if [ $(current_stage) = stage2 ]; then \
32512 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
32513 else \
32514 [ -f $(TARGET_SUBDIR)/stage2-libstdc++-v3/Makefile ] || exit 0; \
32515 $(MAKE) stage2-start; \
32516 fi; \
32517 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32518 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
32519 @endif target-libstdc++-v3-bootstrap
32522 .PHONY: all-stage3-target-libstdc++-v3 maybe-all-stage3-target-libstdc++-v3
32523 .PHONY: clean-stage3-target-libstdc++-v3 maybe-clean-stage3-target-libstdc++-v3
32524 maybe-all-stage3-target-libstdc++-v3:
32525 maybe-clean-stage3-target-libstdc++-v3:
32526 @if target-libstdc++-v3-bootstrap
32527 maybe-all-stage3-target-libstdc++-v3: all-stage3-target-libstdc++-v3
32528 all-stage3: all-stage3-target-libstdc++-v3
32529 TARGET-stage3-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
32530 all-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
32531 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
32532 @r=`${PWD_COMMAND}`; export r; \
32533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32534 TFLAGS="$(STAGE3_TFLAGS)"; \
32535 $(RAW_CXX_TARGET_EXPORTS) \
32537 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32538 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32539 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32540 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32541 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32542 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32543 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32544 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32545 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32546 TFLAGS="$(STAGE3_TFLAGS)" \
32547 $(TARGET-stage3-target-libstdc++-v3)
32549 maybe-clean-stage3-target-libstdc++-v3: clean-stage3-target-libstdc++-v3
32550 clean-stage3: clean-stage3-target-libstdc++-v3
32551 clean-stage3-target-libstdc++-v3:
32552 @if [ $(current_stage) = stage3 ]; then \
32553 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
32554 else \
32555 [ -f $(TARGET_SUBDIR)/stage3-libstdc++-v3/Makefile ] || exit 0; \
32556 $(MAKE) stage3-start; \
32557 fi; \
32558 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32559 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
32560 @endif target-libstdc++-v3-bootstrap
32563 .PHONY: all-stage4-target-libstdc++-v3 maybe-all-stage4-target-libstdc++-v3
32564 .PHONY: clean-stage4-target-libstdc++-v3 maybe-clean-stage4-target-libstdc++-v3
32565 maybe-all-stage4-target-libstdc++-v3:
32566 maybe-clean-stage4-target-libstdc++-v3:
32567 @if target-libstdc++-v3-bootstrap
32568 maybe-all-stage4-target-libstdc++-v3: all-stage4-target-libstdc++-v3
32569 all-stage4: all-stage4-target-libstdc++-v3
32570 TARGET-stage4-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
32571 all-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
32572 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
32573 @r=`${PWD_COMMAND}`; export r; \
32574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32575 TFLAGS="$(STAGE4_TFLAGS)"; \
32576 $(RAW_CXX_TARGET_EXPORTS) \
32578 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32579 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32580 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32581 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32582 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32583 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32584 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32585 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32586 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32587 TFLAGS="$(STAGE4_TFLAGS)" \
32588 $(TARGET-stage4-target-libstdc++-v3)
32590 maybe-clean-stage4-target-libstdc++-v3: clean-stage4-target-libstdc++-v3
32591 clean-stage4: clean-stage4-target-libstdc++-v3
32592 clean-stage4-target-libstdc++-v3:
32593 @if [ $(current_stage) = stage4 ]; then \
32594 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
32595 else \
32596 [ -f $(TARGET_SUBDIR)/stage4-libstdc++-v3/Makefile ] || exit 0; \
32597 $(MAKE) stage4-start; \
32598 fi; \
32599 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32600 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
32601 @endif target-libstdc++-v3-bootstrap
32604 .PHONY: all-stageprofile-target-libstdc++-v3 maybe-all-stageprofile-target-libstdc++-v3
32605 .PHONY: clean-stageprofile-target-libstdc++-v3 maybe-clean-stageprofile-target-libstdc++-v3
32606 maybe-all-stageprofile-target-libstdc++-v3:
32607 maybe-clean-stageprofile-target-libstdc++-v3:
32608 @if target-libstdc++-v3-bootstrap
32609 maybe-all-stageprofile-target-libstdc++-v3: all-stageprofile-target-libstdc++-v3
32610 all-stageprofile: all-stageprofile-target-libstdc++-v3
32611 TARGET-stageprofile-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
32612 all-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
32613 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
32614 @r=`${PWD_COMMAND}`; export r; \
32615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32616 TFLAGS="$(STAGEprofile_TFLAGS)"; \
32617 $(RAW_CXX_TARGET_EXPORTS) \
32619 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32620 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32621 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32622 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32623 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32624 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32625 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32626 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32627 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32628 TFLAGS="$(STAGEprofile_TFLAGS)" \
32629 $(TARGET-stageprofile-target-libstdc++-v3)
32631 maybe-clean-stageprofile-target-libstdc++-v3: clean-stageprofile-target-libstdc++-v3
32632 clean-stageprofile: clean-stageprofile-target-libstdc++-v3
32633 clean-stageprofile-target-libstdc++-v3:
32634 @if [ $(current_stage) = stageprofile ]; then \
32635 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
32636 else \
32637 [ -f $(TARGET_SUBDIR)/stageprofile-libstdc++-v3/Makefile ] || exit 0; \
32638 $(MAKE) stageprofile-start; \
32639 fi; \
32640 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32641 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
32642 @endif target-libstdc++-v3-bootstrap
32645 .PHONY: all-stagefeedback-target-libstdc++-v3 maybe-all-stagefeedback-target-libstdc++-v3
32646 .PHONY: clean-stagefeedback-target-libstdc++-v3 maybe-clean-stagefeedback-target-libstdc++-v3
32647 maybe-all-stagefeedback-target-libstdc++-v3:
32648 maybe-clean-stagefeedback-target-libstdc++-v3:
32649 @if target-libstdc++-v3-bootstrap
32650 maybe-all-stagefeedback-target-libstdc++-v3: all-stagefeedback-target-libstdc++-v3
32651 all-stagefeedback: all-stagefeedback-target-libstdc++-v3
32652 TARGET-stagefeedback-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
32653 all-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
32654 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
32655 @r=`${PWD_COMMAND}`; export r; \
32656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32657 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
32658 $(RAW_CXX_TARGET_EXPORTS) \
32660 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32661 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32662 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32663 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32664 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32665 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32666 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32667 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32668 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32669 TFLAGS="$(STAGEfeedback_TFLAGS)" \
32670 $(TARGET-stagefeedback-target-libstdc++-v3)
32672 maybe-clean-stagefeedback-target-libstdc++-v3: clean-stagefeedback-target-libstdc++-v3
32673 clean-stagefeedback: clean-stagefeedback-target-libstdc++-v3
32674 clean-stagefeedback-target-libstdc++-v3:
32675 @if [ $(current_stage) = stagefeedback ]; then \
32676 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
32677 else \
32678 [ -f $(TARGET_SUBDIR)/stagefeedback-libstdc++-v3/Makefile ] || exit 0; \
32679 $(MAKE) stagefeedback-start; \
32680 fi; \
32681 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32682 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
32683 @endif target-libstdc++-v3-bootstrap
32690 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
32691 maybe-check-target-libstdc++-v3:
32692 @if target-libstdc++-v3
32693 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
32695 check-target-libstdc++-v3:
32696 @: $(MAKE); $(unstage)
32697 @r=`${PWD_COMMAND}`; export r; \
32698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32699 $(RAW_CXX_TARGET_EXPORTS) \
32700 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32701 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
32703 @endif target-libstdc++-v3
32705 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
32706 maybe-install-target-libstdc++-v3:
32707 @if target-libstdc++-v3
32708 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
32710 install-target-libstdc++-v3: installdirs
32711 @: $(MAKE); $(unstage)
32712 @r=`${PWD_COMMAND}`; export r; \
32713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32714 $(RAW_CXX_TARGET_EXPORTS) \
32715 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32716 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32718 @endif target-libstdc++-v3
32720 .PHONY: install-strip-target-libstdc++-v3 maybe-install-strip-target-libstdc++-v3
32721 maybe-install-strip-target-libstdc++-v3:
32722 @if target-libstdc++-v3
32723 maybe-install-strip-target-libstdc++-v3: install-strip-target-libstdc++-v3
32725 install-strip-target-libstdc++-v3: installdirs
32726 @: $(MAKE); $(unstage)
32727 @r=`${PWD_COMMAND}`; export r; \
32728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32729 $(RAW_CXX_TARGET_EXPORTS) \
32730 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32731 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
32733 @endif target-libstdc++-v3
32735 # Other targets (info, dvi, pdf, etc.)
32737 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
32738 maybe-info-target-libstdc++-v3:
32739 @if target-libstdc++-v3
32740 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
32742 info-target-libstdc++-v3: \
32743 configure-target-libstdc++-v3
32744 @: $(MAKE); $(unstage)
32745 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32746 r=`${PWD_COMMAND}`; export r; \
32747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32748 $(RAW_CXX_TARGET_EXPORTS) \
32749 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32750 for flag in $(EXTRA_TARGET_FLAGS); do \
32751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32752 done; \
32753 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32756 "RANLIB=$${RANLIB}" \
32757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32758 info) \
32759 || exit 1
32761 @endif target-libstdc++-v3
32763 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
32764 maybe-dvi-target-libstdc++-v3:
32765 @if target-libstdc++-v3
32766 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
32768 dvi-target-libstdc++-v3: \
32769 configure-target-libstdc++-v3
32770 @: $(MAKE); $(unstage)
32771 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32772 r=`${PWD_COMMAND}`; export r; \
32773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32774 $(RAW_CXX_TARGET_EXPORTS) \
32775 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32776 for flag in $(EXTRA_TARGET_FLAGS); do \
32777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32778 done; \
32779 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32782 "RANLIB=$${RANLIB}" \
32783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32784 dvi) \
32785 || exit 1
32787 @endif target-libstdc++-v3
32789 .PHONY: maybe-pdf-target-libstdc++-v3 pdf-target-libstdc++-v3
32790 maybe-pdf-target-libstdc++-v3:
32791 @if target-libstdc++-v3
32792 maybe-pdf-target-libstdc++-v3: pdf-target-libstdc++-v3
32794 pdf-target-libstdc++-v3: \
32795 configure-target-libstdc++-v3
32796 @: $(MAKE); $(unstage)
32797 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32798 r=`${PWD_COMMAND}`; export r; \
32799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32800 $(RAW_CXX_TARGET_EXPORTS) \
32801 echo "Doing pdf in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32802 for flag in $(EXTRA_TARGET_FLAGS); do \
32803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32804 done; \
32805 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32808 "RANLIB=$${RANLIB}" \
32809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32810 pdf) \
32811 || exit 1
32813 @endif target-libstdc++-v3
32815 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
32816 maybe-html-target-libstdc++-v3:
32817 @if target-libstdc++-v3
32818 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
32820 html-target-libstdc++-v3: \
32821 configure-target-libstdc++-v3
32822 @: $(MAKE); $(unstage)
32823 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32824 r=`${PWD_COMMAND}`; export r; \
32825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32826 $(RAW_CXX_TARGET_EXPORTS) \
32827 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32828 for flag in $(EXTRA_TARGET_FLAGS); do \
32829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32830 done; \
32831 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32834 "RANLIB=$${RANLIB}" \
32835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32836 html) \
32837 || exit 1
32839 @endif target-libstdc++-v3
32841 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
32842 maybe-TAGS-target-libstdc++-v3:
32843 @if target-libstdc++-v3
32844 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
32846 TAGS-target-libstdc++-v3: \
32847 configure-target-libstdc++-v3
32848 @: $(MAKE); $(unstage)
32849 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32850 r=`${PWD_COMMAND}`; export r; \
32851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32852 $(RAW_CXX_TARGET_EXPORTS) \
32853 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32854 for flag in $(EXTRA_TARGET_FLAGS); do \
32855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32856 done; \
32857 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32860 "RANLIB=$${RANLIB}" \
32861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32862 TAGS) \
32863 || exit 1
32865 @endif target-libstdc++-v3
32867 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
32868 maybe-install-info-target-libstdc++-v3:
32869 @if target-libstdc++-v3
32870 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
32872 install-info-target-libstdc++-v3: \
32873 configure-target-libstdc++-v3 \
32874 info-target-libstdc++-v3
32875 @: $(MAKE); $(unstage)
32876 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32877 r=`${PWD_COMMAND}`; export r; \
32878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32879 $(RAW_CXX_TARGET_EXPORTS) \
32880 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32881 for flag in $(EXTRA_TARGET_FLAGS); do \
32882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32883 done; \
32884 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32887 "RANLIB=$${RANLIB}" \
32888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32889 install-info) \
32890 || exit 1
32892 @endif target-libstdc++-v3
32894 .PHONY: maybe-install-pdf-target-libstdc++-v3 install-pdf-target-libstdc++-v3
32895 maybe-install-pdf-target-libstdc++-v3:
32896 @if target-libstdc++-v3
32897 maybe-install-pdf-target-libstdc++-v3: install-pdf-target-libstdc++-v3
32899 install-pdf-target-libstdc++-v3: \
32900 configure-target-libstdc++-v3 \
32901 pdf-target-libstdc++-v3
32902 @: $(MAKE); $(unstage)
32903 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32904 r=`${PWD_COMMAND}`; export r; \
32905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32906 $(RAW_CXX_TARGET_EXPORTS) \
32907 echo "Doing install-pdf in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32908 for flag in $(EXTRA_TARGET_FLAGS); do \
32909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32910 done; \
32911 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32914 "RANLIB=$${RANLIB}" \
32915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32916 install-pdf) \
32917 || exit 1
32919 @endif target-libstdc++-v3
32921 .PHONY: maybe-install-html-target-libstdc++-v3 install-html-target-libstdc++-v3
32922 maybe-install-html-target-libstdc++-v3:
32923 @if target-libstdc++-v3
32924 maybe-install-html-target-libstdc++-v3: install-html-target-libstdc++-v3
32926 install-html-target-libstdc++-v3: \
32927 configure-target-libstdc++-v3 \
32928 html-target-libstdc++-v3
32929 @: $(MAKE); $(unstage)
32930 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32931 r=`${PWD_COMMAND}`; export r; \
32932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32933 $(RAW_CXX_TARGET_EXPORTS) \
32934 echo "Doing install-html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32935 for flag in $(EXTRA_TARGET_FLAGS); do \
32936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32937 done; \
32938 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32941 "RANLIB=$${RANLIB}" \
32942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32943 install-html) \
32944 || exit 1
32946 @endif target-libstdc++-v3
32948 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
32949 maybe-installcheck-target-libstdc++-v3:
32950 @if target-libstdc++-v3
32951 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
32953 installcheck-target-libstdc++-v3: \
32954 configure-target-libstdc++-v3
32955 @: $(MAKE); $(unstage)
32956 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32957 r=`${PWD_COMMAND}`; export r; \
32958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32959 $(RAW_CXX_TARGET_EXPORTS) \
32960 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32961 for flag in $(EXTRA_TARGET_FLAGS); do \
32962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32963 done; \
32964 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32967 "RANLIB=$${RANLIB}" \
32968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32969 installcheck) \
32970 || exit 1
32972 @endif target-libstdc++-v3
32974 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
32975 maybe-mostlyclean-target-libstdc++-v3:
32976 @if target-libstdc++-v3
32977 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
32979 mostlyclean-target-libstdc++-v3:
32980 @: $(MAKE); $(unstage)
32981 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32982 r=`${PWD_COMMAND}`; export r; \
32983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32984 $(RAW_CXX_TARGET_EXPORTS) \
32985 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32986 for flag in $(EXTRA_TARGET_FLAGS); do \
32987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32988 done; \
32989 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32992 "RANLIB=$${RANLIB}" \
32993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32994 mostlyclean) \
32995 || exit 1
32997 @endif target-libstdc++-v3
32999 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
33000 maybe-clean-target-libstdc++-v3:
33001 @if target-libstdc++-v3
33002 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
33004 clean-target-libstdc++-v3:
33005 @: $(MAKE); $(unstage)
33006 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33007 r=`${PWD_COMMAND}`; export r; \
33008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33009 $(RAW_CXX_TARGET_EXPORTS) \
33010 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33011 for flag in $(EXTRA_TARGET_FLAGS); do \
33012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33013 done; \
33014 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33017 "RANLIB=$${RANLIB}" \
33018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33019 clean) \
33020 || exit 1
33022 @endif target-libstdc++-v3
33024 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
33025 maybe-distclean-target-libstdc++-v3:
33026 @if target-libstdc++-v3
33027 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
33029 distclean-target-libstdc++-v3:
33030 @: $(MAKE); $(unstage)
33031 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33032 r=`${PWD_COMMAND}`; export r; \
33033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33034 $(RAW_CXX_TARGET_EXPORTS) \
33035 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33036 for flag in $(EXTRA_TARGET_FLAGS); do \
33037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33038 done; \
33039 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33042 "RANLIB=$${RANLIB}" \
33043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33044 distclean) \
33045 || exit 1
33047 @endif target-libstdc++-v3
33049 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
33050 maybe-maintainer-clean-target-libstdc++-v3:
33051 @if target-libstdc++-v3
33052 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
33054 maintainer-clean-target-libstdc++-v3:
33055 @: $(MAKE); $(unstage)
33056 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33057 r=`${PWD_COMMAND}`; export r; \
33058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33059 $(RAW_CXX_TARGET_EXPORTS) \
33060 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33061 for flag in $(EXTRA_TARGET_FLAGS); do \
33062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33063 done; \
33064 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33067 "RANLIB=$${RANLIB}" \
33068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33069 maintainer-clean) \
33070 || exit 1
33072 @endif target-libstdc++-v3
33078 .PHONY: configure-target-libsanitizer maybe-configure-target-libsanitizer
33079 maybe-configure-target-libsanitizer:
33080 @if gcc-bootstrap
33081 configure-target-libsanitizer: stage_current
33082 @endif gcc-bootstrap
33083 @if target-libsanitizer
33084 maybe-configure-target-libsanitizer: configure-target-libsanitizer
33085 configure-target-libsanitizer:
33086 @r=`${PWD_COMMAND}`; export r; \
33087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33088 echo "Checking multilib configuration for libsanitizer..."; \
33089 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
33090 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
33091 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33092 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33093 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
33094 else \
33095 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
33096 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33097 fi; \
33098 else \
33099 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33100 fi; \
33101 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
33102 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
33103 $(RAW_CXX_TARGET_EXPORTS) \
33104 echo Configuring in $(TARGET_SUBDIR)/libsanitizer; \
33105 cd "$(TARGET_SUBDIR)/libsanitizer" || exit 1; \
33106 case $(srcdir) in \
33107 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33108 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
33109 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33110 esac; \
33111 srcdiroption="--srcdir=$${topdir}/libsanitizer"; \
33112 libsrcdir="$$s/libsanitizer"; \
33113 rm -f no-such-file || : ; \
33114 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33115 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33116 --target=${target_alias} $${srcdiroption} \
33117 || exit 1
33118 @endif target-libsanitizer
33122 .PHONY: configure-stage1-target-libsanitizer maybe-configure-stage1-target-libsanitizer
33123 maybe-configure-stage1-target-libsanitizer:
33124 @if target-libsanitizer-bootstrap
33125 maybe-configure-stage1-target-libsanitizer: configure-stage1-target-libsanitizer
33126 configure-stage1-target-libsanitizer:
33127 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
33128 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
33129 @r=`${PWD_COMMAND}`; export r; \
33130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33131 TFLAGS="$(STAGE1_TFLAGS)"; \
33132 echo "Checking multilib configuration for libsanitizer..."; \
33133 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
33134 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33135 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33136 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
33137 else \
33138 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
33139 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33140 fi; \
33141 else \
33142 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33143 fi; \
33144 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
33145 $(RAW_CXX_TARGET_EXPORTS) \
33146 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33147 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33148 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33149 echo Configuring stage 1 in $(TARGET_SUBDIR)/libsanitizer ; \
33150 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
33151 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
33152 case $(srcdir) in \
33153 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33154 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
33155 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33156 esac; \
33157 srcdiroption="--srcdir=$${topdir}/libsanitizer"; \
33158 libsrcdir="$$s/libsanitizer"; \
33159 $(SHELL) $${libsrcdir}/configure \
33160 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33161 --target=${target_alias} $${srcdiroption} \
33162 $(STAGE1_CONFIGURE_FLAGS)
33163 @endif target-libsanitizer-bootstrap
33165 .PHONY: configure-stage2-target-libsanitizer maybe-configure-stage2-target-libsanitizer
33166 maybe-configure-stage2-target-libsanitizer:
33167 @if target-libsanitizer-bootstrap
33168 maybe-configure-stage2-target-libsanitizer: configure-stage2-target-libsanitizer
33169 configure-stage2-target-libsanitizer:
33170 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
33171 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
33172 @r=`${PWD_COMMAND}`; export r; \
33173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33174 TFLAGS="$(STAGE2_TFLAGS)"; \
33175 echo "Checking multilib configuration for libsanitizer..."; \
33176 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
33177 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33178 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33179 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
33180 else \
33181 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
33182 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33183 fi; \
33184 else \
33185 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33186 fi; \
33187 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
33188 $(RAW_CXX_TARGET_EXPORTS) \
33190 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33191 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33192 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33193 echo Configuring stage 2 in $(TARGET_SUBDIR)/libsanitizer ; \
33194 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
33195 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
33196 case $(srcdir) in \
33197 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33198 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
33199 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33200 esac; \
33201 srcdiroption="--srcdir=$${topdir}/libsanitizer"; \
33202 libsrcdir="$$s/libsanitizer"; \
33203 $(SHELL) $${libsrcdir}/configure \
33204 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33205 --target=${target_alias} $${srcdiroption} \
33206 --with-build-libsubdir=$(HOST_SUBDIR) \
33207 $(STAGE2_CONFIGURE_FLAGS)
33208 @endif target-libsanitizer-bootstrap
33210 .PHONY: configure-stage3-target-libsanitizer maybe-configure-stage3-target-libsanitizer
33211 maybe-configure-stage3-target-libsanitizer:
33212 @if target-libsanitizer-bootstrap
33213 maybe-configure-stage3-target-libsanitizer: configure-stage3-target-libsanitizer
33214 configure-stage3-target-libsanitizer:
33215 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
33216 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
33217 @r=`${PWD_COMMAND}`; export r; \
33218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33219 TFLAGS="$(STAGE3_TFLAGS)"; \
33220 echo "Checking multilib configuration for libsanitizer..."; \
33221 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
33222 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33223 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33224 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
33225 else \
33226 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
33227 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33228 fi; \
33229 else \
33230 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33231 fi; \
33232 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
33233 $(RAW_CXX_TARGET_EXPORTS) \
33235 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33236 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33237 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33238 echo Configuring stage 3 in $(TARGET_SUBDIR)/libsanitizer ; \
33239 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
33240 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
33241 case $(srcdir) in \
33242 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33243 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
33244 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33245 esac; \
33246 srcdiroption="--srcdir=$${topdir}/libsanitizer"; \
33247 libsrcdir="$$s/libsanitizer"; \
33248 $(SHELL) $${libsrcdir}/configure \
33249 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33250 --target=${target_alias} $${srcdiroption} \
33251 --with-build-libsubdir=$(HOST_SUBDIR) \
33252 $(STAGE3_CONFIGURE_FLAGS)
33253 @endif target-libsanitizer-bootstrap
33255 .PHONY: configure-stage4-target-libsanitizer maybe-configure-stage4-target-libsanitizer
33256 maybe-configure-stage4-target-libsanitizer:
33257 @if target-libsanitizer-bootstrap
33258 maybe-configure-stage4-target-libsanitizer: configure-stage4-target-libsanitizer
33259 configure-stage4-target-libsanitizer:
33260 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
33261 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
33262 @r=`${PWD_COMMAND}`; export r; \
33263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33264 TFLAGS="$(STAGE4_TFLAGS)"; \
33265 echo "Checking multilib configuration for libsanitizer..."; \
33266 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
33267 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33268 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33269 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
33270 else \
33271 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
33272 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33273 fi; \
33274 else \
33275 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33276 fi; \
33277 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
33278 $(RAW_CXX_TARGET_EXPORTS) \
33280 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33281 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33282 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33283 echo Configuring stage 4 in $(TARGET_SUBDIR)/libsanitizer ; \
33284 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
33285 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
33286 case $(srcdir) in \
33287 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33288 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
33289 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33290 esac; \
33291 srcdiroption="--srcdir=$${topdir}/libsanitizer"; \
33292 libsrcdir="$$s/libsanitizer"; \
33293 $(SHELL) $${libsrcdir}/configure \
33294 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33295 --target=${target_alias} $${srcdiroption} \
33296 --with-build-libsubdir=$(HOST_SUBDIR) \
33297 $(STAGE4_CONFIGURE_FLAGS)
33298 @endif target-libsanitizer-bootstrap
33300 .PHONY: configure-stageprofile-target-libsanitizer maybe-configure-stageprofile-target-libsanitizer
33301 maybe-configure-stageprofile-target-libsanitizer:
33302 @if target-libsanitizer-bootstrap
33303 maybe-configure-stageprofile-target-libsanitizer: configure-stageprofile-target-libsanitizer
33304 configure-stageprofile-target-libsanitizer:
33305 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
33306 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
33307 @r=`${PWD_COMMAND}`; export r; \
33308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33309 TFLAGS="$(STAGEprofile_TFLAGS)"; \
33310 echo "Checking multilib configuration for libsanitizer..."; \
33311 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
33312 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33313 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33314 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
33315 else \
33316 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
33317 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33318 fi; \
33319 else \
33320 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33321 fi; \
33322 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
33323 $(RAW_CXX_TARGET_EXPORTS) \
33325 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33326 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33327 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33328 echo Configuring stage profile in $(TARGET_SUBDIR)/libsanitizer ; \
33329 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
33330 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
33331 case $(srcdir) in \
33332 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33333 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
33334 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33335 esac; \
33336 srcdiroption="--srcdir=$${topdir}/libsanitizer"; \
33337 libsrcdir="$$s/libsanitizer"; \
33338 $(SHELL) $${libsrcdir}/configure \
33339 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33340 --target=${target_alias} $${srcdiroption} \
33341 --with-build-libsubdir=$(HOST_SUBDIR) \
33342 $(STAGEprofile_CONFIGURE_FLAGS)
33343 @endif target-libsanitizer-bootstrap
33345 .PHONY: configure-stagefeedback-target-libsanitizer maybe-configure-stagefeedback-target-libsanitizer
33346 maybe-configure-stagefeedback-target-libsanitizer:
33347 @if target-libsanitizer-bootstrap
33348 maybe-configure-stagefeedback-target-libsanitizer: configure-stagefeedback-target-libsanitizer
33349 configure-stagefeedback-target-libsanitizer:
33350 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
33351 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
33352 @r=`${PWD_COMMAND}`; export r; \
33353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33354 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
33355 echo "Checking multilib configuration for libsanitizer..."; \
33356 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
33357 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33358 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33359 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
33360 else \
33361 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
33362 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33363 fi; \
33364 else \
33365 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33366 fi; \
33367 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
33368 $(RAW_CXX_TARGET_EXPORTS) \
33370 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33371 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33372 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33373 echo Configuring stage feedback in $(TARGET_SUBDIR)/libsanitizer ; \
33374 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
33375 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
33376 case $(srcdir) in \
33377 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33378 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
33379 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33380 esac; \
33381 srcdiroption="--srcdir=$${topdir}/libsanitizer"; \
33382 libsrcdir="$$s/libsanitizer"; \
33383 $(SHELL) $${libsrcdir}/configure \
33384 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33385 --target=${target_alias} $${srcdiroption} \
33386 --with-build-libsubdir=$(HOST_SUBDIR) \
33387 $(STAGEfeedback_CONFIGURE_FLAGS)
33388 @endif target-libsanitizer-bootstrap
33394 .PHONY: all-target-libsanitizer maybe-all-target-libsanitizer
33395 maybe-all-target-libsanitizer:
33396 @if gcc-bootstrap
33397 all-target-libsanitizer: stage_current
33398 @endif gcc-bootstrap
33399 @if target-libsanitizer
33400 TARGET-target-libsanitizer=all
33401 maybe-all-target-libsanitizer: all-target-libsanitizer
33402 all-target-libsanitizer: configure-target-libsanitizer
33403 @r=`${PWD_COMMAND}`; export r; \
33404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33405 $(RAW_CXX_TARGET_EXPORTS) \
33406 (cd $(TARGET_SUBDIR)/libsanitizer && \
33407 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33408 $(TARGET-target-libsanitizer))
33409 @endif target-libsanitizer
33413 .PHONY: all-stage1-target-libsanitizer maybe-all-stage1-target-libsanitizer
33414 .PHONY: clean-stage1-target-libsanitizer maybe-clean-stage1-target-libsanitizer
33415 maybe-all-stage1-target-libsanitizer:
33416 maybe-clean-stage1-target-libsanitizer:
33417 @if target-libsanitizer-bootstrap
33418 maybe-all-stage1-target-libsanitizer: all-stage1-target-libsanitizer
33419 all-stage1: all-stage1-target-libsanitizer
33420 TARGET-stage1-target-libsanitizer = $(TARGET-target-libsanitizer)
33421 all-stage1-target-libsanitizer: configure-stage1-target-libsanitizer
33422 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
33423 @r=`${PWD_COMMAND}`; export r; \
33424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33425 TFLAGS="$(STAGE1_TFLAGS)"; \
33426 $(RAW_CXX_TARGET_EXPORTS) \
33427 cd $(TARGET_SUBDIR)/libsanitizer && \
33428 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33429 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33430 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33431 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33432 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33433 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33434 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33435 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33437 TFLAGS="$(STAGE1_TFLAGS)" \
33438 $(TARGET-stage1-target-libsanitizer)
33440 maybe-clean-stage1-target-libsanitizer: clean-stage1-target-libsanitizer
33441 clean-stage1: clean-stage1-target-libsanitizer
33442 clean-stage1-target-libsanitizer:
33443 @if [ $(current_stage) = stage1 ]; then \
33444 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
33445 else \
33446 [ -f $(TARGET_SUBDIR)/stage1-libsanitizer/Makefile ] || exit 0; \
33447 $(MAKE) stage1-start; \
33448 fi; \
33449 cd $(TARGET_SUBDIR)/libsanitizer && \
33450 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33451 clean
33452 @endif target-libsanitizer-bootstrap
33455 .PHONY: all-stage2-target-libsanitizer maybe-all-stage2-target-libsanitizer
33456 .PHONY: clean-stage2-target-libsanitizer maybe-clean-stage2-target-libsanitizer
33457 maybe-all-stage2-target-libsanitizer:
33458 maybe-clean-stage2-target-libsanitizer:
33459 @if target-libsanitizer-bootstrap
33460 maybe-all-stage2-target-libsanitizer: all-stage2-target-libsanitizer
33461 all-stage2: all-stage2-target-libsanitizer
33462 TARGET-stage2-target-libsanitizer = $(TARGET-target-libsanitizer)
33463 all-stage2-target-libsanitizer: configure-stage2-target-libsanitizer
33464 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
33465 @r=`${PWD_COMMAND}`; export r; \
33466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33467 TFLAGS="$(STAGE2_TFLAGS)"; \
33468 $(RAW_CXX_TARGET_EXPORTS) \
33470 cd $(TARGET_SUBDIR)/libsanitizer && \
33471 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33472 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33473 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33474 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33475 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33476 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33477 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33478 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33479 TFLAGS="$(STAGE2_TFLAGS)" \
33480 $(TARGET-stage2-target-libsanitizer)
33482 maybe-clean-stage2-target-libsanitizer: clean-stage2-target-libsanitizer
33483 clean-stage2: clean-stage2-target-libsanitizer
33484 clean-stage2-target-libsanitizer:
33485 @if [ $(current_stage) = stage2 ]; then \
33486 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
33487 else \
33488 [ -f $(TARGET_SUBDIR)/stage2-libsanitizer/Makefile ] || exit 0; \
33489 $(MAKE) stage2-start; \
33490 fi; \
33491 cd $(TARGET_SUBDIR)/libsanitizer && \
33492 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
33493 @endif target-libsanitizer-bootstrap
33496 .PHONY: all-stage3-target-libsanitizer maybe-all-stage3-target-libsanitizer
33497 .PHONY: clean-stage3-target-libsanitizer maybe-clean-stage3-target-libsanitizer
33498 maybe-all-stage3-target-libsanitizer:
33499 maybe-clean-stage3-target-libsanitizer:
33500 @if target-libsanitizer-bootstrap
33501 maybe-all-stage3-target-libsanitizer: all-stage3-target-libsanitizer
33502 all-stage3: all-stage3-target-libsanitizer
33503 TARGET-stage3-target-libsanitizer = $(TARGET-target-libsanitizer)
33504 all-stage3-target-libsanitizer: configure-stage3-target-libsanitizer
33505 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
33506 @r=`${PWD_COMMAND}`; export r; \
33507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33508 TFLAGS="$(STAGE3_TFLAGS)"; \
33509 $(RAW_CXX_TARGET_EXPORTS) \
33511 cd $(TARGET_SUBDIR)/libsanitizer && \
33512 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33513 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33514 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33515 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33516 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33517 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33518 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33519 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33520 TFLAGS="$(STAGE3_TFLAGS)" \
33521 $(TARGET-stage3-target-libsanitizer)
33523 maybe-clean-stage3-target-libsanitizer: clean-stage3-target-libsanitizer
33524 clean-stage3: clean-stage3-target-libsanitizer
33525 clean-stage3-target-libsanitizer:
33526 @if [ $(current_stage) = stage3 ]; then \
33527 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
33528 else \
33529 [ -f $(TARGET_SUBDIR)/stage3-libsanitizer/Makefile ] || exit 0; \
33530 $(MAKE) stage3-start; \
33531 fi; \
33532 cd $(TARGET_SUBDIR)/libsanitizer && \
33533 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
33534 @endif target-libsanitizer-bootstrap
33537 .PHONY: all-stage4-target-libsanitizer maybe-all-stage4-target-libsanitizer
33538 .PHONY: clean-stage4-target-libsanitizer maybe-clean-stage4-target-libsanitizer
33539 maybe-all-stage4-target-libsanitizer:
33540 maybe-clean-stage4-target-libsanitizer:
33541 @if target-libsanitizer-bootstrap
33542 maybe-all-stage4-target-libsanitizer: all-stage4-target-libsanitizer
33543 all-stage4: all-stage4-target-libsanitizer
33544 TARGET-stage4-target-libsanitizer = $(TARGET-target-libsanitizer)
33545 all-stage4-target-libsanitizer: configure-stage4-target-libsanitizer
33546 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
33547 @r=`${PWD_COMMAND}`; export r; \
33548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33549 TFLAGS="$(STAGE4_TFLAGS)"; \
33550 $(RAW_CXX_TARGET_EXPORTS) \
33552 cd $(TARGET_SUBDIR)/libsanitizer && \
33553 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33554 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33555 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33556 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33557 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33558 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33559 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33560 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33561 TFLAGS="$(STAGE4_TFLAGS)" \
33562 $(TARGET-stage4-target-libsanitizer)
33564 maybe-clean-stage4-target-libsanitizer: clean-stage4-target-libsanitizer
33565 clean-stage4: clean-stage4-target-libsanitizer
33566 clean-stage4-target-libsanitizer:
33567 @if [ $(current_stage) = stage4 ]; then \
33568 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
33569 else \
33570 [ -f $(TARGET_SUBDIR)/stage4-libsanitizer/Makefile ] || exit 0; \
33571 $(MAKE) stage4-start; \
33572 fi; \
33573 cd $(TARGET_SUBDIR)/libsanitizer && \
33574 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
33575 @endif target-libsanitizer-bootstrap
33578 .PHONY: all-stageprofile-target-libsanitizer maybe-all-stageprofile-target-libsanitizer
33579 .PHONY: clean-stageprofile-target-libsanitizer maybe-clean-stageprofile-target-libsanitizer
33580 maybe-all-stageprofile-target-libsanitizer:
33581 maybe-clean-stageprofile-target-libsanitizer:
33582 @if target-libsanitizer-bootstrap
33583 maybe-all-stageprofile-target-libsanitizer: all-stageprofile-target-libsanitizer
33584 all-stageprofile: all-stageprofile-target-libsanitizer
33585 TARGET-stageprofile-target-libsanitizer = $(TARGET-target-libsanitizer)
33586 all-stageprofile-target-libsanitizer: configure-stageprofile-target-libsanitizer
33587 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
33588 @r=`${PWD_COMMAND}`; export r; \
33589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33590 TFLAGS="$(STAGEprofile_TFLAGS)"; \
33591 $(RAW_CXX_TARGET_EXPORTS) \
33593 cd $(TARGET_SUBDIR)/libsanitizer && \
33594 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33595 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33596 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33597 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33598 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33599 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33600 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33601 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33602 TFLAGS="$(STAGEprofile_TFLAGS)" \
33603 $(TARGET-stageprofile-target-libsanitizer)
33605 maybe-clean-stageprofile-target-libsanitizer: clean-stageprofile-target-libsanitizer
33606 clean-stageprofile: clean-stageprofile-target-libsanitizer
33607 clean-stageprofile-target-libsanitizer:
33608 @if [ $(current_stage) = stageprofile ]; then \
33609 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
33610 else \
33611 [ -f $(TARGET_SUBDIR)/stageprofile-libsanitizer/Makefile ] || exit 0; \
33612 $(MAKE) stageprofile-start; \
33613 fi; \
33614 cd $(TARGET_SUBDIR)/libsanitizer && \
33615 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
33616 @endif target-libsanitizer-bootstrap
33619 .PHONY: all-stagefeedback-target-libsanitizer maybe-all-stagefeedback-target-libsanitizer
33620 .PHONY: clean-stagefeedback-target-libsanitizer maybe-clean-stagefeedback-target-libsanitizer
33621 maybe-all-stagefeedback-target-libsanitizer:
33622 maybe-clean-stagefeedback-target-libsanitizer:
33623 @if target-libsanitizer-bootstrap
33624 maybe-all-stagefeedback-target-libsanitizer: all-stagefeedback-target-libsanitizer
33625 all-stagefeedback: all-stagefeedback-target-libsanitizer
33626 TARGET-stagefeedback-target-libsanitizer = $(TARGET-target-libsanitizer)
33627 all-stagefeedback-target-libsanitizer: configure-stagefeedback-target-libsanitizer
33628 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
33629 @r=`${PWD_COMMAND}`; export r; \
33630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33631 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
33632 $(RAW_CXX_TARGET_EXPORTS) \
33634 cd $(TARGET_SUBDIR)/libsanitizer && \
33635 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33636 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33637 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33638 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33639 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33640 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33641 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33642 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33643 TFLAGS="$(STAGEfeedback_TFLAGS)" \
33644 $(TARGET-stagefeedback-target-libsanitizer)
33646 maybe-clean-stagefeedback-target-libsanitizer: clean-stagefeedback-target-libsanitizer
33647 clean-stagefeedback: clean-stagefeedback-target-libsanitizer
33648 clean-stagefeedback-target-libsanitizer:
33649 @if [ $(current_stage) = stagefeedback ]; then \
33650 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
33651 else \
33652 [ -f $(TARGET_SUBDIR)/stagefeedback-libsanitizer/Makefile ] || exit 0; \
33653 $(MAKE) stagefeedback-start; \
33654 fi; \
33655 cd $(TARGET_SUBDIR)/libsanitizer && \
33656 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
33657 @endif target-libsanitizer-bootstrap
33664 .PHONY: check-target-libsanitizer maybe-check-target-libsanitizer
33665 maybe-check-target-libsanitizer:
33666 @if target-libsanitizer
33667 maybe-check-target-libsanitizer: check-target-libsanitizer
33669 check-target-libsanitizer:
33670 @: $(MAKE); $(unstage)
33671 @r=`${PWD_COMMAND}`; export r; \
33672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33673 $(RAW_CXX_TARGET_EXPORTS) \
33674 (cd $(TARGET_SUBDIR)/libsanitizer && \
33675 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
33677 @endif target-libsanitizer
33679 .PHONY: install-target-libsanitizer maybe-install-target-libsanitizer
33680 maybe-install-target-libsanitizer:
33681 @if target-libsanitizer
33682 maybe-install-target-libsanitizer: install-target-libsanitizer
33684 install-target-libsanitizer: installdirs
33685 @: $(MAKE); $(unstage)
33686 @r=`${PWD_COMMAND}`; export r; \
33687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33688 $(RAW_CXX_TARGET_EXPORTS) \
33689 (cd $(TARGET_SUBDIR)/libsanitizer && \
33690 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33692 @endif target-libsanitizer
33694 .PHONY: install-strip-target-libsanitizer maybe-install-strip-target-libsanitizer
33695 maybe-install-strip-target-libsanitizer:
33696 @if target-libsanitizer
33697 maybe-install-strip-target-libsanitizer: install-strip-target-libsanitizer
33699 install-strip-target-libsanitizer: installdirs
33700 @: $(MAKE); $(unstage)
33701 @r=`${PWD_COMMAND}`; export r; \
33702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33703 $(RAW_CXX_TARGET_EXPORTS) \
33704 (cd $(TARGET_SUBDIR)/libsanitizer && \
33705 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
33707 @endif target-libsanitizer
33709 # Other targets (info, dvi, pdf, etc.)
33711 .PHONY: maybe-info-target-libsanitizer info-target-libsanitizer
33712 maybe-info-target-libsanitizer:
33713 @if target-libsanitizer
33714 maybe-info-target-libsanitizer: info-target-libsanitizer
33716 info-target-libsanitizer: \
33717 configure-target-libsanitizer
33718 @: $(MAKE); $(unstage)
33719 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33720 r=`${PWD_COMMAND}`; export r; \
33721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33722 $(RAW_CXX_TARGET_EXPORTS) \
33723 echo "Doing info in $(TARGET_SUBDIR)/libsanitizer" ; \
33724 for flag in $(EXTRA_TARGET_FLAGS); do \
33725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33726 done; \
33727 (cd $(TARGET_SUBDIR)/libsanitizer && \
33728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33730 "RANLIB=$${RANLIB}" \
33731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33732 info) \
33733 || exit 1
33735 @endif target-libsanitizer
33737 .PHONY: maybe-dvi-target-libsanitizer dvi-target-libsanitizer
33738 maybe-dvi-target-libsanitizer:
33739 @if target-libsanitizer
33740 maybe-dvi-target-libsanitizer: dvi-target-libsanitizer
33742 dvi-target-libsanitizer: \
33743 configure-target-libsanitizer
33744 @: $(MAKE); $(unstage)
33745 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33746 r=`${PWD_COMMAND}`; export r; \
33747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33748 $(RAW_CXX_TARGET_EXPORTS) \
33749 echo "Doing dvi in $(TARGET_SUBDIR)/libsanitizer" ; \
33750 for flag in $(EXTRA_TARGET_FLAGS); do \
33751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33752 done; \
33753 (cd $(TARGET_SUBDIR)/libsanitizer && \
33754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33756 "RANLIB=$${RANLIB}" \
33757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33758 dvi) \
33759 || exit 1
33761 @endif target-libsanitizer
33763 .PHONY: maybe-pdf-target-libsanitizer pdf-target-libsanitizer
33764 maybe-pdf-target-libsanitizer:
33765 @if target-libsanitizer
33766 maybe-pdf-target-libsanitizer: pdf-target-libsanitizer
33768 pdf-target-libsanitizer: \
33769 configure-target-libsanitizer
33770 @: $(MAKE); $(unstage)
33771 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33772 r=`${PWD_COMMAND}`; export r; \
33773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33774 $(RAW_CXX_TARGET_EXPORTS) \
33775 echo "Doing pdf in $(TARGET_SUBDIR)/libsanitizer" ; \
33776 for flag in $(EXTRA_TARGET_FLAGS); do \
33777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33778 done; \
33779 (cd $(TARGET_SUBDIR)/libsanitizer && \
33780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33782 "RANLIB=$${RANLIB}" \
33783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33784 pdf) \
33785 || exit 1
33787 @endif target-libsanitizer
33789 .PHONY: maybe-html-target-libsanitizer html-target-libsanitizer
33790 maybe-html-target-libsanitizer:
33791 @if target-libsanitizer
33792 maybe-html-target-libsanitizer: html-target-libsanitizer
33794 html-target-libsanitizer: \
33795 configure-target-libsanitizer
33796 @: $(MAKE); $(unstage)
33797 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33798 r=`${PWD_COMMAND}`; export r; \
33799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33800 $(RAW_CXX_TARGET_EXPORTS) \
33801 echo "Doing html in $(TARGET_SUBDIR)/libsanitizer" ; \
33802 for flag in $(EXTRA_TARGET_FLAGS); do \
33803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33804 done; \
33805 (cd $(TARGET_SUBDIR)/libsanitizer && \
33806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33808 "RANLIB=$${RANLIB}" \
33809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33810 html) \
33811 || exit 1
33813 @endif target-libsanitizer
33815 .PHONY: maybe-TAGS-target-libsanitizer TAGS-target-libsanitizer
33816 maybe-TAGS-target-libsanitizer:
33817 @if target-libsanitizer
33818 maybe-TAGS-target-libsanitizer: TAGS-target-libsanitizer
33820 TAGS-target-libsanitizer: \
33821 configure-target-libsanitizer
33822 @: $(MAKE); $(unstage)
33823 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33824 r=`${PWD_COMMAND}`; export r; \
33825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33826 $(RAW_CXX_TARGET_EXPORTS) \
33827 echo "Doing TAGS in $(TARGET_SUBDIR)/libsanitizer" ; \
33828 for flag in $(EXTRA_TARGET_FLAGS); do \
33829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33830 done; \
33831 (cd $(TARGET_SUBDIR)/libsanitizer && \
33832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33834 "RANLIB=$${RANLIB}" \
33835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33836 TAGS) \
33837 || exit 1
33839 @endif target-libsanitizer
33841 .PHONY: maybe-install-info-target-libsanitizer install-info-target-libsanitizer
33842 maybe-install-info-target-libsanitizer:
33843 @if target-libsanitizer
33844 maybe-install-info-target-libsanitizer: install-info-target-libsanitizer
33846 install-info-target-libsanitizer: \
33847 configure-target-libsanitizer \
33848 info-target-libsanitizer
33849 @: $(MAKE); $(unstage)
33850 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33851 r=`${PWD_COMMAND}`; export r; \
33852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33853 $(RAW_CXX_TARGET_EXPORTS) \
33854 echo "Doing install-info in $(TARGET_SUBDIR)/libsanitizer" ; \
33855 for flag in $(EXTRA_TARGET_FLAGS); do \
33856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33857 done; \
33858 (cd $(TARGET_SUBDIR)/libsanitizer && \
33859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33861 "RANLIB=$${RANLIB}" \
33862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33863 install-info) \
33864 || exit 1
33866 @endif target-libsanitizer
33868 .PHONY: maybe-install-pdf-target-libsanitizer install-pdf-target-libsanitizer
33869 maybe-install-pdf-target-libsanitizer:
33870 @if target-libsanitizer
33871 maybe-install-pdf-target-libsanitizer: install-pdf-target-libsanitizer
33873 install-pdf-target-libsanitizer: \
33874 configure-target-libsanitizer \
33875 pdf-target-libsanitizer
33876 @: $(MAKE); $(unstage)
33877 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33878 r=`${PWD_COMMAND}`; export r; \
33879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33880 $(RAW_CXX_TARGET_EXPORTS) \
33881 echo "Doing install-pdf in $(TARGET_SUBDIR)/libsanitizer" ; \
33882 for flag in $(EXTRA_TARGET_FLAGS); do \
33883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33884 done; \
33885 (cd $(TARGET_SUBDIR)/libsanitizer && \
33886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33888 "RANLIB=$${RANLIB}" \
33889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33890 install-pdf) \
33891 || exit 1
33893 @endif target-libsanitizer
33895 .PHONY: maybe-install-html-target-libsanitizer install-html-target-libsanitizer
33896 maybe-install-html-target-libsanitizer:
33897 @if target-libsanitizer
33898 maybe-install-html-target-libsanitizer: install-html-target-libsanitizer
33900 install-html-target-libsanitizer: \
33901 configure-target-libsanitizer \
33902 html-target-libsanitizer
33903 @: $(MAKE); $(unstage)
33904 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33905 r=`${PWD_COMMAND}`; export r; \
33906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33907 $(RAW_CXX_TARGET_EXPORTS) \
33908 echo "Doing install-html in $(TARGET_SUBDIR)/libsanitizer" ; \
33909 for flag in $(EXTRA_TARGET_FLAGS); do \
33910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33911 done; \
33912 (cd $(TARGET_SUBDIR)/libsanitizer && \
33913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33915 "RANLIB=$${RANLIB}" \
33916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33917 install-html) \
33918 || exit 1
33920 @endif target-libsanitizer
33922 .PHONY: maybe-installcheck-target-libsanitizer installcheck-target-libsanitizer
33923 maybe-installcheck-target-libsanitizer:
33924 @if target-libsanitizer
33925 maybe-installcheck-target-libsanitizer: installcheck-target-libsanitizer
33927 installcheck-target-libsanitizer: \
33928 configure-target-libsanitizer
33929 @: $(MAKE); $(unstage)
33930 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33931 r=`${PWD_COMMAND}`; export r; \
33932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33933 $(RAW_CXX_TARGET_EXPORTS) \
33934 echo "Doing installcheck in $(TARGET_SUBDIR)/libsanitizer" ; \
33935 for flag in $(EXTRA_TARGET_FLAGS); do \
33936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33937 done; \
33938 (cd $(TARGET_SUBDIR)/libsanitizer && \
33939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33941 "RANLIB=$${RANLIB}" \
33942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33943 installcheck) \
33944 || exit 1
33946 @endif target-libsanitizer
33948 .PHONY: maybe-mostlyclean-target-libsanitizer mostlyclean-target-libsanitizer
33949 maybe-mostlyclean-target-libsanitizer:
33950 @if target-libsanitizer
33951 maybe-mostlyclean-target-libsanitizer: mostlyclean-target-libsanitizer
33953 mostlyclean-target-libsanitizer:
33954 @: $(MAKE); $(unstage)
33955 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33956 r=`${PWD_COMMAND}`; export r; \
33957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33958 $(RAW_CXX_TARGET_EXPORTS) \
33959 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libsanitizer" ; \
33960 for flag in $(EXTRA_TARGET_FLAGS); do \
33961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33962 done; \
33963 (cd $(TARGET_SUBDIR)/libsanitizer && \
33964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33966 "RANLIB=$${RANLIB}" \
33967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33968 mostlyclean) \
33969 || exit 1
33971 @endif target-libsanitizer
33973 .PHONY: maybe-clean-target-libsanitizer clean-target-libsanitizer
33974 maybe-clean-target-libsanitizer:
33975 @if target-libsanitizer
33976 maybe-clean-target-libsanitizer: clean-target-libsanitizer
33978 clean-target-libsanitizer:
33979 @: $(MAKE); $(unstage)
33980 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33981 r=`${PWD_COMMAND}`; export r; \
33982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33983 $(RAW_CXX_TARGET_EXPORTS) \
33984 echo "Doing clean in $(TARGET_SUBDIR)/libsanitizer" ; \
33985 for flag in $(EXTRA_TARGET_FLAGS); do \
33986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33987 done; \
33988 (cd $(TARGET_SUBDIR)/libsanitizer && \
33989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33991 "RANLIB=$${RANLIB}" \
33992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33993 clean) \
33994 || exit 1
33996 @endif target-libsanitizer
33998 .PHONY: maybe-distclean-target-libsanitizer distclean-target-libsanitizer
33999 maybe-distclean-target-libsanitizer:
34000 @if target-libsanitizer
34001 maybe-distclean-target-libsanitizer: distclean-target-libsanitizer
34003 distclean-target-libsanitizer:
34004 @: $(MAKE); $(unstage)
34005 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
34006 r=`${PWD_COMMAND}`; export r; \
34007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34008 $(RAW_CXX_TARGET_EXPORTS) \
34009 echo "Doing distclean in $(TARGET_SUBDIR)/libsanitizer" ; \
34010 for flag in $(EXTRA_TARGET_FLAGS); do \
34011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34012 done; \
34013 (cd $(TARGET_SUBDIR)/libsanitizer && \
34014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34016 "RANLIB=$${RANLIB}" \
34017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34018 distclean) \
34019 || exit 1
34021 @endif target-libsanitizer
34023 .PHONY: maybe-maintainer-clean-target-libsanitizer maintainer-clean-target-libsanitizer
34024 maybe-maintainer-clean-target-libsanitizer:
34025 @if target-libsanitizer
34026 maybe-maintainer-clean-target-libsanitizer: maintainer-clean-target-libsanitizer
34028 maintainer-clean-target-libsanitizer:
34029 @: $(MAKE); $(unstage)
34030 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
34031 r=`${PWD_COMMAND}`; export r; \
34032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34033 $(RAW_CXX_TARGET_EXPORTS) \
34034 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libsanitizer" ; \
34035 for flag in $(EXTRA_TARGET_FLAGS); do \
34036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34037 done; \
34038 (cd $(TARGET_SUBDIR)/libsanitizer && \
34039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34041 "RANLIB=$${RANLIB}" \
34042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34043 maintainer-clean) \
34044 || exit 1
34046 @endif target-libsanitizer
34052 .PHONY: configure-target-libvtv maybe-configure-target-libvtv
34053 maybe-configure-target-libvtv:
34054 @if gcc-bootstrap
34055 configure-target-libvtv: stage_current
34056 @endif gcc-bootstrap
34057 @if target-libvtv
34058 maybe-configure-target-libvtv: configure-target-libvtv
34059 configure-target-libvtv:
34060 @r=`${PWD_COMMAND}`; export r; \
34061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34062 echo "Checking multilib configuration for libvtv..."; \
34063 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
34064 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
34065 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
34066 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
34067 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
34068 else \
34069 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
34070 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
34071 fi; \
34072 else \
34073 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
34074 fi; \
34075 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
34076 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
34077 $(RAW_CXX_TARGET_EXPORTS) \
34078 echo Configuring in $(TARGET_SUBDIR)/libvtv; \
34079 cd "$(TARGET_SUBDIR)/libvtv" || exit 1; \
34080 case $(srcdir) in \
34081 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34082 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
34083 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34084 esac; \
34085 srcdiroption="--srcdir=$${topdir}/libvtv"; \
34086 libsrcdir="$$s/libvtv"; \
34087 rm -f no-such-file || : ; \
34088 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34089 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34090 --target=${target_alias} $${srcdiroption} \
34091 || exit 1
34092 @endif target-libvtv
34096 .PHONY: configure-stage1-target-libvtv maybe-configure-stage1-target-libvtv
34097 maybe-configure-stage1-target-libvtv:
34098 @if target-libvtv-bootstrap
34099 maybe-configure-stage1-target-libvtv: configure-stage1-target-libvtv
34100 configure-stage1-target-libvtv:
34101 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
34102 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
34103 @r=`${PWD_COMMAND}`; export r; \
34104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34105 TFLAGS="$(STAGE1_TFLAGS)"; \
34106 echo "Checking multilib configuration for libvtv..."; \
34107 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
34108 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
34109 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
34110 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
34111 else \
34112 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
34113 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
34114 fi; \
34115 else \
34116 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
34117 fi; \
34118 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
34119 $(RAW_CXX_TARGET_EXPORTS) \
34120 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
34121 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
34122 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
34123 echo Configuring stage 1 in $(TARGET_SUBDIR)/libvtv ; \
34124 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
34125 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
34126 case $(srcdir) in \
34127 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34128 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
34129 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34130 esac; \
34131 srcdiroption="--srcdir=$${topdir}/libvtv"; \
34132 libsrcdir="$$s/libvtv"; \
34133 $(SHELL) $${libsrcdir}/configure \
34134 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34135 --target=${target_alias} $${srcdiroption} \
34136 $(STAGE1_CONFIGURE_FLAGS)
34137 @endif target-libvtv-bootstrap
34139 .PHONY: configure-stage2-target-libvtv maybe-configure-stage2-target-libvtv
34140 maybe-configure-stage2-target-libvtv:
34141 @if target-libvtv-bootstrap
34142 maybe-configure-stage2-target-libvtv: configure-stage2-target-libvtv
34143 configure-stage2-target-libvtv:
34144 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
34145 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
34146 @r=`${PWD_COMMAND}`; export r; \
34147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34148 TFLAGS="$(STAGE2_TFLAGS)"; \
34149 echo "Checking multilib configuration for libvtv..."; \
34150 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
34151 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
34152 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
34153 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
34154 else \
34155 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
34156 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
34157 fi; \
34158 else \
34159 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
34160 fi; \
34161 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
34162 $(RAW_CXX_TARGET_EXPORTS) \
34164 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
34165 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
34166 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
34167 echo Configuring stage 2 in $(TARGET_SUBDIR)/libvtv ; \
34168 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
34169 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
34170 case $(srcdir) in \
34171 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34172 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
34173 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34174 esac; \
34175 srcdiroption="--srcdir=$${topdir}/libvtv"; \
34176 libsrcdir="$$s/libvtv"; \
34177 $(SHELL) $${libsrcdir}/configure \
34178 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34179 --target=${target_alias} $${srcdiroption} \
34180 --with-build-libsubdir=$(HOST_SUBDIR) \
34181 $(STAGE2_CONFIGURE_FLAGS)
34182 @endif target-libvtv-bootstrap
34184 .PHONY: configure-stage3-target-libvtv maybe-configure-stage3-target-libvtv
34185 maybe-configure-stage3-target-libvtv:
34186 @if target-libvtv-bootstrap
34187 maybe-configure-stage3-target-libvtv: configure-stage3-target-libvtv
34188 configure-stage3-target-libvtv:
34189 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
34190 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
34191 @r=`${PWD_COMMAND}`; export r; \
34192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34193 TFLAGS="$(STAGE3_TFLAGS)"; \
34194 echo "Checking multilib configuration for libvtv..."; \
34195 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
34196 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
34197 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
34198 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
34199 else \
34200 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
34201 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
34202 fi; \
34203 else \
34204 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
34205 fi; \
34206 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
34207 $(RAW_CXX_TARGET_EXPORTS) \
34209 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
34210 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
34211 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
34212 echo Configuring stage 3 in $(TARGET_SUBDIR)/libvtv ; \
34213 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
34214 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
34215 case $(srcdir) in \
34216 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34217 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
34218 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34219 esac; \
34220 srcdiroption="--srcdir=$${topdir}/libvtv"; \
34221 libsrcdir="$$s/libvtv"; \
34222 $(SHELL) $${libsrcdir}/configure \
34223 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34224 --target=${target_alias} $${srcdiroption} \
34225 --with-build-libsubdir=$(HOST_SUBDIR) \
34226 $(STAGE3_CONFIGURE_FLAGS)
34227 @endif target-libvtv-bootstrap
34229 .PHONY: configure-stage4-target-libvtv maybe-configure-stage4-target-libvtv
34230 maybe-configure-stage4-target-libvtv:
34231 @if target-libvtv-bootstrap
34232 maybe-configure-stage4-target-libvtv: configure-stage4-target-libvtv
34233 configure-stage4-target-libvtv:
34234 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
34235 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
34236 @r=`${PWD_COMMAND}`; export r; \
34237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34238 TFLAGS="$(STAGE4_TFLAGS)"; \
34239 echo "Checking multilib configuration for libvtv..."; \
34240 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
34241 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
34242 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
34243 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
34244 else \
34245 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
34246 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
34247 fi; \
34248 else \
34249 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
34250 fi; \
34251 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
34252 $(RAW_CXX_TARGET_EXPORTS) \
34254 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
34255 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
34256 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
34257 echo Configuring stage 4 in $(TARGET_SUBDIR)/libvtv ; \
34258 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
34259 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
34260 case $(srcdir) in \
34261 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34262 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
34263 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34264 esac; \
34265 srcdiroption="--srcdir=$${topdir}/libvtv"; \
34266 libsrcdir="$$s/libvtv"; \
34267 $(SHELL) $${libsrcdir}/configure \
34268 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34269 --target=${target_alias} $${srcdiroption} \
34270 --with-build-libsubdir=$(HOST_SUBDIR) \
34271 $(STAGE4_CONFIGURE_FLAGS)
34272 @endif target-libvtv-bootstrap
34274 .PHONY: configure-stageprofile-target-libvtv maybe-configure-stageprofile-target-libvtv
34275 maybe-configure-stageprofile-target-libvtv:
34276 @if target-libvtv-bootstrap
34277 maybe-configure-stageprofile-target-libvtv: configure-stageprofile-target-libvtv
34278 configure-stageprofile-target-libvtv:
34279 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
34280 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
34281 @r=`${PWD_COMMAND}`; export r; \
34282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34283 TFLAGS="$(STAGEprofile_TFLAGS)"; \
34284 echo "Checking multilib configuration for libvtv..."; \
34285 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
34286 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
34287 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
34288 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
34289 else \
34290 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
34291 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
34292 fi; \
34293 else \
34294 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
34295 fi; \
34296 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
34297 $(RAW_CXX_TARGET_EXPORTS) \
34299 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
34300 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
34301 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
34302 echo Configuring stage profile in $(TARGET_SUBDIR)/libvtv ; \
34303 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
34304 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
34305 case $(srcdir) in \
34306 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34307 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
34308 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34309 esac; \
34310 srcdiroption="--srcdir=$${topdir}/libvtv"; \
34311 libsrcdir="$$s/libvtv"; \
34312 $(SHELL) $${libsrcdir}/configure \
34313 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34314 --target=${target_alias} $${srcdiroption} \
34315 --with-build-libsubdir=$(HOST_SUBDIR) \
34316 $(STAGEprofile_CONFIGURE_FLAGS)
34317 @endif target-libvtv-bootstrap
34319 .PHONY: configure-stagefeedback-target-libvtv maybe-configure-stagefeedback-target-libvtv
34320 maybe-configure-stagefeedback-target-libvtv:
34321 @if target-libvtv-bootstrap
34322 maybe-configure-stagefeedback-target-libvtv: configure-stagefeedback-target-libvtv
34323 configure-stagefeedback-target-libvtv:
34324 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
34325 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
34326 @r=`${PWD_COMMAND}`; export r; \
34327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34328 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
34329 echo "Checking multilib configuration for libvtv..."; \
34330 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
34331 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
34332 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
34333 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
34334 else \
34335 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
34336 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
34337 fi; \
34338 else \
34339 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
34340 fi; \
34341 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
34342 $(RAW_CXX_TARGET_EXPORTS) \
34344 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
34345 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
34346 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
34347 echo Configuring stage feedback in $(TARGET_SUBDIR)/libvtv ; \
34348 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
34349 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
34350 case $(srcdir) in \
34351 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34352 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
34353 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34354 esac; \
34355 srcdiroption="--srcdir=$${topdir}/libvtv"; \
34356 libsrcdir="$$s/libvtv"; \
34357 $(SHELL) $${libsrcdir}/configure \
34358 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34359 --target=${target_alias} $${srcdiroption} \
34360 --with-build-libsubdir=$(HOST_SUBDIR) \
34361 $(STAGEfeedback_CONFIGURE_FLAGS)
34362 @endif target-libvtv-bootstrap
34368 .PHONY: all-target-libvtv maybe-all-target-libvtv
34369 maybe-all-target-libvtv:
34370 @if gcc-bootstrap
34371 all-target-libvtv: stage_current
34372 @endif gcc-bootstrap
34373 @if target-libvtv
34374 TARGET-target-libvtv=all
34375 maybe-all-target-libvtv: all-target-libvtv
34376 all-target-libvtv: configure-target-libvtv
34377 @r=`${PWD_COMMAND}`; export r; \
34378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34379 $(RAW_CXX_TARGET_EXPORTS) \
34380 (cd $(TARGET_SUBDIR)/libvtv && \
34381 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
34382 $(TARGET-target-libvtv))
34383 @endif target-libvtv
34387 .PHONY: all-stage1-target-libvtv maybe-all-stage1-target-libvtv
34388 .PHONY: clean-stage1-target-libvtv maybe-clean-stage1-target-libvtv
34389 maybe-all-stage1-target-libvtv:
34390 maybe-clean-stage1-target-libvtv:
34391 @if target-libvtv-bootstrap
34392 maybe-all-stage1-target-libvtv: all-stage1-target-libvtv
34393 all-stage1: all-stage1-target-libvtv
34394 TARGET-stage1-target-libvtv = $(TARGET-target-libvtv)
34395 all-stage1-target-libvtv: configure-stage1-target-libvtv
34396 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
34397 @r=`${PWD_COMMAND}`; export r; \
34398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34399 TFLAGS="$(STAGE1_TFLAGS)"; \
34400 $(RAW_CXX_TARGET_EXPORTS) \
34401 cd $(TARGET_SUBDIR)/libvtv && \
34402 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34403 CFLAGS="$(CFLAGS_FOR_TARGET)" \
34404 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
34405 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
34406 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34407 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34408 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34409 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
34411 TFLAGS="$(STAGE1_TFLAGS)" \
34412 $(TARGET-stage1-target-libvtv)
34414 maybe-clean-stage1-target-libvtv: clean-stage1-target-libvtv
34415 clean-stage1: clean-stage1-target-libvtv
34416 clean-stage1-target-libvtv:
34417 @if [ $(current_stage) = stage1 ]; then \
34418 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
34419 else \
34420 [ -f $(TARGET_SUBDIR)/stage1-libvtv/Makefile ] || exit 0; \
34421 $(MAKE) stage1-start; \
34422 fi; \
34423 cd $(TARGET_SUBDIR)/libvtv && \
34424 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
34425 clean
34426 @endif target-libvtv-bootstrap
34429 .PHONY: all-stage2-target-libvtv maybe-all-stage2-target-libvtv
34430 .PHONY: clean-stage2-target-libvtv maybe-clean-stage2-target-libvtv
34431 maybe-all-stage2-target-libvtv:
34432 maybe-clean-stage2-target-libvtv:
34433 @if target-libvtv-bootstrap
34434 maybe-all-stage2-target-libvtv: all-stage2-target-libvtv
34435 all-stage2: all-stage2-target-libvtv
34436 TARGET-stage2-target-libvtv = $(TARGET-target-libvtv)
34437 all-stage2-target-libvtv: configure-stage2-target-libvtv
34438 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
34439 @r=`${PWD_COMMAND}`; export r; \
34440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34441 TFLAGS="$(STAGE2_TFLAGS)"; \
34442 $(RAW_CXX_TARGET_EXPORTS) \
34444 cd $(TARGET_SUBDIR)/libvtv && \
34445 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34446 CFLAGS="$(CFLAGS_FOR_TARGET)" \
34447 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
34448 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
34449 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34450 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34451 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34452 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
34453 TFLAGS="$(STAGE2_TFLAGS)" \
34454 $(TARGET-stage2-target-libvtv)
34456 maybe-clean-stage2-target-libvtv: clean-stage2-target-libvtv
34457 clean-stage2: clean-stage2-target-libvtv
34458 clean-stage2-target-libvtv:
34459 @if [ $(current_stage) = stage2 ]; then \
34460 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
34461 else \
34462 [ -f $(TARGET_SUBDIR)/stage2-libvtv/Makefile ] || exit 0; \
34463 $(MAKE) stage2-start; \
34464 fi; \
34465 cd $(TARGET_SUBDIR)/libvtv && \
34466 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
34467 @endif target-libvtv-bootstrap
34470 .PHONY: all-stage3-target-libvtv maybe-all-stage3-target-libvtv
34471 .PHONY: clean-stage3-target-libvtv maybe-clean-stage3-target-libvtv
34472 maybe-all-stage3-target-libvtv:
34473 maybe-clean-stage3-target-libvtv:
34474 @if target-libvtv-bootstrap
34475 maybe-all-stage3-target-libvtv: all-stage3-target-libvtv
34476 all-stage3: all-stage3-target-libvtv
34477 TARGET-stage3-target-libvtv = $(TARGET-target-libvtv)
34478 all-stage3-target-libvtv: configure-stage3-target-libvtv
34479 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
34480 @r=`${PWD_COMMAND}`; export r; \
34481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34482 TFLAGS="$(STAGE3_TFLAGS)"; \
34483 $(RAW_CXX_TARGET_EXPORTS) \
34485 cd $(TARGET_SUBDIR)/libvtv && \
34486 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34487 CFLAGS="$(CFLAGS_FOR_TARGET)" \
34488 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
34489 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
34490 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34491 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34492 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34493 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
34494 TFLAGS="$(STAGE3_TFLAGS)" \
34495 $(TARGET-stage3-target-libvtv)
34497 maybe-clean-stage3-target-libvtv: clean-stage3-target-libvtv
34498 clean-stage3: clean-stage3-target-libvtv
34499 clean-stage3-target-libvtv:
34500 @if [ $(current_stage) = stage3 ]; then \
34501 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
34502 else \
34503 [ -f $(TARGET_SUBDIR)/stage3-libvtv/Makefile ] || exit 0; \
34504 $(MAKE) stage3-start; \
34505 fi; \
34506 cd $(TARGET_SUBDIR)/libvtv && \
34507 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
34508 @endif target-libvtv-bootstrap
34511 .PHONY: all-stage4-target-libvtv maybe-all-stage4-target-libvtv
34512 .PHONY: clean-stage4-target-libvtv maybe-clean-stage4-target-libvtv
34513 maybe-all-stage4-target-libvtv:
34514 maybe-clean-stage4-target-libvtv:
34515 @if target-libvtv-bootstrap
34516 maybe-all-stage4-target-libvtv: all-stage4-target-libvtv
34517 all-stage4: all-stage4-target-libvtv
34518 TARGET-stage4-target-libvtv = $(TARGET-target-libvtv)
34519 all-stage4-target-libvtv: configure-stage4-target-libvtv
34520 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
34521 @r=`${PWD_COMMAND}`; export r; \
34522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34523 TFLAGS="$(STAGE4_TFLAGS)"; \
34524 $(RAW_CXX_TARGET_EXPORTS) \
34526 cd $(TARGET_SUBDIR)/libvtv && \
34527 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34528 CFLAGS="$(CFLAGS_FOR_TARGET)" \
34529 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
34530 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
34531 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34532 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34533 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34534 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
34535 TFLAGS="$(STAGE4_TFLAGS)" \
34536 $(TARGET-stage4-target-libvtv)
34538 maybe-clean-stage4-target-libvtv: clean-stage4-target-libvtv
34539 clean-stage4: clean-stage4-target-libvtv
34540 clean-stage4-target-libvtv:
34541 @if [ $(current_stage) = stage4 ]; then \
34542 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
34543 else \
34544 [ -f $(TARGET_SUBDIR)/stage4-libvtv/Makefile ] || exit 0; \
34545 $(MAKE) stage4-start; \
34546 fi; \
34547 cd $(TARGET_SUBDIR)/libvtv && \
34548 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
34549 @endif target-libvtv-bootstrap
34552 .PHONY: all-stageprofile-target-libvtv maybe-all-stageprofile-target-libvtv
34553 .PHONY: clean-stageprofile-target-libvtv maybe-clean-stageprofile-target-libvtv
34554 maybe-all-stageprofile-target-libvtv:
34555 maybe-clean-stageprofile-target-libvtv:
34556 @if target-libvtv-bootstrap
34557 maybe-all-stageprofile-target-libvtv: all-stageprofile-target-libvtv
34558 all-stageprofile: all-stageprofile-target-libvtv
34559 TARGET-stageprofile-target-libvtv = $(TARGET-target-libvtv)
34560 all-stageprofile-target-libvtv: configure-stageprofile-target-libvtv
34561 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
34562 @r=`${PWD_COMMAND}`; export r; \
34563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34564 TFLAGS="$(STAGEprofile_TFLAGS)"; \
34565 $(RAW_CXX_TARGET_EXPORTS) \
34567 cd $(TARGET_SUBDIR)/libvtv && \
34568 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34569 CFLAGS="$(CFLAGS_FOR_TARGET)" \
34570 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
34571 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
34572 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34573 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34574 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34575 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
34576 TFLAGS="$(STAGEprofile_TFLAGS)" \
34577 $(TARGET-stageprofile-target-libvtv)
34579 maybe-clean-stageprofile-target-libvtv: clean-stageprofile-target-libvtv
34580 clean-stageprofile: clean-stageprofile-target-libvtv
34581 clean-stageprofile-target-libvtv:
34582 @if [ $(current_stage) = stageprofile ]; then \
34583 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
34584 else \
34585 [ -f $(TARGET_SUBDIR)/stageprofile-libvtv/Makefile ] || exit 0; \
34586 $(MAKE) stageprofile-start; \
34587 fi; \
34588 cd $(TARGET_SUBDIR)/libvtv && \
34589 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
34590 @endif target-libvtv-bootstrap
34593 .PHONY: all-stagefeedback-target-libvtv maybe-all-stagefeedback-target-libvtv
34594 .PHONY: clean-stagefeedback-target-libvtv maybe-clean-stagefeedback-target-libvtv
34595 maybe-all-stagefeedback-target-libvtv:
34596 maybe-clean-stagefeedback-target-libvtv:
34597 @if target-libvtv-bootstrap
34598 maybe-all-stagefeedback-target-libvtv: all-stagefeedback-target-libvtv
34599 all-stagefeedback: all-stagefeedback-target-libvtv
34600 TARGET-stagefeedback-target-libvtv = $(TARGET-target-libvtv)
34601 all-stagefeedback-target-libvtv: configure-stagefeedback-target-libvtv
34602 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
34603 @r=`${PWD_COMMAND}`; export r; \
34604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34605 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
34606 $(RAW_CXX_TARGET_EXPORTS) \
34608 cd $(TARGET_SUBDIR)/libvtv && \
34609 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34610 CFLAGS="$(CFLAGS_FOR_TARGET)" \
34611 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
34612 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
34613 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34614 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34615 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34616 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
34617 TFLAGS="$(STAGEfeedback_TFLAGS)" \
34618 $(TARGET-stagefeedback-target-libvtv)
34620 maybe-clean-stagefeedback-target-libvtv: clean-stagefeedback-target-libvtv
34621 clean-stagefeedback: clean-stagefeedback-target-libvtv
34622 clean-stagefeedback-target-libvtv:
34623 @if [ $(current_stage) = stagefeedback ]; then \
34624 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
34625 else \
34626 [ -f $(TARGET_SUBDIR)/stagefeedback-libvtv/Makefile ] || exit 0; \
34627 $(MAKE) stagefeedback-start; \
34628 fi; \
34629 cd $(TARGET_SUBDIR)/libvtv && \
34630 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
34631 @endif target-libvtv-bootstrap
34638 .PHONY: check-target-libvtv maybe-check-target-libvtv
34639 maybe-check-target-libvtv:
34640 @if target-libvtv
34641 maybe-check-target-libvtv: check-target-libvtv
34643 check-target-libvtv:
34644 @: $(MAKE); $(unstage)
34645 @r=`${PWD_COMMAND}`; export r; \
34646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34647 $(RAW_CXX_TARGET_EXPORTS) \
34648 (cd $(TARGET_SUBDIR)/libvtv && \
34649 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
34651 @endif target-libvtv
34653 .PHONY: install-target-libvtv maybe-install-target-libvtv
34654 maybe-install-target-libvtv:
34655 @if target-libvtv
34656 maybe-install-target-libvtv: install-target-libvtv
34658 install-target-libvtv: installdirs
34659 @: $(MAKE); $(unstage)
34660 @r=`${PWD_COMMAND}`; export r; \
34661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34662 $(RAW_CXX_TARGET_EXPORTS) \
34663 (cd $(TARGET_SUBDIR)/libvtv && \
34664 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34666 @endif target-libvtv
34668 .PHONY: install-strip-target-libvtv maybe-install-strip-target-libvtv
34669 maybe-install-strip-target-libvtv:
34670 @if target-libvtv
34671 maybe-install-strip-target-libvtv: install-strip-target-libvtv
34673 install-strip-target-libvtv: installdirs
34674 @: $(MAKE); $(unstage)
34675 @r=`${PWD_COMMAND}`; export r; \
34676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34677 $(RAW_CXX_TARGET_EXPORTS) \
34678 (cd $(TARGET_SUBDIR)/libvtv && \
34679 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
34681 @endif target-libvtv
34683 # Other targets (info, dvi, pdf, etc.)
34685 .PHONY: maybe-info-target-libvtv info-target-libvtv
34686 maybe-info-target-libvtv:
34687 @if target-libvtv
34688 maybe-info-target-libvtv: info-target-libvtv
34690 info-target-libvtv: \
34691 configure-target-libvtv
34692 @: $(MAKE); $(unstage)
34693 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34694 r=`${PWD_COMMAND}`; export r; \
34695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34696 $(RAW_CXX_TARGET_EXPORTS) \
34697 echo "Doing info in $(TARGET_SUBDIR)/libvtv" ; \
34698 for flag in $(EXTRA_TARGET_FLAGS); do \
34699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34700 done; \
34701 (cd $(TARGET_SUBDIR)/libvtv && \
34702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34704 "RANLIB=$${RANLIB}" \
34705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34706 info) \
34707 || exit 1
34709 @endif target-libvtv
34711 .PHONY: maybe-dvi-target-libvtv dvi-target-libvtv
34712 maybe-dvi-target-libvtv:
34713 @if target-libvtv
34714 maybe-dvi-target-libvtv: dvi-target-libvtv
34716 dvi-target-libvtv: \
34717 configure-target-libvtv
34718 @: $(MAKE); $(unstage)
34719 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34720 r=`${PWD_COMMAND}`; export r; \
34721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34722 $(RAW_CXX_TARGET_EXPORTS) \
34723 echo "Doing dvi in $(TARGET_SUBDIR)/libvtv" ; \
34724 for flag in $(EXTRA_TARGET_FLAGS); do \
34725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34726 done; \
34727 (cd $(TARGET_SUBDIR)/libvtv && \
34728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34730 "RANLIB=$${RANLIB}" \
34731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34732 dvi) \
34733 || exit 1
34735 @endif target-libvtv
34737 .PHONY: maybe-pdf-target-libvtv pdf-target-libvtv
34738 maybe-pdf-target-libvtv:
34739 @if target-libvtv
34740 maybe-pdf-target-libvtv: pdf-target-libvtv
34742 pdf-target-libvtv: \
34743 configure-target-libvtv
34744 @: $(MAKE); $(unstage)
34745 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34746 r=`${PWD_COMMAND}`; export r; \
34747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34748 $(RAW_CXX_TARGET_EXPORTS) \
34749 echo "Doing pdf in $(TARGET_SUBDIR)/libvtv" ; \
34750 for flag in $(EXTRA_TARGET_FLAGS); do \
34751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34752 done; \
34753 (cd $(TARGET_SUBDIR)/libvtv && \
34754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34756 "RANLIB=$${RANLIB}" \
34757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34758 pdf) \
34759 || exit 1
34761 @endif target-libvtv
34763 .PHONY: maybe-html-target-libvtv html-target-libvtv
34764 maybe-html-target-libvtv:
34765 @if target-libvtv
34766 maybe-html-target-libvtv: html-target-libvtv
34768 html-target-libvtv: \
34769 configure-target-libvtv
34770 @: $(MAKE); $(unstage)
34771 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34772 r=`${PWD_COMMAND}`; export r; \
34773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34774 $(RAW_CXX_TARGET_EXPORTS) \
34775 echo "Doing html in $(TARGET_SUBDIR)/libvtv" ; \
34776 for flag in $(EXTRA_TARGET_FLAGS); do \
34777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34778 done; \
34779 (cd $(TARGET_SUBDIR)/libvtv && \
34780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34782 "RANLIB=$${RANLIB}" \
34783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34784 html) \
34785 || exit 1
34787 @endif target-libvtv
34789 .PHONY: maybe-TAGS-target-libvtv TAGS-target-libvtv
34790 maybe-TAGS-target-libvtv:
34791 @if target-libvtv
34792 maybe-TAGS-target-libvtv: TAGS-target-libvtv
34794 TAGS-target-libvtv: \
34795 configure-target-libvtv
34796 @: $(MAKE); $(unstage)
34797 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34798 r=`${PWD_COMMAND}`; export r; \
34799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34800 $(RAW_CXX_TARGET_EXPORTS) \
34801 echo "Doing TAGS in $(TARGET_SUBDIR)/libvtv" ; \
34802 for flag in $(EXTRA_TARGET_FLAGS); do \
34803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34804 done; \
34805 (cd $(TARGET_SUBDIR)/libvtv && \
34806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34808 "RANLIB=$${RANLIB}" \
34809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34810 TAGS) \
34811 || exit 1
34813 @endif target-libvtv
34815 .PHONY: maybe-install-info-target-libvtv install-info-target-libvtv
34816 maybe-install-info-target-libvtv:
34817 @if target-libvtv
34818 maybe-install-info-target-libvtv: install-info-target-libvtv
34820 install-info-target-libvtv: \
34821 configure-target-libvtv \
34822 info-target-libvtv
34823 @: $(MAKE); $(unstage)
34824 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34825 r=`${PWD_COMMAND}`; export r; \
34826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34827 $(RAW_CXX_TARGET_EXPORTS) \
34828 echo "Doing install-info in $(TARGET_SUBDIR)/libvtv" ; \
34829 for flag in $(EXTRA_TARGET_FLAGS); do \
34830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34831 done; \
34832 (cd $(TARGET_SUBDIR)/libvtv && \
34833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34835 "RANLIB=$${RANLIB}" \
34836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34837 install-info) \
34838 || exit 1
34840 @endif target-libvtv
34842 .PHONY: maybe-install-pdf-target-libvtv install-pdf-target-libvtv
34843 maybe-install-pdf-target-libvtv:
34844 @if target-libvtv
34845 maybe-install-pdf-target-libvtv: install-pdf-target-libvtv
34847 install-pdf-target-libvtv: \
34848 configure-target-libvtv \
34849 pdf-target-libvtv
34850 @: $(MAKE); $(unstage)
34851 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34852 r=`${PWD_COMMAND}`; export r; \
34853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34854 $(RAW_CXX_TARGET_EXPORTS) \
34855 echo "Doing install-pdf in $(TARGET_SUBDIR)/libvtv" ; \
34856 for flag in $(EXTRA_TARGET_FLAGS); do \
34857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34858 done; \
34859 (cd $(TARGET_SUBDIR)/libvtv && \
34860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34862 "RANLIB=$${RANLIB}" \
34863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34864 install-pdf) \
34865 || exit 1
34867 @endif target-libvtv
34869 .PHONY: maybe-install-html-target-libvtv install-html-target-libvtv
34870 maybe-install-html-target-libvtv:
34871 @if target-libvtv
34872 maybe-install-html-target-libvtv: install-html-target-libvtv
34874 install-html-target-libvtv: \
34875 configure-target-libvtv \
34876 html-target-libvtv
34877 @: $(MAKE); $(unstage)
34878 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34879 r=`${PWD_COMMAND}`; export r; \
34880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34881 $(RAW_CXX_TARGET_EXPORTS) \
34882 echo "Doing install-html in $(TARGET_SUBDIR)/libvtv" ; \
34883 for flag in $(EXTRA_TARGET_FLAGS); do \
34884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34885 done; \
34886 (cd $(TARGET_SUBDIR)/libvtv && \
34887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34889 "RANLIB=$${RANLIB}" \
34890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34891 install-html) \
34892 || exit 1
34894 @endif target-libvtv
34896 .PHONY: maybe-installcheck-target-libvtv installcheck-target-libvtv
34897 maybe-installcheck-target-libvtv:
34898 @if target-libvtv
34899 maybe-installcheck-target-libvtv: installcheck-target-libvtv
34901 installcheck-target-libvtv: \
34902 configure-target-libvtv
34903 @: $(MAKE); $(unstage)
34904 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34905 r=`${PWD_COMMAND}`; export r; \
34906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34907 $(RAW_CXX_TARGET_EXPORTS) \
34908 echo "Doing installcheck in $(TARGET_SUBDIR)/libvtv" ; \
34909 for flag in $(EXTRA_TARGET_FLAGS); do \
34910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34911 done; \
34912 (cd $(TARGET_SUBDIR)/libvtv && \
34913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34915 "RANLIB=$${RANLIB}" \
34916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34917 installcheck) \
34918 || exit 1
34920 @endif target-libvtv
34922 .PHONY: maybe-mostlyclean-target-libvtv mostlyclean-target-libvtv
34923 maybe-mostlyclean-target-libvtv:
34924 @if target-libvtv
34925 maybe-mostlyclean-target-libvtv: mostlyclean-target-libvtv
34927 mostlyclean-target-libvtv:
34928 @: $(MAKE); $(unstage)
34929 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34930 r=`${PWD_COMMAND}`; export r; \
34931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34932 $(RAW_CXX_TARGET_EXPORTS) \
34933 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libvtv" ; \
34934 for flag in $(EXTRA_TARGET_FLAGS); do \
34935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34936 done; \
34937 (cd $(TARGET_SUBDIR)/libvtv && \
34938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34940 "RANLIB=$${RANLIB}" \
34941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34942 mostlyclean) \
34943 || exit 1
34945 @endif target-libvtv
34947 .PHONY: maybe-clean-target-libvtv clean-target-libvtv
34948 maybe-clean-target-libvtv:
34949 @if target-libvtv
34950 maybe-clean-target-libvtv: clean-target-libvtv
34952 clean-target-libvtv:
34953 @: $(MAKE); $(unstage)
34954 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34955 r=`${PWD_COMMAND}`; export r; \
34956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34957 $(RAW_CXX_TARGET_EXPORTS) \
34958 echo "Doing clean in $(TARGET_SUBDIR)/libvtv" ; \
34959 for flag in $(EXTRA_TARGET_FLAGS); do \
34960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34961 done; \
34962 (cd $(TARGET_SUBDIR)/libvtv && \
34963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34965 "RANLIB=$${RANLIB}" \
34966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34967 clean) \
34968 || exit 1
34970 @endif target-libvtv
34972 .PHONY: maybe-distclean-target-libvtv distclean-target-libvtv
34973 maybe-distclean-target-libvtv:
34974 @if target-libvtv
34975 maybe-distclean-target-libvtv: distclean-target-libvtv
34977 distclean-target-libvtv:
34978 @: $(MAKE); $(unstage)
34979 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34980 r=`${PWD_COMMAND}`; export r; \
34981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34982 $(RAW_CXX_TARGET_EXPORTS) \
34983 echo "Doing distclean in $(TARGET_SUBDIR)/libvtv" ; \
34984 for flag in $(EXTRA_TARGET_FLAGS); do \
34985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34986 done; \
34987 (cd $(TARGET_SUBDIR)/libvtv && \
34988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34990 "RANLIB=$${RANLIB}" \
34991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34992 distclean) \
34993 || exit 1
34995 @endif target-libvtv
34997 .PHONY: maybe-maintainer-clean-target-libvtv maintainer-clean-target-libvtv
34998 maybe-maintainer-clean-target-libvtv:
34999 @if target-libvtv
35000 maybe-maintainer-clean-target-libvtv: maintainer-clean-target-libvtv
35002 maintainer-clean-target-libvtv:
35003 @: $(MAKE); $(unstage)
35004 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
35005 r=`${PWD_COMMAND}`; export r; \
35006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35007 $(RAW_CXX_TARGET_EXPORTS) \
35008 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libvtv" ; \
35009 for flag in $(EXTRA_TARGET_FLAGS); do \
35010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35011 done; \
35012 (cd $(TARGET_SUBDIR)/libvtv && \
35013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35015 "RANLIB=$${RANLIB}" \
35016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35017 maintainer-clean) \
35018 || exit 1
35020 @endif target-libvtv
35026 .PHONY: configure-target-libcilkrts maybe-configure-target-libcilkrts
35027 maybe-configure-target-libcilkrts:
35028 @if gcc-bootstrap
35029 configure-target-libcilkrts: stage_current
35030 @endif gcc-bootstrap
35031 @if target-libcilkrts
35032 maybe-configure-target-libcilkrts: configure-target-libcilkrts
35033 configure-target-libcilkrts:
35034 @: $(MAKE); $(unstage)
35035 @r=`${PWD_COMMAND}`; export r; \
35036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35037 echo "Checking multilib configuration for libcilkrts..."; \
35038 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libcilkrts ; \
35039 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libcilkrts/multilib.tmp 2> /dev/null ; \
35040 if test -r $(TARGET_SUBDIR)/libcilkrts/multilib.out; then \
35041 if cmp -s $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; then \
35042 rm -f $(TARGET_SUBDIR)/libcilkrts/multilib.tmp; \
35043 else \
35044 rm -f $(TARGET_SUBDIR)/libcilkrts/Makefile; \
35045 mv $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; \
35046 fi; \
35047 else \
35048 mv $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; \
35049 fi; \
35050 test ! -f $(TARGET_SUBDIR)/libcilkrts/Makefile || exit 0; \
35051 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libcilkrts ; \
35052 $(NORMAL_TARGET_EXPORTS) \
35053 echo Configuring in $(TARGET_SUBDIR)/libcilkrts; \
35054 cd "$(TARGET_SUBDIR)/libcilkrts" || exit 1; \
35055 case $(srcdir) in \
35056 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35057 *) topdir=`echo $(TARGET_SUBDIR)/libcilkrts/ | \
35058 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35059 esac; \
35060 srcdiroption="--srcdir=$${topdir}/libcilkrts"; \
35061 libsrcdir="$$s/libcilkrts"; \
35062 rm -f no-such-file || : ; \
35063 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35064 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35065 --target=${target_alias} $${srcdiroption} \
35066 || exit 1
35067 @endif target-libcilkrts
35073 .PHONY: all-target-libcilkrts maybe-all-target-libcilkrts
35074 maybe-all-target-libcilkrts:
35075 @if gcc-bootstrap
35076 all-target-libcilkrts: stage_current
35077 @endif gcc-bootstrap
35078 @if target-libcilkrts
35079 TARGET-target-libcilkrts=all
35080 maybe-all-target-libcilkrts: all-target-libcilkrts
35081 all-target-libcilkrts: configure-target-libcilkrts
35082 @: $(MAKE); $(unstage)
35083 @r=`${PWD_COMMAND}`; export r; \
35084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35085 $(NORMAL_TARGET_EXPORTS) \
35086 (cd $(TARGET_SUBDIR)/libcilkrts && \
35087 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
35088 $(TARGET-target-libcilkrts))
35089 @endif target-libcilkrts
35095 .PHONY: check-target-libcilkrts maybe-check-target-libcilkrts
35096 maybe-check-target-libcilkrts:
35097 @if target-libcilkrts
35098 maybe-check-target-libcilkrts: check-target-libcilkrts
35100 check-target-libcilkrts:
35101 @: $(MAKE); $(unstage)
35102 @r=`${PWD_COMMAND}`; export r; \
35103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35104 $(NORMAL_TARGET_EXPORTS) \
35105 (cd $(TARGET_SUBDIR)/libcilkrts && \
35106 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
35108 @endif target-libcilkrts
35110 .PHONY: install-target-libcilkrts maybe-install-target-libcilkrts
35111 maybe-install-target-libcilkrts:
35112 @if target-libcilkrts
35113 maybe-install-target-libcilkrts: install-target-libcilkrts
35115 install-target-libcilkrts: installdirs
35116 @: $(MAKE); $(unstage)
35117 @r=`${PWD_COMMAND}`; export r; \
35118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35119 $(NORMAL_TARGET_EXPORTS) \
35120 (cd $(TARGET_SUBDIR)/libcilkrts && \
35121 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35123 @endif target-libcilkrts
35125 .PHONY: install-strip-target-libcilkrts maybe-install-strip-target-libcilkrts
35126 maybe-install-strip-target-libcilkrts:
35127 @if target-libcilkrts
35128 maybe-install-strip-target-libcilkrts: install-strip-target-libcilkrts
35130 install-strip-target-libcilkrts: installdirs
35131 @: $(MAKE); $(unstage)
35132 @r=`${PWD_COMMAND}`; export r; \
35133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35134 $(NORMAL_TARGET_EXPORTS) \
35135 (cd $(TARGET_SUBDIR)/libcilkrts && \
35136 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
35138 @endif target-libcilkrts
35140 # Other targets (info, dvi, pdf, etc.)
35142 .PHONY: maybe-info-target-libcilkrts info-target-libcilkrts
35143 maybe-info-target-libcilkrts:
35144 @if target-libcilkrts
35145 maybe-info-target-libcilkrts: info-target-libcilkrts
35147 info-target-libcilkrts: \
35148 configure-target-libcilkrts
35149 @: $(MAKE); $(unstage)
35150 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35151 r=`${PWD_COMMAND}`; export r; \
35152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35153 $(NORMAL_TARGET_EXPORTS) \
35154 echo "Doing info in $(TARGET_SUBDIR)/libcilkrts" ; \
35155 for flag in $(EXTRA_TARGET_FLAGS); do \
35156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35157 done; \
35158 (cd $(TARGET_SUBDIR)/libcilkrts && \
35159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35161 "RANLIB=$${RANLIB}" \
35162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35163 info) \
35164 || exit 1
35166 @endif target-libcilkrts
35168 .PHONY: maybe-dvi-target-libcilkrts dvi-target-libcilkrts
35169 maybe-dvi-target-libcilkrts:
35170 @if target-libcilkrts
35171 maybe-dvi-target-libcilkrts: dvi-target-libcilkrts
35173 dvi-target-libcilkrts: \
35174 configure-target-libcilkrts
35175 @: $(MAKE); $(unstage)
35176 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35177 r=`${PWD_COMMAND}`; export r; \
35178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35179 $(NORMAL_TARGET_EXPORTS) \
35180 echo "Doing dvi in $(TARGET_SUBDIR)/libcilkrts" ; \
35181 for flag in $(EXTRA_TARGET_FLAGS); do \
35182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35183 done; \
35184 (cd $(TARGET_SUBDIR)/libcilkrts && \
35185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35187 "RANLIB=$${RANLIB}" \
35188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35189 dvi) \
35190 || exit 1
35192 @endif target-libcilkrts
35194 .PHONY: maybe-pdf-target-libcilkrts pdf-target-libcilkrts
35195 maybe-pdf-target-libcilkrts:
35196 @if target-libcilkrts
35197 maybe-pdf-target-libcilkrts: pdf-target-libcilkrts
35199 pdf-target-libcilkrts: \
35200 configure-target-libcilkrts
35201 @: $(MAKE); $(unstage)
35202 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35203 r=`${PWD_COMMAND}`; export r; \
35204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35205 $(NORMAL_TARGET_EXPORTS) \
35206 echo "Doing pdf in $(TARGET_SUBDIR)/libcilkrts" ; \
35207 for flag in $(EXTRA_TARGET_FLAGS); do \
35208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35209 done; \
35210 (cd $(TARGET_SUBDIR)/libcilkrts && \
35211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35213 "RANLIB=$${RANLIB}" \
35214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35215 pdf) \
35216 || exit 1
35218 @endif target-libcilkrts
35220 .PHONY: maybe-html-target-libcilkrts html-target-libcilkrts
35221 maybe-html-target-libcilkrts:
35222 @if target-libcilkrts
35223 maybe-html-target-libcilkrts: html-target-libcilkrts
35225 html-target-libcilkrts: \
35226 configure-target-libcilkrts
35227 @: $(MAKE); $(unstage)
35228 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35229 r=`${PWD_COMMAND}`; export r; \
35230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35231 $(NORMAL_TARGET_EXPORTS) \
35232 echo "Doing html in $(TARGET_SUBDIR)/libcilkrts" ; \
35233 for flag in $(EXTRA_TARGET_FLAGS); do \
35234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35235 done; \
35236 (cd $(TARGET_SUBDIR)/libcilkrts && \
35237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35239 "RANLIB=$${RANLIB}" \
35240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35241 html) \
35242 || exit 1
35244 @endif target-libcilkrts
35246 .PHONY: maybe-TAGS-target-libcilkrts TAGS-target-libcilkrts
35247 maybe-TAGS-target-libcilkrts:
35248 @if target-libcilkrts
35249 maybe-TAGS-target-libcilkrts: TAGS-target-libcilkrts
35251 TAGS-target-libcilkrts: \
35252 configure-target-libcilkrts
35253 @: $(MAKE); $(unstage)
35254 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35255 r=`${PWD_COMMAND}`; export r; \
35256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35257 $(NORMAL_TARGET_EXPORTS) \
35258 echo "Doing TAGS in $(TARGET_SUBDIR)/libcilkrts" ; \
35259 for flag in $(EXTRA_TARGET_FLAGS); do \
35260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35261 done; \
35262 (cd $(TARGET_SUBDIR)/libcilkrts && \
35263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35265 "RANLIB=$${RANLIB}" \
35266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35267 TAGS) \
35268 || exit 1
35270 @endif target-libcilkrts
35272 .PHONY: maybe-install-info-target-libcilkrts install-info-target-libcilkrts
35273 maybe-install-info-target-libcilkrts:
35274 @if target-libcilkrts
35275 maybe-install-info-target-libcilkrts: install-info-target-libcilkrts
35277 install-info-target-libcilkrts: \
35278 configure-target-libcilkrts \
35279 info-target-libcilkrts
35280 @: $(MAKE); $(unstage)
35281 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35282 r=`${PWD_COMMAND}`; export r; \
35283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35284 $(NORMAL_TARGET_EXPORTS) \
35285 echo "Doing install-info in $(TARGET_SUBDIR)/libcilkrts" ; \
35286 for flag in $(EXTRA_TARGET_FLAGS); do \
35287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35288 done; \
35289 (cd $(TARGET_SUBDIR)/libcilkrts && \
35290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35292 "RANLIB=$${RANLIB}" \
35293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35294 install-info) \
35295 || exit 1
35297 @endif target-libcilkrts
35299 .PHONY: maybe-install-pdf-target-libcilkrts install-pdf-target-libcilkrts
35300 maybe-install-pdf-target-libcilkrts:
35301 @if target-libcilkrts
35302 maybe-install-pdf-target-libcilkrts: install-pdf-target-libcilkrts
35304 install-pdf-target-libcilkrts: \
35305 configure-target-libcilkrts \
35306 pdf-target-libcilkrts
35307 @: $(MAKE); $(unstage)
35308 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35309 r=`${PWD_COMMAND}`; export r; \
35310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35311 $(NORMAL_TARGET_EXPORTS) \
35312 echo "Doing install-pdf in $(TARGET_SUBDIR)/libcilkrts" ; \
35313 for flag in $(EXTRA_TARGET_FLAGS); do \
35314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35315 done; \
35316 (cd $(TARGET_SUBDIR)/libcilkrts && \
35317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35319 "RANLIB=$${RANLIB}" \
35320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35321 install-pdf) \
35322 || exit 1
35324 @endif target-libcilkrts
35326 .PHONY: maybe-install-html-target-libcilkrts install-html-target-libcilkrts
35327 maybe-install-html-target-libcilkrts:
35328 @if target-libcilkrts
35329 maybe-install-html-target-libcilkrts: install-html-target-libcilkrts
35331 install-html-target-libcilkrts: \
35332 configure-target-libcilkrts \
35333 html-target-libcilkrts
35334 @: $(MAKE); $(unstage)
35335 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35336 r=`${PWD_COMMAND}`; export r; \
35337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35338 $(NORMAL_TARGET_EXPORTS) \
35339 echo "Doing install-html in $(TARGET_SUBDIR)/libcilkrts" ; \
35340 for flag in $(EXTRA_TARGET_FLAGS); do \
35341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35342 done; \
35343 (cd $(TARGET_SUBDIR)/libcilkrts && \
35344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35346 "RANLIB=$${RANLIB}" \
35347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35348 install-html) \
35349 || exit 1
35351 @endif target-libcilkrts
35353 .PHONY: maybe-installcheck-target-libcilkrts installcheck-target-libcilkrts
35354 maybe-installcheck-target-libcilkrts:
35355 @if target-libcilkrts
35356 maybe-installcheck-target-libcilkrts: installcheck-target-libcilkrts
35358 installcheck-target-libcilkrts: \
35359 configure-target-libcilkrts
35360 @: $(MAKE); $(unstage)
35361 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35362 r=`${PWD_COMMAND}`; export r; \
35363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35364 $(NORMAL_TARGET_EXPORTS) \
35365 echo "Doing installcheck in $(TARGET_SUBDIR)/libcilkrts" ; \
35366 for flag in $(EXTRA_TARGET_FLAGS); do \
35367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35368 done; \
35369 (cd $(TARGET_SUBDIR)/libcilkrts && \
35370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35372 "RANLIB=$${RANLIB}" \
35373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35374 installcheck) \
35375 || exit 1
35377 @endif target-libcilkrts
35379 .PHONY: maybe-mostlyclean-target-libcilkrts mostlyclean-target-libcilkrts
35380 maybe-mostlyclean-target-libcilkrts:
35381 @if target-libcilkrts
35382 maybe-mostlyclean-target-libcilkrts: mostlyclean-target-libcilkrts
35384 mostlyclean-target-libcilkrts:
35385 @: $(MAKE); $(unstage)
35386 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35387 r=`${PWD_COMMAND}`; export r; \
35388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35389 $(NORMAL_TARGET_EXPORTS) \
35390 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libcilkrts" ; \
35391 for flag in $(EXTRA_TARGET_FLAGS); do \
35392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35393 done; \
35394 (cd $(TARGET_SUBDIR)/libcilkrts && \
35395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35397 "RANLIB=$${RANLIB}" \
35398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35399 mostlyclean) \
35400 || exit 1
35402 @endif target-libcilkrts
35404 .PHONY: maybe-clean-target-libcilkrts clean-target-libcilkrts
35405 maybe-clean-target-libcilkrts:
35406 @if target-libcilkrts
35407 maybe-clean-target-libcilkrts: clean-target-libcilkrts
35409 clean-target-libcilkrts:
35410 @: $(MAKE); $(unstage)
35411 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35412 r=`${PWD_COMMAND}`; export r; \
35413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35414 $(NORMAL_TARGET_EXPORTS) \
35415 echo "Doing clean in $(TARGET_SUBDIR)/libcilkrts" ; \
35416 for flag in $(EXTRA_TARGET_FLAGS); do \
35417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35418 done; \
35419 (cd $(TARGET_SUBDIR)/libcilkrts && \
35420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35422 "RANLIB=$${RANLIB}" \
35423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35424 clean) \
35425 || exit 1
35427 @endif target-libcilkrts
35429 .PHONY: maybe-distclean-target-libcilkrts distclean-target-libcilkrts
35430 maybe-distclean-target-libcilkrts:
35431 @if target-libcilkrts
35432 maybe-distclean-target-libcilkrts: distclean-target-libcilkrts
35434 distclean-target-libcilkrts:
35435 @: $(MAKE); $(unstage)
35436 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35437 r=`${PWD_COMMAND}`; export r; \
35438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35439 $(NORMAL_TARGET_EXPORTS) \
35440 echo "Doing distclean in $(TARGET_SUBDIR)/libcilkrts" ; \
35441 for flag in $(EXTRA_TARGET_FLAGS); do \
35442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35443 done; \
35444 (cd $(TARGET_SUBDIR)/libcilkrts && \
35445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35447 "RANLIB=$${RANLIB}" \
35448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35449 distclean) \
35450 || exit 1
35452 @endif target-libcilkrts
35454 .PHONY: maybe-maintainer-clean-target-libcilkrts maintainer-clean-target-libcilkrts
35455 maybe-maintainer-clean-target-libcilkrts:
35456 @if target-libcilkrts
35457 maybe-maintainer-clean-target-libcilkrts: maintainer-clean-target-libcilkrts
35459 maintainer-clean-target-libcilkrts:
35460 @: $(MAKE); $(unstage)
35461 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35462 r=`${PWD_COMMAND}`; export r; \
35463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35464 $(NORMAL_TARGET_EXPORTS) \
35465 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libcilkrts" ; \
35466 for flag in $(EXTRA_TARGET_FLAGS); do \
35467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35468 done; \
35469 (cd $(TARGET_SUBDIR)/libcilkrts && \
35470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35472 "RANLIB=$${RANLIB}" \
35473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35474 maintainer-clean) \
35475 || exit 1
35477 @endif target-libcilkrts
35483 .PHONY: configure-target-libssp maybe-configure-target-libssp
35484 maybe-configure-target-libssp:
35485 @if gcc-bootstrap
35486 configure-target-libssp: stage_current
35487 @endif gcc-bootstrap
35488 @if target-libssp
35489 maybe-configure-target-libssp: configure-target-libssp
35490 configure-target-libssp:
35491 @: $(MAKE); $(unstage)
35492 @r=`${PWD_COMMAND}`; export r; \
35493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35494 echo "Checking multilib configuration for libssp..."; \
35495 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
35496 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libssp/multilib.tmp 2> /dev/null ; \
35497 if test -r $(TARGET_SUBDIR)/libssp/multilib.out; then \
35498 if cmp -s $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; then \
35499 rm -f $(TARGET_SUBDIR)/libssp/multilib.tmp; \
35500 else \
35501 rm -f $(TARGET_SUBDIR)/libssp/Makefile; \
35502 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
35503 fi; \
35504 else \
35505 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
35506 fi; \
35507 test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
35508 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
35509 $(NORMAL_TARGET_EXPORTS) \
35510 echo Configuring in $(TARGET_SUBDIR)/libssp; \
35511 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
35512 case $(srcdir) in \
35513 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35514 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
35515 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35516 esac; \
35517 srcdiroption="--srcdir=$${topdir}/libssp"; \
35518 libsrcdir="$$s/libssp"; \
35519 rm -f no-such-file || : ; \
35520 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35521 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35522 --target=${target_alias} $${srcdiroption} \
35523 || exit 1
35524 @endif target-libssp
35530 .PHONY: all-target-libssp maybe-all-target-libssp
35531 maybe-all-target-libssp:
35532 @if gcc-bootstrap
35533 all-target-libssp: stage_current
35534 @endif gcc-bootstrap
35535 @if target-libssp
35536 TARGET-target-libssp=all
35537 maybe-all-target-libssp: all-target-libssp
35538 all-target-libssp: configure-target-libssp
35539 @: $(MAKE); $(unstage)
35540 @r=`${PWD_COMMAND}`; export r; \
35541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35542 $(NORMAL_TARGET_EXPORTS) \
35543 (cd $(TARGET_SUBDIR)/libssp && \
35544 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
35545 $(TARGET-target-libssp))
35546 @endif target-libssp
35552 .PHONY: check-target-libssp maybe-check-target-libssp
35553 maybe-check-target-libssp:
35554 @if target-libssp
35555 maybe-check-target-libssp: check-target-libssp
35557 check-target-libssp:
35558 @: $(MAKE); $(unstage)
35559 @r=`${PWD_COMMAND}`; export r; \
35560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35561 $(NORMAL_TARGET_EXPORTS) \
35562 (cd $(TARGET_SUBDIR)/libssp && \
35563 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
35565 @endif target-libssp
35567 .PHONY: install-target-libssp maybe-install-target-libssp
35568 maybe-install-target-libssp:
35569 @if target-libssp
35570 maybe-install-target-libssp: install-target-libssp
35572 install-target-libssp: 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)/libssp && \
35578 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35580 @endif target-libssp
35582 .PHONY: install-strip-target-libssp maybe-install-strip-target-libssp
35583 maybe-install-strip-target-libssp:
35584 @if target-libssp
35585 maybe-install-strip-target-libssp: install-strip-target-libssp
35587 install-strip-target-libssp: 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)/libssp && \
35593 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
35595 @endif target-libssp
35597 # Other targets (info, dvi, pdf, etc.)
35599 .PHONY: maybe-info-target-libssp info-target-libssp
35600 maybe-info-target-libssp:
35601 @if target-libssp
35602 maybe-info-target-libssp: info-target-libssp
35604 info-target-libssp: \
35605 configure-target-libssp
35606 @: $(MAKE); $(unstage)
35607 @[ -f $(TARGET_SUBDIR)/libssp/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)/libssp" ; \
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)/libssp && \
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-libssp
35625 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
35626 maybe-dvi-target-libssp:
35627 @if target-libssp
35628 maybe-dvi-target-libssp: dvi-target-libssp
35630 dvi-target-libssp: \
35631 configure-target-libssp
35632 @: $(MAKE); $(unstage)
35633 @[ -f $(TARGET_SUBDIR)/libssp/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)/libssp" ; \
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)/libssp && \
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-libssp
35651 .PHONY: maybe-pdf-target-libssp pdf-target-libssp
35652 maybe-pdf-target-libssp:
35653 @if target-libssp
35654 maybe-pdf-target-libssp: pdf-target-libssp
35656 pdf-target-libssp: \
35657 configure-target-libssp
35658 @: $(MAKE); $(unstage)
35659 @[ -f $(TARGET_SUBDIR)/libssp/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)/libssp" ; \
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)/libssp && \
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-libssp
35677 .PHONY: maybe-html-target-libssp html-target-libssp
35678 maybe-html-target-libssp:
35679 @if target-libssp
35680 maybe-html-target-libssp: html-target-libssp
35682 html-target-libssp: \
35683 configure-target-libssp
35684 @: $(MAKE); $(unstage)
35685 @[ -f $(TARGET_SUBDIR)/libssp/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)/libssp" ; \
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)/libssp && \
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-libssp
35703 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
35704 maybe-TAGS-target-libssp:
35705 @if target-libssp
35706 maybe-TAGS-target-libssp: TAGS-target-libssp
35708 TAGS-target-libssp: \
35709 configure-target-libssp
35710 @: $(MAKE); $(unstage)
35711 @[ -f $(TARGET_SUBDIR)/libssp/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)/libssp" ; \
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)/libssp && \
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-libssp
35729 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
35730 maybe-install-info-target-libssp:
35731 @if target-libssp
35732 maybe-install-info-target-libssp: install-info-target-libssp
35734 install-info-target-libssp: \
35735 configure-target-libssp \
35736 info-target-libssp
35737 @: $(MAKE); $(unstage)
35738 @[ -f $(TARGET_SUBDIR)/libssp/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)/libssp" ; \
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)/libssp && \
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-libssp
35756 .PHONY: maybe-install-pdf-target-libssp install-pdf-target-libssp
35757 maybe-install-pdf-target-libssp:
35758 @if target-libssp
35759 maybe-install-pdf-target-libssp: install-pdf-target-libssp
35761 install-pdf-target-libssp: \
35762 configure-target-libssp \
35763 pdf-target-libssp
35764 @: $(MAKE); $(unstage)
35765 @[ -f $(TARGET_SUBDIR)/libssp/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)/libssp" ; \
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)/libssp && \
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-libssp
35783 .PHONY: maybe-install-html-target-libssp install-html-target-libssp
35784 maybe-install-html-target-libssp:
35785 @if target-libssp
35786 maybe-install-html-target-libssp: install-html-target-libssp
35788 install-html-target-libssp: \
35789 configure-target-libssp \
35790 html-target-libssp
35791 @: $(MAKE); $(unstage)
35792 @[ -f $(TARGET_SUBDIR)/libssp/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)/libssp" ; \
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)/libssp && \
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-libssp
35810 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
35811 maybe-installcheck-target-libssp:
35812 @if target-libssp
35813 maybe-installcheck-target-libssp: installcheck-target-libssp
35815 installcheck-target-libssp: \
35816 configure-target-libssp
35817 @: $(MAKE); $(unstage)
35818 @[ -f $(TARGET_SUBDIR)/libssp/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)/libssp" ; \
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)/libssp && \
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-libssp
35836 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
35837 maybe-mostlyclean-target-libssp:
35838 @if target-libssp
35839 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
35841 mostlyclean-target-libssp:
35842 @: $(MAKE); $(unstage)
35843 @[ -f $(TARGET_SUBDIR)/libssp/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)/libssp" ; \
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)/libssp && \
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-libssp
35861 .PHONY: maybe-clean-target-libssp clean-target-libssp
35862 maybe-clean-target-libssp:
35863 @if target-libssp
35864 maybe-clean-target-libssp: clean-target-libssp
35866 clean-target-libssp:
35867 @: $(MAKE); $(unstage)
35868 @[ -f $(TARGET_SUBDIR)/libssp/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)/libssp" ; \
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)/libssp && \
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-libssp
35886 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
35887 maybe-distclean-target-libssp:
35888 @if target-libssp
35889 maybe-distclean-target-libssp: distclean-target-libssp
35891 distclean-target-libssp:
35892 @: $(MAKE); $(unstage)
35893 @[ -f $(TARGET_SUBDIR)/libssp/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)/libssp" ; \
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)/libssp && \
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-libssp
35911 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
35912 maybe-maintainer-clean-target-libssp:
35913 @if target-libssp
35914 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
35916 maintainer-clean-target-libssp:
35917 @: $(MAKE); $(unstage)
35918 @[ -f $(TARGET_SUBDIR)/libssp/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)/libssp" ; \
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)/libssp && \
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-libssp
35940 .PHONY: configure-target-newlib maybe-configure-target-newlib
35941 maybe-configure-target-newlib:
35942 @if gcc-bootstrap
35943 configure-target-newlib: stage_current
35944 @endif gcc-bootstrap
35945 @if target-newlib
35946 maybe-configure-target-newlib: configure-target-newlib
35947 configure-target-newlib:
35948 @: $(MAKE); $(unstage)
35949 @r=`${PWD_COMMAND}`; export r; \
35950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35951 echo "Checking multilib configuration for newlib..."; \
35952 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
35953 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/newlib/multilib.tmp 2> /dev/null ; \
35954 if test -r $(TARGET_SUBDIR)/newlib/multilib.out; then \
35955 if cmp -s $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; then \
35956 rm -f $(TARGET_SUBDIR)/newlib/multilib.tmp; \
35957 else \
35958 rm -f $(TARGET_SUBDIR)/newlib/Makefile; \
35959 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
35960 fi; \
35961 else \
35962 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
35963 fi; \
35964 test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
35965 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
35966 $(NORMAL_TARGET_EXPORTS) \
35967 echo Configuring in $(TARGET_SUBDIR)/newlib; \
35968 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
35969 case $(srcdir) in \
35970 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35971 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
35972 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35973 esac; \
35974 srcdiroption="--srcdir=$${topdir}/newlib"; \
35975 libsrcdir="$$s/newlib"; \
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-newlib
35987 .PHONY: all-target-newlib maybe-all-target-newlib
35988 maybe-all-target-newlib:
35989 @if gcc-bootstrap
35990 all-target-newlib: stage_current
35991 @endif gcc-bootstrap
35992 @if target-newlib
35993 TARGET-target-newlib=all
35994 maybe-all-target-newlib: all-target-newlib
35995 all-target-newlib: configure-target-newlib
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)/newlib && \
36001 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
36002 $(TARGET-target-newlib))
36003 @endif target-newlib
36009 .PHONY: check-target-newlib maybe-check-target-newlib
36010 maybe-check-target-newlib:
36011 @if target-newlib
36012 maybe-check-target-newlib: check-target-newlib
36014 check-target-newlib:
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)/newlib && \
36020 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
36022 @endif target-newlib
36024 .PHONY: install-target-newlib maybe-install-target-newlib
36025 maybe-install-target-newlib:
36026 @if target-newlib
36027 maybe-install-target-newlib: install-target-newlib
36029 install-target-newlib: 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)/newlib && \
36035 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36037 @endif target-newlib
36039 .PHONY: install-strip-target-newlib maybe-install-strip-target-newlib
36040 maybe-install-strip-target-newlib:
36041 @if target-newlib
36042 maybe-install-strip-target-newlib: install-strip-target-newlib
36044 install-strip-target-newlib: 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)/newlib && \
36050 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
36052 @endif target-newlib
36054 # Other targets (info, dvi, pdf, etc.)
36056 .PHONY: maybe-info-target-newlib info-target-newlib
36057 maybe-info-target-newlib:
36058 @if target-newlib
36059 maybe-info-target-newlib: info-target-newlib
36061 info-target-newlib: \
36062 configure-target-newlib
36063 @: $(MAKE); $(unstage)
36064 @[ -f $(TARGET_SUBDIR)/newlib/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)/newlib" ; \
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)/newlib && \
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-newlib
36082 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
36083 maybe-dvi-target-newlib:
36084 @if target-newlib
36085 maybe-dvi-target-newlib: dvi-target-newlib
36087 dvi-target-newlib: \
36088 configure-target-newlib
36089 @: $(MAKE); $(unstage)
36090 @[ -f $(TARGET_SUBDIR)/newlib/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)/newlib" ; \
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)/newlib && \
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-newlib
36108 .PHONY: maybe-pdf-target-newlib pdf-target-newlib
36109 maybe-pdf-target-newlib:
36110 @if target-newlib
36111 maybe-pdf-target-newlib: pdf-target-newlib
36113 pdf-target-newlib: \
36114 configure-target-newlib
36115 @: $(MAKE); $(unstage)
36116 @[ -f $(TARGET_SUBDIR)/newlib/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)/newlib" ; \
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)/newlib && \
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-newlib
36134 .PHONY: maybe-html-target-newlib html-target-newlib
36135 maybe-html-target-newlib:
36136 @if target-newlib
36137 maybe-html-target-newlib: html-target-newlib
36139 html-target-newlib: \
36140 configure-target-newlib
36141 @: $(MAKE); $(unstage)
36142 @[ -f $(TARGET_SUBDIR)/newlib/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)/newlib" ; \
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)/newlib && \
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-newlib
36160 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
36161 maybe-TAGS-target-newlib:
36162 @if target-newlib
36163 maybe-TAGS-target-newlib: TAGS-target-newlib
36165 TAGS-target-newlib: \
36166 configure-target-newlib
36167 @: $(MAKE); $(unstage)
36168 @[ -f $(TARGET_SUBDIR)/newlib/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)/newlib" ; \
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)/newlib && \
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-newlib
36186 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
36187 maybe-install-info-target-newlib:
36188 @if target-newlib
36189 maybe-install-info-target-newlib: install-info-target-newlib
36191 install-info-target-newlib: \
36192 configure-target-newlib \
36193 info-target-newlib
36194 @: $(MAKE); $(unstage)
36195 @[ -f $(TARGET_SUBDIR)/newlib/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)/newlib" ; \
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)/newlib && \
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-newlib
36213 .PHONY: maybe-install-pdf-target-newlib install-pdf-target-newlib
36214 maybe-install-pdf-target-newlib:
36215 @if target-newlib
36216 maybe-install-pdf-target-newlib: install-pdf-target-newlib
36218 install-pdf-target-newlib: \
36219 configure-target-newlib \
36220 pdf-target-newlib
36221 @: $(MAKE); $(unstage)
36222 @[ -f $(TARGET_SUBDIR)/newlib/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)/newlib" ; \
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)/newlib && \
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-newlib
36240 .PHONY: maybe-install-html-target-newlib install-html-target-newlib
36241 maybe-install-html-target-newlib:
36242 @if target-newlib
36243 maybe-install-html-target-newlib: install-html-target-newlib
36245 install-html-target-newlib: \
36246 configure-target-newlib \
36247 html-target-newlib
36248 @: $(MAKE); $(unstage)
36249 @[ -f $(TARGET_SUBDIR)/newlib/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)/newlib" ; \
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)/newlib && \
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-newlib
36267 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
36268 maybe-installcheck-target-newlib:
36269 @if target-newlib
36270 maybe-installcheck-target-newlib: installcheck-target-newlib
36272 installcheck-target-newlib: \
36273 configure-target-newlib
36274 @: $(MAKE); $(unstage)
36275 @[ -f $(TARGET_SUBDIR)/newlib/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)/newlib" ; \
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)/newlib && \
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-newlib
36293 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
36294 maybe-mostlyclean-target-newlib:
36295 @if target-newlib
36296 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
36298 mostlyclean-target-newlib:
36299 @: $(MAKE); $(unstage)
36300 @[ -f $(TARGET_SUBDIR)/newlib/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)/newlib" ; \
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)/newlib && \
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-newlib
36318 .PHONY: maybe-clean-target-newlib clean-target-newlib
36319 maybe-clean-target-newlib:
36320 @if target-newlib
36321 maybe-clean-target-newlib: clean-target-newlib
36323 clean-target-newlib:
36324 @: $(MAKE); $(unstage)
36325 @[ -f $(TARGET_SUBDIR)/newlib/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)/newlib" ; \
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)/newlib && \
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-newlib
36343 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
36344 maybe-distclean-target-newlib:
36345 @if target-newlib
36346 maybe-distclean-target-newlib: distclean-target-newlib
36348 distclean-target-newlib:
36349 @: $(MAKE); $(unstage)
36350 @[ -f $(TARGET_SUBDIR)/newlib/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)/newlib" ; \
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)/newlib && \
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-newlib
36368 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
36369 maybe-maintainer-clean-target-newlib:
36370 @if target-newlib
36371 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
36373 maintainer-clean-target-newlib:
36374 @: $(MAKE); $(unstage)
36375 @[ -f $(TARGET_SUBDIR)/newlib/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)/newlib" ; \
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)/newlib && \
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-newlib
36397 .PHONY: configure-target-libgcc maybe-configure-target-libgcc
36398 maybe-configure-target-libgcc:
36399 @if gcc-bootstrap
36400 configure-target-libgcc: stage_current
36401 @endif gcc-bootstrap
36402 @if target-libgcc
36403 maybe-configure-target-libgcc: configure-target-libgcc
36404 configure-target-libgcc:
36405 @r=`${PWD_COMMAND}`; export r; \
36406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36407 echo "Checking multilib configuration for libgcc..."; \
36408 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
36409 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
36410 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36411 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36412 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
36413 else \
36414 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
36415 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36416 fi; \
36417 else \
36418 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36419 fi; \
36420 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
36421 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
36422 $(NORMAL_TARGET_EXPORTS) \
36423 echo Configuring in $(TARGET_SUBDIR)/libgcc; \
36424 cd "$(TARGET_SUBDIR)/libgcc" || exit 1; \
36425 case $(srcdir) in \
36426 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36427 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
36428 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36429 esac; \
36430 srcdiroption="--srcdir=$${topdir}/libgcc"; \
36431 libsrcdir="$$s/libgcc"; \
36432 rm -f no-such-file || : ; \
36433 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
36434 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36435 --target=${target_alias} $${srcdiroption} \
36436 || exit 1
36437 @endif target-libgcc
36441 .PHONY: configure-stage1-target-libgcc maybe-configure-stage1-target-libgcc
36442 maybe-configure-stage1-target-libgcc:
36443 @if target-libgcc-bootstrap
36444 maybe-configure-stage1-target-libgcc: configure-stage1-target-libgcc
36445 configure-stage1-target-libgcc:
36446 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
36447 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
36448 @r=`${PWD_COMMAND}`; export r; \
36449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36450 TFLAGS="$(STAGE1_TFLAGS)"; \
36451 echo "Checking multilib configuration for libgcc..."; \
36452 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
36453 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36454 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36455 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
36456 else \
36457 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
36458 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36459 fi; \
36460 else \
36461 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36462 fi; \
36463 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
36464 $(NORMAL_TARGET_EXPORTS) \
36465 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
36466 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
36467 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
36468 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgcc ; \
36469 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
36470 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
36471 case $(srcdir) in \
36472 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36473 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
36474 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36475 esac; \
36476 srcdiroption="--srcdir=$${topdir}/libgcc"; \
36477 libsrcdir="$$s/libgcc"; \
36478 $(SHELL) $${libsrcdir}/configure \
36479 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36480 --target=${target_alias} $${srcdiroption} \
36481 $(STAGE1_CONFIGURE_FLAGS)
36482 @endif target-libgcc-bootstrap
36484 .PHONY: configure-stage2-target-libgcc maybe-configure-stage2-target-libgcc
36485 maybe-configure-stage2-target-libgcc:
36486 @if target-libgcc-bootstrap
36487 maybe-configure-stage2-target-libgcc: configure-stage2-target-libgcc
36488 configure-stage2-target-libgcc:
36489 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
36490 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
36491 @r=`${PWD_COMMAND}`; export r; \
36492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36493 TFLAGS="$(STAGE2_TFLAGS)"; \
36494 echo "Checking multilib configuration for libgcc..."; \
36495 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
36496 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36497 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36498 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
36499 else \
36500 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
36501 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36502 fi; \
36503 else \
36504 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36505 fi; \
36506 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
36507 $(NORMAL_TARGET_EXPORTS) \
36509 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
36510 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
36511 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
36512 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgcc ; \
36513 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
36514 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
36515 case $(srcdir) in \
36516 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36517 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
36518 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36519 esac; \
36520 srcdiroption="--srcdir=$${topdir}/libgcc"; \
36521 libsrcdir="$$s/libgcc"; \
36522 $(SHELL) $${libsrcdir}/configure \
36523 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36524 --target=${target_alias} $${srcdiroption} \
36525 --with-build-libsubdir=$(HOST_SUBDIR) \
36526 $(STAGE2_CONFIGURE_FLAGS)
36527 @endif target-libgcc-bootstrap
36529 .PHONY: configure-stage3-target-libgcc maybe-configure-stage3-target-libgcc
36530 maybe-configure-stage3-target-libgcc:
36531 @if target-libgcc-bootstrap
36532 maybe-configure-stage3-target-libgcc: configure-stage3-target-libgcc
36533 configure-stage3-target-libgcc:
36534 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
36535 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
36536 @r=`${PWD_COMMAND}`; export r; \
36537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36538 TFLAGS="$(STAGE3_TFLAGS)"; \
36539 echo "Checking multilib configuration for libgcc..."; \
36540 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
36541 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36542 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36543 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
36544 else \
36545 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
36546 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36547 fi; \
36548 else \
36549 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36550 fi; \
36551 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
36552 $(NORMAL_TARGET_EXPORTS) \
36554 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
36555 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
36556 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
36557 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgcc ; \
36558 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
36559 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
36560 case $(srcdir) in \
36561 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36562 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
36563 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36564 esac; \
36565 srcdiroption="--srcdir=$${topdir}/libgcc"; \
36566 libsrcdir="$$s/libgcc"; \
36567 $(SHELL) $${libsrcdir}/configure \
36568 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36569 --target=${target_alias} $${srcdiroption} \
36570 --with-build-libsubdir=$(HOST_SUBDIR) \
36571 $(STAGE3_CONFIGURE_FLAGS)
36572 @endif target-libgcc-bootstrap
36574 .PHONY: configure-stage4-target-libgcc maybe-configure-stage4-target-libgcc
36575 maybe-configure-stage4-target-libgcc:
36576 @if target-libgcc-bootstrap
36577 maybe-configure-stage4-target-libgcc: configure-stage4-target-libgcc
36578 configure-stage4-target-libgcc:
36579 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
36580 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
36581 @r=`${PWD_COMMAND}`; export r; \
36582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36583 TFLAGS="$(STAGE4_TFLAGS)"; \
36584 echo "Checking multilib configuration for libgcc..."; \
36585 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
36586 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36587 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36588 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
36589 else \
36590 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
36591 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36592 fi; \
36593 else \
36594 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36595 fi; \
36596 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
36597 $(NORMAL_TARGET_EXPORTS) \
36599 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
36600 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
36601 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
36602 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgcc ; \
36603 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
36604 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
36605 case $(srcdir) in \
36606 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36607 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
36608 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36609 esac; \
36610 srcdiroption="--srcdir=$${topdir}/libgcc"; \
36611 libsrcdir="$$s/libgcc"; \
36612 $(SHELL) $${libsrcdir}/configure \
36613 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36614 --target=${target_alias} $${srcdiroption} \
36615 --with-build-libsubdir=$(HOST_SUBDIR) \
36616 $(STAGE4_CONFIGURE_FLAGS)
36617 @endif target-libgcc-bootstrap
36619 .PHONY: configure-stageprofile-target-libgcc maybe-configure-stageprofile-target-libgcc
36620 maybe-configure-stageprofile-target-libgcc:
36621 @if target-libgcc-bootstrap
36622 maybe-configure-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
36623 configure-stageprofile-target-libgcc:
36624 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
36625 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
36626 @r=`${PWD_COMMAND}`; export r; \
36627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36628 TFLAGS="$(STAGEprofile_TFLAGS)"; \
36629 echo "Checking multilib configuration for libgcc..."; \
36630 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
36631 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36632 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36633 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
36634 else \
36635 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
36636 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36637 fi; \
36638 else \
36639 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36640 fi; \
36641 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
36642 $(NORMAL_TARGET_EXPORTS) \
36644 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
36645 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
36646 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
36647 echo Configuring stage profile in $(TARGET_SUBDIR)/libgcc ; \
36648 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
36649 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
36650 case $(srcdir) in \
36651 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36652 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
36653 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36654 esac; \
36655 srcdiroption="--srcdir=$${topdir}/libgcc"; \
36656 libsrcdir="$$s/libgcc"; \
36657 $(SHELL) $${libsrcdir}/configure \
36658 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36659 --target=${target_alias} $${srcdiroption} \
36660 --with-build-libsubdir=$(HOST_SUBDIR) \
36661 $(STAGEprofile_CONFIGURE_FLAGS)
36662 @endif target-libgcc-bootstrap
36664 .PHONY: configure-stagefeedback-target-libgcc maybe-configure-stagefeedback-target-libgcc
36665 maybe-configure-stagefeedback-target-libgcc:
36666 @if target-libgcc-bootstrap
36667 maybe-configure-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
36668 configure-stagefeedback-target-libgcc:
36669 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
36670 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
36671 @r=`${PWD_COMMAND}`; export r; \
36672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36673 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
36674 echo "Checking multilib configuration for libgcc..."; \
36675 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
36676 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36677 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36678 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
36679 else \
36680 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
36681 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36682 fi; \
36683 else \
36684 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36685 fi; \
36686 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
36687 $(NORMAL_TARGET_EXPORTS) \
36689 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
36690 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
36691 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
36692 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgcc ; \
36693 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
36694 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
36695 case $(srcdir) in \
36696 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36697 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
36698 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36699 esac; \
36700 srcdiroption="--srcdir=$${topdir}/libgcc"; \
36701 libsrcdir="$$s/libgcc"; \
36702 $(SHELL) $${libsrcdir}/configure \
36703 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36704 --target=${target_alias} $${srcdiroption} \
36705 --with-build-libsubdir=$(HOST_SUBDIR) \
36706 $(STAGEfeedback_CONFIGURE_FLAGS)
36707 @endif target-libgcc-bootstrap
36713 .PHONY: all-target-libgcc maybe-all-target-libgcc
36714 maybe-all-target-libgcc:
36715 @if gcc-bootstrap
36716 all-target-libgcc: stage_current
36717 @endif gcc-bootstrap
36718 @if target-libgcc
36719 TARGET-target-libgcc=all
36720 maybe-all-target-libgcc: all-target-libgcc
36721 all-target-libgcc: configure-target-libgcc
36722 @r=`${PWD_COMMAND}`; export r; \
36723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36724 $(NORMAL_TARGET_EXPORTS) \
36725 (cd $(TARGET_SUBDIR)/libgcc && \
36726 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
36727 $(TARGET-target-libgcc))
36728 @endif target-libgcc
36732 .PHONY: all-stage1-target-libgcc maybe-all-stage1-target-libgcc
36733 .PHONY: clean-stage1-target-libgcc maybe-clean-stage1-target-libgcc
36734 maybe-all-stage1-target-libgcc:
36735 maybe-clean-stage1-target-libgcc:
36736 @if target-libgcc-bootstrap
36737 maybe-all-stage1-target-libgcc: all-stage1-target-libgcc
36738 all-stage1: all-stage1-target-libgcc
36739 TARGET-stage1-target-libgcc = $(TARGET-target-libgcc)
36740 all-stage1-target-libgcc: configure-stage1-target-libgcc
36741 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
36742 @r=`${PWD_COMMAND}`; export r; \
36743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36744 TFLAGS="$(STAGE1_TFLAGS)"; \
36745 $(NORMAL_TARGET_EXPORTS) \
36746 cd $(TARGET_SUBDIR)/libgcc && \
36747 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36748 CFLAGS="$(CFLAGS_FOR_TARGET)" \
36749 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
36750 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
36751 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36752 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36753 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36754 $(EXTRA_TARGET_FLAGS) \
36756 TFLAGS="$(STAGE1_TFLAGS)" \
36757 $(TARGET-stage1-target-libgcc)
36759 maybe-clean-stage1-target-libgcc: clean-stage1-target-libgcc
36760 clean-stage1: clean-stage1-target-libgcc
36761 clean-stage1-target-libgcc:
36762 @if [ $(current_stage) = stage1 ]; then \
36763 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
36764 else \
36765 [ -f $(TARGET_SUBDIR)/stage1-libgcc/Makefile ] || exit 0; \
36766 $(MAKE) stage1-start; \
36767 fi; \
36768 cd $(TARGET_SUBDIR)/libgcc && \
36769 $(MAKE) $(EXTRA_TARGET_FLAGS) \
36770 clean
36771 @endif target-libgcc-bootstrap
36774 .PHONY: all-stage2-target-libgcc maybe-all-stage2-target-libgcc
36775 .PHONY: clean-stage2-target-libgcc maybe-clean-stage2-target-libgcc
36776 maybe-all-stage2-target-libgcc:
36777 maybe-clean-stage2-target-libgcc:
36778 @if target-libgcc-bootstrap
36779 maybe-all-stage2-target-libgcc: all-stage2-target-libgcc
36780 all-stage2: all-stage2-target-libgcc
36781 TARGET-stage2-target-libgcc = $(TARGET-target-libgcc)
36782 all-stage2-target-libgcc: configure-stage2-target-libgcc
36783 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
36784 @r=`${PWD_COMMAND}`; export r; \
36785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36786 TFLAGS="$(STAGE2_TFLAGS)"; \
36787 $(NORMAL_TARGET_EXPORTS) \
36789 cd $(TARGET_SUBDIR)/libgcc && \
36790 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36791 CFLAGS="$(CFLAGS_FOR_TARGET)" \
36792 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
36793 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
36794 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36795 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36796 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36797 $(EXTRA_TARGET_FLAGS) \
36798 TFLAGS="$(STAGE2_TFLAGS)" \
36799 $(TARGET-stage2-target-libgcc)
36801 maybe-clean-stage2-target-libgcc: clean-stage2-target-libgcc
36802 clean-stage2: clean-stage2-target-libgcc
36803 clean-stage2-target-libgcc:
36804 @if [ $(current_stage) = stage2 ]; then \
36805 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
36806 else \
36807 [ -f $(TARGET_SUBDIR)/stage2-libgcc/Makefile ] || exit 0; \
36808 $(MAKE) stage2-start; \
36809 fi; \
36810 cd $(TARGET_SUBDIR)/libgcc && \
36811 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
36812 @endif target-libgcc-bootstrap
36815 .PHONY: all-stage3-target-libgcc maybe-all-stage3-target-libgcc
36816 .PHONY: clean-stage3-target-libgcc maybe-clean-stage3-target-libgcc
36817 maybe-all-stage3-target-libgcc:
36818 maybe-clean-stage3-target-libgcc:
36819 @if target-libgcc-bootstrap
36820 maybe-all-stage3-target-libgcc: all-stage3-target-libgcc
36821 all-stage3: all-stage3-target-libgcc
36822 TARGET-stage3-target-libgcc = $(TARGET-target-libgcc)
36823 all-stage3-target-libgcc: configure-stage3-target-libgcc
36824 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
36825 @r=`${PWD_COMMAND}`; export r; \
36826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36827 TFLAGS="$(STAGE3_TFLAGS)"; \
36828 $(NORMAL_TARGET_EXPORTS) \
36830 cd $(TARGET_SUBDIR)/libgcc && \
36831 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36832 CFLAGS="$(CFLAGS_FOR_TARGET)" \
36833 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
36834 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
36835 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36836 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36837 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36838 $(EXTRA_TARGET_FLAGS) \
36839 TFLAGS="$(STAGE3_TFLAGS)" \
36840 $(TARGET-stage3-target-libgcc)
36842 maybe-clean-stage3-target-libgcc: clean-stage3-target-libgcc
36843 clean-stage3: clean-stage3-target-libgcc
36844 clean-stage3-target-libgcc:
36845 @if [ $(current_stage) = stage3 ]; then \
36846 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
36847 else \
36848 [ -f $(TARGET_SUBDIR)/stage3-libgcc/Makefile ] || exit 0; \
36849 $(MAKE) stage3-start; \
36850 fi; \
36851 cd $(TARGET_SUBDIR)/libgcc && \
36852 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
36853 @endif target-libgcc-bootstrap
36856 .PHONY: all-stage4-target-libgcc maybe-all-stage4-target-libgcc
36857 .PHONY: clean-stage4-target-libgcc maybe-clean-stage4-target-libgcc
36858 maybe-all-stage4-target-libgcc:
36859 maybe-clean-stage4-target-libgcc:
36860 @if target-libgcc-bootstrap
36861 maybe-all-stage4-target-libgcc: all-stage4-target-libgcc
36862 all-stage4: all-stage4-target-libgcc
36863 TARGET-stage4-target-libgcc = $(TARGET-target-libgcc)
36864 all-stage4-target-libgcc: configure-stage4-target-libgcc
36865 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
36866 @r=`${PWD_COMMAND}`; export r; \
36867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36868 TFLAGS="$(STAGE4_TFLAGS)"; \
36869 $(NORMAL_TARGET_EXPORTS) \
36871 cd $(TARGET_SUBDIR)/libgcc && \
36872 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36873 CFLAGS="$(CFLAGS_FOR_TARGET)" \
36874 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
36875 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
36876 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36877 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36878 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36879 $(EXTRA_TARGET_FLAGS) \
36880 TFLAGS="$(STAGE4_TFLAGS)" \
36881 $(TARGET-stage4-target-libgcc)
36883 maybe-clean-stage4-target-libgcc: clean-stage4-target-libgcc
36884 clean-stage4: clean-stage4-target-libgcc
36885 clean-stage4-target-libgcc:
36886 @if [ $(current_stage) = stage4 ]; then \
36887 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
36888 else \
36889 [ -f $(TARGET_SUBDIR)/stage4-libgcc/Makefile ] || exit 0; \
36890 $(MAKE) stage4-start; \
36891 fi; \
36892 cd $(TARGET_SUBDIR)/libgcc && \
36893 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
36894 @endif target-libgcc-bootstrap
36897 .PHONY: all-stageprofile-target-libgcc maybe-all-stageprofile-target-libgcc
36898 .PHONY: clean-stageprofile-target-libgcc maybe-clean-stageprofile-target-libgcc
36899 maybe-all-stageprofile-target-libgcc:
36900 maybe-clean-stageprofile-target-libgcc:
36901 @if target-libgcc-bootstrap
36902 maybe-all-stageprofile-target-libgcc: all-stageprofile-target-libgcc
36903 all-stageprofile: all-stageprofile-target-libgcc
36904 TARGET-stageprofile-target-libgcc = $(TARGET-target-libgcc)
36905 all-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
36906 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
36907 @r=`${PWD_COMMAND}`; export r; \
36908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36909 TFLAGS="$(STAGEprofile_TFLAGS)"; \
36910 $(NORMAL_TARGET_EXPORTS) \
36912 cd $(TARGET_SUBDIR)/libgcc && \
36913 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36914 CFLAGS="$(CFLAGS_FOR_TARGET)" \
36915 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
36916 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
36917 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36918 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36919 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36920 $(EXTRA_TARGET_FLAGS) \
36921 TFLAGS="$(STAGEprofile_TFLAGS)" \
36922 $(TARGET-stageprofile-target-libgcc)
36924 maybe-clean-stageprofile-target-libgcc: clean-stageprofile-target-libgcc
36925 clean-stageprofile: clean-stageprofile-target-libgcc
36926 clean-stageprofile-target-libgcc:
36927 @if [ $(current_stage) = stageprofile ]; then \
36928 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
36929 else \
36930 [ -f $(TARGET_SUBDIR)/stageprofile-libgcc/Makefile ] || exit 0; \
36931 $(MAKE) stageprofile-start; \
36932 fi; \
36933 cd $(TARGET_SUBDIR)/libgcc && \
36934 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
36935 @endif target-libgcc-bootstrap
36938 .PHONY: all-stagefeedback-target-libgcc maybe-all-stagefeedback-target-libgcc
36939 .PHONY: clean-stagefeedback-target-libgcc maybe-clean-stagefeedback-target-libgcc
36940 maybe-all-stagefeedback-target-libgcc:
36941 maybe-clean-stagefeedback-target-libgcc:
36942 @if target-libgcc-bootstrap
36943 maybe-all-stagefeedback-target-libgcc: all-stagefeedback-target-libgcc
36944 all-stagefeedback: all-stagefeedback-target-libgcc
36945 TARGET-stagefeedback-target-libgcc = $(TARGET-target-libgcc)
36946 all-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
36947 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
36948 @r=`${PWD_COMMAND}`; export r; \
36949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36950 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
36951 $(NORMAL_TARGET_EXPORTS) \
36953 cd $(TARGET_SUBDIR)/libgcc && \
36954 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36955 CFLAGS="$(CFLAGS_FOR_TARGET)" \
36956 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
36957 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
36958 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36959 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36960 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36961 $(EXTRA_TARGET_FLAGS) \
36962 TFLAGS="$(STAGEfeedback_TFLAGS)" \
36963 $(TARGET-stagefeedback-target-libgcc)
36965 maybe-clean-stagefeedback-target-libgcc: clean-stagefeedback-target-libgcc
36966 clean-stagefeedback: clean-stagefeedback-target-libgcc
36967 clean-stagefeedback-target-libgcc:
36968 @if [ $(current_stage) = stagefeedback ]; then \
36969 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
36970 else \
36971 [ -f $(TARGET_SUBDIR)/stagefeedback-libgcc/Makefile ] || exit 0; \
36972 $(MAKE) stagefeedback-start; \
36973 fi; \
36974 cd $(TARGET_SUBDIR)/libgcc && \
36975 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
36976 @endif target-libgcc-bootstrap
36983 .PHONY: check-target-libgcc maybe-check-target-libgcc
36984 maybe-check-target-libgcc:
36985 @if target-libgcc
36986 maybe-check-target-libgcc: check-target-libgcc
36988 # Dummy target for uncheckable module.
36989 check-target-libgcc:
36991 @endif target-libgcc
36993 .PHONY: install-target-libgcc maybe-install-target-libgcc
36994 maybe-install-target-libgcc:
36995 @if target-libgcc
36996 maybe-install-target-libgcc: install-target-libgcc
36998 install-target-libgcc: installdirs
36999 @: $(MAKE); $(unstage)
37000 @r=`${PWD_COMMAND}`; export r; \
37001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37002 $(NORMAL_TARGET_EXPORTS) \
37003 (cd $(TARGET_SUBDIR)/libgcc && \
37004 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37006 @endif target-libgcc
37008 .PHONY: install-strip-target-libgcc maybe-install-strip-target-libgcc
37009 maybe-install-strip-target-libgcc:
37010 @if target-libgcc
37011 maybe-install-strip-target-libgcc: install-strip-target-libgcc
37013 install-strip-target-libgcc: installdirs
37014 @: $(MAKE); $(unstage)
37015 @r=`${PWD_COMMAND}`; export r; \
37016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37017 $(NORMAL_TARGET_EXPORTS) \
37018 (cd $(TARGET_SUBDIR)/libgcc && \
37019 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
37021 @endif target-libgcc
37023 # Other targets (info, dvi, pdf, etc.)
37025 .PHONY: maybe-info-target-libgcc info-target-libgcc
37026 maybe-info-target-libgcc:
37027 @if target-libgcc
37028 maybe-info-target-libgcc: info-target-libgcc
37030 info-target-libgcc: \
37031 configure-target-libgcc
37032 @: $(MAKE); $(unstage)
37033 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37034 r=`${PWD_COMMAND}`; export r; \
37035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37036 $(NORMAL_TARGET_EXPORTS) \
37037 echo "Doing info in $(TARGET_SUBDIR)/libgcc" ; \
37038 for flag in $(EXTRA_TARGET_FLAGS); do \
37039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37040 done; \
37041 (cd $(TARGET_SUBDIR)/libgcc && \
37042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37044 "RANLIB=$${RANLIB}" \
37045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37046 info) \
37047 || exit 1
37049 @endif target-libgcc
37051 .PHONY: maybe-dvi-target-libgcc dvi-target-libgcc
37052 maybe-dvi-target-libgcc:
37053 @if target-libgcc
37054 maybe-dvi-target-libgcc: dvi-target-libgcc
37056 dvi-target-libgcc: \
37057 configure-target-libgcc
37058 @: $(MAKE); $(unstage)
37059 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37060 r=`${PWD_COMMAND}`; export r; \
37061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37062 $(NORMAL_TARGET_EXPORTS) \
37063 echo "Doing dvi in $(TARGET_SUBDIR)/libgcc" ; \
37064 for flag in $(EXTRA_TARGET_FLAGS); do \
37065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37066 done; \
37067 (cd $(TARGET_SUBDIR)/libgcc && \
37068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37070 "RANLIB=$${RANLIB}" \
37071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37072 dvi) \
37073 || exit 1
37075 @endif target-libgcc
37077 .PHONY: maybe-pdf-target-libgcc pdf-target-libgcc
37078 maybe-pdf-target-libgcc:
37079 @if target-libgcc
37080 maybe-pdf-target-libgcc: pdf-target-libgcc
37082 pdf-target-libgcc: \
37083 configure-target-libgcc
37084 @: $(MAKE); $(unstage)
37085 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37086 r=`${PWD_COMMAND}`; export r; \
37087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37088 $(NORMAL_TARGET_EXPORTS) \
37089 echo "Doing pdf in $(TARGET_SUBDIR)/libgcc" ; \
37090 for flag in $(EXTRA_TARGET_FLAGS); do \
37091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37092 done; \
37093 (cd $(TARGET_SUBDIR)/libgcc && \
37094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37096 "RANLIB=$${RANLIB}" \
37097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37098 pdf) \
37099 || exit 1
37101 @endif target-libgcc
37103 .PHONY: maybe-html-target-libgcc html-target-libgcc
37104 maybe-html-target-libgcc:
37105 @if target-libgcc
37106 maybe-html-target-libgcc: html-target-libgcc
37108 html-target-libgcc: \
37109 configure-target-libgcc
37110 @: $(MAKE); $(unstage)
37111 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37112 r=`${PWD_COMMAND}`; export r; \
37113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37114 $(NORMAL_TARGET_EXPORTS) \
37115 echo "Doing html in $(TARGET_SUBDIR)/libgcc" ; \
37116 for flag in $(EXTRA_TARGET_FLAGS); do \
37117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37118 done; \
37119 (cd $(TARGET_SUBDIR)/libgcc && \
37120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37122 "RANLIB=$${RANLIB}" \
37123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37124 html) \
37125 || exit 1
37127 @endif target-libgcc
37129 .PHONY: maybe-TAGS-target-libgcc TAGS-target-libgcc
37130 maybe-TAGS-target-libgcc:
37131 @if target-libgcc
37132 maybe-TAGS-target-libgcc: TAGS-target-libgcc
37134 TAGS-target-libgcc: \
37135 configure-target-libgcc
37136 @: $(MAKE); $(unstage)
37137 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37138 r=`${PWD_COMMAND}`; export r; \
37139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37140 $(NORMAL_TARGET_EXPORTS) \
37141 echo "Doing TAGS in $(TARGET_SUBDIR)/libgcc" ; \
37142 for flag in $(EXTRA_TARGET_FLAGS); do \
37143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37144 done; \
37145 (cd $(TARGET_SUBDIR)/libgcc && \
37146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37148 "RANLIB=$${RANLIB}" \
37149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37150 TAGS) \
37151 || exit 1
37153 @endif target-libgcc
37155 .PHONY: maybe-install-info-target-libgcc install-info-target-libgcc
37156 maybe-install-info-target-libgcc:
37157 @if target-libgcc
37158 maybe-install-info-target-libgcc: install-info-target-libgcc
37160 install-info-target-libgcc: \
37161 configure-target-libgcc \
37162 info-target-libgcc
37163 @: $(MAKE); $(unstage)
37164 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37165 r=`${PWD_COMMAND}`; export r; \
37166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37167 $(NORMAL_TARGET_EXPORTS) \
37168 echo "Doing install-info in $(TARGET_SUBDIR)/libgcc" ; \
37169 for flag in $(EXTRA_TARGET_FLAGS); do \
37170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37171 done; \
37172 (cd $(TARGET_SUBDIR)/libgcc && \
37173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37175 "RANLIB=$${RANLIB}" \
37176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37177 install-info) \
37178 || exit 1
37180 @endif target-libgcc
37182 .PHONY: maybe-install-pdf-target-libgcc install-pdf-target-libgcc
37183 maybe-install-pdf-target-libgcc:
37184 @if target-libgcc
37185 maybe-install-pdf-target-libgcc: install-pdf-target-libgcc
37187 install-pdf-target-libgcc: \
37188 configure-target-libgcc \
37189 pdf-target-libgcc
37190 @: $(MAKE); $(unstage)
37191 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37192 r=`${PWD_COMMAND}`; export r; \
37193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37194 $(NORMAL_TARGET_EXPORTS) \
37195 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgcc" ; \
37196 for flag in $(EXTRA_TARGET_FLAGS); do \
37197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37198 done; \
37199 (cd $(TARGET_SUBDIR)/libgcc && \
37200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37202 "RANLIB=$${RANLIB}" \
37203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37204 install-pdf) \
37205 || exit 1
37207 @endif target-libgcc
37209 .PHONY: maybe-install-html-target-libgcc install-html-target-libgcc
37210 maybe-install-html-target-libgcc:
37211 @if target-libgcc
37212 maybe-install-html-target-libgcc: install-html-target-libgcc
37214 install-html-target-libgcc: \
37215 configure-target-libgcc \
37216 html-target-libgcc
37217 @: $(MAKE); $(unstage)
37218 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37219 r=`${PWD_COMMAND}`; export r; \
37220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37221 $(NORMAL_TARGET_EXPORTS) \
37222 echo "Doing install-html in $(TARGET_SUBDIR)/libgcc" ; \
37223 for flag in $(EXTRA_TARGET_FLAGS); do \
37224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37225 done; \
37226 (cd $(TARGET_SUBDIR)/libgcc && \
37227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37229 "RANLIB=$${RANLIB}" \
37230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37231 install-html) \
37232 || exit 1
37234 @endif target-libgcc
37236 .PHONY: maybe-installcheck-target-libgcc installcheck-target-libgcc
37237 maybe-installcheck-target-libgcc:
37238 @if target-libgcc
37239 maybe-installcheck-target-libgcc: installcheck-target-libgcc
37241 installcheck-target-libgcc: \
37242 configure-target-libgcc
37243 @: $(MAKE); $(unstage)
37244 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37245 r=`${PWD_COMMAND}`; export r; \
37246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37247 $(NORMAL_TARGET_EXPORTS) \
37248 echo "Doing installcheck in $(TARGET_SUBDIR)/libgcc" ; \
37249 for flag in $(EXTRA_TARGET_FLAGS); do \
37250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37251 done; \
37252 (cd $(TARGET_SUBDIR)/libgcc && \
37253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37255 "RANLIB=$${RANLIB}" \
37256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37257 installcheck) \
37258 || exit 1
37260 @endif target-libgcc
37262 .PHONY: maybe-mostlyclean-target-libgcc mostlyclean-target-libgcc
37263 maybe-mostlyclean-target-libgcc:
37264 @if target-libgcc
37265 maybe-mostlyclean-target-libgcc: mostlyclean-target-libgcc
37267 mostlyclean-target-libgcc:
37268 @: $(MAKE); $(unstage)
37269 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37270 r=`${PWD_COMMAND}`; export r; \
37271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37272 $(NORMAL_TARGET_EXPORTS) \
37273 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgcc" ; \
37274 for flag in $(EXTRA_TARGET_FLAGS); do \
37275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37276 done; \
37277 (cd $(TARGET_SUBDIR)/libgcc && \
37278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37280 "RANLIB=$${RANLIB}" \
37281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37282 mostlyclean) \
37283 || exit 1
37285 @endif target-libgcc
37287 .PHONY: maybe-clean-target-libgcc clean-target-libgcc
37288 maybe-clean-target-libgcc:
37289 @if target-libgcc
37290 maybe-clean-target-libgcc: clean-target-libgcc
37292 clean-target-libgcc:
37293 @: $(MAKE); $(unstage)
37294 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37295 r=`${PWD_COMMAND}`; export r; \
37296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37297 $(NORMAL_TARGET_EXPORTS) \
37298 echo "Doing clean in $(TARGET_SUBDIR)/libgcc" ; \
37299 for flag in $(EXTRA_TARGET_FLAGS); do \
37300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37301 done; \
37302 (cd $(TARGET_SUBDIR)/libgcc && \
37303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37305 "RANLIB=$${RANLIB}" \
37306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37307 clean) \
37308 || exit 1
37310 @endif target-libgcc
37312 .PHONY: maybe-distclean-target-libgcc distclean-target-libgcc
37313 maybe-distclean-target-libgcc:
37314 @if target-libgcc
37315 maybe-distclean-target-libgcc: distclean-target-libgcc
37317 distclean-target-libgcc:
37318 @: $(MAKE); $(unstage)
37319 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37320 r=`${PWD_COMMAND}`; export r; \
37321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37322 $(NORMAL_TARGET_EXPORTS) \
37323 echo "Doing distclean in $(TARGET_SUBDIR)/libgcc" ; \
37324 for flag in $(EXTRA_TARGET_FLAGS); do \
37325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37326 done; \
37327 (cd $(TARGET_SUBDIR)/libgcc && \
37328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37330 "RANLIB=$${RANLIB}" \
37331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37332 distclean) \
37333 || exit 1
37335 @endif target-libgcc
37337 .PHONY: maybe-maintainer-clean-target-libgcc maintainer-clean-target-libgcc
37338 maybe-maintainer-clean-target-libgcc:
37339 @if target-libgcc
37340 maybe-maintainer-clean-target-libgcc: maintainer-clean-target-libgcc
37342 maintainer-clean-target-libgcc:
37343 @: $(MAKE); $(unstage)
37344 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37345 r=`${PWD_COMMAND}`; export r; \
37346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37347 $(NORMAL_TARGET_EXPORTS) \
37348 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgcc" ; \
37349 for flag in $(EXTRA_TARGET_FLAGS); do \
37350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37351 done; \
37352 (cd $(TARGET_SUBDIR)/libgcc && \
37353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37355 "RANLIB=$${RANLIB}" \
37356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37357 maintainer-clean) \
37358 || exit 1
37360 @endif target-libgcc
37366 .PHONY: configure-target-libbacktrace maybe-configure-target-libbacktrace
37367 maybe-configure-target-libbacktrace:
37368 @if gcc-bootstrap
37369 configure-target-libbacktrace: stage_current
37370 @endif gcc-bootstrap
37371 @if target-libbacktrace
37372 maybe-configure-target-libbacktrace: configure-target-libbacktrace
37373 configure-target-libbacktrace:
37374 @: $(MAKE); $(unstage)
37375 @r=`${PWD_COMMAND}`; export r; \
37376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37377 echo "Checking multilib configuration for libbacktrace..."; \
37378 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace ; \
37379 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libbacktrace/multilib.tmp 2> /dev/null ; \
37380 if test -r $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
37381 if cmp -s $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
37382 rm -f $(TARGET_SUBDIR)/libbacktrace/multilib.tmp; \
37383 else \
37384 rm -f $(TARGET_SUBDIR)/libbacktrace/Makefile; \
37385 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
37386 fi; \
37387 else \
37388 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
37389 fi; \
37390 test ! -f $(TARGET_SUBDIR)/libbacktrace/Makefile || exit 0; \
37391 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace ; \
37392 $(NORMAL_TARGET_EXPORTS) \
37393 echo Configuring in $(TARGET_SUBDIR)/libbacktrace; \
37394 cd "$(TARGET_SUBDIR)/libbacktrace" || exit 1; \
37395 case $(srcdir) in \
37396 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37397 *) topdir=`echo $(TARGET_SUBDIR)/libbacktrace/ | \
37398 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37399 esac; \
37400 srcdiroption="--srcdir=$${topdir}/libbacktrace"; \
37401 libsrcdir="$$s/libbacktrace"; \
37402 rm -f no-such-file || : ; \
37403 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
37404 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37405 --target=${target_alias} $${srcdiroption} \
37406 || exit 1
37407 @endif target-libbacktrace
37413 .PHONY: all-target-libbacktrace maybe-all-target-libbacktrace
37414 maybe-all-target-libbacktrace:
37415 @if gcc-bootstrap
37416 all-target-libbacktrace: stage_current
37417 @endif gcc-bootstrap
37418 @if target-libbacktrace
37419 TARGET-target-libbacktrace=all
37420 maybe-all-target-libbacktrace: all-target-libbacktrace
37421 all-target-libbacktrace: configure-target-libbacktrace
37422 @: $(MAKE); $(unstage)
37423 @r=`${PWD_COMMAND}`; export r; \
37424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37425 $(NORMAL_TARGET_EXPORTS) \
37426 (cd $(TARGET_SUBDIR)/libbacktrace && \
37427 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
37428 $(TARGET-target-libbacktrace))
37429 @endif target-libbacktrace
37435 .PHONY: check-target-libbacktrace maybe-check-target-libbacktrace
37436 maybe-check-target-libbacktrace:
37437 @if target-libbacktrace
37438 maybe-check-target-libbacktrace: check-target-libbacktrace
37440 check-target-libbacktrace:
37441 @: $(MAKE); $(unstage)
37442 @r=`${PWD_COMMAND}`; export r; \
37443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37444 $(NORMAL_TARGET_EXPORTS) \
37445 (cd $(TARGET_SUBDIR)/libbacktrace && \
37446 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
37448 @endif target-libbacktrace
37450 .PHONY: install-target-libbacktrace maybe-install-target-libbacktrace
37451 maybe-install-target-libbacktrace:
37452 @if target-libbacktrace
37453 maybe-install-target-libbacktrace: install-target-libbacktrace
37455 install-target-libbacktrace: installdirs
37456 @: $(MAKE); $(unstage)
37457 @r=`${PWD_COMMAND}`; export r; \
37458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37459 $(NORMAL_TARGET_EXPORTS) \
37460 (cd $(TARGET_SUBDIR)/libbacktrace && \
37461 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37463 @endif target-libbacktrace
37465 .PHONY: install-strip-target-libbacktrace maybe-install-strip-target-libbacktrace
37466 maybe-install-strip-target-libbacktrace:
37467 @if target-libbacktrace
37468 maybe-install-strip-target-libbacktrace: install-strip-target-libbacktrace
37470 install-strip-target-libbacktrace: installdirs
37471 @: $(MAKE); $(unstage)
37472 @r=`${PWD_COMMAND}`; export r; \
37473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37474 $(NORMAL_TARGET_EXPORTS) \
37475 (cd $(TARGET_SUBDIR)/libbacktrace && \
37476 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
37478 @endif target-libbacktrace
37480 # Other targets (info, dvi, pdf, etc.)
37482 .PHONY: maybe-info-target-libbacktrace info-target-libbacktrace
37483 maybe-info-target-libbacktrace:
37484 @if target-libbacktrace
37485 maybe-info-target-libbacktrace: info-target-libbacktrace
37487 info-target-libbacktrace: \
37488 configure-target-libbacktrace
37489 @: $(MAKE); $(unstage)
37490 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37491 r=`${PWD_COMMAND}`; export r; \
37492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37493 $(NORMAL_TARGET_EXPORTS) \
37494 echo "Doing info in $(TARGET_SUBDIR)/libbacktrace" ; \
37495 for flag in $(EXTRA_TARGET_FLAGS); do \
37496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37497 done; \
37498 (cd $(TARGET_SUBDIR)/libbacktrace && \
37499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37501 "RANLIB=$${RANLIB}" \
37502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37503 info) \
37504 || exit 1
37506 @endif target-libbacktrace
37508 .PHONY: maybe-dvi-target-libbacktrace dvi-target-libbacktrace
37509 maybe-dvi-target-libbacktrace:
37510 @if target-libbacktrace
37511 maybe-dvi-target-libbacktrace: dvi-target-libbacktrace
37513 dvi-target-libbacktrace: \
37514 configure-target-libbacktrace
37515 @: $(MAKE); $(unstage)
37516 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37517 r=`${PWD_COMMAND}`; export r; \
37518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37519 $(NORMAL_TARGET_EXPORTS) \
37520 echo "Doing dvi in $(TARGET_SUBDIR)/libbacktrace" ; \
37521 for flag in $(EXTRA_TARGET_FLAGS); do \
37522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37523 done; \
37524 (cd $(TARGET_SUBDIR)/libbacktrace && \
37525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37527 "RANLIB=$${RANLIB}" \
37528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37529 dvi) \
37530 || exit 1
37532 @endif target-libbacktrace
37534 .PHONY: maybe-pdf-target-libbacktrace pdf-target-libbacktrace
37535 maybe-pdf-target-libbacktrace:
37536 @if target-libbacktrace
37537 maybe-pdf-target-libbacktrace: pdf-target-libbacktrace
37539 pdf-target-libbacktrace: \
37540 configure-target-libbacktrace
37541 @: $(MAKE); $(unstage)
37542 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37543 r=`${PWD_COMMAND}`; export r; \
37544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37545 $(NORMAL_TARGET_EXPORTS) \
37546 echo "Doing pdf in $(TARGET_SUBDIR)/libbacktrace" ; \
37547 for flag in $(EXTRA_TARGET_FLAGS); do \
37548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37549 done; \
37550 (cd $(TARGET_SUBDIR)/libbacktrace && \
37551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37553 "RANLIB=$${RANLIB}" \
37554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37555 pdf) \
37556 || exit 1
37558 @endif target-libbacktrace
37560 .PHONY: maybe-html-target-libbacktrace html-target-libbacktrace
37561 maybe-html-target-libbacktrace:
37562 @if target-libbacktrace
37563 maybe-html-target-libbacktrace: html-target-libbacktrace
37565 html-target-libbacktrace: \
37566 configure-target-libbacktrace
37567 @: $(MAKE); $(unstage)
37568 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37569 r=`${PWD_COMMAND}`; export r; \
37570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37571 $(NORMAL_TARGET_EXPORTS) \
37572 echo "Doing html in $(TARGET_SUBDIR)/libbacktrace" ; \
37573 for flag in $(EXTRA_TARGET_FLAGS); do \
37574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37575 done; \
37576 (cd $(TARGET_SUBDIR)/libbacktrace && \
37577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37579 "RANLIB=$${RANLIB}" \
37580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37581 html) \
37582 || exit 1
37584 @endif target-libbacktrace
37586 .PHONY: maybe-TAGS-target-libbacktrace TAGS-target-libbacktrace
37587 maybe-TAGS-target-libbacktrace:
37588 @if target-libbacktrace
37589 maybe-TAGS-target-libbacktrace: TAGS-target-libbacktrace
37591 TAGS-target-libbacktrace: \
37592 configure-target-libbacktrace
37593 @: $(MAKE); $(unstage)
37594 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37595 r=`${PWD_COMMAND}`; export r; \
37596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37597 $(NORMAL_TARGET_EXPORTS) \
37598 echo "Doing TAGS in $(TARGET_SUBDIR)/libbacktrace" ; \
37599 for flag in $(EXTRA_TARGET_FLAGS); do \
37600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37601 done; \
37602 (cd $(TARGET_SUBDIR)/libbacktrace && \
37603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37605 "RANLIB=$${RANLIB}" \
37606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37607 TAGS) \
37608 || exit 1
37610 @endif target-libbacktrace
37612 .PHONY: maybe-install-info-target-libbacktrace install-info-target-libbacktrace
37613 maybe-install-info-target-libbacktrace:
37614 @if target-libbacktrace
37615 maybe-install-info-target-libbacktrace: install-info-target-libbacktrace
37617 install-info-target-libbacktrace: \
37618 configure-target-libbacktrace \
37619 info-target-libbacktrace
37620 @: $(MAKE); $(unstage)
37621 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37622 r=`${PWD_COMMAND}`; export r; \
37623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37624 $(NORMAL_TARGET_EXPORTS) \
37625 echo "Doing install-info in $(TARGET_SUBDIR)/libbacktrace" ; \
37626 for flag in $(EXTRA_TARGET_FLAGS); do \
37627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37628 done; \
37629 (cd $(TARGET_SUBDIR)/libbacktrace && \
37630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37632 "RANLIB=$${RANLIB}" \
37633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37634 install-info) \
37635 || exit 1
37637 @endif target-libbacktrace
37639 .PHONY: maybe-install-pdf-target-libbacktrace install-pdf-target-libbacktrace
37640 maybe-install-pdf-target-libbacktrace:
37641 @if target-libbacktrace
37642 maybe-install-pdf-target-libbacktrace: install-pdf-target-libbacktrace
37644 install-pdf-target-libbacktrace: \
37645 configure-target-libbacktrace \
37646 pdf-target-libbacktrace
37647 @: $(MAKE); $(unstage)
37648 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37649 r=`${PWD_COMMAND}`; export r; \
37650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37651 $(NORMAL_TARGET_EXPORTS) \
37652 echo "Doing install-pdf in $(TARGET_SUBDIR)/libbacktrace" ; \
37653 for flag in $(EXTRA_TARGET_FLAGS); do \
37654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37655 done; \
37656 (cd $(TARGET_SUBDIR)/libbacktrace && \
37657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37659 "RANLIB=$${RANLIB}" \
37660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37661 install-pdf) \
37662 || exit 1
37664 @endif target-libbacktrace
37666 .PHONY: maybe-install-html-target-libbacktrace install-html-target-libbacktrace
37667 maybe-install-html-target-libbacktrace:
37668 @if target-libbacktrace
37669 maybe-install-html-target-libbacktrace: install-html-target-libbacktrace
37671 install-html-target-libbacktrace: \
37672 configure-target-libbacktrace \
37673 html-target-libbacktrace
37674 @: $(MAKE); $(unstage)
37675 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37676 r=`${PWD_COMMAND}`; export r; \
37677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37678 $(NORMAL_TARGET_EXPORTS) \
37679 echo "Doing install-html in $(TARGET_SUBDIR)/libbacktrace" ; \
37680 for flag in $(EXTRA_TARGET_FLAGS); do \
37681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37682 done; \
37683 (cd $(TARGET_SUBDIR)/libbacktrace && \
37684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37686 "RANLIB=$${RANLIB}" \
37687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37688 install-html) \
37689 || exit 1
37691 @endif target-libbacktrace
37693 .PHONY: maybe-installcheck-target-libbacktrace installcheck-target-libbacktrace
37694 maybe-installcheck-target-libbacktrace:
37695 @if target-libbacktrace
37696 maybe-installcheck-target-libbacktrace: installcheck-target-libbacktrace
37698 installcheck-target-libbacktrace: \
37699 configure-target-libbacktrace
37700 @: $(MAKE); $(unstage)
37701 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37702 r=`${PWD_COMMAND}`; export r; \
37703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37704 $(NORMAL_TARGET_EXPORTS) \
37705 echo "Doing installcheck in $(TARGET_SUBDIR)/libbacktrace" ; \
37706 for flag in $(EXTRA_TARGET_FLAGS); do \
37707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37708 done; \
37709 (cd $(TARGET_SUBDIR)/libbacktrace && \
37710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37712 "RANLIB=$${RANLIB}" \
37713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37714 installcheck) \
37715 || exit 1
37717 @endif target-libbacktrace
37719 .PHONY: maybe-mostlyclean-target-libbacktrace mostlyclean-target-libbacktrace
37720 maybe-mostlyclean-target-libbacktrace:
37721 @if target-libbacktrace
37722 maybe-mostlyclean-target-libbacktrace: mostlyclean-target-libbacktrace
37724 mostlyclean-target-libbacktrace:
37725 @: $(MAKE); $(unstage)
37726 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37727 r=`${PWD_COMMAND}`; export r; \
37728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37729 $(NORMAL_TARGET_EXPORTS) \
37730 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libbacktrace" ; \
37731 for flag in $(EXTRA_TARGET_FLAGS); do \
37732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37733 done; \
37734 (cd $(TARGET_SUBDIR)/libbacktrace && \
37735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37737 "RANLIB=$${RANLIB}" \
37738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37739 mostlyclean) \
37740 || exit 1
37742 @endif target-libbacktrace
37744 .PHONY: maybe-clean-target-libbacktrace clean-target-libbacktrace
37745 maybe-clean-target-libbacktrace:
37746 @if target-libbacktrace
37747 maybe-clean-target-libbacktrace: clean-target-libbacktrace
37749 clean-target-libbacktrace:
37750 @: $(MAKE); $(unstage)
37751 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37752 r=`${PWD_COMMAND}`; export r; \
37753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37754 $(NORMAL_TARGET_EXPORTS) \
37755 echo "Doing clean in $(TARGET_SUBDIR)/libbacktrace" ; \
37756 for flag in $(EXTRA_TARGET_FLAGS); do \
37757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37758 done; \
37759 (cd $(TARGET_SUBDIR)/libbacktrace && \
37760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37762 "RANLIB=$${RANLIB}" \
37763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37764 clean) \
37765 || exit 1
37767 @endif target-libbacktrace
37769 .PHONY: maybe-distclean-target-libbacktrace distclean-target-libbacktrace
37770 maybe-distclean-target-libbacktrace:
37771 @if target-libbacktrace
37772 maybe-distclean-target-libbacktrace: distclean-target-libbacktrace
37774 distclean-target-libbacktrace:
37775 @: $(MAKE); $(unstage)
37776 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37777 r=`${PWD_COMMAND}`; export r; \
37778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37779 $(NORMAL_TARGET_EXPORTS) \
37780 echo "Doing distclean in $(TARGET_SUBDIR)/libbacktrace" ; \
37781 for flag in $(EXTRA_TARGET_FLAGS); do \
37782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37783 done; \
37784 (cd $(TARGET_SUBDIR)/libbacktrace && \
37785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37787 "RANLIB=$${RANLIB}" \
37788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37789 distclean) \
37790 || exit 1
37792 @endif target-libbacktrace
37794 .PHONY: maybe-maintainer-clean-target-libbacktrace maintainer-clean-target-libbacktrace
37795 maybe-maintainer-clean-target-libbacktrace:
37796 @if target-libbacktrace
37797 maybe-maintainer-clean-target-libbacktrace: maintainer-clean-target-libbacktrace
37799 maintainer-clean-target-libbacktrace:
37800 @: $(MAKE); $(unstage)
37801 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37802 r=`${PWD_COMMAND}`; export r; \
37803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37804 $(NORMAL_TARGET_EXPORTS) \
37805 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libbacktrace" ; \
37806 for flag in $(EXTRA_TARGET_FLAGS); do \
37807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37808 done; \
37809 (cd $(TARGET_SUBDIR)/libbacktrace && \
37810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37812 "RANLIB=$${RANLIB}" \
37813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37814 maintainer-clean) \
37815 || exit 1
37817 @endif target-libbacktrace
37823 .PHONY: configure-target-libquadmath maybe-configure-target-libquadmath
37824 maybe-configure-target-libquadmath:
37825 @if gcc-bootstrap
37826 configure-target-libquadmath: stage_current
37827 @endif gcc-bootstrap
37828 @if target-libquadmath
37829 maybe-configure-target-libquadmath: configure-target-libquadmath
37830 configure-target-libquadmath:
37831 @: $(MAKE); $(unstage)
37832 @r=`${PWD_COMMAND}`; export r; \
37833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37834 echo "Checking multilib configuration for libquadmath..."; \
37835 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath ; \
37836 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libquadmath/multilib.tmp 2> /dev/null ; \
37837 if test -r $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
37838 if cmp -s $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
37839 rm -f $(TARGET_SUBDIR)/libquadmath/multilib.tmp; \
37840 else \
37841 rm -f $(TARGET_SUBDIR)/libquadmath/Makefile; \
37842 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
37843 fi; \
37844 else \
37845 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
37846 fi; \
37847 test ! -f $(TARGET_SUBDIR)/libquadmath/Makefile || exit 0; \
37848 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath ; \
37849 $(NORMAL_TARGET_EXPORTS) \
37850 echo Configuring in $(TARGET_SUBDIR)/libquadmath; \
37851 cd "$(TARGET_SUBDIR)/libquadmath" || exit 1; \
37852 case $(srcdir) in \
37853 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37854 *) topdir=`echo $(TARGET_SUBDIR)/libquadmath/ | \
37855 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37856 esac; \
37857 srcdiroption="--srcdir=$${topdir}/libquadmath"; \
37858 libsrcdir="$$s/libquadmath"; \
37859 rm -f no-such-file || : ; \
37860 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
37861 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37862 --target=${target_alias} $${srcdiroption} \
37863 || exit 1
37864 @endif target-libquadmath
37870 .PHONY: all-target-libquadmath maybe-all-target-libquadmath
37871 maybe-all-target-libquadmath:
37872 @if gcc-bootstrap
37873 all-target-libquadmath: stage_current
37874 @endif gcc-bootstrap
37875 @if target-libquadmath
37876 TARGET-target-libquadmath=all
37877 maybe-all-target-libquadmath: all-target-libquadmath
37878 all-target-libquadmath: configure-target-libquadmath
37879 @: $(MAKE); $(unstage)
37880 @r=`${PWD_COMMAND}`; export r; \
37881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37882 $(NORMAL_TARGET_EXPORTS) \
37883 (cd $(TARGET_SUBDIR)/libquadmath && \
37884 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
37885 $(TARGET-target-libquadmath))
37886 @endif target-libquadmath
37892 .PHONY: check-target-libquadmath maybe-check-target-libquadmath
37893 maybe-check-target-libquadmath:
37894 @if target-libquadmath
37895 maybe-check-target-libquadmath: check-target-libquadmath
37897 check-target-libquadmath:
37898 @: $(MAKE); $(unstage)
37899 @r=`${PWD_COMMAND}`; export r; \
37900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37901 $(NORMAL_TARGET_EXPORTS) \
37902 (cd $(TARGET_SUBDIR)/libquadmath && \
37903 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
37905 @endif target-libquadmath
37907 .PHONY: install-target-libquadmath maybe-install-target-libquadmath
37908 maybe-install-target-libquadmath:
37909 @if target-libquadmath
37910 maybe-install-target-libquadmath: install-target-libquadmath
37912 install-target-libquadmath: installdirs
37913 @: $(MAKE); $(unstage)
37914 @r=`${PWD_COMMAND}`; export r; \
37915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37916 $(NORMAL_TARGET_EXPORTS) \
37917 (cd $(TARGET_SUBDIR)/libquadmath && \
37918 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37920 @endif target-libquadmath
37922 .PHONY: install-strip-target-libquadmath maybe-install-strip-target-libquadmath
37923 maybe-install-strip-target-libquadmath:
37924 @if target-libquadmath
37925 maybe-install-strip-target-libquadmath: install-strip-target-libquadmath
37927 install-strip-target-libquadmath: installdirs
37928 @: $(MAKE); $(unstage)
37929 @r=`${PWD_COMMAND}`; export r; \
37930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37931 $(NORMAL_TARGET_EXPORTS) \
37932 (cd $(TARGET_SUBDIR)/libquadmath && \
37933 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
37935 @endif target-libquadmath
37937 # Other targets (info, dvi, pdf, etc.)
37939 .PHONY: maybe-info-target-libquadmath info-target-libquadmath
37940 maybe-info-target-libquadmath:
37941 @if target-libquadmath
37942 maybe-info-target-libquadmath: info-target-libquadmath
37944 info-target-libquadmath: \
37945 configure-target-libquadmath
37946 @: $(MAKE); $(unstage)
37947 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
37948 r=`${PWD_COMMAND}`; export r; \
37949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37950 $(NORMAL_TARGET_EXPORTS) \
37951 echo "Doing info in $(TARGET_SUBDIR)/libquadmath" ; \
37952 for flag in $(EXTRA_TARGET_FLAGS); do \
37953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37954 done; \
37955 (cd $(TARGET_SUBDIR)/libquadmath && \
37956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37958 "RANLIB=$${RANLIB}" \
37959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37960 info) \
37961 || exit 1
37963 @endif target-libquadmath
37965 .PHONY: maybe-dvi-target-libquadmath dvi-target-libquadmath
37966 maybe-dvi-target-libquadmath:
37967 @if target-libquadmath
37968 maybe-dvi-target-libquadmath: dvi-target-libquadmath
37970 dvi-target-libquadmath: \
37971 configure-target-libquadmath
37972 @: $(MAKE); $(unstage)
37973 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
37974 r=`${PWD_COMMAND}`; export r; \
37975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37976 $(NORMAL_TARGET_EXPORTS) \
37977 echo "Doing dvi in $(TARGET_SUBDIR)/libquadmath" ; \
37978 for flag in $(EXTRA_TARGET_FLAGS); do \
37979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37980 done; \
37981 (cd $(TARGET_SUBDIR)/libquadmath && \
37982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37984 "RANLIB=$${RANLIB}" \
37985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37986 dvi) \
37987 || exit 1
37989 @endif target-libquadmath
37991 .PHONY: maybe-pdf-target-libquadmath pdf-target-libquadmath
37992 maybe-pdf-target-libquadmath:
37993 @if target-libquadmath
37994 maybe-pdf-target-libquadmath: pdf-target-libquadmath
37996 pdf-target-libquadmath: \
37997 configure-target-libquadmath
37998 @: $(MAKE); $(unstage)
37999 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38000 r=`${PWD_COMMAND}`; export r; \
38001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38002 $(NORMAL_TARGET_EXPORTS) \
38003 echo "Doing pdf in $(TARGET_SUBDIR)/libquadmath" ; \
38004 for flag in $(EXTRA_TARGET_FLAGS); do \
38005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38006 done; \
38007 (cd $(TARGET_SUBDIR)/libquadmath && \
38008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38010 "RANLIB=$${RANLIB}" \
38011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38012 pdf) \
38013 || exit 1
38015 @endif target-libquadmath
38017 .PHONY: maybe-html-target-libquadmath html-target-libquadmath
38018 maybe-html-target-libquadmath:
38019 @if target-libquadmath
38020 maybe-html-target-libquadmath: html-target-libquadmath
38022 html-target-libquadmath: \
38023 configure-target-libquadmath
38024 @: $(MAKE); $(unstage)
38025 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38026 r=`${PWD_COMMAND}`; export r; \
38027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38028 $(NORMAL_TARGET_EXPORTS) \
38029 echo "Doing html in $(TARGET_SUBDIR)/libquadmath" ; \
38030 for flag in $(EXTRA_TARGET_FLAGS); do \
38031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38032 done; \
38033 (cd $(TARGET_SUBDIR)/libquadmath && \
38034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38036 "RANLIB=$${RANLIB}" \
38037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38038 html) \
38039 || exit 1
38041 @endif target-libquadmath
38043 .PHONY: maybe-TAGS-target-libquadmath TAGS-target-libquadmath
38044 maybe-TAGS-target-libquadmath:
38045 @if target-libquadmath
38046 maybe-TAGS-target-libquadmath: TAGS-target-libquadmath
38048 TAGS-target-libquadmath: \
38049 configure-target-libquadmath
38050 @: $(MAKE); $(unstage)
38051 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38052 r=`${PWD_COMMAND}`; export r; \
38053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38054 $(NORMAL_TARGET_EXPORTS) \
38055 echo "Doing TAGS in $(TARGET_SUBDIR)/libquadmath" ; \
38056 for flag in $(EXTRA_TARGET_FLAGS); do \
38057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38058 done; \
38059 (cd $(TARGET_SUBDIR)/libquadmath && \
38060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38062 "RANLIB=$${RANLIB}" \
38063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38064 TAGS) \
38065 || exit 1
38067 @endif target-libquadmath
38069 .PHONY: maybe-install-info-target-libquadmath install-info-target-libquadmath
38070 maybe-install-info-target-libquadmath:
38071 @if target-libquadmath
38072 maybe-install-info-target-libquadmath: install-info-target-libquadmath
38074 install-info-target-libquadmath: \
38075 configure-target-libquadmath \
38076 info-target-libquadmath
38077 @: $(MAKE); $(unstage)
38078 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38079 r=`${PWD_COMMAND}`; export r; \
38080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38081 $(NORMAL_TARGET_EXPORTS) \
38082 echo "Doing install-info in $(TARGET_SUBDIR)/libquadmath" ; \
38083 for flag in $(EXTRA_TARGET_FLAGS); do \
38084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38085 done; \
38086 (cd $(TARGET_SUBDIR)/libquadmath && \
38087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38089 "RANLIB=$${RANLIB}" \
38090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38091 install-info) \
38092 || exit 1
38094 @endif target-libquadmath
38096 .PHONY: maybe-install-pdf-target-libquadmath install-pdf-target-libquadmath
38097 maybe-install-pdf-target-libquadmath:
38098 @if target-libquadmath
38099 maybe-install-pdf-target-libquadmath: install-pdf-target-libquadmath
38101 install-pdf-target-libquadmath: \
38102 configure-target-libquadmath \
38103 pdf-target-libquadmath
38104 @: $(MAKE); $(unstage)
38105 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38106 r=`${PWD_COMMAND}`; export r; \
38107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38108 $(NORMAL_TARGET_EXPORTS) \
38109 echo "Doing install-pdf in $(TARGET_SUBDIR)/libquadmath" ; \
38110 for flag in $(EXTRA_TARGET_FLAGS); do \
38111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38112 done; \
38113 (cd $(TARGET_SUBDIR)/libquadmath && \
38114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38116 "RANLIB=$${RANLIB}" \
38117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38118 install-pdf) \
38119 || exit 1
38121 @endif target-libquadmath
38123 .PHONY: maybe-install-html-target-libquadmath install-html-target-libquadmath
38124 maybe-install-html-target-libquadmath:
38125 @if target-libquadmath
38126 maybe-install-html-target-libquadmath: install-html-target-libquadmath
38128 install-html-target-libquadmath: \
38129 configure-target-libquadmath \
38130 html-target-libquadmath
38131 @: $(MAKE); $(unstage)
38132 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38133 r=`${PWD_COMMAND}`; export r; \
38134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38135 $(NORMAL_TARGET_EXPORTS) \
38136 echo "Doing install-html in $(TARGET_SUBDIR)/libquadmath" ; \
38137 for flag in $(EXTRA_TARGET_FLAGS); do \
38138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38139 done; \
38140 (cd $(TARGET_SUBDIR)/libquadmath && \
38141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38143 "RANLIB=$${RANLIB}" \
38144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38145 install-html) \
38146 || exit 1
38148 @endif target-libquadmath
38150 .PHONY: maybe-installcheck-target-libquadmath installcheck-target-libquadmath
38151 maybe-installcheck-target-libquadmath:
38152 @if target-libquadmath
38153 maybe-installcheck-target-libquadmath: installcheck-target-libquadmath
38155 installcheck-target-libquadmath: \
38156 configure-target-libquadmath
38157 @: $(MAKE); $(unstage)
38158 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38159 r=`${PWD_COMMAND}`; export r; \
38160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38161 $(NORMAL_TARGET_EXPORTS) \
38162 echo "Doing installcheck in $(TARGET_SUBDIR)/libquadmath" ; \
38163 for flag in $(EXTRA_TARGET_FLAGS); do \
38164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38165 done; \
38166 (cd $(TARGET_SUBDIR)/libquadmath && \
38167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38169 "RANLIB=$${RANLIB}" \
38170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38171 installcheck) \
38172 || exit 1
38174 @endif target-libquadmath
38176 .PHONY: maybe-mostlyclean-target-libquadmath mostlyclean-target-libquadmath
38177 maybe-mostlyclean-target-libquadmath:
38178 @if target-libquadmath
38179 maybe-mostlyclean-target-libquadmath: mostlyclean-target-libquadmath
38181 mostlyclean-target-libquadmath:
38182 @: $(MAKE); $(unstage)
38183 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38184 r=`${PWD_COMMAND}`; export r; \
38185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38186 $(NORMAL_TARGET_EXPORTS) \
38187 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libquadmath" ; \
38188 for flag in $(EXTRA_TARGET_FLAGS); do \
38189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38190 done; \
38191 (cd $(TARGET_SUBDIR)/libquadmath && \
38192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38194 "RANLIB=$${RANLIB}" \
38195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38196 mostlyclean) \
38197 || exit 1
38199 @endif target-libquadmath
38201 .PHONY: maybe-clean-target-libquadmath clean-target-libquadmath
38202 maybe-clean-target-libquadmath:
38203 @if target-libquadmath
38204 maybe-clean-target-libquadmath: clean-target-libquadmath
38206 clean-target-libquadmath:
38207 @: $(MAKE); $(unstage)
38208 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38209 r=`${PWD_COMMAND}`; export r; \
38210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38211 $(NORMAL_TARGET_EXPORTS) \
38212 echo "Doing clean in $(TARGET_SUBDIR)/libquadmath" ; \
38213 for flag in $(EXTRA_TARGET_FLAGS); do \
38214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38215 done; \
38216 (cd $(TARGET_SUBDIR)/libquadmath && \
38217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38219 "RANLIB=$${RANLIB}" \
38220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38221 clean) \
38222 || exit 1
38224 @endif target-libquadmath
38226 .PHONY: maybe-distclean-target-libquadmath distclean-target-libquadmath
38227 maybe-distclean-target-libquadmath:
38228 @if target-libquadmath
38229 maybe-distclean-target-libquadmath: distclean-target-libquadmath
38231 distclean-target-libquadmath:
38232 @: $(MAKE); $(unstage)
38233 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38234 r=`${PWD_COMMAND}`; export r; \
38235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38236 $(NORMAL_TARGET_EXPORTS) \
38237 echo "Doing distclean in $(TARGET_SUBDIR)/libquadmath" ; \
38238 for flag in $(EXTRA_TARGET_FLAGS); do \
38239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38240 done; \
38241 (cd $(TARGET_SUBDIR)/libquadmath && \
38242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38244 "RANLIB=$${RANLIB}" \
38245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38246 distclean) \
38247 || exit 1
38249 @endif target-libquadmath
38251 .PHONY: maybe-maintainer-clean-target-libquadmath maintainer-clean-target-libquadmath
38252 maybe-maintainer-clean-target-libquadmath:
38253 @if target-libquadmath
38254 maybe-maintainer-clean-target-libquadmath: maintainer-clean-target-libquadmath
38256 maintainer-clean-target-libquadmath:
38257 @: $(MAKE); $(unstage)
38258 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38259 r=`${PWD_COMMAND}`; export r; \
38260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38261 $(NORMAL_TARGET_EXPORTS) \
38262 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libquadmath" ; \
38263 for flag in $(EXTRA_TARGET_FLAGS); do \
38264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38265 done; \
38266 (cd $(TARGET_SUBDIR)/libquadmath && \
38267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38269 "RANLIB=$${RANLIB}" \
38270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38271 maintainer-clean) \
38272 || exit 1
38274 @endif target-libquadmath
38280 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
38281 maybe-configure-target-libgfortran:
38282 @if gcc-bootstrap
38283 configure-target-libgfortran: stage_current
38284 @endif gcc-bootstrap
38285 @if target-libgfortran
38286 maybe-configure-target-libgfortran: configure-target-libgfortran
38287 configure-target-libgfortran:
38288 @: $(MAKE); $(unstage)
38289 @r=`${PWD_COMMAND}`; export r; \
38290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38291 echo "Checking multilib configuration for libgfortran..."; \
38292 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
38293 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgfortran/multilib.tmp 2> /dev/null ; \
38294 if test -r $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
38295 if cmp -s $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
38296 rm -f $(TARGET_SUBDIR)/libgfortran/multilib.tmp; \
38297 else \
38298 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile; \
38299 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
38300 fi; \
38301 else \
38302 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
38303 fi; \
38304 test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
38305 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
38306 $(NORMAL_TARGET_EXPORTS) \
38307 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
38308 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
38309 case $(srcdir) in \
38310 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38311 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
38312 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38313 esac; \
38314 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
38315 libsrcdir="$$s/libgfortran"; \
38316 rm -f no-such-file || : ; \
38317 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
38318 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38319 --target=${target_alias} $${srcdiroption} \
38320 || exit 1
38321 @endif target-libgfortran
38327 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
38328 maybe-all-target-libgfortran:
38329 @if gcc-bootstrap
38330 all-target-libgfortran: stage_current
38331 @endif gcc-bootstrap
38332 @if target-libgfortran
38333 TARGET-target-libgfortran=all
38334 maybe-all-target-libgfortran: all-target-libgfortran
38335 all-target-libgfortran: configure-target-libgfortran
38336 @: $(MAKE); $(unstage)
38337 @r=`${PWD_COMMAND}`; export r; \
38338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38339 $(NORMAL_TARGET_EXPORTS) \
38340 (cd $(TARGET_SUBDIR)/libgfortran && \
38341 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
38342 $(TARGET-target-libgfortran))
38343 @endif target-libgfortran
38349 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
38350 maybe-check-target-libgfortran:
38351 @if target-libgfortran
38352 maybe-check-target-libgfortran: check-target-libgfortran
38354 check-target-libgfortran:
38355 @: $(MAKE); $(unstage)
38356 @r=`${PWD_COMMAND}`; export r; \
38357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38358 $(NORMAL_TARGET_EXPORTS) \
38359 (cd $(TARGET_SUBDIR)/libgfortran && \
38360 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
38362 @endif target-libgfortran
38364 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
38365 maybe-install-target-libgfortran:
38366 @if target-libgfortran
38367 maybe-install-target-libgfortran: install-target-libgfortran
38369 install-target-libgfortran: installdirs
38370 @: $(MAKE); $(unstage)
38371 @r=`${PWD_COMMAND}`; export r; \
38372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38373 $(NORMAL_TARGET_EXPORTS) \
38374 (cd $(TARGET_SUBDIR)/libgfortran && \
38375 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38377 @endif target-libgfortran
38379 .PHONY: install-strip-target-libgfortran maybe-install-strip-target-libgfortran
38380 maybe-install-strip-target-libgfortran:
38381 @if target-libgfortran
38382 maybe-install-strip-target-libgfortran: install-strip-target-libgfortran
38384 install-strip-target-libgfortran: installdirs
38385 @: $(MAKE); $(unstage)
38386 @r=`${PWD_COMMAND}`; export r; \
38387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38388 $(NORMAL_TARGET_EXPORTS) \
38389 (cd $(TARGET_SUBDIR)/libgfortran && \
38390 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
38392 @endif target-libgfortran
38394 # Other targets (info, dvi, pdf, etc.)
38396 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
38397 maybe-info-target-libgfortran:
38398 @if target-libgfortran
38399 maybe-info-target-libgfortran: info-target-libgfortran
38401 info-target-libgfortran: \
38402 configure-target-libgfortran
38403 @: $(MAKE); $(unstage)
38404 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38405 r=`${PWD_COMMAND}`; export r; \
38406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38407 $(NORMAL_TARGET_EXPORTS) \
38408 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
38409 for flag in $(EXTRA_TARGET_FLAGS); do \
38410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38411 done; \
38412 (cd $(TARGET_SUBDIR)/libgfortran && \
38413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38415 "RANLIB=$${RANLIB}" \
38416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38417 info) \
38418 || exit 1
38420 @endif target-libgfortran
38422 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
38423 maybe-dvi-target-libgfortran:
38424 @if target-libgfortran
38425 maybe-dvi-target-libgfortran: dvi-target-libgfortran
38427 dvi-target-libgfortran: \
38428 configure-target-libgfortran
38429 @: $(MAKE); $(unstage)
38430 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38431 r=`${PWD_COMMAND}`; export r; \
38432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38433 $(NORMAL_TARGET_EXPORTS) \
38434 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
38435 for flag in $(EXTRA_TARGET_FLAGS); do \
38436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38437 done; \
38438 (cd $(TARGET_SUBDIR)/libgfortran && \
38439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38441 "RANLIB=$${RANLIB}" \
38442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38443 dvi) \
38444 || exit 1
38446 @endif target-libgfortran
38448 .PHONY: maybe-pdf-target-libgfortran pdf-target-libgfortran
38449 maybe-pdf-target-libgfortran:
38450 @if target-libgfortran
38451 maybe-pdf-target-libgfortran: pdf-target-libgfortran
38453 pdf-target-libgfortran: \
38454 configure-target-libgfortran
38455 @: $(MAKE); $(unstage)
38456 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38457 r=`${PWD_COMMAND}`; export r; \
38458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38459 $(NORMAL_TARGET_EXPORTS) \
38460 echo "Doing pdf in $(TARGET_SUBDIR)/libgfortran" ; \
38461 for flag in $(EXTRA_TARGET_FLAGS); do \
38462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38463 done; \
38464 (cd $(TARGET_SUBDIR)/libgfortran && \
38465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38467 "RANLIB=$${RANLIB}" \
38468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38469 pdf) \
38470 || exit 1
38472 @endif target-libgfortran
38474 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
38475 maybe-html-target-libgfortran:
38476 @if target-libgfortran
38477 maybe-html-target-libgfortran: html-target-libgfortran
38479 html-target-libgfortran: \
38480 configure-target-libgfortran
38481 @: $(MAKE); $(unstage)
38482 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38483 r=`${PWD_COMMAND}`; export r; \
38484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38485 $(NORMAL_TARGET_EXPORTS) \
38486 echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \
38487 for flag in $(EXTRA_TARGET_FLAGS); do \
38488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38489 done; \
38490 (cd $(TARGET_SUBDIR)/libgfortran && \
38491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38493 "RANLIB=$${RANLIB}" \
38494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38495 html) \
38496 || exit 1
38498 @endif target-libgfortran
38500 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
38501 maybe-TAGS-target-libgfortran:
38502 @if target-libgfortran
38503 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
38505 TAGS-target-libgfortran: \
38506 configure-target-libgfortran
38507 @: $(MAKE); $(unstage)
38508 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38509 r=`${PWD_COMMAND}`; export r; \
38510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38511 $(NORMAL_TARGET_EXPORTS) \
38512 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
38513 for flag in $(EXTRA_TARGET_FLAGS); do \
38514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38515 done; \
38516 (cd $(TARGET_SUBDIR)/libgfortran && \
38517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38519 "RANLIB=$${RANLIB}" \
38520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38521 TAGS) \
38522 || exit 1
38524 @endif target-libgfortran
38526 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
38527 maybe-install-info-target-libgfortran:
38528 @if target-libgfortran
38529 maybe-install-info-target-libgfortran: install-info-target-libgfortran
38531 install-info-target-libgfortran: \
38532 configure-target-libgfortran \
38533 info-target-libgfortran
38534 @: $(MAKE); $(unstage)
38535 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38536 r=`${PWD_COMMAND}`; export r; \
38537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38538 $(NORMAL_TARGET_EXPORTS) \
38539 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
38540 for flag in $(EXTRA_TARGET_FLAGS); do \
38541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38542 done; \
38543 (cd $(TARGET_SUBDIR)/libgfortran && \
38544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38546 "RANLIB=$${RANLIB}" \
38547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38548 install-info) \
38549 || exit 1
38551 @endif target-libgfortran
38553 .PHONY: maybe-install-pdf-target-libgfortran install-pdf-target-libgfortran
38554 maybe-install-pdf-target-libgfortran:
38555 @if target-libgfortran
38556 maybe-install-pdf-target-libgfortran: install-pdf-target-libgfortran
38558 install-pdf-target-libgfortran: \
38559 configure-target-libgfortran \
38560 pdf-target-libgfortran
38561 @: $(MAKE); $(unstage)
38562 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38563 r=`${PWD_COMMAND}`; export r; \
38564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38565 $(NORMAL_TARGET_EXPORTS) \
38566 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgfortran" ; \
38567 for flag in $(EXTRA_TARGET_FLAGS); do \
38568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38569 done; \
38570 (cd $(TARGET_SUBDIR)/libgfortran && \
38571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38573 "RANLIB=$${RANLIB}" \
38574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38575 install-pdf) \
38576 || exit 1
38578 @endif target-libgfortran
38580 .PHONY: maybe-install-html-target-libgfortran install-html-target-libgfortran
38581 maybe-install-html-target-libgfortran:
38582 @if target-libgfortran
38583 maybe-install-html-target-libgfortran: install-html-target-libgfortran
38585 install-html-target-libgfortran: \
38586 configure-target-libgfortran \
38587 html-target-libgfortran
38588 @: $(MAKE); $(unstage)
38589 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38590 r=`${PWD_COMMAND}`; export r; \
38591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38592 $(NORMAL_TARGET_EXPORTS) \
38593 echo "Doing install-html in $(TARGET_SUBDIR)/libgfortran" ; \
38594 for flag in $(EXTRA_TARGET_FLAGS); do \
38595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38596 done; \
38597 (cd $(TARGET_SUBDIR)/libgfortran && \
38598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38600 "RANLIB=$${RANLIB}" \
38601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38602 install-html) \
38603 || exit 1
38605 @endif target-libgfortran
38607 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
38608 maybe-installcheck-target-libgfortran:
38609 @if target-libgfortran
38610 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
38612 installcheck-target-libgfortran: \
38613 configure-target-libgfortran
38614 @: $(MAKE); $(unstage)
38615 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38616 r=`${PWD_COMMAND}`; export r; \
38617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38618 $(NORMAL_TARGET_EXPORTS) \
38619 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
38620 for flag in $(EXTRA_TARGET_FLAGS); do \
38621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38622 done; \
38623 (cd $(TARGET_SUBDIR)/libgfortran && \
38624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38626 "RANLIB=$${RANLIB}" \
38627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38628 installcheck) \
38629 || exit 1
38631 @endif target-libgfortran
38633 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
38634 maybe-mostlyclean-target-libgfortran:
38635 @if target-libgfortran
38636 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
38638 mostlyclean-target-libgfortran:
38639 @: $(MAKE); $(unstage)
38640 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38641 r=`${PWD_COMMAND}`; export r; \
38642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38643 $(NORMAL_TARGET_EXPORTS) \
38644 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
38645 for flag in $(EXTRA_TARGET_FLAGS); do \
38646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38647 done; \
38648 (cd $(TARGET_SUBDIR)/libgfortran && \
38649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38651 "RANLIB=$${RANLIB}" \
38652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38653 mostlyclean) \
38654 || exit 1
38656 @endif target-libgfortran
38658 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
38659 maybe-clean-target-libgfortran:
38660 @if target-libgfortran
38661 maybe-clean-target-libgfortran: clean-target-libgfortran
38663 clean-target-libgfortran:
38664 @: $(MAKE); $(unstage)
38665 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38666 r=`${PWD_COMMAND}`; export r; \
38667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38668 $(NORMAL_TARGET_EXPORTS) \
38669 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
38670 for flag in $(EXTRA_TARGET_FLAGS); do \
38671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38672 done; \
38673 (cd $(TARGET_SUBDIR)/libgfortran && \
38674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38676 "RANLIB=$${RANLIB}" \
38677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38678 clean) \
38679 || exit 1
38681 @endif target-libgfortran
38683 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
38684 maybe-distclean-target-libgfortran:
38685 @if target-libgfortran
38686 maybe-distclean-target-libgfortran: distclean-target-libgfortran
38688 distclean-target-libgfortran:
38689 @: $(MAKE); $(unstage)
38690 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38691 r=`${PWD_COMMAND}`; export r; \
38692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38693 $(NORMAL_TARGET_EXPORTS) \
38694 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
38695 for flag in $(EXTRA_TARGET_FLAGS); do \
38696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38697 done; \
38698 (cd $(TARGET_SUBDIR)/libgfortran && \
38699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38701 "RANLIB=$${RANLIB}" \
38702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38703 distclean) \
38704 || exit 1
38706 @endif target-libgfortran
38708 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
38709 maybe-maintainer-clean-target-libgfortran:
38710 @if target-libgfortran
38711 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
38713 maintainer-clean-target-libgfortran:
38714 @: $(MAKE); $(unstage)
38715 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38716 r=`${PWD_COMMAND}`; export r; \
38717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38718 $(NORMAL_TARGET_EXPORTS) \
38719 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
38720 for flag in $(EXTRA_TARGET_FLAGS); do \
38721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38722 done; \
38723 (cd $(TARGET_SUBDIR)/libgfortran && \
38724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38726 "RANLIB=$${RANLIB}" \
38727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38728 maintainer-clean) \
38729 || exit 1
38731 @endif target-libgfortran
38737 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
38738 maybe-configure-target-libobjc:
38739 @if gcc-bootstrap
38740 configure-target-libobjc: stage_current
38741 @endif gcc-bootstrap
38742 @if target-libobjc
38743 maybe-configure-target-libobjc: configure-target-libobjc
38744 configure-target-libobjc:
38745 @: $(MAKE); $(unstage)
38746 @r=`${PWD_COMMAND}`; export r; \
38747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38748 echo "Checking multilib configuration for libobjc..."; \
38749 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
38750 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libobjc/multilib.tmp 2> /dev/null ; \
38751 if test -r $(TARGET_SUBDIR)/libobjc/multilib.out; then \
38752 if cmp -s $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; then \
38753 rm -f $(TARGET_SUBDIR)/libobjc/multilib.tmp; \
38754 else \
38755 rm -f $(TARGET_SUBDIR)/libobjc/Makefile; \
38756 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
38757 fi; \
38758 else \
38759 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
38760 fi; \
38761 test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
38762 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
38763 $(NORMAL_TARGET_EXPORTS) \
38764 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
38765 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
38766 case $(srcdir) in \
38767 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38768 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
38769 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38770 esac; \
38771 srcdiroption="--srcdir=$${topdir}/libobjc"; \
38772 libsrcdir="$$s/libobjc"; \
38773 rm -f no-such-file || : ; \
38774 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
38775 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38776 --target=${target_alias} $${srcdiroption} \
38777 || exit 1
38778 @endif target-libobjc
38784 .PHONY: all-target-libobjc maybe-all-target-libobjc
38785 maybe-all-target-libobjc:
38786 @if gcc-bootstrap
38787 all-target-libobjc: stage_current
38788 @endif gcc-bootstrap
38789 @if target-libobjc
38790 TARGET-target-libobjc=all
38791 maybe-all-target-libobjc: all-target-libobjc
38792 all-target-libobjc: configure-target-libobjc
38793 @: $(MAKE); $(unstage)
38794 @r=`${PWD_COMMAND}`; export r; \
38795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38796 $(NORMAL_TARGET_EXPORTS) \
38797 (cd $(TARGET_SUBDIR)/libobjc && \
38798 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
38799 $(TARGET-target-libobjc))
38800 @endif target-libobjc
38806 .PHONY: check-target-libobjc maybe-check-target-libobjc
38807 maybe-check-target-libobjc:
38808 @if target-libobjc
38809 maybe-check-target-libobjc: check-target-libobjc
38811 check-target-libobjc:
38812 @: $(MAKE); $(unstage)
38813 @r=`${PWD_COMMAND}`; export r; \
38814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38815 $(NORMAL_TARGET_EXPORTS) \
38816 (cd $(TARGET_SUBDIR)/libobjc && \
38817 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
38819 @endif target-libobjc
38821 .PHONY: install-target-libobjc maybe-install-target-libobjc
38822 maybe-install-target-libobjc:
38823 @if target-libobjc
38824 maybe-install-target-libobjc: install-target-libobjc
38826 install-target-libobjc: installdirs
38827 @: $(MAKE); $(unstage)
38828 @r=`${PWD_COMMAND}`; export r; \
38829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38830 $(NORMAL_TARGET_EXPORTS) \
38831 (cd $(TARGET_SUBDIR)/libobjc && \
38832 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38834 @endif target-libobjc
38836 .PHONY: install-strip-target-libobjc maybe-install-strip-target-libobjc
38837 maybe-install-strip-target-libobjc:
38838 @if target-libobjc
38839 maybe-install-strip-target-libobjc: install-strip-target-libobjc
38841 install-strip-target-libobjc: installdirs
38842 @: $(MAKE); $(unstage)
38843 @r=`${PWD_COMMAND}`; export r; \
38844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38845 $(NORMAL_TARGET_EXPORTS) \
38846 (cd $(TARGET_SUBDIR)/libobjc && \
38847 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
38849 @endif target-libobjc
38851 # Other targets (info, dvi, pdf, etc.)
38853 .PHONY: maybe-info-target-libobjc info-target-libobjc
38854 maybe-info-target-libobjc:
38855 @if target-libobjc
38856 maybe-info-target-libobjc: info-target-libobjc
38858 info-target-libobjc: \
38859 configure-target-libobjc
38860 @: $(MAKE); $(unstage)
38861 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
38862 r=`${PWD_COMMAND}`; export r; \
38863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38864 $(NORMAL_TARGET_EXPORTS) \
38865 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
38866 for flag in $(EXTRA_TARGET_FLAGS); do \
38867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38868 done; \
38869 (cd $(TARGET_SUBDIR)/libobjc && \
38870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38872 "RANLIB=$${RANLIB}" \
38873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38874 info) \
38875 || exit 1
38877 @endif target-libobjc
38879 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
38880 maybe-dvi-target-libobjc:
38881 @if target-libobjc
38882 maybe-dvi-target-libobjc: dvi-target-libobjc
38884 dvi-target-libobjc: \
38885 configure-target-libobjc
38886 @: $(MAKE); $(unstage)
38887 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
38888 r=`${PWD_COMMAND}`; export r; \
38889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38890 $(NORMAL_TARGET_EXPORTS) \
38891 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
38892 for flag in $(EXTRA_TARGET_FLAGS); do \
38893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38894 done; \
38895 (cd $(TARGET_SUBDIR)/libobjc && \
38896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38898 "RANLIB=$${RANLIB}" \
38899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38900 dvi) \
38901 || exit 1
38903 @endif target-libobjc
38905 .PHONY: maybe-pdf-target-libobjc pdf-target-libobjc
38906 maybe-pdf-target-libobjc:
38907 @if target-libobjc
38908 maybe-pdf-target-libobjc: pdf-target-libobjc
38910 pdf-target-libobjc: \
38911 configure-target-libobjc
38912 @: $(MAKE); $(unstage)
38913 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
38914 r=`${PWD_COMMAND}`; export r; \
38915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38916 $(NORMAL_TARGET_EXPORTS) \
38917 echo "Doing pdf in $(TARGET_SUBDIR)/libobjc" ; \
38918 for flag in $(EXTRA_TARGET_FLAGS); do \
38919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38920 done; \
38921 (cd $(TARGET_SUBDIR)/libobjc && \
38922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38924 "RANLIB=$${RANLIB}" \
38925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38926 pdf) \
38927 || exit 1
38929 @endif target-libobjc
38931 .PHONY: maybe-html-target-libobjc html-target-libobjc
38932 maybe-html-target-libobjc:
38933 @if target-libobjc
38934 maybe-html-target-libobjc: html-target-libobjc
38936 html-target-libobjc: \
38937 configure-target-libobjc
38938 @: $(MAKE); $(unstage)
38939 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
38940 r=`${PWD_COMMAND}`; export r; \
38941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38942 $(NORMAL_TARGET_EXPORTS) \
38943 echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \
38944 for flag in $(EXTRA_TARGET_FLAGS); do \
38945 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38946 done; \
38947 (cd $(TARGET_SUBDIR)/libobjc && \
38948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38950 "RANLIB=$${RANLIB}" \
38951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38952 html) \
38953 || exit 1
38955 @endif target-libobjc
38957 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
38958 maybe-TAGS-target-libobjc:
38959 @if target-libobjc
38960 maybe-TAGS-target-libobjc: TAGS-target-libobjc
38962 TAGS-target-libobjc: \
38963 configure-target-libobjc
38964 @: $(MAKE); $(unstage)
38965 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
38966 r=`${PWD_COMMAND}`; export r; \
38967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38968 $(NORMAL_TARGET_EXPORTS) \
38969 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
38970 for flag in $(EXTRA_TARGET_FLAGS); do \
38971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38972 done; \
38973 (cd $(TARGET_SUBDIR)/libobjc && \
38974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38976 "RANLIB=$${RANLIB}" \
38977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38978 TAGS) \
38979 || exit 1
38981 @endif target-libobjc
38983 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
38984 maybe-install-info-target-libobjc:
38985 @if target-libobjc
38986 maybe-install-info-target-libobjc: install-info-target-libobjc
38988 install-info-target-libobjc: \
38989 configure-target-libobjc \
38990 info-target-libobjc
38991 @: $(MAKE); $(unstage)
38992 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
38993 r=`${PWD_COMMAND}`; export r; \
38994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38995 $(NORMAL_TARGET_EXPORTS) \
38996 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
38997 for flag in $(EXTRA_TARGET_FLAGS); do \
38998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38999 done; \
39000 (cd $(TARGET_SUBDIR)/libobjc && \
39001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39003 "RANLIB=$${RANLIB}" \
39004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39005 install-info) \
39006 || exit 1
39008 @endif target-libobjc
39010 .PHONY: maybe-install-pdf-target-libobjc install-pdf-target-libobjc
39011 maybe-install-pdf-target-libobjc:
39012 @if target-libobjc
39013 maybe-install-pdf-target-libobjc: install-pdf-target-libobjc
39015 install-pdf-target-libobjc: \
39016 configure-target-libobjc \
39017 pdf-target-libobjc
39018 @: $(MAKE); $(unstage)
39019 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39020 r=`${PWD_COMMAND}`; export r; \
39021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39022 $(NORMAL_TARGET_EXPORTS) \
39023 echo "Doing install-pdf in $(TARGET_SUBDIR)/libobjc" ; \
39024 for flag in $(EXTRA_TARGET_FLAGS); do \
39025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39026 done; \
39027 (cd $(TARGET_SUBDIR)/libobjc && \
39028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39030 "RANLIB=$${RANLIB}" \
39031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39032 install-pdf) \
39033 || exit 1
39035 @endif target-libobjc
39037 .PHONY: maybe-install-html-target-libobjc install-html-target-libobjc
39038 maybe-install-html-target-libobjc:
39039 @if target-libobjc
39040 maybe-install-html-target-libobjc: install-html-target-libobjc
39042 install-html-target-libobjc: \
39043 configure-target-libobjc \
39044 html-target-libobjc
39045 @: $(MAKE); $(unstage)
39046 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39047 r=`${PWD_COMMAND}`; export r; \
39048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39049 $(NORMAL_TARGET_EXPORTS) \
39050 echo "Doing install-html in $(TARGET_SUBDIR)/libobjc" ; \
39051 for flag in $(EXTRA_TARGET_FLAGS); do \
39052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39053 done; \
39054 (cd $(TARGET_SUBDIR)/libobjc && \
39055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39057 "RANLIB=$${RANLIB}" \
39058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39059 install-html) \
39060 || exit 1
39062 @endif target-libobjc
39064 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
39065 maybe-installcheck-target-libobjc:
39066 @if target-libobjc
39067 maybe-installcheck-target-libobjc: installcheck-target-libobjc
39069 installcheck-target-libobjc: \
39070 configure-target-libobjc
39071 @: $(MAKE); $(unstage)
39072 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39073 r=`${PWD_COMMAND}`; export r; \
39074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39075 $(NORMAL_TARGET_EXPORTS) \
39076 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
39077 for flag in $(EXTRA_TARGET_FLAGS); do \
39078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39079 done; \
39080 (cd $(TARGET_SUBDIR)/libobjc && \
39081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39083 "RANLIB=$${RANLIB}" \
39084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39085 installcheck) \
39086 || exit 1
39088 @endif target-libobjc
39090 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
39091 maybe-mostlyclean-target-libobjc:
39092 @if target-libobjc
39093 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
39095 mostlyclean-target-libobjc:
39096 @: $(MAKE); $(unstage)
39097 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39098 r=`${PWD_COMMAND}`; export r; \
39099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39100 $(NORMAL_TARGET_EXPORTS) \
39101 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
39102 for flag in $(EXTRA_TARGET_FLAGS); do \
39103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39104 done; \
39105 (cd $(TARGET_SUBDIR)/libobjc && \
39106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39108 "RANLIB=$${RANLIB}" \
39109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39110 mostlyclean) \
39111 || exit 1
39113 @endif target-libobjc
39115 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
39116 maybe-clean-target-libobjc:
39117 @if target-libobjc
39118 maybe-clean-target-libobjc: clean-target-libobjc
39120 clean-target-libobjc:
39121 @: $(MAKE); $(unstage)
39122 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39123 r=`${PWD_COMMAND}`; export r; \
39124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39125 $(NORMAL_TARGET_EXPORTS) \
39126 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
39127 for flag in $(EXTRA_TARGET_FLAGS); do \
39128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39129 done; \
39130 (cd $(TARGET_SUBDIR)/libobjc && \
39131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39133 "RANLIB=$${RANLIB}" \
39134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39135 clean) \
39136 || exit 1
39138 @endif target-libobjc
39140 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
39141 maybe-distclean-target-libobjc:
39142 @if target-libobjc
39143 maybe-distclean-target-libobjc: distclean-target-libobjc
39145 distclean-target-libobjc:
39146 @: $(MAKE); $(unstage)
39147 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39148 r=`${PWD_COMMAND}`; export r; \
39149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39150 $(NORMAL_TARGET_EXPORTS) \
39151 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
39152 for flag in $(EXTRA_TARGET_FLAGS); do \
39153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39154 done; \
39155 (cd $(TARGET_SUBDIR)/libobjc && \
39156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39158 "RANLIB=$${RANLIB}" \
39159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39160 distclean) \
39161 || exit 1
39163 @endif target-libobjc
39165 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
39166 maybe-maintainer-clean-target-libobjc:
39167 @if target-libobjc
39168 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
39170 maintainer-clean-target-libobjc:
39171 @: $(MAKE); $(unstage)
39172 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39173 r=`${PWD_COMMAND}`; export r; \
39174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39175 $(NORMAL_TARGET_EXPORTS) \
39176 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
39177 for flag in $(EXTRA_TARGET_FLAGS); do \
39178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39179 done; \
39180 (cd $(TARGET_SUBDIR)/libobjc && \
39181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39183 "RANLIB=$${RANLIB}" \
39184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39185 maintainer-clean) \
39186 || exit 1
39188 @endif target-libobjc
39194 .PHONY: configure-target-libgo maybe-configure-target-libgo
39195 maybe-configure-target-libgo:
39196 @if gcc-bootstrap
39197 configure-target-libgo: stage_current
39198 @endif gcc-bootstrap
39199 @if target-libgo
39200 maybe-configure-target-libgo: configure-target-libgo
39201 configure-target-libgo:
39202 @: $(MAKE); $(unstage)
39203 @r=`${PWD_COMMAND}`; export r; \
39204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39205 echo "Checking multilib configuration for libgo..."; \
39206 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo ; \
39207 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgo/multilib.tmp 2> /dev/null ; \
39208 if test -r $(TARGET_SUBDIR)/libgo/multilib.out; then \
39209 if cmp -s $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; then \
39210 rm -f $(TARGET_SUBDIR)/libgo/multilib.tmp; \
39211 else \
39212 rm -f $(TARGET_SUBDIR)/libgo/Makefile; \
39213 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
39214 fi; \
39215 else \
39216 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
39217 fi; \
39218 test ! -f $(TARGET_SUBDIR)/libgo/Makefile || exit 0; \
39219 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo ; \
39220 $(NORMAL_TARGET_EXPORTS) \
39221 echo Configuring in $(TARGET_SUBDIR)/libgo; \
39222 cd "$(TARGET_SUBDIR)/libgo" || exit 1; \
39223 case $(srcdir) in \
39224 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39225 *) topdir=`echo $(TARGET_SUBDIR)/libgo/ | \
39226 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39227 esac; \
39228 srcdiroption="--srcdir=$${topdir}/libgo"; \
39229 libsrcdir="$$s/libgo"; \
39230 rm -f no-such-file || : ; \
39231 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
39232 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39233 --target=${target_alias} $${srcdiroption} \
39234 || exit 1
39235 @endif target-libgo
39241 .PHONY: all-target-libgo maybe-all-target-libgo
39242 maybe-all-target-libgo:
39243 @if gcc-bootstrap
39244 all-target-libgo: stage_current
39245 @endif gcc-bootstrap
39246 @if target-libgo
39247 TARGET-target-libgo=all
39248 maybe-all-target-libgo: all-target-libgo
39249 all-target-libgo: configure-target-libgo
39250 @: $(MAKE); $(unstage)
39251 @r=`${PWD_COMMAND}`; export r; \
39252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39253 $(NORMAL_TARGET_EXPORTS) \
39254 (cd $(TARGET_SUBDIR)/libgo && \
39255 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
39256 $(TARGET-target-libgo))
39257 @endif target-libgo
39263 .PHONY: check-target-libgo maybe-check-target-libgo
39264 maybe-check-target-libgo:
39265 @if target-libgo
39266 maybe-check-target-libgo: check-target-libgo
39268 check-target-libgo:
39269 @: $(MAKE); $(unstage)
39270 @r=`${PWD_COMMAND}`; export r; \
39271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39272 $(NORMAL_TARGET_EXPORTS) \
39273 (cd $(TARGET_SUBDIR)/libgo && \
39274 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
39276 @endif target-libgo
39278 .PHONY: install-target-libgo maybe-install-target-libgo
39279 maybe-install-target-libgo:
39280 @if target-libgo
39281 maybe-install-target-libgo: install-target-libgo
39283 install-target-libgo: installdirs
39284 @: $(MAKE); $(unstage)
39285 @r=`${PWD_COMMAND}`; export r; \
39286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39287 $(NORMAL_TARGET_EXPORTS) \
39288 (cd $(TARGET_SUBDIR)/libgo && \
39289 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
39291 @endif target-libgo
39293 .PHONY: install-strip-target-libgo maybe-install-strip-target-libgo
39294 maybe-install-strip-target-libgo:
39295 @if target-libgo
39296 maybe-install-strip-target-libgo: install-strip-target-libgo
39298 install-strip-target-libgo: installdirs
39299 @: $(MAKE); $(unstage)
39300 @r=`${PWD_COMMAND}`; export r; \
39301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39302 $(NORMAL_TARGET_EXPORTS) \
39303 (cd $(TARGET_SUBDIR)/libgo && \
39304 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
39306 @endif target-libgo
39308 # Other targets (info, dvi, pdf, etc.)
39310 .PHONY: maybe-info-target-libgo info-target-libgo
39311 maybe-info-target-libgo:
39312 @if target-libgo
39313 maybe-info-target-libgo: info-target-libgo
39315 info-target-libgo: \
39316 configure-target-libgo
39317 @: $(MAKE); $(unstage)
39318 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39319 r=`${PWD_COMMAND}`; export r; \
39320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39321 $(NORMAL_TARGET_EXPORTS) \
39322 echo "Doing info in $(TARGET_SUBDIR)/libgo" ; \
39323 for flag in $(EXTRA_TARGET_FLAGS); do \
39324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39325 done; \
39326 (cd $(TARGET_SUBDIR)/libgo && \
39327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39329 "RANLIB=$${RANLIB}" \
39330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39331 info) \
39332 || exit 1
39334 @endif target-libgo
39336 .PHONY: maybe-dvi-target-libgo dvi-target-libgo
39337 maybe-dvi-target-libgo:
39338 @if target-libgo
39339 maybe-dvi-target-libgo: dvi-target-libgo
39341 dvi-target-libgo: \
39342 configure-target-libgo
39343 @: $(MAKE); $(unstage)
39344 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39345 r=`${PWD_COMMAND}`; export r; \
39346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39347 $(NORMAL_TARGET_EXPORTS) \
39348 echo "Doing dvi in $(TARGET_SUBDIR)/libgo" ; \
39349 for flag in $(EXTRA_TARGET_FLAGS); do \
39350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39351 done; \
39352 (cd $(TARGET_SUBDIR)/libgo && \
39353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39355 "RANLIB=$${RANLIB}" \
39356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39357 dvi) \
39358 || exit 1
39360 @endif target-libgo
39362 .PHONY: maybe-pdf-target-libgo pdf-target-libgo
39363 maybe-pdf-target-libgo:
39364 @if target-libgo
39365 maybe-pdf-target-libgo: pdf-target-libgo
39367 pdf-target-libgo: \
39368 configure-target-libgo
39369 @: $(MAKE); $(unstage)
39370 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39371 r=`${PWD_COMMAND}`; export r; \
39372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39373 $(NORMAL_TARGET_EXPORTS) \
39374 echo "Doing pdf in $(TARGET_SUBDIR)/libgo" ; \
39375 for flag in $(EXTRA_TARGET_FLAGS); do \
39376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39377 done; \
39378 (cd $(TARGET_SUBDIR)/libgo && \
39379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39381 "RANLIB=$${RANLIB}" \
39382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39383 pdf) \
39384 || exit 1
39386 @endif target-libgo
39388 .PHONY: maybe-html-target-libgo html-target-libgo
39389 maybe-html-target-libgo:
39390 @if target-libgo
39391 maybe-html-target-libgo: html-target-libgo
39393 html-target-libgo: \
39394 configure-target-libgo
39395 @: $(MAKE); $(unstage)
39396 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39397 r=`${PWD_COMMAND}`; export r; \
39398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39399 $(NORMAL_TARGET_EXPORTS) \
39400 echo "Doing html in $(TARGET_SUBDIR)/libgo" ; \
39401 for flag in $(EXTRA_TARGET_FLAGS); do \
39402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39403 done; \
39404 (cd $(TARGET_SUBDIR)/libgo && \
39405 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39406 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39407 "RANLIB=$${RANLIB}" \
39408 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39409 html) \
39410 || exit 1
39412 @endif target-libgo
39414 .PHONY: maybe-TAGS-target-libgo TAGS-target-libgo
39415 maybe-TAGS-target-libgo:
39416 @if target-libgo
39417 maybe-TAGS-target-libgo: TAGS-target-libgo
39419 TAGS-target-libgo: \
39420 configure-target-libgo
39421 @: $(MAKE); $(unstage)
39422 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39423 r=`${PWD_COMMAND}`; export r; \
39424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39425 $(NORMAL_TARGET_EXPORTS) \
39426 echo "Doing TAGS in $(TARGET_SUBDIR)/libgo" ; \
39427 for flag in $(EXTRA_TARGET_FLAGS); do \
39428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39429 done; \
39430 (cd $(TARGET_SUBDIR)/libgo && \
39431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39433 "RANLIB=$${RANLIB}" \
39434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39435 TAGS) \
39436 || exit 1
39438 @endif target-libgo
39440 .PHONY: maybe-install-info-target-libgo install-info-target-libgo
39441 maybe-install-info-target-libgo:
39442 @if target-libgo
39443 maybe-install-info-target-libgo: install-info-target-libgo
39445 install-info-target-libgo: \
39446 configure-target-libgo \
39447 info-target-libgo
39448 @: $(MAKE); $(unstage)
39449 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39450 r=`${PWD_COMMAND}`; export r; \
39451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39452 $(NORMAL_TARGET_EXPORTS) \
39453 echo "Doing install-info in $(TARGET_SUBDIR)/libgo" ; \
39454 for flag in $(EXTRA_TARGET_FLAGS); do \
39455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39456 done; \
39457 (cd $(TARGET_SUBDIR)/libgo && \
39458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39460 "RANLIB=$${RANLIB}" \
39461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39462 install-info) \
39463 || exit 1
39465 @endif target-libgo
39467 .PHONY: maybe-install-pdf-target-libgo install-pdf-target-libgo
39468 maybe-install-pdf-target-libgo:
39469 @if target-libgo
39470 maybe-install-pdf-target-libgo: install-pdf-target-libgo
39472 install-pdf-target-libgo: \
39473 configure-target-libgo \
39474 pdf-target-libgo
39475 @: $(MAKE); $(unstage)
39476 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39477 r=`${PWD_COMMAND}`; export r; \
39478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39479 $(NORMAL_TARGET_EXPORTS) \
39480 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgo" ; \
39481 for flag in $(EXTRA_TARGET_FLAGS); do \
39482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39483 done; \
39484 (cd $(TARGET_SUBDIR)/libgo && \
39485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39487 "RANLIB=$${RANLIB}" \
39488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39489 install-pdf) \
39490 || exit 1
39492 @endif target-libgo
39494 .PHONY: maybe-install-html-target-libgo install-html-target-libgo
39495 maybe-install-html-target-libgo:
39496 @if target-libgo
39497 maybe-install-html-target-libgo: install-html-target-libgo
39499 install-html-target-libgo: \
39500 configure-target-libgo \
39501 html-target-libgo
39502 @: $(MAKE); $(unstage)
39503 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39504 r=`${PWD_COMMAND}`; export r; \
39505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39506 $(NORMAL_TARGET_EXPORTS) \
39507 echo "Doing install-html in $(TARGET_SUBDIR)/libgo" ; \
39508 for flag in $(EXTRA_TARGET_FLAGS); do \
39509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39510 done; \
39511 (cd $(TARGET_SUBDIR)/libgo && \
39512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39514 "RANLIB=$${RANLIB}" \
39515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39516 install-html) \
39517 || exit 1
39519 @endif target-libgo
39521 .PHONY: maybe-installcheck-target-libgo installcheck-target-libgo
39522 maybe-installcheck-target-libgo:
39523 @if target-libgo
39524 maybe-installcheck-target-libgo: installcheck-target-libgo
39526 installcheck-target-libgo: \
39527 configure-target-libgo
39528 @: $(MAKE); $(unstage)
39529 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39530 r=`${PWD_COMMAND}`; export r; \
39531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39532 $(NORMAL_TARGET_EXPORTS) \
39533 echo "Doing installcheck in $(TARGET_SUBDIR)/libgo" ; \
39534 for flag in $(EXTRA_TARGET_FLAGS); do \
39535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39536 done; \
39537 (cd $(TARGET_SUBDIR)/libgo && \
39538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39540 "RANLIB=$${RANLIB}" \
39541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39542 installcheck) \
39543 || exit 1
39545 @endif target-libgo
39547 .PHONY: maybe-mostlyclean-target-libgo mostlyclean-target-libgo
39548 maybe-mostlyclean-target-libgo:
39549 @if target-libgo
39550 maybe-mostlyclean-target-libgo: mostlyclean-target-libgo
39552 mostlyclean-target-libgo:
39553 @: $(MAKE); $(unstage)
39554 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39555 r=`${PWD_COMMAND}`; export r; \
39556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39557 $(NORMAL_TARGET_EXPORTS) \
39558 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgo" ; \
39559 for flag in $(EXTRA_TARGET_FLAGS); do \
39560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39561 done; \
39562 (cd $(TARGET_SUBDIR)/libgo && \
39563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39565 "RANLIB=$${RANLIB}" \
39566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39567 mostlyclean) \
39568 || exit 1
39570 @endif target-libgo
39572 .PHONY: maybe-clean-target-libgo clean-target-libgo
39573 maybe-clean-target-libgo:
39574 @if target-libgo
39575 maybe-clean-target-libgo: clean-target-libgo
39577 clean-target-libgo:
39578 @: $(MAKE); $(unstage)
39579 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39580 r=`${PWD_COMMAND}`; export r; \
39581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39582 $(NORMAL_TARGET_EXPORTS) \
39583 echo "Doing clean in $(TARGET_SUBDIR)/libgo" ; \
39584 for flag in $(EXTRA_TARGET_FLAGS); do \
39585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39586 done; \
39587 (cd $(TARGET_SUBDIR)/libgo && \
39588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39590 "RANLIB=$${RANLIB}" \
39591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39592 clean) \
39593 || exit 1
39595 @endif target-libgo
39597 .PHONY: maybe-distclean-target-libgo distclean-target-libgo
39598 maybe-distclean-target-libgo:
39599 @if target-libgo
39600 maybe-distclean-target-libgo: distclean-target-libgo
39602 distclean-target-libgo:
39603 @: $(MAKE); $(unstage)
39604 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39605 r=`${PWD_COMMAND}`; export r; \
39606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39607 $(NORMAL_TARGET_EXPORTS) \
39608 echo "Doing distclean in $(TARGET_SUBDIR)/libgo" ; \
39609 for flag in $(EXTRA_TARGET_FLAGS); do \
39610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39611 done; \
39612 (cd $(TARGET_SUBDIR)/libgo && \
39613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39615 "RANLIB=$${RANLIB}" \
39616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39617 distclean) \
39618 || exit 1
39620 @endif target-libgo
39622 .PHONY: maybe-maintainer-clean-target-libgo maintainer-clean-target-libgo
39623 maybe-maintainer-clean-target-libgo:
39624 @if target-libgo
39625 maybe-maintainer-clean-target-libgo: maintainer-clean-target-libgo
39627 maintainer-clean-target-libgo:
39628 @: $(MAKE); $(unstage)
39629 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39630 r=`${PWD_COMMAND}`; export r; \
39631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39632 $(NORMAL_TARGET_EXPORTS) \
39633 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgo" ; \
39634 for flag in $(EXTRA_TARGET_FLAGS); do \
39635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39636 done; \
39637 (cd $(TARGET_SUBDIR)/libgo && \
39638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39640 "RANLIB=$${RANLIB}" \
39641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39642 maintainer-clean) \
39643 || exit 1
39645 @endif target-libgo
39651 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
39652 maybe-configure-target-libtermcap:
39653 @if gcc-bootstrap
39654 configure-target-libtermcap: stage_current
39655 @endif gcc-bootstrap
39656 @if target-libtermcap
39657 maybe-configure-target-libtermcap: configure-target-libtermcap
39658 configure-target-libtermcap:
39659 @: $(MAKE); $(unstage)
39660 @r=`${PWD_COMMAND}`; export r; \
39661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39662 echo "Checking multilib configuration for libtermcap..."; \
39663 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
39664 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libtermcap/multilib.tmp 2> /dev/null ; \
39665 if test -r $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
39666 if cmp -s $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
39667 rm -f $(TARGET_SUBDIR)/libtermcap/multilib.tmp; \
39668 else \
39669 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile; \
39670 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
39671 fi; \
39672 else \
39673 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
39674 fi; \
39675 test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
39676 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
39677 $(NORMAL_TARGET_EXPORTS) \
39678 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
39679 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
39680 case $(srcdir) in \
39681 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39682 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
39683 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39684 esac; \
39685 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
39686 libsrcdir="$$s/libtermcap"; \
39687 rm -f no-such-file || : ; \
39688 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
39689 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39690 --target=${target_alias} $${srcdiroption} \
39691 || exit 1
39692 @endif target-libtermcap
39698 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
39699 maybe-all-target-libtermcap:
39700 @if gcc-bootstrap
39701 all-target-libtermcap: stage_current
39702 @endif gcc-bootstrap
39703 @if target-libtermcap
39704 TARGET-target-libtermcap=all
39705 maybe-all-target-libtermcap: all-target-libtermcap
39706 all-target-libtermcap: configure-target-libtermcap
39707 @: $(MAKE); $(unstage)
39708 @r=`${PWD_COMMAND}`; export r; \
39709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39710 $(NORMAL_TARGET_EXPORTS) \
39711 (cd $(TARGET_SUBDIR)/libtermcap && \
39712 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
39713 $(TARGET-target-libtermcap))
39714 @endif target-libtermcap
39720 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
39721 maybe-check-target-libtermcap:
39722 @if target-libtermcap
39723 maybe-check-target-libtermcap: check-target-libtermcap
39725 # Dummy target for uncheckable module.
39726 check-target-libtermcap:
39728 @endif target-libtermcap
39730 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
39731 maybe-install-target-libtermcap:
39732 @if target-libtermcap
39733 maybe-install-target-libtermcap: install-target-libtermcap
39735 install-target-libtermcap: installdirs
39736 @: $(MAKE); $(unstage)
39737 @r=`${PWD_COMMAND}`; export r; \
39738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39739 $(NORMAL_TARGET_EXPORTS) \
39740 (cd $(TARGET_SUBDIR)/libtermcap && \
39741 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
39743 @endif target-libtermcap
39745 .PHONY: install-strip-target-libtermcap maybe-install-strip-target-libtermcap
39746 maybe-install-strip-target-libtermcap:
39747 @if target-libtermcap
39748 maybe-install-strip-target-libtermcap: install-strip-target-libtermcap
39750 install-strip-target-libtermcap: installdirs
39751 @: $(MAKE); $(unstage)
39752 @r=`${PWD_COMMAND}`; export r; \
39753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39754 $(NORMAL_TARGET_EXPORTS) \
39755 (cd $(TARGET_SUBDIR)/libtermcap && \
39756 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
39758 @endif target-libtermcap
39760 # Other targets (info, dvi, pdf, etc.)
39762 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
39763 maybe-info-target-libtermcap:
39764 @if target-libtermcap
39765 maybe-info-target-libtermcap: info-target-libtermcap
39767 info-target-libtermcap: \
39768 configure-target-libtermcap
39769 @: $(MAKE); $(unstage)
39770 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
39771 r=`${PWD_COMMAND}`; export r; \
39772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39773 $(NORMAL_TARGET_EXPORTS) \
39774 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
39775 for flag in $(EXTRA_TARGET_FLAGS); do \
39776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39777 done; \
39778 (cd $(TARGET_SUBDIR)/libtermcap && \
39779 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39780 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39781 "RANLIB=$${RANLIB}" \
39782 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39783 info) \
39784 || exit 1
39786 @endif target-libtermcap
39788 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
39789 maybe-dvi-target-libtermcap:
39790 @if target-libtermcap
39791 maybe-dvi-target-libtermcap: dvi-target-libtermcap
39793 dvi-target-libtermcap: \
39794 configure-target-libtermcap
39795 @: $(MAKE); $(unstage)
39796 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
39797 r=`${PWD_COMMAND}`; export r; \
39798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39799 $(NORMAL_TARGET_EXPORTS) \
39800 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
39801 for flag in $(EXTRA_TARGET_FLAGS); do \
39802 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39803 done; \
39804 (cd $(TARGET_SUBDIR)/libtermcap && \
39805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39807 "RANLIB=$${RANLIB}" \
39808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39809 dvi) \
39810 || exit 1
39812 @endif target-libtermcap
39814 .PHONY: maybe-pdf-target-libtermcap pdf-target-libtermcap
39815 maybe-pdf-target-libtermcap:
39816 @if target-libtermcap
39817 maybe-pdf-target-libtermcap: pdf-target-libtermcap
39819 pdf-target-libtermcap: \
39820 configure-target-libtermcap
39821 @: $(MAKE); $(unstage)
39822 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
39823 r=`${PWD_COMMAND}`; export r; \
39824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39825 $(NORMAL_TARGET_EXPORTS) \
39826 echo "Doing pdf in $(TARGET_SUBDIR)/libtermcap" ; \
39827 for flag in $(EXTRA_TARGET_FLAGS); do \
39828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39829 done; \
39830 (cd $(TARGET_SUBDIR)/libtermcap && \
39831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39833 "RANLIB=$${RANLIB}" \
39834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39835 pdf) \
39836 || exit 1
39838 @endif target-libtermcap
39840 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
39841 maybe-html-target-libtermcap:
39842 @if target-libtermcap
39843 maybe-html-target-libtermcap: html-target-libtermcap
39845 html-target-libtermcap: \
39846 configure-target-libtermcap
39847 @: $(MAKE); $(unstage)
39848 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
39849 r=`${PWD_COMMAND}`; export r; \
39850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39851 $(NORMAL_TARGET_EXPORTS) \
39852 echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \
39853 for flag in $(EXTRA_TARGET_FLAGS); do \
39854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39855 done; \
39856 (cd $(TARGET_SUBDIR)/libtermcap && \
39857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39859 "RANLIB=$${RANLIB}" \
39860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39861 html) \
39862 || exit 1
39864 @endif target-libtermcap
39866 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
39867 maybe-TAGS-target-libtermcap:
39868 @if target-libtermcap
39869 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
39871 TAGS-target-libtermcap: \
39872 configure-target-libtermcap
39873 @: $(MAKE); $(unstage)
39874 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
39875 r=`${PWD_COMMAND}`; export r; \
39876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39877 $(NORMAL_TARGET_EXPORTS) \
39878 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
39879 for flag in $(EXTRA_TARGET_FLAGS); do \
39880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39881 done; \
39882 (cd $(TARGET_SUBDIR)/libtermcap && \
39883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39885 "RANLIB=$${RANLIB}" \
39886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39887 TAGS) \
39888 || exit 1
39890 @endif target-libtermcap
39892 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
39893 maybe-install-info-target-libtermcap:
39894 @if target-libtermcap
39895 maybe-install-info-target-libtermcap: install-info-target-libtermcap
39897 install-info-target-libtermcap: \
39898 configure-target-libtermcap \
39899 info-target-libtermcap
39900 @: $(MAKE); $(unstage)
39901 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
39902 r=`${PWD_COMMAND}`; export r; \
39903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39904 $(NORMAL_TARGET_EXPORTS) \
39905 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
39906 for flag in $(EXTRA_TARGET_FLAGS); do \
39907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39908 done; \
39909 (cd $(TARGET_SUBDIR)/libtermcap && \
39910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39912 "RANLIB=$${RANLIB}" \
39913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39914 install-info) \
39915 || exit 1
39917 @endif target-libtermcap
39919 .PHONY: maybe-install-pdf-target-libtermcap install-pdf-target-libtermcap
39920 maybe-install-pdf-target-libtermcap:
39921 @if target-libtermcap
39922 maybe-install-pdf-target-libtermcap: install-pdf-target-libtermcap
39924 install-pdf-target-libtermcap: \
39925 configure-target-libtermcap \
39926 pdf-target-libtermcap
39927 @: $(MAKE); $(unstage)
39928 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
39929 r=`${PWD_COMMAND}`; export r; \
39930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39931 $(NORMAL_TARGET_EXPORTS) \
39932 echo "Doing install-pdf in $(TARGET_SUBDIR)/libtermcap" ; \
39933 for flag in $(EXTRA_TARGET_FLAGS); do \
39934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39935 done; \
39936 (cd $(TARGET_SUBDIR)/libtermcap && \
39937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39939 "RANLIB=$${RANLIB}" \
39940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39941 install-pdf) \
39942 || exit 1
39944 @endif target-libtermcap
39946 .PHONY: maybe-install-html-target-libtermcap install-html-target-libtermcap
39947 maybe-install-html-target-libtermcap:
39948 @if target-libtermcap
39949 maybe-install-html-target-libtermcap: install-html-target-libtermcap
39951 install-html-target-libtermcap: \
39952 configure-target-libtermcap \
39953 html-target-libtermcap
39954 @: $(MAKE); $(unstage)
39955 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
39956 r=`${PWD_COMMAND}`; export r; \
39957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39958 $(NORMAL_TARGET_EXPORTS) \
39959 echo "Doing install-html in $(TARGET_SUBDIR)/libtermcap" ; \
39960 for flag in $(EXTRA_TARGET_FLAGS); do \
39961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39962 done; \
39963 (cd $(TARGET_SUBDIR)/libtermcap && \
39964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39966 "RANLIB=$${RANLIB}" \
39967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39968 install-html) \
39969 || exit 1
39971 @endif target-libtermcap
39973 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
39974 maybe-installcheck-target-libtermcap:
39975 @if target-libtermcap
39976 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
39978 installcheck-target-libtermcap: \
39979 configure-target-libtermcap
39980 @: $(MAKE); $(unstage)
39981 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
39982 r=`${PWD_COMMAND}`; export r; \
39983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39984 $(NORMAL_TARGET_EXPORTS) \
39985 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
39986 for flag in $(EXTRA_TARGET_FLAGS); do \
39987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39988 done; \
39989 (cd $(TARGET_SUBDIR)/libtermcap && \
39990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39992 "RANLIB=$${RANLIB}" \
39993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39994 installcheck) \
39995 || exit 1
39997 @endif target-libtermcap
39999 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
40000 maybe-mostlyclean-target-libtermcap:
40001 @if target-libtermcap
40002 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
40004 # libtermcap doesn't support mostlyclean.
40005 mostlyclean-target-libtermcap:
40007 @endif target-libtermcap
40009 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
40010 maybe-clean-target-libtermcap:
40011 @if target-libtermcap
40012 maybe-clean-target-libtermcap: clean-target-libtermcap
40014 # libtermcap doesn't support clean.
40015 clean-target-libtermcap:
40017 @endif target-libtermcap
40019 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
40020 maybe-distclean-target-libtermcap:
40021 @if target-libtermcap
40022 maybe-distclean-target-libtermcap: distclean-target-libtermcap
40024 # libtermcap doesn't support distclean.
40025 distclean-target-libtermcap:
40027 @endif target-libtermcap
40029 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
40030 maybe-maintainer-clean-target-libtermcap:
40031 @if target-libtermcap
40032 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
40034 # libtermcap doesn't support maintainer-clean.
40035 maintainer-clean-target-libtermcap:
40037 @endif target-libtermcap
40043 .PHONY: configure-target-winsup maybe-configure-target-winsup
40044 maybe-configure-target-winsup:
40045 @if gcc-bootstrap
40046 configure-target-winsup: stage_current
40047 @endif gcc-bootstrap
40048 @if target-winsup
40049 maybe-configure-target-winsup: configure-target-winsup
40050 configure-target-winsup:
40051 @: $(MAKE); $(unstage)
40052 @r=`${PWD_COMMAND}`; export r; \
40053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40054 echo "Checking multilib configuration for winsup..."; \
40055 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
40056 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/winsup/multilib.tmp 2> /dev/null ; \
40057 if test -r $(TARGET_SUBDIR)/winsup/multilib.out; then \
40058 if cmp -s $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; then \
40059 rm -f $(TARGET_SUBDIR)/winsup/multilib.tmp; \
40060 else \
40061 rm -f $(TARGET_SUBDIR)/winsup/Makefile; \
40062 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
40063 fi; \
40064 else \
40065 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
40066 fi; \
40067 test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
40068 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
40069 $(NORMAL_TARGET_EXPORTS) \
40070 echo Configuring in $(TARGET_SUBDIR)/winsup; \
40071 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
40072 case $(srcdir) in \
40073 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40074 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
40075 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40076 esac; \
40077 srcdiroption="--srcdir=$${topdir}/winsup"; \
40078 libsrcdir="$$s/winsup"; \
40079 rm -f no-such-file || : ; \
40080 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
40081 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40082 --target=${target_alias} $${srcdiroption} \
40083 || exit 1
40084 @endif target-winsup
40090 .PHONY: all-target-winsup maybe-all-target-winsup
40091 maybe-all-target-winsup:
40092 @if gcc-bootstrap
40093 all-target-winsup: stage_current
40094 @endif gcc-bootstrap
40095 @if target-winsup
40096 TARGET-target-winsup=all
40097 maybe-all-target-winsup: all-target-winsup
40098 all-target-winsup: configure-target-winsup
40099 @: $(MAKE); $(unstage)
40100 @r=`${PWD_COMMAND}`; export r; \
40101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40102 $(NORMAL_TARGET_EXPORTS) \
40103 (cd $(TARGET_SUBDIR)/winsup && \
40104 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
40105 $(TARGET-target-winsup))
40106 @endif target-winsup
40112 .PHONY: check-target-winsup maybe-check-target-winsup
40113 maybe-check-target-winsup:
40114 @if target-winsup
40115 maybe-check-target-winsup: check-target-winsup
40117 check-target-winsup:
40118 @: $(MAKE); $(unstage)
40119 @r=`${PWD_COMMAND}`; export r; \
40120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40121 $(NORMAL_TARGET_EXPORTS) \
40122 (cd $(TARGET_SUBDIR)/winsup && \
40123 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
40125 @endif target-winsup
40127 .PHONY: install-target-winsup maybe-install-target-winsup
40128 maybe-install-target-winsup:
40129 @if target-winsup
40130 maybe-install-target-winsup: install-target-winsup
40132 install-target-winsup: installdirs
40133 @: $(MAKE); $(unstage)
40134 @r=`${PWD_COMMAND}`; export r; \
40135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40136 $(NORMAL_TARGET_EXPORTS) \
40137 (cd $(TARGET_SUBDIR)/winsup && \
40138 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40140 @endif target-winsup
40142 .PHONY: install-strip-target-winsup maybe-install-strip-target-winsup
40143 maybe-install-strip-target-winsup:
40144 @if target-winsup
40145 maybe-install-strip-target-winsup: install-strip-target-winsup
40147 install-strip-target-winsup: installdirs
40148 @: $(MAKE); $(unstage)
40149 @r=`${PWD_COMMAND}`; export r; \
40150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40151 $(NORMAL_TARGET_EXPORTS) \
40152 (cd $(TARGET_SUBDIR)/winsup && \
40153 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
40155 @endif target-winsup
40157 # Other targets (info, dvi, pdf, etc.)
40159 .PHONY: maybe-info-target-winsup info-target-winsup
40160 maybe-info-target-winsup:
40161 @if target-winsup
40162 maybe-info-target-winsup: info-target-winsup
40164 info-target-winsup: \
40165 configure-target-winsup
40166 @: $(MAKE); $(unstage)
40167 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40168 r=`${PWD_COMMAND}`; export r; \
40169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40170 $(NORMAL_TARGET_EXPORTS) \
40171 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
40172 for flag in $(EXTRA_TARGET_FLAGS); do \
40173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40174 done; \
40175 (cd $(TARGET_SUBDIR)/winsup && \
40176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40178 "RANLIB=$${RANLIB}" \
40179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40180 info) \
40181 || exit 1
40183 @endif target-winsup
40185 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
40186 maybe-dvi-target-winsup:
40187 @if target-winsup
40188 maybe-dvi-target-winsup: dvi-target-winsup
40190 dvi-target-winsup: \
40191 configure-target-winsup
40192 @: $(MAKE); $(unstage)
40193 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40194 r=`${PWD_COMMAND}`; export r; \
40195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40196 $(NORMAL_TARGET_EXPORTS) \
40197 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
40198 for flag in $(EXTRA_TARGET_FLAGS); do \
40199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40200 done; \
40201 (cd $(TARGET_SUBDIR)/winsup && \
40202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40204 "RANLIB=$${RANLIB}" \
40205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40206 dvi) \
40207 || exit 1
40209 @endif target-winsup
40211 .PHONY: maybe-pdf-target-winsup pdf-target-winsup
40212 maybe-pdf-target-winsup:
40213 @if target-winsup
40214 maybe-pdf-target-winsup: pdf-target-winsup
40216 pdf-target-winsup: \
40217 configure-target-winsup
40218 @: $(MAKE); $(unstage)
40219 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40220 r=`${PWD_COMMAND}`; export r; \
40221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40222 $(NORMAL_TARGET_EXPORTS) \
40223 echo "Doing pdf in $(TARGET_SUBDIR)/winsup" ; \
40224 for flag in $(EXTRA_TARGET_FLAGS); do \
40225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40226 done; \
40227 (cd $(TARGET_SUBDIR)/winsup && \
40228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40230 "RANLIB=$${RANLIB}" \
40231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40232 pdf) \
40233 || exit 1
40235 @endif target-winsup
40237 .PHONY: maybe-html-target-winsup html-target-winsup
40238 maybe-html-target-winsup:
40239 @if target-winsup
40240 maybe-html-target-winsup: html-target-winsup
40242 html-target-winsup: \
40243 configure-target-winsup
40244 @: $(MAKE); $(unstage)
40245 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40246 r=`${PWD_COMMAND}`; export r; \
40247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40248 $(NORMAL_TARGET_EXPORTS) \
40249 echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \
40250 for flag in $(EXTRA_TARGET_FLAGS); do \
40251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40252 done; \
40253 (cd $(TARGET_SUBDIR)/winsup && \
40254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40256 "RANLIB=$${RANLIB}" \
40257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40258 html) \
40259 || exit 1
40261 @endif target-winsup
40263 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
40264 maybe-TAGS-target-winsup:
40265 @if target-winsup
40266 maybe-TAGS-target-winsup: TAGS-target-winsup
40268 TAGS-target-winsup: \
40269 configure-target-winsup
40270 @: $(MAKE); $(unstage)
40271 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40272 r=`${PWD_COMMAND}`; export r; \
40273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40274 $(NORMAL_TARGET_EXPORTS) \
40275 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
40276 for flag in $(EXTRA_TARGET_FLAGS); do \
40277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40278 done; \
40279 (cd $(TARGET_SUBDIR)/winsup && \
40280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40282 "RANLIB=$${RANLIB}" \
40283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40284 TAGS) \
40285 || exit 1
40287 @endif target-winsup
40289 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
40290 maybe-install-info-target-winsup:
40291 @if target-winsup
40292 maybe-install-info-target-winsup: install-info-target-winsup
40294 install-info-target-winsup: \
40295 configure-target-winsup \
40296 info-target-winsup
40297 @: $(MAKE); $(unstage)
40298 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40299 r=`${PWD_COMMAND}`; export r; \
40300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40301 $(NORMAL_TARGET_EXPORTS) \
40302 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
40303 for flag in $(EXTRA_TARGET_FLAGS); do \
40304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40305 done; \
40306 (cd $(TARGET_SUBDIR)/winsup && \
40307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40309 "RANLIB=$${RANLIB}" \
40310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40311 install-info) \
40312 || exit 1
40314 @endif target-winsup
40316 .PHONY: maybe-install-pdf-target-winsup install-pdf-target-winsup
40317 maybe-install-pdf-target-winsup:
40318 @if target-winsup
40319 maybe-install-pdf-target-winsup: install-pdf-target-winsup
40321 install-pdf-target-winsup: \
40322 configure-target-winsup \
40323 pdf-target-winsup
40324 @: $(MAKE); $(unstage)
40325 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40326 r=`${PWD_COMMAND}`; export r; \
40327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40328 $(NORMAL_TARGET_EXPORTS) \
40329 echo "Doing install-pdf in $(TARGET_SUBDIR)/winsup" ; \
40330 for flag in $(EXTRA_TARGET_FLAGS); do \
40331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40332 done; \
40333 (cd $(TARGET_SUBDIR)/winsup && \
40334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40336 "RANLIB=$${RANLIB}" \
40337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40338 install-pdf) \
40339 || exit 1
40341 @endif target-winsup
40343 .PHONY: maybe-install-html-target-winsup install-html-target-winsup
40344 maybe-install-html-target-winsup:
40345 @if target-winsup
40346 maybe-install-html-target-winsup: install-html-target-winsup
40348 install-html-target-winsup: \
40349 configure-target-winsup \
40350 html-target-winsup
40351 @: $(MAKE); $(unstage)
40352 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40353 r=`${PWD_COMMAND}`; export r; \
40354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40355 $(NORMAL_TARGET_EXPORTS) \
40356 echo "Doing install-html in $(TARGET_SUBDIR)/winsup" ; \
40357 for flag in $(EXTRA_TARGET_FLAGS); do \
40358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40359 done; \
40360 (cd $(TARGET_SUBDIR)/winsup && \
40361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40363 "RANLIB=$${RANLIB}" \
40364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40365 install-html) \
40366 || exit 1
40368 @endif target-winsup
40370 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
40371 maybe-installcheck-target-winsup:
40372 @if target-winsup
40373 maybe-installcheck-target-winsup: installcheck-target-winsup
40375 installcheck-target-winsup: \
40376 configure-target-winsup
40377 @: $(MAKE); $(unstage)
40378 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40379 r=`${PWD_COMMAND}`; export r; \
40380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40381 $(NORMAL_TARGET_EXPORTS) \
40382 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
40383 for flag in $(EXTRA_TARGET_FLAGS); do \
40384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40385 done; \
40386 (cd $(TARGET_SUBDIR)/winsup && \
40387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40389 "RANLIB=$${RANLIB}" \
40390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40391 installcheck) \
40392 || exit 1
40394 @endif target-winsup
40396 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
40397 maybe-mostlyclean-target-winsup:
40398 @if target-winsup
40399 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
40401 mostlyclean-target-winsup:
40402 @: $(MAKE); $(unstage)
40403 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40404 r=`${PWD_COMMAND}`; export r; \
40405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40406 $(NORMAL_TARGET_EXPORTS) \
40407 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
40408 for flag in $(EXTRA_TARGET_FLAGS); do \
40409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40410 done; \
40411 (cd $(TARGET_SUBDIR)/winsup && \
40412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40414 "RANLIB=$${RANLIB}" \
40415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40416 mostlyclean) \
40417 || exit 1
40419 @endif target-winsup
40421 .PHONY: maybe-clean-target-winsup clean-target-winsup
40422 maybe-clean-target-winsup:
40423 @if target-winsup
40424 maybe-clean-target-winsup: clean-target-winsup
40426 clean-target-winsup:
40427 @: $(MAKE); $(unstage)
40428 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40429 r=`${PWD_COMMAND}`; export r; \
40430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40431 $(NORMAL_TARGET_EXPORTS) \
40432 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
40433 for flag in $(EXTRA_TARGET_FLAGS); do \
40434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40435 done; \
40436 (cd $(TARGET_SUBDIR)/winsup && \
40437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40439 "RANLIB=$${RANLIB}" \
40440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40441 clean) \
40442 || exit 1
40444 @endif target-winsup
40446 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
40447 maybe-distclean-target-winsup:
40448 @if target-winsup
40449 maybe-distclean-target-winsup: distclean-target-winsup
40451 distclean-target-winsup:
40452 @: $(MAKE); $(unstage)
40453 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40454 r=`${PWD_COMMAND}`; export r; \
40455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40456 $(NORMAL_TARGET_EXPORTS) \
40457 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
40458 for flag in $(EXTRA_TARGET_FLAGS); do \
40459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40460 done; \
40461 (cd $(TARGET_SUBDIR)/winsup && \
40462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40464 "RANLIB=$${RANLIB}" \
40465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40466 distclean) \
40467 || exit 1
40469 @endif target-winsup
40471 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
40472 maybe-maintainer-clean-target-winsup:
40473 @if target-winsup
40474 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
40476 maintainer-clean-target-winsup:
40477 @: $(MAKE); $(unstage)
40478 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40479 r=`${PWD_COMMAND}`; export r; \
40480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40481 $(NORMAL_TARGET_EXPORTS) \
40482 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
40483 for flag in $(EXTRA_TARGET_FLAGS); do \
40484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40485 done; \
40486 (cd $(TARGET_SUBDIR)/winsup && \
40487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40489 "RANLIB=$${RANLIB}" \
40490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40491 maintainer-clean) \
40492 || exit 1
40494 @endif target-winsup
40500 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
40501 maybe-configure-target-libgloss:
40502 @if gcc-bootstrap
40503 configure-target-libgloss: stage_current
40504 @endif gcc-bootstrap
40505 @if target-libgloss
40506 maybe-configure-target-libgloss: configure-target-libgloss
40507 configure-target-libgloss:
40508 @: $(MAKE); $(unstage)
40509 @r=`${PWD_COMMAND}`; export r; \
40510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40511 echo "Checking multilib configuration for libgloss..."; \
40512 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
40513 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgloss/multilib.tmp 2> /dev/null ; \
40514 if test -r $(TARGET_SUBDIR)/libgloss/multilib.out; then \
40515 if cmp -s $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; then \
40516 rm -f $(TARGET_SUBDIR)/libgloss/multilib.tmp; \
40517 else \
40518 rm -f $(TARGET_SUBDIR)/libgloss/Makefile; \
40519 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
40520 fi; \
40521 else \
40522 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
40523 fi; \
40524 test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
40525 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
40526 $(NORMAL_TARGET_EXPORTS) \
40527 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
40528 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
40529 case $(srcdir) in \
40530 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40531 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
40532 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40533 esac; \
40534 srcdiroption="--srcdir=$${topdir}/libgloss"; \
40535 libsrcdir="$$s/libgloss"; \
40536 rm -f no-such-file || : ; \
40537 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
40538 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40539 --target=${target_alias} $${srcdiroption} \
40540 || exit 1
40541 @endif target-libgloss
40547 .PHONY: all-target-libgloss maybe-all-target-libgloss
40548 maybe-all-target-libgloss:
40549 @if gcc-bootstrap
40550 all-target-libgloss: stage_current
40551 @endif gcc-bootstrap
40552 @if target-libgloss
40553 TARGET-target-libgloss=all
40554 maybe-all-target-libgloss: all-target-libgloss
40555 all-target-libgloss: configure-target-libgloss
40556 @: $(MAKE); $(unstage)
40557 @r=`${PWD_COMMAND}`; export r; \
40558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40559 $(NORMAL_TARGET_EXPORTS) \
40560 (cd $(TARGET_SUBDIR)/libgloss && \
40561 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
40562 $(TARGET-target-libgloss))
40563 @endif target-libgloss
40569 .PHONY: check-target-libgloss maybe-check-target-libgloss
40570 maybe-check-target-libgloss:
40571 @if target-libgloss
40572 maybe-check-target-libgloss: check-target-libgloss
40574 # Dummy target for uncheckable module.
40575 check-target-libgloss:
40577 @endif target-libgloss
40579 .PHONY: install-target-libgloss maybe-install-target-libgloss
40580 maybe-install-target-libgloss:
40581 @if target-libgloss
40582 maybe-install-target-libgloss: install-target-libgloss
40584 install-target-libgloss: installdirs
40585 @: $(MAKE); $(unstage)
40586 @r=`${PWD_COMMAND}`; export r; \
40587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40588 $(NORMAL_TARGET_EXPORTS) \
40589 (cd $(TARGET_SUBDIR)/libgloss && \
40590 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40592 @endif target-libgloss
40594 .PHONY: install-strip-target-libgloss maybe-install-strip-target-libgloss
40595 maybe-install-strip-target-libgloss:
40596 @if target-libgloss
40597 maybe-install-strip-target-libgloss: install-strip-target-libgloss
40599 install-strip-target-libgloss: installdirs
40600 @: $(MAKE); $(unstage)
40601 @r=`${PWD_COMMAND}`; export r; \
40602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40603 $(NORMAL_TARGET_EXPORTS) \
40604 (cd $(TARGET_SUBDIR)/libgloss && \
40605 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
40607 @endif target-libgloss
40609 # Other targets (info, dvi, pdf, etc.)
40611 .PHONY: maybe-info-target-libgloss info-target-libgloss
40612 maybe-info-target-libgloss:
40613 @if target-libgloss
40614 maybe-info-target-libgloss: info-target-libgloss
40616 info-target-libgloss: \
40617 configure-target-libgloss
40618 @: $(MAKE); $(unstage)
40619 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
40620 r=`${PWD_COMMAND}`; export r; \
40621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40622 $(NORMAL_TARGET_EXPORTS) \
40623 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
40624 for flag in $(EXTRA_TARGET_FLAGS); do \
40625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40626 done; \
40627 (cd $(TARGET_SUBDIR)/libgloss && \
40628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40630 "RANLIB=$${RANLIB}" \
40631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40632 info) \
40633 || exit 1
40635 @endif target-libgloss
40637 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
40638 maybe-dvi-target-libgloss:
40639 @if target-libgloss
40640 maybe-dvi-target-libgloss: dvi-target-libgloss
40642 dvi-target-libgloss: \
40643 configure-target-libgloss
40644 @: $(MAKE); $(unstage)
40645 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
40646 r=`${PWD_COMMAND}`; export r; \
40647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40648 $(NORMAL_TARGET_EXPORTS) \
40649 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
40650 for flag in $(EXTRA_TARGET_FLAGS); do \
40651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40652 done; \
40653 (cd $(TARGET_SUBDIR)/libgloss && \
40654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40656 "RANLIB=$${RANLIB}" \
40657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40658 dvi) \
40659 || exit 1
40661 @endif target-libgloss
40663 .PHONY: maybe-pdf-target-libgloss pdf-target-libgloss
40664 maybe-pdf-target-libgloss:
40665 @if target-libgloss
40666 maybe-pdf-target-libgloss: pdf-target-libgloss
40668 pdf-target-libgloss: \
40669 configure-target-libgloss
40670 @: $(MAKE); $(unstage)
40671 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
40672 r=`${PWD_COMMAND}`; export r; \
40673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40674 $(NORMAL_TARGET_EXPORTS) \
40675 echo "Doing pdf in $(TARGET_SUBDIR)/libgloss" ; \
40676 for flag in $(EXTRA_TARGET_FLAGS); do \
40677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40678 done; \
40679 (cd $(TARGET_SUBDIR)/libgloss && \
40680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40682 "RANLIB=$${RANLIB}" \
40683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40684 pdf) \
40685 || exit 1
40687 @endif target-libgloss
40689 .PHONY: maybe-html-target-libgloss html-target-libgloss
40690 maybe-html-target-libgloss:
40691 @if target-libgloss
40692 maybe-html-target-libgloss: html-target-libgloss
40694 html-target-libgloss: \
40695 configure-target-libgloss
40696 @: $(MAKE); $(unstage)
40697 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
40698 r=`${PWD_COMMAND}`; export r; \
40699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40700 $(NORMAL_TARGET_EXPORTS) \
40701 echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \
40702 for flag in $(EXTRA_TARGET_FLAGS); do \
40703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40704 done; \
40705 (cd $(TARGET_SUBDIR)/libgloss && \
40706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40708 "RANLIB=$${RANLIB}" \
40709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40710 html) \
40711 || exit 1
40713 @endif target-libgloss
40715 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
40716 maybe-TAGS-target-libgloss:
40717 @if target-libgloss
40718 maybe-TAGS-target-libgloss: TAGS-target-libgloss
40720 TAGS-target-libgloss: \
40721 configure-target-libgloss
40722 @: $(MAKE); $(unstage)
40723 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
40724 r=`${PWD_COMMAND}`; export r; \
40725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40726 $(NORMAL_TARGET_EXPORTS) \
40727 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
40728 for flag in $(EXTRA_TARGET_FLAGS); do \
40729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40730 done; \
40731 (cd $(TARGET_SUBDIR)/libgloss && \
40732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40734 "RANLIB=$${RANLIB}" \
40735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40736 TAGS) \
40737 || exit 1
40739 @endif target-libgloss
40741 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
40742 maybe-install-info-target-libgloss:
40743 @if target-libgloss
40744 maybe-install-info-target-libgloss: install-info-target-libgloss
40746 install-info-target-libgloss: \
40747 configure-target-libgloss \
40748 info-target-libgloss
40749 @: $(MAKE); $(unstage)
40750 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
40751 r=`${PWD_COMMAND}`; export r; \
40752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40753 $(NORMAL_TARGET_EXPORTS) \
40754 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
40755 for flag in $(EXTRA_TARGET_FLAGS); do \
40756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40757 done; \
40758 (cd $(TARGET_SUBDIR)/libgloss && \
40759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40761 "RANLIB=$${RANLIB}" \
40762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40763 install-info) \
40764 || exit 1
40766 @endif target-libgloss
40768 .PHONY: maybe-install-pdf-target-libgloss install-pdf-target-libgloss
40769 maybe-install-pdf-target-libgloss:
40770 @if target-libgloss
40771 maybe-install-pdf-target-libgloss: install-pdf-target-libgloss
40773 install-pdf-target-libgloss: \
40774 configure-target-libgloss \
40775 pdf-target-libgloss
40776 @: $(MAKE); $(unstage)
40777 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
40778 r=`${PWD_COMMAND}`; export r; \
40779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40780 $(NORMAL_TARGET_EXPORTS) \
40781 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgloss" ; \
40782 for flag in $(EXTRA_TARGET_FLAGS); do \
40783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40784 done; \
40785 (cd $(TARGET_SUBDIR)/libgloss && \
40786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40788 "RANLIB=$${RANLIB}" \
40789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40790 install-pdf) \
40791 || exit 1
40793 @endif target-libgloss
40795 .PHONY: maybe-install-html-target-libgloss install-html-target-libgloss
40796 maybe-install-html-target-libgloss:
40797 @if target-libgloss
40798 maybe-install-html-target-libgloss: install-html-target-libgloss
40800 install-html-target-libgloss: \
40801 configure-target-libgloss \
40802 html-target-libgloss
40803 @: $(MAKE); $(unstage)
40804 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
40805 r=`${PWD_COMMAND}`; export r; \
40806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40807 $(NORMAL_TARGET_EXPORTS) \
40808 echo "Doing install-html in $(TARGET_SUBDIR)/libgloss" ; \
40809 for flag in $(EXTRA_TARGET_FLAGS); do \
40810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40811 done; \
40812 (cd $(TARGET_SUBDIR)/libgloss && \
40813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40815 "RANLIB=$${RANLIB}" \
40816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40817 install-html) \
40818 || exit 1
40820 @endif target-libgloss
40822 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
40823 maybe-installcheck-target-libgloss:
40824 @if target-libgloss
40825 maybe-installcheck-target-libgloss: installcheck-target-libgloss
40827 installcheck-target-libgloss: \
40828 configure-target-libgloss
40829 @: $(MAKE); $(unstage)
40830 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
40831 r=`${PWD_COMMAND}`; export r; \
40832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40833 $(NORMAL_TARGET_EXPORTS) \
40834 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
40835 for flag in $(EXTRA_TARGET_FLAGS); do \
40836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40837 done; \
40838 (cd $(TARGET_SUBDIR)/libgloss && \
40839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40841 "RANLIB=$${RANLIB}" \
40842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40843 installcheck) \
40844 || exit 1
40846 @endif target-libgloss
40848 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
40849 maybe-mostlyclean-target-libgloss:
40850 @if target-libgloss
40851 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
40853 mostlyclean-target-libgloss:
40854 @: $(MAKE); $(unstage)
40855 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
40856 r=`${PWD_COMMAND}`; export r; \
40857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40858 $(NORMAL_TARGET_EXPORTS) \
40859 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
40860 for flag in $(EXTRA_TARGET_FLAGS); do \
40861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40862 done; \
40863 (cd $(TARGET_SUBDIR)/libgloss && \
40864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40866 "RANLIB=$${RANLIB}" \
40867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40868 mostlyclean) \
40869 || exit 1
40871 @endif target-libgloss
40873 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
40874 maybe-clean-target-libgloss:
40875 @if target-libgloss
40876 maybe-clean-target-libgloss: clean-target-libgloss
40878 clean-target-libgloss:
40879 @: $(MAKE); $(unstage)
40880 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
40881 r=`${PWD_COMMAND}`; export r; \
40882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40883 $(NORMAL_TARGET_EXPORTS) \
40884 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
40885 for flag in $(EXTRA_TARGET_FLAGS); do \
40886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40887 done; \
40888 (cd $(TARGET_SUBDIR)/libgloss && \
40889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40891 "RANLIB=$${RANLIB}" \
40892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40893 clean) \
40894 || exit 1
40896 @endif target-libgloss
40898 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
40899 maybe-distclean-target-libgloss:
40900 @if target-libgloss
40901 maybe-distclean-target-libgloss: distclean-target-libgloss
40903 distclean-target-libgloss:
40904 @: $(MAKE); $(unstage)
40905 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
40906 r=`${PWD_COMMAND}`; export r; \
40907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40908 $(NORMAL_TARGET_EXPORTS) \
40909 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
40910 for flag in $(EXTRA_TARGET_FLAGS); do \
40911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40912 done; \
40913 (cd $(TARGET_SUBDIR)/libgloss && \
40914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40916 "RANLIB=$${RANLIB}" \
40917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40918 distclean) \
40919 || exit 1
40921 @endif target-libgloss
40923 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
40924 maybe-maintainer-clean-target-libgloss:
40925 @if target-libgloss
40926 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
40928 maintainer-clean-target-libgloss:
40929 @: $(MAKE); $(unstage)
40930 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
40931 r=`${PWD_COMMAND}`; export r; \
40932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40933 $(NORMAL_TARGET_EXPORTS) \
40934 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
40935 for flag in $(EXTRA_TARGET_FLAGS); do \
40936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40937 done; \
40938 (cd $(TARGET_SUBDIR)/libgloss && \
40939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40941 "RANLIB=$${RANLIB}" \
40942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40943 maintainer-clean) \
40944 || exit 1
40946 @endif target-libgloss
40952 .PHONY: configure-target-libffi maybe-configure-target-libffi
40953 maybe-configure-target-libffi:
40954 @if gcc-bootstrap
40955 configure-target-libffi: stage_current
40956 @endif gcc-bootstrap
40957 @if target-libffi
40958 maybe-configure-target-libffi: configure-target-libffi
40959 configure-target-libffi:
40960 @: $(MAKE); $(unstage)
40961 @r=`${PWD_COMMAND}`; export r; \
40962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40963 echo "Checking multilib configuration for libffi..."; \
40964 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
40965 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libffi/multilib.tmp 2> /dev/null ; \
40966 if test -r $(TARGET_SUBDIR)/libffi/multilib.out; then \
40967 if cmp -s $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; then \
40968 rm -f $(TARGET_SUBDIR)/libffi/multilib.tmp; \
40969 else \
40970 rm -f $(TARGET_SUBDIR)/libffi/Makefile; \
40971 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
40972 fi; \
40973 else \
40974 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
40975 fi; \
40976 test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
40977 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
40978 $(NORMAL_TARGET_EXPORTS) \
40979 echo Configuring in $(TARGET_SUBDIR)/libffi; \
40980 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
40981 case $(srcdir) in \
40982 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40983 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
40984 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40985 esac; \
40986 srcdiroption="--srcdir=$${topdir}/libffi"; \
40987 libsrcdir="$$s/libffi"; \
40988 rm -f no-such-file || : ; \
40989 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
40990 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40991 --target=${target_alias} $${srcdiroption} \
40992 || exit 1
40993 @endif target-libffi
40999 .PHONY: all-target-libffi maybe-all-target-libffi
41000 maybe-all-target-libffi:
41001 @if gcc-bootstrap
41002 all-target-libffi: stage_current
41003 @endif gcc-bootstrap
41004 @if target-libffi
41005 TARGET-target-libffi=all
41006 maybe-all-target-libffi: all-target-libffi
41007 all-target-libffi: configure-target-libffi
41008 @: $(MAKE); $(unstage)
41009 @r=`${PWD_COMMAND}`; export r; \
41010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41011 $(NORMAL_TARGET_EXPORTS) \
41012 (cd $(TARGET_SUBDIR)/libffi && \
41013 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
41014 $(TARGET-target-libffi))
41015 @endif target-libffi
41021 .PHONY: check-target-libffi maybe-check-target-libffi
41022 maybe-check-target-libffi:
41023 @if target-libffi
41024 maybe-check-target-libffi: check-target-libffi
41026 check-target-libffi:
41027 @: $(MAKE); $(unstage)
41028 @r=`${PWD_COMMAND}`; export r; \
41029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41030 $(NORMAL_TARGET_EXPORTS) \
41031 (cd $(TARGET_SUBDIR)/libffi && \
41032 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
41034 @endif target-libffi
41036 .PHONY: install-target-libffi maybe-install-target-libffi
41037 maybe-install-target-libffi:
41038 @if target-libffi
41039 maybe-install-target-libffi: install-target-libffi
41041 # Dummy target for uninstallable.
41042 install-target-libffi:
41044 @endif target-libffi
41046 .PHONY: install-strip-target-libffi maybe-install-strip-target-libffi
41047 maybe-install-strip-target-libffi:
41048 @if target-libffi
41049 maybe-install-strip-target-libffi: install-strip-target-libffi
41051 # Dummy target for uninstallable.
41052 install-strip-target-libffi:
41054 @endif target-libffi
41056 # Other targets (info, dvi, pdf, etc.)
41058 .PHONY: maybe-info-target-libffi info-target-libffi
41059 maybe-info-target-libffi:
41060 @if target-libffi
41061 maybe-info-target-libffi: info-target-libffi
41063 info-target-libffi: \
41064 configure-target-libffi
41065 @: $(MAKE); $(unstage)
41066 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41067 r=`${PWD_COMMAND}`; export r; \
41068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41069 $(NORMAL_TARGET_EXPORTS) \
41070 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
41071 for flag in $(EXTRA_TARGET_FLAGS); do \
41072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41073 done; \
41074 (cd $(TARGET_SUBDIR)/libffi && \
41075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41077 "RANLIB=$${RANLIB}" \
41078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41079 info) \
41080 || exit 1
41082 @endif target-libffi
41084 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
41085 maybe-dvi-target-libffi:
41086 @if target-libffi
41087 maybe-dvi-target-libffi: dvi-target-libffi
41089 dvi-target-libffi: \
41090 configure-target-libffi
41091 @: $(MAKE); $(unstage)
41092 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41093 r=`${PWD_COMMAND}`; export r; \
41094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41095 $(NORMAL_TARGET_EXPORTS) \
41096 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
41097 for flag in $(EXTRA_TARGET_FLAGS); do \
41098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41099 done; \
41100 (cd $(TARGET_SUBDIR)/libffi && \
41101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41103 "RANLIB=$${RANLIB}" \
41104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41105 dvi) \
41106 || exit 1
41108 @endif target-libffi
41110 .PHONY: maybe-pdf-target-libffi pdf-target-libffi
41111 maybe-pdf-target-libffi:
41112 @if target-libffi
41113 maybe-pdf-target-libffi: pdf-target-libffi
41115 pdf-target-libffi: \
41116 configure-target-libffi
41117 @: $(MAKE); $(unstage)
41118 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41119 r=`${PWD_COMMAND}`; export r; \
41120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41121 $(NORMAL_TARGET_EXPORTS) \
41122 echo "Doing pdf in $(TARGET_SUBDIR)/libffi" ; \
41123 for flag in $(EXTRA_TARGET_FLAGS); do \
41124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41125 done; \
41126 (cd $(TARGET_SUBDIR)/libffi && \
41127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41129 "RANLIB=$${RANLIB}" \
41130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41131 pdf) \
41132 || exit 1
41134 @endif target-libffi
41136 .PHONY: maybe-html-target-libffi html-target-libffi
41137 maybe-html-target-libffi:
41138 @if target-libffi
41139 maybe-html-target-libffi: html-target-libffi
41141 html-target-libffi: \
41142 configure-target-libffi
41143 @: $(MAKE); $(unstage)
41144 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41145 r=`${PWD_COMMAND}`; export r; \
41146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41147 $(NORMAL_TARGET_EXPORTS) \
41148 echo "Doing html in $(TARGET_SUBDIR)/libffi" ; \
41149 for flag in $(EXTRA_TARGET_FLAGS); do \
41150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41151 done; \
41152 (cd $(TARGET_SUBDIR)/libffi && \
41153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41155 "RANLIB=$${RANLIB}" \
41156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41157 html) \
41158 || exit 1
41160 @endif target-libffi
41162 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
41163 maybe-TAGS-target-libffi:
41164 @if target-libffi
41165 maybe-TAGS-target-libffi: TAGS-target-libffi
41167 TAGS-target-libffi: \
41168 configure-target-libffi
41169 @: $(MAKE); $(unstage)
41170 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41171 r=`${PWD_COMMAND}`; export r; \
41172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41173 $(NORMAL_TARGET_EXPORTS) \
41174 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
41175 for flag in $(EXTRA_TARGET_FLAGS); do \
41176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41177 done; \
41178 (cd $(TARGET_SUBDIR)/libffi && \
41179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41181 "RANLIB=$${RANLIB}" \
41182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41183 TAGS) \
41184 || exit 1
41186 @endif target-libffi
41188 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
41189 maybe-install-info-target-libffi:
41190 @if target-libffi
41191 maybe-install-info-target-libffi: install-info-target-libffi
41193 install-info-target-libffi: \
41194 configure-target-libffi \
41195 info-target-libffi
41196 @: $(MAKE); $(unstage)
41197 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41198 r=`${PWD_COMMAND}`; export r; \
41199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41200 $(NORMAL_TARGET_EXPORTS) \
41201 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
41202 for flag in $(EXTRA_TARGET_FLAGS); do \
41203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41204 done; \
41205 (cd $(TARGET_SUBDIR)/libffi && \
41206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41208 "RANLIB=$${RANLIB}" \
41209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41210 install-info) \
41211 || exit 1
41213 @endif target-libffi
41215 .PHONY: maybe-install-pdf-target-libffi install-pdf-target-libffi
41216 maybe-install-pdf-target-libffi:
41217 @if target-libffi
41218 maybe-install-pdf-target-libffi: install-pdf-target-libffi
41220 install-pdf-target-libffi: \
41221 configure-target-libffi \
41222 pdf-target-libffi
41223 @: $(MAKE); $(unstage)
41224 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41225 r=`${PWD_COMMAND}`; export r; \
41226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41227 $(NORMAL_TARGET_EXPORTS) \
41228 echo "Doing install-pdf in $(TARGET_SUBDIR)/libffi" ; \
41229 for flag in $(EXTRA_TARGET_FLAGS); do \
41230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41231 done; \
41232 (cd $(TARGET_SUBDIR)/libffi && \
41233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41235 "RANLIB=$${RANLIB}" \
41236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41237 install-pdf) \
41238 || exit 1
41240 @endif target-libffi
41242 .PHONY: maybe-install-html-target-libffi install-html-target-libffi
41243 maybe-install-html-target-libffi:
41244 @if target-libffi
41245 maybe-install-html-target-libffi: install-html-target-libffi
41247 install-html-target-libffi: \
41248 configure-target-libffi \
41249 html-target-libffi
41250 @: $(MAKE); $(unstage)
41251 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41252 r=`${PWD_COMMAND}`; export r; \
41253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41254 $(NORMAL_TARGET_EXPORTS) \
41255 echo "Doing install-html in $(TARGET_SUBDIR)/libffi" ; \
41256 for flag in $(EXTRA_TARGET_FLAGS); do \
41257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41258 done; \
41259 (cd $(TARGET_SUBDIR)/libffi && \
41260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41262 "RANLIB=$${RANLIB}" \
41263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41264 install-html) \
41265 || exit 1
41267 @endif target-libffi
41269 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
41270 maybe-installcheck-target-libffi:
41271 @if target-libffi
41272 maybe-installcheck-target-libffi: installcheck-target-libffi
41274 installcheck-target-libffi: \
41275 configure-target-libffi
41276 @: $(MAKE); $(unstage)
41277 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41278 r=`${PWD_COMMAND}`; export r; \
41279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41280 $(NORMAL_TARGET_EXPORTS) \
41281 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
41282 for flag in $(EXTRA_TARGET_FLAGS); do \
41283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41284 done; \
41285 (cd $(TARGET_SUBDIR)/libffi && \
41286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41288 "RANLIB=$${RANLIB}" \
41289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41290 installcheck) \
41291 || exit 1
41293 @endif target-libffi
41295 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
41296 maybe-mostlyclean-target-libffi:
41297 @if target-libffi
41298 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
41300 mostlyclean-target-libffi:
41301 @: $(MAKE); $(unstage)
41302 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41303 r=`${PWD_COMMAND}`; export r; \
41304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41305 $(NORMAL_TARGET_EXPORTS) \
41306 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
41307 for flag in $(EXTRA_TARGET_FLAGS); do \
41308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41309 done; \
41310 (cd $(TARGET_SUBDIR)/libffi && \
41311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41313 "RANLIB=$${RANLIB}" \
41314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41315 mostlyclean) \
41316 || exit 1
41318 @endif target-libffi
41320 .PHONY: maybe-clean-target-libffi clean-target-libffi
41321 maybe-clean-target-libffi:
41322 @if target-libffi
41323 maybe-clean-target-libffi: clean-target-libffi
41325 clean-target-libffi:
41326 @: $(MAKE); $(unstage)
41327 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41328 r=`${PWD_COMMAND}`; export r; \
41329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41330 $(NORMAL_TARGET_EXPORTS) \
41331 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
41332 for flag in $(EXTRA_TARGET_FLAGS); do \
41333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41334 done; \
41335 (cd $(TARGET_SUBDIR)/libffi && \
41336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41338 "RANLIB=$${RANLIB}" \
41339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41340 clean) \
41341 || exit 1
41343 @endif target-libffi
41345 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
41346 maybe-distclean-target-libffi:
41347 @if target-libffi
41348 maybe-distclean-target-libffi: distclean-target-libffi
41350 distclean-target-libffi:
41351 @: $(MAKE); $(unstage)
41352 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41353 r=`${PWD_COMMAND}`; export r; \
41354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41355 $(NORMAL_TARGET_EXPORTS) \
41356 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
41357 for flag in $(EXTRA_TARGET_FLAGS); do \
41358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41359 done; \
41360 (cd $(TARGET_SUBDIR)/libffi && \
41361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41363 "RANLIB=$${RANLIB}" \
41364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41365 distclean) \
41366 || exit 1
41368 @endif target-libffi
41370 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
41371 maybe-maintainer-clean-target-libffi:
41372 @if target-libffi
41373 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
41375 maintainer-clean-target-libffi:
41376 @: $(MAKE); $(unstage)
41377 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41378 r=`${PWD_COMMAND}`; export r; \
41379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41380 $(NORMAL_TARGET_EXPORTS) \
41381 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
41382 for flag in $(EXTRA_TARGET_FLAGS); do \
41383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41384 done; \
41385 (cd $(TARGET_SUBDIR)/libffi && \
41386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41388 "RANLIB=$${RANLIB}" \
41389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41390 maintainer-clean) \
41391 || exit 1
41393 @endif target-libffi
41399 .PHONY: configure-target-libjava maybe-configure-target-libjava
41400 maybe-configure-target-libjava:
41401 @if gcc-bootstrap
41402 configure-target-libjava: stage_current
41403 @endif gcc-bootstrap
41404 @if target-libjava
41405 maybe-configure-target-libjava: configure-target-libjava
41406 configure-target-libjava:
41407 @: $(MAKE); $(unstage)
41408 @r=`${PWD_COMMAND}`; export r; \
41409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41410 echo "Checking multilib configuration for libjava..."; \
41411 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
41412 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libjava/multilib.tmp 2> /dev/null ; \
41413 if test -r $(TARGET_SUBDIR)/libjava/multilib.out; then \
41414 if cmp -s $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; then \
41415 rm -f $(TARGET_SUBDIR)/libjava/multilib.tmp; \
41416 else \
41417 rm -f $(TARGET_SUBDIR)/libjava/Makefile; \
41418 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
41419 fi; \
41420 else \
41421 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
41422 fi; \
41423 test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
41424 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
41425 $(RAW_CXX_TARGET_EXPORTS) \
41426 echo Configuring in $(TARGET_SUBDIR)/libjava; \
41427 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
41428 case $(srcdir) in \
41429 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41430 *) topdir=`echo $(TARGET_SUBDIR)/libjava/ | \
41431 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41432 esac; \
41433 srcdiroption="--srcdir=$${topdir}/libjava"; \
41434 libsrcdir="$$s/libjava"; \
41435 rm -f no-such-file || : ; \
41436 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
41437 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41438 --target=${target_alias} $${srcdiroption} $(EXTRA_CONFIGARGS_LIBJAVA) \
41439 || exit 1
41440 @endif target-libjava
41446 .PHONY: all-target-libjava maybe-all-target-libjava
41447 maybe-all-target-libjava:
41448 @if gcc-bootstrap
41449 all-target-libjava: stage_current
41450 @endif gcc-bootstrap
41451 @if target-libjava
41452 TARGET-target-libjava=all
41453 maybe-all-target-libjava: all-target-libjava
41454 all-target-libjava: configure-target-libjava
41455 @: $(MAKE); $(unstage)
41456 @r=`${PWD_COMMAND}`; export r; \
41457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41458 $(RAW_CXX_TARGET_EXPORTS) \
41459 (cd $(TARGET_SUBDIR)/libjava && \
41460 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
41461 $(TARGET-target-libjava))
41462 @endif target-libjava
41468 .PHONY: check-target-libjava maybe-check-target-libjava
41469 maybe-check-target-libjava:
41470 @if target-libjava
41471 maybe-check-target-libjava: check-target-libjava
41473 check-target-libjava:
41474 @: $(MAKE); $(unstage)
41475 @r=`${PWD_COMMAND}`; export r; \
41476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41477 $(RAW_CXX_TARGET_EXPORTS) \
41478 (cd $(TARGET_SUBDIR)/libjava && \
41479 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
41481 @endif target-libjava
41483 .PHONY: install-target-libjava maybe-install-target-libjava
41484 maybe-install-target-libjava:
41485 @if target-libjava
41486 maybe-install-target-libjava: install-target-libjava
41488 install-target-libjava: installdirs
41489 @: $(MAKE); $(unstage)
41490 @r=`${PWD_COMMAND}`; export r; \
41491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41492 $(RAW_CXX_TARGET_EXPORTS) \
41493 (cd $(TARGET_SUBDIR)/libjava && \
41494 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
41496 @endif target-libjava
41498 .PHONY: install-strip-target-libjava maybe-install-strip-target-libjava
41499 maybe-install-strip-target-libjava:
41500 @if target-libjava
41501 maybe-install-strip-target-libjava: install-strip-target-libjava
41503 install-strip-target-libjava: installdirs
41504 @: $(MAKE); $(unstage)
41505 @r=`${PWD_COMMAND}`; export r; \
41506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41507 $(RAW_CXX_TARGET_EXPORTS) \
41508 (cd $(TARGET_SUBDIR)/libjava && \
41509 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
41511 @endif target-libjava
41513 # Other targets (info, dvi, pdf, etc.)
41515 .PHONY: maybe-info-target-libjava info-target-libjava
41516 maybe-info-target-libjava:
41517 @if target-libjava
41518 maybe-info-target-libjava: info-target-libjava
41520 info-target-libjava: \
41521 configure-target-libjava
41522 @: $(MAKE); $(unstage)
41523 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41524 r=`${PWD_COMMAND}`; export r; \
41525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41526 $(RAW_CXX_TARGET_EXPORTS) \
41527 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
41528 for flag in $(EXTRA_TARGET_FLAGS); do \
41529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41530 done; \
41531 (cd $(TARGET_SUBDIR)/libjava && \
41532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41534 "RANLIB=$${RANLIB}" \
41535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41536 info) \
41537 || exit 1
41539 @endif target-libjava
41541 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
41542 maybe-dvi-target-libjava:
41543 @if target-libjava
41544 maybe-dvi-target-libjava: dvi-target-libjava
41546 dvi-target-libjava: \
41547 configure-target-libjava
41548 @: $(MAKE); $(unstage)
41549 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41550 r=`${PWD_COMMAND}`; export r; \
41551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41552 $(RAW_CXX_TARGET_EXPORTS) \
41553 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
41554 for flag in $(EXTRA_TARGET_FLAGS); do \
41555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41556 done; \
41557 (cd $(TARGET_SUBDIR)/libjava && \
41558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41560 "RANLIB=$${RANLIB}" \
41561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41562 dvi) \
41563 || exit 1
41565 @endif target-libjava
41567 .PHONY: maybe-pdf-target-libjava pdf-target-libjava
41568 maybe-pdf-target-libjava:
41569 @if target-libjava
41570 maybe-pdf-target-libjava: pdf-target-libjava
41572 pdf-target-libjava: \
41573 configure-target-libjava
41574 @: $(MAKE); $(unstage)
41575 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41576 r=`${PWD_COMMAND}`; export r; \
41577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41578 $(RAW_CXX_TARGET_EXPORTS) \
41579 echo "Doing pdf in $(TARGET_SUBDIR)/libjava" ; \
41580 for flag in $(EXTRA_TARGET_FLAGS); do \
41581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41582 done; \
41583 (cd $(TARGET_SUBDIR)/libjava && \
41584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41586 "RANLIB=$${RANLIB}" \
41587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41588 pdf) \
41589 || exit 1
41591 @endif target-libjava
41593 .PHONY: maybe-html-target-libjava html-target-libjava
41594 maybe-html-target-libjava:
41595 @if target-libjava
41596 maybe-html-target-libjava: html-target-libjava
41598 html-target-libjava: \
41599 configure-target-libjava
41600 @: $(MAKE); $(unstage)
41601 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41602 r=`${PWD_COMMAND}`; export r; \
41603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41604 $(RAW_CXX_TARGET_EXPORTS) \
41605 echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \
41606 for flag in $(EXTRA_TARGET_FLAGS); do \
41607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41608 done; \
41609 (cd $(TARGET_SUBDIR)/libjava && \
41610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41612 "RANLIB=$${RANLIB}" \
41613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41614 html) \
41615 || exit 1
41617 @endif target-libjava
41619 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
41620 maybe-TAGS-target-libjava:
41621 @if target-libjava
41622 maybe-TAGS-target-libjava: TAGS-target-libjava
41624 TAGS-target-libjava: \
41625 configure-target-libjava
41626 @: $(MAKE); $(unstage)
41627 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41628 r=`${PWD_COMMAND}`; export r; \
41629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41630 $(RAW_CXX_TARGET_EXPORTS) \
41631 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
41632 for flag in $(EXTRA_TARGET_FLAGS); do \
41633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41634 done; \
41635 (cd $(TARGET_SUBDIR)/libjava && \
41636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41638 "RANLIB=$${RANLIB}" \
41639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41640 TAGS) \
41641 || exit 1
41643 @endif target-libjava
41645 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
41646 maybe-install-info-target-libjava:
41647 @if target-libjava
41648 maybe-install-info-target-libjava: install-info-target-libjava
41650 install-info-target-libjava: \
41651 configure-target-libjava \
41652 info-target-libjava
41653 @: $(MAKE); $(unstage)
41654 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41655 r=`${PWD_COMMAND}`; export r; \
41656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41657 $(RAW_CXX_TARGET_EXPORTS) \
41658 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
41659 for flag in $(EXTRA_TARGET_FLAGS); do \
41660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41661 done; \
41662 (cd $(TARGET_SUBDIR)/libjava && \
41663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41665 "RANLIB=$${RANLIB}" \
41666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41667 install-info) \
41668 || exit 1
41670 @endif target-libjava
41672 .PHONY: maybe-install-pdf-target-libjava install-pdf-target-libjava
41673 maybe-install-pdf-target-libjava:
41674 @if target-libjava
41675 maybe-install-pdf-target-libjava: install-pdf-target-libjava
41677 install-pdf-target-libjava: \
41678 configure-target-libjava \
41679 pdf-target-libjava
41680 @: $(MAKE); $(unstage)
41681 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41682 r=`${PWD_COMMAND}`; export r; \
41683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41684 $(RAW_CXX_TARGET_EXPORTS) \
41685 echo "Doing install-pdf in $(TARGET_SUBDIR)/libjava" ; \
41686 for flag in $(EXTRA_TARGET_FLAGS); do \
41687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41688 done; \
41689 (cd $(TARGET_SUBDIR)/libjava && \
41690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41692 "RANLIB=$${RANLIB}" \
41693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41694 install-pdf) \
41695 || exit 1
41697 @endif target-libjava
41699 .PHONY: maybe-install-html-target-libjava install-html-target-libjava
41700 maybe-install-html-target-libjava:
41701 @if target-libjava
41702 maybe-install-html-target-libjava: install-html-target-libjava
41704 install-html-target-libjava: \
41705 configure-target-libjava \
41706 html-target-libjava
41707 @: $(MAKE); $(unstage)
41708 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41709 r=`${PWD_COMMAND}`; export r; \
41710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41711 $(RAW_CXX_TARGET_EXPORTS) \
41712 echo "Doing install-html in $(TARGET_SUBDIR)/libjava" ; \
41713 for flag in $(EXTRA_TARGET_FLAGS); do \
41714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41715 done; \
41716 (cd $(TARGET_SUBDIR)/libjava && \
41717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41719 "RANLIB=$${RANLIB}" \
41720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41721 install-html) \
41722 || exit 1
41724 @endif target-libjava
41726 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
41727 maybe-installcheck-target-libjava:
41728 @if target-libjava
41729 maybe-installcheck-target-libjava: installcheck-target-libjava
41731 installcheck-target-libjava: \
41732 configure-target-libjava
41733 @: $(MAKE); $(unstage)
41734 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41735 r=`${PWD_COMMAND}`; export r; \
41736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41737 $(RAW_CXX_TARGET_EXPORTS) \
41738 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
41739 for flag in $(EXTRA_TARGET_FLAGS); do \
41740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41741 done; \
41742 (cd $(TARGET_SUBDIR)/libjava && \
41743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41745 "RANLIB=$${RANLIB}" \
41746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41747 installcheck) \
41748 || exit 1
41750 @endif target-libjava
41752 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
41753 maybe-mostlyclean-target-libjava:
41754 @if target-libjava
41755 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
41757 mostlyclean-target-libjava:
41758 @: $(MAKE); $(unstage)
41759 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41760 r=`${PWD_COMMAND}`; export r; \
41761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41762 $(RAW_CXX_TARGET_EXPORTS) \
41763 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
41764 for flag in $(EXTRA_TARGET_FLAGS); do \
41765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41766 done; \
41767 (cd $(TARGET_SUBDIR)/libjava && \
41768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41770 "RANLIB=$${RANLIB}" \
41771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41772 mostlyclean) \
41773 || exit 1
41775 @endif target-libjava
41777 .PHONY: maybe-clean-target-libjava clean-target-libjava
41778 maybe-clean-target-libjava:
41779 @if target-libjava
41780 maybe-clean-target-libjava: clean-target-libjava
41782 clean-target-libjava:
41783 @: $(MAKE); $(unstage)
41784 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41785 r=`${PWD_COMMAND}`; export r; \
41786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41787 $(RAW_CXX_TARGET_EXPORTS) \
41788 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
41789 for flag in $(EXTRA_TARGET_FLAGS); do \
41790 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41791 done; \
41792 (cd $(TARGET_SUBDIR)/libjava && \
41793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41795 "RANLIB=$${RANLIB}" \
41796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41797 clean) \
41798 || exit 1
41800 @endif target-libjava
41802 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
41803 maybe-distclean-target-libjava:
41804 @if target-libjava
41805 maybe-distclean-target-libjava: distclean-target-libjava
41807 distclean-target-libjava:
41808 @: $(MAKE); $(unstage)
41809 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41810 r=`${PWD_COMMAND}`; export r; \
41811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41812 $(RAW_CXX_TARGET_EXPORTS) \
41813 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
41814 for flag in $(EXTRA_TARGET_FLAGS); do \
41815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41816 done; \
41817 (cd $(TARGET_SUBDIR)/libjava && \
41818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41820 "RANLIB=$${RANLIB}" \
41821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41822 distclean) \
41823 || exit 1
41825 @endif target-libjava
41827 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
41828 maybe-maintainer-clean-target-libjava:
41829 @if target-libjava
41830 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
41832 maintainer-clean-target-libjava:
41833 @: $(MAKE); $(unstage)
41834 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41835 r=`${PWD_COMMAND}`; export r; \
41836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41837 $(RAW_CXX_TARGET_EXPORTS) \
41838 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
41839 for flag in $(EXTRA_TARGET_FLAGS); do \
41840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41841 done; \
41842 (cd $(TARGET_SUBDIR)/libjava && \
41843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41845 "RANLIB=$${RANLIB}" \
41846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41847 maintainer-clean) \
41848 || exit 1
41850 @endif target-libjava
41856 .PHONY: configure-target-zlib maybe-configure-target-zlib
41857 maybe-configure-target-zlib:
41858 @if gcc-bootstrap
41859 configure-target-zlib: stage_current
41860 @endif gcc-bootstrap
41861 @if target-zlib
41862 maybe-configure-target-zlib: configure-target-zlib
41863 configure-target-zlib:
41864 @: $(MAKE); $(unstage)
41865 @r=`${PWD_COMMAND}`; export r; \
41866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41867 echo "Checking multilib configuration for zlib..."; \
41868 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
41869 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null ; \
41870 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
41871 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
41872 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
41873 else \
41874 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
41875 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
41876 fi; \
41877 else \
41878 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
41879 fi; \
41880 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
41881 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
41882 $(NORMAL_TARGET_EXPORTS) \
41883 echo Configuring in $(TARGET_SUBDIR)/zlib; \
41884 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
41885 case $(srcdir) in \
41886 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41887 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
41888 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41889 esac; \
41890 srcdiroption="--srcdir=$${topdir}/zlib"; \
41891 libsrcdir="$$s/zlib"; \
41892 rm -f no-such-file || : ; \
41893 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
41894 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41895 --target=${target_alias} $${srcdiroption} \
41896 || exit 1
41897 @endif target-zlib
41903 .PHONY: all-target-zlib maybe-all-target-zlib
41904 maybe-all-target-zlib:
41905 @if gcc-bootstrap
41906 all-target-zlib: stage_current
41907 @endif gcc-bootstrap
41908 @if target-zlib
41909 TARGET-target-zlib=all
41910 maybe-all-target-zlib: all-target-zlib
41911 all-target-zlib: configure-target-zlib
41912 @: $(MAKE); $(unstage)
41913 @r=`${PWD_COMMAND}`; export r; \
41914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41915 $(NORMAL_TARGET_EXPORTS) \
41916 (cd $(TARGET_SUBDIR)/zlib && \
41917 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
41918 $(TARGET-target-zlib))
41919 @endif target-zlib
41925 .PHONY: check-target-zlib maybe-check-target-zlib
41926 maybe-check-target-zlib:
41927 @if target-zlib
41928 maybe-check-target-zlib: check-target-zlib
41930 check-target-zlib:
41931 @: $(MAKE); $(unstage)
41932 @r=`${PWD_COMMAND}`; export r; \
41933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41934 $(NORMAL_TARGET_EXPORTS) \
41935 (cd $(TARGET_SUBDIR)/zlib && \
41936 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
41938 @endif target-zlib
41940 .PHONY: install-target-zlib maybe-install-target-zlib
41941 maybe-install-target-zlib:
41942 @if target-zlib
41943 maybe-install-target-zlib: install-target-zlib
41945 install-target-zlib: installdirs
41946 @: $(MAKE); $(unstage)
41947 @r=`${PWD_COMMAND}`; export r; \
41948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41949 $(NORMAL_TARGET_EXPORTS) \
41950 (cd $(TARGET_SUBDIR)/zlib && \
41951 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
41953 @endif target-zlib
41955 .PHONY: install-strip-target-zlib maybe-install-strip-target-zlib
41956 maybe-install-strip-target-zlib:
41957 @if target-zlib
41958 maybe-install-strip-target-zlib: install-strip-target-zlib
41960 install-strip-target-zlib: installdirs
41961 @: $(MAKE); $(unstage)
41962 @r=`${PWD_COMMAND}`; export r; \
41963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41964 $(NORMAL_TARGET_EXPORTS) \
41965 (cd $(TARGET_SUBDIR)/zlib && \
41966 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
41968 @endif target-zlib
41970 # Other targets (info, dvi, pdf, etc.)
41972 .PHONY: maybe-info-target-zlib info-target-zlib
41973 maybe-info-target-zlib:
41974 @if target-zlib
41975 maybe-info-target-zlib: info-target-zlib
41977 info-target-zlib: \
41978 configure-target-zlib
41979 @: $(MAKE); $(unstage)
41980 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
41981 r=`${PWD_COMMAND}`; export r; \
41982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41983 $(NORMAL_TARGET_EXPORTS) \
41984 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
41985 for flag in $(EXTRA_TARGET_FLAGS); do \
41986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41987 done; \
41988 (cd $(TARGET_SUBDIR)/zlib && \
41989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41991 "RANLIB=$${RANLIB}" \
41992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41993 info) \
41994 || exit 1
41996 @endif target-zlib
41998 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
41999 maybe-dvi-target-zlib:
42000 @if target-zlib
42001 maybe-dvi-target-zlib: dvi-target-zlib
42003 dvi-target-zlib: \
42004 configure-target-zlib
42005 @: $(MAKE); $(unstage)
42006 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42007 r=`${PWD_COMMAND}`; export r; \
42008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42009 $(NORMAL_TARGET_EXPORTS) \
42010 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
42011 for flag in $(EXTRA_TARGET_FLAGS); do \
42012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42013 done; \
42014 (cd $(TARGET_SUBDIR)/zlib && \
42015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42017 "RANLIB=$${RANLIB}" \
42018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42019 dvi) \
42020 || exit 1
42022 @endif target-zlib
42024 .PHONY: maybe-pdf-target-zlib pdf-target-zlib
42025 maybe-pdf-target-zlib:
42026 @if target-zlib
42027 maybe-pdf-target-zlib: pdf-target-zlib
42029 pdf-target-zlib: \
42030 configure-target-zlib
42031 @: $(MAKE); $(unstage)
42032 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42033 r=`${PWD_COMMAND}`; export r; \
42034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42035 $(NORMAL_TARGET_EXPORTS) \
42036 echo "Doing pdf in $(TARGET_SUBDIR)/zlib" ; \
42037 for flag in $(EXTRA_TARGET_FLAGS); do \
42038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42039 done; \
42040 (cd $(TARGET_SUBDIR)/zlib && \
42041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42043 "RANLIB=$${RANLIB}" \
42044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42045 pdf) \
42046 || exit 1
42048 @endif target-zlib
42050 .PHONY: maybe-html-target-zlib html-target-zlib
42051 maybe-html-target-zlib:
42052 @if target-zlib
42053 maybe-html-target-zlib: html-target-zlib
42055 html-target-zlib: \
42056 configure-target-zlib
42057 @: $(MAKE); $(unstage)
42058 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42059 r=`${PWD_COMMAND}`; export r; \
42060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42061 $(NORMAL_TARGET_EXPORTS) \
42062 echo "Doing html in $(TARGET_SUBDIR)/zlib" ; \
42063 for flag in $(EXTRA_TARGET_FLAGS); do \
42064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42065 done; \
42066 (cd $(TARGET_SUBDIR)/zlib && \
42067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42069 "RANLIB=$${RANLIB}" \
42070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42071 html) \
42072 || exit 1
42074 @endif target-zlib
42076 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
42077 maybe-TAGS-target-zlib:
42078 @if target-zlib
42079 maybe-TAGS-target-zlib: TAGS-target-zlib
42081 TAGS-target-zlib: \
42082 configure-target-zlib
42083 @: $(MAKE); $(unstage)
42084 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42085 r=`${PWD_COMMAND}`; export r; \
42086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42087 $(NORMAL_TARGET_EXPORTS) \
42088 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
42089 for flag in $(EXTRA_TARGET_FLAGS); do \
42090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42091 done; \
42092 (cd $(TARGET_SUBDIR)/zlib && \
42093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42095 "RANLIB=$${RANLIB}" \
42096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42097 TAGS) \
42098 || exit 1
42100 @endif target-zlib
42102 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
42103 maybe-install-info-target-zlib:
42104 @if target-zlib
42105 maybe-install-info-target-zlib: install-info-target-zlib
42107 install-info-target-zlib: \
42108 configure-target-zlib \
42109 info-target-zlib
42110 @: $(MAKE); $(unstage)
42111 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42112 r=`${PWD_COMMAND}`; export r; \
42113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42114 $(NORMAL_TARGET_EXPORTS) \
42115 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
42116 for flag in $(EXTRA_TARGET_FLAGS); do \
42117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42118 done; \
42119 (cd $(TARGET_SUBDIR)/zlib && \
42120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42122 "RANLIB=$${RANLIB}" \
42123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42124 install-info) \
42125 || exit 1
42127 @endif target-zlib
42129 .PHONY: maybe-install-pdf-target-zlib install-pdf-target-zlib
42130 maybe-install-pdf-target-zlib:
42131 @if target-zlib
42132 maybe-install-pdf-target-zlib: install-pdf-target-zlib
42134 install-pdf-target-zlib: \
42135 configure-target-zlib \
42136 pdf-target-zlib
42137 @: $(MAKE); $(unstage)
42138 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42139 r=`${PWD_COMMAND}`; export r; \
42140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42141 $(NORMAL_TARGET_EXPORTS) \
42142 echo "Doing install-pdf in $(TARGET_SUBDIR)/zlib" ; \
42143 for flag in $(EXTRA_TARGET_FLAGS); do \
42144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42145 done; \
42146 (cd $(TARGET_SUBDIR)/zlib && \
42147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42149 "RANLIB=$${RANLIB}" \
42150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42151 install-pdf) \
42152 || exit 1
42154 @endif target-zlib
42156 .PHONY: maybe-install-html-target-zlib install-html-target-zlib
42157 maybe-install-html-target-zlib:
42158 @if target-zlib
42159 maybe-install-html-target-zlib: install-html-target-zlib
42161 install-html-target-zlib: \
42162 configure-target-zlib \
42163 html-target-zlib
42164 @: $(MAKE); $(unstage)
42165 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42166 r=`${PWD_COMMAND}`; export r; \
42167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42168 $(NORMAL_TARGET_EXPORTS) \
42169 echo "Doing install-html in $(TARGET_SUBDIR)/zlib" ; \
42170 for flag in $(EXTRA_TARGET_FLAGS); do \
42171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42172 done; \
42173 (cd $(TARGET_SUBDIR)/zlib && \
42174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42176 "RANLIB=$${RANLIB}" \
42177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42178 install-html) \
42179 || exit 1
42181 @endif target-zlib
42183 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
42184 maybe-installcheck-target-zlib:
42185 @if target-zlib
42186 maybe-installcheck-target-zlib: installcheck-target-zlib
42188 installcheck-target-zlib: \
42189 configure-target-zlib
42190 @: $(MAKE); $(unstage)
42191 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42192 r=`${PWD_COMMAND}`; export r; \
42193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42194 $(NORMAL_TARGET_EXPORTS) \
42195 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
42196 for flag in $(EXTRA_TARGET_FLAGS); do \
42197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42198 done; \
42199 (cd $(TARGET_SUBDIR)/zlib && \
42200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42202 "RANLIB=$${RANLIB}" \
42203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42204 installcheck) \
42205 || exit 1
42207 @endif target-zlib
42209 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
42210 maybe-mostlyclean-target-zlib:
42211 @if target-zlib
42212 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
42214 mostlyclean-target-zlib:
42215 @: $(MAKE); $(unstage)
42216 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42217 r=`${PWD_COMMAND}`; export r; \
42218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42219 $(NORMAL_TARGET_EXPORTS) \
42220 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
42221 for flag in $(EXTRA_TARGET_FLAGS); do \
42222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42223 done; \
42224 (cd $(TARGET_SUBDIR)/zlib && \
42225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42227 "RANLIB=$${RANLIB}" \
42228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42229 mostlyclean) \
42230 || exit 1
42232 @endif target-zlib
42234 .PHONY: maybe-clean-target-zlib clean-target-zlib
42235 maybe-clean-target-zlib:
42236 @if target-zlib
42237 maybe-clean-target-zlib: clean-target-zlib
42239 clean-target-zlib:
42240 @: $(MAKE); $(unstage)
42241 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42242 r=`${PWD_COMMAND}`; export r; \
42243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42244 $(NORMAL_TARGET_EXPORTS) \
42245 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
42246 for flag in $(EXTRA_TARGET_FLAGS); do \
42247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42248 done; \
42249 (cd $(TARGET_SUBDIR)/zlib && \
42250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42252 "RANLIB=$${RANLIB}" \
42253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42254 clean) \
42255 || exit 1
42257 @endif target-zlib
42259 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
42260 maybe-distclean-target-zlib:
42261 @if target-zlib
42262 maybe-distclean-target-zlib: distclean-target-zlib
42264 distclean-target-zlib:
42265 @: $(MAKE); $(unstage)
42266 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42267 r=`${PWD_COMMAND}`; export r; \
42268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42269 $(NORMAL_TARGET_EXPORTS) \
42270 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
42271 for flag in $(EXTRA_TARGET_FLAGS); do \
42272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42273 done; \
42274 (cd $(TARGET_SUBDIR)/zlib && \
42275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42277 "RANLIB=$${RANLIB}" \
42278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42279 distclean) \
42280 || exit 1
42282 @endif target-zlib
42284 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
42285 maybe-maintainer-clean-target-zlib:
42286 @if target-zlib
42287 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
42289 maintainer-clean-target-zlib:
42290 @: $(MAKE); $(unstage)
42291 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42292 r=`${PWD_COMMAND}`; export r; \
42293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42294 $(NORMAL_TARGET_EXPORTS) \
42295 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
42296 for flag in $(EXTRA_TARGET_FLAGS); do \
42297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42298 done; \
42299 (cd $(TARGET_SUBDIR)/zlib && \
42300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42302 "RANLIB=$${RANLIB}" \
42303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42304 maintainer-clean) \
42305 || exit 1
42307 @endif target-zlib
42313 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
42314 maybe-configure-target-boehm-gc:
42315 @if gcc-bootstrap
42316 configure-target-boehm-gc: stage_current
42317 @endif gcc-bootstrap
42318 @if target-boehm-gc
42319 maybe-configure-target-boehm-gc: configure-target-boehm-gc
42320 configure-target-boehm-gc:
42321 @: $(MAKE); $(unstage)
42322 @r=`${PWD_COMMAND}`; export r; \
42323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42324 echo "Checking multilib configuration for boehm-gc..."; \
42325 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
42326 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/boehm-gc/multilib.tmp 2> /dev/null ; \
42327 if test -r $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
42328 if cmp -s $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
42329 rm -f $(TARGET_SUBDIR)/boehm-gc/multilib.tmp; \
42330 else \
42331 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile; \
42332 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
42333 fi; \
42334 else \
42335 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
42336 fi; \
42337 test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
42338 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
42339 $(NORMAL_TARGET_EXPORTS) \
42340 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
42341 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
42342 case $(srcdir) in \
42343 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42344 *) topdir=`echo $(TARGET_SUBDIR)/boehm-gc/ | \
42345 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42346 esac; \
42347 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
42348 libsrcdir="$$s/boehm-gc"; \
42349 rm -f no-such-file || : ; \
42350 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
42351 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42352 --target=${target_alias} $${srcdiroption} \
42353 || exit 1
42354 @endif target-boehm-gc
42360 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
42361 maybe-all-target-boehm-gc:
42362 @if gcc-bootstrap
42363 all-target-boehm-gc: stage_current
42364 @endif gcc-bootstrap
42365 @if target-boehm-gc
42366 TARGET-target-boehm-gc=all
42367 maybe-all-target-boehm-gc: all-target-boehm-gc
42368 all-target-boehm-gc: configure-target-boehm-gc
42369 @: $(MAKE); $(unstage)
42370 @r=`${PWD_COMMAND}`; export r; \
42371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42372 $(NORMAL_TARGET_EXPORTS) \
42373 (cd $(TARGET_SUBDIR)/boehm-gc && \
42374 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
42375 $(TARGET-target-boehm-gc))
42376 @endif target-boehm-gc
42382 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
42383 maybe-check-target-boehm-gc:
42384 @if target-boehm-gc
42385 maybe-check-target-boehm-gc: check-target-boehm-gc
42387 check-target-boehm-gc:
42388 @: $(MAKE); $(unstage)
42389 @r=`${PWD_COMMAND}`; export r; \
42390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42391 $(NORMAL_TARGET_EXPORTS) \
42392 (cd $(TARGET_SUBDIR)/boehm-gc && \
42393 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
42395 @endif target-boehm-gc
42397 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
42398 maybe-install-target-boehm-gc:
42399 @if target-boehm-gc
42400 maybe-install-target-boehm-gc: install-target-boehm-gc
42402 install-target-boehm-gc: installdirs
42403 @: $(MAKE); $(unstage)
42404 @r=`${PWD_COMMAND}`; export r; \
42405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42406 $(NORMAL_TARGET_EXPORTS) \
42407 (cd $(TARGET_SUBDIR)/boehm-gc && \
42408 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
42410 @endif target-boehm-gc
42412 .PHONY: install-strip-target-boehm-gc maybe-install-strip-target-boehm-gc
42413 maybe-install-strip-target-boehm-gc:
42414 @if target-boehm-gc
42415 maybe-install-strip-target-boehm-gc: install-strip-target-boehm-gc
42417 install-strip-target-boehm-gc: installdirs
42418 @: $(MAKE); $(unstage)
42419 @r=`${PWD_COMMAND}`; export r; \
42420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42421 $(NORMAL_TARGET_EXPORTS) \
42422 (cd $(TARGET_SUBDIR)/boehm-gc && \
42423 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
42425 @endif target-boehm-gc
42427 # Other targets (info, dvi, pdf, etc.)
42429 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
42430 maybe-info-target-boehm-gc:
42431 @if target-boehm-gc
42432 maybe-info-target-boehm-gc: info-target-boehm-gc
42434 info-target-boehm-gc: \
42435 configure-target-boehm-gc
42436 @: $(MAKE); $(unstage)
42437 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42438 r=`${PWD_COMMAND}`; export r; \
42439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42440 $(NORMAL_TARGET_EXPORTS) \
42441 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
42442 for flag in $(EXTRA_TARGET_FLAGS); do \
42443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42444 done; \
42445 (cd $(TARGET_SUBDIR)/boehm-gc && \
42446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42448 "RANLIB=$${RANLIB}" \
42449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42450 info) \
42451 || exit 1
42453 @endif target-boehm-gc
42455 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
42456 maybe-dvi-target-boehm-gc:
42457 @if target-boehm-gc
42458 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
42460 dvi-target-boehm-gc: \
42461 configure-target-boehm-gc
42462 @: $(MAKE); $(unstage)
42463 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42464 r=`${PWD_COMMAND}`; export r; \
42465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42466 $(NORMAL_TARGET_EXPORTS) \
42467 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
42468 for flag in $(EXTRA_TARGET_FLAGS); do \
42469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42470 done; \
42471 (cd $(TARGET_SUBDIR)/boehm-gc && \
42472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42474 "RANLIB=$${RANLIB}" \
42475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42476 dvi) \
42477 || exit 1
42479 @endif target-boehm-gc
42481 .PHONY: maybe-pdf-target-boehm-gc pdf-target-boehm-gc
42482 maybe-pdf-target-boehm-gc:
42483 @if target-boehm-gc
42484 maybe-pdf-target-boehm-gc: pdf-target-boehm-gc
42486 pdf-target-boehm-gc: \
42487 configure-target-boehm-gc
42488 @: $(MAKE); $(unstage)
42489 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42490 r=`${PWD_COMMAND}`; export r; \
42491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42492 $(NORMAL_TARGET_EXPORTS) \
42493 echo "Doing pdf in $(TARGET_SUBDIR)/boehm-gc" ; \
42494 for flag in $(EXTRA_TARGET_FLAGS); do \
42495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42496 done; \
42497 (cd $(TARGET_SUBDIR)/boehm-gc && \
42498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42500 "RANLIB=$${RANLIB}" \
42501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42502 pdf) \
42503 || exit 1
42505 @endif target-boehm-gc
42507 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
42508 maybe-html-target-boehm-gc:
42509 @if target-boehm-gc
42510 maybe-html-target-boehm-gc: html-target-boehm-gc
42512 html-target-boehm-gc: \
42513 configure-target-boehm-gc
42514 @: $(MAKE); $(unstage)
42515 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42516 r=`${PWD_COMMAND}`; export r; \
42517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42518 $(NORMAL_TARGET_EXPORTS) \
42519 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
42520 for flag in $(EXTRA_TARGET_FLAGS); do \
42521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42522 done; \
42523 (cd $(TARGET_SUBDIR)/boehm-gc && \
42524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42526 "RANLIB=$${RANLIB}" \
42527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42528 html) \
42529 || exit 1
42531 @endif target-boehm-gc
42533 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
42534 maybe-TAGS-target-boehm-gc:
42535 @if target-boehm-gc
42536 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
42538 TAGS-target-boehm-gc: \
42539 configure-target-boehm-gc
42540 @: $(MAKE); $(unstage)
42541 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42542 r=`${PWD_COMMAND}`; export r; \
42543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42544 $(NORMAL_TARGET_EXPORTS) \
42545 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
42546 for flag in $(EXTRA_TARGET_FLAGS); do \
42547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42548 done; \
42549 (cd $(TARGET_SUBDIR)/boehm-gc && \
42550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42552 "RANLIB=$${RANLIB}" \
42553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42554 TAGS) \
42555 || exit 1
42557 @endif target-boehm-gc
42559 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
42560 maybe-install-info-target-boehm-gc:
42561 @if target-boehm-gc
42562 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
42564 install-info-target-boehm-gc: \
42565 configure-target-boehm-gc \
42566 info-target-boehm-gc
42567 @: $(MAKE); $(unstage)
42568 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42569 r=`${PWD_COMMAND}`; export r; \
42570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42571 $(NORMAL_TARGET_EXPORTS) \
42572 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
42573 for flag in $(EXTRA_TARGET_FLAGS); do \
42574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42575 done; \
42576 (cd $(TARGET_SUBDIR)/boehm-gc && \
42577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42579 "RANLIB=$${RANLIB}" \
42580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42581 install-info) \
42582 || exit 1
42584 @endif target-boehm-gc
42586 .PHONY: maybe-install-pdf-target-boehm-gc install-pdf-target-boehm-gc
42587 maybe-install-pdf-target-boehm-gc:
42588 @if target-boehm-gc
42589 maybe-install-pdf-target-boehm-gc: install-pdf-target-boehm-gc
42591 install-pdf-target-boehm-gc: \
42592 configure-target-boehm-gc \
42593 pdf-target-boehm-gc
42594 @: $(MAKE); $(unstage)
42595 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42596 r=`${PWD_COMMAND}`; export r; \
42597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42598 $(NORMAL_TARGET_EXPORTS) \
42599 echo "Doing install-pdf in $(TARGET_SUBDIR)/boehm-gc" ; \
42600 for flag in $(EXTRA_TARGET_FLAGS); do \
42601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42602 done; \
42603 (cd $(TARGET_SUBDIR)/boehm-gc && \
42604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42606 "RANLIB=$${RANLIB}" \
42607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42608 install-pdf) \
42609 || exit 1
42611 @endif target-boehm-gc
42613 .PHONY: maybe-install-html-target-boehm-gc install-html-target-boehm-gc
42614 maybe-install-html-target-boehm-gc:
42615 @if target-boehm-gc
42616 maybe-install-html-target-boehm-gc: install-html-target-boehm-gc
42618 install-html-target-boehm-gc: \
42619 configure-target-boehm-gc \
42620 html-target-boehm-gc
42621 @: $(MAKE); $(unstage)
42622 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42623 r=`${PWD_COMMAND}`; export r; \
42624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42625 $(NORMAL_TARGET_EXPORTS) \
42626 echo "Doing install-html in $(TARGET_SUBDIR)/boehm-gc" ; \
42627 for flag in $(EXTRA_TARGET_FLAGS); do \
42628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42629 done; \
42630 (cd $(TARGET_SUBDIR)/boehm-gc && \
42631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42633 "RANLIB=$${RANLIB}" \
42634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42635 install-html) \
42636 || exit 1
42638 @endif target-boehm-gc
42640 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
42641 maybe-installcheck-target-boehm-gc:
42642 @if target-boehm-gc
42643 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
42645 installcheck-target-boehm-gc: \
42646 configure-target-boehm-gc
42647 @: $(MAKE); $(unstage)
42648 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42649 r=`${PWD_COMMAND}`; export r; \
42650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42651 $(NORMAL_TARGET_EXPORTS) \
42652 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
42653 for flag in $(EXTRA_TARGET_FLAGS); do \
42654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42655 done; \
42656 (cd $(TARGET_SUBDIR)/boehm-gc && \
42657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42659 "RANLIB=$${RANLIB}" \
42660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42661 installcheck) \
42662 || exit 1
42664 @endif target-boehm-gc
42666 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
42667 maybe-mostlyclean-target-boehm-gc:
42668 @if target-boehm-gc
42669 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
42671 mostlyclean-target-boehm-gc:
42672 @: $(MAKE); $(unstage)
42673 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42674 r=`${PWD_COMMAND}`; export r; \
42675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42676 $(NORMAL_TARGET_EXPORTS) \
42677 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
42678 for flag in $(EXTRA_TARGET_FLAGS); do \
42679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42680 done; \
42681 (cd $(TARGET_SUBDIR)/boehm-gc && \
42682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42684 "RANLIB=$${RANLIB}" \
42685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42686 mostlyclean) \
42687 || exit 1
42689 @endif target-boehm-gc
42691 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
42692 maybe-clean-target-boehm-gc:
42693 @if target-boehm-gc
42694 maybe-clean-target-boehm-gc: clean-target-boehm-gc
42696 clean-target-boehm-gc:
42697 @: $(MAKE); $(unstage)
42698 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42699 r=`${PWD_COMMAND}`; export r; \
42700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42701 $(NORMAL_TARGET_EXPORTS) \
42702 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
42703 for flag in $(EXTRA_TARGET_FLAGS); do \
42704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42705 done; \
42706 (cd $(TARGET_SUBDIR)/boehm-gc && \
42707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42709 "RANLIB=$${RANLIB}" \
42710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42711 clean) \
42712 || exit 1
42714 @endif target-boehm-gc
42716 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
42717 maybe-distclean-target-boehm-gc:
42718 @if target-boehm-gc
42719 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
42721 distclean-target-boehm-gc:
42722 @: $(MAKE); $(unstage)
42723 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42724 r=`${PWD_COMMAND}`; export r; \
42725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42726 $(NORMAL_TARGET_EXPORTS) \
42727 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
42728 for flag in $(EXTRA_TARGET_FLAGS); do \
42729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42730 done; \
42731 (cd $(TARGET_SUBDIR)/boehm-gc && \
42732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42734 "RANLIB=$${RANLIB}" \
42735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42736 distclean) \
42737 || exit 1
42739 @endif target-boehm-gc
42741 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
42742 maybe-maintainer-clean-target-boehm-gc:
42743 @if target-boehm-gc
42744 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
42746 maintainer-clean-target-boehm-gc:
42747 @: $(MAKE); $(unstage)
42748 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42749 r=`${PWD_COMMAND}`; export r; \
42750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42751 $(NORMAL_TARGET_EXPORTS) \
42752 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
42753 for flag in $(EXTRA_TARGET_FLAGS); do \
42754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42755 done; \
42756 (cd $(TARGET_SUBDIR)/boehm-gc && \
42757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42759 "RANLIB=$${RANLIB}" \
42760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42761 maintainer-clean) \
42762 || exit 1
42764 @endif target-boehm-gc
42770 .PHONY: configure-target-rda maybe-configure-target-rda
42771 maybe-configure-target-rda:
42772 @if gcc-bootstrap
42773 configure-target-rda: stage_current
42774 @endif gcc-bootstrap
42775 @if target-rda
42776 maybe-configure-target-rda: configure-target-rda
42777 configure-target-rda:
42778 @: $(MAKE); $(unstage)
42779 @r=`${PWD_COMMAND}`; export r; \
42780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42781 echo "Checking multilib configuration for rda..."; \
42782 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
42783 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/rda/multilib.tmp 2> /dev/null ; \
42784 if test -r $(TARGET_SUBDIR)/rda/multilib.out; then \
42785 if cmp -s $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; then \
42786 rm -f $(TARGET_SUBDIR)/rda/multilib.tmp; \
42787 else \
42788 rm -f $(TARGET_SUBDIR)/rda/Makefile; \
42789 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
42790 fi; \
42791 else \
42792 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
42793 fi; \
42794 test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
42795 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
42796 $(NORMAL_TARGET_EXPORTS) \
42797 echo Configuring in $(TARGET_SUBDIR)/rda; \
42798 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
42799 case $(srcdir) in \
42800 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42801 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
42802 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42803 esac; \
42804 srcdiroption="--srcdir=$${topdir}/rda"; \
42805 libsrcdir="$$s/rda"; \
42806 rm -f no-such-file || : ; \
42807 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
42808 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42809 --target=${target_alias} $${srcdiroption} \
42810 || exit 1
42811 @endif target-rda
42817 .PHONY: all-target-rda maybe-all-target-rda
42818 maybe-all-target-rda:
42819 @if gcc-bootstrap
42820 all-target-rda: stage_current
42821 @endif gcc-bootstrap
42822 @if target-rda
42823 TARGET-target-rda=all
42824 maybe-all-target-rda: all-target-rda
42825 all-target-rda: configure-target-rda
42826 @: $(MAKE); $(unstage)
42827 @r=`${PWD_COMMAND}`; export r; \
42828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42829 $(NORMAL_TARGET_EXPORTS) \
42830 (cd $(TARGET_SUBDIR)/rda && \
42831 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
42832 $(TARGET-target-rda))
42833 @endif target-rda
42839 .PHONY: check-target-rda maybe-check-target-rda
42840 maybe-check-target-rda:
42841 @if target-rda
42842 maybe-check-target-rda: check-target-rda
42844 check-target-rda:
42845 @: $(MAKE); $(unstage)
42846 @r=`${PWD_COMMAND}`; export r; \
42847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42848 $(NORMAL_TARGET_EXPORTS) \
42849 (cd $(TARGET_SUBDIR)/rda && \
42850 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
42852 @endif target-rda
42854 .PHONY: install-target-rda maybe-install-target-rda
42855 maybe-install-target-rda:
42856 @if target-rda
42857 maybe-install-target-rda: install-target-rda
42859 install-target-rda: installdirs
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)/rda && \
42865 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
42867 @endif target-rda
42869 .PHONY: install-strip-target-rda maybe-install-strip-target-rda
42870 maybe-install-strip-target-rda:
42871 @if target-rda
42872 maybe-install-strip-target-rda: install-strip-target-rda
42874 install-strip-target-rda: 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)/rda && \
42880 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
42882 @endif target-rda
42884 # Other targets (info, dvi, pdf, etc.)
42886 .PHONY: maybe-info-target-rda info-target-rda
42887 maybe-info-target-rda:
42888 @if target-rda
42889 maybe-info-target-rda: info-target-rda
42891 info-target-rda: \
42892 configure-target-rda
42893 @: $(MAKE); $(unstage)
42894 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
42895 r=`${PWD_COMMAND}`; export r; \
42896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42897 $(NORMAL_TARGET_EXPORTS) \
42898 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
42899 for flag in $(EXTRA_TARGET_FLAGS); do \
42900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42901 done; \
42902 (cd $(TARGET_SUBDIR)/rda && \
42903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42905 "RANLIB=$${RANLIB}" \
42906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42907 info) \
42908 || exit 1
42910 @endif target-rda
42912 .PHONY: maybe-dvi-target-rda dvi-target-rda
42913 maybe-dvi-target-rda:
42914 @if target-rda
42915 maybe-dvi-target-rda: dvi-target-rda
42917 dvi-target-rda: \
42918 configure-target-rda
42919 @: $(MAKE); $(unstage)
42920 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
42921 r=`${PWD_COMMAND}`; export r; \
42922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42923 $(NORMAL_TARGET_EXPORTS) \
42924 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
42925 for flag in $(EXTRA_TARGET_FLAGS); do \
42926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42927 done; \
42928 (cd $(TARGET_SUBDIR)/rda && \
42929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42931 "RANLIB=$${RANLIB}" \
42932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42933 dvi) \
42934 || exit 1
42936 @endif target-rda
42938 .PHONY: maybe-pdf-target-rda pdf-target-rda
42939 maybe-pdf-target-rda:
42940 @if target-rda
42941 maybe-pdf-target-rda: pdf-target-rda
42943 pdf-target-rda: \
42944 configure-target-rda
42945 @: $(MAKE); $(unstage)
42946 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
42947 r=`${PWD_COMMAND}`; export r; \
42948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42949 $(NORMAL_TARGET_EXPORTS) \
42950 echo "Doing pdf in $(TARGET_SUBDIR)/rda" ; \
42951 for flag in $(EXTRA_TARGET_FLAGS); do \
42952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42953 done; \
42954 (cd $(TARGET_SUBDIR)/rda && \
42955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42957 "RANLIB=$${RANLIB}" \
42958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42959 pdf) \
42960 || exit 1
42962 @endif target-rda
42964 .PHONY: maybe-html-target-rda html-target-rda
42965 maybe-html-target-rda:
42966 @if target-rda
42967 maybe-html-target-rda: html-target-rda
42969 html-target-rda: \
42970 configure-target-rda
42971 @: $(MAKE); $(unstage)
42972 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
42973 r=`${PWD_COMMAND}`; export r; \
42974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42975 $(NORMAL_TARGET_EXPORTS) \
42976 echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
42977 for flag in $(EXTRA_TARGET_FLAGS); do \
42978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42979 done; \
42980 (cd $(TARGET_SUBDIR)/rda && \
42981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42983 "RANLIB=$${RANLIB}" \
42984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42985 html) \
42986 || exit 1
42988 @endif target-rda
42990 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
42991 maybe-TAGS-target-rda:
42992 @if target-rda
42993 maybe-TAGS-target-rda: TAGS-target-rda
42995 TAGS-target-rda: \
42996 configure-target-rda
42997 @: $(MAKE); $(unstage)
42998 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
42999 r=`${PWD_COMMAND}`; export r; \
43000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43001 $(NORMAL_TARGET_EXPORTS) \
43002 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
43003 for flag in $(EXTRA_TARGET_FLAGS); do \
43004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43005 done; \
43006 (cd $(TARGET_SUBDIR)/rda && \
43007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43009 "RANLIB=$${RANLIB}" \
43010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43011 TAGS) \
43012 || exit 1
43014 @endif target-rda
43016 .PHONY: maybe-install-info-target-rda install-info-target-rda
43017 maybe-install-info-target-rda:
43018 @if target-rda
43019 maybe-install-info-target-rda: install-info-target-rda
43021 install-info-target-rda: \
43022 configure-target-rda \
43023 info-target-rda
43024 @: $(MAKE); $(unstage)
43025 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43026 r=`${PWD_COMMAND}`; export r; \
43027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43028 $(NORMAL_TARGET_EXPORTS) \
43029 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
43030 for flag in $(EXTRA_TARGET_FLAGS); do \
43031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43032 done; \
43033 (cd $(TARGET_SUBDIR)/rda && \
43034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43036 "RANLIB=$${RANLIB}" \
43037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43038 install-info) \
43039 || exit 1
43041 @endif target-rda
43043 .PHONY: maybe-install-pdf-target-rda install-pdf-target-rda
43044 maybe-install-pdf-target-rda:
43045 @if target-rda
43046 maybe-install-pdf-target-rda: install-pdf-target-rda
43048 install-pdf-target-rda: \
43049 configure-target-rda \
43050 pdf-target-rda
43051 @: $(MAKE); $(unstage)
43052 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43053 r=`${PWD_COMMAND}`; export r; \
43054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43055 $(NORMAL_TARGET_EXPORTS) \
43056 echo "Doing install-pdf in $(TARGET_SUBDIR)/rda" ; \
43057 for flag in $(EXTRA_TARGET_FLAGS); do \
43058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43059 done; \
43060 (cd $(TARGET_SUBDIR)/rda && \
43061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43063 "RANLIB=$${RANLIB}" \
43064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43065 install-pdf) \
43066 || exit 1
43068 @endif target-rda
43070 .PHONY: maybe-install-html-target-rda install-html-target-rda
43071 maybe-install-html-target-rda:
43072 @if target-rda
43073 maybe-install-html-target-rda: install-html-target-rda
43075 install-html-target-rda: \
43076 configure-target-rda \
43077 html-target-rda
43078 @: $(MAKE); $(unstage)
43079 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43080 r=`${PWD_COMMAND}`; export r; \
43081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43082 $(NORMAL_TARGET_EXPORTS) \
43083 echo "Doing install-html in $(TARGET_SUBDIR)/rda" ; \
43084 for flag in $(EXTRA_TARGET_FLAGS); do \
43085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43086 done; \
43087 (cd $(TARGET_SUBDIR)/rda && \
43088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43090 "RANLIB=$${RANLIB}" \
43091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43092 install-html) \
43093 || exit 1
43095 @endif target-rda
43097 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
43098 maybe-installcheck-target-rda:
43099 @if target-rda
43100 maybe-installcheck-target-rda: installcheck-target-rda
43102 installcheck-target-rda: \
43103 configure-target-rda
43104 @: $(MAKE); $(unstage)
43105 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43106 r=`${PWD_COMMAND}`; export r; \
43107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43108 $(NORMAL_TARGET_EXPORTS) \
43109 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
43110 for flag in $(EXTRA_TARGET_FLAGS); do \
43111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43112 done; \
43113 (cd $(TARGET_SUBDIR)/rda && \
43114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43116 "RANLIB=$${RANLIB}" \
43117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43118 installcheck) \
43119 || exit 1
43121 @endif target-rda
43123 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
43124 maybe-mostlyclean-target-rda:
43125 @if target-rda
43126 maybe-mostlyclean-target-rda: mostlyclean-target-rda
43128 mostlyclean-target-rda:
43129 @: $(MAKE); $(unstage)
43130 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43131 r=`${PWD_COMMAND}`; export r; \
43132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43133 $(NORMAL_TARGET_EXPORTS) \
43134 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
43135 for flag in $(EXTRA_TARGET_FLAGS); do \
43136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43137 done; \
43138 (cd $(TARGET_SUBDIR)/rda && \
43139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43141 "RANLIB=$${RANLIB}" \
43142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43143 mostlyclean) \
43144 || exit 1
43146 @endif target-rda
43148 .PHONY: maybe-clean-target-rda clean-target-rda
43149 maybe-clean-target-rda:
43150 @if target-rda
43151 maybe-clean-target-rda: clean-target-rda
43153 clean-target-rda:
43154 @: $(MAKE); $(unstage)
43155 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43156 r=`${PWD_COMMAND}`; export r; \
43157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43158 $(NORMAL_TARGET_EXPORTS) \
43159 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
43160 for flag in $(EXTRA_TARGET_FLAGS); do \
43161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43162 done; \
43163 (cd $(TARGET_SUBDIR)/rda && \
43164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43166 "RANLIB=$${RANLIB}" \
43167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43168 clean) \
43169 || exit 1
43171 @endif target-rda
43173 .PHONY: maybe-distclean-target-rda distclean-target-rda
43174 maybe-distclean-target-rda:
43175 @if target-rda
43176 maybe-distclean-target-rda: distclean-target-rda
43178 distclean-target-rda:
43179 @: $(MAKE); $(unstage)
43180 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43181 r=`${PWD_COMMAND}`; export r; \
43182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43183 $(NORMAL_TARGET_EXPORTS) \
43184 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
43185 for flag in $(EXTRA_TARGET_FLAGS); do \
43186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43187 done; \
43188 (cd $(TARGET_SUBDIR)/rda && \
43189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43191 "RANLIB=$${RANLIB}" \
43192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43193 distclean) \
43194 || exit 1
43196 @endif target-rda
43198 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
43199 maybe-maintainer-clean-target-rda:
43200 @if target-rda
43201 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
43203 maintainer-clean-target-rda:
43204 @: $(MAKE); $(unstage)
43205 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43206 r=`${PWD_COMMAND}`; export r; \
43207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43208 $(NORMAL_TARGET_EXPORTS) \
43209 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
43210 for flag in $(EXTRA_TARGET_FLAGS); do \
43211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43212 done; \
43213 (cd $(TARGET_SUBDIR)/rda && \
43214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43216 "RANLIB=$${RANLIB}" \
43217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43218 maintainer-clean) \
43219 || exit 1
43221 @endif target-rda
43227 .PHONY: configure-target-libada maybe-configure-target-libada
43228 maybe-configure-target-libada:
43229 @if gcc-bootstrap
43230 configure-target-libada: stage_current
43231 @endif gcc-bootstrap
43232 @if target-libada
43233 maybe-configure-target-libada: configure-target-libada
43234 configure-target-libada:
43235 @: $(MAKE); $(unstage)
43236 @r=`${PWD_COMMAND}`; export r; \
43237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43238 echo "Checking multilib configuration for libada..."; \
43239 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
43240 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libada/multilib.tmp 2> /dev/null ; \
43241 if test -r $(TARGET_SUBDIR)/libada/multilib.out; then \
43242 if cmp -s $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; then \
43243 rm -f $(TARGET_SUBDIR)/libada/multilib.tmp; \
43244 else \
43245 rm -f $(TARGET_SUBDIR)/libada/Makefile; \
43246 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
43247 fi; \
43248 else \
43249 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
43250 fi; \
43251 test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
43252 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
43253 $(NORMAL_TARGET_EXPORTS) \
43254 echo Configuring in $(TARGET_SUBDIR)/libada; \
43255 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
43256 case $(srcdir) in \
43257 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43258 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
43259 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43260 esac; \
43261 srcdiroption="--srcdir=$${topdir}/libada"; \
43262 libsrcdir="$$s/libada"; \
43263 rm -f no-such-file || : ; \
43264 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
43265 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43266 --target=${target_alias} $${srcdiroption} \
43267 || exit 1
43268 @endif target-libada
43274 .PHONY: all-target-libada maybe-all-target-libada
43275 maybe-all-target-libada:
43276 @if gcc-bootstrap
43277 all-target-libada: stage_current
43278 @endif gcc-bootstrap
43279 @if target-libada
43280 TARGET-target-libada=all
43281 maybe-all-target-libada: all-target-libada
43282 all-target-libada: configure-target-libada
43283 @: $(MAKE); $(unstage)
43284 @r=`${PWD_COMMAND}`; export r; \
43285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43286 $(NORMAL_TARGET_EXPORTS) \
43287 (cd $(TARGET_SUBDIR)/libada && \
43288 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
43289 $(TARGET-target-libada))
43290 @endif target-libada
43296 .PHONY: check-target-libada maybe-check-target-libada
43297 maybe-check-target-libada:
43298 @if target-libada
43299 maybe-check-target-libada: check-target-libada
43301 check-target-libada:
43302 @: $(MAKE); $(unstage)
43303 @r=`${PWD_COMMAND}`; export r; \
43304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43305 $(NORMAL_TARGET_EXPORTS) \
43306 (cd $(TARGET_SUBDIR)/libada && \
43307 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
43309 @endif target-libada
43311 .PHONY: install-target-libada maybe-install-target-libada
43312 maybe-install-target-libada:
43313 @if target-libada
43314 maybe-install-target-libada: install-target-libada
43316 install-target-libada: installdirs
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)/libada && \
43322 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
43324 @endif target-libada
43326 .PHONY: install-strip-target-libada maybe-install-strip-target-libada
43327 maybe-install-strip-target-libada:
43328 @if target-libada
43329 maybe-install-strip-target-libada: install-strip-target-libada
43331 install-strip-target-libada: 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)/libada && \
43337 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
43339 @endif target-libada
43341 # Other targets (info, dvi, pdf, etc.)
43343 .PHONY: maybe-info-target-libada info-target-libada
43344 maybe-info-target-libada:
43345 @if target-libada
43346 maybe-info-target-libada: info-target-libada
43348 info-target-libada: \
43349 configure-target-libada
43350 @: $(MAKE); $(unstage)
43351 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43352 r=`${PWD_COMMAND}`; export r; \
43353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43354 $(NORMAL_TARGET_EXPORTS) \
43355 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
43356 for flag in $(EXTRA_TARGET_FLAGS); do \
43357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43358 done; \
43359 (cd $(TARGET_SUBDIR)/libada && \
43360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43362 "RANLIB=$${RANLIB}" \
43363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43364 info) \
43365 || exit 1
43367 @endif target-libada
43369 .PHONY: maybe-dvi-target-libada dvi-target-libada
43370 maybe-dvi-target-libada:
43371 @if target-libada
43372 maybe-dvi-target-libada: dvi-target-libada
43374 dvi-target-libada: \
43375 configure-target-libada
43376 @: $(MAKE); $(unstage)
43377 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43378 r=`${PWD_COMMAND}`; export r; \
43379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43380 $(NORMAL_TARGET_EXPORTS) \
43381 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
43382 for flag in $(EXTRA_TARGET_FLAGS); do \
43383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43384 done; \
43385 (cd $(TARGET_SUBDIR)/libada && \
43386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43388 "RANLIB=$${RANLIB}" \
43389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43390 dvi) \
43391 || exit 1
43393 @endif target-libada
43395 .PHONY: maybe-pdf-target-libada pdf-target-libada
43396 maybe-pdf-target-libada:
43397 @if target-libada
43398 maybe-pdf-target-libada: pdf-target-libada
43400 pdf-target-libada: \
43401 configure-target-libada
43402 @: $(MAKE); $(unstage)
43403 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43404 r=`${PWD_COMMAND}`; export r; \
43405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43406 $(NORMAL_TARGET_EXPORTS) \
43407 echo "Doing pdf in $(TARGET_SUBDIR)/libada" ; \
43408 for flag in $(EXTRA_TARGET_FLAGS); do \
43409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43410 done; \
43411 (cd $(TARGET_SUBDIR)/libada && \
43412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43414 "RANLIB=$${RANLIB}" \
43415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43416 pdf) \
43417 || exit 1
43419 @endif target-libada
43421 .PHONY: maybe-html-target-libada html-target-libada
43422 maybe-html-target-libada:
43423 @if target-libada
43424 maybe-html-target-libada: html-target-libada
43426 html-target-libada: \
43427 configure-target-libada
43428 @: $(MAKE); $(unstage)
43429 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43430 r=`${PWD_COMMAND}`; export r; \
43431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43432 $(NORMAL_TARGET_EXPORTS) \
43433 echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
43434 for flag in $(EXTRA_TARGET_FLAGS); do \
43435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43436 done; \
43437 (cd $(TARGET_SUBDIR)/libada && \
43438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43440 "RANLIB=$${RANLIB}" \
43441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43442 html) \
43443 || exit 1
43445 @endif target-libada
43447 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
43448 maybe-TAGS-target-libada:
43449 @if target-libada
43450 maybe-TAGS-target-libada: TAGS-target-libada
43452 TAGS-target-libada: \
43453 configure-target-libada
43454 @: $(MAKE); $(unstage)
43455 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43456 r=`${PWD_COMMAND}`; export r; \
43457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43458 $(NORMAL_TARGET_EXPORTS) \
43459 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
43460 for flag in $(EXTRA_TARGET_FLAGS); do \
43461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43462 done; \
43463 (cd $(TARGET_SUBDIR)/libada && \
43464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43466 "RANLIB=$${RANLIB}" \
43467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43468 TAGS) \
43469 || exit 1
43471 @endif target-libada
43473 .PHONY: maybe-install-info-target-libada install-info-target-libada
43474 maybe-install-info-target-libada:
43475 @if target-libada
43476 maybe-install-info-target-libada: install-info-target-libada
43478 install-info-target-libada: \
43479 configure-target-libada \
43480 info-target-libada
43481 @: $(MAKE); $(unstage)
43482 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43483 r=`${PWD_COMMAND}`; export r; \
43484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43485 $(NORMAL_TARGET_EXPORTS) \
43486 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
43487 for flag in $(EXTRA_TARGET_FLAGS); do \
43488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43489 done; \
43490 (cd $(TARGET_SUBDIR)/libada && \
43491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43493 "RANLIB=$${RANLIB}" \
43494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43495 install-info) \
43496 || exit 1
43498 @endif target-libada
43500 .PHONY: maybe-install-pdf-target-libada install-pdf-target-libada
43501 maybe-install-pdf-target-libada:
43502 @if target-libada
43503 maybe-install-pdf-target-libada: install-pdf-target-libada
43505 install-pdf-target-libada: \
43506 configure-target-libada \
43507 pdf-target-libada
43508 @: $(MAKE); $(unstage)
43509 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43510 r=`${PWD_COMMAND}`; export r; \
43511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43512 $(NORMAL_TARGET_EXPORTS) \
43513 echo "Doing install-pdf in $(TARGET_SUBDIR)/libada" ; \
43514 for flag in $(EXTRA_TARGET_FLAGS); do \
43515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43516 done; \
43517 (cd $(TARGET_SUBDIR)/libada && \
43518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43520 "RANLIB=$${RANLIB}" \
43521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43522 install-pdf) \
43523 || exit 1
43525 @endif target-libada
43527 .PHONY: maybe-install-html-target-libada install-html-target-libada
43528 maybe-install-html-target-libada:
43529 @if target-libada
43530 maybe-install-html-target-libada: install-html-target-libada
43532 install-html-target-libada: \
43533 configure-target-libada \
43534 html-target-libada
43535 @: $(MAKE); $(unstage)
43536 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43537 r=`${PWD_COMMAND}`; export r; \
43538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43539 $(NORMAL_TARGET_EXPORTS) \
43540 echo "Doing install-html in $(TARGET_SUBDIR)/libada" ; \
43541 for flag in $(EXTRA_TARGET_FLAGS); do \
43542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43543 done; \
43544 (cd $(TARGET_SUBDIR)/libada && \
43545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43547 "RANLIB=$${RANLIB}" \
43548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43549 install-html) \
43550 || exit 1
43552 @endif target-libada
43554 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
43555 maybe-installcheck-target-libada:
43556 @if target-libada
43557 maybe-installcheck-target-libada: installcheck-target-libada
43559 installcheck-target-libada: \
43560 configure-target-libada
43561 @: $(MAKE); $(unstage)
43562 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43563 r=`${PWD_COMMAND}`; export r; \
43564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43565 $(NORMAL_TARGET_EXPORTS) \
43566 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
43567 for flag in $(EXTRA_TARGET_FLAGS); do \
43568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43569 done; \
43570 (cd $(TARGET_SUBDIR)/libada && \
43571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43573 "RANLIB=$${RANLIB}" \
43574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43575 installcheck) \
43576 || exit 1
43578 @endif target-libada
43580 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
43581 maybe-mostlyclean-target-libada:
43582 @if target-libada
43583 maybe-mostlyclean-target-libada: mostlyclean-target-libada
43585 mostlyclean-target-libada:
43586 @: $(MAKE); $(unstage)
43587 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43588 r=`${PWD_COMMAND}`; export r; \
43589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43590 $(NORMAL_TARGET_EXPORTS) \
43591 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
43592 for flag in $(EXTRA_TARGET_FLAGS); do \
43593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43594 done; \
43595 (cd $(TARGET_SUBDIR)/libada && \
43596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43598 "RANLIB=$${RANLIB}" \
43599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43600 mostlyclean) \
43601 || exit 1
43603 @endif target-libada
43605 .PHONY: maybe-clean-target-libada clean-target-libada
43606 maybe-clean-target-libada:
43607 @if target-libada
43608 maybe-clean-target-libada: clean-target-libada
43610 clean-target-libada:
43611 @: $(MAKE); $(unstage)
43612 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43613 r=`${PWD_COMMAND}`; export r; \
43614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43615 $(NORMAL_TARGET_EXPORTS) \
43616 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
43617 for flag in $(EXTRA_TARGET_FLAGS); do \
43618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43619 done; \
43620 (cd $(TARGET_SUBDIR)/libada && \
43621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43623 "RANLIB=$${RANLIB}" \
43624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43625 clean) \
43626 || exit 1
43628 @endif target-libada
43630 .PHONY: maybe-distclean-target-libada distclean-target-libada
43631 maybe-distclean-target-libada:
43632 @if target-libada
43633 maybe-distclean-target-libada: distclean-target-libada
43635 distclean-target-libada:
43636 @: $(MAKE); $(unstage)
43637 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43638 r=`${PWD_COMMAND}`; export r; \
43639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43640 $(NORMAL_TARGET_EXPORTS) \
43641 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
43642 for flag in $(EXTRA_TARGET_FLAGS); do \
43643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43644 done; \
43645 (cd $(TARGET_SUBDIR)/libada && \
43646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43648 "RANLIB=$${RANLIB}" \
43649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43650 distclean) \
43651 || exit 1
43653 @endif target-libada
43655 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
43656 maybe-maintainer-clean-target-libada:
43657 @if target-libada
43658 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
43660 maintainer-clean-target-libada:
43661 @: $(MAKE); $(unstage)
43662 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43663 r=`${PWD_COMMAND}`; export r; \
43664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43665 $(NORMAL_TARGET_EXPORTS) \
43666 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
43667 for flag in $(EXTRA_TARGET_FLAGS); do \
43668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43669 done; \
43670 (cd $(TARGET_SUBDIR)/libada && \
43671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43673 "RANLIB=$${RANLIB}" \
43674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43675 maintainer-clean) \
43676 || exit 1
43678 @endif target-libada
43684 .PHONY: configure-target-libgomp maybe-configure-target-libgomp
43685 maybe-configure-target-libgomp:
43686 @if gcc-bootstrap
43687 configure-target-libgomp: stage_current
43688 @endif gcc-bootstrap
43689 @if target-libgomp
43690 maybe-configure-target-libgomp: configure-target-libgomp
43691 configure-target-libgomp:
43692 @r=`${PWD_COMMAND}`; export r; \
43693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43694 echo "Checking multilib configuration for libgomp..."; \
43695 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
43696 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
43697 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
43698 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
43699 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
43700 else \
43701 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
43702 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
43703 fi; \
43704 else \
43705 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
43706 fi; \
43707 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
43708 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
43709 $(NORMAL_TARGET_EXPORTS) \
43710 echo Configuring in $(TARGET_SUBDIR)/libgomp; \
43711 cd "$(TARGET_SUBDIR)/libgomp" || exit 1; \
43712 case $(srcdir) in \
43713 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43714 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
43715 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43716 esac; \
43717 srcdiroption="--srcdir=$${topdir}/libgomp"; \
43718 libsrcdir="$$s/libgomp"; \
43719 rm -f no-such-file || : ; \
43720 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
43721 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43722 --target=${target_alias} $${srcdiroption} \
43723 || exit 1
43724 @endif target-libgomp
43728 .PHONY: configure-stage1-target-libgomp maybe-configure-stage1-target-libgomp
43729 maybe-configure-stage1-target-libgomp:
43730 @if target-libgomp-bootstrap
43731 maybe-configure-stage1-target-libgomp: configure-stage1-target-libgomp
43732 configure-stage1-target-libgomp:
43733 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
43734 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
43735 @r=`${PWD_COMMAND}`; export r; \
43736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43737 TFLAGS="$(STAGE1_TFLAGS)"; \
43738 echo "Checking multilib configuration for libgomp..."; \
43739 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
43740 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
43741 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
43742 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
43743 else \
43744 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
43745 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
43746 fi; \
43747 else \
43748 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
43749 fi; \
43750 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
43751 $(NORMAL_TARGET_EXPORTS) \
43752 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
43753 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
43754 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
43755 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgomp ; \
43756 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
43757 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
43758 case $(srcdir) in \
43759 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43760 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
43761 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43762 esac; \
43763 srcdiroption="--srcdir=$${topdir}/libgomp"; \
43764 libsrcdir="$$s/libgomp"; \
43765 $(SHELL) $${libsrcdir}/configure \
43766 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43767 --target=${target_alias} $${srcdiroption} \
43768 $(STAGE1_CONFIGURE_FLAGS)
43769 @endif target-libgomp-bootstrap
43771 .PHONY: configure-stage2-target-libgomp maybe-configure-stage2-target-libgomp
43772 maybe-configure-stage2-target-libgomp:
43773 @if target-libgomp-bootstrap
43774 maybe-configure-stage2-target-libgomp: configure-stage2-target-libgomp
43775 configure-stage2-target-libgomp:
43776 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
43777 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
43778 @r=`${PWD_COMMAND}`; export r; \
43779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43780 TFLAGS="$(STAGE2_TFLAGS)"; \
43781 echo "Checking multilib configuration for libgomp..."; \
43782 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
43783 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
43784 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
43785 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
43786 else \
43787 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
43788 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
43789 fi; \
43790 else \
43791 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
43792 fi; \
43793 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
43794 $(NORMAL_TARGET_EXPORTS) \
43796 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
43797 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
43798 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
43799 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgomp ; \
43800 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
43801 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
43802 case $(srcdir) in \
43803 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43804 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
43805 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43806 esac; \
43807 srcdiroption="--srcdir=$${topdir}/libgomp"; \
43808 libsrcdir="$$s/libgomp"; \
43809 $(SHELL) $${libsrcdir}/configure \
43810 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43811 --target=${target_alias} $${srcdiroption} \
43812 --with-build-libsubdir=$(HOST_SUBDIR) \
43813 $(STAGE2_CONFIGURE_FLAGS)
43814 @endif target-libgomp-bootstrap
43816 .PHONY: configure-stage3-target-libgomp maybe-configure-stage3-target-libgomp
43817 maybe-configure-stage3-target-libgomp:
43818 @if target-libgomp-bootstrap
43819 maybe-configure-stage3-target-libgomp: configure-stage3-target-libgomp
43820 configure-stage3-target-libgomp:
43821 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
43822 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
43823 @r=`${PWD_COMMAND}`; export r; \
43824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43825 TFLAGS="$(STAGE3_TFLAGS)"; \
43826 echo "Checking multilib configuration for libgomp..."; \
43827 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
43828 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
43829 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
43830 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
43831 else \
43832 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
43833 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
43834 fi; \
43835 else \
43836 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
43837 fi; \
43838 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
43839 $(NORMAL_TARGET_EXPORTS) \
43841 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
43842 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
43843 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
43844 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgomp ; \
43845 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
43846 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
43847 case $(srcdir) in \
43848 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43849 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
43850 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43851 esac; \
43852 srcdiroption="--srcdir=$${topdir}/libgomp"; \
43853 libsrcdir="$$s/libgomp"; \
43854 $(SHELL) $${libsrcdir}/configure \
43855 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43856 --target=${target_alias} $${srcdiroption} \
43857 --with-build-libsubdir=$(HOST_SUBDIR) \
43858 $(STAGE3_CONFIGURE_FLAGS)
43859 @endif target-libgomp-bootstrap
43861 .PHONY: configure-stage4-target-libgomp maybe-configure-stage4-target-libgomp
43862 maybe-configure-stage4-target-libgomp:
43863 @if target-libgomp-bootstrap
43864 maybe-configure-stage4-target-libgomp: configure-stage4-target-libgomp
43865 configure-stage4-target-libgomp:
43866 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
43867 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
43868 @r=`${PWD_COMMAND}`; export r; \
43869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43870 TFLAGS="$(STAGE4_TFLAGS)"; \
43871 echo "Checking multilib configuration for libgomp..."; \
43872 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
43873 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
43874 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
43875 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
43876 else \
43877 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
43878 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
43879 fi; \
43880 else \
43881 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
43882 fi; \
43883 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
43884 $(NORMAL_TARGET_EXPORTS) \
43886 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
43887 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
43888 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
43889 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgomp ; \
43890 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
43891 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
43892 case $(srcdir) in \
43893 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43894 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
43895 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43896 esac; \
43897 srcdiroption="--srcdir=$${topdir}/libgomp"; \
43898 libsrcdir="$$s/libgomp"; \
43899 $(SHELL) $${libsrcdir}/configure \
43900 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43901 --target=${target_alias} $${srcdiroption} \
43902 --with-build-libsubdir=$(HOST_SUBDIR) \
43903 $(STAGE4_CONFIGURE_FLAGS)
43904 @endif target-libgomp-bootstrap
43906 .PHONY: configure-stageprofile-target-libgomp maybe-configure-stageprofile-target-libgomp
43907 maybe-configure-stageprofile-target-libgomp:
43908 @if target-libgomp-bootstrap
43909 maybe-configure-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
43910 configure-stageprofile-target-libgomp:
43911 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
43912 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
43913 @r=`${PWD_COMMAND}`; export r; \
43914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43915 TFLAGS="$(STAGEprofile_TFLAGS)"; \
43916 echo "Checking multilib configuration for libgomp..."; \
43917 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
43918 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
43919 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
43920 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
43921 else \
43922 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
43923 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
43924 fi; \
43925 else \
43926 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
43927 fi; \
43928 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
43929 $(NORMAL_TARGET_EXPORTS) \
43931 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
43932 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
43933 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
43934 echo Configuring stage profile in $(TARGET_SUBDIR)/libgomp ; \
43935 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
43936 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
43937 case $(srcdir) in \
43938 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43939 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
43940 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43941 esac; \
43942 srcdiroption="--srcdir=$${topdir}/libgomp"; \
43943 libsrcdir="$$s/libgomp"; \
43944 $(SHELL) $${libsrcdir}/configure \
43945 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43946 --target=${target_alias} $${srcdiroption} \
43947 --with-build-libsubdir=$(HOST_SUBDIR) \
43948 $(STAGEprofile_CONFIGURE_FLAGS)
43949 @endif target-libgomp-bootstrap
43951 .PHONY: configure-stagefeedback-target-libgomp maybe-configure-stagefeedback-target-libgomp
43952 maybe-configure-stagefeedback-target-libgomp:
43953 @if target-libgomp-bootstrap
43954 maybe-configure-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
43955 configure-stagefeedback-target-libgomp:
43956 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
43957 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
43958 @r=`${PWD_COMMAND}`; export r; \
43959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43960 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
43961 echo "Checking multilib configuration for libgomp..."; \
43962 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
43963 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
43964 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
43965 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
43966 else \
43967 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
43968 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
43969 fi; \
43970 else \
43971 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
43972 fi; \
43973 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
43974 $(NORMAL_TARGET_EXPORTS) \
43976 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
43977 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
43978 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
43979 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgomp ; \
43980 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
43981 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
43982 case $(srcdir) in \
43983 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43984 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
43985 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43986 esac; \
43987 srcdiroption="--srcdir=$${topdir}/libgomp"; \
43988 libsrcdir="$$s/libgomp"; \
43989 $(SHELL) $${libsrcdir}/configure \
43990 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43991 --target=${target_alias} $${srcdiroption} \
43992 --with-build-libsubdir=$(HOST_SUBDIR) \
43993 $(STAGEfeedback_CONFIGURE_FLAGS)
43994 @endif target-libgomp-bootstrap
44000 .PHONY: all-target-libgomp maybe-all-target-libgomp
44001 maybe-all-target-libgomp:
44002 @if gcc-bootstrap
44003 all-target-libgomp: stage_current
44004 @endif gcc-bootstrap
44005 @if target-libgomp
44006 TARGET-target-libgomp=all
44007 maybe-all-target-libgomp: all-target-libgomp
44008 all-target-libgomp: configure-target-libgomp
44009 @r=`${PWD_COMMAND}`; export r; \
44010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44011 $(NORMAL_TARGET_EXPORTS) \
44012 (cd $(TARGET_SUBDIR)/libgomp && \
44013 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
44014 $(TARGET-target-libgomp))
44015 @endif target-libgomp
44019 .PHONY: all-stage1-target-libgomp maybe-all-stage1-target-libgomp
44020 .PHONY: clean-stage1-target-libgomp maybe-clean-stage1-target-libgomp
44021 maybe-all-stage1-target-libgomp:
44022 maybe-clean-stage1-target-libgomp:
44023 @if target-libgomp-bootstrap
44024 maybe-all-stage1-target-libgomp: all-stage1-target-libgomp
44025 all-stage1: all-stage1-target-libgomp
44026 TARGET-stage1-target-libgomp = $(TARGET-target-libgomp)
44027 all-stage1-target-libgomp: configure-stage1-target-libgomp
44028 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
44029 @r=`${PWD_COMMAND}`; export r; \
44030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44031 TFLAGS="$(STAGE1_TFLAGS)"; \
44032 $(NORMAL_TARGET_EXPORTS) \
44033 cd $(TARGET_SUBDIR)/libgomp && \
44034 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44035 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44036 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44037 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44038 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44039 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44040 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44041 $(EXTRA_TARGET_FLAGS) \
44043 TFLAGS="$(STAGE1_TFLAGS)" \
44044 $(TARGET-stage1-target-libgomp)
44046 maybe-clean-stage1-target-libgomp: clean-stage1-target-libgomp
44047 clean-stage1: clean-stage1-target-libgomp
44048 clean-stage1-target-libgomp:
44049 @if [ $(current_stage) = stage1 ]; then \
44050 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
44051 else \
44052 [ -f $(TARGET_SUBDIR)/stage1-libgomp/Makefile ] || exit 0; \
44053 $(MAKE) stage1-start; \
44054 fi; \
44055 cd $(TARGET_SUBDIR)/libgomp && \
44056 $(MAKE) $(EXTRA_TARGET_FLAGS) \
44057 clean
44058 @endif target-libgomp-bootstrap
44061 .PHONY: all-stage2-target-libgomp maybe-all-stage2-target-libgomp
44062 .PHONY: clean-stage2-target-libgomp maybe-clean-stage2-target-libgomp
44063 maybe-all-stage2-target-libgomp:
44064 maybe-clean-stage2-target-libgomp:
44065 @if target-libgomp-bootstrap
44066 maybe-all-stage2-target-libgomp: all-stage2-target-libgomp
44067 all-stage2: all-stage2-target-libgomp
44068 TARGET-stage2-target-libgomp = $(TARGET-target-libgomp)
44069 all-stage2-target-libgomp: configure-stage2-target-libgomp
44070 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
44071 @r=`${PWD_COMMAND}`; export r; \
44072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44073 TFLAGS="$(STAGE2_TFLAGS)"; \
44074 $(NORMAL_TARGET_EXPORTS) \
44076 cd $(TARGET_SUBDIR)/libgomp && \
44077 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44078 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44079 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44080 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44081 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44082 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44083 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44084 $(EXTRA_TARGET_FLAGS) \
44085 TFLAGS="$(STAGE2_TFLAGS)" \
44086 $(TARGET-stage2-target-libgomp)
44088 maybe-clean-stage2-target-libgomp: clean-stage2-target-libgomp
44089 clean-stage2: clean-stage2-target-libgomp
44090 clean-stage2-target-libgomp:
44091 @if [ $(current_stage) = stage2 ]; then \
44092 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
44093 else \
44094 [ -f $(TARGET_SUBDIR)/stage2-libgomp/Makefile ] || exit 0; \
44095 $(MAKE) stage2-start; \
44096 fi; \
44097 cd $(TARGET_SUBDIR)/libgomp && \
44098 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
44099 @endif target-libgomp-bootstrap
44102 .PHONY: all-stage3-target-libgomp maybe-all-stage3-target-libgomp
44103 .PHONY: clean-stage3-target-libgomp maybe-clean-stage3-target-libgomp
44104 maybe-all-stage3-target-libgomp:
44105 maybe-clean-stage3-target-libgomp:
44106 @if target-libgomp-bootstrap
44107 maybe-all-stage3-target-libgomp: all-stage3-target-libgomp
44108 all-stage3: all-stage3-target-libgomp
44109 TARGET-stage3-target-libgomp = $(TARGET-target-libgomp)
44110 all-stage3-target-libgomp: configure-stage3-target-libgomp
44111 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
44112 @r=`${PWD_COMMAND}`; export r; \
44113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44114 TFLAGS="$(STAGE3_TFLAGS)"; \
44115 $(NORMAL_TARGET_EXPORTS) \
44117 cd $(TARGET_SUBDIR)/libgomp && \
44118 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44119 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44120 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44121 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44122 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44123 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44124 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44125 $(EXTRA_TARGET_FLAGS) \
44126 TFLAGS="$(STAGE3_TFLAGS)" \
44127 $(TARGET-stage3-target-libgomp)
44129 maybe-clean-stage3-target-libgomp: clean-stage3-target-libgomp
44130 clean-stage3: clean-stage3-target-libgomp
44131 clean-stage3-target-libgomp:
44132 @if [ $(current_stage) = stage3 ]; then \
44133 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
44134 else \
44135 [ -f $(TARGET_SUBDIR)/stage3-libgomp/Makefile ] || exit 0; \
44136 $(MAKE) stage3-start; \
44137 fi; \
44138 cd $(TARGET_SUBDIR)/libgomp && \
44139 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
44140 @endif target-libgomp-bootstrap
44143 .PHONY: all-stage4-target-libgomp maybe-all-stage4-target-libgomp
44144 .PHONY: clean-stage4-target-libgomp maybe-clean-stage4-target-libgomp
44145 maybe-all-stage4-target-libgomp:
44146 maybe-clean-stage4-target-libgomp:
44147 @if target-libgomp-bootstrap
44148 maybe-all-stage4-target-libgomp: all-stage4-target-libgomp
44149 all-stage4: all-stage4-target-libgomp
44150 TARGET-stage4-target-libgomp = $(TARGET-target-libgomp)
44151 all-stage4-target-libgomp: configure-stage4-target-libgomp
44152 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
44153 @r=`${PWD_COMMAND}`; export r; \
44154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44155 TFLAGS="$(STAGE4_TFLAGS)"; \
44156 $(NORMAL_TARGET_EXPORTS) \
44158 cd $(TARGET_SUBDIR)/libgomp && \
44159 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44160 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44161 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44162 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44163 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44164 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44165 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44166 $(EXTRA_TARGET_FLAGS) \
44167 TFLAGS="$(STAGE4_TFLAGS)" \
44168 $(TARGET-stage4-target-libgomp)
44170 maybe-clean-stage4-target-libgomp: clean-stage4-target-libgomp
44171 clean-stage4: clean-stage4-target-libgomp
44172 clean-stage4-target-libgomp:
44173 @if [ $(current_stage) = stage4 ]; then \
44174 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
44175 else \
44176 [ -f $(TARGET_SUBDIR)/stage4-libgomp/Makefile ] || exit 0; \
44177 $(MAKE) stage4-start; \
44178 fi; \
44179 cd $(TARGET_SUBDIR)/libgomp && \
44180 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
44181 @endif target-libgomp-bootstrap
44184 .PHONY: all-stageprofile-target-libgomp maybe-all-stageprofile-target-libgomp
44185 .PHONY: clean-stageprofile-target-libgomp maybe-clean-stageprofile-target-libgomp
44186 maybe-all-stageprofile-target-libgomp:
44187 maybe-clean-stageprofile-target-libgomp:
44188 @if target-libgomp-bootstrap
44189 maybe-all-stageprofile-target-libgomp: all-stageprofile-target-libgomp
44190 all-stageprofile: all-stageprofile-target-libgomp
44191 TARGET-stageprofile-target-libgomp = $(TARGET-target-libgomp)
44192 all-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
44193 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
44194 @r=`${PWD_COMMAND}`; export r; \
44195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44196 TFLAGS="$(STAGEprofile_TFLAGS)"; \
44197 $(NORMAL_TARGET_EXPORTS) \
44199 cd $(TARGET_SUBDIR)/libgomp && \
44200 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44201 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44202 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44203 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44204 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44205 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44206 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44207 $(EXTRA_TARGET_FLAGS) \
44208 TFLAGS="$(STAGEprofile_TFLAGS)" \
44209 $(TARGET-stageprofile-target-libgomp)
44211 maybe-clean-stageprofile-target-libgomp: clean-stageprofile-target-libgomp
44212 clean-stageprofile: clean-stageprofile-target-libgomp
44213 clean-stageprofile-target-libgomp:
44214 @if [ $(current_stage) = stageprofile ]; then \
44215 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
44216 else \
44217 [ -f $(TARGET_SUBDIR)/stageprofile-libgomp/Makefile ] || exit 0; \
44218 $(MAKE) stageprofile-start; \
44219 fi; \
44220 cd $(TARGET_SUBDIR)/libgomp && \
44221 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
44222 @endif target-libgomp-bootstrap
44225 .PHONY: all-stagefeedback-target-libgomp maybe-all-stagefeedback-target-libgomp
44226 .PHONY: clean-stagefeedback-target-libgomp maybe-clean-stagefeedback-target-libgomp
44227 maybe-all-stagefeedback-target-libgomp:
44228 maybe-clean-stagefeedback-target-libgomp:
44229 @if target-libgomp-bootstrap
44230 maybe-all-stagefeedback-target-libgomp: all-stagefeedback-target-libgomp
44231 all-stagefeedback: all-stagefeedback-target-libgomp
44232 TARGET-stagefeedback-target-libgomp = $(TARGET-target-libgomp)
44233 all-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
44234 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
44235 @r=`${PWD_COMMAND}`; export r; \
44236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44237 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
44238 $(NORMAL_TARGET_EXPORTS) \
44240 cd $(TARGET_SUBDIR)/libgomp && \
44241 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44242 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44243 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44244 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44245 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44246 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44247 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44248 $(EXTRA_TARGET_FLAGS) \
44249 TFLAGS="$(STAGEfeedback_TFLAGS)" \
44250 $(TARGET-stagefeedback-target-libgomp)
44252 maybe-clean-stagefeedback-target-libgomp: clean-stagefeedback-target-libgomp
44253 clean-stagefeedback: clean-stagefeedback-target-libgomp
44254 clean-stagefeedback-target-libgomp:
44255 @if [ $(current_stage) = stagefeedback ]; then \
44256 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
44257 else \
44258 [ -f $(TARGET_SUBDIR)/stagefeedback-libgomp/Makefile ] || exit 0; \
44259 $(MAKE) stagefeedback-start; \
44260 fi; \
44261 cd $(TARGET_SUBDIR)/libgomp && \
44262 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
44263 @endif target-libgomp-bootstrap
44270 .PHONY: check-target-libgomp maybe-check-target-libgomp
44271 maybe-check-target-libgomp:
44272 @if target-libgomp
44273 maybe-check-target-libgomp: check-target-libgomp
44275 check-target-libgomp:
44276 @: $(MAKE); $(unstage)
44277 @r=`${PWD_COMMAND}`; export r; \
44278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44279 $(NORMAL_TARGET_EXPORTS) \
44280 (cd $(TARGET_SUBDIR)/libgomp && \
44281 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
44283 @endif target-libgomp
44285 .PHONY: install-target-libgomp maybe-install-target-libgomp
44286 maybe-install-target-libgomp:
44287 @if target-libgomp
44288 maybe-install-target-libgomp: install-target-libgomp
44290 install-target-libgomp: installdirs
44291 @: $(MAKE); $(unstage)
44292 @r=`${PWD_COMMAND}`; export r; \
44293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44294 $(NORMAL_TARGET_EXPORTS) \
44295 (cd $(TARGET_SUBDIR)/libgomp && \
44296 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
44298 @endif target-libgomp
44300 .PHONY: install-strip-target-libgomp maybe-install-strip-target-libgomp
44301 maybe-install-strip-target-libgomp:
44302 @if target-libgomp
44303 maybe-install-strip-target-libgomp: install-strip-target-libgomp
44305 install-strip-target-libgomp: installdirs
44306 @: $(MAKE); $(unstage)
44307 @r=`${PWD_COMMAND}`; export r; \
44308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44309 $(NORMAL_TARGET_EXPORTS) \
44310 (cd $(TARGET_SUBDIR)/libgomp && \
44311 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
44313 @endif target-libgomp
44315 # Other targets (info, dvi, pdf, etc.)
44317 .PHONY: maybe-info-target-libgomp info-target-libgomp
44318 maybe-info-target-libgomp:
44319 @if target-libgomp
44320 maybe-info-target-libgomp: info-target-libgomp
44322 info-target-libgomp: \
44323 configure-target-libgomp
44324 @: $(MAKE); $(unstage)
44325 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44326 r=`${PWD_COMMAND}`; export r; \
44327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44328 $(NORMAL_TARGET_EXPORTS) \
44329 echo "Doing info in $(TARGET_SUBDIR)/libgomp" ; \
44330 for flag in $(EXTRA_TARGET_FLAGS); do \
44331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44332 done; \
44333 (cd $(TARGET_SUBDIR)/libgomp && \
44334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44336 "RANLIB=$${RANLIB}" \
44337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44338 info) \
44339 || exit 1
44341 @endif target-libgomp
44343 .PHONY: maybe-dvi-target-libgomp dvi-target-libgomp
44344 maybe-dvi-target-libgomp:
44345 @if target-libgomp
44346 maybe-dvi-target-libgomp: dvi-target-libgomp
44348 dvi-target-libgomp: \
44349 configure-target-libgomp
44350 @: $(MAKE); $(unstage)
44351 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44352 r=`${PWD_COMMAND}`; export r; \
44353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44354 $(NORMAL_TARGET_EXPORTS) \
44355 echo "Doing dvi in $(TARGET_SUBDIR)/libgomp" ; \
44356 for flag in $(EXTRA_TARGET_FLAGS); do \
44357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44358 done; \
44359 (cd $(TARGET_SUBDIR)/libgomp && \
44360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44362 "RANLIB=$${RANLIB}" \
44363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44364 dvi) \
44365 || exit 1
44367 @endif target-libgomp
44369 .PHONY: maybe-pdf-target-libgomp pdf-target-libgomp
44370 maybe-pdf-target-libgomp:
44371 @if target-libgomp
44372 maybe-pdf-target-libgomp: pdf-target-libgomp
44374 pdf-target-libgomp: \
44375 configure-target-libgomp
44376 @: $(MAKE); $(unstage)
44377 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44378 r=`${PWD_COMMAND}`; export r; \
44379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44380 $(NORMAL_TARGET_EXPORTS) \
44381 echo "Doing pdf in $(TARGET_SUBDIR)/libgomp" ; \
44382 for flag in $(EXTRA_TARGET_FLAGS); do \
44383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44384 done; \
44385 (cd $(TARGET_SUBDIR)/libgomp && \
44386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44388 "RANLIB=$${RANLIB}" \
44389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44390 pdf) \
44391 || exit 1
44393 @endif target-libgomp
44395 .PHONY: maybe-html-target-libgomp html-target-libgomp
44396 maybe-html-target-libgomp:
44397 @if target-libgomp
44398 maybe-html-target-libgomp: html-target-libgomp
44400 html-target-libgomp: \
44401 configure-target-libgomp
44402 @: $(MAKE); $(unstage)
44403 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44404 r=`${PWD_COMMAND}`; export r; \
44405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44406 $(NORMAL_TARGET_EXPORTS) \
44407 echo "Doing html in $(TARGET_SUBDIR)/libgomp" ; \
44408 for flag in $(EXTRA_TARGET_FLAGS); do \
44409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44410 done; \
44411 (cd $(TARGET_SUBDIR)/libgomp && \
44412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44414 "RANLIB=$${RANLIB}" \
44415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44416 html) \
44417 || exit 1
44419 @endif target-libgomp
44421 .PHONY: maybe-TAGS-target-libgomp TAGS-target-libgomp
44422 maybe-TAGS-target-libgomp:
44423 @if target-libgomp
44424 maybe-TAGS-target-libgomp: TAGS-target-libgomp
44426 TAGS-target-libgomp: \
44427 configure-target-libgomp
44428 @: $(MAKE); $(unstage)
44429 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44430 r=`${PWD_COMMAND}`; export r; \
44431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44432 $(NORMAL_TARGET_EXPORTS) \
44433 echo "Doing TAGS in $(TARGET_SUBDIR)/libgomp" ; \
44434 for flag in $(EXTRA_TARGET_FLAGS); do \
44435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44436 done; \
44437 (cd $(TARGET_SUBDIR)/libgomp && \
44438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44440 "RANLIB=$${RANLIB}" \
44441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44442 TAGS) \
44443 || exit 1
44445 @endif target-libgomp
44447 .PHONY: maybe-install-info-target-libgomp install-info-target-libgomp
44448 maybe-install-info-target-libgomp:
44449 @if target-libgomp
44450 maybe-install-info-target-libgomp: install-info-target-libgomp
44452 install-info-target-libgomp: \
44453 configure-target-libgomp \
44454 info-target-libgomp
44455 @: $(MAKE); $(unstage)
44456 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44457 r=`${PWD_COMMAND}`; export r; \
44458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44459 $(NORMAL_TARGET_EXPORTS) \
44460 echo "Doing install-info in $(TARGET_SUBDIR)/libgomp" ; \
44461 for flag in $(EXTRA_TARGET_FLAGS); do \
44462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44463 done; \
44464 (cd $(TARGET_SUBDIR)/libgomp && \
44465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44467 "RANLIB=$${RANLIB}" \
44468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44469 install-info) \
44470 || exit 1
44472 @endif target-libgomp
44474 .PHONY: maybe-install-pdf-target-libgomp install-pdf-target-libgomp
44475 maybe-install-pdf-target-libgomp:
44476 @if target-libgomp
44477 maybe-install-pdf-target-libgomp: install-pdf-target-libgomp
44479 install-pdf-target-libgomp: \
44480 configure-target-libgomp \
44481 pdf-target-libgomp
44482 @: $(MAKE); $(unstage)
44483 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44484 r=`${PWD_COMMAND}`; export r; \
44485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44486 $(NORMAL_TARGET_EXPORTS) \
44487 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgomp" ; \
44488 for flag in $(EXTRA_TARGET_FLAGS); do \
44489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44490 done; \
44491 (cd $(TARGET_SUBDIR)/libgomp && \
44492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44494 "RANLIB=$${RANLIB}" \
44495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44496 install-pdf) \
44497 || exit 1
44499 @endif target-libgomp
44501 .PHONY: maybe-install-html-target-libgomp install-html-target-libgomp
44502 maybe-install-html-target-libgomp:
44503 @if target-libgomp
44504 maybe-install-html-target-libgomp: install-html-target-libgomp
44506 install-html-target-libgomp: \
44507 configure-target-libgomp \
44508 html-target-libgomp
44509 @: $(MAKE); $(unstage)
44510 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44511 r=`${PWD_COMMAND}`; export r; \
44512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44513 $(NORMAL_TARGET_EXPORTS) \
44514 echo "Doing install-html in $(TARGET_SUBDIR)/libgomp" ; \
44515 for flag in $(EXTRA_TARGET_FLAGS); do \
44516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44517 done; \
44518 (cd $(TARGET_SUBDIR)/libgomp && \
44519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44521 "RANLIB=$${RANLIB}" \
44522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44523 install-html) \
44524 || exit 1
44526 @endif target-libgomp
44528 .PHONY: maybe-installcheck-target-libgomp installcheck-target-libgomp
44529 maybe-installcheck-target-libgomp:
44530 @if target-libgomp
44531 maybe-installcheck-target-libgomp: installcheck-target-libgomp
44533 installcheck-target-libgomp: \
44534 configure-target-libgomp
44535 @: $(MAKE); $(unstage)
44536 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44537 r=`${PWD_COMMAND}`; export r; \
44538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44539 $(NORMAL_TARGET_EXPORTS) \
44540 echo "Doing installcheck in $(TARGET_SUBDIR)/libgomp" ; \
44541 for flag in $(EXTRA_TARGET_FLAGS); do \
44542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44543 done; \
44544 (cd $(TARGET_SUBDIR)/libgomp && \
44545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44547 "RANLIB=$${RANLIB}" \
44548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44549 installcheck) \
44550 || exit 1
44552 @endif target-libgomp
44554 .PHONY: maybe-mostlyclean-target-libgomp mostlyclean-target-libgomp
44555 maybe-mostlyclean-target-libgomp:
44556 @if target-libgomp
44557 maybe-mostlyclean-target-libgomp: mostlyclean-target-libgomp
44559 mostlyclean-target-libgomp:
44560 @: $(MAKE); $(unstage)
44561 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44562 r=`${PWD_COMMAND}`; export r; \
44563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44564 $(NORMAL_TARGET_EXPORTS) \
44565 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgomp" ; \
44566 for flag in $(EXTRA_TARGET_FLAGS); do \
44567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44568 done; \
44569 (cd $(TARGET_SUBDIR)/libgomp && \
44570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44572 "RANLIB=$${RANLIB}" \
44573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44574 mostlyclean) \
44575 || exit 1
44577 @endif target-libgomp
44579 .PHONY: maybe-clean-target-libgomp clean-target-libgomp
44580 maybe-clean-target-libgomp:
44581 @if target-libgomp
44582 maybe-clean-target-libgomp: clean-target-libgomp
44584 clean-target-libgomp:
44585 @: $(MAKE); $(unstage)
44586 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44587 r=`${PWD_COMMAND}`; export r; \
44588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44589 $(NORMAL_TARGET_EXPORTS) \
44590 echo "Doing clean in $(TARGET_SUBDIR)/libgomp" ; \
44591 for flag in $(EXTRA_TARGET_FLAGS); do \
44592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44593 done; \
44594 (cd $(TARGET_SUBDIR)/libgomp && \
44595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44597 "RANLIB=$${RANLIB}" \
44598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44599 clean) \
44600 || exit 1
44602 @endif target-libgomp
44604 .PHONY: maybe-distclean-target-libgomp distclean-target-libgomp
44605 maybe-distclean-target-libgomp:
44606 @if target-libgomp
44607 maybe-distclean-target-libgomp: distclean-target-libgomp
44609 distclean-target-libgomp:
44610 @: $(MAKE); $(unstage)
44611 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44612 r=`${PWD_COMMAND}`; export r; \
44613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44614 $(NORMAL_TARGET_EXPORTS) \
44615 echo "Doing distclean in $(TARGET_SUBDIR)/libgomp" ; \
44616 for flag in $(EXTRA_TARGET_FLAGS); do \
44617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44618 done; \
44619 (cd $(TARGET_SUBDIR)/libgomp && \
44620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44622 "RANLIB=$${RANLIB}" \
44623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44624 distclean) \
44625 || exit 1
44627 @endif target-libgomp
44629 .PHONY: maybe-maintainer-clean-target-libgomp maintainer-clean-target-libgomp
44630 maybe-maintainer-clean-target-libgomp:
44631 @if target-libgomp
44632 maybe-maintainer-clean-target-libgomp: maintainer-clean-target-libgomp
44634 maintainer-clean-target-libgomp:
44635 @: $(MAKE); $(unstage)
44636 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44637 r=`${PWD_COMMAND}`; export r; \
44638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44639 $(NORMAL_TARGET_EXPORTS) \
44640 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgomp" ; \
44641 for flag in $(EXTRA_TARGET_FLAGS); do \
44642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44643 done; \
44644 (cd $(TARGET_SUBDIR)/libgomp && \
44645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44647 "RANLIB=$${RANLIB}" \
44648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44649 maintainer-clean) \
44650 || exit 1
44652 @endif target-libgomp
44658 .PHONY: configure-target-libitm maybe-configure-target-libitm
44659 maybe-configure-target-libitm:
44660 @if gcc-bootstrap
44661 configure-target-libitm: stage_current
44662 @endif gcc-bootstrap
44663 @if target-libitm
44664 maybe-configure-target-libitm: configure-target-libitm
44665 configure-target-libitm:
44666 @: $(MAKE); $(unstage)
44667 @r=`${PWD_COMMAND}`; export r; \
44668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44669 echo "Checking multilib configuration for libitm..."; \
44670 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm ; \
44671 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libitm/multilib.tmp 2> /dev/null ; \
44672 if test -r $(TARGET_SUBDIR)/libitm/multilib.out; then \
44673 if cmp -s $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; then \
44674 rm -f $(TARGET_SUBDIR)/libitm/multilib.tmp; \
44675 else \
44676 rm -f $(TARGET_SUBDIR)/libitm/Makefile; \
44677 mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \
44678 fi; \
44679 else \
44680 mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \
44681 fi; \
44682 test ! -f $(TARGET_SUBDIR)/libitm/Makefile || exit 0; \
44683 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm ; \
44684 $(NORMAL_TARGET_EXPORTS) \
44685 echo Configuring in $(TARGET_SUBDIR)/libitm; \
44686 cd "$(TARGET_SUBDIR)/libitm" || exit 1; \
44687 case $(srcdir) in \
44688 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44689 *) topdir=`echo $(TARGET_SUBDIR)/libitm/ | \
44690 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44691 esac; \
44692 srcdiroption="--srcdir=$${topdir}/libitm"; \
44693 libsrcdir="$$s/libitm"; \
44694 rm -f no-such-file || : ; \
44695 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
44696 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44697 --target=${target_alias} $${srcdiroption} \
44698 || exit 1
44699 @endif target-libitm
44705 .PHONY: all-target-libitm maybe-all-target-libitm
44706 maybe-all-target-libitm:
44707 @if gcc-bootstrap
44708 all-target-libitm: stage_current
44709 @endif gcc-bootstrap
44710 @if target-libitm
44711 TARGET-target-libitm=all
44712 maybe-all-target-libitm: all-target-libitm
44713 all-target-libitm: configure-target-libitm
44714 @: $(MAKE); $(unstage)
44715 @r=`${PWD_COMMAND}`; export r; \
44716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44717 $(NORMAL_TARGET_EXPORTS) \
44718 (cd $(TARGET_SUBDIR)/libitm && \
44719 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
44720 $(TARGET-target-libitm))
44721 @endif target-libitm
44727 .PHONY: check-target-libitm maybe-check-target-libitm
44728 maybe-check-target-libitm:
44729 @if target-libitm
44730 maybe-check-target-libitm: check-target-libitm
44732 check-target-libitm:
44733 @: $(MAKE); $(unstage)
44734 @r=`${PWD_COMMAND}`; export r; \
44735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44736 $(NORMAL_TARGET_EXPORTS) \
44737 (cd $(TARGET_SUBDIR)/libitm && \
44738 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
44740 @endif target-libitm
44742 .PHONY: install-target-libitm maybe-install-target-libitm
44743 maybe-install-target-libitm:
44744 @if target-libitm
44745 maybe-install-target-libitm: install-target-libitm
44747 install-target-libitm: installdirs
44748 @: $(MAKE); $(unstage)
44749 @r=`${PWD_COMMAND}`; export r; \
44750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44751 $(NORMAL_TARGET_EXPORTS) \
44752 (cd $(TARGET_SUBDIR)/libitm && \
44753 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
44755 @endif target-libitm
44757 .PHONY: install-strip-target-libitm maybe-install-strip-target-libitm
44758 maybe-install-strip-target-libitm:
44759 @if target-libitm
44760 maybe-install-strip-target-libitm: install-strip-target-libitm
44762 install-strip-target-libitm: installdirs
44763 @: $(MAKE); $(unstage)
44764 @r=`${PWD_COMMAND}`; export r; \
44765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44766 $(NORMAL_TARGET_EXPORTS) \
44767 (cd $(TARGET_SUBDIR)/libitm && \
44768 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
44770 @endif target-libitm
44772 # Other targets (info, dvi, pdf, etc.)
44774 .PHONY: maybe-info-target-libitm info-target-libitm
44775 maybe-info-target-libitm:
44776 @if target-libitm
44777 maybe-info-target-libitm: info-target-libitm
44779 info-target-libitm: \
44780 configure-target-libitm
44781 @: $(MAKE); $(unstage)
44782 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
44783 r=`${PWD_COMMAND}`; export r; \
44784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44785 $(NORMAL_TARGET_EXPORTS) \
44786 echo "Doing info in $(TARGET_SUBDIR)/libitm" ; \
44787 for flag in $(EXTRA_TARGET_FLAGS); do \
44788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44789 done; \
44790 (cd $(TARGET_SUBDIR)/libitm && \
44791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44793 "RANLIB=$${RANLIB}" \
44794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44795 info) \
44796 || exit 1
44798 @endif target-libitm
44800 .PHONY: maybe-dvi-target-libitm dvi-target-libitm
44801 maybe-dvi-target-libitm:
44802 @if target-libitm
44803 maybe-dvi-target-libitm: dvi-target-libitm
44805 dvi-target-libitm: \
44806 configure-target-libitm
44807 @: $(MAKE); $(unstage)
44808 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
44809 r=`${PWD_COMMAND}`; export r; \
44810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44811 $(NORMAL_TARGET_EXPORTS) \
44812 echo "Doing dvi in $(TARGET_SUBDIR)/libitm" ; \
44813 for flag in $(EXTRA_TARGET_FLAGS); do \
44814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44815 done; \
44816 (cd $(TARGET_SUBDIR)/libitm && \
44817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44819 "RANLIB=$${RANLIB}" \
44820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44821 dvi) \
44822 || exit 1
44824 @endif target-libitm
44826 .PHONY: maybe-pdf-target-libitm pdf-target-libitm
44827 maybe-pdf-target-libitm:
44828 @if target-libitm
44829 maybe-pdf-target-libitm: pdf-target-libitm
44831 pdf-target-libitm: \
44832 configure-target-libitm
44833 @: $(MAKE); $(unstage)
44834 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
44835 r=`${PWD_COMMAND}`; export r; \
44836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44837 $(NORMAL_TARGET_EXPORTS) \
44838 echo "Doing pdf in $(TARGET_SUBDIR)/libitm" ; \
44839 for flag in $(EXTRA_TARGET_FLAGS); do \
44840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44841 done; \
44842 (cd $(TARGET_SUBDIR)/libitm && \
44843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44845 "RANLIB=$${RANLIB}" \
44846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44847 pdf) \
44848 || exit 1
44850 @endif target-libitm
44852 .PHONY: maybe-html-target-libitm html-target-libitm
44853 maybe-html-target-libitm:
44854 @if target-libitm
44855 maybe-html-target-libitm: html-target-libitm
44857 html-target-libitm: \
44858 configure-target-libitm
44859 @: $(MAKE); $(unstage)
44860 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
44861 r=`${PWD_COMMAND}`; export r; \
44862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44863 $(NORMAL_TARGET_EXPORTS) \
44864 echo "Doing html in $(TARGET_SUBDIR)/libitm" ; \
44865 for flag in $(EXTRA_TARGET_FLAGS); do \
44866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44867 done; \
44868 (cd $(TARGET_SUBDIR)/libitm && \
44869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44871 "RANLIB=$${RANLIB}" \
44872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44873 html) \
44874 || exit 1
44876 @endif target-libitm
44878 .PHONY: maybe-TAGS-target-libitm TAGS-target-libitm
44879 maybe-TAGS-target-libitm:
44880 @if target-libitm
44881 maybe-TAGS-target-libitm: TAGS-target-libitm
44883 TAGS-target-libitm: \
44884 configure-target-libitm
44885 @: $(MAKE); $(unstage)
44886 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
44887 r=`${PWD_COMMAND}`; export r; \
44888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44889 $(NORMAL_TARGET_EXPORTS) \
44890 echo "Doing TAGS in $(TARGET_SUBDIR)/libitm" ; \
44891 for flag in $(EXTRA_TARGET_FLAGS); do \
44892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44893 done; \
44894 (cd $(TARGET_SUBDIR)/libitm && \
44895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44897 "RANLIB=$${RANLIB}" \
44898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44899 TAGS) \
44900 || exit 1
44902 @endif target-libitm
44904 .PHONY: maybe-install-info-target-libitm install-info-target-libitm
44905 maybe-install-info-target-libitm:
44906 @if target-libitm
44907 maybe-install-info-target-libitm: install-info-target-libitm
44909 install-info-target-libitm: \
44910 configure-target-libitm \
44911 info-target-libitm
44912 @: $(MAKE); $(unstage)
44913 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
44914 r=`${PWD_COMMAND}`; export r; \
44915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44916 $(NORMAL_TARGET_EXPORTS) \
44917 echo "Doing install-info in $(TARGET_SUBDIR)/libitm" ; \
44918 for flag in $(EXTRA_TARGET_FLAGS); do \
44919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44920 done; \
44921 (cd $(TARGET_SUBDIR)/libitm && \
44922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44924 "RANLIB=$${RANLIB}" \
44925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44926 install-info) \
44927 || exit 1
44929 @endif target-libitm
44931 .PHONY: maybe-install-pdf-target-libitm install-pdf-target-libitm
44932 maybe-install-pdf-target-libitm:
44933 @if target-libitm
44934 maybe-install-pdf-target-libitm: install-pdf-target-libitm
44936 install-pdf-target-libitm: \
44937 configure-target-libitm \
44938 pdf-target-libitm
44939 @: $(MAKE); $(unstage)
44940 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
44941 r=`${PWD_COMMAND}`; export r; \
44942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44943 $(NORMAL_TARGET_EXPORTS) \
44944 echo "Doing install-pdf in $(TARGET_SUBDIR)/libitm" ; \
44945 for flag in $(EXTRA_TARGET_FLAGS); do \
44946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44947 done; \
44948 (cd $(TARGET_SUBDIR)/libitm && \
44949 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44950 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44951 "RANLIB=$${RANLIB}" \
44952 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44953 install-pdf) \
44954 || exit 1
44956 @endif target-libitm
44958 .PHONY: maybe-install-html-target-libitm install-html-target-libitm
44959 maybe-install-html-target-libitm:
44960 @if target-libitm
44961 maybe-install-html-target-libitm: install-html-target-libitm
44963 install-html-target-libitm: \
44964 configure-target-libitm \
44965 html-target-libitm
44966 @: $(MAKE); $(unstage)
44967 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
44968 r=`${PWD_COMMAND}`; export r; \
44969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44970 $(NORMAL_TARGET_EXPORTS) \
44971 echo "Doing install-html in $(TARGET_SUBDIR)/libitm" ; \
44972 for flag in $(EXTRA_TARGET_FLAGS); do \
44973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44974 done; \
44975 (cd $(TARGET_SUBDIR)/libitm && \
44976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44978 "RANLIB=$${RANLIB}" \
44979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44980 install-html) \
44981 || exit 1
44983 @endif target-libitm
44985 .PHONY: maybe-installcheck-target-libitm installcheck-target-libitm
44986 maybe-installcheck-target-libitm:
44987 @if target-libitm
44988 maybe-installcheck-target-libitm: installcheck-target-libitm
44990 installcheck-target-libitm: \
44991 configure-target-libitm
44992 @: $(MAKE); $(unstage)
44993 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
44994 r=`${PWD_COMMAND}`; export r; \
44995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44996 $(NORMAL_TARGET_EXPORTS) \
44997 echo "Doing installcheck in $(TARGET_SUBDIR)/libitm" ; \
44998 for flag in $(EXTRA_TARGET_FLAGS); do \
44999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45000 done; \
45001 (cd $(TARGET_SUBDIR)/libitm && \
45002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45004 "RANLIB=$${RANLIB}" \
45005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45006 installcheck) \
45007 || exit 1
45009 @endif target-libitm
45011 .PHONY: maybe-mostlyclean-target-libitm mostlyclean-target-libitm
45012 maybe-mostlyclean-target-libitm:
45013 @if target-libitm
45014 maybe-mostlyclean-target-libitm: mostlyclean-target-libitm
45016 mostlyclean-target-libitm:
45017 @: $(MAKE); $(unstage)
45018 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
45019 r=`${PWD_COMMAND}`; export r; \
45020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45021 $(NORMAL_TARGET_EXPORTS) \
45022 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libitm" ; \
45023 for flag in $(EXTRA_TARGET_FLAGS); do \
45024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45025 done; \
45026 (cd $(TARGET_SUBDIR)/libitm && \
45027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45029 "RANLIB=$${RANLIB}" \
45030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45031 mostlyclean) \
45032 || exit 1
45034 @endif target-libitm
45036 .PHONY: maybe-clean-target-libitm clean-target-libitm
45037 maybe-clean-target-libitm:
45038 @if target-libitm
45039 maybe-clean-target-libitm: clean-target-libitm
45041 clean-target-libitm:
45042 @: $(MAKE); $(unstage)
45043 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
45044 r=`${PWD_COMMAND}`; export r; \
45045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45046 $(NORMAL_TARGET_EXPORTS) \
45047 echo "Doing clean in $(TARGET_SUBDIR)/libitm" ; \
45048 for flag in $(EXTRA_TARGET_FLAGS); do \
45049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45050 done; \
45051 (cd $(TARGET_SUBDIR)/libitm && \
45052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45054 "RANLIB=$${RANLIB}" \
45055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45056 clean) \
45057 || exit 1
45059 @endif target-libitm
45061 .PHONY: maybe-distclean-target-libitm distclean-target-libitm
45062 maybe-distclean-target-libitm:
45063 @if target-libitm
45064 maybe-distclean-target-libitm: distclean-target-libitm
45066 distclean-target-libitm:
45067 @: $(MAKE); $(unstage)
45068 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
45069 r=`${PWD_COMMAND}`; export r; \
45070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45071 $(NORMAL_TARGET_EXPORTS) \
45072 echo "Doing distclean in $(TARGET_SUBDIR)/libitm" ; \
45073 for flag in $(EXTRA_TARGET_FLAGS); do \
45074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45075 done; \
45076 (cd $(TARGET_SUBDIR)/libitm && \
45077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45079 "RANLIB=$${RANLIB}" \
45080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45081 distclean) \
45082 || exit 1
45084 @endif target-libitm
45086 .PHONY: maybe-maintainer-clean-target-libitm maintainer-clean-target-libitm
45087 maybe-maintainer-clean-target-libitm:
45088 @if target-libitm
45089 maybe-maintainer-clean-target-libitm: maintainer-clean-target-libitm
45091 maintainer-clean-target-libitm:
45092 @: $(MAKE); $(unstage)
45093 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
45094 r=`${PWD_COMMAND}`; export r; \
45095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45096 $(NORMAL_TARGET_EXPORTS) \
45097 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libitm" ; \
45098 for flag in $(EXTRA_TARGET_FLAGS); do \
45099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45100 done; \
45101 (cd $(TARGET_SUBDIR)/libitm && \
45102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45104 "RANLIB=$${RANLIB}" \
45105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45106 maintainer-clean) \
45107 || exit 1
45109 @endif target-libitm
45115 .PHONY: configure-target-libatomic maybe-configure-target-libatomic
45116 maybe-configure-target-libatomic:
45117 @if gcc-bootstrap
45118 configure-target-libatomic: stage_current
45119 @endif gcc-bootstrap
45120 @if target-libatomic
45121 maybe-configure-target-libatomic: configure-target-libatomic
45122 configure-target-libatomic:
45123 @: $(MAKE); $(unstage)
45124 @r=`${PWD_COMMAND}`; export r; \
45125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45126 echo "Checking multilib configuration for libatomic..."; \
45127 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic ; \
45128 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libatomic/multilib.tmp 2> /dev/null ; \
45129 if test -r $(TARGET_SUBDIR)/libatomic/multilib.out; then \
45130 if cmp -s $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; then \
45131 rm -f $(TARGET_SUBDIR)/libatomic/multilib.tmp; \
45132 else \
45133 rm -f $(TARGET_SUBDIR)/libatomic/Makefile; \
45134 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
45135 fi; \
45136 else \
45137 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
45138 fi; \
45139 test ! -f $(TARGET_SUBDIR)/libatomic/Makefile || exit 0; \
45140 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic ; \
45141 $(NORMAL_TARGET_EXPORTS) \
45142 echo Configuring in $(TARGET_SUBDIR)/libatomic; \
45143 cd "$(TARGET_SUBDIR)/libatomic" || exit 1; \
45144 case $(srcdir) in \
45145 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45146 *) topdir=`echo $(TARGET_SUBDIR)/libatomic/ | \
45147 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45148 esac; \
45149 srcdiroption="--srcdir=$${topdir}/libatomic"; \
45150 libsrcdir="$$s/libatomic"; \
45151 rm -f no-such-file || : ; \
45152 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
45153 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45154 --target=${target_alias} $${srcdiroption} \
45155 || exit 1
45156 @endif target-libatomic
45162 .PHONY: all-target-libatomic maybe-all-target-libatomic
45163 maybe-all-target-libatomic:
45164 @if gcc-bootstrap
45165 all-target-libatomic: stage_current
45166 @endif gcc-bootstrap
45167 @if target-libatomic
45168 TARGET-target-libatomic=all
45169 maybe-all-target-libatomic: all-target-libatomic
45170 all-target-libatomic: configure-target-libatomic
45171 @: $(MAKE); $(unstage)
45172 @r=`${PWD_COMMAND}`; export r; \
45173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45174 $(NORMAL_TARGET_EXPORTS) \
45175 (cd $(TARGET_SUBDIR)/libatomic && \
45176 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
45177 $(TARGET-target-libatomic))
45178 @endif target-libatomic
45184 .PHONY: check-target-libatomic maybe-check-target-libatomic
45185 maybe-check-target-libatomic:
45186 @if target-libatomic
45187 maybe-check-target-libatomic: check-target-libatomic
45189 check-target-libatomic:
45190 @: $(MAKE); $(unstage)
45191 @r=`${PWD_COMMAND}`; export r; \
45192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45193 $(NORMAL_TARGET_EXPORTS) \
45194 (cd $(TARGET_SUBDIR)/libatomic && \
45195 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
45197 @endif target-libatomic
45199 .PHONY: install-target-libatomic maybe-install-target-libatomic
45200 maybe-install-target-libatomic:
45201 @if target-libatomic
45202 maybe-install-target-libatomic: install-target-libatomic
45204 install-target-libatomic: installdirs
45205 @: $(MAKE); $(unstage)
45206 @r=`${PWD_COMMAND}`; export r; \
45207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45208 $(NORMAL_TARGET_EXPORTS) \
45209 (cd $(TARGET_SUBDIR)/libatomic && \
45210 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
45212 @endif target-libatomic
45214 .PHONY: install-strip-target-libatomic maybe-install-strip-target-libatomic
45215 maybe-install-strip-target-libatomic:
45216 @if target-libatomic
45217 maybe-install-strip-target-libatomic: install-strip-target-libatomic
45219 install-strip-target-libatomic: installdirs
45220 @: $(MAKE); $(unstage)
45221 @r=`${PWD_COMMAND}`; export r; \
45222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45223 $(NORMAL_TARGET_EXPORTS) \
45224 (cd $(TARGET_SUBDIR)/libatomic && \
45225 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
45227 @endif target-libatomic
45229 # Other targets (info, dvi, pdf, etc.)
45231 .PHONY: maybe-info-target-libatomic info-target-libatomic
45232 maybe-info-target-libatomic:
45233 @if target-libatomic
45234 maybe-info-target-libatomic: info-target-libatomic
45236 info-target-libatomic: \
45237 configure-target-libatomic
45238 @: $(MAKE); $(unstage)
45239 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45240 r=`${PWD_COMMAND}`; export r; \
45241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45242 $(NORMAL_TARGET_EXPORTS) \
45243 echo "Doing info in $(TARGET_SUBDIR)/libatomic" ; \
45244 for flag in $(EXTRA_TARGET_FLAGS); do \
45245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45246 done; \
45247 (cd $(TARGET_SUBDIR)/libatomic && \
45248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45250 "RANLIB=$${RANLIB}" \
45251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45252 info) \
45253 || exit 1
45255 @endif target-libatomic
45257 .PHONY: maybe-dvi-target-libatomic dvi-target-libatomic
45258 maybe-dvi-target-libatomic:
45259 @if target-libatomic
45260 maybe-dvi-target-libatomic: dvi-target-libatomic
45262 dvi-target-libatomic: \
45263 configure-target-libatomic
45264 @: $(MAKE); $(unstage)
45265 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45266 r=`${PWD_COMMAND}`; export r; \
45267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45268 $(NORMAL_TARGET_EXPORTS) \
45269 echo "Doing dvi in $(TARGET_SUBDIR)/libatomic" ; \
45270 for flag in $(EXTRA_TARGET_FLAGS); do \
45271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45272 done; \
45273 (cd $(TARGET_SUBDIR)/libatomic && \
45274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45276 "RANLIB=$${RANLIB}" \
45277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45278 dvi) \
45279 || exit 1
45281 @endif target-libatomic
45283 .PHONY: maybe-pdf-target-libatomic pdf-target-libatomic
45284 maybe-pdf-target-libatomic:
45285 @if target-libatomic
45286 maybe-pdf-target-libatomic: pdf-target-libatomic
45288 pdf-target-libatomic: \
45289 configure-target-libatomic
45290 @: $(MAKE); $(unstage)
45291 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45292 r=`${PWD_COMMAND}`; export r; \
45293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45294 $(NORMAL_TARGET_EXPORTS) \
45295 echo "Doing pdf in $(TARGET_SUBDIR)/libatomic" ; \
45296 for flag in $(EXTRA_TARGET_FLAGS); do \
45297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45298 done; \
45299 (cd $(TARGET_SUBDIR)/libatomic && \
45300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45302 "RANLIB=$${RANLIB}" \
45303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45304 pdf) \
45305 || exit 1
45307 @endif target-libatomic
45309 .PHONY: maybe-html-target-libatomic html-target-libatomic
45310 maybe-html-target-libatomic:
45311 @if target-libatomic
45312 maybe-html-target-libatomic: html-target-libatomic
45314 html-target-libatomic: \
45315 configure-target-libatomic
45316 @: $(MAKE); $(unstage)
45317 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45318 r=`${PWD_COMMAND}`; export r; \
45319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45320 $(NORMAL_TARGET_EXPORTS) \
45321 echo "Doing html in $(TARGET_SUBDIR)/libatomic" ; \
45322 for flag in $(EXTRA_TARGET_FLAGS); do \
45323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45324 done; \
45325 (cd $(TARGET_SUBDIR)/libatomic && \
45326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45328 "RANLIB=$${RANLIB}" \
45329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45330 html) \
45331 || exit 1
45333 @endif target-libatomic
45335 .PHONY: maybe-TAGS-target-libatomic TAGS-target-libatomic
45336 maybe-TAGS-target-libatomic:
45337 @if target-libatomic
45338 maybe-TAGS-target-libatomic: TAGS-target-libatomic
45340 TAGS-target-libatomic: \
45341 configure-target-libatomic
45342 @: $(MAKE); $(unstage)
45343 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45344 r=`${PWD_COMMAND}`; export r; \
45345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45346 $(NORMAL_TARGET_EXPORTS) \
45347 echo "Doing TAGS in $(TARGET_SUBDIR)/libatomic" ; \
45348 for flag in $(EXTRA_TARGET_FLAGS); do \
45349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45350 done; \
45351 (cd $(TARGET_SUBDIR)/libatomic && \
45352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45354 "RANLIB=$${RANLIB}" \
45355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45356 TAGS) \
45357 || exit 1
45359 @endif target-libatomic
45361 .PHONY: maybe-install-info-target-libatomic install-info-target-libatomic
45362 maybe-install-info-target-libatomic:
45363 @if target-libatomic
45364 maybe-install-info-target-libatomic: install-info-target-libatomic
45366 install-info-target-libatomic: \
45367 configure-target-libatomic \
45368 info-target-libatomic
45369 @: $(MAKE); $(unstage)
45370 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45371 r=`${PWD_COMMAND}`; export r; \
45372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45373 $(NORMAL_TARGET_EXPORTS) \
45374 echo "Doing install-info in $(TARGET_SUBDIR)/libatomic" ; \
45375 for flag in $(EXTRA_TARGET_FLAGS); do \
45376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45377 done; \
45378 (cd $(TARGET_SUBDIR)/libatomic && \
45379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45381 "RANLIB=$${RANLIB}" \
45382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45383 install-info) \
45384 || exit 1
45386 @endif target-libatomic
45388 .PHONY: maybe-install-pdf-target-libatomic install-pdf-target-libatomic
45389 maybe-install-pdf-target-libatomic:
45390 @if target-libatomic
45391 maybe-install-pdf-target-libatomic: install-pdf-target-libatomic
45393 install-pdf-target-libatomic: \
45394 configure-target-libatomic \
45395 pdf-target-libatomic
45396 @: $(MAKE); $(unstage)
45397 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45398 r=`${PWD_COMMAND}`; export r; \
45399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45400 $(NORMAL_TARGET_EXPORTS) \
45401 echo "Doing install-pdf in $(TARGET_SUBDIR)/libatomic" ; \
45402 for flag in $(EXTRA_TARGET_FLAGS); do \
45403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45404 done; \
45405 (cd $(TARGET_SUBDIR)/libatomic && \
45406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45408 "RANLIB=$${RANLIB}" \
45409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45410 install-pdf) \
45411 || exit 1
45413 @endif target-libatomic
45415 .PHONY: maybe-install-html-target-libatomic install-html-target-libatomic
45416 maybe-install-html-target-libatomic:
45417 @if target-libatomic
45418 maybe-install-html-target-libatomic: install-html-target-libatomic
45420 install-html-target-libatomic: \
45421 configure-target-libatomic \
45422 html-target-libatomic
45423 @: $(MAKE); $(unstage)
45424 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45425 r=`${PWD_COMMAND}`; export r; \
45426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45427 $(NORMAL_TARGET_EXPORTS) \
45428 echo "Doing install-html in $(TARGET_SUBDIR)/libatomic" ; \
45429 for flag in $(EXTRA_TARGET_FLAGS); do \
45430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45431 done; \
45432 (cd $(TARGET_SUBDIR)/libatomic && \
45433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45435 "RANLIB=$${RANLIB}" \
45436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45437 install-html) \
45438 || exit 1
45440 @endif target-libatomic
45442 .PHONY: maybe-installcheck-target-libatomic installcheck-target-libatomic
45443 maybe-installcheck-target-libatomic:
45444 @if target-libatomic
45445 maybe-installcheck-target-libatomic: installcheck-target-libatomic
45447 installcheck-target-libatomic: \
45448 configure-target-libatomic
45449 @: $(MAKE); $(unstage)
45450 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45451 r=`${PWD_COMMAND}`; export r; \
45452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45453 $(NORMAL_TARGET_EXPORTS) \
45454 echo "Doing installcheck in $(TARGET_SUBDIR)/libatomic" ; \
45455 for flag in $(EXTRA_TARGET_FLAGS); do \
45456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45457 done; \
45458 (cd $(TARGET_SUBDIR)/libatomic && \
45459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45461 "RANLIB=$${RANLIB}" \
45462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45463 installcheck) \
45464 || exit 1
45466 @endif target-libatomic
45468 .PHONY: maybe-mostlyclean-target-libatomic mostlyclean-target-libatomic
45469 maybe-mostlyclean-target-libatomic:
45470 @if target-libatomic
45471 maybe-mostlyclean-target-libatomic: mostlyclean-target-libatomic
45473 mostlyclean-target-libatomic:
45474 @: $(MAKE); $(unstage)
45475 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45476 r=`${PWD_COMMAND}`; export r; \
45477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45478 $(NORMAL_TARGET_EXPORTS) \
45479 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libatomic" ; \
45480 for flag in $(EXTRA_TARGET_FLAGS); do \
45481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45482 done; \
45483 (cd $(TARGET_SUBDIR)/libatomic && \
45484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45486 "RANLIB=$${RANLIB}" \
45487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45488 mostlyclean) \
45489 || exit 1
45491 @endif target-libatomic
45493 .PHONY: maybe-clean-target-libatomic clean-target-libatomic
45494 maybe-clean-target-libatomic:
45495 @if target-libatomic
45496 maybe-clean-target-libatomic: clean-target-libatomic
45498 clean-target-libatomic:
45499 @: $(MAKE); $(unstage)
45500 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45501 r=`${PWD_COMMAND}`; export r; \
45502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45503 $(NORMAL_TARGET_EXPORTS) \
45504 echo "Doing clean in $(TARGET_SUBDIR)/libatomic" ; \
45505 for flag in $(EXTRA_TARGET_FLAGS); do \
45506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45507 done; \
45508 (cd $(TARGET_SUBDIR)/libatomic && \
45509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45511 "RANLIB=$${RANLIB}" \
45512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45513 clean) \
45514 || exit 1
45516 @endif target-libatomic
45518 .PHONY: maybe-distclean-target-libatomic distclean-target-libatomic
45519 maybe-distclean-target-libatomic:
45520 @if target-libatomic
45521 maybe-distclean-target-libatomic: distclean-target-libatomic
45523 distclean-target-libatomic:
45524 @: $(MAKE); $(unstage)
45525 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45526 r=`${PWD_COMMAND}`; export r; \
45527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45528 $(NORMAL_TARGET_EXPORTS) \
45529 echo "Doing distclean in $(TARGET_SUBDIR)/libatomic" ; \
45530 for flag in $(EXTRA_TARGET_FLAGS); do \
45531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45532 done; \
45533 (cd $(TARGET_SUBDIR)/libatomic && \
45534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45536 "RANLIB=$${RANLIB}" \
45537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45538 distclean) \
45539 || exit 1
45541 @endif target-libatomic
45543 .PHONY: maybe-maintainer-clean-target-libatomic maintainer-clean-target-libatomic
45544 maybe-maintainer-clean-target-libatomic:
45545 @if target-libatomic
45546 maybe-maintainer-clean-target-libatomic: maintainer-clean-target-libatomic
45548 maintainer-clean-target-libatomic:
45549 @: $(MAKE); $(unstage)
45550 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45551 r=`${PWD_COMMAND}`; export r; \
45552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45553 $(NORMAL_TARGET_EXPORTS) \
45554 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libatomic" ; \
45555 for flag in $(EXTRA_TARGET_FLAGS); do \
45556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45557 done; \
45558 (cd $(TARGET_SUBDIR)/libatomic && \
45559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45561 "RANLIB=$${RANLIB}" \
45562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45563 maintainer-clean) \
45564 || exit 1
45566 @endif target-libatomic
45570 @if target-libgomp
45571 .PHONY: check-target-libgomp-c++
45572 check-target-libgomp-c++:
45573 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libgomp
45575 @endif target-libgomp
45577 @if target-libitm
45578 .PHONY: check-target-libitm-c++
45579 check-target-libitm-c++:
45580 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libitm
45582 @endif target-libitm
45584 # ----------
45585 # GCC module
45586 # ----------
45588 @if gcc-no-bootstrap
45589 .PHONY: cross
45590 cross: all-build all-gas all-ld
45591 @r=`${PWD_COMMAND}`; export r; \
45592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45593 $(HOST_EXPORTS) \
45594 echo "Building the C and C++ compiler"; \
45595 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
45596 @r=`${PWD_COMMAND}`; export r; \
45597 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
45598 echo "Building runtime libraries"; \
45599 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
45600 @endif gcc-no-bootstrap
45602 @if gcc
45604 .PHONY: check-gcc-c check-c
45605 check-gcc-c:
45606 r=`${PWD_COMMAND}`; export r; \
45607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45608 $(HOST_EXPORTS) \
45609 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-gcc);
45610 check-c: check-gcc-c
45612 .PHONY: check-gcc-c++ check-c++
45613 check-gcc-c++:
45614 r=`${PWD_COMMAND}`; export r; \
45615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45616 $(HOST_EXPORTS) \
45617 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++);
45618 check-c++: check-gcc-c++ check-target-libstdc++-v3 check-target-libitm-c++ check-target-libgomp-c++
45620 .PHONY: check-gcc-fortran check-fortran
45621 check-gcc-fortran:
45622 r=`${PWD_COMMAND}`; export r; \
45623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45624 $(HOST_EXPORTS) \
45625 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-fortran);
45626 check-fortran: check-gcc-fortran check-target-libquadmath check-target-libgfortran
45628 .PHONY: check-gcc-java check-java
45629 check-gcc-java:
45630 r=`${PWD_COMMAND}`; export r; \
45631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45632 $(HOST_EXPORTS) \
45633 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-java);
45634 check-java: check-gcc-java check-target-libjava
45636 .PHONY: check-gcc-ada check-ada
45637 check-gcc-ada:
45638 r=`${PWD_COMMAND}`; export r; \
45639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45640 $(HOST_EXPORTS) \
45641 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-ada);
45642 check-ada: check-gcc-ada check-target-libada
45644 .PHONY: check-gcc-objc check-objc
45645 check-gcc-objc:
45646 r=`${PWD_COMMAND}`; export r; \
45647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45648 $(HOST_EXPORTS) \
45649 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-objc);
45650 check-objc: check-gcc-objc check-target-libobjc
45652 .PHONY: check-gcc-obj-c++ check-obj-c++
45653 check-gcc-obj-c++:
45654 r=`${PWD_COMMAND}`; export r; \
45655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45656 $(HOST_EXPORTS) \
45657 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-obj-c++);
45658 check-obj-c++: check-gcc-obj-c++
45660 .PHONY: check-gcc-go check-go
45661 check-gcc-go:
45662 r=`${PWD_COMMAND}`; export r; \
45663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45664 $(HOST_EXPORTS) \
45665 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-go);
45666 check-go: check-gcc-go check-target-libgo
45669 # The gcc part of install-no-fixedincludes, which relies on an intimate
45670 # knowledge of how a number of gcc internal targets (inter)operate. Delegate.
45671 .PHONY: gcc-install-no-fixedincludes
45672 gcc-install-no-fixedincludes:
45673 @if [ -f ./gcc/Makefile ]; then \
45674 r=`${PWD_COMMAND}`; export r; \
45675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45676 $(HOST_EXPORTS) \
45677 (cd ./gcc \
45678 && $(MAKE) $(GCC_FLAGS_TO_PASS) install-no-fixedincludes); \
45679 else true; fi
45680 @endif gcc
45682 # ---------------------
45683 # GCC bootstrap support
45684 # ---------------------
45686 # We track the current stage (the one in 'gcc') in the stage_current file.
45687 # stage_last instead tracks the stage that was built last. These targets
45688 # are dummy when toplevel bootstrap is not active.
45690 # While making host and target tools, symlinks to the final stage must be
45691 # there, so $(unstage) should be run at various points. To avoid excessive
45692 # recursive invocations of make, we "inline" them using a variable. These
45693 # must be referenced as ": $(MAKE) ; $(unstage)" rather than "$(unstage)"
45694 # to avoid warnings from the GNU Make job server.
45696 unstage = :
45697 stage = :
45698 current_stage = ""
45700 @if gcc-bootstrap
45701 unstage = if [ -f stage_last ]; then [ -f stage_current ] || $(MAKE) `cat stage_last`-start || exit 1; else :; fi
45702 stage = if [ -f stage_current ]; then $(MAKE) `cat stage_current`-end || exit 1; else :; fi
45703 current_stage = "`cat stage_current 2> /dev/null`"
45704 @endif gcc-bootstrap
45706 .PHONY: unstage stage
45707 unstage:
45708 @: $(MAKE); $(unstage)
45709 stage:
45710 @: $(MAKE); $(stage)
45712 # Disable commands for lean bootstrap.
45713 LEAN = false
45715 # We name the build directories for the various stages "stage1-gcc",
45716 # "stage2-gcc","stage3-gcc", etc.
45718 # Since the 'compare' process will fail (on debugging information) if any
45719 # directory names are different, we need to link the gcc directory for
45720 # the previous stage to a constant name ('prev-gcc'), and to make the name of
45721 # the build directories constant as well. For the latter, we use naked names
45722 # like 'gcc', because the scripts in that directory assume it. We use
45723 # mv on platforms where symlinks to directories do not work or are not
45724 # reliable.
45726 # 'touch' doesn't work right on some platforms.
45727 STAMP = echo timestamp >
45729 # We only want to compare .o files, so set this!
45730 objext = .o
45733 .PHONY: stage1-start stage1-end
45735 stage1-start::
45736 @: $(MAKE); $(stage); \
45737 echo stage1 > stage_current ; \
45738 echo stage1 > stage_last; \
45739 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
45740 @if bfd
45741 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
45742 mkdir stage1-bfd; \
45743 mv stage1-bfd bfd
45744 @endif bfd
45745 @if opcodes
45746 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
45747 mkdir stage1-opcodes; \
45748 mv stage1-opcodes opcodes
45749 @endif opcodes
45750 @if binutils
45751 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
45752 mkdir stage1-binutils; \
45753 mv stage1-binutils binutils
45754 @endif binutils
45755 @if fixincludes
45756 @cd $(HOST_SUBDIR); [ -d stage1-fixincludes ] || \
45757 mkdir stage1-fixincludes; \
45758 mv stage1-fixincludes fixincludes
45759 @endif fixincludes
45760 @if gas
45761 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
45762 mkdir stage1-gas; \
45763 mv stage1-gas gas
45764 @endif gas
45765 @if gcc
45766 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
45767 mkdir stage1-gcc; \
45768 mv stage1-gcc gcc
45769 @endif gcc
45770 @if gmp
45771 @cd $(HOST_SUBDIR); [ -d stage1-gmp ] || \
45772 mkdir stage1-gmp; \
45773 mv stage1-gmp gmp
45774 @endif gmp
45775 @if mpfr
45776 @cd $(HOST_SUBDIR); [ -d stage1-mpfr ] || \
45777 mkdir stage1-mpfr; \
45778 mv stage1-mpfr mpfr
45779 @endif mpfr
45780 @if mpc
45781 @cd $(HOST_SUBDIR); [ -d stage1-mpc ] || \
45782 mkdir stage1-mpc; \
45783 mv stage1-mpc mpc
45784 @endif mpc
45785 @if isl
45786 @cd $(HOST_SUBDIR); [ -d stage1-isl ] || \
45787 mkdir stage1-isl; \
45788 mv stage1-isl isl
45789 @endif isl
45790 @if cloog
45791 @cd $(HOST_SUBDIR); [ -d stage1-cloog ] || \
45792 mkdir stage1-cloog; \
45793 mv stage1-cloog cloog
45794 @endif cloog
45795 @if libelf
45796 @cd $(HOST_SUBDIR); [ -d stage1-libelf ] || \
45797 mkdir stage1-libelf; \
45798 mv stage1-libelf libelf
45799 @endif libelf
45800 @if gold
45801 @cd $(HOST_SUBDIR); [ -d stage1-gold ] || \
45802 mkdir stage1-gold; \
45803 mv stage1-gold gold
45804 @endif gold
45805 @if intl
45806 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
45807 mkdir stage1-intl; \
45808 mv stage1-intl intl
45809 @endif intl
45810 @if ld
45811 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
45812 mkdir stage1-ld; \
45813 mv stage1-ld ld
45814 @endif ld
45815 @if libbacktrace
45816 @cd $(HOST_SUBDIR); [ -d stage1-libbacktrace ] || \
45817 mkdir stage1-libbacktrace; \
45818 mv stage1-libbacktrace libbacktrace
45819 @endif libbacktrace
45820 @if libcpp
45821 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
45822 mkdir stage1-libcpp; \
45823 mv stage1-libcpp libcpp
45824 @endif libcpp
45825 @if libdecnumber
45826 @cd $(HOST_SUBDIR); [ -d stage1-libdecnumber ] || \
45827 mkdir stage1-libdecnumber; \
45828 mv stage1-libdecnumber libdecnumber
45829 @endif libdecnumber
45830 @if libiberty
45831 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
45832 mkdir stage1-libiberty; \
45833 mv stage1-libiberty libiberty
45834 @endif libiberty
45835 @if zlib
45836 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
45837 mkdir stage1-zlib; \
45838 mv stage1-zlib zlib
45839 @endif zlib
45840 @if lto-plugin
45841 @cd $(HOST_SUBDIR); [ -d stage1-lto-plugin ] || \
45842 mkdir stage1-lto-plugin; \
45843 mv stage1-lto-plugin lto-plugin
45844 @endif lto-plugin
45845 @if function_reordering_plugin
45846 @cd $(HOST_SUBDIR); [ -d stage1-function_reordering_plugin ] || \
45847 mkdir stage1-function_reordering_plugin; \
45848 mv stage1-function_reordering_plugin function_reordering_plugin
45849 @endif function_reordering_plugin
45850 @[ -d stage1-$(TARGET_SUBDIR) ] || \
45851 mkdir stage1-$(TARGET_SUBDIR); \
45852 mv stage1-$(TARGET_SUBDIR) $(TARGET_SUBDIR)
45854 stage1-end::
45855 @if bfd
45856 @if test -d $(HOST_SUBDIR)/bfd ; then \
45857 cd $(HOST_SUBDIR); mv bfd stage1-bfd ; \
45859 @endif bfd
45860 @if opcodes
45861 @if test -d $(HOST_SUBDIR)/opcodes ; then \
45862 cd $(HOST_SUBDIR); mv opcodes stage1-opcodes ; \
45864 @endif opcodes
45865 @if binutils
45866 @if test -d $(HOST_SUBDIR)/binutils ; then \
45867 cd $(HOST_SUBDIR); mv binutils stage1-binutils ; \
45869 @endif binutils
45870 @if fixincludes
45871 @if test -d $(HOST_SUBDIR)/fixincludes ; then \
45872 cd $(HOST_SUBDIR); mv fixincludes stage1-fixincludes ; \
45874 @endif fixincludes
45875 @if gas
45876 @if test -d $(HOST_SUBDIR)/gas ; then \
45877 cd $(HOST_SUBDIR); mv gas stage1-gas ; \
45879 @endif gas
45880 @if gcc
45881 @if test -d $(HOST_SUBDIR)/gcc ; then \
45882 cd $(HOST_SUBDIR); mv gcc stage1-gcc ; \
45884 @endif gcc
45885 @if gmp
45886 @if test -d $(HOST_SUBDIR)/gmp ; then \
45887 cd $(HOST_SUBDIR); mv gmp stage1-gmp ; \
45889 @endif gmp
45890 @if mpfr
45891 @if test -d $(HOST_SUBDIR)/mpfr ; then \
45892 cd $(HOST_SUBDIR); mv mpfr stage1-mpfr ; \
45894 @endif mpfr
45895 @if mpc
45896 @if test -d $(HOST_SUBDIR)/mpc ; then \
45897 cd $(HOST_SUBDIR); mv mpc stage1-mpc ; \
45899 @endif mpc
45900 @if isl
45901 @if test -d $(HOST_SUBDIR)/isl ; then \
45902 cd $(HOST_SUBDIR); mv isl stage1-isl ; \
45904 @endif isl
45905 @if cloog
45906 @if test -d $(HOST_SUBDIR)/cloog ; then \
45907 cd $(HOST_SUBDIR); mv cloog stage1-cloog ; \
45909 @endif cloog
45910 @if libelf
45911 @if test -d $(HOST_SUBDIR)/libelf ; then \
45912 cd $(HOST_SUBDIR); mv libelf stage1-libelf ; \
45914 @endif libelf
45915 @if gold
45916 @if test -d $(HOST_SUBDIR)/gold ; then \
45917 cd $(HOST_SUBDIR); mv gold stage1-gold ; \
45919 @endif gold
45920 @if intl
45921 @if test -d $(HOST_SUBDIR)/intl ; then \
45922 cd $(HOST_SUBDIR); mv intl stage1-intl ; \
45924 @endif intl
45925 @if ld
45926 @if test -d $(HOST_SUBDIR)/ld ; then \
45927 cd $(HOST_SUBDIR); mv ld stage1-ld ; \
45929 @endif ld
45930 @if libbacktrace
45931 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
45932 cd $(HOST_SUBDIR); mv libbacktrace stage1-libbacktrace ; \
45934 @endif libbacktrace
45935 @if libcpp
45936 @if test -d $(HOST_SUBDIR)/libcpp ; then \
45937 cd $(HOST_SUBDIR); mv libcpp stage1-libcpp ; \
45939 @endif libcpp
45940 @if libdecnumber
45941 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
45942 cd $(HOST_SUBDIR); mv libdecnumber stage1-libdecnumber ; \
45944 @endif libdecnumber
45945 @if libiberty
45946 @if test -d $(HOST_SUBDIR)/libiberty ; then \
45947 cd $(HOST_SUBDIR); mv libiberty stage1-libiberty ; \
45949 @endif libiberty
45950 @if zlib
45951 @if test -d $(HOST_SUBDIR)/zlib ; then \
45952 cd $(HOST_SUBDIR); mv zlib stage1-zlib ; \
45954 @endif zlib
45955 @if lto-plugin
45956 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
45957 cd $(HOST_SUBDIR); mv lto-plugin stage1-lto-plugin ; \
45959 @endif lto-plugin
45960 @if function_reordering_plugin
45961 @if test -d $(HOST_SUBDIR)/function_reordering_plugin ; then \
45962 cd $(HOST_SUBDIR); mv function_reordering_plugin stage1-function_reordering_plugin ; \
45964 @endif function_reordering_plugin
45965 @if test -d $(TARGET_SUBDIR) ; then \
45966 mv $(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; \
45968 rm -f stage_current
45970 # Bubble a bug fix through all the stages up to stage 1. They are
45971 # remade, but not reconfigured. The next stage (if any) will not be
45972 # reconfigured either.
45973 .PHONY: stage1-bubble
45974 stage1-bubble::
45975 @r=`${PWD_COMMAND}`; export r; \
45976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45977 if test -f stage1-lean ; then \
45978 echo Skipping rebuild of stage1 ; \
45979 else \
45980 $(MAKE) stage1-start; \
45981 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1; \
45984 .PHONY: all-stage1 clean-stage1
45985 do-clean: clean-stage1
45987 # FIXME: Will not need to be conditional when toplevel bootstrap is the
45988 # only possibility, but now it conflicts with no-bootstrap rules
45989 @if gcc-bootstrap
45994 # Rules to wipe a stage and all the following ones, also used for cleanstrap
45996 .PHONY: distclean-stage1
45997 distclean-stage1::
45998 @: $(MAKE); $(stage)
45999 @test "`cat stage_last`" != stage1 || rm -f stage_last
46000 rm -rf stage1-*
46003 @endif gcc-bootstrap
46006 .PHONY: stage2-start stage2-end
46008 stage2-start::
46009 @: $(MAKE); $(stage); \
46010 echo stage2 > stage_current ; \
46011 echo stage2 > stage_last; \
46012 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
46013 @if bfd
46014 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
46015 mkdir stage2-bfd; \
46016 mv stage2-bfd bfd ; \
46017 mv stage1-bfd prev-bfd || test -f stage1-lean
46018 @endif bfd
46019 @if opcodes
46020 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
46021 mkdir stage2-opcodes; \
46022 mv stage2-opcodes opcodes ; \
46023 mv stage1-opcodes prev-opcodes || test -f stage1-lean
46024 @endif opcodes
46025 @if binutils
46026 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
46027 mkdir stage2-binutils; \
46028 mv stage2-binutils binutils ; \
46029 mv stage1-binutils prev-binutils || test -f stage1-lean
46030 @endif binutils
46031 @if fixincludes
46032 @cd $(HOST_SUBDIR); [ -d stage2-fixincludes ] || \
46033 mkdir stage2-fixincludes; \
46034 mv stage2-fixincludes fixincludes ; \
46035 mv stage1-fixincludes prev-fixincludes || test -f stage1-lean
46036 @endif fixincludes
46037 @if gas
46038 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
46039 mkdir stage2-gas; \
46040 mv stage2-gas gas ; \
46041 mv stage1-gas prev-gas || test -f stage1-lean
46042 @endif gas
46043 @if gcc
46044 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
46045 mkdir stage2-gcc; \
46046 mv stage2-gcc gcc ; \
46047 mv stage1-gcc prev-gcc || test -f stage1-lean
46048 @endif gcc
46049 @if gmp
46050 @cd $(HOST_SUBDIR); [ -d stage2-gmp ] || \
46051 mkdir stage2-gmp; \
46052 mv stage2-gmp gmp ; \
46053 mv stage1-gmp prev-gmp || test -f stage1-lean
46054 @endif gmp
46055 @if mpfr
46056 @cd $(HOST_SUBDIR); [ -d stage2-mpfr ] || \
46057 mkdir stage2-mpfr; \
46058 mv stage2-mpfr mpfr ; \
46059 mv stage1-mpfr prev-mpfr || test -f stage1-lean
46060 @endif mpfr
46061 @if mpc
46062 @cd $(HOST_SUBDIR); [ -d stage2-mpc ] || \
46063 mkdir stage2-mpc; \
46064 mv stage2-mpc mpc ; \
46065 mv stage1-mpc prev-mpc || test -f stage1-lean
46066 @endif mpc
46067 @if isl
46068 @cd $(HOST_SUBDIR); [ -d stage2-isl ] || \
46069 mkdir stage2-isl; \
46070 mv stage2-isl isl ; \
46071 mv stage1-isl prev-isl || test -f stage1-lean
46072 @endif isl
46073 @if cloog
46074 @cd $(HOST_SUBDIR); [ -d stage2-cloog ] || \
46075 mkdir stage2-cloog; \
46076 mv stage2-cloog cloog ; \
46077 mv stage1-cloog prev-cloog || test -f stage1-lean
46078 @endif cloog
46079 @if libelf
46080 @cd $(HOST_SUBDIR); [ -d stage2-libelf ] || \
46081 mkdir stage2-libelf; \
46082 mv stage2-libelf libelf ; \
46083 mv stage1-libelf prev-libelf || test -f stage1-lean
46084 @endif libelf
46085 @if gold
46086 @cd $(HOST_SUBDIR); [ -d stage2-gold ] || \
46087 mkdir stage2-gold; \
46088 mv stage2-gold gold ; \
46089 mv stage1-gold prev-gold || test -f stage1-lean
46090 @endif gold
46091 @if intl
46092 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
46093 mkdir stage2-intl; \
46094 mv stage2-intl intl ; \
46095 mv stage1-intl prev-intl || test -f stage1-lean
46096 @endif intl
46097 @if ld
46098 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
46099 mkdir stage2-ld; \
46100 mv stage2-ld ld ; \
46101 mv stage1-ld prev-ld || test -f stage1-lean
46102 @endif ld
46103 @if libbacktrace
46104 @cd $(HOST_SUBDIR); [ -d stage2-libbacktrace ] || \
46105 mkdir stage2-libbacktrace; \
46106 mv stage2-libbacktrace libbacktrace ; \
46107 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
46108 @endif libbacktrace
46109 @if libcpp
46110 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
46111 mkdir stage2-libcpp; \
46112 mv stage2-libcpp libcpp ; \
46113 mv stage1-libcpp prev-libcpp || test -f stage1-lean
46114 @endif libcpp
46115 @if libdecnumber
46116 @cd $(HOST_SUBDIR); [ -d stage2-libdecnumber ] || \
46117 mkdir stage2-libdecnumber; \
46118 mv stage2-libdecnumber libdecnumber ; \
46119 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
46120 @endif libdecnumber
46121 @if libiberty
46122 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
46123 mkdir stage2-libiberty; \
46124 mv stage2-libiberty libiberty ; \
46125 mv stage1-libiberty prev-libiberty || test -f stage1-lean
46126 @endif libiberty
46127 @if zlib
46128 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
46129 mkdir stage2-zlib; \
46130 mv stage2-zlib zlib ; \
46131 mv stage1-zlib prev-zlib || test -f stage1-lean
46132 @endif zlib
46133 @if lto-plugin
46134 @cd $(HOST_SUBDIR); [ -d stage2-lto-plugin ] || \
46135 mkdir stage2-lto-plugin; \
46136 mv stage2-lto-plugin lto-plugin ; \
46137 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
46138 @endif lto-plugin
46139 @if function_reordering_plugin
46140 @cd $(HOST_SUBDIR); [ -d stage2-function_reordering_plugin ] || \
46141 mkdir stage2-function_reordering_plugin; \
46142 mv stage2-function_reordering_plugin function_reordering_plugin ; \
46143 mv stage1-function_reordering_plugin prev-function_reordering_plugin || test -f stage1-lean
46144 @endif function_reordering_plugin
46145 @[ -d stage2-$(TARGET_SUBDIR) ] || \
46146 mkdir stage2-$(TARGET_SUBDIR); \
46147 mv stage2-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
46148 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
46150 stage2-end::
46151 @if bfd
46152 @if test -d $(HOST_SUBDIR)/bfd ; then \
46153 cd $(HOST_SUBDIR); mv bfd stage2-bfd ; \
46154 mv prev-bfd stage1-bfd ; : ; \
46156 @endif bfd
46157 @if opcodes
46158 @if test -d $(HOST_SUBDIR)/opcodes ; then \
46159 cd $(HOST_SUBDIR); mv opcodes stage2-opcodes ; \
46160 mv prev-opcodes stage1-opcodes ; : ; \
46162 @endif opcodes
46163 @if binutils
46164 @if test -d $(HOST_SUBDIR)/binutils ; then \
46165 cd $(HOST_SUBDIR); mv binutils stage2-binutils ; \
46166 mv prev-binutils stage1-binutils ; : ; \
46168 @endif binutils
46169 @if fixincludes
46170 @if test -d $(HOST_SUBDIR)/fixincludes ; then \
46171 cd $(HOST_SUBDIR); mv fixincludes stage2-fixincludes ; \
46172 mv prev-fixincludes stage1-fixincludes ; : ; \
46174 @endif fixincludes
46175 @if gas
46176 @if test -d $(HOST_SUBDIR)/gas ; then \
46177 cd $(HOST_SUBDIR); mv gas stage2-gas ; \
46178 mv prev-gas stage1-gas ; : ; \
46180 @endif gas
46181 @if gcc
46182 @if test -d $(HOST_SUBDIR)/gcc ; then \
46183 cd $(HOST_SUBDIR); mv gcc stage2-gcc ; \
46184 mv prev-gcc stage1-gcc ; : ; \
46186 @endif gcc
46187 @if gmp
46188 @if test -d $(HOST_SUBDIR)/gmp ; then \
46189 cd $(HOST_SUBDIR); mv gmp stage2-gmp ; \
46190 mv prev-gmp stage1-gmp ; : ; \
46192 @endif gmp
46193 @if mpfr
46194 @if test -d $(HOST_SUBDIR)/mpfr ; then \
46195 cd $(HOST_SUBDIR); mv mpfr stage2-mpfr ; \
46196 mv prev-mpfr stage1-mpfr ; : ; \
46198 @endif mpfr
46199 @if mpc
46200 @if test -d $(HOST_SUBDIR)/mpc ; then \
46201 cd $(HOST_SUBDIR); mv mpc stage2-mpc ; \
46202 mv prev-mpc stage1-mpc ; : ; \
46204 @endif mpc
46205 @if isl
46206 @if test -d $(HOST_SUBDIR)/isl ; then \
46207 cd $(HOST_SUBDIR); mv isl stage2-isl ; \
46208 mv prev-isl stage1-isl ; : ; \
46210 @endif isl
46211 @if cloog
46212 @if test -d $(HOST_SUBDIR)/cloog ; then \
46213 cd $(HOST_SUBDIR); mv cloog stage2-cloog ; \
46214 mv prev-cloog stage1-cloog ; : ; \
46216 @endif cloog
46217 @if libelf
46218 @if test -d $(HOST_SUBDIR)/libelf ; then \
46219 cd $(HOST_SUBDIR); mv libelf stage2-libelf ; \
46220 mv prev-libelf stage1-libelf ; : ; \
46222 @endif libelf
46223 @if gold
46224 @if test -d $(HOST_SUBDIR)/gold ; then \
46225 cd $(HOST_SUBDIR); mv gold stage2-gold ; \
46226 mv prev-gold stage1-gold ; : ; \
46228 @endif gold
46229 @if intl
46230 @if test -d $(HOST_SUBDIR)/intl ; then \
46231 cd $(HOST_SUBDIR); mv intl stage2-intl ; \
46232 mv prev-intl stage1-intl ; : ; \
46234 @endif intl
46235 @if ld
46236 @if test -d $(HOST_SUBDIR)/ld ; then \
46237 cd $(HOST_SUBDIR); mv ld stage2-ld ; \
46238 mv prev-ld stage1-ld ; : ; \
46240 @endif ld
46241 @if libbacktrace
46242 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
46243 cd $(HOST_SUBDIR); mv libbacktrace stage2-libbacktrace ; \
46244 mv prev-libbacktrace stage1-libbacktrace ; : ; \
46246 @endif libbacktrace
46247 @if libcpp
46248 @if test -d $(HOST_SUBDIR)/libcpp ; then \
46249 cd $(HOST_SUBDIR); mv libcpp stage2-libcpp ; \
46250 mv prev-libcpp stage1-libcpp ; : ; \
46252 @endif libcpp
46253 @if libdecnumber
46254 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
46255 cd $(HOST_SUBDIR); mv libdecnumber stage2-libdecnumber ; \
46256 mv prev-libdecnumber stage1-libdecnumber ; : ; \
46258 @endif libdecnumber
46259 @if libiberty
46260 @if test -d $(HOST_SUBDIR)/libiberty ; then \
46261 cd $(HOST_SUBDIR); mv libiberty stage2-libiberty ; \
46262 mv prev-libiberty stage1-libiberty ; : ; \
46264 @endif libiberty
46265 @if zlib
46266 @if test -d $(HOST_SUBDIR)/zlib ; then \
46267 cd $(HOST_SUBDIR); mv zlib stage2-zlib ; \
46268 mv prev-zlib stage1-zlib ; : ; \
46270 @endif zlib
46271 @if lto-plugin
46272 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
46273 cd $(HOST_SUBDIR); mv lto-plugin stage2-lto-plugin ; \
46274 mv prev-lto-plugin stage1-lto-plugin ; : ; \
46276 @endif lto-plugin
46277 @if function_reordering_plugin
46278 @if test -d $(HOST_SUBDIR)/function_reordering_plugin ; then \
46279 cd $(HOST_SUBDIR); mv function_reordering_plugin stage2-function_reordering_plugin ; \
46280 mv prev-function_reordering_plugin stage1-function_reordering_plugin ; : ; \
46282 @endif function_reordering_plugin
46283 @if test -d $(TARGET_SUBDIR) ; then \
46284 mv $(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; \
46285 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
46287 rm -f stage_current
46289 # Bubble a bug fix through all the stages up to stage 2. They are
46290 # remade, but not reconfigured. The next stage (if any) will not be
46291 # reconfigured either.
46292 .PHONY: stage2-bubble
46293 stage2-bubble:: stage1-bubble
46294 @r=`${PWD_COMMAND}`; export r; \
46295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46296 if test -f stage2-lean || test -f stage1-lean ; then \
46297 echo Skipping rebuild of stage2 ; \
46298 else \
46299 $(MAKE) stage2-start; \
46300 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2; \
46303 .PHONY: all-stage2 clean-stage2
46304 do-clean: clean-stage2
46306 # FIXME: Will not need to be conditional when toplevel bootstrap is the
46307 # only possibility, but now it conflicts with no-bootstrap rules
46308 @if gcc-bootstrap
46312 .PHONY: bootstrap2 bootstrap2-lean
46313 bootstrap2:
46314 echo stage2 > stage_final
46315 @r=`${PWD_COMMAND}`; export r; \
46316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46317 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble
46318 @: $(MAKE); $(unstage)
46319 @r=`${PWD_COMMAND}`; export r; \
46320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46321 TFLAGS="$(STAGE2_TFLAGS)"; \
46322 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
46324 bootstrap2-lean:
46325 echo stage2 > stage_final
46326 @r=`${PWD_COMMAND}`; export r; \
46327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46328 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage2-bubble
46329 @: $(MAKE); $(unstage)
46330 @r=`${PWD_COMMAND}`; export r; \
46331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46332 TFLAGS="$(STAGE2_TFLAGS)"; \
46333 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
46336 # Rules to wipe a stage and all the following ones, also used for cleanstrap
46337 distclean-stage1:: distclean-stage2
46338 .PHONY: distclean-stage2
46339 distclean-stage2::
46340 @: $(MAKE); $(stage)
46341 @test "`cat stage_last`" != stage2 || rm -f stage_last
46342 rm -rf stage2-*
46345 @endif gcc-bootstrap
46348 .PHONY: stage3-start stage3-end
46350 stage3-start::
46351 @: $(MAKE); $(stage); \
46352 echo stage3 > stage_current ; \
46353 echo stage3 > stage_last; \
46354 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
46355 @if bfd
46356 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
46357 mkdir stage3-bfd; \
46358 mv stage3-bfd bfd ; \
46359 mv stage2-bfd prev-bfd || test -f stage2-lean
46360 @endif bfd
46361 @if opcodes
46362 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
46363 mkdir stage3-opcodes; \
46364 mv stage3-opcodes opcodes ; \
46365 mv stage2-opcodes prev-opcodes || test -f stage2-lean
46366 @endif opcodes
46367 @if binutils
46368 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
46369 mkdir stage3-binutils; \
46370 mv stage3-binutils binutils ; \
46371 mv stage2-binutils prev-binutils || test -f stage2-lean
46372 @endif binutils
46373 @if fixincludes
46374 @cd $(HOST_SUBDIR); [ -d stage3-fixincludes ] || \
46375 mkdir stage3-fixincludes; \
46376 mv stage3-fixincludes fixincludes ; \
46377 mv stage2-fixincludes prev-fixincludes || test -f stage2-lean
46378 @endif fixincludes
46379 @if gas
46380 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
46381 mkdir stage3-gas; \
46382 mv stage3-gas gas ; \
46383 mv stage2-gas prev-gas || test -f stage2-lean
46384 @endif gas
46385 @if gcc
46386 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
46387 mkdir stage3-gcc; \
46388 mv stage3-gcc gcc ; \
46389 mv stage2-gcc prev-gcc || test -f stage2-lean
46390 @endif gcc
46391 @if gmp
46392 @cd $(HOST_SUBDIR); [ -d stage3-gmp ] || \
46393 mkdir stage3-gmp; \
46394 mv stage3-gmp gmp ; \
46395 mv stage2-gmp prev-gmp || test -f stage2-lean
46396 @endif gmp
46397 @if mpfr
46398 @cd $(HOST_SUBDIR); [ -d stage3-mpfr ] || \
46399 mkdir stage3-mpfr; \
46400 mv stage3-mpfr mpfr ; \
46401 mv stage2-mpfr prev-mpfr || test -f stage2-lean
46402 @endif mpfr
46403 @if mpc
46404 @cd $(HOST_SUBDIR); [ -d stage3-mpc ] || \
46405 mkdir stage3-mpc; \
46406 mv stage3-mpc mpc ; \
46407 mv stage2-mpc prev-mpc || test -f stage2-lean
46408 @endif mpc
46409 @if isl
46410 @cd $(HOST_SUBDIR); [ -d stage3-isl ] || \
46411 mkdir stage3-isl; \
46412 mv stage3-isl isl ; \
46413 mv stage2-isl prev-isl || test -f stage2-lean
46414 @endif isl
46415 @if cloog
46416 @cd $(HOST_SUBDIR); [ -d stage3-cloog ] || \
46417 mkdir stage3-cloog; \
46418 mv stage3-cloog cloog ; \
46419 mv stage2-cloog prev-cloog || test -f stage2-lean
46420 @endif cloog
46421 @if libelf
46422 @cd $(HOST_SUBDIR); [ -d stage3-libelf ] || \
46423 mkdir stage3-libelf; \
46424 mv stage3-libelf libelf ; \
46425 mv stage2-libelf prev-libelf || test -f stage2-lean
46426 @endif libelf
46427 @if gold
46428 @cd $(HOST_SUBDIR); [ -d stage3-gold ] || \
46429 mkdir stage3-gold; \
46430 mv stage3-gold gold ; \
46431 mv stage2-gold prev-gold || test -f stage2-lean
46432 @endif gold
46433 @if intl
46434 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
46435 mkdir stage3-intl; \
46436 mv stage3-intl intl ; \
46437 mv stage2-intl prev-intl || test -f stage2-lean
46438 @endif intl
46439 @if ld
46440 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
46441 mkdir stage3-ld; \
46442 mv stage3-ld ld ; \
46443 mv stage2-ld prev-ld || test -f stage2-lean
46444 @endif ld
46445 @if libbacktrace
46446 @cd $(HOST_SUBDIR); [ -d stage3-libbacktrace ] || \
46447 mkdir stage3-libbacktrace; \
46448 mv stage3-libbacktrace libbacktrace ; \
46449 mv stage2-libbacktrace prev-libbacktrace || test -f stage2-lean
46450 @endif libbacktrace
46451 @if libcpp
46452 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
46453 mkdir stage3-libcpp; \
46454 mv stage3-libcpp libcpp ; \
46455 mv stage2-libcpp prev-libcpp || test -f stage2-lean
46456 @endif libcpp
46457 @if libdecnumber
46458 @cd $(HOST_SUBDIR); [ -d stage3-libdecnumber ] || \
46459 mkdir stage3-libdecnumber; \
46460 mv stage3-libdecnumber libdecnumber ; \
46461 mv stage2-libdecnumber prev-libdecnumber || test -f stage2-lean
46462 @endif libdecnumber
46463 @if libiberty
46464 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
46465 mkdir stage3-libiberty; \
46466 mv stage3-libiberty libiberty ; \
46467 mv stage2-libiberty prev-libiberty || test -f stage2-lean
46468 @endif libiberty
46469 @if zlib
46470 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
46471 mkdir stage3-zlib; \
46472 mv stage3-zlib zlib ; \
46473 mv stage2-zlib prev-zlib || test -f stage2-lean
46474 @endif zlib
46475 @if lto-plugin
46476 @cd $(HOST_SUBDIR); [ -d stage3-lto-plugin ] || \
46477 mkdir stage3-lto-plugin; \
46478 mv stage3-lto-plugin lto-plugin ; \
46479 mv stage2-lto-plugin prev-lto-plugin || test -f stage2-lean
46480 @endif lto-plugin
46481 @if function_reordering_plugin
46482 @cd $(HOST_SUBDIR); [ -d stage3-function_reordering_plugin ] || \
46483 mkdir stage3-function_reordering_plugin; \
46484 mv stage3-function_reordering_plugin function_reordering_plugin ; \
46485 mv stage2-function_reordering_plugin prev-function_reordering_plugin || test -f stage2-lean
46486 @endif function_reordering_plugin
46487 @[ -d stage3-$(TARGET_SUBDIR) ] || \
46488 mkdir stage3-$(TARGET_SUBDIR); \
46489 mv stage3-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
46490 mv stage2-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage2-lean
46492 stage3-end::
46493 @if bfd
46494 @if test -d $(HOST_SUBDIR)/bfd ; then \
46495 cd $(HOST_SUBDIR); mv bfd stage3-bfd ; \
46496 mv prev-bfd stage2-bfd ; : ; \
46498 @endif bfd
46499 @if opcodes
46500 @if test -d $(HOST_SUBDIR)/opcodes ; then \
46501 cd $(HOST_SUBDIR); mv opcodes stage3-opcodes ; \
46502 mv prev-opcodes stage2-opcodes ; : ; \
46504 @endif opcodes
46505 @if binutils
46506 @if test -d $(HOST_SUBDIR)/binutils ; then \
46507 cd $(HOST_SUBDIR); mv binutils stage3-binutils ; \
46508 mv prev-binutils stage2-binutils ; : ; \
46510 @endif binutils
46511 @if fixincludes
46512 @if test -d $(HOST_SUBDIR)/fixincludes ; then \
46513 cd $(HOST_SUBDIR); mv fixincludes stage3-fixincludes ; \
46514 mv prev-fixincludes stage2-fixincludes ; : ; \
46516 @endif fixincludes
46517 @if gas
46518 @if test -d $(HOST_SUBDIR)/gas ; then \
46519 cd $(HOST_SUBDIR); mv gas stage3-gas ; \
46520 mv prev-gas stage2-gas ; : ; \
46522 @endif gas
46523 @if gcc
46524 @if test -d $(HOST_SUBDIR)/gcc ; then \
46525 cd $(HOST_SUBDIR); mv gcc stage3-gcc ; \
46526 mv prev-gcc stage2-gcc ; : ; \
46528 @endif gcc
46529 @if gmp
46530 @if test -d $(HOST_SUBDIR)/gmp ; then \
46531 cd $(HOST_SUBDIR); mv gmp stage3-gmp ; \
46532 mv prev-gmp stage2-gmp ; : ; \
46534 @endif gmp
46535 @if mpfr
46536 @if test -d $(HOST_SUBDIR)/mpfr ; then \
46537 cd $(HOST_SUBDIR); mv mpfr stage3-mpfr ; \
46538 mv prev-mpfr stage2-mpfr ; : ; \
46540 @endif mpfr
46541 @if mpc
46542 @if test -d $(HOST_SUBDIR)/mpc ; then \
46543 cd $(HOST_SUBDIR); mv mpc stage3-mpc ; \
46544 mv prev-mpc stage2-mpc ; : ; \
46546 @endif mpc
46547 @if isl
46548 @if test -d $(HOST_SUBDIR)/isl ; then \
46549 cd $(HOST_SUBDIR); mv isl stage3-isl ; \
46550 mv prev-isl stage2-isl ; : ; \
46552 @endif isl
46553 @if cloog
46554 @if test -d $(HOST_SUBDIR)/cloog ; then \
46555 cd $(HOST_SUBDIR); mv cloog stage3-cloog ; \
46556 mv prev-cloog stage2-cloog ; : ; \
46558 @endif cloog
46559 @if libelf
46560 @if test -d $(HOST_SUBDIR)/libelf ; then \
46561 cd $(HOST_SUBDIR); mv libelf stage3-libelf ; \
46562 mv prev-libelf stage2-libelf ; : ; \
46564 @endif libelf
46565 @if gold
46566 @if test -d $(HOST_SUBDIR)/gold ; then \
46567 cd $(HOST_SUBDIR); mv gold stage3-gold ; \
46568 mv prev-gold stage2-gold ; : ; \
46570 @endif gold
46571 @if intl
46572 @if test -d $(HOST_SUBDIR)/intl ; then \
46573 cd $(HOST_SUBDIR); mv intl stage3-intl ; \
46574 mv prev-intl stage2-intl ; : ; \
46576 @endif intl
46577 @if ld
46578 @if test -d $(HOST_SUBDIR)/ld ; then \
46579 cd $(HOST_SUBDIR); mv ld stage3-ld ; \
46580 mv prev-ld stage2-ld ; : ; \
46582 @endif ld
46583 @if libbacktrace
46584 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
46585 cd $(HOST_SUBDIR); mv libbacktrace stage3-libbacktrace ; \
46586 mv prev-libbacktrace stage2-libbacktrace ; : ; \
46588 @endif libbacktrace
46589 @if libcpp
46590 @if test -d $(HOST_SUBDIR)/libcpp ; then \
46591 cd $(HOST_SUBDIR); mv libcpp stage3-libcpp ; \
46592 mv prev-libcpp stage2-libcpp ; : ; \
46594 @endif libcpp
46595 @if libdecnumber
46596 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
46597 cd $(HOST_SUBDIR); mv libdecnumber stage3-libdecnumber ; \
46598 mv prev-libdecnumber stage2-libdecnumber ; : ; \
46600 @endif libdecnumber
46601 @if libiberty
46602 @if test -d $(HOST_SUBDIR)/libiberty ; then \
46603 cd $(HOST_SUBDIR); mv libiberty stage3-libiberty ; \
46604 mv prev-libiberty stage2-libiberty ; : ; \
46606 @endif libiberty
46607 @if zlib
46608 @if test -d $(HOST_SUBDIR)/zlib ; then \
46609 cd $(HOST_SUBDIR); mv zlib stage3-zlib ; \
46610 mv prev-zlib stage2-zlib ; : ; \
46612 @endif zlib
46613 @if lto-plugin
46614 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
46615 cd $(HOST_SUBDIR); mv lto-plugin stage3-lto-plugin ; \
46616 mv prev-lto-plugin stage2-lto-plugin ; : ; \
46618 @endif lto-plugin
46619 @if function_reordering_plugin
46620 @if test -d $(HOST_SUBDIR)/function_reordering_plugin ; then \
46621 cd $(HOST_SUBDIR); mv function_reordering_plugin stage3-function_reordering_plugin ; \
46622 mv prev-function_reordering_plugin stage2-function_reordering_plugin ; : ; \
46624 @endif function_reordering_plugin
46625 @if test -d $(TARGET_SUBDIR) ; then \
46626 mv $(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; \
46627 mv prev-$(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; : ; \
46629 rm -f stage_current
46631 # Bubble a bug fix through all the stages up to stage 3. They are
46632 # remade, but not reconfigured. The next stage (if any) will not be
46633 # reconfigured either.
46634 .PHONY: stage3-bubble
46635 stage3-bubble:: stage2-bubble
46636 @r=`${PWD_COMMAND}`; export r; \
46637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46638 if test -f stage3-lean || test -f stage2-lean ; then \
46639 echo Skipping rebuild of stage3 ; \
46640 else \
46641 $(MAKE) stage3-start; \
46642 if $(LEAN); then \
46643 rm -rf stage1-* ; \
46644 $(STAMP) stage1-lean ; \
46645 fi; \
46646 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3; \
46648 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare
46650 .PHONY: all-stage3 clean-stage3
46651 do-clean: clean-stage3
46653 # FIXME: Will not need to be conditional when toplevel bootstrap is the
46654 # only possibility, but now it conflicts with no-bootstrap rules
46655 @if gcc-bootstrap
46657 compare:
46658 @r=`${PWD_COMMAND}`; export r; \
46659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46660 if test -f stage2-lean; then \
46661 echo Cannot compare object files as stage 2 was deleted. ; \
46662 exit 0 ; \
46663 fi; \
46664 : $(MAKE); $(stage); \
46665 rm -f .bad_compare ; \
46666 echo Comparing stages 2 and 3 ; \
46667 sed=`echo stage3 | sed 's,^stage,,;s,.,.,g'`; \
46668 files=`find stage3-* -name "*$(objext)" -print | \
46669 sed -n s,^stage$$sed-,,p` ; \
46670 for file in $${files} ; do \
46671 f1=$$r/stage2-$$file; f2=$$r/stage3-$$file; \
46672 if test ! -f $$f1; then continue; fi; \
46673 $(do-compare) > /dev/null 2>&1; \
46674 if test $$? -eq 1; then \
46675 case $$file in \
46676 @compare_exclusions@) \
46677 echo warning: $$file differs ;; \
46678 *) \
46679 echo $$file differs >> .bad_compare ;; \
46680 esac ; \
46681 fi ; \
46682 done ; \
46683 if [ -f .bad_compare ]; then \
46684 echo "Bootstrap comparison failure!"; \
46685 cat .bad_compare; \
46686 exit 1; \
46687 else \
46688 echo Comparison successful.; \
46689 fi ; \
46690 $(STAMP) compare
46691 if $(LEAN); then \
46692 rm -rf stage2-*; \
46693 $(STAMP) stage2-lean; \
46698 .PHONY: bootstrap bootstrap-lean
46699 bootstrap:
46700 echo stage3 > stage_final
46701 @r=`${PWD_COMMAND}`; export r; \
46702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46703 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
46704 @: $(MAKE); $(unstage)
46705 @r=`${PWD_COMMAND}`; export r; \
46706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46707 TFLAGS="$(STAGE3_TFLAGS)"; \
46708 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
46710 bootstrap-lean:
46711 echo stage3 > stage_final
46712 @r=`${PWD_COMMAND}`; export r; \
46713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46714 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage3-bubble
46715 @: $(MAKE); $(unstage)
46716 @r=`${PWD_COMMAND}`; export r; \
46717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46718 TFLAGS="$(STAGE3_TFLAGS)"; \
46719 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
46722 # Rules to wipe a stage and all the following ones, also used for cleanstrap
46723 distclean-stage2:: distclean-stage3
46724 .PHONY: distclean-stage3
46725 distclean-stage3::
46726 @: $(MAKE); $(stage)
46727 @test "`cat stage_last`" != stage3 || rm -f stage_last
46728 rm -rf stage3-* compare
46731 .PHONY: cleanstrap
46732 cleanstrap: do-distclean local-clean
46733 echo stage3 > stage_final
46734 @r=`${PWD_COMMAND}`; export r; \
46735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46736 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
46737 @: $(MAKE); $(unstage)
46738 @r=`${PWD_COMMAND}`; export r; \
46739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46740 TFLAGS="$(STAGE3_TFLAGS)"; \
46741 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
46743 @endif gcc-bootstrap
46746 .PHONY: stage4-start stage4-end
46748 stage4-start::
46749 @: $(MAKE); $(stage); \
46750 echo stage4 > stage_current ; \
46751 echo stage4 > stage_last; \
46752 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
46753 @if bfd
46754 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
46755 mkdir stage4-bfd; \
46756 mv stage4-bfd bfd ; \
46757 mv stage3-bfd prev-bfd || test -f stage3-lean
46758 @endif bfd
46759 @if opcodes
46760 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
46761 mkdir stage4-opcodes; \
46762 mv stage4-opcodes opcodes ; \
46763 mv stage3-opcodes prev-opcodes || test -f stage3-lean
46764 @endif opcodes
46765 @if binutils
46766 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
46767 mkdir stage4-binutils; \
46768 mv stage4-binutils binutils ; \
46769 mv stage3-binutils prev-binutils || test -f stage3-lean
46770 @endif binutils
46771 @if fixincludes
46772 @cd $(HOST_SUBDIR); [ -d stage4-fixincludes ] || \
46773 mkdir stage4-fixincludes; \
46774 mv stage4-fixincludes fixincludes ; \
46775 mv stage3-fixincludes prev-fixincludes || test -f stage3-lean
46776 @endif fixincludes
46777 @if gas
46778 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
46779 mkdir stage4-gas; \
46780 mv stage4-gas gas ; \
46781 mv stage3-gas prev-gas || test -f stage3-lean
46782 @endif gas
46783 @if gcc
46784 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
46785 mkdir stage4-gcc; \
46786 mv stage4-gcc gcc ; \
46787 mv stage3-gcc prev-gcc || test -f stage3-lean
46788 @endif gcc
46789 @if gmp
46790 @cd $(HOST_SUBDIR); [ -d stage4-gmp ] || \
46791 mkdir stage4-gmp; \
46792 mv stage4-gmp gmp ; \
46793 mv stage3-gmp prev-gmp || test -f stage3-lean
46794 @endif gmp
46795 @if mpfr
46796 @cd $(HOST_SUBDIR); [ -d stage4-mpfr ] || \
46797 mkdir stage4-mpfr; \
46798 mv stage4-mpfr mpfr ; \
46799 mv stage3-mpfr prev-mpfr || test -f stage3-lean
46800 @endif mpfr
46801 @if mpc
46802 @cd $(HOST_SUBDIR); [ -d stage4-mpc ] || \
46803 mkdir stage4-mpc; \
46804 mv stage4-mpc mpc ; \
46805 mv stage3-mpc prev-mpc || test -f stage3-lean
46806 @endif mpc
46807 @if isl
46808 @cd $(HOST_SUBDIR); [ -d stage4-isl ] || \
46809 mkdir stage4-isl; \
46810 mv stage4-isl isl ; \
46811 mv stage3-isl prev-isl || test -f stage3-lean
46812 @endif isl
46813 @if cloog
46814 @cd $(HOST_SUBDIR); [ -d stage4-cloog ] || \
46815 mkdir stage4-cloog; \
46816 mv stage4-cloog cloog ; \
46817 mv stage3-cloog prev-cloog || test -f stage3-lean
46818 @endif cloog
46819 @if libelf
46820 @cd $(HOST_SUBDIR); [ -d stage4-libelf ] || \
46821 mkdir stage4-libelf; \
46822 mv stage4-libelf libelf ; \
46823 mv stage3-libelf prev-libelf || test -f stage3-lean
46824 @endif libelf
46825 @if gold
46826 @cd $(HOST_SUBDIR); [ -d stage4-gold ] || \
46827 mkdir stage4-gold; \
46828 mv stage4-gold gold ; \
46829 mv stage3-gold prev-gold || test -f stage3-lean
46830 @endif gold
46831 @if intl
46832 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
46833 mkdir stage4-intl; \
46834 mv stage4-intl intl ; \
46835 mv stage3-intl prev-intl || test -f stage3-lean
46836 @endif intl
46837 @if ld
46838 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
46839 mkdir stage4-ld; \
46840 mv stage4-ld ld ; \
46841 mv stage3-ld prev-ld || test -f stage3-lean
46842 @endif ld
46843 @if libbacktrace
46844 @cd $(HOST_SUBDIR); [ -d stage4-libbacktrace ] || \
46845 mkdir stage4-libbacktrace; \
46846 mv stage4-libbacktrace libbacktrace ; \
46847 mv stage3-libbacktrace prev-libbacktrace || test -f stage3-lean
46848 @endif libbacktrace
46849 @if libcpp
46850 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
46851 mkdir stage4-libcpp; \
46852 mv stage4-libcpp libcpp ; \
46853 mv stage3-libcpp prev-libcpp || test -f stage3-lean
46854 @endif libcpp
46855 @if libdecnumber
46856 @cd $(HOST_SUBDIR); [ -d stage4-libdecnumber ] || \
46857 mkdir stage4-libdecnumber; \
46858 mv stage4-libdecnumber libdecnumber ; \
46859 mv stage3-libdecnumber prev-libdecnumber || test -f stage3-lean
46860 @endif libdecnumber
46861 @if libiberty
46862 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
46863 mkdir stage4-libiberty; \
46864 mv stage4-libiberty libiberty ; \
46865 mv stage3-libiberty prev-libiberty || test -f stage3-lean
46866 @endif libiberty
46867 @if zlib
46868 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
46869 mkdir stage4-zlib; \
46870 mv stage4-zlib zlib ; \
46871 mv stage3-zlib prev-zlib || test -f stage3-lean
46872 @endif zlib
46873 @if lto-plugin
46874 @cd $(HOST_SUBDIR); [ -d stage4-lto-plugin ] || \
46875 mkdir stage4-lto-plugin; \
46876 mv stage4-lto-plugin lto-plugin ; \
46877 mv stage3-lto-plugin prev-lto-plugin || test -f stage3-lean
46878 @endif lto-plugin
46879 @if function_reordering_plugin
46880 @cd $(HOST_SUBDIR); [ -d stage4-function_reordering_plugin ] || \
46881 mkdir stage4-function_reordering_plugin; \
46882 mv stage4-function_reordering_plugin function_reordering_plugin ; \
46883 mv stage3-function_reordering_plugin prev-function_reordering_plugin || test -f stage3-lean
46884 @endif function_reordering_plugin
46885 @[ -d stage4-$(TARGET_SUBDIR) ] || \
46886 mkdir stage4-$(TARGET_SUBDIR); \
46887 mv stage4-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
46888 mv stage3-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage3-lean
46890 stage4-end::
46891 @if bfd
46892 @if test -d $(HOST_SUBDIR)/bfd ; then \
46893 cd $(HOST_SUBDIR); mv bfd stage4-bfd ; \
46894 mv prev-bfd stage3-bfd ; : ; \
46896 @endif bfd
46897 @if opcodes
46898 @if test -d $(HOST_SUBDIR)/opcodes ; then \
46899 cd $(HOST_SUBDIR); mv opcodes stage4-opcodes ; \
46900 mv prev-opcodes stage3-opcodes ; : ; \
46902 @endif opcodes
46903 @if binutils
46904 @if test -d $(HOST_SUBDIR)/binutils ; then \
46905 cd $(HOST_SUBDIR); mv binutils stage4-binutils ; \
46906 mv prev-binutils stage3-binutils ; : ; \
46908 @endif binutils
46909 @if fixincludes
46910 @if test -d $(HOST_SUBDIR)/fixincludes ; then \
46911 cd $(HOST_SUBDIR); mv fixincludes stage4-fixincludes ; \
46912 mv prev-fixincludes stage3-fixincludes ; : ; \
46914 @endif fixincludes
46915 @if gas
46916 @if test -d $(HOST_SUBDIR)/gas ; then \
46917 cd $(HOST_SUBDIR); mv gas stage4-gas ; \
46918 mv prev-gas stage3-gas ; : ; \
46920 @endif gas
46921 @if gcc
46922 @if test -d $(HOST_SUBDIR)/gcc ; then \
46923 cd $(HOST_SUBDIR); mv gcc stage4-gcc ; \
46924 mv prev-gcc stage3-gcc ; : ; \
46926 @endif gcc
46927 @if gmp
46928 @if test -d $(HOST_SUBDIR)/gmp ; then \
46929 cd $(HOST_SUBDIR); mv gmp stage4-gmp ; \
46930 mv prev-gmp stage3-gmp ; : ; \
46932 @endif gmp
46933 @if mpfr
46934 @if test -d $(HOST_SUBDIR)/mpfr ; then \
46935 cd $(HOST_SUBDIR); mv mpfr stage4-mpfr ; \
46936 mv prev-mpfr stage3-mpfr ; : ; \
46938 @endif mpfr
46939 @if mpc
46940 @if test -d $(HOST_SUBDIR)/mpc ; then \
46941 cd $(HOST_SUBDIR); mv mpc stage4-mpc ; \
46942 mv prev-mpc stage3-mpc ; : ; \
46944 @endif mpc
46945 @if isl
46946 @if test -d $(HOST_SUBDIR)/isl ; then \
46947 cd $(HOST_SUBDIR); mv isl stage4-isl ; \
46948 mv prev-isl stage3-isl ; : ; \
46950 @endif isl
46951 @if cloog
46952 @if test -d $(HOST_SUBDIR)/cloog ; then \
46953 cd $(HOST_SUBDIR); mv cloog stage4-cloog ; \
46954 mv prev-cloog stage3-cloog ; : ; \
46956 @endif cloog
46957 @if libelf
46958 @if test -d $(HOST_SUBDIR)/libelf ; then \
46959 cd $(HOST_SUBDIR); mv libelf stage4-libelf ; \
46960 mv prev-libelf stage3-libelf ; : ; \
46962 @endif libelf
46963 @if gold
46964 @if test -d $(HOST_SUBDIR)/gold ; then \
46965 cd $(HOST_SUBDIR); mv gold stage4-gold ; \
46966 mv prev-gold stage3-gold ; : ; \
46968 @endif gold
46969 @if intl
46970 @if test -d $(HOST_SUBDIR)/intl ; then \
46971 cd $(HOST_SUBDIR); mv intl stage4-intl ; \
46972 mv prev-intl stage3-intl ; : ; \
46974 @endif intl
46975 @if ld
46976 @if test -d $(HOST_SUBDIR)/ld ; then \
46977 cd $(HOST_SUBDIR); mv ld stage4-ld ; \
46978 mv prev-ld stage3-ld ; : ; \
46980 @endif ld
46981 @if libbacktrace
46982 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
46983 cd $(HOST_SUBDIR); mv libbacktrace stage4-libbacktrace ; \
46984 mv prev-libbacktrace stage3-libbacktrace ; : ; \
46986 @endif libbacktrace
46987 @if libcpp
46988 @if test -d $(HOST_SUBDIR)/libcpp ; then \
46989 cd $(HOST_SUBDIR); mv libcpp stage4-libcpp ; \
46990 mv prev-libcpp stage3-libcpp ; : ; \
46992 @endif libcpp
46993 @if libdecnumber
46994 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
46995 cd $(HOST_SUBDIR); mv libdecnumber stage4-libdecnumber ; \
46996 mv prev-libdecnumber stage3-libdecnumber ; : ; \
46998 @endif libdecnumber
46999 @if libiberty
47000 @if test -d $(HOST_SUBDIR)/libiberty ; then \
47001 cd $(HOST_SUBDIR); mv libiberty stage4-libiberty ; \
47002 mv prev-libiberty stage3-libiberty ; : ; \
47004 @endif libiberty
47005 @if zlib
47006 @if test -d $(HOST_SUBDIR)/zlib ; then \
47007 cd $(HOST_SUBDIR); mv zlib stage4-zlib ; \
47008 mv prev-zlib stage3-zlib ; : ; \
47010 @endif zlib
47011 @if lto-plugin
47012 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
47013 cd $(HOST_SUBDIR); mv lto-plugin stage4-lto-plugin ; \
47014 mv prev-lto-plugin stage3-lto-plugin ; : ; \
47016 @endif lto-plugin
47017 @if function_reordering_plugin
47018 @if test -d $(HOST_SUBDIR)/function_reordering_plugin ; then \
47019 cd $(HOST_SUBDIR); mv function_reordering_plugin stage4-function_reordering_plugin ; \
47020 mv prev-function_reordering_plugin stage3-function_reordering_plugin ; : ; \
47022 @endif function_reordering_plugin
47023 @if test -d $(TARGET_SUBDIR) ; then \
47024 mv $(TARGET_SUBDIR) stage4-$(TARGET_SUBDIR) ; \
47025 mv prev-$(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; : ; \
47027 rm -f stage_current
47029 # Bubble a bug fix through all the stages up to stage 4. They are
47030 # remade, but not reconfigured. The next stage (if any) will not be
47031 # reconfigured either.
47032 .PHONY: stage4-bubble
47033 stage4-bubble:: stage3-bubble
47034 @r=`${PWD_COMMAND}`; export r; \
47035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47036 if test -f stage4-lean || test -f stage3-lean ; then \
47037 echo Skipping rebuild of stage4 ; \
47038 else \
47039 $(MAKE) stage4-start; \
47040 if $(LEAN); then \
47041 rm -rf stage2-* ; \
47042 $(STAMP) stage2-lean ; \
47043 fi; \
47044 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4; \
47046 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3
47048 .PHONY: all-stage4 clean-stage4
47049 do-clean: clean-stage4
47051 # FIXME: Will not need to be conditional when toplevel bootstrap is the
47052 # only possibility, but now it conflicts with no-bootstrap rules
47053 @if gcc-bootstrap
47055 compare3:
47056 @r=`${PWD_COMMAND}`; export r; \
47057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47058 if test -f stage3-lean; then \
47059 echo Cannot compare object files as stage 3 was deleted. ; \
47060 exit 0 ; \
47061 fi; \
47062 : $(MAKE); $(stage); \
47063 rm -f .bad_compare ; \
47064 echo Comparing stages 3 and 4 ; \
47065 sed=`echo stage4 | sed 's,^stage,,;s,.,.,g'`; \
47066 files=`find stage4-* -name "*$(objext)" -print | \
47067 sed -n s,^stage$$sed-,,p` ; \
47068 for file in $${files} ; do \
47069 f1=$$r/stage3-$$file; f2=$$r/stage4-$$file; \
47070 if test ! -f $$f1; then continue; fi; \
47071 $(do-compare3) > /dev/null 2>&1; \
47072 if test $$? -eq 1; then \
47073 case $$file in \
47074 @compare_exclusions@) \
47075 echo warning: $$file differs ;; \
47076 *) \
47077 echo $$file differs >> .bad_compare ;; \
47078 esac ; \
47079 fi ; \
47080 done ; \
47081 if [ -f .bad_compare ]; then \
47082 echo "Bootstrap comparison failure!"; \
47083 cat .bad_compare; \
47084 exit 1; \
47085 else \
47086 echo Comparison successful.; \
47087 fi ; \
47088 $(STAMP) compare3
47089 if $(LEAN); then \
47090 rm -rf stage3-*; \
47091 $(STAMP) stage3-lean; \
47096 .PHONY: bootstrap4 bootstrap4-lean
47097 bootstrap4:
47098 echo stage4 > stage_final
47099 @r=`${PWD_COMMAND}`; export r; \
47100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47101 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble
47102 @: $(MAKE); $(unstage)
47103 @r=`${PWD_COMMAND}`; export r; \
47104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47105 TFLAGS="$(STAGE4_TFLAGS)"; \
47106 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
47108 bootstrap4-lean:
47109 echo stage4 > stage_final
47110 @r=`${PWD_COMMAND}`; export r; \
47111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47112 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage4-bubble
47113 @: $(MAKE); $(unstage)
47114 @r=`${PWD_COMMAND}`; export r; \
47115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47116 TFLAGS="$(STAGE4_TFLAGS)"; \
47117 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
47120 # Rules to wipe a stage and all the following ones, also used for cleanstrap
47121 distclean-stage3:: distclean-stage4
47122 .PHONY: distclean-stage4
47123 distclean-stage4::
47124 @: $(MAKE); $(stage)
47125 @test "`cat stage_last`" != stage4 || rm -f stage_last
47126 rm -rf stage4-* compare3
47129 @endif gcc-bootstrap
47132 .PHONY: stageprofile-start stageprofile-end
47134 stageprofile-start::
47135 @: $(MAKE); $(stage); \
47136 echo stageprofile > stage_current ; \
47137 echo stageprofile > stage_last; \
47138 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
47139 @if bfd
47140 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
47141 mkdir stageprofile-bfd; \
47142 mv stageprofile-bfd bfd ; \
47143 mv stage1-bfd prev-bfd || test -f stage1-lean
47144 @endif bfd
47145 @if opcodes
47146 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
47147 mkdir stageprofile-opcodes; \
47148 mv stageprofile-opcodes opcodes ; \
47149 mv stage1-opcodes prev-opcodes || test -f stage1-lean
47150 @endif opcodes
47151 @if binutils
47152 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
47153 mkdir stageprofile-binutils; \
47154 mv stageprofile-binutils binutils ; \
47155 mv stage1-binutils prev-binutils || test -f stage1-lean
47156 @endif binutils
47157 @if fixincludes
47158 @cd $(HOST_SUBDIR); [ -d stageprofile-fixincludes ] || \
47159 mkdir stageprofile-fixincludes; \
47160 mv stageprofile-fixincludes fixincludes ; \
47161 mv stage1-fixincludes prev-fixincludes || test -f stage1-lean
47162 @endif fixincludes
47163 @if gas
47164 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
47165 mkdir stageprofile-gas; \
47166 mv stageprofile-gas gas ; \
47167 mv stage1-gas prev-gas || test -f stage1-lean
47168 @endif gas
47169 @if gcc
47170 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
47171 mkdir stageprofile-gcc; \
47172 mv stageprofile-gcc gcc ; \
47173 mv stage1-gcc prev-gcc || test -f stage1-lean
47174 @endif gcc
47175 @if gmp
47176 @cd $(HOST_SUBDIR); [ -d stageprofile-gmp ] || \
47177 mkdir stageprofile-gmp; \
47178 mv stageprofile-gmp gmp ; \
47179 mv stage1-gmp prev-gmp || test -f stage1-lean
47180 @endif gmp
47181 @if mpfr
47182 @cd $(HOST_SUBDIR); [ -d stageprofile-mpfr ] || \
47183 mkdir stageprofile-mpfr; \
47184 mv stageprofile-mpfr mpfr ; \
47185 mv stage1-mpfr prev-mpfr || test -f stage1-lean
47186 @endif mpfr
47187 @if mpc
47188 @cd $(HOST_SUBDIR); [ -d stageprofile-mpc ] || \
47189 mkdir stageprofile-mpc; \
47190 mv stageprofile-mpc mpc ; \
47191 mv stage1-mpc prev-mpc || test -f stage1-lean
47192 @endif mpc
47193 @if isl
47194 @cd $(HOST_SUBDIR); [ -d stageprofile-isl ] || \
47195 mkdir stageprofile-isl; \
47196 mv stageprofile-isl isl ; \
47197 mv stage1-isl prev-isl || test -f stage1-lean
47198 @endif isl
47199 @if cloog
47200 @cd $(HOST_SUBDIR); [ -d stageprofile-cloog ] || \
47201 mkdir stageprofile-cloog; \
47202 mv stageprofile-cloog cloog ; \
47203 mv stage1-cloog prev-cloog || test -f stage1-lean
47204 @endif cloog
47205 @if libelf
47206 @cd $(HOST_SUBDIR); [ -d stageprofile-libelf ] || \
47207 mkdir stageprofile-libelf; \
47208 mv stageprofile-libelf libelf ; \
47209 mv stage1-libelf prev-libelf || test -f stage1-lean
47210 @endif libelf
47211 @if gold
47212 @cd $(HOST_SUBDIR); [ -d stageprofile-gold ] || \
47213 mkdir stageprofile-gold; \
47214 mv stageprofile-gold gold ; \
47215 mv stage1-gold prev-gold || test -f stage1-lean
47216 @endif gold
47217 @if intl
47218 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
47219 mkdir stageprofile-intl; \
47220 mv stageprofile-intl intl ; \
47221 mv stage1-intl prev-intl || test -f stage1-lean
47222 @endif intl
47223 @if ld
47224 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
47225 mkdir stageprofile-ld; \
47226 mv stageprofile-ld ld ; \
47227 mv stage1-ld prev-ld || test -f stage1-lean
47228 @endif ld
47229 @if libbacktrace
47230 @cd $(HOST_SUBDIR); [ -d stageprofile-libbacktrace ] || \
47231 mkdir stageprofile-libbacktrace; \
47232 mv stageprofile-libbacktrace libbacktrace ; \
47233 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
47234 @endif libbacktrace
47235 @if libcpp
47236 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
47237 mkdir stageprofile-libcpp; \
47238 mv stageprofile-libcpp libcpp ; \
47239 mv stage1-libcpp prev-libcpp || test -f stage1-lean
47240 @endif libcpp
47241 @if libdecnumber
47242 @cd $(HOST_SUBDIR); [ -d stageprofile-libdecnumber ] || \
47243 mkdir stageprofile-libdecnumber; \
47244 mv stageprofile-libdecnumber libdecnumber ; \
47245 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
47246 @endif libdecnumber
47247 @if libiberty
47248 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
47249 mkdir stageprofile-libiberty; \
47250 mv stageprofile-libiberty libiberty ; \
47251 mv stage1-libiberty prev-libiberty || test -f stage1-lean
47252 @endif libiberty
47253 @if zlib
47254 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
47255 mkdir stageprofile-zlib; \
47256 mv stageprofile-zlib zlib ; \
47257 mv stage1-zlib prev-zlib || test -f stage1-lean
47258 @endif zlib
47259 @if lto-plugin
47260 @cd $(HOST_SUBDIR); [ -d stageprofile-lto-plugin ] || \
47261 mkdir stageprofile-lto-plugin; \
47262 mv stageprofile-lto-plugin lto-plugin ; \
47263 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
47264 @endif lto-plugin
47265 @if function_reordering_plugin
47266 @cd $(HOST_SUBDIR); [ -d stageprofile-function_reordering_plugin ] || \
47267 mkdir stageprofile-function_reordering_plugin; \
47268 mv stageprofile-function_reordering_plugin function_reordering_plugin ; \
47269 mv stage1-function_reordering_plugin prev-function_reordering_plugin || test -f stage1-lean
47270 @endif function_reordering_plugin
47271 @[ -d stageprofile-$(TARGET_SUBDIR) ] || \
47272 mkdir stageprofile-$(TARGET_SUBDIR); \
47273 mv stageprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
47274 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
47276 stageprofile-end::
47277 @if bfd
47278 @if test -d $(HOST_SUBDIR)/bfd ; then \
47279 cd $(HOST_SUBDIR); mv bfd stageprofile-bfd ; \
47280 mv prev-bfd stage1-bfd ; : ; \
47282 @endif bfd
47283 @if opcodes
47284 @if test -d $(HOST_SUBDIR)/opcodes ; then \
47285 cd $(HOST_SUBDIR); mv opcodes stageprofile-opcodes ; \
47286 mv prev-opcodes stage1-opcodes ; : ; \
47288 @endif opcodes
47289 @if binutils
47290 @if test -d $(HOST_SUBDIR)/binutils ; then \
47291 cd $(HOST_SUBDIR); mv binutils stageprofile-binutils ; \
47292 mv prev-binutils stage1-binutils ; : ; \
47294 @endif binutils
47295 @if fixincludes
47296 @if test -d $(HOST_SUBDIR)/fixincludes ; then \
47297 cd $(HOST_SUBDIR); mv fixincludes stageprofile-fixincludes ; \
47298 mv prev-fixincludes stage1-fixincludes ; : ; \
47300 @endif fixincludes
47301 @if gas
47302 @if test -d $(HOST_SUBDIR)/gas ; then \
47303 cd $(HOST_SUBDIR); mv gas stageprofile-gas ; \
47304 mv prev-gas stage1-gas ; : ; \
47306 @endif gas
47307 @if gcc
47308 @if test -d $(HOST_SUBDIR)/gcc ; then \
47309 cd $(HOST_SUBDIR); mv gcc stageprofile-gcc ; \
47310 mv prev-gcc stage1-gcc ; : ; \
47312 @endif gcc
47313 @if gmp
47314 @if test -d $(HOST_SUBDIR)/gmp ; then \
47315 cd $(HOST_SUBDIR); mv gmp stageprofile-gmp ; \
47316 mv prev-gmp stage1-gmp ; : ; \
47318 @endif gmp
47319 @if mpfr
47320 @if test -d $(HOST_SUBDIR)/mpfr ; then \
47321 cd $(HOST_SUBDIR); mv mpfr stageprofile-mpfr ; \
47322 mv prev-mpfr stage1-mpfr ; : ; \
47324 @endif mpfr
47325 @if mpc
47326 @if test -d $(HOST_SUBDIR)/mpc ; then \
47327 cd $(HOST_SUBDIR); mv mpc stageprofile-mpc ; \
47328 mv prev-mpc stage1-mpc ; : ; \
47330 @endif mpc
47331 @if isl
47332 @if test -d $(HOST_SUBDIR)/isl ; then \
47333 cd $(HOST_SUBDIR); mv isl stageprofile-isl ; \
47334 mv prev-isl stage1-isl ; : ; \
47336 @endif isl
47337 @if cloog
47338 @if test -d $(HOST_SUBDIR)/cloog ; then \
47339 cd $(HOST_SUBDIR); mv cloog stageprofile-cloog ; \
47340 mv prev-cloog stage1-cloog ; : ; \
47342 @endif cloog
47343 @if libelf
47344 @if test -d $(HOST_SUBDIR)/libelf ; then \
47345 cd $(HOST_SUBDIR); mv libelf stageprofile-libelf ; \
47346 mv prev-libelf stage1-libelf ; : ; \
47348 @endif libelf
47349 @if gold
47350 @if test -d $(HOST_SUBDIR)/gold ; then \
47351 cd $(HOST_SUBDIR); mv gold stageprofile-gold ; \
47352 mv prev-gold stage1-gold ; : ; \
47354 @endif gold
47355 @if intl
47356 @if test -d $(HOST_SUBDIR)/intl ; then \
47357 cd $(HOST_SUBDIR); mv intl stageprofile-intl ; \
47358 mv prev-intl stage1-intl ; : ; \
47360 @endif intl
47361 @if ld
47362 @if test -d $(HOST_SUBDIR)/ld ; then \
47363 cd $(HOST_SUBDIR); mv ld stageprofile-ld ; \
47364 mv prev-ld stage1-ld ; : ; \
47366 @endif ld
47367 @if libbacktrace
47368 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
47369 cd $(HOST_SUBDIR); mv libbacktrace stageprofile-libbacktrace ; \
47370 mv prev-libbacktrace stage1-libbacktrace ; : ; \
47372 @endif libbacktrace
47373 @if libcpp
47374 @if test -d $(HOST_SUBDIR)/libcpp ; then \
47375 cd $(HOST_SUBDIR); mv libcpp stageprofile-libcpp ; \
47376 mv prev-libcpp stage1-libcpp ; : ; \
47378 @endif libcpp
47379 @if libdecnumber
47380 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
47381 cd $(HOST_SUBDIR); mv libdecnumber stageprofile-libdecnumber ; \
47382 mv prev-libdecnumber stage1-libdecnumber ; : ; \
47384 @endif libdecnumber
47385 @if libiberty
47386 @if test -d $(HOST_SUBDIR)/libiberty ; then \
47387 cd $(HOST_SUBDIR); mv libiberty stageprofile-libiberty ; \
47388 mv prev-libiberty stage1-libiberty ; : ; \
47390 @endif libiberty
47391 @if zlib
47392 @if test -d $(HOST_SUBDIR)/zlib ; then \
47393 cd $(HOST_SUBDIR); mv zlib stageprofile-zlib ; \
47394 mv prev-zlib stage1-zlib ; : ; \
47396 @endif zlib
47397 @if lto-plugin
47398 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
47399 cd $(HOST_SUBDIR); mv lto-plugin stageprofile-lto-plugin ; \
47400 mv prev-lto-plugin stage1-lto-plugin ; : ; \
47402 @endif lto-plugin
47403 @if function_reordering_plugin
47404 @if test -d $(HOST_SUBDIR)/function_reordering_plugin ; then \
47405 cd $(HOST_SUBDIR); mv function_reordering_plugin stageprofile-function_reordering_plugin ; \
47406 mv prev-function_reordering_plugin stage1-function_reordering_plugin ; : ; \
47408 @endif function_reordering_plugin
47409 @if test -d $(TARGET_SUBDIR) ; then \
47410 mv $(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; \
47411 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
47413 rm -f stage_current
47415 # Bubble a bug fix through all the stages up to stage profile. They are
47416 # remade, but not reconfigured. The next stage (if any) will not be
47417 # reconfigured either.
47418 .PHONY: stageprofile-bubble
47419 stageprofile-bubble:: stage1-bubble
47420 @r=`${PWD_COMMAND}`; export r; \
47421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47422 if test -f stageprofile-lean || test -f stage1-lean ; then \
47423 echo Skipping rebuild of stageprofile ; \
47424 else \
47425 $(MAKE) stageprofile-start; \
47426 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile; \
47429 .PHONY: all-stageprofile clean-stageprofile
47430 do-clean: clean-stageprofile
47432 # FIXME: Will not need to be conditional when toplevel bootstrap is the
47433 # only possibility, but now it conflicts with no-bootstrap rules
47434 @if gcc-bootstrap
47439 # Rules to wipe a stage and all the following ones, also used for cleanstrap
47440 distclean-stage1:: distclean-stageprofile
47441 .PHONY: distclean-stageprofile
47442 distclean-stageprofile::
47443 @: $(MAKE); $(stage)
47444 @test "`cat stage_last`" != stageprofile || rm -f stage_last
47445 rm -rf stageprofile-*
47448 @endif gcc-bootstrap
47451 .PHONY: stagefeedback-start stagefeedback-end
47453 stagefeedback-start::
47454 @: $(MAKE); $(stage); \
47455 echo stagefeedback > stage_current ; \
47456 echo stagefeedback > stage_last; \
47457 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
47458 @if bfd
47459 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
47460 mkdir stagefeedback-bfd; \
47461 mv stagefeedback-bfd bfd ; \
47462 mv stageprofile-bfd prev-bfd || test -f stageprofile-lean
47463 @endif bfd
47464 @if opcodes
47465 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
47466 mkdir stagefeedback-opcodes; \
47467 mv stagefeedback-opcodes opcodes ; \
47468 mv stageprofile-opcodes prev-opcodes || test -f stageprofile-lean
47469 @endif opcodes
47470 @if binutils
47471 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
47472 mkdir stagefeedback-binutils; \
47473 mv stagefeedback-binutils binutils ; \
47474 mv stageprofile-binutils prev-binutils || test -f stageprofile-lean
47475 @endif binutils
47476 @if fixincludes
47477 @cd $(HOST_SUBDIR); [ -d stagefeedback-fixincludes ] || \
47478 mkdir stagefeedback-fixincludes; \
47479 mv stagefeedback-fixincludes fixincludes ; \
47480 mv stageprofile-fixincludes prev-fixincludes || test -f stageprofile-lean
47481 @endif fixincludes
47482 @if gas
47483 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
47484 mkdir stagefeedback-gas; \
47485 mv stagefeedback-gas gas ; \
47486 mv stageprofile-gas prev-gas || test -f stageprofile-lean
47487 @endif gas
47488 @if gcc
47489 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
47490 mkdir stagefeedback-gcc; \
47491 mv stagefeedback-gcc gcc ; \
47492 mv stageprofile-gcc prev-gcc || test -f stageprofile-lean
47493 @endif gcc
47494 @if gmp
47495 @cd $(HOST_SUBDIR); [ -d stagefeedback-gmp ] || \
47496 mkdir stagefeedback-gmp; \
47497 mv stagefeedback-gmp gmp ; \
47498 mv stageprofile-gmp prev-gmp || test -f stageprofile-lean
47499 @endif gmp
47500 @if mpfr
47501 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpfr ] || \
47502 mkdir stagefeedback-mpfr; \
47503 mv stagefeedback-mpfr mpfr ; \
47504 mv stageprofile-mpfr prev-mpfr || test -f stageprofile-lean
47505 @endif mpfr
47506 @if mpc
47507 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpc ] || \
47508 mkdir stagefeedback-mpc; \
47509 mv stagefeedback-mpc mpc ; \
47510 mv stageprofile-mpc prev-mpc || test -f stageprofile-lean
47511 @endif mpc
47512 @if isl
47513 @cd $(HOST_SUBDIR); [ -d stagefeedback-isl ] || \
47514 mkdir stagefeedback-isl; \
47515 mv stagefeedback-isl isl ; \
47516 mv stageprofile-isl prev-isl || test -f stageprofile-lean
47517 @endif isl
47518 @if cloog
47519 @cd $(HOST_SUBDIR); [ -d stagefeedback-cloog ] || \
47520 mkdir stagefeedback-cloog; \
47521 mv stagefeedback-cloog cloog ; \
47522 mv stageprofile-cloog prev-cloog || test -f stageprofile-lean
47523 @endif cloog
47524 @if libelf
47525 @cd $(HOST_SUBDIR); [ -d stagefeedback-libelf ] || \
47526 mkdir stagefeedback-libelf; \
47527 mv stagefeedback-libelf libelf ; \
47528 mv stageprofile-libelf prev-libelf || test -f stageprofile-lean
47529 @endif libelf
47530 @if gold
47531 @cd $(HOST_SUBDIR); [ -d stagefeedback-gold ] || \
47532 mkdir stagefeedback-gold; \
47533 mv stagefeedback-gold gold ; \
47534 mv stageprofile-gold prev-gold || test -f stageprofile-lean
47535 @endif gold
47536 @if intl
47537 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
47538 mkdir stagefeedback-intl; \
47539 mv stagefeedback-intl intl ; \
47540 mv stageprofile-intl prev-intl || test -f stageprofile-lean
47541 @endif intl
47542 @if ld
47543 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
47544 mkdir stagefeedback-ld; \
47545 mv stagefeedback-ld ld ; \
47546 mv stageprofile-ld prev-ld || test -f stageprofile-lean
47547 @endif ld
47548 @if libbacktrace
47549 @cd $(HOST_SUBDIR); [ -d stagefeedback-libbacktrace ] || \
47550 mkdir stagefeedback-libbacktrace; \
47551 mv stagefeedback-libbacktrace libbacktrace ; \
47552 mv stageprofile-libbacktrace prev-libbacktrace || test -f stageprofile-lean
47553 @endif libbacktrace
47554 @if libcpp
47555 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
47556 mkdir stagefeedback-libcpp; \
47557 mv stagefeedback-libcpp libcpp ; \
47558 mv stageprofile-libcpp prev-libcpp || test -f stageprofile-lean
47559 @endif libcpp
47560 @if libdecnumber
47561 @cd $(HOST_SUBDIR); [ -d stagefeedback-libdecnumber ] || \
47562 mkdir stagefeedback-libdecnumber; \
47563 mv stagefeedback-libdecnumber libdecnumber ; \
47564 mv stageprofile-libdecnumber prev-libdecnumber || test -f stageprofile-lean
47565 @endif libdecnumber
47566 @if libiberty
47567 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
47568 mkdir stagefeedback-libiberty; \
47569 mv stagefeedback-libiberty libiberty ; \
47570 mv stageprofile-libiberty prev-libiberty || test -f stageprofile-lean
47571 @endif libiberty
47572 @if zlib
47573 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
47574 mkdir stagefeedback-zlib; \
47575 mv stagefeedback-zlib zlib ; \
47576 mv stageprofile-zlib prev-zlib || test -f stageprofile-lean
47577 @endif zlib
47578 @if lto-plugin
47579 @cd $(HOST_SUBDIR); [ -d stagefeedback-lto-plugin ] || \
47580 mkdir stagefeedback-lto-plugin; \
47581 mv stagefeedback-lto-plugin lto-plugin ; \
47582 mv stageprofile-lto-plugin prev-lto-plugin || test -f stageprofile-lean
47583 @endif lto-plugin
47584 @if function_reordering_plugin
47585 @cd $(HOST_SUBDIR); [ -d stagefeedback-function_reordering_plugin ] || \
47586 mkdir stagefeedback-function_reordering_plugin; \
47587 mv stagefeedback-function_reordering_plugin function_reordering_plugin ; \
47588 mv stageprofile-function_reordering_plugin prev-function_reordering_plugin || test -f stageprofile-lean
47589 @endif function_reordering_plugin
47590 @[ -d stagefeedback-$(TARGET_SUBDIR) ] || \
47591 mkdir stagefeedback-$(TARGET_SUBDIR); \
47592 mv stagefeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
47593 mv stageprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageprofile-lean
47595 stagefeedback-end::
47596 @if bfd
47597 @if test -d $(HOST_SUBDIR)/bfd ; then \
47598 cd $(HOST_SUBDIR); mv bfd stagefeedback-bfd ; \
47599 mv prev-bfd stageprofile-bfd ; : ; \
47601 @endif bfd
47602 @if opcodes
47603 @if test -d $(HOST_SUBDIR)/opcodes ; then \
47604 cd $(HOST_SUBDIR); mv opcodes stagefeedback-opcodes ; \
47605 mv prev-opcodes stageprofile-opcodes ; : ; \
47607 @endif opcodes
47608 @if binutils
47609 @if test -d $(HOST_SUBDIR)/binutils ; then \
47610 cd $(HOST_SUBDIR); mv binutils stagefeedback-binutils ; \
47611 mv prev-binutils stageprofile-binutils ; : ; \
47613 @endif binutils
47614 @if fixincludes
47615 @if test -d $(HOST_SUBDIR)/fixincludes ; then \
47616 cd $(HOST_SUBDIR); mv fixincludes stagefeedback-fixincludes ; \
47617 mv prev-fixincludes stageprofile-fixincludes ; : ; \
47619 @endif fixincludes
47620 @if gas
47621 @if test -d $(HOST_SUBDIR)/gas ; then \
47622 cd $(HOST_SUBDIR); mv gas stagefeedback-gas ; \
47623 mv prev-gas stageprofile-gas ; : ; \
47625 @endif gas
47626 @if gcc
47627 @if test -d $(HOST_SUBDIR)/gcc ; then \
47628 cd $(HOST_SUBDIR); mv gcc stagefeedback-gcc ; \
47629 mv prev-gcc stageprofile-gcc ; : ; \
47631 @endif gcc
47632 @if gmp
47633 @if test -d $(HOST_SUBDIR)/gmp ; then \
47634 cd $(HOST_SUBDIR); mv gmp stagefeedback-gmp ; \
47635 mv prev-gmp stageprofile-gmp ; : ; \
47637 @endif gmp
47638 @if mpfr
47639 @if test -d $(HOST_SUBDIR)/mpfr ; then \
47640 cd $(HOST_SUBDIR); mv mpfr stagefeedback-mpfr ; \
47641 mv prev-mpfr stageprofile-mpfr ; : ; \
47643 @endif mpfr
47644 @if mpc
47645 @if test -d $(HOST_SUBDIR)/mpc ; then \
47646 cd $(HOST_SUBDIR); mv mpc stagefeedback-mpc ; \
47647 mv prev-mpc stageprofile-mpc ; : ; \
47649 @endif mpc
47650 @if isl
47651 @if test -d $(HOST_SUBDIR)/isl ; then \
47652 cd $(HOST_SUBDIR); mv isl stagefeedback-isl ; \
47653 mv prev-isl stageprofile-isl ; : ; \
47655 @endif isl
47656 @if cloog
47657 @if test -d $(HOST_SUBDIR)/cloog ; then \
47658 cd $(HOST_SUBDIR); mv cloog stagefeedback-cloog ; \
47659 mv prev-cloog stageprofile-cloog ; : ; \
47661 @endif cloog
47662 @if libelf
47663 @if test -d $(HOST_SUBDIR)/libelf ; then \
47664 cd $(HOST_SUBDIR); mv libelf stagefeedback-libelf ; \
47665 mv prev-libelf stageprofile-libelf ; : ; \
47667 @endif libelf
47668 @if gold
47669 @if test -d $(HOST_SUBDIR)/gold ; then \
47670 cd $(HOST_SUBDIR); mv gold stagefeedback-gold ; \
47671 mv prev-gold stageprofile-gold ; : ; \
47673 @endif gold
47674 @if intl
47675 @if test -d $(HOST_SUBDIR)/intl ; then \
47676 cd $(HOST_SUBDIR); mv intl stagefeedback-intl ; \
47677 mv prev-intl stageprofile-intl ; : ; \
47679 @endif intl
47680 @if ld
47681 @if test -d $(HOST_SUBDIR)/ld ; then \
47682 cd $(HOST_SUBDIR); mv ld stagefeedback-ld ; \
47683 mv prev-ld stageprofile-ld ; : ; \
47685 @endif ld
47686 @if libbacktrace
47687 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
47688 cd $(HOST_SUBDIR); mv libbacktrace stagefeedback-libbacktrace ; \
47689 mv prev-libbacktrace stageprofile-libbacktrace ; : ; \
47691 @endif libbacktrace
47692 @if libcpp
47693 @if test -d $(HOST_SUBDIR)/libcpp ; then \
47694 cd $(HOST_SUBDIR); mv libcpp stagefeedback-libcpp ; \
47695 mv prev-libcpp stageprofile-libcpp ; : ; \
47697 @endif libcpp
47698 @if libdecnumber
47699 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
47700 cd $(HOST_SUBDIR); mv libdecnumber stagefeedback-libdecnumber ; \
47701 mv prev-libdecnumber stageprofile-libdecnumber ; : ; \
47703 @endif libdecnumber
47704 @if libiberty
47705 @if test -d $(HOST_SUBDIR)/libiberty ; then \
47706 cd $(HOST_SUBDIR); mv libiberty stagefeedback-libiberty ; \
47707 mv prev-libiberty stageprofile-libiberty ; : ; \
47709 @endif libiberty
47710 @if zlib
47711 @if test -d $(HOST_SUBDIR)/zlib ; then \
47712 cd $(HOST_SUBDIR); mv zlib stagefeedback-zlib ; \
47713 mv prev-zlib stageprofile-zlib ; : ; \
47715 @endif zlib
47716 @if lto-plugin
47717 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
47718 cd $(HOST_SUBDIR); mv lto-plugin stagefeedback-lto-plugin ; \
47719 mv prev-lto-plugin stageprofile-lto-plugin ; : ; \
47721 @endif lto-plugin
47722 @if function_reordering_plugin
47723 @if test -d $(HOST_SUBDIR)/function_reordering_plugin ; then \
47724 cd $(HOST_SUBDIR); mv function_reordering_plugin stagefeedback-function_reordering_plugin ; \
47725 mv prev-function_reordering_plugin stageprofile-function_reordering_plugin ; : ; \
47727 @endif function_reordering_plugin
47728 @if test -d $(TARGET_SUBDIR) ; then \
47729 mv $(TARGET_SUBDIR) stagefeedback-$(TARGET_SUBDIR) ; \
47730 mv prev-$(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; : ; \
47732 rm -f stage_current
47734 # Bubble a bug fix through all the stages up to stage feedback. They are
47735 # remade, but not reconfigured. The next stage (if any) will not be
47736 # reconfigured either.
47737 .PHONY: stagefeedback-bubble
47738 stagefeedback-bubble:: stageprofile-bubble
47739 @r=`${PWD_COMMAND}`; export r; \
47740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47741 if test -f stagefeedback-lean || test -f stageprofile-lean ; then \
47742 echo Skipping rebuild of stagefeedback ; \
47743 else \
47744 $(MAKE) stagefeedback-start; \
47745 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback; \
47748 .PHONY: all-stagefeedback clean-stagefeedback
47749 do-clean: clean-stagefeedback
47751 # FIXME: Will not need to be conditional when toplevel bootstrap is the
47752 # only possibility, but now it conflicts with no-bootstrap rules
47753 @if gcc-bootstrap
47757 .PHONY: profiledbootstrap profiledbootstrap-lean
47758 profiledbootstrap:
47759 echo stagefeedback > stage_final
47760 @r=`${PWD_COMMAND}`; export r; \
47761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47762 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stagefeedback-bubble
47763 @: $(MAKE); $(unstage)
47764 @r=`${PWD_COMMAND}`; export r; \
47765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47766 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
47767 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
47769 profiledbootstrap-lean:
47770 echo stagefeedback > stage_final
47771 @r=`${PWD_COMMAND}`; export r; \
47772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47773 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stagefeedback-bubble
47774 @: $(MAKE); $(unstage)
47775 @r=`${PWD_COMMAND}`; export r; \
47776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47777 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
47778 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
47781 # Rules to wipe a stage and all the following ones, also used for cleanstrap
47782 distclean-stageprofile:: distclean-stagefeedback
47783 .PHONY: distclean-stagefeedback
47784 distclean-stagefeedback::
47785 @: $(MAKE); $(stage)
47786 @test "`cat stage_last`" != stagefeedback || rm -f stage_last
47787 rm -rf stagefeedback-*
47790 @endif gcc-bootstrap
47794 stageprofile-end::
47795 $(MAKE) distclean-stagefeedback
47797 stagefeedback-start::
47798 @r=`${PWD_COMMAND}`; export r; \
47799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47800 for i in prev-*; do \
47801 j=`echo $$i | sed s/^prev-//` ; \
47802 cd $$r/$$i && \
47803 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL) ; } && \
47804 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL) ; } ; \
47805 done
47807 @if gcc-bootstrap
47808 do-distclean: distclean-stage1
47810 # Provide a GCC build when we're building target libraries. This does
47811 # not work as a dependency, just as the minimum necessary to avoid errors.
47812 stage_last:
47813 @r=`${PWD_COMMAND}`; export r; \
47814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47815 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage1-bubble
47817 # Same as unstage, but not phony and defaulting to stage1-start. We place
47818 # it in the dependency so that for example `make -j3 all-gcc' works.
47819 stage_current:
47820 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
47822 .PHONY: restrap
47823 restrap::
47824 @: $(MAKE); $(stage)
47825 rm -rf stage1-$(TARGET_SUBDIR) stage2-* stage3-* stage4-* stageprofile-* stagefeedback-*
47826 restrap:: all
47827 @endif gcc-bootstrap
47829 # --------------------------------------
47830 # Dependencies between different modules
47831 # --------------------------------------
47833 # Generic dependencies for target modules on host stuff, especially gcc
47834 @if gcc-bootstrap
47835 configure-stage1-target-libstdc++-v3: maybe-all-stage1-gcc
47836 configure-stage2-target-libstdc++-v3: maybe-all-stage2-gcc
47837 configure-stage3-target-libstdc++-v3: maybe-all-stage3-gcc
47838 configure-stage4-target-libstdc++-v3: maybe-all-stage4-gcc
47839 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-gcc
47840 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-gcc
47841 configure-stage1-target-libsanitizer: maybe-all-stage1-gcc
47842 configure-stage2-target-libsanitizer: maybe-all-stage2-gcc
47843 configure-stage3-target-libsanitizer: maybe-all-stage3-gcc
47844 configure-stage4-target-libsanitizer: maybe-all-stage4-gcc
47845 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-gcc
47846 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-gcc
47847 configure-stage1-target-libvtv: maybe-all-stage1-gcc
47848 configure-stage2-target-libvtv: maybe-all-stage2-gcc
47849 configure-stage3-target-libvtv: maybe-all-stage3-gcc
47850 configure-stage4-target-libvtv: maybe-all-stage4-gcc
47851 configure-stageprofile-target-libvtv: maybe-all-stageprofile-gcc
47852 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-gcc
47853 configure-target-libcilkrts: stage_last
47854 configure-target-libssp: stage_last
47855 configure-target-newlib: stage_last
47856 configure-stage1-target-libgcc: maybe-all-stage1-gcc
47857 configure-stage2-target-libgcc: maybe-all-stage2-gcc
47858 configure-stage3-target-libgcc: maybe-all-stage3-gcc
47859 configure-stage4-target-libgcc: maybe-all-stage4-gcc
47860 configure-stageprofile-target-libgcc: maybe-all-stageprofile-gcc
47861 configure-stagefeedback-target-libgcc: maybe-all-stagefeedback-gcc
47862 configure-target-libbacktrace: stage_last
47863 configure-target-libquadmath: stage_last
47864 configure-target-libgfortran: stage_last
47865 configure-target-libobjc: stage_last
47866 configure-target-libgo: stage_last
47867 configure-target-libtermcap: stage_last
47868 configure-target-winsup: stage_last
47869 configure-target-libgloss: stage_last
47870 configure-target-libffi: stage_last
47871 configure-target-libjava: stage_last
47872 configure-target-zlib: stage_last
47873 configure-target-boehm-gc: stage_last
47874 configure-target-rda: stage_last
47875 configure-target-libada: stage_last
47876 configure-stage1-target-libgomp: maybe-all-stage1-gcc
47877 configure-stage2-target-libgomp: maybe-all-stage2-gcc
47878 configure-stage3-target-libgomp: maybe-all-stage3-gcc
47879 configure-stage4-target-libgomp: maybe-all-stage4-gcc
47880 configure-stageprofile-target-libgomp: maybe-all-stageprofile-gcc
47881 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-gcc
47882 configure-target-libitm: stage_last
47883 configure-target-libatomic: stage_last
47884 @endif gcc-bootstrap
47886 @if gcc-no-bootstrap
47887 configure-target-libstdc++-v3: maybe-all-gcc
47888 configure-target-libsanitizer: maybe-all-gcc
47889 configure-target-libvtv: maybe-all-gcc
47890 configure-target-libcilkrts: maybe-all-gcc
47891 configure-target-libssp: maybe-all-gcc
47892 configure-target-newlib: maybe-all-gcc
47893 configure-target-libgcc: maybe-all-gcc
47894 configure-target-libbacktrace: maybe-all-gcc
47895 configure-target-libquadmath: maybe-all-gcc
47896 configure-target-libgfortran: maybe-all-gcc
47897 configure-target-libobjc: maybe-all-gcc
47898 configure-target-libgo: maybe-all-gcc
47899 configure-target-libtermcap: maybe-all-gcc
47900 configure-target-winsup: maybe-all-gcc
47901 configure-target-libgloss: maybe-all-gcc
47902 configure-target-libffi: maybe-all-gcc
47903 configure-target-libjava: maybe-all-gcc
47904 configure-target-zlib: maybe-all-gcc
47905 configure-target-boehm-gc: maybe-all-gcc
47906 configure-target-rda: maybe-all-gcc
47907 configure-target-libada: maybe-all-gcc
47908 configure-target-libgomp: maybe-all-gcc
47909 configure-target-libitm: maybe-all-gcc
47910 configure-target-libatomic: maybe-all-gcc
47911 @endif gcc-no-bootstrap
47914 # There are two types of dependencies here: 'hard' dependencies, where one
47915 # module simply won't build without the other; and 'soft' dependencies, where
47916 # if the depended-on module is missing, the depending module will do without
47917 # or find a substitute somewhere (perhaps installed). Soft dependencies
47918 # are made here to depend on a 'maybe-' target. If you're not sure,
47919 # it's safer to use a soft dependency.
47926 # With all the machinery above in place, it is pretty easy to generate
47927 # dependencies. Host dependencies are a bit more complex because we have
47928 # to check for bootstrap/prebootstrap dependencies. To resolve
47929 # prebootstrap dependencies, prebootstrap modules are gathered in
47930 # a hash table.
47931 all-build-bison: maybe-all-build-texinfo
47932 all-build-flex: maybe-all-build-texinfo
47933 all-build-flex: maybe-all-build-bison
47934 all-build-flex: maybe-all-build-m4
47935 all-build-libiberty: maybe-all-build-texinfo
47936 all-build-m4: maybe-all-build-texinfo
47937 all-build-fixincludes: maybe-all-build-libiberty
47938 configure-gcc: maybe-configure-intl
47940 configure-stage1-gcc: maybe-configure-stage1-intl
47941 configure-stage2-gcc: maybe-configure-stage2-intl
47942 configure-stage3-gcc: maybe-configure-stage3-intl
47943 configure-stage4-gcc: maybe-configure-stage4-intl
47944 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
47945 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
47946 configure-gcc: maybe-all-gmp
47948 configure-stage1-gcc: maybe-all-stage1-gmp
47949 configure-stage2-gcc: maybe-all-stage2-gmp
47950 configure-stage3-gcc: maybe-all-stage3-gmp
47951 configure-stage4-gcc: maybe-all-stage4-gmp
47952 configure-stageprofile-gcc: maybe-all-stageprofile-gmp
47953 configure-stagefeedback-gcc: maybe-all-stagefeedback-gmp
47954 configure-gcc: maybe-all-lto-plugin
47956 configure-stage1-gcc: maybe-all-stage1-lto-plugin
47957 configure-stage2-gcc: maybe-all-stage2-lto-plugin
47958 configure-stage3-gcc: maybe-all-stage3-lto-plugin
47959 configure-stage4-gcc: maybe-all-stage4-lto-plugin
47960 configure-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
47961 configure-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
47962 configure-gcc: maybe-all-function_reordering_plugin
47964 configure-stage1-gcc: maybe-all-stage1-function_reordering_plugin
47965 configure-stage2-gcc: maybe-all-stage2-function_reordering_plugin
47966 configure-stage3-gcc: maybe-all-stage3-function_reordering_plugin
47967 configure-stage4-gcc: maybe-all-stage4-function_reordering_plugin
47968 configure-stageprofile-gcc: maybe-all-stageprofile-function_reordering_plugin
47969 configure-stagefeedback-gcc: maybe-all-stagefeedback-function_reordering_plugin
47970 configure-gcc: maybe-all-binutils
47972 configure-stage1-gcc: maybe-all-stage1-binutils
47973 configure-stage2-gcc: maybe-all-stage2-binutils
47974 configure-stage3-gcc: maybe-all-stage3-binutils
47975 configure-stage4-gcc: maybe-all-stage4-binutils
47976 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
47977 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
47978 configure-gcc: maybe-all-gas
47980 configure-stage1-gcc: maybe-all-stage1-gas
47981 configure-stage2-gcc: maybe-all-stage2-gas
47982 configure-stage3-gcc: maybe-all-stage3-gas
47983 configure-stage4-gcc: maybe-all-stage4-gas
47984 configure-stageprofile-gcc: maybe-all-stageprofile-gas
47985 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
47986 configure-gcc: maybe-all-ld
47988 configure-stage1-gcc: maybe-all-stage1-ld
47989 configure-stage2-gcc: maybe-all-stage2-ld
47990 configure-stage3-gcc: maybe-all-stage3-ld
47991 configure-stage4-gcc: maybe-all-stage4-ld
47992 configure-stageprofile-gcc: maybe-all-stageprofile-ld
47993 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
47994 configure-gcc: maybe-all-gold
47996 configure-stage1-gcc: maybe-all-stage1-gold
47997 configure-stage2-gcc: maybe-all-stage2-gold
47998 configure-stage3-gcc: maybe-all-stage3-gold
47999 configure-stage4-gcc: maybe-all-stage4-gold
48000 configure-stageprofile-gcc: maybe-all-stageprofile-gold
48001 configure-stagefeedback-gcc: maybe-all-stagefeedback-gold
48002 configure-gcc: maybe-all-libelf
48004 configure-stage1-gcc: maybe-all-stage1-libelf
48005 configure-stage2-gcc: maybe-all-stage2-libelf
48006 configure-stage3-gcc: maybe-all-stage3-libelf
48007 configure-stage4-gcc: maybe-all-stage4-libelf
48008 configure-stageprofile-gcc: maybe-all-stageprofile-libelf
48009 configure-stagefeedback-gcc: maybe-all-stagefeedback-libelf
48010 all-gcc: all-libiberty
48012 all-stage1-gcc: all-stage1-libiberty
48013 all-stage2-gcc: all-stage2-libiberty
48014 all-stage3-gcc: all-stage3-libiberty
48015 all-stage4-gcc: all-stage4-libiberty
48016 all-stageprofile-gcc: all-stageprofile-libiberty
48017 all-stagefeedback-gcc: all-stagefeedback-libiberty
48018 all-gcc: maybe-all-intl
48020 all-stage1-gcc: maybe-all-stage1-intl
48021 all-stage2-gcc: maybe-all-stage2-intl
48022 all-stage3-gcc: maybe-all-stage3-intl
48023 all-stage4-gcc: maybe-all-stage4-intl
48024 all-stageprofile-gcc: maybe-all-stageprofile-intl
48025 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
48026 all-gcc: maybe-all-mpfr
48028 all-stage1-gcc: maybe-all-stage1-mpfr
48029 all-stage2-gcc: maybe-all-stage2-mpfr
48030 all-stage3-gcc: maybe-all-stage3-mpfr
48031 all-stage4-gcc: maybe-all-stage4-mpfr
48032 all-stageprofile-gcc: maybe-all-stageprofile-mpfr
48033 all-stagefeedback-gcc: maybe-all-stagefeedback-mpfr
48034 all-gcc: maybe-all-mpc
48036 all-stage1-gcc: maybe-all-stage1-mpc
48037 all-stage2-gcc: maybe-all-stage2-mpc
48038 all-stage3-gcc: maybe-all-stage3-mpc
48039 all-stage4-gcc: maybe-all-stage4-mpc
48040 all-stageprofile-gcc: maybe-all-stageprofile-mpc
48041 all-stagefeedback-gcc: maybe-all-stagefeedback-mpc
48042 all-gcc: maybe-all-cloog
48044 all-stage1-gcc: maybe-all-stage1-cloog
48045 all-stage2-gcc: maybe-all-stage2-cloog
48046 all-stage3-gcc: maybe-all-stage3-cloog
48047 all-stage4-gcc: maybe-all-stage4-cloog
48048 all-stageprofile-gcc: maybe-all-stageprofile-cloog
48049 all-stagefeedback-gcc: maybe-all-stagefeedback-cloog
48050 all-gcc: maybe-all-build-texinfo
48052 all-stage1-gcc: maybe-all-build-texinfo
48053 all-stage2-gcc: maybe-all-build-texinfo
48054 all-stage3-gcc: maybe-all-build-texinfo
48055 all-stage4-gcc: maybe-all-build-texinfo
48056 all-stageprofile-gcc: maybe-all-build-texinfo
48057 all-stagefeedback-gcc: maybe-all-build-texinfo
48058 all-gcc: maybe-all-build-bison
48060 all-stage1-gcc: maybe-all-build-bison
48061 all-stage2-gcc: maybe-all-build-bison
48062 all-stage3-gcc: maybe-all-build-bison
48063 all-stage4-gcc: maybe-all-build-bison
48064 all-stageprofile-gcc: maybe-all-build-bison
48065 all-stagefeedback-gcc: maybe-all-build-bison
48066 all-gcc: maybe-all-build-flex
48068 all-stage1-gcc: maybe-all-build-flex
48069 all-stage2-gcc: maybe-all-build-flex
48070 all-stage3-gcc: maybe-all-build-flex
48071 all-stage4-gcc: maybe-all-build-flex
48072 all-stageprofile-gcc: maybe-all-build-flex
48073 all-stagefeedback-gcc: maybe-all-build-flex
48074 all-gcc: maybe-all-build-libiberty
48076 all-stage1-gcc: maybe-all-build-libiberty
48077 all-stage2-gcc: maybe-all-build-libiberty
48078 all-stage3-gcc: maybe-all-build-libiberty
48079 all-stage4-gcc: maybe-all-build-libiberty
48080 all-stageprofile-gcc: maybe-all-build-libiberty
48081 all-stagefeedback-gcc: maybe-all-build-libiberty
48082 all-gcc: maybe-all-build-fixincludes
48084 all-stage1-gcc: maybe-all-build-fixincludes
48085 all-stage2-gcc: maybe-all-build-fixincludes
48086 all-stage3-gcc: maybe-all-build-fixincludes
48087 all-stage4-gcc: maybe-all-build-fixincludes
48088 all-stageprofile-gcc: maybe-all-build-fixincludes
48089 all-stagefeedback-gcc: maybe-all-build-fixincludes
48090 all-gcc: maybe-all-zlib
48092 all-stage1-gcc: maybe-all-stage1-zlib
48093 all-stage2-gcc: maybe-all-stage2-zlib
48094 all-stage3-gcc: maybe-all-stage3-zlib
48095 all-stage4-gcc: maybe-all-stage4-zlib
48096 all-stageprofile-gcc: maybe-all-stageprofile-zlib
48097 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
48098 all-gcc: all-libbacktrace
48100 all-stage1-gcc: all-stage1-libbacktrace
48101 all-stage2-gcc: all-stage2-libbacktrace
48102 all-stage3-gcc: all-stage3-libbacktrace
48103 all-stage4-gcc: all-stage4-libbacktrace
48104 all-stageprofile-gcc: all-stageprofile-libbacktrace
48105 all-stagefeedback-gcc: all-stagefeedback-libbacktrace
48106 all-gcc: all-libcpp
48108 all-stage1-gcc: all-stage1-libcpp
48109 all-stage2-gcc: all-stage2-libcpp
48110 all-stage3-gcc: all-stage3-libcpp
48111 all-stage4-gcc: all-stage4-libcpp
48112 all-stageprofile-gcc: all-stageprofile-libcpp
48113 all-stagefeedback-gcc: all-stagefeedback-libcpp
48114 all-gcc: all-libdecnumber
48116 all-stage1-gcc: all-stage1-libdecnumber
48117 all-stage2-gcc: all-stage2-libdecnumber
48118 all-stage3-gcc: all-stage3-libdecnumber
48119 all-stage4-gcc: all-stage4-libdecnumber
48120 all-stageprofile-gcc: all-stageprofile-libdecnumber
48121 all-stagefeedback-gcc: all-stagefeedback-libdecnumber
48122 all-gcc: maybe-all-libiberty
48124 all-stage1-gcc: maybe-all-stage1-libiberty
48125 all-stage2-gcc: maybe-all-stage2-libiberty
48126 all-stage3-gcc: maybe-all-stage3-libiberty
48127 all-stage4-gcc: maybe-all-stage4-libiberty
48128 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
48129 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
48130 all-gcc: maybe-all-fixincludes
48132 all-stage1-gcc: maybe-all-stage1-fixincludes
48133 all-stage2-gcc: maybe-all-stage2-fixincludes
48134 all-stage3-gcc: maybe-all-stage3-fixincludes
48135 all-stage4-gcc: maybe-all-stage4-fixincludes
48136 all-stageprofile-gcc: maybe-all-stageprofile-fixincludes
48137 all-stagefeedback-gcc: maybe-all-stagefeedback-fixincludes
48138 all-gcc: maybe-all-lto-plugin
48140 all-stage1-gcc: maybe-all-stage1-lto-plugin
48141 all-stage2-gcc: maybe-all-stage2-lto-plugin
48142 all-stage3-gcc: maybe-all-stage3-lto-plugin
48143 all-stage4-gcc: maybe-all-stage4-lto-plugin
48144 all-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
48145 all-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
48146 all-gcc: maybe-all-function_reordering_plugin
48148 all-stage1-gcc: maybe-all-stage1-function_reordering_plugin
48149 all-stage2-gcc: maybe-all-stage2-function_reordering_plugin
48150 all-stage3-gcc: maybe-all-stage3-function_reordering_plugin
48151 all-stage4-gcc: maybe-all-stage4-function_reordering_plugin
48152 all-stageprofile-gcc: maybe-all-stageprofile-function_reordering_plugin
48153 all-stagefeedback-gcc: maybe-all-stagefeedback-function_reordering_plugin
48154 info-gcc: maybe-all-build-libiberty
48156 info-stage1-gcc: maybe-all-build-libiberty
48157 info-stage2-gcc: maybe-all-build-libiberty
48158 info-stage3-gcc: maybe-all-build-libiberty
48159 info-stage4-gcc: maybe-all-build-libiberty
48160 info-stageprofile-gcc: maybe-all-build-libiberty
48161 info-stagefeedback-gcc: maybe-all-build-libiberty
48162 dvi-gcc: maybe-all-build-libiberty
48164 dvi-stage1-gcc: maybe-all-build-libiberty
48165 dvi-stage2-gcc: maybe-all-build-libiberty
48166 dvi-stage3-gcc: maybe-all-build-libiberty
48167 dvi-stage4-gcc: maybe-all-build-libiberty
48168 dvi-stageprofile-gcc: maybe-all-build-libiberty
48169 dvi-stagefeedback-gcc: maybe-all-build-libiberty
48170 pdf-gcc: maybe-all-build-libiberty
48172 pdf-stage1-gcc: maybe-all-build-libiberty
48173 pdf-stage2-gcc: maybe-all-build-libiberty
48174 pdf-stage3-gcc: maybe-all-build-libiberty
48175 pdf-stage4-gcc: maybe-all-build-libiberty
48176 pdf-stageprofile-gcc: maybe-all-build-libiberty
48177 pdf-stagefeedback-gcc: maybe-all-build-libiberty
48178 html-gcc: maybe-all-build-libiberty
48180 html-stage1-gcc: maybe-all-build-libiberty
48181 html-stage2-gcc: maybe-all-build-libiberty
48182 html-stage3-gcc: maybe-all-build-libiberty
48183 html-stage4-gcc: maybe-all-build-libiberty
48184 html-stageprofile-gcc: maybe-all-build-libiberty
48185 html-stagefeedback-gcc: maybe-all-build-libiberty
48186 install-gcc: maybe-install-fixincludes
48187 install-gcc: maybe-install-lto-plugin
48188 install-gcc: maybe-install-function_reordering_plugin
48189 install-strip-gcc: maybe-install-strip-fixincludes
48190 install-strip-gcc: maybe-install-strip-lto-plugin
48191 install-strip-gcc: maybe-install-strip-function_reordering_plugin
48192 configure-libcpp: configure-libiberty
48194 configure-stage1-libcpp: configure-stage1-libiberty
48195 configure-stage2-libcpp: configure-stage2-libiberty
48196 configure-stage3-libcpp: configure-stage3-libiberty
48197 configure-stage4-libcpp: configure-stage4-libiberty
48198 configure-stageprofile-libcpp: configure-stageprofile-libiberty
48199 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
48200 configure-libcpp: maybe-configure-intl
48202 configure-stage1-libcpp: maybe-configure-stage1-intl
48203 configure-stage2-libcpp: maybe-configure-stage2-intl
48204 configure-stage3-libcpp: maybe-configure-stage3-intl
48205 configure-stage4-libcpp: maybe-configure-stage4-intl
48206 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
48207 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
48208 all-libcpp: all-libiberty
48210 all-stage1-libcpp: all-stage1-libiberty
48211 all-stage2-libcpp: all-stage2-libiberty
48212 all-stage3-libcpp: all-stage3-libiberty
48213 all-stage4-libcpp: all-stage4-libiberty
48214 all-stageprofile-libcpp: all-stageprofile-libiberty
48215 all-stagefeedback-libcpp: all-stagefeedback-libiberty
48216 all-libcpp: maybe-all-intl
48218 all-stage1-libcpp: maybe-all-stage1-intl
48219 all-stage2-libcpp: maybe-all-stage2-intl
48220 all-stage3-libcpp: maybe-all-stage3-intl
48221 all-stage4-libcpp: maybe-all-stage4-intl
48222 all-stageprofile-libcpp: maybe-all-stageprofile-intl
48223 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
48224 all-fixincludes: maybe-all-libiberty
48226 all-stage1-fixincludes: maybe-all-stage1-libiberty
48227 all-stage2-fixincludes: maybe-all-stage2-libiberty
48228 all-stage3-fixincludes: maybe-all-stage3-libiberty
48229 all-stage4-fixincludes: maybe-all-stage4-libiberty
48230 all-stageprofile-fixincludes: maybe-all-stageprofile-libiberty
48231 all-stagefeedback-fixincludes: maybe-all-stagefeedback-libiberty
48232 all-gnattools: maybe-all-target-libada
48233 all-gnattools: maybe-all-target-libstdc++-v3
48234 all-lto-plugin: maybe-all-libiberty
48236 all-stage1-lto-plugin: maybe-all-stage1-libiberty
48237 all-stage2-lto-plugin: maybe-all-stage2-libiberty
48238 all-stage3-lto-plugin: maybe-all-stage3-libiberty
48239 all-stage4-lto-plugin: maybe-all-stage4-libiberty
48240 all-stageprofile-lto-plugin: maybe-all-stageprofile-libiberty
48241 all-stagefeedback-lto-plugin: maybe-all-stagefeedback-libiberty
48242 all-function_reordering_plugin: maybe-all-libiberty
48244 all-stage1-function_reordering_plugin: maybe-all-stage1-libiberty
48245 all-stage2-function_reordering_plugin: maybe-all-stage2-libiberty
48246 all-stage3-function_reordering_plugin: maybe-all-stage3-libiberty
48247 all-stage4-function_reordering_plugin: maybe-all-stage4-libiberty
48248 all-stageprofile-function_reordering_plugin: maybe-all-stageprofile-libiberty
48249 all-stagefeedback-function_reordering_plugin: maybe-all-stagefeedback-libiberty
48250 all-utils: maybe-all-libiberty
48251 configure-mpfr: maybe-all-gmp
48253 configure-stage1-mpfr: maybe-all-stage1-gmp
48254 configure-stage2-mpfr: maybe-all-stage2-gmp
48255 configure-stage3-mpfr: maybe-all-stage3-gmp
48256 configure-stage4-mpfr: maybe-all-stage4-gmp
48257 configure-stageprofile-mpfr: maybe-all-stageprofile-gmp
48258 configure-stagefeedback-mpfr: maybe-all-stagefeedback-gmp
48259 configure-mpc: maybe-all-mpfr
48261 configure-stage1-mpc: maybe-all-stage1-mpfr
48262 configure-stage2-mpc: maybe-all-stage2-mpfr
48263 configure-stage3-mpc: maybe-all-stage3-mpfr
48264 configure-stage4-mpc: maybe-all-stage4-mpfr
48265 configure-stageprofile-mpc: maybe-all-stageprofile-mpfr
48266 configure-stagefeedback-mpc: maybe-all-stagefeedback-mpfr
48267 configure-isl: maybe-all-gmp
48269 configure-stage1-isl: maybe-all-stage1-gmp
48270 configure-stage2-isl: maybe-all-stage2-gmp
48271 configure-stage3-isl: maybe-all-stage3-gmp
48272 configure-stage4-isl: maybe-all-stage4-gmp
48273 configure-stageprofile-isl: maybe-all-stageprofile-gmp
48274 configure-stagefeedback-isl: maybe-all-stagefeedback-gmp
48275 configure-cloog: maybe-all-isl
48277 configure-stage1-cloog: maybe-all-stage1-isl
48278 configure-stage2-cloog: maybe-all-stage2-isl
48279 configure-stage3-cloog: maybe-all-stage3-isl
48280 configure-stage4-cloog: maybe-all-stage4-isl
48281 configure-stageprofile-cloog: maybe-all-stageprofile-isl
48282 configure-stagefeedback-cloog: maybe-all-stagefeedback-isl
48283 configure-cloog: maybe-all-gmp
48285 configure-stage1-cloog: maybe-all-stage1-gmp
48286 configure-stage2-cloog: maybe-all-stage2-gmp
48287 configure-stage3-cloog: maybe-all-stage3-gmp
48288 configure-stage4-cloog: maybe-all-stage4-gmp
48289 configure-stageprofile-cloog: maybe-all-stageprofile-gmp
48290 configure-stagefeedback-cloog: maybe-all-stagefeedback-gmp
48291 configure-gdb: maybe-all-intl
48292 configure-gdb: maybe-configure-sim
48293 configure-gdb: maybe-all-bfd
48294 configure-gdb: maybe-all-libiconv
48295 all-gdb: maybe-all-libiberty
48296 all-gdb: maybe-all-libiconv
48297 all-gdb: maybe-all-opcodes
48298 all-gdb: maybe-all-readline
48299 all-gdb: maybe-all-build-bison
48300 all-gdb: maybe-all-sim
48301 all-gdb: maybe-all-libdecnumber
48302 all-gdb: maybe-all-libtermcap
48303 configure-libgui: maybe-configure-tcl
48304 configure-libgui: maybe-configure-tk
48305 all-libgui: maybe-all-tcl
48306 all-libgui: maybe-all-tk
48307 all-libgui: maybe-all-itcl
48308 configure-bfd: configure-libiberty
48310 configure-stage1-bfd: configure-stage1-libiberty
48311 configure-stage2-bfd: configure-stage2-libiberty
48312 configure-stage3-bfd: configure-stage3-libiberty
48313 configure-stage4-bfd: configure-stage4-libiberty
48314 configure-stageprofile-bfd: configure-stageprofile-libiberty
48315 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
48316 configure-bfd: maybe-configure-intl
48318 configure-stage1-bfd: maybe-configure-stage1-intl
48319 configure-stage2-bfd: maybe-configure-stage2-intl
48320 configure-stage3-bfd: maybe-configure-stage3-intl
48321 configure-stage4-bfd: maybe-configure-stage4-intl
48322 configure-stageprofile-bfd: maybe-configure-stageprofile-intl
48323 configure-stagefeedback-bfd: maybe-configure-stagefeedback-intl
48324 all-bfd: maybe-all-libiberty
48326 all-stage1-bfd: maybe-all-stage1-libiberty
48327 all-stage2-bfd: maybe-all-stage2-libiberty
48328 all-stage3-bfd: maybe-all-stage3-libiberty
48329 all-stage4-bfd: maybe-all-stage4-libiberty
48330 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
48331 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
48332 all-bfd: maybe-all-intl
48334 all-stage1-bfd: maybe-all-stage1-intl
48335 all-stage2-bfd: maybe-all-stage2-intl
48336 all-stage3-bfd: maybe-all-stage3-intl
48337 all-stage4-bfd: maybe-all-stage4-intl
48338 all-stageprofile-bfd: maybe-all-stageprofile-intl
48339 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
48340 configure-opcodes: configure-libiberty
48342 configure-stage1-opcodes: configure-stage1-libiberty
48343 configure-stage2-opcodes: configure-stage2-libiberty
48344 configure-stage3-opcodes: configure-stage3-libiberty
48345 configure-stage4-opcodes: configure-stage4-libiberty
48346 configure-stageprofile-opcodes: configure-stageprofile-libiberty
48347 configure-stagefeedback-opcodes: configure-stagefeedback-libiberty
48348 all-opcodes: maybe-all-libiberty
48350 all-stage1-opcodes: maybe-all-stage1-libiberty
48351 all-stage2-opcodes: maybe-all-stage2-libiberty
48352 all-stage3-opcodes: maybe-all-stage3-libiberty
48353 all-stage4-opcodes: maybe-all-stage4-libiberty
48354 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
48355 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
48356 configure-binutils: maybe-configure-intl
48358 configure-stage1-binutils: maybe-configure-stage1-intl
48359 configure-stage2-binutils: maybe-configure-stage2-intl
48360 configure-stage3-binutils: maybe-configure-stage3-intl
48361 configure-stage4-binutils: maybe-configure-stage4-intl
48362 configure-stageprofile-binutils: maybe-configure-stageprofile-intl
48363 configure-stagefeedback-binutils: maybe-configure-stagefeedback-intl
48364 all-binutils: maybe-all-libiberty
48366 all-stage1-binutils: maybe-all-stage1-libiberty
48367 all-stage2-binutils: maybe-all-stage2-libiberty
48368 all-stage3-binutils: maybe-all-stage3-libiberty
48369 all-stage4-binutils: maybe-all-stage4-libiberty
48370 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
48371 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
48372 all-binutils: maybe-all-opcodes
48374 all-stage1-binutils: maybe-all-stage1-opcodes
48375 all-stage2-binutils: maybe-all-stage2-opcodes
48376 all-stage3-binutils: maybe-all-stage3-opcodes
48377 all-stage4-binutils: maybe-all-stage4-opcodes
48378 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
48379 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
48380 all-binutils: maybe-all-bfd
48382 all-stage1-binutils: maybe-all-stage1-bfd
48383 all-stage2-binutils: maybe-all-stage2-bfd
48384 all-stage3-binutils: maybe-all-stage3-bfd
48385 all-stage4-binutils: maybe-all-stage4-bfd
48386 all-stageprofile-binutils: maybe-all-stageprofile-bfd
48387 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
48388 all-binutils: maybe-all-build-flex
48390 all-stage1-binutils: maybe-all-build-flex
48391 all-stage2-binutils: maybe-all-build-flex
48392 all-stage3-binutils: maybe-all-build-flex
48393 all-stage4-binutils: maybe-all-build-flex
48394 all-stageprofile-binutils: maybe-all-build-flex
48395 all-stagefeedback-binutils: maybe-all-build-flex
48396 all-binutils: maybe-all-build-bison
48398 all-stage1-binutils: maybe-all-build-bison
48399 all-stage2-binutils: maybe-all-build-bison
48400 all-stage3-binutils: maybe-all-build-bison
48401 all-stage4-binutils: maybe-all-build-bison
48402 all-stageprofile-binutils: maybe-all-build-bison
48403 all-stagefeedback-binutils: maybe-all-build-bison
48404 all-binutils: maybe-all-intl
48406 all-stage1-binutils: maybe-all-stage1-intl
48407 all-stage2-binutils: maybe-all-stage2-intl
48408 all-stage3-binutils: maybe-all-stage3-intl
48409 all-stage4-binutils: maybe-all-stage4-intl
48410 all-stageprofile-binutils: maybe-all-stageprofile-intl
48411 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
48412 all-binutils: maybe-all-gas
48414 all-stage1-binutils: maybe-all-stage1-gas
48415 all-stage2-binutils: maybe-all-stage2-gas
48416 all-stage3-binutils: maybe-all-stage3-gas
48417 all-stage4-binutils: maybe-all-stage4-gas
48418 all-stageprofile-binutils: maybe-all-stageprofile-gas
48419 all-stagefeedback-binutils: maybe-all-stagefeedback-gas
48420 install-binutils: maybe-install-opcodes
48421 install-strip-binutils: maybe-install-strip-opcodes
48422 install-opcodes: maybe-install-bfd
48423 install-strip-opcodes: maybe-install-strip-bfd
48424 configure-gas: maybe-configure-intl
48426 configure-stage1-gas: maybe-configure-stage1-intl
48427 configure-stage2-gas: maybe-configure-stage2-intl
48428 configure-stage3-gas: maybe-configure-stage3-intl
48429 configure-stage4-gas: maybe-configure-stage4-intl
48430 configure-stageprofile-gas: maybe-configure-stageprofile-intl
48431 configure-stagefeedback-gas: maybe-configure-stagefeedback-intl
48432 all-gas: maybe-all-libiberty
48434 all-stage1-gas: maybe-all-stage1-libiberty
48435 all-stage2-gas: maybe-all-stage2-libiberty
48436 all-stage3-gas: maybe-all-stage3-libiberty
48437 all-stage4-gas: maybe-all-stage4-libiberty
48438 all-stageprofile-gas: maybe-all-stageprofile-libiberty
48439 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
48440 all-gas: maybe-all-opcodes
48442 all-stage1-gas: maybe-all-stage1-opcodes
48443 all-stage2-gas: maybe-all-stage2-opcodes
48444 all-stage3-gas: maybe-all-stage3-opcodes
48445 all-stage4-gas: maybe-all-stage4-opcodes
48446 all-stageprofile-gas: maybe-all-stageprofile-opcodes
48447 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
48448 all-gas: maybe-all-bfd
48450 all-stage1-gas: maybe-all-stage1-bfd
48451 all-stage2-gas: maybe-all-stage2-bfd
48452 all-stage3-gas: maybe-all-stage3-bfd
48453 all-stage4-gas: maybe-all-stage4-bfd
48454 all-stageprofile-gas: maybe-all-stageprofile-bfd
48455 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
48456 all-gas: maybe-all-intl
48458 all-stage1-gas: maybe-all-stage1-intl
48459 all-stage2-gas: maybe-all-stage2-intl
48460 all-stage3-gas: maybe-all-stage3-intl
48461 all-stage4-gas: maybe-all-stage4-intl
48462 all-stageprofile-gas: maybe-all-stageprofile-intl
48463 all-stagefeedback-gas: maybe-all-stagefeedback-intl
48464 configure-gprof: maybe-configure-intl
48465 all-gprof: maybe-all-libiberty
48466 all-gprof: maybe-all-bfd
48467 all-gprof: maybe-all-opcodes
48468 all-gprof: maybe-all-intl
48469 all-gprof: maybe-all-gas
48470 configure-ld: maybe-configure-intl
48472 configure-stage1-ld: maybe-configure-stage1-intl
48473 configure-stage2-ld: maybe-configure-stage2-intl
48474 configure-stage3-ld: maybe-configure-stage3-intl
48475 configure-stage4-ld: maybe-configure-stage4-intl
48476 configure-stageprofile-ld: maybe-configure-stageprofile-intl
48477 configure-stagefeedback-ld: maybe-configure-stagefeedback-intl
48478 all-ld: maybe-all-libiberty
48480 all-stage1-ld: maybe-all-stage1-libiberty
48481 all-stage2-ld: maybe-all-stage2-libiberty
48482 all-stage3-ld: maybe-all-stage3-libiberty
48483 all-stage4-ld: maybe-all-stage4-libiberty
48484 all-stageprofile-ld: maybe-all-stageprofile-libiberty
48485 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
48486 all-ld: maybe-all-bfd
48488 all-stage1-ld: maybe-all-stage1-bfd
48489 all-stage2-ld: maybe-all-stage2-bfd
48490 all-stage3-ld: maybe-all-stage3-bfd
48491 all-stage4-ld: maybe-all-stage4-bfd
48492 all-stageprofile-ld: maybe-all-stageprofile-bfd
48493 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
48494 all-ld: maybe-all-opcodes
48496 all-stage1-ld: maybe-all-stage1-opcodes
48497 all-stage2-ld: maybe-all-stage2-opcodes
48498 all-stage3-ld: maybe-all-stage3-opcodes
48499 all-stage4-ld: maybe-all-stage4-opcodes
48500 all-stageprofile-ld: maybe-all-stageprofile-opcodes
48501 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
48502 all-ld: maybe-all-build-bison
48504 all-stage1-ld: maybe-all-build-bison
48505 all-stage2-ld: maybe-all-build-bison
48506 all-stage3-ld: maybe-all-build-bison
48507 all-stage4-ld: maybe-all-build-bison
48508 all-stageprofile-ld: maybe-all-build-bison
48509 all-stagefeedback-ld: maybe-all-build-bison
48510 all-ld: maybe-all-build-flex
48512 all-stage1-ld: maybe-all-build-flex
48513 all-stage2-ld: maybe-all-build-flex
48514 all-stage3-ld: maybe-all-build-flex
48515 all-stage4-ld: maybe-all-build-flex
48516 all-stageprofile-ld: maybe-all-build-flex
48517 all-stagefeedback-ld: maybe-all-build-flex
48518 all-ld: maybe-all-intl
48520 all-stage1-ld: maybe-all-stage1-intl
48521 all-stage2-ld: maybe-all-stage2-intl
48522 all-stage3-ld: maybe-all-stage3-intl
48523 all-stage4-ld: maybe-all-stage4-intl
48524 all-stageprofile-ld: maybe-all-stageprofile-intl
48525 all-stagefeedback-ld: maybe-all-stagefeedback-intl
48526 all-ld: maybe-all-gas
48528 all-stage1-ld: maybe-all-stage1-gas
48529 all-stage2-ld: maybe-all-stage2-gas
48530 all-stage3-ld: maybe-all-stage3-gas
48531 all-stage4-ld: maybe-all-stage4-gas
48532 all-stageprofile-ld: maybe-all-stageprofile-gas
48533 all-stagefeedback-ld: maybe-all-stagefeedback-gas
48534 all-ld: maybe-all-binutils
48536 all-stage1-ld: maybe-all-stage1-binutils
48537 all-stage2-ld: maybe-all-stage2-binutils
48538 all-stage3-ld: maybe-all-stage3-binutils
48539 all-stage4-ld: maybe-all-stage4-binutils
48540 all-stageprofile-ld: maybe-all-stageprofile-binutils
48541 all-stagefeedback-ld: maybe-all-stagefeedback-binutils
48542 install-ld: maybe-install-gold
48543 install-strip-ld: maybe-install-strip-gold
48544 configure-gold: maybe-configure-intl
48546 configure-stage1-gold: maybe-configure-stage1-intl
48547 configure-stage2-gold: maybe-configure-stage2-intl
48548 configure-stage3-gold: maybe-configure-stage3-intl
48549 configure-stage4-gold: maybe-configure-stage4-intl
48550 configure-stageprofile-gold: maybe-configure-stageprofile-intl
48551 configure-stagefeedback-gold: maybe-configure-stagefeedback-intl
48552 all-gold: maybe-all-libiberty
48554 all-stage1-gold: maybe-all-stage1-libiberty
48555 all-stage2-gold: maybe-all-stage2-libiberty
48556 all-stage3-gold: maybe-all-stage3-libiberty
48557 all-stage4-gold: maybe-all-stage4-libiberty
48558 all-stageprofile-gold: maybe-all-stageprofile-libiberty
48559 all-stagefeedback-gold: maybe-all-stagefeedback-libiberty
48560 all-gold: maybe-all-intl
48562 all-stage1-gold: maybe-all-stage1-intl
48563 all-stage2-gold: maybe-all-stage2-intl
48564 all-stage3-gold: maybe-all-stage3-intl
48565 all-stage4-gold: maybe-all-stage4-intl
48566 all-stageprofile-gold: maybe-all-stageprofile-intl
48567 all-stagefeedback-gold: maybe-all-stagefeedback-intl
48568 all-gold: maybe-all-bfd
48570 all-stage1-gold: maybe-all-stage1-bfd
48571 all-stage2-gold: maybe-all-stage2-bfd
48572 all-stage3-gold: maybe-all-stage3-bfd
48573 all-stage4-gold: maybe-all-stage4-bfd
48574 all-stageprofile-gold: maybe-all-stageprofile-bfd
48575 all-stagefeedback-gold: maybe-all-stagefeedback-bfd
48576 all-gold: maybe-all-build-bison
48578 all-stage1-gold: maybe-all-build-bison
48579 all-stage2-gold: maybe-all-build-bison
48580 all-stage3-gold: maybe-all-build-bison
48581 all-stage4-gold: maybe-all-build-bison
48582 all-stageprofile-gold: maybe-all-build-bison
48583 all-stagefeedback-gold: maybe-all-build-bison
48584 all-gold: maybe-all-gas
48586 all-stage1-gold: maybe-all-stage1-gas
48587 all-stage2-gold: maybe-all-stage2-gas
48588 all-stage3-gold: maybe-all-stage3-gas
48589 all-stage4-gold: maybe-all-stage4-gas
48590 all-stageprofile-gold: maybe-all-stageprofile-gas
48591 all-stagefeedback-gold: maybe-all-stagefeedback-gas
48592 check-gold: maybe-all-binutils
48594 check-stage1-gold: maybe-all-stage1-binutils
48595 check-stage2-gold: maybe-all-stage2-binutils
48596 check-stage3-gold: maybe-all-stage3-binutils
48597 check-stage4-gold: maybe-all-stage4-binutils
48598 check-stageprofile-gold: maybe-all-stageprofile-binutils
48599 check-stagefeedback-gold: maybe-all-stagefeedback-binutils
48600 check-gold: maybe-all-gas
48602 check-stage1-gold: maybe-all-stage1-gas
48603 check-stage2-gold: maybe-all-stage2-gas
48604 check-stage3-gold: maybe-all-stage3-gas
48605 check-stage4-gold: maybe-all-stage4-gas
48606 check-stageprofile-gold: maybe-all-stageprofile-gas
48607 check-stagefeedback-gold: maybe-all-stagefeedback-gas
48608 configure-opcodes: maybe-configure-intl
48610 configure-stage1-opcodes: maybe-configure-stage1-intl
48611 configure-stage2-opcodes: maybe-configure-stage2-intl
48612 configure-stage3-opcodes: maybe-configure-stage3-intl
48613 configure-stage4-opcodes: maybe-configure-stage4-intl
48614 configure-stageprofile-opcodes: maybe-configure-stageprofile-intl
48615 configure-stagefeedback-opcodes: maybe-configure-stagefeedback-intl
48616 all-opcodes: maybe-all-bfd
48618 all-stage1-opcodes: maybe-all-stage1-bfd
48619 all-stage2-opcodes: maybe-all-stage2-bfd
48620 all-stage3-opcodes: maybe-all-stage3-bfd
48621 all-stage4-opcodes: maybe-all-stage4-bfd
48622 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
48623 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
48624 all-opcodes: maybe-all-libiberty
48626 all-stage1-opcodes: maybe-all-stage1-libiberty
48627 all-stage2-opcodes: maybe-all-stage2-libiberty
48628 all-stage3-opcodes: maybe-all-stage3-libiberty
48629 all-stage4-opcodes: maybe-all-stage4-libiberty
48630 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
48631 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
48632 all-opcodes: maybe-all-intl
48634 all-stage1-opcodes: maybe-all-stage1-intl
48635 all-stage2-opcodes: maybe-all-stage2-intl
48636 all-stage3-opcodes: maybe-all-stage3-intl
48637 all-stage4-opcodes: maybe-all-stage4-intl
48638 all-stageprofile-opcodes: maybe-all-stageprofile-intl
48639 all-stagefeedback-opcodes: maybe-all-stagefeedback-intl
48640 all-dejagnu: maybe-all-tcl
48641 all-dejagnu: maybe-all-expect
48642 all-dejagnu: maybe-all-tk
48643 configure-expect: maybe-configure-tcl
48644 configure-expect: maybe-configure-tk
48645 all-expect: maybe-all-tcl
48646 all-expect: maybe-all-tk
48647 configure-itcl: maybe-configure-tcl
48648 configure-itcl: maybe-configure-tk
48649 all-itcl: maybe-all-tcl
48650 all-itcl: maybe-all-tk
48651 install-itcl: maybe-install-tcl
48652 install-strip-itcl: maybe-install-strip-tcl
48653 configure-tk: maybe-configure-tcl
48654 all-tk: maybe-all-tcl
48655 all-sid: maybe-all-libiberty
48656 all-sid: maybe-all-bfd
48657 all-sid: maybe-all-opcodes
48658 all-sid: maybe-all-tcl
48659 all-sid: maybe-all-tk
48660 install-sid: maybe-install-tcl
48661 install-strip-sid: maybe-install-strip-tcl
48662 install-sid: maybe-install-tk
48663 install-strip-sid: maybe-install-strip-tk
48664 configure-sim: maybe-configure-intl
48665 all-sim: maybe-all-intl
48666 all-sim: maybe-all-libiberty
48667 all-sim: maybe-all-bfd
48668 all-sim: maybe-all-opcodes
48669 all-sim: maybe-all-readline
48670 all-sim: maybe-configure-gdb
48671 all-fastjar: maybe-all-zlib
48672 all-fastjar: maybe-all-build-texinfo
48673 all-fastjar: maybe-all-libiberty
48674 all-bison: maybe-all-intl
48675 all-bison: maybe-all-build-texinfo
48676 all-flex: maybe-all-build-bison
48677 all-flex: maybe-all-intl
48678 all-flex: maybe-all-m4
48679 all-flex: maybe-all-build-texinfo
48680 all-m4: maybe-all-intl
48681 all-m4: maybe-all-build-texinfo
48682 configure-target-boehm-gc: maybe-all-target-libstdc++-v3
48683 configure-target-fastjar: maybe-configure-target-zlib
48684 all-target-fastjar: maybe-all-target-zlib
48685 configure-target-libgo: maybe-configure-target-libffi
48686 configure-target-libgo: maybe-all-target-libstdc++-v3
48687 all-target-libgo: maybe-all-target-libbacktrace
48688 all-target-libgo: maybe-all-target-libffi
48689 all-target-libgo: maybe-all-target-libatomic
48690 configure-target-libjava: maybe-configure-target-zlib
48691 configure-target-libjava: maybe-configure-target-boehm-gc
48692 configure-target-libjava: maybe-configure-target-libffi
48693 all-target-libjava: maybe-all-fastjar
48694 all-target-libjava: maybe-all-target-zlib
48695 all-target-libjava: maybe-all-target-boehm-gc
48696 all-target-libjava: maybe-all-target-libffi
48697 configure-target-libobjc: maybe-configure-target-boehm-gc
48698 all-target-libobjc: maybe-all-target-boehm-gc
48699 configure-target-libstdc++-v3: maybe-configure-target-libgomp
48701 configure-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
48702 configure-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
48703 configure-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
48704 configure-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
48705 configure-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
48706 configure-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
48707 configure-target-libsanitizer: maybe-all-target-libstdc++-v3
48709 configure-stage1-target-libsanitizer: maybe-all-stage1-target-libstdc++-v3
48710 configure-stage2-target-libsanitizer: maybe-all-stage2-target-libstdc++-v3
48711 configure-stage3-target-libsanitizer: maybe-all-stage3-target-libstdc++-v3
48712 configure-stage4-target-libsanitizer: maybe-all-stage4-target-libstdc++-v3
48713 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-target-libstdc++-v3
48714 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-target-libstdc++-v3
48715 configure-target-libvtv: maybe-all-target-libstdc++-v3
48717 configure-stage1-target-libvtv: maybe-all-stage1-target-libstdc++-v3
48718 configure-stage2-target-libvtv: maybe-all-stage2-target-libstdc++-v3
48719 configure-stage3-target-libvtv: maybe-all-stage3-target-libstdc++-v3
48720 configure-stage4-target-libvtv: maybe-all-stage4-target-libstdc++-v3
48721 configure-stageprofile-target-libvtv: maybe-all-stageprofile-target-libstdc++-v3
48722 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-target-libstdc++-v3
48723 all-target-libstdc++-v3: maybe-configure-target-libgomp
48725 all-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
48726 all-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
48727 all-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
48728 all-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
48729 all-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
48730 all-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
48731 install-target-libgo: maybe-install-target-libatomic
48732 install-target-libgfortran: maybe-install-target-libquadmath
48733 install-target-libgfortran: maybe-install-target-libgcc
48734 install-target-libsanitizer: maybe-install-target-libstdc++-v3
48735 install-target-libsanitizer: maybe-install-target-libgcc
48736 install-target-libvtv: maybe-install-target-libstdc++-v3
48737 install-target-libvtv: maybe-install-target-libgcc
48738 install-target-libcilkrts: maybe-install-target-libstdc++-v3
48739 install-target-libcilkrts: maybe-install-target-libgcc
48740 install-target-libjava: maybe-install-target-libgcc
48741 install-target-libitm: maybe-install-target-libgcc
48742 install-target-libobjc: maybe-install-target-libgcc
48743 install-target-libstdc++-v3: maybe-install-target-libgcc
48744 all-target-libgloss: maybe-all-target-newlib
48745 all-target-winsup: maybe-all-target-libtermcap
48746 configure-target-newlib: maybe-all-binutils
48747 configure-target-newlib: maybe-all-ld
48748 configure-target-libgfortran: maybe-all-target-libquadmath
48751 # Dependencies for target modules on other target modules are
48752 # described by lang_env_dependencies; the defaults apply to anything
48753 # not mentioned there.
48756 @if gcc-bootstrap
48757 configure-stage1-target-libstdc++-v3: maybe-all-stage1-target-libgcc
48758 configure-stage2-target-libstdc++-v3: maybe-all-stage2-target-libgcc
48759 configure-stage3-target-libstdc++-v3: maybe-all-stage3-target-libgcc
48760 configure-stage4-target-libstdc++-v3: maybe-all-stage4-target-libgcc
48761 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-target-libgcc
48762 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-target-libgcc
48763 configure-stage1-target-libsanitizer: maybe-all-stage1-target-libgcc
48764 configure-stage2-target-libsanitizer: maybe-all-stage2-target-libgcc
48765 configure-stage3-target-libsanitizer: maybe-all-stage3-target-libgcc
48766 configure-stage4-target-libsanitizer: maybe-all-stage4-target-libgcc
48767 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-target-libgcc
48768 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-target-libgcc
48769 configure-stage1-target-libvtv: maybe-all-stage1-target-libgcc
48770 configure-stage2-target-libvtv: maybe-all-stage2-target-libgcc
48771 configure-stage3-target-libvtv: maybe-all-stage3-target-libgcc
48772 configure-stage4-target-libvtv: maybe-all-stage4-target-libgcc
48773 configure-stageprofile-target-libvtv: maybe-all-stageprofile-target-libgcc
48774 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-target-libgcc
48775 configure-stage1-target-libgomp: maybe-all-stage1-target-libgcc
48776 configure-stage2-target-libgomp: maybe-all-stage2-target-libgcc
48777 configure-stage3-target-libgomp: maybe-all-stage3-target-libgcc
48778 configure-stage4-target-libgomp: maybe-all-stage4-target-libgcc
48779 configure-stageprofile-target-libgomp: maybe-all-stageprofile-target-libgcc
48780 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-target-libgcc
48781 @endif gcc-bootstrap
48783 @if gcc-no-bootstrap
48784 configure-target-libstdc++-v3: maybe-all-target-libgcc
48785 configure-target-libsanitizer: maybe-all-target-libgcc
48786 configure-target-libvtv: maybe-all-target-libgcc
48787 configure-target-libcilkrts: maybe-all-target-libgcc
48788 configure-target-libssp: maybe-all-target-libgcc
48789 configure-target-newlib: maybe-all-target-libgcc
48790 configure-target-libbacktrace: maybe-all-target-libgcc
48791 configure-target-libquadmath: maybe-all-target-libgcc
48792 configure-target-libgfortran: maybe-all-target-libgcc
48793 configure-target-libobjc: maybe-all-target-libgcc
48794 configure-target-libgo: maybe-all-target-libgcc
48795 configure-target-libtermcap: maybe-all-target-libgcc
48796 configure-target-winsup: maybe-all-target-libgcc
48797 configure-target-libgloss: maybe-all-target-libgcc
48798 configure-target-libffi: maybe-all-target-libgcc
48799 configure-target-libjava: maybe-all-target-libgcc
48800 configure-target-zlib: maybe-all-target-libgcc
48801 configure-target-boehm-gc: maybe-all-target-libgcc
48802 configure-target-rda: maybe-all-target-libgcc
48803 configure-target-libada: maybe-all-target-libgcc
48804 configure-target-libgomp: maybe-all-target-libgcc
48805 configure-target-libitm: maybe-all-target-libgcc
48806 configure-target-libatomic: maybe-all-target-libgcc
48807 @endif gcc-no-bootstrap
48810 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
48812 configure-target-libsanitizer: maybe-all-target-newlib maybe-all-target-libgloss
48814 configure-target-libvtv: maybe-all-target-newlib maybe-all-target-libgloss
48816 configure-target-libcilkrts: maybe-all-target-newlib maybe-all-target-libgloss
48817 configure-target-libcilkrts: maybe-all-target-libstdc++-v3
48819 configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
48823 configure-target-libbacktrace: maybe-all-target-newlib maybe-all-target-libgloss
48825 configure-target-libquadmath: maybe-all-target-newlib maybe-all-target-libgloss
48827 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
48829 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
48831 configure-target-libgo: maybe-all-target-newlib maybe-all-target-libgloss
48833 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
48835 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
48838 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
48840 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
48841 configure-target-libjava: maybe-all-target-libstdc++-v3
48843 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
48845 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
48847 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
48849 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
48851 configure-target-libgomp: maybe-all-target-newlib maybe-all-target-libgloss
48853 configure-target-libitm: maybe-all-target-newlib maybe-all-target-libgloss
48854 configure-target-libitm: maybe-all-target-libstdc++-v3
48856 configure-target-libatomic: maybe-all-target-newlib maybe-all-target-libgloss
48859 CONFIGURE_GDB_TK = @CONFIGURE_GDB_TK@
48860 GDB_TK = @GDB_TK@
48861 INSTALL_GDB_TK = @INSTALL_GDB_TK@
48862 configure-gdb: $(CONFIGURE_GDB_TK)
48863 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
48864 install-gdb: $(INSTALL_GDB_TK)
48866 # Serialization dependencies. Host configures don't work well in parallel to
48867 # each other, due to contention over config.cache. Target configures and
48868 # build configures are similar.
48869 @serialization_dependencies@
48871 # --------------------------------
48872 # Regenerating top level configury
48873 # --------------------------------
48875 # Rebuilding Makefile.in, using autogen.
48876 AUTOGEN = autogen
48877 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
48878 cd $(srcdir) && $(AUTOGEN) Makefile.def
48880 # Rebuilding Makefile.
48881 Makefile: $(srcdir)/Makefile.in config.status
48882 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
48884 config.status: configure
48885 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
48887 # Rebuilding configure.
48888 AUTOCONF = autoconf
48889 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac $(srcdir)/config/acx.m4 \
48890 $(srcdir)/config/override.m4 $(srcdir)/config/proginstall.m4
48891 cd $(srcdir) && $(AUTOCONF)
48893 # ------------------------------
48894 # Special directives to GNU Make
48895 # ------------------------------
48897 # Don't pass command-line variables to submakes.
48898 .NOEXPORT:
48899 MAKEOVERRIDES=
48901 # end of Makefile.in