ipa-cp.c (ipa_get_indirect_edge_target_1): Handle speculation.
[official-gcc.git] / Makefile.in
blobf1ff972c1f52598133755217639b3527a227101c
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 ISLLIBS="$(HOST_ISLLIBS)"; export ISLLIBS; \
223 ISLINC="$(HOST_ISLINC)"; export ISLINC; \
224 LIBELFLIBS="$(HOST_LIBELFLIBS)" ; export LIBELFLIBS; \
225 LIBELFINC="$(HOST_LIBELFINC)" ; export LIBELFINC; \
226 @if gcc-bootstrap
227 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
228 @endif gcc-bootstrap
229 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
231 POSTSTAGE1_CXX_EXPORT = \
232 CXX='$(CXX)'; export CXX; \
233 CXX_FOR_BUILD='$(CXX_FOR_BUILD)'; export CXX_FOR_BUILD;
234 @if target-libstdc++-v3-bootstrap
235 # Override the above if we're bootstrapping C++.
236 POSTSTAGE1_CXX_EXPORT = \
237 CXX="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xg++$(exeext) \
238 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ -nostdinc++ \
239 -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
240 -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs \
241 `if $(LEAN); then echo ' -isystem '; else echo ' -I'; fi`$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include/$(TARGET_SUBDIR) \
242 `if $(LEAN); then echo ' -isystem '; else echo ' -I'; fi`$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include \
243 `if $(LEAN); then echo ' -isystem '; else echo ' -I'; fi`$$s/libstdc++-v3/libsupc++ \
244 -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
245 -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs"; \
246 export CXX; \
247 CXX_FOR_BUILD="$$CXX"; export CXX_FOR_BUILD;
248 @endif target-libstdc++-v3-bootstrap
250 # Similar, for later GCC stages.
251 POSTSTAGE1_HOST_EXPORTS = \
252 $(HOST_EXPORTS) \
253 CC="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
254 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ \
255 $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \
256 CC_FOR_BUILD="$$CC"; export CC_FOR_BUILD; \
257 $(POSTSTAGE1_CXX_EXPORT) \
258 $(LTO_EXPORTS) \
259 GNATBIND="$$r/$(HOST_SUBDIR)/prev-gcc/gnatbind"; export GNATBIND; \
260 LDFLAGS="$(POSTSTAGE1_LDFLAGS) $(BOOT_LDFLAGS)"; export LDFLAGS; \
261 HOST_LIBS="$(POSTSTAGE1_LIBS)"; export HOST_LIBS;
263 # Target libraries are put under this directory:
264 TARGET_SUBDIR = @target_subdir@
265 # This is set by the configure script to the arguments to use when configuring
266 # directories built for the target.
267 TARGET_CONFIGARGS = @target_configargs@ --with-target-subdir="$(TARGET_SUBDIR)"
268 # This is the list of variables to export in the environment when
269 # configuring subdirectories for the target system.
270 BASE_TARGET_EXPORTS = \
271 $(BASE_EXPORTS) \
272 AR="$(AR_FOR_TARGET)"; export AR; \
273 AS="$(COMPILER_AS_FOR_TARGET)"; export AS; \
274 CC="$(CC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \
275 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
276 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
277 CPPFLAGS="$(CPPFLAGS_FOR_TARGET)"; export CPPFLAGS; \
278 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
279 GCJ="$(GCJ_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GCJ; \
280 GFORTRAN="$(GFORTRAN_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GFORTRAN; \
281 GOC="$(GOC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GOC; \
282 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
283 LD="$(COMPILER_LD_FOR_TARGET)"; export LD; \
284 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
285 LIPO="$(LIPO_FOR_TARGET)"; export LIPO; \
286 NM="$(COMPILER_NM_FOR_TARGET)"; export NM; \
287 OBJDUMP="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP; \
288 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
289 READELF="$(READELF_FOR_TARGET)"; export READELF; \
290 STRIP="$(STRIP_FOR_TARGET)"; export STRIP; \
291 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
292 WINDMC="$(WINDMC_FOR_TARGET)"; export WINDMC; \
293 @if gcc-bootstrap
294 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
295 @endif gcc-bootstrap
296 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
297 TARGET_CONFIGDIRS="$(TARGET_CONFIGDIRS)"; export TARGET_CONFIGDIRS;
299 RAW_CXX_TARGET_EXPORTS = \
300 $(BASE_TARGET_EXPORTS) \
301 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
302 CXX="$(RAW_CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX;
304 NORMAL_TARGET_EXPORTS = \
305 $(BASE_TARGET_EXPORTS) \
306 CXX="$(CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX;
308 # Where to find GMP
309 HOST_GMPLIBS = @gmplibs@
310 HOST_GMPINC = @gmpinc@
312 # Where to find ISL
313 HOST_ISLLIBS = @isllibs@
314 HOST_ISLINC = @islinc@
316 # Where to find libelf
317 HOST_LIBELFLIBS = @libelflibs@
318 HOST_LIBELFINC = @libelfinc@
320 EXTRA_CONFIGARGS_LIBJAVA = @EXTRA_CONFIGARGS_LIBJAVA@
322 # ----------------------------------------------
323 # Programs producing files for the BUILD machine
324 # ----------------------------------------------
326 SHELL = @SHELL@
328 # pwd command to use. Allow user to override default by setting PWDCMD in
329 # the environment to account for automounters. The make variable must not
330 # be called PWDCMD, otherwise the value set here is passed to make
331 # subprocesses and overrides the setting from the user's environment.
332 # Don't use PWD since it is a common shell environment variable and we
333 # don't want to corrupt it.
334 PWD_COMMAND = $${PWDCMD-pwd}
336 # compilers to use to create programs which must be run in the build
337 # environment.
338 AR_FOR_BUILD = @AR_FOR_BUILD@
339 AS_FOR_BUILD = @AS_FOR_BUILD@
340 CC_FOR_BUILD = @CC_FOR_BUILD@
341 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
342 CXXFLAGS_FOR_BUILD = @CXXFLAGS_FOR_BUILD@
343 CXX_FOR_BUILD = @CXX_FOR_BUILD@
344 DLLTOOL_FOR_BUILD = @DLLTOOL_FOR_BUILD@
345 GCJ_FOR_BUILD = @GCJ_FOR_BUILD@
346 GFORTRAN_FOR_BUILD = @GFORTRAN_FOR_BUILD@
347 GOC_FOR_BUILD = @GOC_FOR_BUILD@
348 LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
349 LD_FOR_BUILD = @LD_FOR_BUILD@
350 NM_FOR_BUILD = @NM_FOR_BUILD@
351 RANLIB_FOR_BUILD = @RANLIB_FOR_BUILD@
352 WINDMC_FOR_BUILD = @WINDMC_FOR_BUILD@
353 WINDRES_FOR_BUILD = @WINDRES_FOR_BUILD@
355 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
356 # here so that they can be overridden by Makefile fragments.
357 BUILD_PREFIX = @BUILD_PREFIX@
358 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
360 # Flags to pass to stage2 and later makes. They are defined
361 # here so that they can be overridden by Makefile fragments.
362 BOOT_CFLAGS= -g -O2
363 BOOT_LDFLAGS=
364 BOOT_ADAFLAGS= -gnatpg
366 AWK = @AWK@
367 SED = @SED@
368 BISON = @BISON@
369 YACC = @YACC@
370 FLEX = @FLEX@
371 LEX = @LEX@
372 M4 = @M4@
373 MAKEINFO = @MAKEINFO@
374 EXPECT = @EXPECT@
375 RUNTEST = @RUNTEST@
377 # This just becomes part of the MAKEINFO definition passed down to
378 # sub-makes. It lets flags be given on the command line while still
379 # using the makeinfo from the object tree.
380 # (Default to avoid splitting info files by setting the threshold high.)
381 MAKEINFOFLAGS = --split-size=5000000
383 # ---------------------------------------------
384 # Programs producing files for the HOST machine
385 # ---------------------------------------------
387 AS = @AS@
388 AR = @AR@
389 AR_FLAGS = rc
390 CC = @CC@
391 CXX = @CXX@
392 DLLTOOL = @DLLTOOL@
393 LD = @LD@
394 LIPO = @LIPO@
395 NM = @NM@
396 OBJDUMP = @OBJDUMP@
397 RANLIB = @RANLIB@
398 READELF = @READELF@
399 STRIP = @STRIP@
400 WINDRES = @WINDRES@
401 WINDMC = @WINDMC@
403 GNATBIND = @GNATBIND@
404 GNATMAKE = @GNATMAKE@
406 CFLAGS = @CFLAGS@
407 LDFLAGS = @LDFLAGS@
408 LIBCFLAGS = $(CFLAGS)
409 CXXFLAGS = @CXXFLAGS@
410 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
411 GOCFLAGS = $(CFLAGS)
413 TFLAGS =
415 # Defaults for all stages; some are overridden below.
417 STAGE_CFLAGS = $(BOOT_CFLAGS)
418 STAGE_TFLAGS = $(TFLAGS)
419 STAGE_CONFIGURE_FLAGS=@stage2_werror_flag@
422 # Defaults for stage 1; some are overridden below.
423 STAGE1_CFLAGS = $(STAGE_CFLAGS)
424 STAGE1_CXXFLAGS = $(CXXFLAGS)
425 @if target-libstdc++-v3-bootstrap
426 # Override the above if we're bootstrapping C++.
427 STAGE1_CXXFLAGS = $(STAGE1_CFLAGS)
428 @endif target-libstdc++-v3-bootstrap
429 STAGE1_TFLAGS = $(STAGE_TFLAGS)
430 STAGE1_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
432 # Defaults for stage 2; some are overridden below.
433 STAGE2_CFLAGS = $(STAGE_CFLAGS)
434 STAGE2_CXXFLAGS = $(CXXFLAGS)
435 @if target-libstdc++-v3-bootstrap
436 # Override the above if we're bootstrapping C++.
437 STAGE2_CXXFLAGS = $(STAGE2_CFLAGS)
438 @endif target-libstdc++-v3-bootstrap
439 STAGE2_TFLAGS = $(STAGE_TFLAGS)
440 STAGE2_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
442 # Defaults for stage 3; some are overridden below.
443 STAGE3_CFLAGS = $(STAGE_CFLAGS)
444 STAGE3_CXXFLAGS = $(CXXFLAGS)
445 @if target-libstdc++-v3-bootstrap
446 # Override the above if we're bootstrapping C++.
447 STAGE3_CXXFLAGS = $(STAGE3_CFLAGS)
448 @endif target-libstdc++-v3-bootstrap
449 STAGE3_TFLAGS = $(STAGE_TFLAGS)
450 STAGE3_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
452 # Defaults for stage 4; some are overridden below.
453 STAGE4_CFLAGS = $(STAGE_CFLAGS)
454 STAGE4_CXXFLAGS = $(CXXFLAGS)
455 @if target-libstdc++-v3-bootstrap
456 # Override the above if we're bootstrapping C++.
457 STAGE4_CXXFLAGS = $(STAGE4_CFLAGS)
458 @endif target-libstdc++-v3-bootstrap
459 STAGE4_TFLAGS = $(STAGE_TFLAGS)
460 STAGE4_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
462 # Defaults for stage profile; some are overridden below.
463 STAGEprofile_CFLAGS = $(STAGE_CFLAGS)
464 STAGEprofile_CXXFLAGS = $(CXXFLAGS)
465 @if target-libstdc++-v3-bootstrap
466 # Override the above if we're bootstrapping C++.
467 STAGEprofile_CXXFLAGS = $(STAGEprofile_CFLAGS)
468 @endif target-libstdc++-v3-bootstrap
469 STAGEprofile_TFLAGS = $(STAGE_TFLAGS)
470 STAGEprofile_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
472 # Defaults for stage feedback; some are overridden below.
473 STAGEfeedback_CFLAGS = $(STAGE_CFLAGS)
474 STAGEfeedback_CXXFLAGS = $(CXXFLAGS)
475 @if target-libstdc++-v3-bootstrap
476 # Override the above if we're bootstrapping C++.
477 STAGEfeedback_CXXFLAGS = $(STAGEfeedback_CFLAGS)
478 @endif target-libstdc++-v3-bootstrap
479 STAGEfeedback_TFLAGS = $(STAGE_TFLAGS)
480 STAGEfeedback_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
483 # Only build the C compiler for stage1, because that is the only one that
484 # we can guarantee will build with the native compiler, and also it is the
485 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
486 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
487 # overrideable (for a bootstrap build stage1 also builds gcc.info).
489 STAGE1_CFLAGS = @stage1_cflags@
490 STAGE1_CHECKING = @stage1_checking@
491 STAGE1_LANGUAGES = @stage1_languages@
492 # * We force-disable intermodule optimizations, even if
493 # --enable-intermodule was passed, since the installed compiler
494 # probably can't handle them. Luckily, autoconf always respects
495 # the last argument when conflicting --enable arguments are passed.
496 # * Likewise, we force-disable coverage flags, since the installed
497 # compiler probably has never heard of them.
498 # * We also disable -Wformat, since older GCCs don't understand newer %s.
499 STAGE1_CONFIGURE_FLAGS = --disable-intermodule $(STAGE1_CHECKING) \
500 --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" \
501 --disable-build-format-warnings
503 STAGEprofile_CFLAGS = $(STAGE2_CFLAGS) -fprofile-generate
504 STAGEprofile_TFLAGS = $(STAGE2_TFLAGS)
506 STAGEfeedback_CFLAGS = $(STAGE3_CFLAGS) -fprofile-use
507 STAGEfeedback_TFLAGS = $(STAGE3_TFLAGS)
509 do-compare = @do_compare@
510 do-compare3 = $(do-compare)
512 # -----------------------------------------------
513 # Programs producing files for the TARGET machine
514 # -----------------------------------------------
516 AR_FOR_TARGET=@AR_FOR_TARGET@
517 AS_FOR_TARGET=@AS_FOR_TARGET@
518 CC_FOR_TARGET=$(STAGE_CC_WRAPPER) @CC_FOR_TARGET@
520 # If GCC_FOR_TARGET is not overriden on the command line, then this
521 # variable is passed down to the gcc Makefile, where it is used to
522 # build libgcc2.a. We define it here so that it can itself be
523 # overridden on the command line.
524 GCC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCC_FOR_TARGET@
525 CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @CXX_FOR_TARGET@
526 RAW_CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @RAW_CXX_FOR_TARGET@
527 GCJ_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCJ_FOR_TARGET@
528 GFORTRAN_FOR_TARGET=$(STAGE_CC_WRAPPER) @GFORTRAN_FOR_TARGET@
529 GOC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GOC_FOR_TARGET@
530 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
531 LD_FOR_TARGET=@LD_FOR_TARGET@
533 LIPO_FOR_TARGET=@LIPO_FOR_TARGET@
534 NM_FOR_TARGET=@NM_FOR_TARGET@
535 OBJDUMP_FOR_TARGET=@OBJDUMP_FOR_TARGET@
536 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
537 READELF_FOR_TARGET=@READELF_FOR_TARGET@
538 STRIP_FOR_TARGET=@STRIP_FOR_TARGET@
539 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
540 WINDMC_FOR_TARGET=@WINDMC_FOR_TARGET@
542 COMPILER_AS_FOR_TARGET=@COMPILER_AS_FOR_TARGET@
543 COMPILER_LD_FOR_TARGET=@COMPILER_LD_FOR_TARGET@
544 COMPILER_NM_FOR_TARGET=@COMPILER_NM_FOR_TARGET@
546 CFLAGS_FOR_TARGET = @CFLAGS_FOR_TARGET@
547 CXXFLAGS_FOR_TARGET = @CXXFLAGS_FOR_TARGET@
549 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
550 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
551 LDFLAGS_FOR_TARGET = @LDFLAGS_FOR_TARGET@
552 GOCFLAGS_FOR_TARGET = -O2 -g
554 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
555 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
556 DEBUG_PREFIX_CFLAGS_FOR_TARGET = @DEBUG_PREFIX_CFLAGS_FOR_TARGET@
558 XGCC_FLAGS_FOR_TARGET = $(FLAGS_FOR_TARGET) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)
560 # ------------------------------------
561 # Miscellaneous targets and flag lists
562 # ------------------------------------
564 # The first rule in the file had better be this one. Don't put any above it.
565 # This lives here to allow makefile fragments to contain dependencies.
566 all:
568 #### host and target specific makefile fragments come in here.
569 @target_makefile_frag@
570 @alphaieee_frag@
571 @ospace_frag@
572 @host_makefile_frag@
575 # This is the list of directories that may be needed in RPATH_ENVVAR
576 # so that programs built for the target machine work.
577 TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libsanitizer)$(TARGET_LIB_PATH_libvtv)$(TARGET_LIB_PATH_libcilkrts)$(TARGET_LIB_PATH_liboffloadmic)$(TARGET_LIB_PATH_libssp)$(TARGET_LIB_PATH_libgomp)$(TARGET_LIB_PATH_libitm)$(TARGET_LIB_PATH_libatomic)$(HOST_LIB_PATH_gcc)
579 @if target-libstdc++-v3
580 TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs:
581 @endif target-libstdc++-v3
583 @if target-libsanitizer
584 TARGET_LIB_PATH_libsanitizer = $$r/$(TARGET_SUBDIR)/libsanitizer/.libs:
585 @endif target-libsanitizer
587 @if target-libvtv
588 TARGET_LIB_PATH_libvtv = $$r/$(TARGET_SUBDIR)/libvtv/.libs:
589 @endif target-libvtv
591 @if target-libcilkrts
592 TARGET_LIB_PATH_libcilkrts = $$r/$(TARGET_SUBDIR)/libcilkrts/.libs:
593 @endif target-libcilkrts
595 @if target-liboffloadmic
596 TARGET_LIB_PATH_liboffloadmic = $$r/$(TARGET_SUBDIR)/liboffloadmic/.libs:
597 @endif target-liboffloadmic
599 @if target-libssp
600 TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
601 @endif target-libssp
603 @if target-libgomp
604 TARGET_LIB_PATH_libgomp = $$r/$(TARGET_SUBDIR)/libgomp/.libs:
605 @endif target-libgomp
607 @if target-libitm
608 TARGET_LIB_PATH_libitm = $$r/$(TARGET_SUBDIR)/libitm/.libs:
609 @endif target-libitm
611 @if target-libatomic
612 TARGET_LIB_PATH_libatomic = $$r/$(TARGET_SUBDIR)/libatomic/.libs:
613 @endif target-libatomic
617 # This is the list of directories that may be needed in RPATH_ENVVAR
618 # so that programs built for the host machine work.
619 HOST_LIB_PATH = $(HOST_LIB_PATH_gmp)$(HOST_LIB_PATH_mpfr)$(HOST_LIB_PATH_mpc)$(HOST_LIB_PATH_isl)$(HOST_LIB_PATH_libelf)
621 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
622 @if gcc
623 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc$(GCC_SHLIB_SUBDIR):$$r/$(HOST_SUBDIR)/prev-gcc$(GCC_SHLIB_SUBDIR):
624 @endif gcc
627 @if gmp
628 HOST_LIB_PATH_gmp = \
629 $$r/$(HOST_SUBDIR)/gmp/.libs:$$r/$(HOST_SUBDIR)/prev-gmp/.libs:
630 @endif gmp
632 @if mpfr
633 HOST_LIB_PATH_mpfr = \
634 $$r/$(HOST_SUBDIR)/mpfr/.libs:$$r/$(HOST_SUBDIR)/prev-mpfr/.libs:
635 @endif mpfr
637 @if mpc
638 HOST_LIB_PATH_mpc = \
639 $$r/$(HOST_SUBDIR)/mpc/.libs:$$r/$(HOST_SUBDIR)/prev-mpc/.libs:
640 @endif mpc
642 @if isl
643 HOST_LIB_PATH_isl = \
644 $$r/$(HOST_SUBDIR)/isl/.libs:$$r/$(HOST_SUBDIR)/prev-isl/.libs:
645 @endif isl
647 @if libelf
648 HOST_LIB_PATH_libelf = \
649 $$r/$(HOST_SUBDIR)/libelf/.libs:$$r/$(HOST_SUBDIR)/prev-libelf/.libs:
650 @endif libelf
653 CXX_FOR_TARGET_FLAG_TO_PASS = \
654 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)"
655 @if target-libstdc++-v3
656 # CXX_FOR_TARGET is tricky to get right for target libs that require a
657 # functional C++ compiler. When we recurse, if we expand
658 # CXX_FOR_TARGET before configuring libstdc++-v3, we won't get
659 # libstdc++ include flags from the script. Instead, we get an
660 # -funconfigured-* word, so that we'll get errors if this invalid C++
661 # command line is used for anything, but also so that we can use the
662 # word to decide whether or not to pass on this CXX_FOR_TARGET. If we
663 # don't pass it on, sub-make will use the default definition, that
664 # re-expands it at the time of use, so we'll get it right when we need
665 # it. One potential exception is the expansion of CXX_FOR_TARGET
666 # passed down as part of CXX within TARGET_FLAGS, but this wouldn't
667 # really work, for C++ host programs can't depend on the current-stage
668 # C++ target library.
669 CXX_FOR_TARGET_FLAG_TO_PASS = \
670 $(shell if echo "$(CXX_FOR_TARGET)" | grep " -funconfigured-" > /dev/null; then :; else echo '"CXX_FOR_TARGET=$(CXX_FOR_TARGET)"'; fi)
671 @endif target-libstdc++-v3
673 # Flags to pass down to all sub-makes.
674 BASE_FLAGS_TO_PASS = \
675 "DESTDIR=$(DESTDIR)" \
676 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
677 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
678 "bindir=$(bindir)" \
679 "datadir=$(datadir)" \
680 "exec_prefix=$(exec_prefix)" \
681 "includedir=$(includedir)" \
682 "datarootdir=$(datarootdir)" \
683 "docdir=$(docdir)" \
684 "infodir=$(infodir)" \
685 "pdfdir=$(pdfdir)" \
686 "htmldir=$(htmldir)" \
687 "libdir=$(libdir)" \
688 "libexecdir=$(libexecdir)" \
689 "lispdir=$(lispdir)" \
690 "localstatedir=$(localstatedir)" \
691 "mandir=$(mandir)" \
692 "oldincludedir=$(oldincludedir)" \
693 "prefix=$(prefix)" \
694 "sbindir=$(sbindir)" \
695 "sharedstatedir=$(sharedstatedir)" \
696 "sysconfdir=$(sysconfdir)" \
697 "tooldir=$(tooldir)" \
698 "build_tooldir=$(build_tooldir)" \
699 "target_alias=$(target_alias)" \
700 "AWK=$(AWK)" \
701 "BISON=$(BISON)" \
702 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
703 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
704 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
705 "EXPECT=$(EXPECT)" \
706 "FLEX=$(FLEX)" \
707 "INSTALL=$(INSTALL)" \
708 "INSTALL_DATA=$(INSTALL_DATA)" \
709 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
710 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
711 "LDFLAGS_FOR_BUILD=$(LDFLAGS_FOR_BUILD)" \
712 "LEX=$(LEX)" \
713 "M4=$(M4)" \
714 "MAKE=$(MAKE)" \
715 "RUNTEST=$(RUNTEST)" \
716 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
717 "SED=$(SED)" \
718 "SHELL=$(SHELL)" \
719 "YACC=$(YACC)" \
720 "`echo 'ADAFLAGS=$(ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
721 "ADA_CFLAGS=$(ADA_CFLAGS)" \
722 "AR_FLAGS=$(AR_FLAGS)" \
723 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
724 "BOOT_CFLAGS=$(BOOT_CFLAGS)" \
725 "BOOT_LDFLAGS=$(BOOT_LDFLAGS)" \
726 "CFLAGS=$(CFLAGS)" \
727 "CXXFLAGS=$(CXXFLAGS)" \
728 "LDFLAGS=$(LDFLAGS)" \
729 "LIBCFLAGS=$(LIBCFLAGS)" \
730 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
731 "STAGE1_CHECKING=$(STAGE1_CHECKING)" \
732 "STAGE1_LANGUAGES=$(STAGE1_LANGUAGES)" \
733 "GNATBIND=$(GNATBIND)" \
734 "GNATMAKE=$(GNATMAKE)" \
735 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
736 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
737 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
738 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
739 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
740 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
741 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
742 "FLAGS_FOR_TARGET=$(FLAGS_FOR_TARGET)" \
743 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
744 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
745 "GOC_FOR_TARGET=$(GOC_FOR_TARGET)" \
746 "GOCFLAGS_FOR_TARGET=$(GOCFLAGS_FOR_TARGET)" \
747 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
748 "LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \
749 "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \
750 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
751 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
752 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
753 "OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \
754 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
755 "READELF_FOR_TARGET=$(READELF_FOR_TARGET)" \
756 "STRIP_FOR_TARGET=$(STRIP_FOR_TARGET)" \
757 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
758 "WINDMC_FOR_TARGET=$(WINDMC_FOR_TARGET)" \
759 "BUILD_CONFIG=$(BUILD_CONFIG)" \
760 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
761 "LEAN=$(LEAN)" \
762 "STAGE1_CFLAGS=$(STAGE1_CFLAGS)" \
763 "STAGE1_CXXFLAGS=$(STAGE1_CXXFLAGS)" \
764 "STAGE1_TFLAGS=$(STAGE1_TFLAGS)" \
765 "STAGE2_CFLAGS=$(STAGE2_CFLAGS)" \
766 "STAGE2_CXXFLAGS=$(STAGE2_CXXFLAGS)" \
767 "STAGE2_TFLAGS=$(STAGE2_TFLAGS)" \
768 "STAGE3_CFLAGS=$(STAGE3_CFLAGS)" \
769 "STAGE3_CXXFLAGS=$(STAGE3_CXXFLAGS)" \
770 "STAGE3_TFLAGS=$(STAGE3_TFLAGS)" \
771 "STAGE4_CFLAGS=$(STAGE4_CFLAGS)" \
772 "STAGE4_CXXFLAGS=$(STAGE4_CXXFLAGS)" \
773 "STAGE4_TFLAGS=$(STAGE4_TFLAGS)" \
774 "STAGEprofile_CFLAGS=$(STAGEprofile_CFLAGS)" \
775 "STAGEprofile_CXXFLAGS=$(STAGEprofile_CXXFLAGS)" \
776 "STAGEprofile_TFLAGS=$(STAGEprofile_TFLAGS)" \
777 "STAGEfeedback_CFLAGS=$(STAGEfeedback_CFLAGS)" \
778 "STAGEfeedback_CXXFLAGS=$(STAGEfeedback_CXXFLAGS)" \
779 "STAGEfeedback_TFLAGS=$(STAGEfeedback_TFLAGS)" \
780 $(CXX_FOR_TARGET_FLAG_TO_PASS) \
781 "TFLAGS=$(TFLAGS)" \
782 "CONFIG_SHELL=$(SHELL)" \
783 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
785 # We leave this in just in case, but it is not needed anymore.
786 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS)
788 # Flags to pass down to most sub-makes, in which we're building with
789 # the host environment.
790 EXTRA_HOST_FLAGS = \
791 'AR=$(AR)' \
792 'AS=$(AS)' \
793 'CC=$(CC)' \
794 'CXX=$(CXX)' \
795 'DLLTOOL=$(DLLTOOL)' \
796 'GCJ=$(GCJ)' \
797 'GFORTRAN=$(GFORTRAN)' \
798 'GOC=$(GOC)' \
799 'LD=$(LD)' \
800 'LIPO=$(LIPO)' \
801 'NM=$(NM)' \
802 'OBJDUMP=$(OBJDUMP)' \
803 'RANLIB=$(RANLIB)' \
804 'READELF=$(READELF)' \
805 'STRIP=$(STRIP)' \
806 'WINDRES=$(WINDRES)' \
807 'WINDMC=$(WINDMC)'
809 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
811 # Flags to pass to stage1 or when not bootstrapping.
813 STAGE1_FLAGS_TO_PASS = \
814 LDFLAGS="$${LDFLAGS}" \
815 HOST_LIBS="$${HOST_LIBS}"
817 # Flags to pass to stage2 and later makes.
819 POSTSTAGE1_FLAGS_TO_PASS = \
820 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
821 CXX="$${CXX}" CXX_FOR_BUILD="$${CXX_FOR_BUILD}" \
822 GNATBIND="$${GNATBIND}" \
823 LDFLAGS="$${LDFLAGS}" \
824 HOST_LIBS="$${HOST_LIBS}" \
825 $(LTO_FLAGS_TO_PASS) \
826 "`echo 'ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
828 # Flags to pass down to makes which are built with the target environment.
829 # The double $ decreases the length of the command line; those variables
830 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them. The
831 # *_CFLAGS_FOR_TARGET variables are not passed down and most often empty,
832 # so we expand them here.
833 EXTRA_TARGET_FLAGS = \
834 'AR=$$(AR_FOR_TARGET)' \
835 'AS=$(COMPILER_AS_FOR_TARGET)' \
836 'CC=$$(CC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
837 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
838 'CXX=$$(CXX_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
839 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
840 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
841 'GCJ=$$(GCJ_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
842 'GFORTRAN=$$(GFORTRAN_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
843 'GOC=$$(GOC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
844 'GOCFLAGS=$$(GOCFLAGS_FOR_TARGET)' \
845 'LD=$(COMPILER_LD_FOR_TARGET)' \
846 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
847 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
848 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
849 'NM=$(COMPILER_NM_FOR_TARGET)' \
850 'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \
851 'RANLIB=$$(RANLIB_FOR_TARGET)' \
852 'READELF=$$(READELF_FOR_TARGET)' \
853 'WINDRES=$$(WINDRES_FOR_TARGET)' \
854 'WINDMC=$$(WINDMC_FOR_TARGET)' \
855 'XGCC_FLAGS_FOR_TARGET=$(XGCC_FLAGS_FOR_TARGET)' \
856 "TFLAGS=$$TFLAGS"
858 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
860 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
861 # unfortunately needs the native compiler and the target ar and
862 # ranlib.
863 # If any variables are added here, they must be added to do-*, below.
864 # The BUILD_* variables are a special case, which are used for the gcc
865 # cross-building scheme.
866 EXTRA_GCC_FLAGS = \
867 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
868 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
869 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
871 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
873 @if gcc
874 BUILD_CONFIG = @BUILD_CONFIG@
875 ifneq ($(BUILD_CONFIG),)
876 include $(foreach CONFIG, $(BUILD_CONFIG), $(srcdir)/config/$(CONFIG).mk)
877 endif
878 @endif gcc
880 .PHONY: configure-host
881 configure-host: \
882 maybe-configure-bfd \
883 maybe-configure-opcodes \
884 maybe-configure-binutils \
885 maybe-configure-bison \
886 maybe-configure-cgen \
887 maybe-configure-dejagnu \
888 maybe-configure-etc \
889 maybe-configure-fastjar \
890 maybe-configure-fixincludes \
891 maybe-configure-flex \
892 maybe-configure-gas \
893 maybe-configure-gcc \
894 maybe-configure-gmp \
895 maybe-configure-mpfr \
896 maybe-configure-mpc \
897 maybe-configure-isl \
898 maybe-configure-libelf \
899 maybe-configure-gold \
900 maybe-configure-gprof \
901 maybe-configure-intl \
902 maybe-configure-tcl \
903 maybe-configure-itcl \
904 maybe-configure-ld \
905 maybe-configure-libbacktrace \
906 maybe-configure-libcpp \
907 maybe-configure-libdecnumber \
908 maybe-configure-libgui \
909 maybe-configure-libiberty \
910 maybe-configure-libiberty-linker-plugin \
911 maybe-configure-libiconv \
912 maybe-configure-m4 \
913 maybe-configure-readline \
914 maybe-configure-sid \
915 maybe-configure-sim \
916 maybe-configure-texinfo \
917 maybe-configure-zlib \
918 maybe-configure-gdb \
919 maybe-configure-expect \
920 maybe-configure-guile \
921 maybe-configure-tk \
922 maybe-configure-libtermcap \
923 maybe-configure-utils \
924 maybe-configure-gnattools \
925 maybe-configure-lto-plugin \
926 maybe-configure-libcc1
927 .PHONY: configure-target
928 configure-target: \
929 maybe-configure-target-libstdc++-v3 \
930 maybe-configure-target-libsanitizer \
931 maybe-configure-target-libvtv \
932 maybe-configure-target-libcilkrts \
933 maybe-configure-target-liboffloadmic \
934 maybe-configure-target-libssp \
935 maybe-configure-target-newlib \
936 maybe-configure-target-libgcc \
937 maybe-configure-target-libbacktrace \
938 maybe-configure-target-libquadmath \
939 maybe-configure-target-libgfortran \
940 maybe-configure-target-libobjc \
941 maybe-configure-target-libgo \
942 maybe-configure-target-libtermcap \
943 maybe-configure-target-winsup \
944 maybe-configure-target-libgloss \
945 maybe-configure-target-libffi \
946 maybe-configure-target-libjava \
947 maybe-configure-target-zlib \
948 maybe-configure-target-boehm-gc \
949 maybe-configure-target-rda \
950 maybe-configure-target-libada \
951 maybe-configure-target-libgomp \
952 maybe-configure-target-libitm \
953 maybe-configure-target-libatomic
955 # The target built for a native non-bootstrap build.
956 .PHONY: all
957 all:
958 @if gcc-bootstrap
959 [ -f stage_final ] || echo stage3 > stage_final
960 @r=`${PWD_COMMAND}`; export r; \
961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
962 $(MAKE) $(RECURSE_FLAGS_TO_PASS) `cat stage_final`-bubble
963 @endif gcc-bootstrap
964 @: $(MAKE); $(unstage)
965 @r=`${PWD_COMMAND}`; export r; \
966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
967 @if gcc-bootstrap
968 if [ -f stage_last ]; then \
969 TFLAGS="$(STAGE$(shell test ! -f stage_last || sed s,^stage,, stage_last)_TFLAGS)"; \
970 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \
971 else \
972 @endif gcc-bootstrap
973 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target \
974 @if gcc-bootstrap
976 fi \
977 @endif gcc-bootstrap
978 && :
980 .PHONY: all-build
982 all-build: maybe-all-build-libiberty
983 all-build: maybe-all-build-bison
984 all-build: maybe-all-build-flex
985 all-build: maybe-all-build-m4
986 all-build: maybe-all-build-texinfo
987 all-build: maybe-all-build-fixincludes
988 all-build: maybe-all-build-libcpp
990 .PHONY: all-host
992 @if bfd-no-bootstrap
993 all-host: maybe-all-bfd
994 @endif bfd-no-bootstrap
995 @if opcodes-no-bootstrap
996 all-host: maybe-all-opcodes
997 @endif opcodes-no-bootstrap
998 @if binutils-no-bootstrap
999 all-host: maybe-all-binutils
1000 @endif binutils-no-bootstrap
1001 all-host: maybe-all-bison
1002 all-host: maybe-all-cgen
1003 all-host: maybe-all-dejagnu
1004 all-host: maybe-all-etc
1005 all-host: maybe-all-fastjar
1006 @if fixincludes-no-bootstrap
1007 all-host: maybe-all-fixincludes
1008 @endif fixincludes-no-bootstrap
1009 all-host: maybe-all-flex
1010 @if gas-no-bootstrap
1011 all-host: maybe-all-gas
1012 @endif gas-no-bootstrap
1013 @if gcc-no-bootstrap
1014 all-host: maybe-all-gcc
1015 @endif gcc-no-bootstrap
1016 @if gmp-no-bootstrap
1017 all-host: maybe-all-gmp
1018 @endif gmp-no-bootstrap
1019 @if mpfr-no-bootstrap
1020 all-host: maybe-all-mpfr
1021 @endif mpfr-no-bootstrap
1022 @if mpc-no-bootstrap
1023 all-host: maybe-all-mpc
1024 @endif mpc-no-bootstrap
1025 @if isl-no-bootstrap
1026 all-host: maybe-all-isl
1027 @endif isl-no-bootstrap
1028 @if libelf-no-bootstrap
1029 all-host: maybe-all-libelf
1030 @endif libelf-no-bootstrap
1031 @if gold-no-bootstrap
1032 all-host: maybe-all-gold
1033 @endif gold-no-bootstrap
1034 all-host: maybe-all-gprof
1035 @if intl-no-bootstrap
1036 all-host: maybe-all-intl
1037 @endif intl-no-bootstrap
1038 all-host: maybe-all-tcl
1039 all-host: maybe-all-itcl
1040 @if ld-no-bootstrap
1041 all-host: maybe-all-ld
1042 @endif ld-no-bootstrap
1043 @if libbacktrace-no-bootstrap
1044 all-host: maybe-all-libbacktrace
1045 @endif libbacktrace-no-bootstrap
1046 @if libcpp-no-bootstrap
1047 all-host: maybe-all-libcpp
1048 @endif libcpp-no-bootstrap
1049 @if libdecnumber-no-bootstrap
1050 all-host: maybe-all-libdecnumber
1051 @endif libdecnumber-no-bootstrap
1052 all-host: maybe-all-libgui
1053 @if libiberty-no-bootstrap
1054 all-host: maybe-all-libiberty
1055 @endif libiberty-no-bootstrap
1056 @if libiberty-linker-plugin-no-bootstrap
1057 all-host: maybe-all-libiberty-linker-plugin
1058 @endif libiberty-linker-plugin-no-bootstrap
1059 all-host: maybe-all-libiconv
1060 all-host: maybe-all-m4
1061 all-host: maybe-all-readline
1062 all-host: maybe-all-sid
1063 all-host: maybe-all-sim
1064 all-host: maybe-all-texinfo
1065 @if zlib-no-bootstrap
1066 all-host: maybe-all-zlib
1067 @endif zlib-no-bootstrap
1068 all-host: maybe-all-gdb
1069 all-host: maybe-all-expect
1070 all-host: maybe-all-guile
1071 all-host: maybe-all-tk
1072 all-host: maybe-all-libtermcap
1073 all-host: maybe-all-utils
1074 all-host: maybe-all-gnattools
1075 @if lto-plugin-no-bootstrap
1076 all-host: maybe-all-lto-plugin
1077 @endif lto-plugin-no-bootstrap
1078 all-host: maybe-all-libcc1
1080 .PHONY: all-target
1082 @if target-libstdc++-v3-no-bootstrap
1083 all-target: maybe-all-target-libstdc++-v3
1084 @endif target-libstdc++-v3-no-bootstrap
1085 @if target-libsanitizer-no-bootstrap
1086 all-target: maybe-all-target-libsanitizer
1087 @endif target-libsanitizer-no-bootstrap
1088 @if target-libvtv-no-bootstrap
1089 all-target: maybe-all-target-libvtv
1090 @endif target-libvtv-no-bootstrap
1091 all-target: maybe-all-target-libcilkrts
1092 all-target: maybe-all-target-liboffloadmic
1093 all-target: maybe-all-target-libssp
1094 all-target: maybe-all-target-newlib
1095 @if target-libgcc-no-bootstrap
1096 all-target: maybe-all-target-libgcc
1097 @endif target-libgcc-no-bootstrap
1098 all-target: maybe-all-target-libbacktrace
1099 all-target: maybe-all-target-libquadmath
1100 all-target: maybe-all-target-libgfortran
1101 all-target: maybe-all-target-libobjc
1102 all-target: maybe-all-target-libgo
1103 all-target: maybe-all-target-libtermcap
1104 all-target: maybe-all-target-winsup
1105 all-target: maybe-all-target-libgloss
1106 all-target: maybe-all-target-libffi
1107 all-target: maybe-all-target-libjava
1108 all-target: maybe-all-target-zlib
1109 all-target: maybe-all-target-boehm-gc
1110 all-target: maybe-all-target-rda
1111 all-target: maybe-all-target-libada
1112 @if target-libgomp-no-bootstrap
1113 all-target: maybe-all-target-libgomp
1114 @endif target-libgomp-no-bootstrap
1115 all-target: maybe-all-target-libitm
1116 all-target: maybe-all-target-libatomic
1118 # Do a target for all the subdirectories. A ``make do-X'' will do a
1119 # ``make X'' in all subdirectories (because, in general, there is a
1120 # dependency (below) of X upon do-X, a ``make X'' will also do this,
1121 # but it may do additional work as well).
1123 .PHONY: do-info
1124 do-info:
1125 @: $(MAKE); $(unstage)
1126 @r=`${PWD_COMMAND}`; export r; \
1127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1128 $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
1129 info-target
1132 .PHONY: info-host
1134 info-host: maybe-info-bfd
1135 info-host: maybe-info-opcodes
1136 info-host: maybe-info-binutils
1137 info-host: maybe-info-bison
1138 info-host: maybe-info-cgen
1139 info-host: maybe-info-dejagnu
1140 info-host: maybe-info-etc
1141 info-host: maybe-info-fastjar
1142 info-host: maybe-info-fixincludes
1143 info-host: maybe-info-flex
1144 info-host: maybe-info-gas
1145 info-host: maybe-info-gcc
1146 info-host: maybe-info-gmp
1147 info-host: maybe-info-mpfr
1148 info-host: maybe-info-mpc
1149 info-host: maybe-info-isl
1150 info-host: maybe-info-libelf
1151 info-host: maybe-info-gold
1152 info-host: maybe-info-gprof
1153 info-host: maybe-info-intl
1154 info-host: maybe-info-tcl
1155 info-host: maybe-info-itcl
1156 info-host: maybe-info-ld
1157 info-host: maybe-info-libbacktrace
1158 info-host: maybe-info-libcpp
1159 info-host: maybe-info-libdecnumber
1160 info-host: maybe-info-libgui
1161 info-host: maybe-info-libiberty
1162 info-host: maybe-info-libiberty-linker-plugin
1163 info-host: maybe-info-libiconv
1164 info-host: maybe-info-m4
1165 info-host: maybe-info-readline
1166 info-host: maybe-info-sid
1167 info-host: maybe-info-sim
1168 info-host: maybe-info-texinfo
1169 info-host: maybe-info-zlib
1170 info-host: maybe-info-gdb
1171 info-host: maybe-info-expect
1172 info-host: maybe-info-guile
1173 info-host: maybe-info-tk
1174 info-host: maybe-info-libtermcap
1175 info-host: maybe-info-utils
1176 info-host: maybe-info-gnattools
1177 info-host: maybe-info-lto-plugin
1178 info-host: maybe-info-libcc1
1180 .PHONY: info-target
1182 info-target: maybe-info-target-libstdc++-v3
1183 info-target: maybe-info-target-libsanitizer
1184 info-target: maybe-info-target-libvtv
1185 info-target: maybe-info-target-libcilkrts
1186 info-target: maybe-info-target-liboffloadmic
1187 info-target: maybe-info-target-libssp
1188 info-target: maybe-info-target-newlib
1189 info-target: maybe-info-target-libgcc
1190 info-target: maybe-info-target-libbacktrace
1191 info-target: maybe-info-target-libquadmath
1192 info-target: maybe-info-target-libgfortran
1193 info-target: maybe-info-target-libobjc
1194 info-target: maybe-info-target-libgo
1195 info-target: maybe-info-target-libtermcap
1196 info-target: maybe-info-target-winsup
1197 info-target: maybe-info-target-libgloss
1198 info-target: maybe-info-target-libffi
1199 info-target: maybe-info-target-libjava
1200 info-target: maybe-info-target-zlib
1201 info-target: maybe-info-target-boehm-gc
1202 info-target: maybe-info-target-rda
1203 info-target: maybe-info-target-libada
1204 info-target: maybe-info-target-libgomp
1205 info-target: maybe-info-target-libitm
1206 info-target: maybe-info-target-libatomic
1208 .PHONY: do-dvi
1209 do-dvi:
1210 @: $(MAKE); $(unstage)
1211 @r=`${PWD_COMMAND}`; export r; \
1212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1213 $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
1214 dvi-target
1217 .PHONY: dvi-host
1219 dvi-host: maybe-dvi-bfd
1220 dvi-host: maybe-dvi-opcodes
1221 dvi-host: maybe-dvi-binutils
1222 dvi-host: maybe-dvi-bison
1223 dvi-host: maybe-dvi-cgen
1224 dvi-host: maybe-dvi-dejagnu
1225 dvi-host: maybe-dvi-etc
1226 dvi-host: maybe-dvi-fastjar
1227 dvi-host: maybe-dvi-fixincludes
1228 dvi-host: maybe-dvi-flex
1229 dvi-host: maybe-dvi-gas
1230 dvi-host: maybe-dvi-gcc
1231 dvi-host: maybe-dvi-gmp
1232 dvi-host: maybe-dvi-mpfr
1233 dvi-host: maybe-dvi-mpc
1234 dvi-host: maybe-dvi-isl
1235 dvi-host: maybe-dvi-libelf
1236 dvi-host: maybe-dvi-gold
1237 dvi-host: maybe-dvi-gprof
1238 dvi-host: maybe-dvi-intl
1239 dvi-host: maybe-dvi-tcl
1240 dvi-host: maybe-dvi-itcl
1241 dvi-host: maybe-dvi-ld
1242 dvi-host: maybe-dvi-libbacktrace
1243 dvi-host: maybe-dvi-libcpp
1244 dvi-host: maybe-dvi-libdecnumber
1245 dvi-host: maybe-dvi-libgui
1246 dvi-host: maybe-dvi-libiberty
1247 dvi-host: maybe-dvi-libiberty-linker-plugin
1248 dvi-host: maybe-dvi-libiconv
1249 dvi-host: maybe-dvi-m4
1250 dvi-host: maybe-dvi-readline
1251 dvi-host: maybe-dvi-sid
1252 dvi-host: maybe-dvi-sim
1253 dvi-host: maybe-dvi-texinfo
1254 dvi-host: maybe-dvi-zlib
1255 dvi-host: maybe-dvi-gdb
1256 dvi-host: maybe-dvi-expect
1257 dvi-host: maybe-dvi-guile
1258 dvi-host: maybe-dvi-tk
1259 dvi-host: maybe-dvi-libtermcap
1260 dvi-host: maybe-dvi-utils
1261 dvi-host: maybe-dvi-gnattools
1262 dvi-host: maybe-dvi-lto-plugin
1263 dvi-host: maybe-dvi-libcc1
1265 .PHONY: dvi-target
1267 dvi-target: maybe-dvi-target-libstdc++-v3
1268 dvi-target: maybe-dvi-target-libsanitizer
1269 dvi-target: maybe-dvi-target-libvtv
1270 dvi-target: maybe-dvi-target-libcilkrts
1271 dvi-target: maybe-dvi-target-liboffloadmic
1272 dvi-target: maybe-dvi-target-libssp
1273 dvi-target: maybe-dvi-target-newlib
1274 dvi-target: maybe-dvi-target-libgcc
1275 dvi-target: maybe-dvi-target-libbacktrace
1276 dvi-target: maybe-dvi-target-libquadmath
1277 dvi-target: maybe-dvi-target-libgfortran
1278 dvi-target: maybe-dvi-target-libobjc
1279 dvi-target: maybe-dvi-target-libgo
1280 dvi-target: maybe-dvi-target-libtermcap
1281 dvi-target: maybe-dvi-target-winsup
1282 dvi-target: maybe-dvi-target-libgloss
1283 dvi-target: maybe-dvi-target-libffi
1284 dvi-target: maybe-dvi-target-libjava
1285 dvi-target: maybe-dvi-target-zlib
1286 dvi-target: maybe-dvi-target-boehm-gc
1287 dvi-target: maybe-dvi-target-rda
1288 dvi-target: maybe-dvi-target-libada
1289 dvi-target: maybe-dvi-target-libgomp
1290 dvi-target: maybe-dvi-target-libitm
1291 dvi-target: maybe-dvi-target-libatomic
1293 .PHONY: do-pdf
1294 do-pdf:
1295 @: $(MAKE); $(unstage)
1296 @r=`${PWD_COMMAND}`; export r; \
1297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1298 $(MAKE) $(RECURSE_FLAGS_TO_PASS) pdf-host \
1299 pdf-target
1302 .PHONY: pdf-host
1304 pdf-host: maybe-pdf-bfd
1305 pdf-host: maybe-pdf-opcodes
1306 pdf-host: maybe-pdf-binutils
1307 pdf-host: maybe-pdf-bison
1308 pdf-host: maybe-pdf-cgen
1309 pdf-host: maybe-pdf-dejagnu
1310 pdf-host: maybe-pdf-etc
1311 pdf-host: maybe-pdf-fastjar
1312 pdf-host: maybe-pdf-fixincludes
1313 pdf-host: maybe-pdf-flex
1314 pdf-host: maybe-pdf-gas
1315 pdf-host: maybe-pdf-gcc
1316 pdf-host: maybe-pdf-gmp
1317 pdf-host: maybe-pdf-mpfr
1318 pdf-host: maybe-pdf-mpc
1319 pdf-host: maybe-pdf-isl
1320 pdf-host: maybe-pdf-libelf
1321 pdf-host: maybe-pdf-gold
1322 pdf-host: maybe-pdf-gprof
1323 pdf-host: maybe-pdf-intl
1324 pdf-host: maybe-pdf-tcl
1325 pdf-host: maybe-pdf-itcl
1326 pdf-host: maybe-pdf-ld
1327 pdf-host: maybe-pdf-libbacktrace
1328 pdf-host: maybe-pdf-libcpp
1329 pdf-host: maybe-pdf-libdecnumber
1330 pdf-host: maybe-pdf-libgui
1331 pdf-host: maybe-pdf-libiberty
1332 pdf-host: maybe-pdf-libiberty-linker-plugin
1333 pdf-host: maybe-pdf-libiconv
1334 pdf-host: maybe-pdf-m4
1335 pdf-host: maybe-pdf-readline
1336 pdf-host: maybe-pdf-sid
1337 pdf-host: maybe-pdf-sim
1338 pdf-host: maybe-pdf-texinfo
1339 pdf-host: maybe-pdf-zlib
1340 pdf-host: maybe-pdf-gdb
1341 pdf-host: maybe-pdf-expect
1342 pdf-host: maybe-pdf-guile
1343 pdf-host: maybe-pdf-tk
1344 pdf-host: maybe-pdf-libtermcap
1345 pdf-host: maybe-pdf-utils
1346 pdf-host: maybe-pdf-gnattools
1347 pdf-host: maybe-pdf-lto-plugin
1348 pdf-host: maybe-pdf-libcc1
1350 .PHONY: pdf-target
1352 pdf-target: maybe-pdf-target-libstdc++-v3
1353 pdf-target: maybe-pdf-target-libsanitizer
1354 pdf-target: maybe-pdf-target-libvtv
1355 pdf-target: maybe-pdf-target-libcilkrts
1356 pdf-target: maybe-pdf-target-liboffloadmic
1357 pdf-target: maybe-pdf-target-libssp
1358 pdf-target: maybe-pdf-target-newlib
1359 pdf-target: maybe-pdf-target-libgcc
1360 pdf-target: maybe-pdf-target-libbacktrace
1361 pdf-target: maybe-pdf-target-libquadmath
1362 pdf-target: maybe-pdf-target-libgfortran
1363 pdf-target: maybe-pdf-target-libobjc
1364 pdf-target: maybe-pdf-target-libgo
1365 pdf-target: maybe-pdf-target-libtermcap
1366 pdf-target: maybe-pdf-target-winsup
1367 pdf-target: maybe-pdf-target-libgloss
1368 pdf-target: maybe-pdf-target-libffi
1369 pdf-target: maybe-pdf-target-libjava
1370 pdf-target: maybe-pdf-target-zlib
1371 pdf-target: maybe-pdf-target-boehm-gc
1372 pdf-target: maybe-pdf-target-rda
1373 pdf-target: maybe-pdf-target-libada
1374 pdf-target: maybe-pdf-target-libgomp
1375 pdf-target: maybe-pdf-target-libitm
1376 pdf-target: maybe-pdf-target-libatomic
1378 .PHONY: do-html
1379 do-html:
1380 @: $(MAKE); $(unstage)
1381 @r=`${PWD_COMMAND}`; export r; \
1382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1383 $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
1384 html-target
1387 .PHONY: html-host
1389 html-host: maybe-html-bfd
1390 html-host: maybe-html-opcodes
1391 html-host: maybe-html-binutils
1392 html-host: maybe-html-bison
1393 html-host: maybe-html-cgen
1394 html-host: maybe-html-dejagnu
1395 html-host: maybe-html-etc
1396 html-host: maybe-html-fastjar
1397 html-host: maybe-html-fixincludes
1398 html-host: maybe-html-flex
1399 html-host: maybe-html-gas
1400 html-host: maybe-html-gcc
1401 html-host: maybe-html-gmp
1402 html-host: maybe-html-mpfr
1403 html-host: maybe-html-mpc
1404 html-host: maybe-html-isl
1405 html-host: maybe-html-libelf
1406 html-host: maybe-html-gold
1407 html-host: maybe-html-gprof
1408 html-host: maybe-html-intl
1409 html-host: maybe-html-tcl
1410 html-host: maybe-html-itcl
1411 html-host: maybe-html-ld
1412 html-host: maybe-html-libbacktrace
1413 html-host: maybe-html-libcpp
1414 html-host: maybe-html-libdecnumber
1415 html-host: maybe-html-libgui
1416 html-host: maybe-html-libiberty
1417 html-host: maybe-html-libiberty-linker-plugin
1418 html-host: maybe-html-libiconv
1419 html-host: maybe-html-m4
1420 html-host: maybe-html-readline
1421 html-host: maybe-html-sid
1422 html-host: maybe-html-sim
1423 html-host: maybe-html-texinfo
1424 html-host: maybe-html-zlib
1425 html-host: maybe-html-gdb
1426 html-host: maybe-html-expect
1427 html-host: maybe-html-guile
1428 html-host: maybe-html-tk
1429 html-host: maybe-html-libtermcap
1430 html-host: maybe-html-utils
1431 html-host: maybe-html-gnattools
1432 html-host: maybe-html-lto-plugin
1433 html-host: maybe-html-libcc1
1435 .PHONY: html-target
1437 html-target: maybe-html-target-libstdc++-v3
1438 html-target: maybe-html-target-libsanitizer
1439 html-target: maybe-html-target-libvtv
1440 html-target: maybe-html-target-libcilkrts
1441 html-target: maybe-html-target-liboffloadmic
1442 html-target: maybe-html-target-libssp
1443 html-target: maybe-html-target-newlib
1444 html-target: maybe-html-target-libgcc
1445 html-target: maybe-html-target-libbacktrace
1446 html-target: maybe-html-target-libquadmath
1447 html-target: maybe-html-target-libgfortran
1448 html-target: maybe-html-target-libobjc
1449 html-target: maybe-html-target-libgo
1450 html-target: maybe-html-target-libtermcap
1451 html-target: maybe-html-target-winsup
1452 html-target: maybe-html-target-libgloss
1453 html-target: maybe-html-target-libffi
1454 html-target: maybe-html-target-libjava
1455 html-target: maybe-html-target-zlib
1456 html-target: maybe-html-target-boehm-gc
1457 html-target: maybe-html-target-rda
1458 html-target: maybe-html-target-libada
1459 html-target: maybe-html-target-libgomp
1460 html-target: maybe-html-target-libitm
1461 html-target: maybe-html-target-libatomic
1463 .PHONY: do-TAGS
1464 do-TAGS:
1465 @: $(MAKE); $(unstage)
1466 @r=`${PWD_COMMAND}`; export r; \
1467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1468 $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
1469 TAGS-target
1472 .PHONY: TAGS-host
1474 TAGS-host: maybe-TAGS-bfd
1475 TAGS-host: maybe-TAGS-opcodes
1476 TAGS-host: maybe-TAGS-binutils
1477 TAGS-host: maybe-TAGS-bison
1478 TAGS-host: maybe-TAGS-cgen
1479 TAGS-host: maybe-TAGS-dejagnu
1480 TAGS-host: maybe-TAGS-etc
1481 TAGS-host: maybe-TAGS-fastjar
1482 TAGS-host: maybe-TAGS-fixincludes
1483 TAGS-host: maybe-TAGS-flex
1484 TAGS-host: maybe-TAGS-gas
1485 TAGS-host: maybe-TAGS-gcc
1486 TAGS-host: maybe-TAGS-gmp
1487 TAGS-host: maybe-TAGS-mpfr
1488 TAGS-host: maybe-TAGS-mpc
1489 TAGS-host: maybe-TAGS-isl
1490 TAGS-host: maybe-TAGS-libelf
1491 TAGS-host: maybe-TAGS-gold
1492 TAGS-host: maybe-TAGS-gprof
1493 TAGS-host: maybe-TAGS-intl
1494 TAGS-host: maybe-TAGS-tcl
1495 TAGS-host: maybe-TAGS-itcl
1496 TAGS-host: maybe-TAGS-ld
1497 TAGS-host: maybe-TAGS-libbacktrace
1498 TAGS-host: maybe-TAGS-libcpp
1499 TAGS-host: maybe-TAGS-libdecnumber
1500 TAGS-host: maybe-TAGS-libgui
1501 TAGS-host: maybe-TAGS-libiberty
1502 TAGS-host: maybe-TAGS-libiberty-linker-plugin
1503 TAGS-host: maybe-TAGS-libiconv
1504 TAGS-host: maybe-TAGS-m4
1505 TAGS-host: maybe-TAGS-readline
1506 TAGS-host: maybe-TAGS-sid
1507 TAGS-host: maybe-TAGS-sim
1508 TAGS-host: maybe-TAGS-texinfo
1509 TAGS-host: maybe-TAGS-zlib
1510 TAGS-host: maybe-TAGS-gdb
1511 TAGS-host: maybe-TAGS-expect
1512 TAGS-host: maybe-TAGS-guile
1513 TAGS-host: maybe-TAGS-tk
1514 TAGS-host: maybe-TAGS-libtermcap
1515 TAGS-host: maybe-TAGS-utils
1516 TAGS-host: maybe-TAGS-gnattools
1517 TAGS-host: maybe-TAGS-lto-plugin
1518 TAGS-host: maybe-TAGS-libcc1
1520 .PHONY: TAGS-target
1522 TAGS-target: maybe-TAGS-target-libstdc++-v3
1523 TAGS-target: maybe-TAGS-target-libsanitizer
1524 TAGS-target: maybe-TAGS-target-libvtv
1525 TAGS-target: maybe-TAGS-target-libcilkrts
1526 TAGS-target: maybe-TAGS-target-liboffloadmic
1527 TAGS-target: maybe-TAGS-target-libssp
1528 TAGS-target: maybe-TAGS-target-newlib
1529 TAGS-target: maybe-TAGS-target-libgcc
1530 TAGS-target: maybe-TAGS-target-libbacktrace
1531 TAGS-target: maybe-TAGS-target-libquadmath
1532 TAGS-target: maybe-TAGS-target-libgfortran
1533 TAGS-target: maybe-TAGS-target-libobjc
1534 TAGS-target: maybe-TAGS-target-libgo
1535 TAGS-target: maybe-TAGS-target-libtermcap
1536 TAGS-target: maybe-TAGS-target-winsup
1537 TAGS-target: maybe-TAGS-target-libgloss
1538 TAGS-target: maybe-TAGS-target-libffi
1539 TAGS-target: maybe-TAGS-target-libjava
1540 TAGS-target: maybe-TAGS-target-zlib
1541 TAGS-target: maybe-TAGS-target-boehm-gc
1542 TAGS-target: maybe-TAGS-target-rda
1543 TAGS-target: maybe-TAGS-target-libada
1544 TAGS-target: maybe-TAGS-target-libgomp
1545 TAGS-target: maybe-TAGS-target-libitm
1546 TAGS-target: maybe-TAGS-target-libatomic
1548 .PHONY: do-install-info
1549 do-install-info:
1550 @: $(MAKE); $(unstage)
1551 @r=`${PWD_COMMAND}`; export r; \
1552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1553 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
1554 install-info-target
1557 .PHONY: install-info-host
1559 install-info-host: maybe-install-info-bfd
1560 install-info-host: maybe-install-info-opcodes
1561 install-info-host: maybe-install-info-binutils
1562 install-info-host: maybe-install-info-bison
1563 install-info-host: maybe-install-info-cgen
1564 install-info-host: maybe-install-info-dejagnu
1565 install-info-host: maybe-install-info-etc
1566 install-info-host: maybe-install-info-fastjar
1567 install-info-host: maybe-install-info-fixincludes
1568 install-info-host: maybe-install-info-flex
1569 install-info-host: maybe-install-info-gas
1570 install-info-host: maybe-install-info-gcc
1571 install-info-host: maybe-install-info-gmp
1572 install-info-host: maybe-install-info-mpfr
1573 install-info-host: maybe-install-info-mpc
1574 install-info-host: maybe-install-info-isl
1575 install-info-host: maybe-install-info-libelf
1576 install-info-host: maybe-install-info-gold
1577 install-info-host: maybe-install-info-gprof
1578 install-info-host: maybe-install-info-intl
1579 install-info-host: maybe-install-info-tcl
1580 install-info-host: maybe-install-info-itcl
1581 install-info-host: maybe-install-info-ld
1582 install-info-host: maybe-install-info-libbacktrace
1583 install-info-host: maybe-install-info-libcpp
1584 install-info-host: maybe-install-info-libdecnumber
1585 install-info-host: maybe-install-info-libgui
1586 install-info-host: maybe-install-info-libiberty
1587 install-info-host: maybe-install-info-libiberty-linker-plugin
1588 install-info-host: maybe-install-info-libiconv
1589 install-info-host: maybe-install-info-m4
1590 install-info-host: maybe-install-info-readline
1591 install-info-host: maybe-install-info-sid
1592 install-info-host: maybe-install-info-sim
1593 install-info-host: maybe-install-info-texinfo
1594 install-info-host: maybe-install-info-zlib
1595 install-info-host: maybe-install-info-gdb
1596 install-info-host: maybe-install-info-expect
1597 install-info-host: maybe-install-info-guile
1598 install-info-host: maybe-install-info-tk
1599 install-info-host: maybe-install-info-libtermcap
1600 install-info-host: maybe-install-info-utils
1601 install-info-host: maybe-install-info-gnattools
1602 install-info-host: maybe-install-info-lto-plugin
1603 install-info-host: maybe-install-info-libcc1
1605 .PHONY: install-info-target
1607 install-info-target: maybe-install-info-target-libstdc++-v3
1608 install-info-target: maybe-install-info-target-libsanitizer
1609 install-info-target: maybe-install-info-target-libvtv
1610 install-info-target: maybe-install-info-target-libcilkrts
1611 install-info-target: maybe-install-info-target-liboffloadmic
1612 install-info-target: maybe-install-info-target-libssp
1613 install-info-target: maybe-install-info-target-newlib
1614 install-info-target: maybe-install-info-target-libgcc
1615 install-info-target: maybe-install-info-target-libbacktrace
1616 install-info-target: maybe-install-info-target-libquadmath
1617 install-info-target: maybe-install-info-target-libgfortran
1618 install-info-target: maybe-install-info-target-libobjc
1619 install-info-target: maybe-install-info-target-libgo
1620 install-info-target: maybe-install-info-target-libtermcap
1621 install-info-target: maybe-install-info-target-winsup
1622 install-info-target: maybe-install-info-target-libgloss
1623 install-info-target: maybe-install-info-target-libffi
1624 install-info-target: maybe-install-info-target-libjava
1625 install-info-target: maybe-install-info-target-zlib
1626 install-info-target: maybe-install-info-target-boehm-gc
1627 install-info-target: maybe-install-info-target-rda
1628 install-info-target: maybe-install-info-target-libada
1629 install-info-target: maybe-install-info-target-libgomp
1630 install-info-target: maybe-install-info-target-libitm
1631 install-info-target: maybe-install-info-target-libatomic
1633 .PHONY: do-install-pdf
1634 do-install-pdf:
1635 @: $(MAKE); $(unstage)
1636 @r=`${PWD_COMMAND}`; export r; \
1637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1638 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-pdf-host \
1639 install-pdf-target
1642 .PHONY: install-pdf-host
1644 install-pdf-host: maybe-install-pdf-bfd
1645 install-pdf-host: maybe-install-pdf-opcodes
1646 install-pdf-host: maybe-install-pdf-binutils
1647 install-pdf-host: maybe-install-pdf-bison
1648 install-pdf-host: maybe-install-pdf-cgen
1649 install-pdf-host: maybe-install-pdf-dejagnu
1650 install-pdf-host: maybe-install-pdf-etc
1651 install-pdf-host: maybe-install-pdf-fastjar
1652 install-pdf-host: maybe-install-pdf-fixincludes
1653 install-pdf-host: maybe-install-pdf-flex
1654 install-pdf-host: maybe-install-pdf-gas
1655 install-pdf-host: maybe-install-pdf-gcc
1656 install-pdf-host: maybe-install-pdf-gmp
1657 install-pdf-host: maybe-install-pdf-mpfr
1658 install-pdf-host: maybe-install-pdf-mpc
1659 install-pdf-host: maybe-install-pdf-isl
1660 install-pdf-host: maybe-install-pdf-libelf
1661 install-pdf-host: maybe-install-pdf-gold
1662 install-pdf-host: maybe-install-pdf-gprof
1663 install-pdf-host: maybe-install-pdf-intl
1664 install-pdf-host: maybe-install-pdf-tcl
1665 install-pdf-host: maybe-install-pdf-itcl
1666 install-pdf-host: maybe-install-pdf-ld
1667 install-pdf-host: maybe-install-pdf-libbacktrace
1668 install-pdf-host: maybe-install-pdf-libcpp
1669 install-pdf-host: maybe-install-pdf-libdecnumber
1670 install-pdf-host: maybe-install-pdf-libgui
1671 install-pdf-host: maybe-install-pdf-libiberty
1672 install-pdf-host: maybe-install-pdf-libiberty-linker-plugin
1673 install-pdf-host: maybe-install-pdf-libiconv
1674 install-pdf-host: maybe-install-pdf-m4
1675 install-pdf-host: maybe-install-pdf-readline
1676 install-pdf-host: maybe-install-pdf-sid
1677 install-pdf-host: maybe-install-pdf-sim
1678 install-pdf-host: maybe-install-pdf-texinfo
1679 install-pdf-host: maybe-install-pdf-zlib
1680 install-pdf-host: maybe-install-pdf-gdb
1681 install-pdf-host: maybe-install-pdf-expect
1682 install-pdf-host: maybe-install-pdf-guile
1683 install-pdf-host: maybe-install-pdf-tk
1684 install-pdf-host: maybe-install-pdf-libtermcap
1685 install-pdf-host: maybe-install-pdf-utils
1686 install-pdf-host: maybe-install-pdf-gnattools
1687 install-pdf-host: maybe-install-pdf-lto-plugin
1688 install-pdf-host: maybe-install-pdf-libcc1
1690 .PHONY: install-pdf-target
1692 install-pdf-target: maybe-install-pdf-target-libstdc++-v3
1693 install-pdf-target: maybe-install-pdf-target-libsanitizer
1694 install-pdf-target: maybe-install-pdf-target-libvtv
1695 install-pdf-target: maybe-install-pdf-target-libcilkrts
1696 install-pdf-target: maybe-install-pdf-target-liboffloadmic
1697 install-pdf-target: maybe-install-pdf-target-libssp
1698 install-pdf-target: maybe-install-pdf-target-newlib
1699 install-pdf-target: maybe-install-pdf-target-libgcc
1700 install-pdf-target: maybe-install-pdf-target-libbacktrace
1701 install-pdf-target: maybe-install-pdf-target-libquadmath
1702 install-pdf-target: maybe-install-pdf-target-libgfortran
1703 install-pdf-target: maybe-install-pdf-target-libobjc
1704 install-pdf-target: maybe-install-pdf-target-libgo
1705 install-pdf-target: maybe-install-pdf-target-libtermcap
1706 install-pdf-target: maybe-install-pdf-target-winsup
1707 install-pdf-target: maybe-install-pdf-target-libgloss
1708 install-pdf-target: maybe-install-pdf-target-libffi
1709 install-pdf-target: maybe-install-pdf-target-libjava
1710 install-pdf-target: maybe-install-pdf-target-zlib
1711 install-pdf-target: maybe-install-pdf-target-boehm-gc
1712 install-pdf-target: maybe-install-pdf-target-rda
1713 install-pdf-target: maybe-install-pdf-target-libada
1714 install-pdf-target: maybe-install-pdf-target-libgomp
1715 install-pdf-target: maybe-install-pdf-target-libitm
1716 install-pdf-target: maybe-install-pdf-target-libatomic
1718 .PHONY: do-install-html
1719 do-install-html:
1720 @: $(MAKE); $(unstage)
1721 @r=`${PWD_COMMAND}`; export r; \
1722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1723 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-html-host \
1724 install-html-target
1727 .PHONY: install-html-host
1729 install-html-host: maybe-install-html-bfd
1730 install-html-host: maybe-install-html-opcodes
1731 install-html-host: maybe-install-html-binutils
1732 install-html-host: maybe-install-html-bison
1733 install-html-host: maybe-install-html-cgen
1734 install-html-host: maybe-install-html-dejagnu
1735 install-html-host: maybe-install-html-etc
1736 install-html-host: maybe-install-html-fastjar
1737 install-html-host: maybe-install-html-fixincludes
1738 install-html-host: maybe-install-html-flex
1739 install-html-host: maybe-install-html-gas
1740 install-html-host: maybe-install-html-gcc
1741 install-html-host: maybe-install-html-gmp
1742 install-html-host: maybe-install-html-mpfr
1743 install-html-host: maybe-install-html-mpc
1744 install-html-host: maybe-install-html-isl
1745 install-html-host: maybe-install-html-libelf
1746 install-html-host: maybe-install-html-gold
1747 install-html-host: maybe-install-html-gprof
1748 install-html-host: maybe-install-html-intl
1749 install-html-host: maybe-install-html-tcl
1750 install-html-host: maybe-install-html-itcl
1751 install-html-host: maybe-install-html-ld
1752 install-html-host: maybe-install-html-libbacktrace
1753 install-html-host: maybe-install-html-libcpp
1754 install-html-host: maybe-install-html-libdecnumber
1755 install-html-host: maybe-install-html-libgui
1756 install-html-host: maybe-install-html-libiberty
1757 install-html-host: maybe-install-html-libiberty-linker-plugin
1758 install-html-host: maybe-install-html-libiconv
1759 install-html-host: maybe-install-html-m4
1760 install-html-host: maybe-install-html-readline
1761 install-html-host: maybe-install-html-sid
1762 install-html-host: maybe-install-html-sim
1763 install-html-host: maybe-install-html-texinfo
1764 install-html-host: maybe-install-html-zlib
1765 install-html-host: maybe-install-html-gdb
1766 install-html-host: maybe-install-html-expect
1767 install-html-host: maybe-install-html-guile
1768 install-html-host: maybe-install-html-tk
1769 install-html-host: maybe-install-html-libtermcap
1770 install-html-host: maybe-install-html-utils
1771 install-html-host: maybe-install-html-gnattools
1772 install-html-host: maybe-install-html-lto-plugin
1773 install-html-host: maybe-install-html-libcc1
1775 .PHONY: install-html-target
1777 install-html-target: maybe-install-html-target-libstdc++-v3
1778 install-html-target: maybe-install-html-target-libsanitizer
1779 install-html-target: maybe-install-html-target-libvtv
1780 install-html-target: maybe-install-html-target-libcilkrts
1781 install-html-target: maybe-install-html-target-liboffloadmic
1782 install-html-target: maybe-install-html-target-libssp
1783 install-html-target: maybe-install-html-target-newlib
1784 install-html-target: maybe-install-html-target-libgcc
1785 install-html-target: maybe-install-html-target-libbacktrace
1786 install-html-target: maybe-install-html-target-libquadmath
1787 install-html-target: maybe-install-html-target-libgfortran
1788 install-html-target: maybe-install-html-target-libobjc
1789 install-html-target: maybe-install-html-target-libgo
1790 install-html-target: maybe-install-html-target-libtermcap
1791 install-html-target: maybe-install-html-target-winsup
1792 install-html-target: maybe-install-html-target-libgloss
1793 install-html-target: maybe-install-html-target-libffi
1794 install-html-target: maybe-install-html-target-libjava
1795 install-html-target: maybe-install-html-target-zlib
1796 install-html-target: maybe-install-html-target-boehm-gc
1797 install-html-target: maybe-install-html-target-rda
1798 install-html-target: maybe-install-html-target-libada
1799 install-html-target: maybe-install-html-target-libgomp
1800 install-html-target: maybe-install-html-target-libitm
1801 install-html-target: maybe-install-html-target-libatomic
1803 .PHONY: do-installcheck
1804 do-installcheck:
1805 @: $(MAKE); $(unstage)
1806 @r=`${PWD_COMMAND}`; export r; \
1807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1808 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
1809 installcheck-target
1812 .PHONY: installcheck-host
1814 installcheck-host: maybe-installcheck-bfd
1815 installcheck-host: maybe-installcheck-opcodes
1816 installcheck-host: maybe-installcheck-binutils
1817 installcheck-host: maybe-installcheck-bison
1818 installcheck-host: maybe-installcheck-cgen
1819 installcheck-host: maybe-installcheck-dejagnu
1820 installcheck-host: maybe-installcheck-etc
1821 installcheck-host: maybe-installcheck-fastjar
1822 installcheck-host: maybe-installcheck-fixincludes
1823 installcheck-host: maybe-installcheck-flex
1824 installcheck-host: maybe-installcheck-gas
1825 installcheck-host: maybe-installcheck-gcc
1826 installcheck-host: maybe-installcheck-gmp
1827 installcheck-host: maybe-installcheck-mpfr
1828 installcheck-host: maybe-installcheck-mpc
1829 installcheck-host: maybe-installcheck-isl
1830 installcheck-host: maybe-installcheck-libelf
1831 installcheck-host: maybe-installcheck-gold
1832 installcheck-host: maybe-installcheck-gprof
1833 installcheck-host: maybe-installcheck-intl
1834 installcheck-host: maybe-installcheck-tcl
1835 installcheck-host: maybe-installcheck-itcl
1836 installcheck-host: maybe-installcheck-ld
1837 installcheck-host: maybe-installcheck-libbacktrace
1838 installcheck-host: maybe-installcheck-libcpp
1839 installcheck-host: maybe-installcheck-libdecnumber
1840 installcheck-host: maybe-installcheck-libgui
1841 installcheck-host: maybe-installcheck-libiberty
1842 installcheck-host: maybe-installcheck-libiberty-linker-plugin
1843 installcheck-host: maybe-installcheck-libiconv
1844 installcheck-host: maybe-installcheck-m4
1845 installcheck-host: maybe-installcheck-readline
1846 installcheck-host: maybe-installcheck-sid
1847 installcheck-host: maybe-installcheck-sim
1848 installcheck-host: maybe-installcheck-texinfo
1849 installcheck-host: maybe-installcheck-zlib
1850 installcheck-host: maybe-installcheck-gdb
1851 installcheck-host: maybe-installcheck-expect
1852 installcheck-host: maybe-installcheck-guile
1853 installcheck-host: maybe-installcheck-tk
1854 installcheck-host: maybe-installcheck-libtermcap
1855 installcheck-host: maybe-installcheck-utils
1856 installcheck-host: maybe-installcheck-gnattools
1857 installcheck-host: maybe-installcheck-lto-plugin
1858 installcheck-host: maybe-installcheck-libcc1
1860 .PHONY: installcheck-target
1862 installcheck-target: maybe-installcheck-target-libstdc++-v3
1863 installcheck-target: maybe-installcheck-target-libsanitizer
1864 installcheck-target: maybe-installcheck-target-libvtv
1865 installcheck-target: maybe-installcheck-target-libcilkrts
1866 installcheck-target: maybe-installcheck-target-liboffloadmic
1867 installcheck-target: maybe-installcheck-target-libssp
1868 installcheck-target: maybe-installcheck-target-newlib
1869 installcheck-target: maybe-installcheck-target-libgcc
1870 installcheck-target: maybe-installcheck-target-libbacktrace
1871 installcheck-target: maybe-installcheck-target-libquadmath
1872 installcheck-target: maybe-installcheck-target-libgfortran
1873 installcheck-target: maybe-installcheck-target-libobjc
1874 installcheck-target: maybe-installcheck-target-libgo
1875 installcheck-target: maybe-installcheck-target-libtermcap
1876 installcheck-target: maybe-installcheck-target-winsup
1877 installcheck-target: maybe-installcheck-target-libgloss
1878 installcheck-target: maybe-installcheck-target-libffi
1879 installcheck-target: maybe-installcheck-target-libjava
1880 installcheck-target: maybe-installcheck-target-zlib
1881 installcheck-target: maybe-installcheck-target-boehm-gc
1882 installcheck-target: maybe-installcheck-target-rda
1883 installcheck-target: maybe-installcheck-target-libada
1884 installcheck-target: maybe-installcheck-target-libgomp
1885 installcheck-target: maybe-installcheck-target-libitm
1886 installcheck-target: maybe-installcheck-target-libatomic
1888 .PHONY: do-mostlyclean
1889 do-mostlyclean:
1890 @: $(MAKE); $(unstage)
1891 @r=`${PWD_COMMAND}`; export r; \
1892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1893 $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
1894 mostlyclean-target
1897 .PHONY: mostlyclean-host
1899 mostlyclean-host: maybe-mostlyclean-bfd
1900 mostlyclean-host: maybe-mostlyclean-opcodes
1901 mostlyclean-host: maybe-mostlyclean-binutils
1902 mostlyclean-host: maybe-mostlyclean-bison
1903 mostlyclean-host: maybe-mostlyclean-cgen
1904 mostlyclean-host: maybe-mostlyclean-dejagnu
1905 mostlyclean-host: maybe-mostlyclean-etc
1906 mostlyclean-host: maybe-mostlyclean-fastjar
1907 mostlyclean-host: maybe-mostlyclean-fixincludes
1908 mostlyclean-host: maybe-mostlyclean-flex
1909 mostlyclean-host: maybe-mostlyclean-gas
1910 mostlyclean-host: maybe-mostlyclean-gcc
1911 mostlyclean-host: maybe-mostlyclean-gmp
1912 mostlyclean-host: maybe-mostlyclean-mpfr
1913 mostlyclean-host: maybe-mostlyclean-mpc
1914 mostlyclean-host: maybe-mostlyclean-isl
1915 mostlyclean-host: maybe-mostlyclean-libelf
1916 mostlyclean-host: maybe-mostlyclean-gold
1917 mostlyclean-host: maybe-mostlyclean-gprof
1918 mostlyclean-host: maybe-mostlyclean-intl
1919 mostlyclean-host: maybe-mostlyclean-tcl
1920 mostlyclean-host: maybe-mostlyclean-itcl
1921 mostlyclean-host: maybe-mostlyclean-ld
1922 mostlyclean-host: maybe-mostlyclean-libbacktrace
1923 mostlyclean-host: maybe-mostlyclean-libcpp
1924 mostlyclean-host: maybe-mostlyclean-libdecnumber
1925 mostlyclean-host: maybe-mostlyclean-libgui
1926 mostlyclean-host: maybe-mostlyclean-libiberty
1927 mostlyclean-host: maybe-mostlyclean-libiberty-linker-plugin
1928 mostlyclean-host: maybe-mostlyclean-libiconv
1929 mostlyclean-host: maybe-mostlyclean-m4
1930 mostlyclean-host: maybe-mostlyclean-readline
1931 mostlyclean-host: maybe-mostlyclean-sid
1932 mostlyclean-host: maybe-mostlyclean-sim
1933 mostlyclean-host: maybe-mostlyclean-texinfo
1934 mostlyclean-host: maybe-mostlyclean-zlib
1935 mostlyclean-host: maybe-mostlyclean-gdb
1936 mostlyclean-host: maybe-mostlyclean-expect
1937 mostlyclean-host: maybe-mostlyclean-guile
1938 mostlyclean-host: maybe-mostlyclean-tk
1939 mostlyclean-host: maybe-mostlyclean-libtermcap
1940 mostlyclean-host: maybe-mostlyclean-utils
1941 mostlyclean-host: maybe-mostlyclean-gnattools
1942 mostlyclean-host: maybe-mostlyclean-lto-plugin
1943 mostlyclean-host: maybe-mostlyclean-libcc1
1945 .PHONY: mostlyclean-target
1947 mostlyclean-target: maybe-mostlyclean-target-libstdc++-v3
1948 mostlyclean-target: maybe-mostlyclean-target-libsanitizer
1949 mostlyclean-target: maybe-mostlyclean-target-libvtv
1950 mostlyclean-target: maybe-mostlyclean-target-libcilkrts
1951 mostlyclean-target: maybe-mostlyclean-target-liboffloadmic
1952 mostlyclean-target: maybe-mostlyclean-target-libssp
1953 mostlyclean-target: maybe-mostlyclean-target-newlib
1954 mostlyclean-target: maybe-mostlyclean-target-libgcc
1955 mostlyclean-target: maybe-mostlyclean-target-libbacktrace
1956 mostlyclean-target: maybe-mostlyclean-target-libquadmath
1957 mostlyclean-target: maybe-mostlyclean-target-libgfortran
1958 mostlyclean-target: maybe-mostlyclean-target-libobjc
1959 mostlyclean-target: maybe-mostlyclean-target-libgo
1960 mostlyclean-target: maybe-mostlyclean-target-libtermcap
1961 mostlyclean-target: maybe-mostlyclean-target-winsup
1962 mostlyclean-target: maybe-mostlyclean-target-libgloss
1963 mostlyclean-target: maybe-mostlyclean-target-libffi
1964 mostlyclean-target: maybe-mostlyclean-target-libjava
1965 mostlyclean-target: maybe-mostlyclean-target-zlib
1966 mostlyclean-target: maybe-mostlyclean-target-boehm-gc
1967 mostlyclean-target: maybe-mostlyclean-target-rda
1968 mostlyclean-target: maybe-mostlyclean-target-libada
1969 mostlyclean-target: maybe-mostlyclean-target-libgomp
1970 mostlyclean-target: maybe-mostlyclean-target-libitm
1971 mostlyclean-target: maybe-mostlyclean-target-libatomic
1973 .PHONY: do-clean
1974 do-clean:
1975 @: $(MAKE); $(unstage)
1976 @r=`${PWD_COMMAND}`; export r; \
1977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1978 $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
1979 clean-target
1982 .PHONY: clean-host
1984 clean-host: maybe-clean-bfd
1985 clean-host: maybe-clean-opcodes
1986 clean-host: maybe-clean-binutils
1987 clean-host: maybe-clean-bison
1988 clean-host: maybe-clean-cgen
1989 clean-host: maybe-clean-dejagnu
1990 clean-host: maybe-clean-etc
1991 clean-host: maybe-clean-fastjar
1992 clean-host: maybe-clean-fixincludes
1993 clean-host: maybe-clean-flex
1994 clean-host: maybe-clean-gas
1995 clean-host: maybe-clean-gcc
1996 clean-host: maybe-clean-gmp
1997 clean-host: maybe-clean-mpfr
1998 clean-host: maybe-clean-mpc
1999 clean-host: maybe-clean-isl
2000 clean-host: maybe-clean-libelf
2001 clean-host: maybe-clean-gold
2002 clean-host: maybe-clean-gprof
2003 clean-host: maybe-clean-intl
2004 clean-host: maybe-clean-tcl
2005 clean-host: maybe-clean-itcl
2006 clean-host: maybe-clean-ld
2007 clean-host: maybe-clean-libbacktrace
2008 clean-host: maybe-clean-libcpp
2009 clean-host: maybe-clean-libdecnumber
2010 clean-host: maybe-clean-libgui
2011 clean-host: maybe-clean-libiberty
2012 clean-host: maybe-clean-libiberty-linker-plugin
2013 clean-host: maybe-clean-libiconv
2014 clean-host: maybe-clean-m4
2015 clean-host: maybe-clean-readline
2016 clean-host: maybe-clean-sid
2017 clean-host: maybe-clean-sim
2018 clean-host: maybe-clean-texinfo
2019 clean-host: maybe-clean-zlib
2020 clean-host: maybe-clean-gdb
2021 clean-host: maybe-clean-expect
2022 clean-host: maybe-clean-guile
2023 clean-host: maybe-clean-tk
2024 clean-host: maybe-clean-libtermcap
2025 clean-host: maybe-clean-utils
2026 clean-host: maybe-clean-gnattools
2027 clean-host: maybe-clean-lto-plugin
2028 clean-host: maybe-clean-libcc1
2030 .PHONY: clean-target
2032 clean-target: maybe-clean-target-libstdc++-v3
2033 clean-target: maybe-clean-target-libsanitizer
2034 clean-target: maybe-clean-target-libvtv
2035 clean-target: maybe-clean-target-libcilkrts
2036 clean-target: maybe-clean-target-liboffloadmic
2037 clean-target: maybe-clean-target-libssp
2038 clean-target: maybe-clean-target-newlib
2039 clean-target: maybe-clean-target-libgcc
2040 clean-target: maybe-clean-target-libbacktrace
2041 clean-target: maybe-clean-target-libquadmath
2042 clean-target: maybe-clean-target-libgfortran
2043 clean-target: maybe-clean-target-libobjc
2044 clean-target: maybe-clean-target-libgo
2045 clean-target: maybe-clean-target-libtermcap
2046 clean-target: maybe-clean-target-winsup
2047 clean-target: maybe-clean-target-libgloss
2048 clean-target: maybe-clean-target-libffi
2049 clean-target: maybe-clean-target-libjava
2050 clean-target: maybe-clean-target-zlib
2051 clean-target: maybe-clean-target-boehm-gc
2052 clean-target: maybe-clean-target-rda
2053 clean-target: maybe-clean-target-libada
2054 clean-target: maybe-clean-target-libgomp
2055 clean-target: maybe-clean-target-libitm
2056 clean-target: maybe-clean-target-libatomic
2058 .PHONY: do-distclean
2059 do-distclean:
2060 @: $(MAKE); $(unstage)
2061 @r=`${PWD_COMMAND}`; export r; \
2062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2063 $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
2064 distclean-target
2067 .PHONY: distclean-host
2069 distclean-host: maybe-distclean-bfd
2070 distclean-host: maybe-distclean-opcodes
2071 distclean-host: maybe-distclean-binutils
2072 distclean-host: maybe-distclean-bison
2073 distclean-host: maybe-distclean-cgen
2074 distclean-host: maybe-distclean-dejagnu
2075 distclean-host: maybe-distclean-etc
2076 distclean-host: maybe-distclean-fastjar
2077 distclean-host: maybe-distclean-fixincludes
2078 distclean-host: maybe-distclean-flex
2079 distclean-host: maybe-distclean-gas
2080 distclean-host: maybe-distclean-gcc
2081 distclean-host: maybe-distclean-gmp
2082 distclean-host: maybe-distclean-mpfr
2083 distclean-host: maybe-distclean-mpc
2084 distclean-host: maybe-distclean-isl
2085 distclean-host: maybe-distclean-libelf
2086 distclean-host: maybe-distclean-gold
2087 distclean-host: maybe-distclean-gprof
2088 distclean-host: maybe-distclean-intl
2089 distclean-host: maybe-distclean-tcl
2090 distclean-host: maybe-distclean-itcl
2091 distclean-host: maybe-distclean-ld
2092 distclean-host: maybe-distclean-libbacktrace
2093 distclean-host: maybe-distclean-libcpp
2094 distclean-host: maybe-distclean-libdecnumber
2095 distclean-host: maybe-distclean-libgui
2096 distclean-host: maybe-distclean-libiberty
2097 distclean-host: maybe-distclean-libiberty-linker-plugin
2098 distclean-host: maybe-distclean-libiconv
2099 distclean-host: maybe-distclean-m4
2100 distclean-host: maybe-distclean-readline
2101 distclean-host: maybe-distclean-sid
2102 distclean-host: maybe-distclean-sim
2103 distclean-host: maybe-distclean-texinfo
2104 distclean-host: maybe-distclean-zlib
2105 distclean-host: maybe-distclean-gdb
2106 distclean-host: maybe-distclean-expect
2107 distclean-host: maybe-distclean-guile
2108 distclean-host: maybe-distclean-tk
2109 distclean-host: maybe-distclean-libtermcap
2110 distclean-host: maybe-distclean-utils
2111 distclean-host: maybe-distclean-gnattools
2112 distclean-host: maybe-distclean-lto-plugin
2113 distclean-host: maybe-distclean-libcc1
2115 .PHONY: distclean-target
2117 distclean-target: maybe-distclean-target-libstdc++-v3
2118 distclean-target: maybe-distclean-target-libsanitizer
2119 distclean-target: maybe-distclean-target-libvtv
2120 distclean-target: maybe-distclean-target-libcilkrts
2121 distclean-target: maybe-distclean-target-liboffloadmic
2122 distclean-target: maybe-distclean-target-libssp
2123 distclean-target: maybe-distclean-target-newlib
2124 distclean-target: maybe-distclean-target-libgcc
2125 distclean-target: maybe-distclean-target-libbacktrace
2126 distclean-target: maybe-distclean-target-libquadmath
2127 distclean-target: maybe-distclean-target-libgfortran
2128 distclean-target: maybe-distclean-target-libobjc
2129 distclean-target: maybe-distclean-target-libgo
2130 distclean-target: maybe-distclean-target-libtermcap
2131 distclean-target: maybe-distclean-target-winsup
2132 distclean-target: maybe-distclean-target-libgloss
2133 distclean-target: maybe-distclean-target-libffi
2134 distclean-target: maybe-distclean-target-libjava
2135 distclean-target: maybe-distclean-target-zlib
2136 distclean-target: maybe-distclean-target-boehm-gc
2137 distclean-target: maybe-distclean-target-rda
2138 distclean-target: maybe-distclean-target-libada
2139 distclean-target: maybe-distclean-target-libgomp
2140 distclean-target: maybe-distclean-target-libitm
2141 distclean-target: maybe-distclean-target-libatomic
2143 .PHONY: do-maintainer-clean
2144 do-maintainer-clean:
2145 @: $(MAKE); $(unstage)
2146 @r=`${PWD_COMMAND}`; export r; \
2147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2148 $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
2149 maintainer-clean-target
2152 .PHONY: maintainer-clean-host
2154 maintainer-clean-host: maybe-maintainer-clean-bfd
2155 maintainer-clean-host: maybe-maintainer-clean-opcodes
2156 maintainer-clean-host: maybe-maintainer-clean-binutils
2157 maintainer-clean-host: maybe-maintainer-clean-bison
2158 maintainer-clean-host: maybe-maintainer-clean-cgen
2159 maintainer-clean-host: maybe-maintainer-clean-dejagnu
2160 maintainer-clean-host: maybe-maintainer-clean-etc
2161 maintainer-clean-host: maybe-maintainer-clean-fastjar
2162 maintainer-clean-host: maybe-maintainer-clean-fixincludes
2163 maintainer-clean-host: maybe-maintainer-clean-flex
2164 maintainer-clean-host: maybe-maintainer-clean-gas
2165 maintainer-clean-host: maybe-maintainer-clean-gcc
2166 maintainer-clean-host: maybe-maintainer-clean-gmp
2167 maintainer-clean-host: maybe-maintainer-clean-mpfr
2168 maintainer-clean-host: maybe-maintainer-clean-mpc
2169 maintainer-clean-host: maybe-maintainer-clean-isl
2170 maintainer-clean-host: maybe-maintainer-clean-libelf
2171 maintainer-clean-host: maybe-maintainer-clean-gold
2172 maintainer-clean-host: maybe-maintainer-clean-gprof
2173 maintainer-clean-host: maybe-maintainer-clean-intl
2174 maintainer-clean-host: maybe-maintainer-clean-tcl
2175 maintainer-clean-host: maybe-maintainer-clean-itcl
2176 maintainer-clean-host: maybe-maintainer-clean-ld
2177 maintainer-clean-host: maybe-maintainer-clean-libbacktrace
2178 maintainer-clean-host: maybe-maintainer-clean-libcpp
2179 maintainer-clean-host: maybe-maintainer-clean-libdecnumber
2180 maintainer-clean-host: maybe-maintainer-clean-libgui
2181 maintainer-clean-host: maybe-maintainer-clean-libiberty
2182 maintainer-clean-host: maybe-maintainer-clean-libiberty-linker-plugin
2183 maintainer-clean-host: maybe-maintainer-clean-libiconv
2184 maintainer-clean-host: maybe-maintainer-clean-m4
2185 maintainer-clean-host: maybe-maintainer-clean-readline
2186 maintainer-clean-host: maybe-maintainer-clean-sid
2187 maintainer-clean-host: maybe-maintainer-clean-sim
2188 maintainer-clean-host: maybe-maintainer-clean-texinfo
2189 maintainer-clean-host: maybe-maintainer-clean-zlib
2190 maintainer-clean-host: maybe-maintainer-clean-gdb
2191 maintainer-clean-host: maybe-maintainer-clean-expect
2192 maintainer-clean-host: maybe-maintainer-clean-guile
2193 maintainer-clean-host: maybe-maintainer-clean-tk
2194 maintainer-clean-host: maybe-maintainer-clean-libtermcap
2195 maintainer-clean-host: maybe-maintainer-clean-utils
2196 maintainer-clean-host: maybe-maintainer-clean-gnattools
2197 maintainer-clean-host: maybe-maintainer-clean-lto-plugin
2198 maintainer-clean-host: maybe-maintainer-clean-libcc1
2200 .PHONY: maintainer-clean-target
2202 maintainer-clean-target: maybe-maintainer-clean-target-libstdc++-v3
2203 maintainer-clean-target: maybe-maintainer-clean-target-libsanitizer
2204 maintainer-clean-target: maybe-maintainer-clean-target-libvtv
2205 maintainer-clean-target: maybe-maintainer-clean-target-libcilkrts
2206 maintainer-clean-target: maybe-maintainer-clean-target-liboffloadmic
2207 maintainer-clean-target: maybe-maintainer-clean-target-libssp
2208 maintainer-clean-target: maybe-maintainer-clean-target-newlib
2209 maintainer-clean-target: maybe-maintainer-clean-target-libgcc
2210 maintainer-clean-target: maybe-maintainer-clean-target-libbacktrace
2211 maintainer-clean-target: maybe-maintainer-clean-target-libquadmath
2212 maintainer-clean-target: maybe-maintainer-clean-target-libgfortran
2213 maintainer-clean-target: maybe-maintainer-clean-target-libobjc
2214 maintainer-clean-target: maybe-maintainer-clean-target-libgo
2215 maintainer-clean-target: maybe-maintainer-clean-target-libtermcap
2216 maintainer-clean-target: maybe-maintainer-clean-target-winsup
2217 maintainer-clean-target: maybe-maintainer-clean-target-libgloss
2218 maintainer-clean-target: maybe-maintainer-clean-target-libffi
2219 maintainer-clean-target: maybe-maintainer-clean-target-libjava
2220 maintainer-clean-target: maybe-maintainer-clean-target-zlib
2221 maintainer-clean-target: maybe-maintainer-clean-target-boehm-gc
2222 maintainer-clean-target: maybe-maintainer-clean-target-rda
2223 maintainer-clean-target: maybe-maintainer-clean-target-libada
2224 maintainer-clean-target: maybe-maintainer-clean-target-libgomp
2225 maintainer-clean-target: maybe-maintainer-clean-target-libitm
2226 maintainer-clean-target: maybe-maintainer-clean-target-libatomic
2229 # Here are the targets which correspond to the do-X targets.
2231 .PHONY: info installcheck dvi pdf html
2232 .PHONY: install-info install-pdf install-html
2233 .PHONY: clean distclean mostlyclean maintainer-clean realclean
2234 .PHONY: local-clean local-distclean local-maintainer-clean
2235 info: do-info
2236 installcheck: do-installcheck
2237 dvi: do-dvi
2238 pdf: do-pdf
2239 html: do-html
2241 # Make sure makeinfo is built before we do a `make info', if we're
2242 # in fact building texinfo.
2243 do-info: maybe-all-texinfo
2245 install-info: do-install-info dir.info
2246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2247 if [ -f dir.info ] ; then \
2248 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
2249 else true ; fi
2251 install-pdf: do-install-pdf
2253 install-html: do-install-html
2255 local-clean:
2256 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
2258 local-distclean:
2259 -rm -f Makefile config.status config.cache mh-frag mt-frag
2260 -rm -f maybedep.tmp serdep.tmp
2261 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
2262 rm -rf $(TARGET_SUBDIR); \
2263 else true; fi
2264 -rm -rf $(BUILD_SUBDIR)
2265 -if [ "$(HOST_SUBDIR)" != "." ]; then \
2266 rm -rf $(HOST_SUBDIR); \
2267 else true; fi
2268 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
2269 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
2270 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
2271 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
2272 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
2273 -find . -name config.cache -exec rm -f {} \; \; 2>/dev/null
2275 local-maintainer-clean:
2276 @echo "This command is intended for maintainers to use;"
2277 @echo "it deletes files that may require special tools to rebuild."
2279 clean: do-clean local-clean
2280 mostlyclean: do-mostlyclean local-clean
2281 distclean: do-distclean local-clean local-distclean
2282 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
2283 maintainer-clean: local-distclean
2284 realclean: maintainer-clean
2286 # Check target.
2288 .PHONY: check do-check
2289 check: do-check
2291 # Only include modules actually being configured and built.
2292 .PHONY: check-host
2293 check-host: \
2294 maybe-check-bfd \
2295 maybe-check-opcodes \
2296 maybe-check-binutils \
2297 maybe-check-bison \
2298 maybe-check-cgen \
2299 maybe-check-dejagnu \
2300 maybe-check-etc \
2301 maybe-check-fastjar \
2302 maybe-check-fixincludes \
2303 maybe-check-flex \
2304 maybe-check-gas \
2305 maybe-check-gcc \
2306 maybe-check-gmp \
2307 maybe-check-mpfr \
2308 maybe-check-mpc \
2309 maybe-check-isl \
2310 maybe-check-libelf \
2311 maybe-check-gold \
2312 maybe-check-gprof \
2313 maybe-check-intl \
2314 maybe-check-tcl \
2315 maybe-check-itcl \
2316 maybe-check-ld \
2317 maybe-check-libbacktrace \
2318 maybe-check-libcpp \
2319 maybe-check-libdecnumber \
2320 maybe-check-libgui \
2321 maybe-check-libiberty \
2322 maybe-check-libiberty-linker-plugin \
2323 maybe-check-libiconv \
2324 maybe-check-m4 \
2325 maybe-check-readline \
2326 maybe-check-sid \
2327 maybe-check-sim \
2328 maybe-check-texinfo \
2329 maybe-check-zlib \
2330 maybe-check-gdb \
2331 maybe-check-expect \
2332 maybe-check-guile \
2333 maybe-check-tk \
2334 maybe-check-libtermcap \
2335 maybe-check-utils \
2336 maybe-check-gnattools \
2337 maybe-check-lto-plugin \
2338 maybe-check-libcc1
2340 .PHONY: check-target
2341 check-target: \
2342 maybe-check-target-libstdc++-v3 \
2343 maybe-check-target-libsanitizer \
2344 maybe-check-target-libvtv \
2345 maybe-check-target-libcilkrts \
2346 maybe-check-target-liboffloadmic \
2347 maybe-check-target-libssp \
2348 maybe-check-target-newlib \
2349 maybe-check-target-libgcc \
2350 maybe-check-target-libbacktrace \
2351 maybe-check-target-libquadmath \
2352 maybe-check-target-libgfortran \
2353 maybe-check-target-libobjc \
2354 maybe-check-target-libgo \
2355 maybe-check-target-libtermcap \
2356 maybe-check-target-winsup \
2357 maybe-check-target-libgloss \
2358 maybe-check-target-libffi \
2359 maybe-check-target-libjava \
2360 maybe-check-target-zlib \
2361 maybe-check-target-boehm-gc \
2362 maybe-check-target-rda \
2363 maybe-check-target-libada \
2364 maybe-check-target-libgomp \
2365 maybe-check-target-libitm \
2366 maybe-check-target-libatomic
2368 do-check:
2369 @: $(MAKE); $(unstage)
2370 @r=`${PWD_COMMAND}`; export r; \
2371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2372 $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
2374 # Automated reporting of test results.
2376 warning.log: build.log
2377 $(srcdir)/contrib/warn_summary build.log > $@
2379 mail-report.log:
2380 if test x'$(BOOT_CFLAGS)' != x''; then \
2381 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2382 fi; \
2383 $(srcdir)/contrib/test_summary -t >$@
2384 chmod +x $@
2385 echo If you really want to send e-mail, run ./$@ now
2387 mail-report-with-warnings.log: warning.log
2388 if test x'$(BOOT_CFLAGS)' != x''; then \
2389 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2390 fi; \
2391 $(srcdir)/contrib/test_summary -t -i warning.log >$@
2392 chmod +x $@
2393 echo If you really want to send e-mail, run ./$@ now
2395 # Installation targets.
2397 .PHONY: install uninstall
2398 install:
2399 @: $(MAKE); $(unstage)
2400 @r=`${PWD_COMMAND}`; export r; \
2401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2402 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
2404 .PHONY: install-host-nogcc
2405 install-host-nogcc: \
2406 maybe-install-bfd \
2407 maybe-install-opcodes \
2408 maybe-install-binutils \
2409 maybe-install-bison \
2410 maybe-install-cgen \
2411 maybe-install-dejagnu \
2412 maybe-install-etc \
2413 maybe-install-fastjar \
2414 maybe-install-fixincludes \
2415 maybe-install-flex \
2416 maybe-install-gas \
2417 maybe-install-gmp \
2418 maybe-install-mpfr \
2419 maybe-install-mpc \
2420 maybe-install-isl \
2421 maybe-install-libelf \
2422 maybe-install-gold \
2423 maybe-install-gprof \
2424 maybe-install-intl \
2425 maybe-install-tcl \
2426 maybe-install-itcl \
2427 maybe-install-ld \
2428 maybe-install-libbacktrace \
2429 maybe-install-libcpp \
2430 maybe-install-libdecnumber \
2431 maybe-install-libgui \
2432 maybe-install-libiberty \
2433 maybe-install-libiberty-linker-plugin \
2434 maybe-install-libiconv \
2435 maybe-install-m4 \
2436 maybe-install-readline \
2437 maybe-install-sid \
2438 maybe-install-sim \
2439 maybe-install-texinfo \
2440 maybe-install-zlib \
2441 maybe-install-gdb \
2442 maybe-install-expect \
2443 maybe-install-guile \
2444 maybe-install-tk \
2445 maybe-install-libtermcap \
2446 maybe-install-utils \
2447 maybe-install-gnattools \
2448 maybe-install-lto-plugin \
2449 maybe-install-libcc1
2451 .PHONY: install-host
2452 install-host: \
2453 maybe-install-bfd \
2454 maybe-install-opcodes \
2455 maybe-install-binutils \
2456 maybe-install-bison \
2457 maybe-install-cgen \
2458 maybe-install-dejagnu \
2459 maybe-install-etc \
2460 maybe-install-fastjar \
2461 maybe-install-fixincludes \
2462 maybe-install-flex \
2463 maybe-install-gas \
2464 maybe-install-gcc \
2465 maybe-install-gmp \
2466 maybe-install-mpfr \
2467 maybe-install-mpc \
2468 maybe-install-isl \
2469 maybe-install-libelf \
2470 maybe-install-gold \
2471 maybe-install-gprof \
2472 maybe-install-intl \
2473 maybe-install-tcl \
2474 maybe-install-itcl \
2475 maybe-install-ld \
2476 maybe-install-libbacktrace \
2477 maybe-install-libcpp \
2478 maybe-install-libdecnumber \
2479 maybe-install-libgui \
2480 maybe-install-libiberty \
2481 maybe-install-libiberty-linker-plugin \
2482 maybe-install-libiconv \
2483 maybe-install-m4 \
2484 maybe-install-readline \
2485 maybe-install-sid \
2486 maybe-install-sim \
2487 maybe-install-texinfo \
2488 maybe-install-zlib \
2489 maybe-install-gdb \
2490 maybe-install-expect \
2491 maybe-install-guile \
2492 maybe-install-tk \
2493 maybe-install-libtermcap \
2494 maybe-install-utils \
2495 maybe-install-gnattools \
2496 maybe-install-lto-plugin \
2497 maybe-install-libcc1
2499 .PHONY: install-target
2500 install-target: \
2501 maybe-install-target-libstdc++-v3 \
2502 maybe-install-target-libsanitizer \
2503 maybe-install-target-libvtv \
2504 maybe-install-target-libcilkrts \
2505 maybe-install-target-liboffloadmic \
2506 maybe-install-target-libssp \
2507 maybe-install-target-newlib \
2508 maybe-install-target-libgcc \
2509 maybe-install-target-libbacktrace \
2510 maybe-install-target-libquadmath \
2511 maybe-install-target-libgfortran \
2512 maybe-install-target-libobjc \
2513 maybe-install-target-libgo \
2514 maybe-install-target-libtermcap \
2515 maybe-install-target-winsup \
2516 maybe-install-target-libgloss \
2517 maybe-install-target-libffi \
2518 maybe-install-target-libjava \
2519 maybe-install-target-zlib \
2520 maybe-install-target-boehm-gc \
2521 maybe-install-target-rda \
2522 maybe-install-target-libada \
2523 maybe-install-target-libgomp \
2524 maybe-install-target-libitm \
2525 maybe-install-target-libatomic
2527 uninstall:
2528 @echo "the uninstall target is not supported in this tree"
2530 .PHONY: install.all
2531 install.all: install-no-fixedincludes
2532 @if [ -f ./gcc/Makefile ] ; then \
2533 r=`${PWD_COMMAND}` ; export r ; \
2534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2535 $(HOST_EXPORTS) \
2536 (cd ./gcc && \
2537 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2538 else \
2539 true ; \
2542 # install-no-fixedincludes is used to allow the elaboration of binary packages
2543 # suitable for distribution, where we cannot include the fixed system header
2544 # files.
2545 .PHONY: install-no-fixedincludes
2546 install-no-fixedincludes: installdirs install-host-nogcc \
2547 install-target gcc-install-no-fixedincludes
2549 .PHONY: install-strip
2550 install-strip:
2551 @: $(MAKE); $(unstage)
2552 @r=`${PWD_COMMAND}`; export r; \
2553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2554 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-strip-host install-strip-target
2556 .PHONY: install-strip-host
2557 install-strip-host: \
2558 maybe-install-strip-bfd \
2559 maybe-install-strip-opcodes \
2560 maybe-install-strip-binutils \
2561 maybe-install-strip-bison \
2562 maybe-install-strip-cgen \
2563 maybe-install-strip-dejagnu \
2564 maybe-install-strip-etc \
2565 maybe-install-strip-fastjar \
2566 maybe-install-strip-fixincludes \
2567 maybe-install-strip-flex \
2568 maybe-install-strip-gas \
2569 maybe-install-strip-gcc \
2570 maybe-install-strip-gmp \
2571 maybe-install-strip-mpfr \
2572 maybe-install-strip-mpc \
2573 maybe-install-strip-isl \
2574 maybe-install-strip-libelf \
2575 maybe-install-strip-gold \
2576 maybe-install-strip-gprof \
2577 maybe-install-strip-intl \
2578 maybe-install-strip-tcl \
2579 maybe-install-strip-itcl \
2580 maybe-install-strip-ld \
2581 maybe-install-strip-libbacktrace \
2582 maybe-install-strip-libcpp \
2583 maybe-install-strip-libdecnumber \
2584 maybe-install-strip-libgui \
2585 maybe-install-strip-libiberty \
2586 maybe-install-strip-libiberty-linker-plugin \
2587 maybe-install-strip-libiconv \
2588 maybe-install-strip-m4 \
2589 maybe-install-strip-readline \
2590 maybe-install-strip-sid \
2591 maybe-install-strip-sim \
2592 maybe-install-strip-texinfo \
2593 maybe-install-strip-zlib \
2594 maybe-install-strip-gdb \
2595 maybe-install-strip-expect \
2596 maybe-install-strip-guile \
2597 maybe-install-strip-tk \
2598 maybe-install-strip-libtermcap \
2599 maybe-install-strip-utils \
2600 maybe-install-strip-gnattools \
2601 maybe-install-strip-lto-plugin \
2602 maybe-install-strip-libcc1
2604 .PHONY: install-strip-target
2605 install-strip-target: \
2606 maybe-install-strip-target-libstdc++-v3 \
2607 maybe-install-strip-target-libsanitizer \
2608 maybe-install-strip-target-libvtv \
2609 maybe-install-strip-target-libcilkrts \
2610 maybe-install-strip-target-liboffloadmic \
2611 maybe-install-strip-target-libssp \
2612 maybe-install-strip-target-newlib \
2613 maybe-install-strip-target-libgcc \
2614 maybe-install-strip-target-libbacktrace \
2615 maybe-install-strip-target-libquadmath \
2616 maybe-install-strip-target-libgfortran \
2617 maybe-install-strip-target-libobjc \
2618 maybe-install-strip-target-libgo \
2619 maybe-install-strip-target-libtermcap \
2620 maybe-install-strip-target-winsup \
2621 maybe-install-strip-target-libgloss \
2622 maybe-install-strip-target-libffi \
2623 maybe-install-strip-target-libjava \
2624 maybe-install-strip-target-zlib \
2625 maybe-install-strip-target-boehm-gc \
2626 maybe-install-strip-target-rda \
2627 maybe-install-strip-target-libada \
2628 maybe-install-strip-target-libgomp \
2629 maybe-install-strip-target-libitm \
2630 maybe-install-strip-target-libatomic
2633 ### other supporting targets
2635 MAKEDIRS= \
2636 $(DESTDIR)$(prefix) \
2637 $(DESTDIR)$(exec_prefix)
2638 .PHONY: installdirs
2639 installdirs: mkinstalldirs
2640 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2642 dir.info: do-install-info
2643 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2644 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2645 mv -f dir.info.new dir.info ; \
2646 else true ; \
2649 dist:
2650 @echo "Building a full distribution of this tree isn't done"
2651 @echo "via 'make dist'. Check out the etc/ subdirectory"
2653 etags tags: TAGS
2655 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2656 # ability to use several tags files at once, so there is probably no need
2657 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2658 # (if we felt like it) have this Makefile write a piece of elisp which
2659 # the user could load to tell emacs19 where all the TAGS files we just
2660 # built are.
2661 TAGS: do-TAGS
2663 # ------------------------------------
2664 # Macros for configure and all targets
2665 # ------------------------------------
2671 # --------------------------------------
2672 # Modules which run on the build machine
2673 # --------------------------------------
2676 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2677 maybe-configure-build-libiberty:
2678 @if gcc-bootstrap
2679 configure-build-libiberty: stage_current
2680 @endif gcc-bootstrap
2681 @if build-libiberty
2682 maybe-configure-build-libiberty: configure-build-libiberty
2683 configure-build-libiberty:
2684 @: $(MAKE); $(unstage)
2685 @r=`${PWD_COMMAND}`; export r; \
2686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2687 test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2688 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2689 $(BUILD_EXPORTS) \
2690 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2691 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2692 case $(srcdir) in \
2693 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2694 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2695 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2696 esac; \
2697 module_srcdir=libiberty; \
2698 rm -f no-such-file || : ; \
2699 CONFIG_SITE=no-such-file $(SHELL) \
2700 $$s/$$module_srcdir/configure \
2701 --srcdir=$${topdir}/$$module_srcdir \
2702 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2703 --target=${target_alias} \
2704 || exit 1
2705 @endif build-libiberty
2711 .PHONY: all-build-libiberty maybe-all-build-libiberty
2712 maybe-all-build-libiberty:
2713 @if gcc-bootstrap
2714 all-build-libiberty: stage_current
2715 @endif gcc-bootstrap
2716 @if build-libiberty
2717 TARGET-build-libiberty=all
2718 maybe-all-build-libiberty: all-build-libiberty
2719 all-build-libiberty: configure-build-libiberty
2720 @: $(MAKE); $(unstage)
2721 @r=`${PWD_COMMAND}`; export r; \
2722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2723 $(BUILD_EXPORTS) \
2724 (cd $(BUILD_SUBDIR)/libiberty && \
2725 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2726 $(TARGET-build-libiberty))
2727 @endif build-libiberty
2733 .PHONY: configure-build-bison maybe-configure-build-bison
2734 maybe-configure-build-bison:
2735 @if gcc-bootstrap
2736 configure-build-bison: stage_current
2737 @endif gcc-bootstrap
2738 @if build-bison
2739 maybe-configure-build-bison: configure-build-bison
2740 configure-build-bison:
2741 @: $(MAKE); $(unstage)
2742 @r=`${PWD_COMMAND}`; export r; \
2743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2744 test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2745 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2746 $(BUILD_EXPORTS) \
2747 echo Configuring in $(BUILD_SUBDIR)/bison; \
2748 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2749 case $(srcdir) in \
2750 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2751 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2752 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2753 esac; \
2754 module_srcdir=bison; \
2755 rm -f no-such-file || : ; \
2756 CONFIG_SITE=no-such-file $(SHELL) \
2757 $$s/$$module_srcdir/configure \
2758 --srcdir=$${topdir}/$$module_srcdir \
2759 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2760 --target=${target_alias} \
2761 || exit 1
2762 @endif build-bison
2768 .PHONY: all-build-bison maybe-all-build-bison
2769 maybe-all-build-bison:
2770 @if gcc-bootstrap
2771 all-build-bison: stage_current
2772 @endif gcc-bootstrap
2773 @if build-bison
2774 TARGET-build-bison=all
2775 maybe-all-build-bison: all-build-bison
2776 all-build-bison: configure-build-bison
2777 @: $(MAKE); $(unstage)
2778 @r=`${PWD_COMMAND}`; export r; \
2779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2780 $(BUILD_EXPORTS) \
2781 (cd $(BUILD_SUBDIR)/bison && \
2782 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2783 $(TARGET-build-bison))
2784 @endif build-bison
2790 .PHONY: configure-build-flex maybe-configure-build-flex
2791 maybe-configure-build-flex:
2792 @if gcc-bootstrap
2793 configure-build-flex: stage_current
2794 @endif gcc-bootstrap
2795 @if build-flex
2796 maybe-configure-build-flex: configure-build-flex
2797 configure-build-flex:
2798 @: $(MAKE); $(unstage)
2799 @r=`${PWD_COMMAND}`; export r; \
2800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2801 test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2802 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2803 $(BUILD_EXPORTS) \
2804 echo Configuring in $(BUILD_SUBDIR)/flex; \
2805 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2806 case $(srcdir) in \
2807 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2808 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2809 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2810 esac; \
2811 module_srcdir=flex; \
2812 rm -f no-such-file || : ; \
2813 CONFIG_SITE=no-such-file $(SHELL) \
2814 $$s/$$module_srcdir/configure \
2815 --srcdir=$${topdir}/$$module_srcdir \
2816 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2817 --target=${target_alias} \
2818 || exit 1
2819 @endif build-flex
2825 .PHONY: all-build-flex maybe-all-build-flex
2826 maybe-all-build-flex:
2827 @if gcc-bootstrap
2828 all-build-flex: stage_current
2829 @endif gcc-bootstrap
2830 @if build-flex
2831 TARGET-build-flex=all
2832 maybe-all-build-flex: all-build-flex
2833 all-build-flex: configure-build-flex
2834 @: $(MAKE); $(unstage)
2835 @r=`${PWD_COMMAND}`; export r; \
2836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2837 $(BUILD_EXPORTS) \
2838 (cd $(BUILD_SUBDIR)/flex && \
2839 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2840 $(TARGET-build-flex))
2841 @endif build-flex
2847 .PHONY: configure-build-m4 maybe-configure-build-m4
2848 maybe-configure-build-m4:
2849 @if gcc-bootstrap
2850 configure-build-m4: stage_current
2851 @endif gcc-bootstrap
2852 @if build-m4
2853 maybe-configure-build-m4: configure-build-m4
2854 configure-build-m4:
2855 @: $(MAKE); $(unstage)
2856 @r=`${PWD_COMMAND}`; export r; \
2857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2858 test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2859 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2860 $(BUILD_EXPORTS) \
2861 echo Configuring in $(BUILD_SUBDIR)/m4; \
2862 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2863 case $(srcdir) in \
2864 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2865 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
2866 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2867 esac; \
2868 module_srcdir=m4; \
2869 rm -f no-such-file || : ; \
2870 CONFIG_SITE=no-such-file $(SHELL) \
2871 $$s/$$module_srcdir/configure \
2872 --srcdir=$${topdir}/$$module_srcdir \
2873 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2874 --target=${target_alias} \
2875 || exit 1
2876 @endif build-m4
2882 .PHONY: all-build-m4 maybe-all-build-m4
2883 maybe-all-build-m4:
2884 @if gcc-bootstrap
2885 all-build-m4: stage_current
2886 @endif gcc-bootstrap
2887 @if build-m4
2888 TARGET-build-m4=all
2889 maybe-all-build-m4: all-build-m4
2890 all-build-m4: configure-build-m4
2891 @: $(MAKE); $(unstage)
2892 @r=`${PWD_COMMAND}`; export r; \
2893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2894 $(BUILD_EXPORTS) \
2895 (cd $(BUILD_SUBDIR)/m4 && \
2896 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2897 $(TARGET-build-m4))
2898 @endif build-m4
2904 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2905 maybe-configure-build-texinfo:
2906 @if gcc-bootstrap
2907 configure-build-texinfo: stage_current
2908 @endif gcc-bootstrap
2909 @if build-texinfo
2910 maybe-configure-build-texinfo: configure-build-texinfo
2911 configure-build-texinfo:
2912 @: $(MAKE); $(unstage)
2913 @r=`${PWD_COMMAND}`; export r; \
2914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2915 test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2916 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2917 $(BUILD_EXPORTS) \
2918 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2919 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2920 case $(srcdir) in \
2921 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2922 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
2923 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2924 esac; \
2925 module_srcdir=texinfo; \
2926 rm -f no-such-file || : ; \
2927 CONFIG_SITE=no-such-file $(SHELL) \
2928 $$s/$$module_srcdir/configure \
2929 --srcdir=$${topdir}/$$module_srcdir \
2930 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2931 --target=${target_alias} \
2932 || exit 1
2933 @endif build-texinfo
2939 .PHONY: all-build-texinfo maybe-all-build-texinfo
2940 maybe-all-build-texinfo:
2941 @if gcc-bootstrap
2942 all-build-texinfo: stage_current
2943 @endif gcc-bootstrap
2944 @if build-texinfo
2945 TARGET-build-texinfo=all
2946 maybe-all-build-texinfo: all-build-texinfo
2947 all-build-texinfo: configure-build-texinfo
2948 @: $(MAKE); $(unstage)
2949 @r=`${PWD_COMMAND}`; export r; \
2950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2951 $(BUILD_EXPORTS) \
2952 (cd $(BUILD_SUBDIR)/texinfo && \
2953 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2954 $(TARGET-build-texinfo))
2955 @endif build-texinfo
2961 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2962 maybe-configure-build-fixincludes:
2963 @if gcc-bootstrap
2964 configure-build-fixincludes: stage_current
2965 @endif gcc-bootstrap
2966 @if build-fixincludes
2967 maybe-configure-build-fixincludes: configure-build-fixincludes
2968 configure-build-fixincludes:
2969 @: $(MAKE); $(unstage)
2970 @r=`${PWD_COMMAND}`; export r; \
2971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2972 test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2973 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2974 $(BUILD_EXPORTS) \
2975 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2976 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2977 case $(srcdir) in \
2978 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2979 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
2980 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2981 esac; \
2982 module_srcdir=fixincludes; \
2983 rm -f no-such-file || : ; \
2984 CONFIG_SITE=no-such-file $(SHELL) \
2985 $$s/$$module_srcdir/configure \
2986 --srcdir=$${topdir}/$$module_srcdir \
2987 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2988 --target=${target_alias} \
2989 || exit 1
2990 @endif build-fixincludes
2996 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
2997 maybe-all-build-fixincludes:
2998 @if gcc-bootstrap
2999 all-build-fixincludes: stage_current
3000 @endif gcc-bootstrap
3001 @if build-fixincludes
3002 TARGET-build-fixincludes=all
3003 maybe-all-build-fixincludes: all-build-fixincludes
3004 all-build-fixincludes: configure-build-fixincludes
3005 @: $(MAKE); $(unstage)
3006 @r=`${PWD_COMMAND}`; export r; \
3007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3008 $(BUILD_EXPORTS) \
3009 (cd $(BUILD_SUBDIR)/fixincludes && \
3010 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3011 $(TARGET-build-fixincludes))
3012 @endif build-fixincludes
3018 .PHONY: configure-build-libcpp maybe-configure-build-libcpp
3019 maybe-configure-build-libcpp:
3020 @if gcc-bootstrap
3021 configure-build-libcpp: stage_current
3022 @endif gcc-bootstrap
3023 @if build-libcpp
3024 maybe-configure-build-libcpp: configure-build-libcpp
3025 configure-build-libcpp:
3026 @: $(MAKE); $(unstage)
3027 @r=`${PWD_COMMAND}`; export r; \
3028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3029 test ! -f $(BUILD_SUBDIR)/libcpp/Makefile || exit 0; \
3030 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libcpp ; \
3031 $(BUILD_EXPORTS) \
3032 echo Configuring in $(BUILD_SUBDIR)/libcpp; \
3033 cd "$(BUILD_SUBDIR)/libcpp" || exit 1; \
3034 case $(srcdir) in \
3035 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3036 *) topdir=`echo $(BUILD_SUBDIR)/libcpp/ | \
3037 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3038 esac; \
3039 module_srcdir=libcpp; \
3040 rm -f no-such-file || : ; \
3041 CONFIG_SITE=no-such-file $(SHELL) \
3042 $$s/$$module_srcdir/configure \
3043 --srcdir=$${topdir}/$$module_srcdir \
3044 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3045 --target=${target_alias} --disable-nls am_cv_func_iconv=no \
3046 || exit 1
3047 @endif build-libcpp
3053 .PHONY: all-build-libcpp maybe-all-build-libcpp
3054 maybe-all-build-libcpp:
3055 @if gcc-bootstrap
3056 all-build-libcpp: stage_current
3057 @endif gcc-bootstrap
3058 @if build-libcpp
3059 TARGET-build-libcpp=all
3060 maybe-all-build-libcpp: all-build-libcpp
3061 all-build-libcpp: configure-build-libcpp
3062 @: $(MAKE); $(unstage)
3063 @r=`${PWD_COMMAND}`; export r; \
3064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3065 $(BUILD_EXPORTS) \
3066 (cd $(BUILD_SUBDIR)/libcpp && \
3067 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3068 $(TARGET-build-libcpp))
3069 @endif build-libcpp
3075 # --------------------------------------
3076 # Modules which run on the host machine
3077 # --------------------------------------
3080 .PHONY: configure-bfd maybe-configure-bfd
3081 maybe-configure-bfd:
3082 @if gcc-bootstrap
3083 configure-bfd: stage_current
3084 @endif gcc-bootstrap
3085 @if bfd
3086 maybe-configure-bfd: configure-bfd
3087 configure-bfd:
3088 @r=`${PWD_COMMAND}`; export r; \
3089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3090 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3091 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3092 $(HOST_EXPORTS) \
3093 echo Configuring in $(HOST_SUBDIR)/bfd; \
3094 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
3095 case $(srcdir) in \
3096 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3097 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3098 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3099 esac; \
3100 module_srcdir=bfd; \
3101 $(SHELL) \
3102 $$s/$$module_srcdir/configure \
3103 --srcdir=$${topdir}/$$module_srcdir \
3104 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3105 --target=${target_alias} \
3106 || exit 1
3107 @endif bfd
3111 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
3112 maybe-configure-stage1-bfd:
3113 @if bfd-bootstrap
3114 maybe-configure-stage1-bfd: configure-stage1-bfd
3115 configure-stage1-bfd:
3116 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3117 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3118 @r=`${PWD_COMMAND}`; export r; \
3119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3120 TFLAGS="$(STAGE1_TFLAGS)"; \
3121 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3122 $(HOST_EXPORTS) \
3123 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
3124 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
3125 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
3126 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd ; \
3127 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3128 cd $(HOST_SUBDIR)/bfd || exit 1; \
3129 case $(srcdir) in \
3130 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3131 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3132 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3133 esac; \
3134 module_srcdir=bfd; \
3135 $(SHELL) $$s/$$module_srcdir/configure \
3136 --srcdir=$${topdir}/$$module_srcdir \
3137 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3138 --target=${target_alias} \
3140 $(STAGE1_CONFIGURE_FLAGS)
3141 @endif bfd-bootstrap
3143 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
3144 maybe-configure-stage2-bfd:
3145 @if bfd-bootstrap
3146 maybe-configure-stage2-bfd: configure-stage2-bfd
3147 configure-stage2-bfd:
3148 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3149 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3150 @r=`${PWD_COMMAND}`; export r; \
3151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3152 TFLAGS="$(STAGE2_TFLAGS)"; \
3153 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3154 $(HOST_EXPORTS) \
3155 $(POSTSTAGE1_HOST_EXPORTS) \
3156 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
3157 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
3158 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
3159 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd ; \
3160 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3161 cd $(HOST_SUBDIR)/bfd || exit 1; \
3162 case $(srcdir) in \
3163 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3164 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3165 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3166 esac; \
3167 module_srcdir=bfd; \
3168 $(SHELL) $$s/$$module_srcdir/configure \
3169 --srcdir=$${topdir}/$$module_srcdir \
3170 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3171 --target=${target_alias} \
3172 --with-build-libsubdir=$(HOST_SUBDIR) \
3173 $(STAGE2_CONFIGURE_FLAGS)
3174 @endif bfd-bootstrap
3176 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
3177 maybe-configure-stage3-bfd:
3178 @if bfd-bootstrap
3179 maybe-configure-stage3-bfd: configure-stage3-bfd
3180 configure-stage3-bfd:
3181 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3182 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3183 @r=`${PWD_COMMAND}`; export r; \
3184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3185 TFLAGS="$(STAGE3_TFLAGS)"; \
3186 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3187 $(HOST_EXPORTS) \
3188 $(POSTSTAGE1_HOST_EXPORTS) \
3189 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
3190 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
3191 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
3192 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd ; \
3193 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3194 cd $(HOST_SUBDIR)/bfd || exit 1; \
3195 case $(srcdir) in \
3196 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3197 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3198 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3199 esac; \
3200 module_srcdir=bfd; \
3201 $(SHELL) $$s/$$module_srcdir/configure \
3202 --srcdir=$${topdir}/$$module_srcdir \
3203 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3204 --target=${target_alias} \
3205 --with-build-libsubdir=$(HOST_SUBDIR) \
3206 $(STAGE3_CONFIGURE_FLAGS)
3207 @endif bfd-bootstrap
3209 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
3210 maybe-configure-stage4-bfd:
3211 @if bfd-bootstrap
3212 maybe-configure-stage4-bfd: configure-stage4-bfd
3213 configure-stage4-bfd:
3214 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3215 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3216 @r=`${PWD_COMMAND}`; export r; \
3217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3218 TFLAGS="$(STAGE4_TFLAGS)"; \
3219 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3220 $(HOST_EXPORTS) \
3221 $(POSTSTAGE1_HOST_EXPORTS) \
3222 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
3223 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
3224 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
3225 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd ; \
3226 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3227 cd $(HOST_SUBDIR)/bfd || exit 1; \
3228 case $(srcdir) in \
3229 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3230 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3231 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3232 esac; \
3233 module_srcdir=bfd; \
3234 $(SHELL) $$s/$$module_srcdir/configure \
3235 --srcdir=$${topdir}/$$module_srcdir \
3236 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3237 --target=${target_alias} \
3238 --with-build-libsubdir=$(HOST_SUBDIR) \
3239 $(STAGE4_CONFIGURE_FLAGS)
3240 @endif bfd-bootstrap
3242 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
3243 maybe-configure-stageprofile-bfd:
3244 @if bfd-bootstrap
3245 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
3246 configure-stageprofile-bfd:
3247 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3248 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3249 @r=`${PWD_COMMAND}`; export r; \
3250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3251 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3252 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3253 $(HOST_EXPORTS) \
3254 $(POSTSTAGE1_HOST_EXPORTS) \
3255 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
3256 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
3257 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
3258 echo Configuring stage profile in $(HOST_SUBDIR)/bfd ; \
3259 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3260 cd $(HOST_SUBDIR)/bfd || exit 1; \
3261 case $(srcdir) in \
3262 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3263 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3264 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3265 esac; \
3266 module_srcdir=bfd; \
3267 $(SHELL) $$s/$$module_srcdir/configure \
3268 --srcdir=$${topdir}/$$module_srcdir \
3269 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3270 --target=${target_alias} \
3271 --with-build-libsubdir=$(HOST_SUBDIR) \
3272 $(STAGEprofile_CONFIGURE_FLAGS)
3273 @endif bfd-bootstrap
3275 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
3276 maybe-configure-stagefeedback-bfd:
3277 @if bfd-bootstrap
3278 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
3279 configure-stagefeedback-bfd:
3280 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3281 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3282 @r=`${PWD_COMMAND}`; export r; \
3283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3284 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3285 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3286 $(HOST_EXPORTS) \
3287 $(POSTSTAGE1_HOST_EXPORTS) \
3288 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
3289 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
3290 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
3291 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd ; \
3292 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3293 cd $(HOST_SUBDIR)/bfd || exit 1; \
3294 case $(srcdir) in \
3295 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3296 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3297 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3298 esac; \
3299 module_srcdir=bfd; \
3300 $(SHELL) $$s/$$module_srcdir/configure \
3301 --srcdir=$${topdir}/$$module_srcdir \
3302 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3303 --target=${target_alias} \
3304 --with-build-libsubdir=$(HOST_SUBDIR) \
3305 $(STAGEfeedback_CONFIGURE_FLAGS)
3306 @endif bfd-bootstrap
3312 .PHONY: all-bfd maybe-all-bfd
3313 maybe-all-bfd:
3314 @if gcc-bootstrap
3315 all-bfd: stage_current
3316 @endif gcc-bootstrap
3317 @if bfd
3318 TARGET-bfd=all
3319 maybe-all-bfd: all-bfd
3320 all-bfd: configure-bfd
3321 @r=`${PWD_COMMAND}`; export r; \
3322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3323 $(HOST_EXPORTS) \
3324 (cd $(HOST_SUBDIR)/bfd && \
3325 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
3326 $(TARGET-bfd))
3327 @endif bfd
3331 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
3332 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
3333 maybe-all-stage1-bfd:
3334 maybe-clean-stage1-bfd:
3335 @if bfd-bootstrap
3336 maybe-all-stage1-bfd: all-stage1-bfd
3337 all-stage1: all-stage1-bfd
3338 TARGET-stage1-bfd = $(TARGET-bfd)
3339 all-stage1-bfd: configure-stage1-bfd
3340 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3341 @r=`${PWD_COMMAND}`; export r; \
3342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3343 TFLAGS="$(STAGE1_TFLAGS)"; \
3344 $(HOST_EXPORTS) \
3345 cd $(HOST_SUBDIR)/bfd && \
3346 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3347 CFLAGS="$(STAGE1_CFLAGS)" \
3348 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
3349 LIBCFLAGS="$(LIBCFLAGS)" \
3350 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3351 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3352 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3353 $(EXTRA_HOST_FLAGS) \
3354 $(STAGE1_FLAGS_TO_PASS) \
3355 TFLAGS="$(STAGE1_TFLAGS)" \
3356 $(TARGET-stage1-bfd)
3358 maybe-clean-stage1-bfd: clean-stage1-bfd
3359 clean-stage1: clean-stage1-bfd
3360 clean-stage1-bfd:
3361 @if [ $(current_stage) = stage1 ]; then \
3362 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3363 else \
3364 [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] || exit 0; \
3365 $(MAKE) stage1-start; \
3366 fi; \
3367 cd $(HOST_SUBDIR)/bfd && \
3368 $(MAKE) $(EXTRA_HOST_FLAGS) \
3369 $(STAGE1_FLAGS_TO_PASS) clean
3370 @endif bfd-bootstrap
3373 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
3374 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
3375 maybe-all-stage2-bfd:
3376 maybe-clean-stage2-bfd:
3377 @if bfd-bootstrap
3378 maybe-all-stage2-bfd: all-stage2-bfd
3379 all-stage2: all-stage2-bfd
3380 TARGET-stage2-bfd = $(TARGET-bfd)
3381 all-stage2-bfd: configure-stage2-bfd
3382 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3383 @r=`${PWD_COMMAND}`; export r; \
3384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3385 TFLAGS="$(STAGE2_TFLAGS)"; \
3386 $(HOST_EXPORTS) \
3387 $(POSTSTAGE1_HOST_EXPORTS) \
3388 cd $(HOST_SUBDIR)/bfd && \
3389 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3390 CFLAGS="$(STAGE2_CFLAGS)" \
3391 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
3392 LIBCFLAGS="$(STAGE2_CFLAGS)" \
3393 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3394 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3395 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3396 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3397 TFLAGS="$(STAGE2_TFLAGS)" \
3398 $(TARGET-stage2-bfd)
3400 maybe-clean-stage2-bfd: clean-stage2-bfd
3401 clean-stage2: clean-stage2-bfd
3402 clean-stage2-bfd:
3403 @if [ $(current_stage) = stage2 ]; then \
3404 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3405 else \
3406 [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] || exit 0; \
3407 $(MAKE) stage2-start; \
3408 fi; \
3409 cd $(HOST_SUBDIR)/bfd && \
3410 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3411 @endif bfd-bootstrap
3414 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
3415 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
3416 maybe-all-stage3-bfd:
3417 maybe-clean-stage3-bfd:
3418 @if bfd-bootstrap
3419 maybe-all-stage3-bfd: all-stage3-bfd
3420 all-stage3: all-stage3-bfd
3421 TARGET-stage3-bfd = $(TARGET-bfd)
3422 all-stage3-bfd: configure-stage3-bfd
3423 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3424 @r=`${PWD_COMMAND}`; export r; \
3425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3426 TFLAGS="$(STAGE3_TFLAGS)"; \
3427 $(HOST_EXPORTS) \
3428 $(POSTSTAGE1_HOST_EXPORTS) \
3429 cd $(HOST_SUBDIR)/bfd && \
3430 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3431 CFLAGS="$(STAGE3_CFLAGS)" \
3432 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
3433 LIBCFLAGS="$(STAGE3_CFLAGS)" \
3434 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3435 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3436 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3437 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3438 TFLAGS="$(STAGE3_TFLAGS)" \
3439 $(TARGET-stage3-bfd)
3441 maybe-clean-stage3-bfd: clean-stage3-bfd
3442 clean-stage3: clean-stage3-bfd
3443 clean-stage3-bfd:
3444 @if [ $(current_stage) = stage3 ]; then \
3445 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3446 else \
3447 [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] || exit 0; \
3448 $(MAKE) stage3-start; \
3449 fi; \
3450 cd $(HOST_SUBDIR)/bfd && \
3451 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3452 @endif bfd-bootstrap
3455 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
3456 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
3457 maybe-all-stage4-bfd:
3458 maybe-clean-stage4-bfd:
3459 @if bfd-bootstrap
3460 maybe-all-stage4-bfd: all-stage4-bfd
3461 all-stage4: all-stage4-bfd
3462 TARGET-stage4-bfd = $(TARGET-bfd)
3463 all-stage4-bfd: configure-stage4-bfd
3464 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3465 @r=`${PWD_COMMAND}`; export r; \
3466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3467 TFLAGS="$(STAGE4_TFLAGS)"; \
3468 $(HOST_EXPORTS) \
3469 $(POSTSTAGE1_HOST_EXPORTS) \
3470 cd $(HOST_SUBDIR)/bfd && \
3471 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3472 CFLAGS="$(STAGE4_CFLAGS)" \
3473 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
3474 LIBCFLAGS="$(STAGE4_CFLAGS)" \
3475 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3476 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3477 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3478 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3479 TFLAGS="$(STAGE4_TFLAGS)" \
3480 $(TARGET-stage4-bfd)
3482 maybe-clean-stage4-bfd: clean-stage4-bfd
3483 clean-stage4: clean-stage4-bfd
3484 clean-stage4-bfd:
3485 @if [ $(current_stage) = stage4 ]; then \
3486 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3487 else \
3488 [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] || exit 0; \
3489 $(MAKE) stage4-start; \
3490 fi; \
3491 cd $(HOST_SUBDIR)/bfd && \
3492 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3493 @endif bfd-bootstrap
3496 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
3497 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
3498 maybe-all-stageprofile-bfd:
3499 maybe-clean-stageprofile-bfd:
3500 @if bfd-bootstrap
3501 maybe-all-stageprofile-bfd: all-stageprofile-bfd
3502 all-stageprofile: all-stageprofile-bfd
3503 TARGET-stageprofile-bfd = $(TARGET-bfd)
3504 all-stageprofile-bfd: configure-stageprofile-bfd
3505 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3506 @r=`${PWD_COMMAND}`; export r; \
3507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3508 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3509 $(HOST_EXPORTS) \
3510 $(POSTSTAGE1_HOST_EXPORTS) \
3511 cd $(HOST_SUBDIR)/bfd && \
3512 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3513 CFLAGS="$(STAGEprofile_CFLAGS)" \
3514 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
3515 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
3516 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3517 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3518 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3519 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3520 TFLAGS="$(STAGEprofile_TFLAGS)" \
3521 $(TARGET-stageprofile-bfd)
3523 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
3524 clean-stageprofile: clean-stageprofile-bfd
3525 clean-stageprofile-bfd:
3526 @if [ $(current_stage) = stageprofile ]; then \
3527 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3528 else \
3529 [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] || exit 0; \
3530 $(MAKE) stageprofile-start; \
3531 fi; \
3532 cd $(HOST_SUBDIR)/bfd && \
3533 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3534 @endif bfd-bootstrap
3537 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
3538 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
3539 maybe-all-stagefeedback-bfd:
3540 maybe-clean-stagefeedback-bfd:
3541 @if bfd-bootstrap
3542 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
3543 all-stagefeedback: all-stagefeedback-bfd
3544 TARGET-stagefeedback-bfd = $(TARGET-bfd)
3545 all-stagefeedback-bfd: configure-stagefeedback-bfd
3546 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3547 @r=`${PWD_COMMAND}`; export r; \
3548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3549 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3550 $(HOST_EXPORTS) \
3551 $(POSTSTAGE1_HOST_EXPORTS) \
3552 cd $(HOST_SUBDIR)/bfd && \
3553 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3554 CFLAGS="$(STAGEfeedback_CFLAGS)" \
3555 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
3556 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
3557 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3558 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3559 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3560 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3561 TFLAGS="$(STAGEfeedback_TFLAGS)" \
3562 $(TARGET-stagefeedback-bfd)
3564 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
3565 clean-stagefeedback: clean-stagefeedback-bfd
3566 clean-stagefeedback-bfd:
3567 @if [ $(current_stage) = stagefeedback ]; then \
3568 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3569 else \
3570 [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] || exit 0; \
3571 $(MAKE) stagefeedback-start; \
3572 fi; \
3573 cd $(HOST_SUBDIR)/bfd && \
3574 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3575 @endif bfd-bootstrap
3581 .PHONY: check-bfd maybe-check-bfd
3582 maybe-check-bfd:
3583 @if bfd
3584 maybe-check-bfd: check-bfd
3586 check-bfd:
3587 @: $(MAKE); $(unstage)
3588 @r=`${PWD_COMMAND}`; export r; \
3589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3590 $(HOST_EXPORTS) \
3591 (cd $(HOST_SUBDIR)/bfd && \
3592 $(MAKE) $(FLAGS_TO_PASS) check)
3594 @endif bfd
3596 .PHONY: install-bfd maybe-install-bfd
3597 maybe-install-bfd:
3598 @if bfd
3599 maybe-install-bfd: install-bfd
3601 install-bfd: installdirs
3602 @: $(MAKE); $(unstage)
3603 @r=`${PWD_COMMAND}`; export r; \
3604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3605 $(HOST_EXPORTS) \
3606 (cd $(HOST_SUBDIR)/bfd && \
3607 $(MAKE) $(FLAGS_TO_PASS) install)
3609 @endif bfd
3611 .PHONY: install-strip-bfd maybe-install-strip-bfd
3612 maybe-install-strip-bfd:
3613 @if bfd
3614 maybe-install-strip-bfd: install-strip-bfd
3616 install-strip-bfd: installdirs
3617 @: $(MAKE); $(unstage)
3618 @r=`${PWD_COMMAND}`; export r; \
3619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3620 $(HOST_EXPORTS) \
3621 (cd $(HOST_SUBDIR)/bfd && \
3622 $(MAKE) $(FLAGS_TO_PASS) install-strip)
3624 @endif bfd
3626 # Other targets (info, dvi, pdf, etc.)
3628 .PHONY: maybe-info-bfd info-bfd
3629 maybe-info-bfd:
3630 @if bfd
3631 maybe-info-bfd: info-bfd
3633 info-bfd: \
3634 configure-bfd
3635 @[ -f ./bfd/Makefile ] || exit 0; \
3636 r=`${PWD_COMMAND}`; export r; \
3637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3638 $(HOST_EXPORTS) \
3639 for flag in $(EXTRA_HOST_FLAGS) ; do \
3640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3641 done; \
3642 echo "Doing info in bfd" ; \
3643 (cd $(HOST_SUBDIR)/bfd && \
3644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3646 "RANLIB=$${RANLIB}" \
3647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3648 info) \
3649 || exit 1
3651 @endif bfd
3653 .PHONY: maybe-dvi-bfd dvi-bfd
3654 maybe-dvi-bfd:
3655 @if bfd
3656 maybe-dvi-bfd: dvi-bfd
3658 dvi-bfd: \
3659 configure-bfd
3660 @[ -f ./bfd/Makefile ] || exit 0; \
3661 r=`${PWD_COMMAND}`; export r; \
3662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3663 $(HOST_EXPORTS) \
3664 for flag in $(EXTRA_HOST_FLAGS) ; do \
3665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3666 done; \
3667 echo "Doing dvi in bfd" ; \
3668 (cd $(HOST_SUBDIR)/bfd && \
3669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3671 "RANLIB=$${RANLIB}" \
3672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3673 dvi) \
3674 || exit 1
3676 @endif bfd
3678 .PHONY: maybe-pdf-bfd pdf-bfd
3679 maybe-pdf-bfd:
3680 @if bfd
3681 maybe-pdf-bfd: pdf-bfd
3683 pdf-bfd: \
3684 configure-bfd
3685 @[ -f ./bfd/Makefile ] || exit 0; \
3686 r=`${PWD_COMMAND}`; export r; \
3687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3688 $(HOST_EXPORTS) \
3689 for flag in $(EXTRA_HOST_FLAGS) ; do \
3690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3691 done; \
3692 echo "Doing pdf in bfd" ; \
3693 (cd $(HOST_SUBDIR)/bfd && \
3694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3696 "RANLIB=$${RANLIB}" \
3697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3698 pdf) \
3699 || exit 1
3701 @endif bfd
3703 .PHONY: maybe-html-bfd html-bfd
3704 maybe-html-bfd:
3705 @if bfd
3706 maybe-html-bfd: html-bfd
3708 html-bfd: \
3709 configure-bfd
3710 @[ -f ./bfd/Makefile ] || exit 0; \
3711 r=`${PWD_COMMAND}`; export r; \
3712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3713 $(HOST_EXPORTS) \
3714 for flag in $(EXTRA_HOST_FLAGS) ; do \
3715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3716 done; \
3717 echo "Doing html in bfd" ; \
3718 (cd $(HOST_SUBDIR)/bfd && \
3719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3721 "RANLIB=$${RANLIB}" \
3722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3723 html) \
3724 || exit 1
3726 @endif bfd
3728 .PHONY: maybe-TAGS-bfd TAGS-bfd
3729 maybe-TAGS-bfd:
3730 @if bfd
3731 maybe-TAGS-bfd: TAGS-bfd
3733 TAGS-bfd: \
3734 configure-bfd
3735 @[ -f ./bfd/Makefile ] || exit 0; \
3736 r=`${PWD_COMMAND}`; export r; \
3737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3738 $(HOST_EXPORTS) \
3739 for flag in $(EXTRA_HOST_FLAGS) ; do \
3740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3741 done; \
3742 echo "Doing TAGS in bfd" ; \
3743 (cd $(HOST_SUBDIR)/bfd && \
3744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3746 "RANLIB=$${RANLIB}" \
3747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3748 TAGS) \
3749 || exit 1
3751 @endif bfd
3753 .PHONY: maybe-install-info-bfd install-info-bfd
3754 maybe-install-info-bfd:
3755 @if bfd
3756 maybe-install-info-bfd: install-info-bfd
3758 install-info-bfd: \
3759 configure-bfd \
3760 info-bfd
3761 @[ -f ./bfd/Makefile ] || exit 0; \
3762 r=`${PWD_COMMAND}`; export r; \
3763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3764 $(HOST_EXPORTS) \
3765 for flag in $(EXTRA_HOST_FLAGS) ; do \
3766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3767 done; \
3768 echo "Doing install-info in bfd" ; \
3769 (cd $(HOST_SUBDIR)/bfd && \
3770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3772 "RANLIB=$${RANLIB}" \
3773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3774 install-info) \
3775 || exit 1
3777 @endif bfd
3779 .PHONY: maybe-install-pdf-bfd install-pdf-bfd
3780 maybe-install-pdf-bfd:
3781 @if bfd
3782 maybe-install-pdf-bfd: install-pdf-bfd
3784 install-pdf-bfd: \
3785 configure-bfd \
3786 pdf-bfd
3787 @[ -f ./bfd/Makefile ] || exit 0; \
3788 r=`${PWD_COMMAND}`; export r; \
3789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3790 $(HOST_EXPORTS) \
3791 for flag in $(EXTRA_HOST_FLAGS) ; do \
3792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3793 done; \
3794 echo "Doing install-pdf in bfd" ; \
3795 (cd $(HOST_SUBDIR)/bfd && \
3796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3798 "RANLIB=$${RANLIB}" \
3799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3800 install-pdf) \
3801 || exit 1
3803 @endif bfd
3805 .PHONY: maybe-install-html-bfd install-html-bfd
3806 maybe-install-html-bfd:
3807 @if bfd
3808 maybe-install-html-bfd: install-html-bfd
3810 install-html-bfd: \
3811 configure-bfd \
3812 html-bfd
3813 @[ -f ./bfd/Makefile ] || exit 0; \
3814 r=`${PWD_COMMAND}`; export r; \
3815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3816 $(HOST_EXPORTS) \
3817 for flag in $(EXTRA_HOST_FLAGS) ; do \
3818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3819 done; \
3820 echo "Doing install-html in bfd" ; \
3821 (cd $(HOST_SUBDIR)/bfd && \
3822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3824 "RANLIB=$${RANLIB}" \
3825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3826 install-html) \
3827 || exit 1
3829 @endif bfd
3831 .PHONY: maybe-installcheck-bfd installcheck-bfd
3832 maybe-installcheck-bfd:
3833 @if bfd
3834 maybe-installcheck-bfd: installcheck-bfd
3836 installcheck-bfd: \
3837 configure-bfd
3838 @[ -f ./bfd/Makefile ] || exit 0; \
3839 r=`${PWD_COMMAND}`; export r; \
3840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3841 $(HOST_EXPORTS) \
3842 for flag in $(EXTRA_HOST_FLAGS) ; do \
3843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3844 done; \
3845 echo "Doing installcheck in bfd" ; \
3846 (cd $(HOST_SUBDIR)/bfd && \
3847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3849 "RANLIB=$${RANLIB}" \
3850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3851 installcheck) \
3852 || exit 1
3854 @endif bfd
3856 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
3857 maybe-mostlyclean-bfd:
3858 @if bfd
3859 maybe-mostlyclean-bfd: mostlyclean-bfd
3861 mostlyclean-bfd:
3862 @[ -f ./bfd/Makefile ] || exit 0; \
3863 r=`${PWD_COMMAND}`; export r; \
3864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3865 $(HOST_EXPORTS) \
3866 for flag in $(EXTRA_HOST_FLAGS) ; do \
3867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3868 done; \
3869 echo "Doing mostlyclean in bfd" ; \
3870 (cd $(HOST_SUBDIR)/bfd && \
3871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3873 "RANLIB=$${RANLIB}" \
3874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3875 mostlyclean) \
3876 || exit 1
3878 @endif bfd
3880 .PHONY: maybe-clean-bfd clean-bfd
3881 maybe-clean-bfd:
3882 @if bfd
3883 maybe-clean-bfd: clean-bfd
3885 clean-bfd:
3886 @[ -f ./bfd/Makefile ] || exit 0; \
3887 r=`${PWD_COMMAND}`; export r; \
3888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3889 $(HOST_EXPORTS) \
3890 for flag in $(EXTRA_HOST_FLAGS) ; do \
3891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3892 done; \
3893 echo "Doing clean in bfd" ; \
3894 (cd $(HOST_SUBDIR)/bfd && \
3895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3897 "RANLIB=$${RANLIB}" \
3898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3899 clean) \
3900 || exit 1
3902 @endif bfd
3904 .PHONY: maybe-distclean-bfd distclean-bfd
3905 maybe-distclean-bfd:
3906 @if bfd
3907 maybe-distclean-bfd: distclean-bfd
3909 distclean-bfd:
3910 @[ -f ./bfd/Makefile ] || exit 0; \
3911 r=`${PWD_COMMAND}`; export r; \
3912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3913 $(HOST_EXPORTS) \
3914 for flag in $(EXTRA_HOST_FLAGS) ; do \
3915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3916 done; \
3917 echo "Doing distclean in bfd" ; \
3918 (cd $(HOST_SUBDIR)/bfd && \
3919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3921 "RANLIB=$${RANLIB}" \
3922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3923 distclean) \
3924 || exit 1
3926 @endif bfd
3928 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
3929 maybe-maintainer-clean-bfd:
3930 @if bfd
3931 maybe-maintainer-clean-bfd: maintainer-clean-bfd
3933 maintainer-clean-bfd:
3934 @[ -f ./bfd/Makefile ] || exit 0; \
3935 r=`${PWD_COMMAND}`; export r; \
3936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3937 $(HOST_EXPORTS) \
3938 for flag in $(EXTRA_HOST_FLAGS) ; do \
3939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3940 done; \
3941 echo "Doing maintainer-clean in bfd" ; \
3942 (cd $(HOST_SUBDIR)/bfd && \
3943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3945 "RANLIB=$${RANLIB}" \
3946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3947 maintainer-clean) \
3948 || exit 1
3950 @endif bfd
3954 .PHONY: configure-opcodes maybe-configure-opcodes
3955 maybe-configure-opcodes:
3956 @if gcc-bootstrap
3957 configure-opcodes: stage_current
3958 @endif gcc-bootstrap
3959 @if opcodes
3960 maybe-configure-opcodes: configure-opcodes
3961 configure-opcodes:
3962 @r=`${PWD_COMMAND}`; export r; \
3963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3964 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3965 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
3966 $(HOST_EXPORTS) \
3967 echo Configuring in $(HOST_SUBDIR)/opcodes; \
3968 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
3969 case $(srcdir) in \
3970 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3971 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
3972 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3973 esac; \
3974 module_srcdir=opcodes; \
3975 $(SHELL) \
3976 $$s/$$module_srcdir/configure \
3977 --srcdir=$${topdir}/$$module_srcdir \
3978 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3979 --target=${target_alias} \
3980 || exit 1
3981 @endif opcodes
3985 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
3986 maybe-configure-stage1-opcodes:
3987 @if opcodes-bootstrap
3988 maybe-configure-stage1-opcodes: configure-stage1-opcodes
3989 configure-stage1-opcodes:
3990 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3991 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
3992 @r=`${PWD_COMMAND}`; export r; \
3993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3994 TFLAGS="$(STAGE1_TFLAGS)"; \
3995 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
3996 $(HOST_EXPORTS) \
3997 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
3998 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
3999 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
4000 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes ; \
4001 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4002 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4003 case $(srcdir) in \
4004 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4005 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4006 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4007 esac; \
4008 module_srcdir=opcodes; \
4009 $(SHELL) $$s/$$module_srcdir/configure \
4010 --srcdir=$${topdir}/$$module_srcdir \
4011 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4012 --target=${target_alias} \
4014 $(STAGE1_CONFIGURE_FLAGS)
4015 @endif opcodes-bootstrap
4017 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
4018 maybe-configure-stage2-opcodes:
4019 @if opcodes-bootstrap
4020 maybe-configure-stage2-opcodes: configure-stage2-opcodes
4021 configure-stage2-opcodes:
4022 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4023 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4024 @r=`${PWD_COMMAND}`; export r; \
4025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4026 TFLAGS="$(STAGE2_TFLAGS)"; \
4027 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4028 $(HOST_EXPORTS) \
4029 $(POSTSTAGE1_HOST_EXPORTS) \
4030 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
4031 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
4032 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
4033 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes ; \
4034 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4035 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4036 case $(srcdir) in \
4037 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4038 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4039 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4040 esac; \
4041 module_srcdir=opcodes; \
4042 $(SHELL) $$s/$$module_srcdir/configure \
4043 --srcdir=$${topdir}/$$module_srcdir \
4044 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4045 --target=${target_alias} \
4046 --with-build-libsubdir=$(HOST_SUBDIR) \
4047 $(STAGE2_CONFIGURE_FLAGS)
4048 @endif opcodes-bootstrap
4050 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
4051 maybe-configure-stage3-opcodes:
4052 @if opcodes-bootstrap
4053 maybe-configure-stage3-opcodes: configure-stage3-opcodes
4054 configure-stage3-opcodes:
4055 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4056 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4057 @r=`${PWD_COMMAND}`; export r; \
4058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4059 TFLAGS="$(STAGE3_TFLAGS)"; \
4060 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4061 $(HOST_EXPORTS) \
4062 $(POSTSTAGE1_HOST_EXPORTS) \
4063 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
4064 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
4065 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
4066 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes ; \
4067 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4068 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4069 case $(srcdir) in \
4070 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4071 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4072 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4073 esac; \
4074 module_srcdir=opcodes; \
4075 $(SHELL) $$s/$$module_srcdir/configure \
4076 --srcdir=$${topdir}/$$module_srcdir \
4077 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4078 --target=${target_alias} \
4079 --with-build-libsubdir=$(HOST_SUBDIR) \
4080 $(STAGE3_CONFIGURE_FLAGS)
4081 @endif opcodes-bootstrap
4083 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
4084 maybe-configure-stage4-opcodes:
4085 @if opcodes-bootstrap
4086 maybe-configure-stage4-opcodes: configure-stage4-opcodes
4087 configure-stage4-opcodes:
4088 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4089 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4090 @r=`${PWD_COMMAND}`; export r; \
4091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4092 TFLAGS="$(STAGE4_TFLAGS)"; \
4093 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4094 $(HOST_EXPORTS) \
4095 $(POSTSTAGE1_HOST_EXPORTS) \
4096 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
4097 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
4098 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
4099 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes ; \
4100 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4101 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4102 case $(srcdir) in \
4103 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4104 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4105 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4106 esac; \
4107 module_srcdir=opcodes; \
4108 $(SHELL) $$s/$$module_srcdir/configure \
4109 --srcdir=$${topdir}/$$module_srcdir \
4110 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4111 --target=${target_alias} \
4112 --with-build-libsubdir=$(HOST_SUBDIR) \
4113 $(STAGE4_CONFIGURE_FLAGS)
4114 @endif opcodes-bootstrap
4116 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
4117 maybe-configure-stageprofile-opcodes:
4118 @if opcodes-bootstrap
4119 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
4120 configure-stageprofile-opcodes:
4121 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4122 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4123 @r=`${PWD_COMMAND}`; export r; \
4124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4125 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4126 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4127 $(HOST_EXPORTS) \
4128 $(POSTSTAGE1_HOST_EXPORTS) \
4129 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
4130 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
4131 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
4132 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes ; \
4133 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4134 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4135 case $(srcdir) in \
4136 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4137 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4138 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4139 esac; \
4140 module_srcdir=opcodes; \
4141 $(SHELL) $$s/$$module_srcdir/configure \
4142 --srcdir=$${topdir}/$$module_srcdir \
4143 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4144 --target=${target_alias} \
4145 --with-build-libsubdir=$(HOST_SUBDIR) \
4146 $(STAGEprofile_CONFIGURE_FLAGS)
4147 @endif opcodes-bootstrap
4149 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
4150 maybe-configure-stagefeedback-opcodes:
4151 @if opcodes-bootstrap
4152 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
4153 configure-stagefeedback-opcodes:
4154 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4155 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4156 @r=`${PWD_COMMAND}`; export r; \
4157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4158 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4159 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4160 $(HOST_EXPORTS) \
4161 $(POSTSTAGE1_HOST_EXPORTS) \
4162 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
4163 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
4164 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
4165 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes ; \
4166 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4167 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4168 case $(srcdir) in \
4169 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4170 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4171 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4172 esac; \
4173 module_srcdir=opcodes; \
4174 $(SHELL) $$s/$$module_srcdir/configure \
4175 --srcdir=$${topdir}/$$module_srcdir \
4176 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4177 --target=${target_alias} \
4178 --with-build-libsubdir=$(HOST_SUBDIR) \
4179 $(STAGEfeedback_CONFIGURE_FLAGS)
4180 @endif opcodes-bootstrap
4186 .PHONY: all-opcodes maybe-all-opcodes
4187 maybe-all-opcodes:
4188 @if gcc-bootstrap
4189 all-opcodes: stage_current
4190 @endif gcc-bootstrap
4191 @if opcodes
4192 TARGET-opcodes=all
4193 maybe-all-opcodes: all-opcodes
4194 all-opcodes: configure-opcodes
4195 @r=`${PWD_COMMAND}`; export r; \
4196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4197 $(HOST_EXPORTS) \
4198 (cd $(HOST_SUBDIR)/opcodes && \
4199 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
4200 $(TARGET-opcodes))
4201 @endif opcodes
4205 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
4206 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
4207 maybe-all-stage1-opcodes:
4208 maybe-clean-stage1-opcodes:
4209 @if opcodes-bootstrap
4210 maybe-all-stage1-opcodes: all-stage1-opcodes
4211 all-stage1: all-stage1-opcodes
4212 TARGET-stage1-opcodes = $(TARGET-opcodes)
4213 all-stage1-opcodes: configure-stage1-opcodes
4214 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4215 @r=`${PWD_COMMAND}`; export r; \
4216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4217 TFLAGS="$(STAGE1_TFLAGS)"; \
4218 $(HOST_EXPORTS) \
4219 cd $(HOST_SUBDIR)/opcodes && \
4220 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4221 CFLAGS="$(STAGE1_CFLAGS)" \
4222 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
4223 LIBCFLAGS="$(LIBCFLAGS)" \
4224 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4225 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4226 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4227 $(EXTRA_HOST_FLAGS) \
4228 $(STAGE1_FLAGS_TO_PASS) \
4229 TFLAGS="$(STAGE1_TFLAGS)" \
4230 $(TARGET-stage1-opcodes)
4232 maybe-clean-stage1-opcodes: clean-stage1-opcodes
4233 clean-stage1: clean-stage1-opcodes
4234 clean-stage1-opcodes:
4235 @if [ $(current_stage) = stage1 ]; then \
4236 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4237 else \
4238 [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] || exit 0; \
4239 $(MAKE) stage1-start; \
4240 fi; \
4241 cd $(HOST_SUBDIR)/opcodes && \
4242 $(MAKE) $(EXTRA_HOST_FLAGS) \
4243 $(STAGE1_FLAGS_TO_PASS) clean
4244 @endif opcodes-bootstrap
4247 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
4248 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
4249 maybe-all-stage2-opcodes:
4250 maybe-clean-stage2-opcodes:
4251 @if opcodes-bootstrap
4252 maybe-all-stage2-opcodes: all-stage2-opcodes
4253 all-stage2: all-stage2-opcodes
4254 TARGET-stage2-opcodes = $(TARGET-opcodes)
4255 all-stage2-opcodes: configure-stage2-opcodes
4256 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4257 @r=`${PWD_COMMAND}`; export r; \
4258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4259 TFLAGS="$(STAGE2_TFLAGS)"; \
4260 $(HOST_EXPORTS) \
4261 $(POSTSTAGE1_HOST_EXPORTS) \
4262 cd $(HOST_SUBDIR)/opcodes && \
4263 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4264 CFLAGS="$(STAGE2_CFLAGS)" \
4265 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
4266 LIBCFLAGS="$(STAGE2_CFLAGS)" \
4267 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4268 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4269 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4270 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4271 TFLAGS="$(STAGE2_TFLAGS)" \
4272 $(TARGET-stage2-opcodes)
4274 maybe-clean-stage2-opcodes: clean-stage2-opcodes
4275 clean-stage2: clean-stage2-opcodes
4276 clean-stage2-opcodes:
4277 @if [ $(current_stage) = stage2 ]; then \
4278 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4279 else \
4280 [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] || exit 0; \
4281 $(MAKE) stage2-start; \
4282 fi; \
4283 cd $(HOST_SUBDIR)/opcodes && \
4284 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4285 @endif opcodes-bootstrap
4288 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
4289 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
4290 maybe-all-stage3-opcodes:
4291 maybe-clean-stage3-opcodes:
4292 @if opcodes-bootstrap
4293 maybe-all-stage3-opcodes: all-stage3-opcodes
4294 all-stage3: all-stage3-opcodes
4295 TARGET-stage3-opcodes = $(TARGET-opcodes)
4296 all-stage3-opcodes: configure-stage3-opcodes
4297 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4298 @r=`${PWD_COMMAND}`; export r; \
4299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4300 TFLAGS="$(STAGE3_TFLAGS)"; \
4301 $(HOST_EXPORTS) \
4302 $(POSTSTAGE1_HOST_EXPORTS) \
4303 cd $(HOST_SUBDIR)/opcodes && \
4304 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4305 CFLAGS="$(STAGE3_CFLAGS)" \
4306 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
4307 LIBCFLAGS="$(STAGE3_CFLAGS)" \
4308 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4309 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4310 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4311 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4312 TFLAGS="$(STAGE3_TFLAGS)" \
4313 $(TARGET-stage3-opcodes)
4315 maybe-clean-stage3-opcodes: clean-stage3-opcodes
4316 clean-stage3: clean-stage3-opcodes
4317 clean-stage3-opcodes:
4318 @if [ $(current_stage) = stage3 ]; then \
4319 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4320 else \
4321 [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] || exit 0; \
4322 $(MAKE) stage3-start; \
4323 fi; \
4324 cd $(HOST_SUBDIR)/opcodes && \
4325 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4326 @endif opcodes-bootstrap
4329 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
4330 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
4331 maybe-all-stage4-opcodes:
4332 maybe-clean-stage4-opcodes:
4333 @if opcodes-bootstrap
4334 maybe-all-stage4-opcodes: all-stage4-opcodes
4335 all-stage4: all-stage4-opcodes
4336 TARGET-stage4-opcodes = $(TARGET-opcodes)
4337 all-stage4-opcodes: configure-stage4-opcodes
4338 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4339 @r=`${PWD_COMMAND}`; export r; \
4340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4341 TFLAGS="$(STAGE4_TFLAGS)"; \
4342 $(HOST_EXPORTS) \
4343 $(POSTSTAGE1_HOST_EXPORTS) \
4344 cd $(HOST_SUBDIR)/opcodes && \
4345 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4346 CFLAGS="$(STAGE4_CFLAGS)" \
4347 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
4348 LIBCFLAGS="$(STAGE4_CFLAGS)" \
4349 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4350 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4351 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4352 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4353 TFLAGS="$(STAGE4_TFLAGS)" \
4354 $(TARGET-stage4-opcodes)
4356 maybe-clean-stage4-opcodes: clean-stage4-opcodes
4357 clean-stage4: clean-stage4-opcodes
4358 clean-stage4-opcodes:
4359 @if [ $(current_stage) = stage4 ]; then \
4360 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4361 else \
4362 [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] || exit 0; \
4363 $(MAKE) stage4-start; \
4364 fi; \
4365 cd $(HOST_SUBDIR)/opcodes && \
4366 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4367 @endif opcodes-bootstrap
4370 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
4371 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
4372 maybe-all-stageprofile-opcodes:
4373 maybe-clean-stageprofile-opcodes:
4374 @if opcodes-bootstrap
4375 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
4376 all-stageprofile: all-stageprofile-opcodes
4377 TARGET-stageprofile-opcodes = $(TARGET-opcodes)
4378 all-stageprofile-opcodes: configure-stageprofile-opcodes
4379 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4380 @r=`${PWD_COMMAND}`; export r; \
4381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4382 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4383 $(HOST_EXPORTS) \
4384 $(POSTSTAGE1_HOST_EXPORTS) \
4385 cd $(HOST_SUBDIR)/opcodes && \
4386 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4387 CFLAGS="$(STAGEprofile_CFLAGS)" \
4388 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
4389 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
4390 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4391 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4392 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4393 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4394 TFLAGS="$(STAGEprofile_TFLAGS)" \
4395 $(TARGET-stageprofile-opcodes)
4397 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
4398 clean-stageprofile: clean-stageprofile-opcodes
4399 clean-stageprofile-opcodes:
4400 @if [ $(current_stage) = stageprofile ]; then \
4401 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4402 else \
4403 [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] || exit 0; \
4404 $(MAKE) stageprofile-start; \
4405 fi; \
4406 cd $(HOST_SUBDIR)/opcodes && \
4407 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4408 @endif opcodes-bootstrap
4411 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
4412 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
4413 maybe-all-stagefeedback-opcodes:
4414 maybe-clean-stagefeedback-opcodes:
4415 @if opcodes-bootstrap
4416 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
4417 all-stagefeedback: all-stagefeedback-opcodes
4418 TARGET-stagefeedback-opcodes = $(TARGET-opcodes)
4419 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
4420 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4421 @r=`${PWD_COMMAND}`; export r; \
4422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4423 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4424 $(HOST_EXPORTS) \
4425 $(POSTSTAGE1_HOST_EXPORTS) \
4426 cd $(HOST_SUBDIR)/opcodes && \
4427 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4428 CFLAGS="$(STAGEfeedback_CFLAGS)" \
4429 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
4430 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
4431 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4432 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4433 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4434 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4435 TFLAGS="$(STAGEfeedback_TFLAGS)" \
4436 $(TARGET-stagefeedback-opcodes)
4438 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
4439 clean-stagefeedback: clean-stagefeedback-opcodes
4440 clean-stagefeedback-opcodes:
4441 @if [ $(current_stage) = stagefeedback ]; then \
4442 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4443 else \
4444 [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] || exit 0; \
4445 $(MAKE) stagefeedback-start; \
4446 fi; \
4447 cd $(HOST_SUBDIR)/opcodes && \
4448 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4449 @endif opcodes-bootstrap
4455 .PHONY: check-opcodes maybe-check-opcodes
4456 maybe-check-opcodes:
4457 @if opcodes
4458 maybe-check-opcodes: check-opcodes
4460 check-opcodes:
4461 @: $(MAKE); $(unstage)
4462 @r=`${PWD_COMMAND}`; export r; \
4463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4464 $(HOST_EXPORTS) \
4465 (cd $(HOST_SUBDIR)/opcodes && \
4466 $(MAKE) $(FLAGS_TO_PASS) check)
4468 @endif opcodes
4470 .PHONY: install-opcodes maybe-install-opcodes
4471 maybe-install-opcodes:
4472 @if opcodes
4473 maybe-install-opcodes: install-opcodes
4475 install-opcodes: installdirs
4476 @: $(MAKE); $(unstage)
4477 @r=`${PWD_COMMAND}`; export r; \
4478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4479 $(HOST_EXPORTS) \
4480 (cd $(HOST_SUBDIR)/opcodes && \
4481 $(MAKE) $(FLAGS_TO_PASS) install)
4483 @endif opcodes
4485 .PHONY: install-strip-opcodes maybe-install-strip-opcodes
4486 maybe-install-strip-opcodes:
4487 @if opcodes
4488 maybe-install-strip-opcodes: install-strip-opcodes
4490 install-strip-opcodes: installdirs
4491 @: $(MAKE); $(unstage)
4492 @r=`${PWD_COMMAND}`; export r; \
4493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4494 $(HOST_EXPORTS) \
4495 (cd $(HOST_SUBDIR)/opcodes && \
4496 $(MAKE) $(FLAGS_TO_PASS) install-strip)
4498 @endif opcodes
4500 # Other targets (info, dvi, pdf, etc.)
4502 .PHONY: maybe-info-opcodes info-opcodes
4503 maybe-info-opcodes:
4504 @if opcodes
4505 maybe-info-opcodes: info-opcodes
4507 info-opcodes: \
4508 configure-opcodes
4509 @[ -f ./opcodes/Makefile ] || exit 0; \
4510 r=`${PWD_COMMAND}`; export r; \
4511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4512 $(HOST_EXPORTS) \
4513 for flag in $(EXTRA_HOST_FLAGS) ; do \
4514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4515 done; \
4516 echo "Doing info in opcodes" ; \
4517 (cd $(HOST_SUBDIR)/opcodes && \
4518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4520 "RANLIB=$${RANLIB}" \
4521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4522 info) \
4523 || exit 1
4525 @endif opcodes
4527 .PHONY: maybe-dvi-opcodes dvi-opcodes
4528 maybe-dvi-opcodes:
4529 @if opcodes
4530 maybe-dvi-opcodes: dvi-opcodes
4532 dvi-opcodes: \
4533 configure-opcodes
4534 @[ -f ./opcodes/Makefile ] || exit 0; \
4535 r=`${PWD_COMMAND}`; export r; \
4536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4537 $(HOST_EXPORTS) \
4538 for flag in $(EXTRA_HOST_FLAGS) ; do \
4539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4540 done; \
4541 echo "Doing dvi in opcodes" ; \
4542 (cd $(HOST_SUBDIR)/opcodes && \
4543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4545 "RANLIB=$${RANLIB}" \
4546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4547 dvi) \
4548 || exit 1
4550 @endif opcodes
4552 .PHONY: maybe-pdf-opcodes pdf-opcodes
4553 maybe-pdf-opcodes:
4554 @if opcodes
4555 maybe-pdf-opcodes: pdf-opcodes
4557 pdf-opcodes: \
4558 configure-opcodes
4559 @[ -f ./opcodes/Makefile ] || exit 0; \
4560 r=`${PWD_COMMAND}`; export r; \
4561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4562 $(HOST_EXPORTS) \
4563 for flag in $(EXTRA_HOST_FLAGS) ; do \
4564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4565 done; \
4566 echo "Doing pdf in opcodes" ; \
4567 (cd $(HOST_SUBDIR)/opcodes && \
4568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4570 "RANLIB=$${RANLIB}" \
4571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4572 pdf) \
4573 || exit 1
4575 @endif opcodes
4577 .PHONY: maybe-html-opcodes html-opcodes
4578 maybe-html-opcodes:
4579 @if opcodes
4580 maybe-html-opcodes: html-opcodes
4582 html-opcodes: \
4583 configure-opcodes
4584 @[ -f ./opcodes/Makefile ] || exit 0; \
4585 r=`${PWD_COMMAND}`; export r; \
4586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4587 $(HOST_EXPORTS) \
4588 for flag in $(EXTRA_HOST_FLAGS) ; do \
4589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4590 done; \
4591 echo "Doing html in opcodes" ; \
4592 (cd $(HOST_SUBDIR)/opcodes && \
4593 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4594 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4595 "RANLIB=$${RANLIB}" \
4596 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4597 html) \
4598 || exit 1
4600 @endif opcodes
4602 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
4603 maybe-TAGS-opcodes:
4604 @if opcodes
4605 maybe-TAGS-opcodes: TAGS-opcodes
4607 TAGS-opcodes: \
4608 configure-opcodes
4609 @[ -f ./opcodes/Makefile ] || exit 0; \
4610 r=`${PWD_COMMAND}`; export r; \
4611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4612 $(HOST_EXPORTS) \
4613 for flag in $(EXTRA_HOST_FLAGS) ; do \
4614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4615 done; \
4616 echo "Doing TAGS in opcodes" ; \
4617 (cd $(HOST_SUBDIR)/opcodes && \
4618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4620 "RANLIB=$${RANLIB}" \
4621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4622 TAGS) \
4623 || exit 1
4625 @endif opcodes
4627 .PHONY: maybe-install-info-opcodes install-info-opcodes
4628 maybe-install-info-opcodes:
4629 @if opcodes
4630 maybe-install-info-opcodes: install-info-opcodes
4632 install-info-opcodes: \
4633 configure-opcodes \
4634 info-opcodes
4635 @[ -f ./opcodes/Makefile ] || exit 0; \
4636 r=`${PWD_COMMAND}`; export r; \
4637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4638 $(HOST_EXPORTS) \
4639 for flag in $(EXTRA_HOST_FLAGS) ; do \
4640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4641 done; \
4642 echo "Doing install-info in opcodes" ; \
4643 (cd $(HOST_SUBDIR)/opcodes && \
4644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4646 "RANLIB=$${RANLIB}" \
4647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4648 install-info) \
4649 || exit 1
4651 @endif opcodes
4653 .PHONY: maybe-install-pdf-opcodes install-pdf-opcodes
4654 maybe-install-pdf-opcodes:
4655 @if opcodes
4656 maybe-install-pdf-opcodes: install-pdf-opcodes
4658 install-pdf-opcodes: \
4659 configure-opcodes \
4660 pdf-opcodes
4661 @[ -f ./opcodes/Makefile ] || exit 0; \
4662 r=`${PWD_COMMAND}`; export r; \
4663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4664 $(HOST_EXPORTS) \
4665 for flag in $(EXTRA_HOST_FLAGS) ; do \
4666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4667 done; \
4668 echo "Doing install-pdf in opcodes" ; \
4669 (cd $(HOST_SUBDIR)/opcodes && \
4670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4672 "RANLIB=$${RANLIB}" \
4673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4674 install-pdf) \
4675 || exit 1
4677 @endif opcodes
4679 .PHONY: maybe-install-html-opcodes install-html-opcodes
4680 maybe-install-html-opcodes:
4681 @if opcodes
4682 maybe-install-html-opcodes: install-html-opcodes
4684 install-html-opcodes: \
4685 configure-opcodes \
4686 html-opcodes
4687 @[ -f ./opcodes/Makefile ] || exit 0; \
4688 r=`${PWD_COMMAND}`; export r; \
4689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4690 $(HOST_EXPORTS) \
4691 for flag in $(EXTRA_HOST_FLAGS) ; do \
4692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4693 done; \
4694 echo "Doing install-html in opcodes" ; \
4695 (cd $(HOST_SUBDIR)/opcodes && \
4696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4698 "RANLIB=$${RANLIB}" \
4699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4700 install-html) \
4701 || exit 1
4703 @endif opcodes
4705 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
4706 maybe-installcheck-opcodes:
4707 @if opcodes
4708 maybe-installcheck-opcodes: installcheck-opcodes
4710 installcheck-opcodes: \
4711 configure-opcodes
4712 @[ -f ./opcodes/Makefile ] || exit 0; \
4713 r=`${PWD_COMMAND}`; export r; \
4714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4715 $(HOST_EXPORTS) \
4716 for flag in $(EXTRA_HOST_FLAGS) ; do \
4717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4718 done; \
4719 echo "Doing installcheck in opcodes" ; \
4720 (cd $(HOST_SUBDIR)/opcodes && \
4721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4723 "RANLIB=$${RANLIB}" \
4724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4725 installcheck) \
4726 || exit 1
4728 @endif opcodes
4730 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
4731 maybe-mostlyclean-opcodes:
4732 @if opcodes
4733 maybe-mostlyclean-opcodes: mostlyclean-opcodes
4735 mostlyclean-opcodes:
4736 @[ -f ./opcodes/Makefile ] || exit 0; \
4737 r=`${PWD_COMMAND}`; export r; \
4738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4739 $(HOST_EXPORTS) \
4740 for flag in $(EXTRA_HOST_FLAGS) ; do \
4741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4742 done; \
4743 echo "Doing mostlyclean in opcodes" ; \
4744 (cd $(HOST_SUBDIR)/opcodes && \
4745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4747 "RANLIB=$${RANLIB}" \
4748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4749 mostlyclean) \
4750 || exit 1
4752 @endif opcodes
4754 .PHONY: maybe-clean-opcodes clean-opcodes
4755 maybe-clean-opcodes:
4756 @if opcodes
4757 maybe-clean-opcodes: clean-opcodes
4759 clean-opcodes:
4760 @[ -f ./opcodes/Makefile ] || exit 0; \
4761 r=`${PWD_COMMAND}`; export r; \
4762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4763 $(HOST_EXPORTS) \
4764 for flag in $(EXTRA_HOST_FLAGS) ; do \
4765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4766 done; \
4767 echo "Doing clean in opcodes" ; \
4768 (cd $(HOST_SUBDIR)/opcodes && \
4769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4771 "RANLIB=$${RANLIB}" \
4772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4773 clean) \
4774 || exit 1
4776 @endif opcodes
4778 .PHONY: maybe-distclean-opcodes distclean-opcodes
4779 maybe-distclean-opcodes:
4780 @if opcodes
4781 maybe-distclean-opcodes: distclean-opcodes
4783 distclean-opcodes:
4784 @[ -f ./opcodes/Makefile ] || exit 0; \
4785 r=`${PWD_COMMAND}`; export r; \
4786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4787 $(HOST_EXPORTS) \
4788 for flag in $(EXTRA_HOST_FLAGS) ; do \
4789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4790 done; \
4791 echo "Doing distclean in opcodes" ; \
4792 (cd $(HOST_SUBDIR)/opcodes && \
4793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4795 "RANLIB=$${RANLIB}" \
4796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4797 distclean) \
4798 || exit 1
4800 @endif opcodes
4802 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
4803 maybe-maintainer-clean-opcodes:
4804 @if opcodes
4805 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
4807 maintainer-clean-opcodes:
4808 @[ -f ./opcodes/Makefile ] || exit 0; \
4809 r=`${PWD_COMMAND}`; export r; \
4810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4811 $(HOST_EXPORTS) \
4812 for flag in $(EXTRA_HOST_FLAGS) ; do \
4813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4814 done; \
4815 echo "Doing maintainer-clean in opcodes" ; \
4816 (cd $(HOST_SUBDIR)/opcodes && \
4817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4819 "RANLIB=$${RANLIB}" \
4820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4821 maintainer-clean) \
4822 || exit 1
4824 @endif opcodes
4828 .PHONY: configure-binutils maybe-configure-binutils
4829 maybe-configure-binutils:
4830 @if gcc-bootstrap
4831 configure-binutils: stage_current
4832 @endif gcc-bootstrap
4833 @if binutils
4834 maybe-configure-binutils: configure-binutils
4835 configure-binutils:
4836 @r=`${PWD_COMMAND}`; export r; \
4837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4838 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4839 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4840 $(HOST_EXPORTS) \
4841 echo Configuring in $(HOST_SUBDIR)/binutils; \
4842 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
4843 case $(srcdir) in \
4844 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4845 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4846 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4847 esac; \
4848 module_srcdir=binutils; \
4849 $(SHELL) \
4850 $$s/$$module_srcdir/configure \
4851 --srcdir=$${topdir}/$$module_srcdir \
4852 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4853 --target=${target_alias} \
4854 || exit 1
4855 @endif binutils
4859 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
4860 maybe-configure-stage1-binutils:
4861 @if binutils-bootstrap
4862 maybe-configure-stage1-binutils: configure-stage1-binutils
4863 configure-stage1-binutils:
4864 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4865 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4866 @r=`${PWD_COMMAND}`; export r; \
4867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4868 TFLAGS="$(STAGE1_TFLAGS)"; \
4869 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4870 $(HOST_EXPORTS) \
4871 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
4872 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
4873 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
4874 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils ; \
4875 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4876 cd $(HOST_SUBDIR)/binutils || exit 1; \
4877 case $(srcdir) in \
4878 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4879 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4880 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4881 esac; \
4882 module_srcdir=binutils; \
4883 $(SHELL) $$s/$$module_srcdir/configure \
4884 --srcdir=$${topdir}/$$module_srcdir \
4885 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4886 --target=${target_alias} \
4888 $(STAGE1_CONFIGURE_FLAGS)
4889 @endif binutils-bootstrap
4891 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
4892 maybe-configure-stage2-binutils:
4893 @if binutils-bootstrap
4894 maybe-configure-stage2-binutils: configure-stage2-binutils
4895 configure-stage2-binutils:
4896 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4897 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4898 @r=`${PWD_COMMAND}`; export r; \
4899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4900 TFLAGS="$(STAGE2_TFLAGS)"; \
4901 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4902 $(HOST_EXPORTS) \
4903 $(POSTSTAGE1_HOST_EXPORTS) \
4904 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
4905 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
4906 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
4907 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils ; \
4908 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4909 cd $(HOST_SUBDIR)/binutils || exit 1; \
4910 case $(srcdir) in \
4911 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4912 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4913 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4914 esac; \
4915 module_srcdir=binutils; \
4916 $(SHELL) $$s/$$module_srcdir/configure \
4917 --srcdir=$${topdir}/$$module_srcdir \
4918 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4919 --target=${target_alias} \
4920 --with-build-libsubdir=$(HOST_SUBDIR) \
4921 $(STAGE2_CONFIGURE_FLAGS)
4922 @endif binutils-bootstrap
4924 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
4925 maybe-configure-stage3-binutils:
4926 @if binutils-bootstrap
4927 maybe-configure-stage3-binutils: configure-stage3-binutils
4928 configure-stage3-binutils:
4929 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4930 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4931 @r=`${PWD_COMMAND}`; export r; \
4932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4933 TFLAGS="$(STAGE3_TFLAGS)"; \
4934 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4935 $(HOST_EXPORTS) \
4936 $(POSTSTAGE1_HOST_EXPORTS) \
4937 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
4938 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
4939 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
4940 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils ; \
4941 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4942 cd $(HOST_SUBDIR)/binutils || exit 1; \
4943 case $(srcdir) in \
4944 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4945 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4946 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4947 esac; \
4948 module_srcdir=binutils; \
4949 $(SHELL) $$s/$$module_srcdir/configure \
4950 --srcdir=$${topdir}/$$module_srcdir \
4951 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4952 --target=${target_alias} \
4953 --with-build-libsubdir=$(HOST_SUBDIR) \
4954 $(STAGE3_CONFIGURE_FLAGS)
4955 @endif binutils-bootstrap
4957 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
4958 maybe-configure-stage4-binutils:
4959 @if binutils-bootstrap
4960 maybe-configure-stage4-binutils: configure-stage4-binutils
4961 configure-stage4-binutils:
4962 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4963 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4964 @r=`${PWD_COMMAND}`; export r; \
4965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4966 TFLAGS="$(STAGE4_TFLAGS)"; \
4967 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4968 $(HOST_EXPORTS) \
4969 $(POSTSTAGE1_HOST_EXPORTS) \
4970 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
4971 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
4972 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
4973 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils ; \
4974 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4975 cd $(HOST_SUBDIR)/binutils || exit 1; \
4976 case $(srcdir) in \
4977 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4978 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4979 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4980 esac; \
4981 module_srcdir=binutils; \
4982 $(SHELL) $$s/$$module_srcdir/configure \
4983 --srcdir=$${topdir}/$$module_srcdir \
4984 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4985 --target=${target_alias} \
4986 --with-build-libsubdir=$(HOST_SUBDIR) \
4987 $(STAGE4_CONFIGURE_FLAGS)
4988 @endif binutils-bootstrap
4990 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
4991 maybe-configure-stageprofile-binutils:
4992 @if binutils-bootstrap
4993 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
4994 configure-stageprofile-binutils:
4995 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4996 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4997 @r=`${PWD_COMMAND}`; export r; \
4998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4999 TFLAGS="$(STAGEprofile_TFLAGS)"; \
5000 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5001 $(HOST_EXPORTS) \
5002 $(POSTSTAGE1_HOST_EXPORTS) \
5003 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
5004 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
5005 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
5006 echo Configuring stage profile in $(HOST_SUBDIR)/binutils ; \
5007 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5008 cd $(HOST_SUBDIR)/binutils || exit 1; \
5009 case $(srcdir) in \
5010 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5011 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5012 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5013 esac; \
5014 module_srcdir=binutils; \
5015 $(SHELL) $$s/$$module_srcdir/configure \
5016 --srcdir=$${topdir}/$$module_srcdir \
5017 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5018 --target=${target_alias} \
5019 --with-build-libsubdir=$(HOST_SUBDIR) \
5020 $(STAGEprofile_CONFIGURE_FLAGS)
5021 @endif binutils-bootstrap
5023 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
5024 maybe-configure-stagefeedback-binutils:
5025 @if binutils-bootstrap
5026 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
5027 configure-stagefeedback-binutils:
5028 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5029 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5030 @r=`${PWD_COMMAND}`; export r; \
5031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5032 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
5033 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5034 $(HOST_EXPORTS) \
5035 $(POSTSTAGE1_HOST_EXPORTS) \
5036 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
5037 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
5038 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
5039 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils ; \
5040 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5041 cd $(HOST_SUBDIR)/binutils || exit 1; \
5042 case $(srcdir) in \
5043 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5044 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5045 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5046 esac; \
5047 module_srcdir=binutils; \
5048 $(SHELL) $$s/$$module_srcdir/configure \
5049 --srcdir=$${topdir}/$$module_srcdir \
5050 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5051 --target=${target_alias} \
5052 --with-build-libsubdir=$(HOST_SUBDIR) \
5053 $(STAGEfeedback_CONFIGURE_FLAGS)
5054 @endif binutils-bootstrap
5060 .PHONY: all-binutils maybe-all-binutils
5061 maybe-all-binutils:
5062 @if gcc-bootstrap
5063 all-binutils: stage_current
5064 @endif gcc-bootstrap
5065 @if binutils
5066 TARGET-binutils=all
5067 maybe-all-binutils: all-binutils
5068 all-binutils: configure-binutils
5069 @r=`${PWD_COMMAND}`; export r; \
5070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5071 $(HOST_EXPORTS) \
5072 (cd $(HOST_SUBDIR)/binutils && \
5073 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
5074 $(TARGET-binutils))
5075 @endif binutils
5079 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
5080 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
5081 maybe-all-stage1-binutils:
5082 maybe-clean-stage1-binutils:
5083 @if binutils-bootstrap
5084 maybe-all-stage1-binutils: all-stage1-binutils
5085 all-stage1: all-stage1-binutils
5086 TARGET-stage1-binutils = $(TARGET-binutils)
5087 all-stage1-binutils: configure-stage1-binutils
5088 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5089 @r=`${PWD_COMMAND}`; export r; \
5090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5091 TFLAGS="$(STAGE1_TFLAGS)"; \
5092 $(HOST_EXPORTS) \
5093 cd $(HOST_SUBDIR)/binutils && \
5094 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5095 CFLAGS="$(STAGE1_CFLAGS)" \
5096 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
5097 LIBCFLAGS="$(LIBCFLAGS)" \
5098 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5099 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5100 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5101 $(EXTRA_HOST_FLAGS) \
5102 $(STAGE1_FLAGS_TO_PASS) \
5103 TFLAGS="$(STAGE1_TFLAGS)" \
5104 $(TARGET-stage1-binutils)
5106 maybe-clean-stage1-binutils: clean-stage1-binutils
5107 clean-stage1: clean-stage1-binutils
5108 clean-stage1-binutils:
5109 @if [ $(current_stage) = stage1 ]; then \
5110 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5111 else \
5112 [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] || exit 0; \
5113 $(MAKE) stage1-start; \
5114 fi; \
5115 cd $(HOST_SUBDIR)/binutils && \
5116 $(MAKE) $(EXTRA_HOST_FLAGS) \
5117 $(STAGE1_FLAGS_TO_PASS) clean
5118 @endif binutils-bootstrap
5121 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
5122 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
5123 maybe-all-stage2-binutils:
5124 maybe-clean-stage2-binutils:
5125 @if binutils-bootstrap
5126 maybe-all-stage2-binutils: all-stage2-binutils
5127 all-stage2: all-stage2-binutils
5128 TARGET-stage2-binutils = $(TARGET-binutils)
5129 all-stage2-binutils: configure-stage2-binutils
5130 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5131 @r=`${PWD_COMMAND}`; export r; \
5132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5133 TFLAGS="$(STAGE2_TFLAGS)"; \
5134 $(HOST_EXPORTS) \
5135 $(POSTSTAGE1_HOST_EXPORTS) \
5136 cd $(HOST_SUBDIR)/binutils && \
5137 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5138 CFLAGS="$(STAGE2_CFLAGS)" \
5139 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
5140 LIBCFLAGS="$(STAGE2_CFLAGS)" \
5141 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5142 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5143 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5144 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5145 TFLAGS="$(STAGE2_TFLAGS)" \
5146 $(TARGET-stage2-binutils)
5148 maybe-clean-stage2-binutils: clean-stage2-binutils
5149 clean-stage2: clean-stage2-binutils
5150 clean-stage2-binutils:
5151 @if [ $(current_stage) = stage2 ]; then \
5152 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5153 else \
5154 [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] || exit 0; \
5155 $(MAKE) stage2-start; \
5156 fi; \
5157 cd $(HOST_SUBDIR)/binutils && \
5158 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5159 @endif binutils-bootstrap
5162 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
5163 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
5164 maybe-all-stage3-binutils:
5165 maybe-clean-stage3-binutils:
5166 @if binutils-bootstrap
5167 maybe-all-stage3-binutils: all-stage3-binutils
5168 all-stage3: all-stage3-binutils
5169 TARGET-stage3-binutils = $(TARGET-binutils)
5170 all-stage3-binutils: configure-stage3-binutils
5171 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5172 @r=`${PWD_COMMAND}`; export r; \
5173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5174 TFLAGS="$(STAGE3_TFLAGS)"; \
5175 $(HOST_EXPORTS) \
5176 $(POSTSTAGE1_HOST_EXPORTS) \
5177 cd $(HOST_SUBDIR)/binutils && \
5178 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5179 CFLAGS="$(STAGE3_CFLAGS)" \
5180 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
5181 LIBCFLAGS="$(STAGE3_CFLAGS)" \
5182 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5183 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5184 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5185 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5186 TFLAGS="$(STAGE3_TFLAGS)" \
5187 $(TARGET-stage3-binutils)
5189 maybe-clean-stage3-binutils: clean-stage3-binutils
5190 clean-stage3: clean-stage3-binutils
5191 clean-stage3-binutils:
5192 @if [ $(current_stage) = stage3 ]; then \
5193 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5194 else \
5195 [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] || exit 0; \
5196 $(MAKE) stage3-start; \
5197 fi; \
5198 cd $(HOST_SUBDIR)/binutils && \
5199 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5200 @endif binutils-bootstrap
5203 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
5204 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
5205 maybe-all-stage4-binutils:
5206 maybe-clean-stage4-binutils:
5207 @if binutils-bootstrap
5208 maybe-all-stage4-binutils: all-stage4-binutils
5209 all-stage4: all-stage4-binutils
5210 TARGET-stage4-binutils = $(TARGET-binutils)
5211 all-stage4-binutils: configure-stage4-binutils
5212 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5213 @r=`${PWD_COMMAND}`; export r; \
5214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5215 TFLAGS="$(STAGE4_TFLAGS)"; \
5216 $(HOST_EXPORTS) \
5217 $(POSTSTAGE1_HOST_EXPORTS) \
5218 cd $(HOST_SUBDIR)/binutils && \
5219 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5220 CFLAGS="$(STAGE4_CFLAGS)" \
5221 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
5222 LIBCFLAGS="$(STAGE4_CFLAGS)" \
5223 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5224 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5225 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5226 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5227 TFLAGS="$(STAGE4_TFLAGS)" \
5228 $(TARGET-stage4-binutils)
5230 maybe-clean-stage4-binutils: clean-stage4-binutils
5231 clean-stage4: clean-stage4-binutils
5232 clean-stage4-binutils:
5233 @if [ $(current_stage) = stage4 ]; then \
5234 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5235 else \
5236 [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] || exit 0; \
5237 $(MAKE) stage4-start; \
5238 fi; \
5239 cd $(HOST_SUBDIR)/binutils && \
5240 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5241 @endif binutils-bootstrap
5244 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
5245 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
5246 maybe-all-stageprofile-binutils:
5247 maybe-clean-stageprofile-binutils:
5248 @if binutils-bootstrap
5249 maybe-all-stageprofile-binutils: all-stageprofile-binutils
5250 all-stageprofile: all-stageprofile-binutils
5251 TARGET-stageprofile-binutils = $(TARGET-binutils)
5252 all-stageprofile-binutils: configure-stageprofile-binutils
5253 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5254 @r=`${PWD_COMMAND}`; export r; \
5255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5256 TFLAGS="$(STAGEprofile_TFLAGS)"; \
5257 $(HOST_EXPORTS) \
5258 $(POSTSTAGE1_HOST_EXPORTS) \
5259 cd $(HOST_SUBDIR)/binutils && \
5260 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5261 CFLAGS="$(STAGEprofile_CFLAGS)" \
5262 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
5263 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
5264 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5265 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5266 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5267 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5268 TFLAGS="$(STAGEprofile_TFLAGS)" \
5269 $(TARGET-stageprofile-binutils)
5271 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
5272 clean-stageprofile: clean-stageprofile-binutils
5273 clean-stageprofile-binutils:
5274 @if [ $(current_stage) = stageprofile ]; then \
5275 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5276 else \
5277 [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] || exit 0; \
5278 $(MAKE) stageprofile-start; \
5279 fi; \
5280 cd $(HOST_SUBDIR)/binutils && \
5281 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5282 @endif binutils-bootstrap
5285 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
5286 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
5287 maybe-all-stagefeedback-binutils:
5288 maybe-clean-stagefeedback-binutils:
5289 @if binutils-bootstrap
5290 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
5291 all-stagefeedback: all-stagefeedback-binutils
5292 TARGET-stagefeedback-binutils = $(TARGET-binutils)
5293 all-stagefeedback-binutils: configure-stagefeedback-binutils
5294 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5295 @r=`${PWD_COMMAND}`; export r; \
5296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5297 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
5298 $(HOST_EXPORTS) \
5299 $(POSTSTAGE1_HOST_EXPORTS) \
5300 cd $(HOST_SUBDIR)/binutils && \
5301 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5302 CFLAGS="$(STAGEfeedback_CFLAGS)" \
5303 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
5304 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
5305 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5306 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5307 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5308 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5309 TFLAGS="$(STAGEfeedback_TFLAGS)" \
5310 $(TARGET-stagefeedback-binutils)
5312 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
5313 clean-stagefeedback: clean-stagefeedback-binutils
5314 clean-stagefeedback-binutils:
5315 @if [ $(current_stage) = stagefeedback ]; then \
5316 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5317 else \
5318 [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] || exit 0; \
5319 $(MAKE) stagefeedback-start; \
5320 fi; \
5321 cd $(HOST_SUBDIR)/binutils && \
5322 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5323 @endif binutils-bootstrap
5329 .PHONY: check-binutils maybe-check-binutils
5330 maybe-check-binutils:
5331 @if binutils
5332 maybe-check-binutils: check-binutils
5334 check-binutils:
5335 @: $(MAKE); $(unstage)
5336 @r=`${PWD_COMMAND}`; export r; \
5337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5338 $(HOST_EXPORTS) \
5339 (cd $(HOST_SUBDIR)/binutils && \
5340 $(MAKE) $(FLAGS_TO_PASS) check)
5342 @endif binutils
5344 .PHONY: install-binutils maybe-install-binutils
5345 maybe-install-binutils:
5346 @if binutils
5347 maybe-install-binutils: install-binutils
5349 install-binutils: installdirs
5350 @: $(MAKE); $(unstage)
5351 @r=`${PWD_COMMAND}`; export r; \
5352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5353 $(HOST_EXPORTS) \
5354 (cd $(HOST_SUBDIR)/binutils && \
5355 $(MAKE) $(FLAGS_TO_PASS) install)
5357 @endif binutils
5359 .PHONY: install-strip-binutils maybe-install-strip-binutils
5360 maybe-install-strip-binutils:
5361 @if binutils
5362 maybe-install-strip-binutils: install-strip-binutils
5364 install-strip-binutils: installdirs
5365 @: $(MAKE); $(unstage)
5366 @r=`${PWD_COMMAND}`; export r; \
5367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5368 $(HOST_EXPORTS) \
5369 (cd $(HOST_SUBDIR)/binutils && \
5370 $(MAKE) $(FLAGS_TO_PASS) install-strip)
5372 @endif binutils
5374 # Other targets (info, dvi, pdf, etc.)
5376 .PHONY: maybe-info-binutils info-binutils
5377 maybe-info-binutils:
5378 @if binutils
5379 maybe-info-binutils: info-binutils
5381 info-binutils: \
5382 configure-binutils
5383 @[ -f ./binutils/Makefile ] || exit 0; \
5384 r=`${PWD_COMMAND}`; export r; \
5385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5386 $(HOST_EXPORTS) \
5387 for flag in $(EXTRA_HOST_FLAGS) ; do \
5388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5389 done; \
5390 echo "Doing info in binutils" ; \
5391 (cd $(HOST_SUBDIR)/binutils && \
5392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5394 "RANLIB=$${RANLIB}" \
5395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5396 info) \
5397 || exit 1
5399 @endif binutils
5401 .PHONY: maybe-dvi-binutils dvi-binutils
5402 maybe-dvi-binutils:
5403 @if binutils
5404 maybe-dvi-binutils: dvi-binutils
5406 dvi-binutils: \
5407 configure-binutils
5408 @[ -f ./binutils/Makefile ] || exit 0; \
5409 r=`${PWD_COMMAND}`; export r; \
5410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5411 $(HOST_EXPORTS) \
5412 for flag in $(EXTRA_HOST_FLAGS) ; do \
5413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5414 done; \
5415 echo "Doing dvi in binutils" ; \
5416 (cd $(HOST_SUBDIR)/binutils && \
5417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5419 "RANLIB=$${RANLIB}" \
5420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5421 dvi) \
5422 || exit 1
5424 @endif binutils
5426 .PHONY: maybe-pdf-binutils pdf-binutils
5427 maybe-pdf-binutils:
5428 @if binutils
5429 maybe-pdf-binutils: pdf-binutils
5431 pdf-binutils: \
5432 configure-binutils
5433 @[ -f ./binutils/Makefile ] || exit 0; \
5434 r=`${PWD_COMMAND}`; export r; \
5435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5436 $(HOST_EXPORTS) \
5437 for flag in $(EXTRA_HOST_FLAGS) ; do \
5438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5439 done; \
5440 echo "Doing pdf in binutils" ; \
5441 (cd $(HOST_SUBDIR)/binutils && \
5442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5444 "RANLIB=$${RANLIB}" \
5445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5446 pdf) \
5447 || exit 1
5449 @endif binutils
5451 .PHONY: maybe-html-binutils html-binutils
5452 maybe-html-binutils:
5453 @if binutils
5454 maybe-html-binutils: html-binutils
5456 html-binutils: \
5457 configure-binutils
5458 @[ -f ./binutils/Makefile ] || exit 0; \
5459 r=`${PWD_COMMAND}`; export r; \
5460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5461 $(HOST_EXPORTS) \
5462 for flag in $(EXTRA_HOST_FLAGS) ; do \
5463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5464 done; \
5465 echo "Doing html in binutils" ; \
5466 (cd $(HOST_SUBDIR)/binutils && \
5467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5469 "RANLIB=$${RANLIB}" \
5470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5471 html) \
5472 || exit 1
5474 @endif binutils
5476 .PHONY: maybe-TAGS-binutils TAGS-binutils
5477 maybe-TAGS-binutils:
5478 @if binutils
5479 maybe-TAGS-binutils: TAGS-binutils
5481 TAGS-binutils: \
5482 configure-binutils
5483 @[ -f ./binutils/Makefile ] || exit 0; \
5484 r=`${PWD_COMMAND}`; export r; \
5485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5486 $(HOST_EXPORTS) \
5487 for flag in $(EXTRA_HOST_FLAGS) ; do \
5488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5489 done; \
5490 echo "Doing TAGS in binutils" ; \
5491 (cd $(HOST_SUBDIR)/binutils && \
5492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5494 "RANLIB=$${RANLIB}" \
5495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5496 TAGS) \
5497 || exit 1
5499 @endif binutils
5501 .PHONY: maybe-install-info-binutils install-info-binutils
5502 maybe-install-info-binutils:
5503 @if binutils
5504 maybe-install-info-binutils: install-info-binutils
5506 install-info-binutils: \
5507 configure-binutils \
5508 info-binutils
5509 @[ -f ./binutils/Makefile ] || exit 0; \
5510 r=`${PWD_COMMAND}`; export r; \
5511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5512 $(HOST_EXPORTS) \
5513 for flag in $(EXTRA_HOST_FLAGS) ; do \
5514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5515 done; \
5516 echo "Doing install-info in binutils" ; \
5517 (cd $(HOST_SUBDIR)/binutils && \
5518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5520 "RANLIB=$${RANLIB}" \
5521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5522 install-info) \
5523 || exit 1
5525 @endif binutils
5527 .PHONY: maybe-install-pdf-binutils install-pdf-binutils
5528 maybe-install-pdf-binutils:
5529 @if binutils
5530 maybe-install-pdf-binutils: install-pdf-binutils
5532 install-pdf-binutils: \
5533 configure-binutils \
5534 pdf-binutils
5535 @[ -f ./binutils/Makefile ] || exit 0; \
5536 r=`${PWD_COMMAND}`; export r; \
5537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5538 $(HOST_EXPORTS) \
5539 for flag in $(EXTRA_HOST_FLAGS) ; do \
5540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5541 done; \
5542 echo "Doing install-pdf in binutils" ; \
5543 (cd $(HOST_SUBDIR)/binutils && \
5544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5546 "RANLIB=$${RANLIB}" \
5547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5548 install-pdf) \
5549 || exit 1
5551 @endif binutils
5553 .PHONY: maybe-install-html-binutils install-html-binutils
5554 maybe-install-html-binutils:
5555 @if binutils
5556 maybe-install-html-binutils: install-html-binutils
5558 install-html-binutils: \
5559 configure-binutils \
5560 html-binutils
5561 @[ -f ./binutils/Makefile ] || exit 0; \
5562 r=`${PWD_COMMAND}`; export r; \
5563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5564 $(HOST_EXPORTS) \
5565 for flag in $(EXTRA_HOST_FLAGS) ; do \
5566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5567 done; \
5568 echo "Doing install-html in binutils" ; \
5569 (cd $(HOST_SUBDIR)/binutils && \
5570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5572 "RANLIB=$${RANLIB}" \
5573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5574 install-html) \
5575 || exit 1
5577 @endif binutils
5579 .PHONY: maybe-installcheck-binutils installcheck-binutils
5580 maybe-installcheck-binutils:
5581 @if binutils
5582 maybe-installcheck-binutils: installcheck-binutils
5584 installcheck-binutils: \
5585 configure-binutils
5586 @[ -f ./binutils/Makefile ] || exit 0; \
5587 r=`${PWD_COMMAND}`; export r; \
5588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5589 $(HOST_EXPORTS) \
5590 for flag in $(EXTRA_HOST_FLAGS) ; do \
5591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5592 done; \
5593 echo "Doing installcheck in binutils" ; \
5594 (cd $(HOST_SUBDIR)/binutils && \
5595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5597 "RANLIB=$${RANLIB}" \
5598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5599 installcheck) \
5600 || exit 1
5602 @endif binutils
5604 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
5605 maybe-mostlyclean-binutils:
5606 @if binutils
5607 maybe-mostlyclean-binutils: mostlyclean-binutils
5609 mostlyclean-binutils:
5610 @[ -f ./binutils/Makefile ] || exit 0; \
5611 r=`${PWD_COMMAND}`; export r; \
5612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5613 $(HOST_EXPORTS) \
5614 for flag in $(EXTRA_HOST_FLAGS) ; do \
5615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5616 done; \
5617 echo "Doing mostlyclean in binutils" ; \
5618 (cd $(HOST_SUBDIR)/binutils && \
5619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5621 "RANLIB=$${RANLIB}" \
5622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5623 mostlyclean) \
5624 || exit 1
5626 @endif binutils
5628 .PHONY: maybe-clean-binutils clean-binutils
5629 maybe-clean-binutils:
5630 @if binutils
5631 maybe-clean-binutils: clean-binutils
5633 clean-binutils:
5634 @[ -f ./binutils/Makefile ] || exit 0; \
5635 r=`${PWD_COMMAND}`; export r; \
5636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5637 $(HOST_EXPORTS) \
5638 for flag in $(EXTRA_HOST_FLAGS) ; do \
5639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5640 done; \
5641 echo "Doing clean in binutils" ; \
5642 (cd $(HOST_SUBDIR)/binutils && \
5643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5645 "RANLIB=$${RANLIB}" \
5646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5647 clean) \
5648 || exit 1
5650 @endif binutils
5652 .PHONY: maybe-distclean-binutils distclean-binutils
5653 maybe-distclean-binutils:
5654 @if binutils
5655 maybe-distclean-binutils: distclean-binutils
5657 distclean-binutils:
5658 @[ -f ./binutils/Makefile ] || exit 0; \
5659 r=`${PWD_COMMAND}`; export r; \
5660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5661 $(HOST_EXPORTS) \
5662 for flag in $(EXTRA_HOST_FLAGS) ; do \
5663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5664 done; \
5665 echo "Doing distclean in binutils" ; \
5666 (cd $(HOST_SUBDIR)/binutils && \
5667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5669 "RANLIB=$${RANLIB}" \
5670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5671 distclean) \
5672 || exit 1
5674 @endif binutils
5676 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
5677 maybe-maintainer-clean-binutils:
5678 @if binutils
5679 maybe-maintainer-clean-binutils: maintainer-clean-binutils
5681 maintainer-clean-binutils:
5682 @[ -f ./binutils/Makefile ] || exit 0; \
5683 r=`${PWD_COMMAND}`; export r; \
5684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5685 $(HOST_EXPORTS) \
5686 for flag in $(EXTRA_HOST_FLAGS) ; do \
5687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5688 done; \
5689 echo "Doing maintainer-clean in binutils" ; \
5690 (cd $(HOST_SUBDIR)/binutils && \
5691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5693 "RANLIB=$${RANLIB}" \
5694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5695 maintainer-clean) \
5696 || exit 1
5698 @endif binutils
5702 .PHONY: configure-bison maybe-configure-bison
5703 maybe-configure-bison:
5704 @if gcc-bootstrap
5705 configure-bison: stage_current
5706 @endif gcc-bootstrap
5707 @if bison
5708 maybe-configure-bison: configure-bison
5709 configure-bison:
5710 @: $(MAKE); $(unstage)
5711 @r=`${PWD_COMMAND}`; export r; \
5712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5713 test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
5714 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison ; \
5715 $(HOST_EXPORTS) \
5716 echo Configuring in $(HOST_SUBDIR)/bison; \
5717 cd "$(HOST_SUBDIR)/bison" || exit 1; \
5718 case $(srcdir) in \
5719 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5720 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
5721 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5722 esac; \
5723 module_srcdir=bison; \
5724 $(SHELL) \
5725 $$s/$$module_srcdir/configure \
5726 --srcdir=$${topdir}/$$module_srcdir \
5727 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5728 --target=${target_alias} \
5729 || exit 1
5730 @endif bison
5736 .PHONY: all-bison maybe-all-bison
5737 maybe-all-bison:
5738 @if gcc-bootstrap
5739 all-bison: stage_current
5740 @endif gcc-bootstrap
5741 @if bison
5742 TARGET-bison=all
5743 maybe-all-bison: all-bison
5744 all-bison: configure-bison
5745 @: $(MAKE); $(unstage)
5746 @r=`${PWD_COMMAND}`; export r; \
5747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5748 $(HOST_EXPORTS) \
5749 (cd $(HOST_SUBDIR)/bison && \
5750 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
5751 $(TARGET-bison))
5752 @endif bison
5757 .PHONY: check-bison maybe-check-bison
5758 maybe-check-bison:
5759 @if bison
5760 maybe-check-bison: check-bison
5762 # This module is only tested in a native toolchain.
5763 check-bison:
5764 @: $(MAKE); $(unstage)
5765 @if [ '$(host)' = '$(target)' ] ; then \
5766 r=`${PWD_COMMAND}`; export r; \
5767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5768 $(HOST_EXPORTS) \
5769 (cd $(HOST_SUBDIR)/bison && \
5770 $(MAKE) $(FLAGS_TO_PASS) check); \
5773 @endif bison
5775 .PHONY: install-bison maybe-install-bison
5776 maybe-install-bison:
5777 @if bison
5778 maybe-install-bison: install-bison
5780 install-bison: installdirs
5781 @: $(MAKE); $(unstage)
5782 @r=`${PWD_COMMAND}`; export r; \
5783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5784 $(HOST_EXPORTS) \
5785 (cd $(HOST_SUBDIR)/bison && \
5786 $(MAKE) $(FLAGS_TO_PASS) install)
5788 @endif bison
5790 .PHONY: install-strip-bison maybe-install-strip-bison
5791 maybe-install-strip-bison:
5792 @if bison
5793 maybe-install-strip-bison: install-strip-bison
5795 install-strip-bison: installdirs
5796 @: $(MAKE); $(unstage)
5797 @r=`${PWD_COMMAND}`; export r; \
5798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5799 $(HOST_EXPORTS) \
5800 (cd $(HOST_SUBDIR)/bison && \
5801 $(MAKE) $(FLAGS_TO_PASS) install-strip)
5803 @endif bison
5805 # Other targets (info, dvi, pdf, etc.)
5807 .PHONY: maybe-info-bison info-bison
5808 maybe-info-bison:
5809 @if bison
5810 maybe-info-bison: info-bison
5812 info-bison: \
5813 configure-bison
5814 @: $(MAKE); $(unstage)
5815 @[ -f ./bison/Makefile ] || exit 0; \
5816 r=`${PWD_COMMAND}`; export r; \
5817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5818 $(HOST_EXPORTS) \
5819 for flag in $(EXTRA_HOST_FLAGS) ; do \
5820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5821 done; \
5822 echo "Doing info in bison" ; \
5823 (cd $(HOST_SUBDIR)/bison && \
5824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5826 "RANLIB=$${RANLIB}" \
5827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5828 info) \
5829 || exit 1
5831 @endif bison
5833 .PHONY: maybe-dvi-bison dvi-bison
5834 maybe-dvi-bison:
5835 @if bison
5836 maybe-dvi-bison: dvi-bison
5838 dvi-bison: \
5839 configure-bison
5840 @: $(MAKE); $(unstage)
5841 @[ -f ./bison/Makefile ] || exit 0; \
5842 r=`${PWD_COMMAND}`; export r; \
5843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5844 $(HOST_EXPORTS) \
5845 for flag in $(EXTRA_HOST_FLAGS) ; do \
5846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5847 done; \
5848 echo "Doing dvi in bison" ; \
5849 (cd $(HOST_SUBDIR)/bison && \
5850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5852 "RANLIB=$${RANLIB}" \
5853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5854 dvi) \
5855 || exit 1
5857 @endif bison
5859 .PHONY: maybe-pdf-bison pdf-bison
5860 maybe-pdf-bison:
5861 @if bison
5862 maybe-pdf-bison: pdf-bison
5864 pdf-bison: \
5865 configure-bison
5866 @: $(MAKE); $(unstage)
5867 @[ -f ./bison/Makefile ] || exit 0; \
5868 r=`${PWD_COMMAND}`; export r; \
5869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5870 $(HOST_EXPORTS) \
5871 for flag in $(EXTRA_HOST_FLAGS) ; do \
5872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5873 done; \
5874 echo "Doing pdf in bison" ; \
5875 (cd $(HOST_SUBDIR)/bison && \
5876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5878 "RANLIB=$${RANLIB}" \
5879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5880 pdf) \
5881 || exit 1
5883 @endif bison
5885 .PHONY: maybe-html-bison html-bison
5886 maybe-html-bison:
5887 @if bison
5888 maybe-html-bison: html-bison
5890 html-bison: \
5891 configure-bison
5892 @: $(MAKE); $(unstage)
5893 @[ -f ./bison/Makefile ] || exit 0; \
5894 r=`${PWD_COMMAND}`; export r; \
5895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5896 $(HOST_EXPORTS) \
5897 for flag in $(EXTRA_HOST_FLAGS) ; do \
5898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5899 done; \
5900 echo "Doing html in bison" ; \
5901 (cd $(HOST_SUBDIR)/bison && \
5902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5904 "RANLIB=$${RANLIB}" \
5905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5906 html) \
5907 || exit 1
5909 @endif bison
5911 .PHONY: maybe-TAGS-bison TAGS-bison
5912 maybe-TAGS-bison:
5913 @if bison
5914 maybe-TAGS-bison: TAGS-bison
5916 TAGS-bison: \
5917 configure-bison
5918 @: $(MAKE); $(unstage)
5919 @[ -f ./bison/Makefile ] || exit 0; \
5920 r=`${PWD_COMMAND}`; export r; \
5921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5922 $(HOST_EXPORTS) \
5923 for flag in $(EXTRA_HOST_FLAGS) ; do \
5924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5925 done; \
5926 echo "Doing TAGS in bison" ; \
5927 (cd $(HOST_SUBDIR)/bison && \
5928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5930 "RANLIB=$${RANLIB}" \
5931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5932 TAGS) \
5933 || exit 1
5935 @endif bison
5937 .PHONY: maybe-install-info-bison install-info-bison
5938 maybe-install-info-bison:
5939 @if bison
5940 maybe-install-info-bison: install-info-bison
5942 install-info-bison: \
5943 configure-bison \
5944 info-bison
5945 @: $(MAKE); $(unstage)
5946 @[ -f ./bison/Makefile ] || exit 0; \
5947 r=`${PWD_COMMAND}`; export r; \
5948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5949 $(HOST_EXPORTS) \
5950 for flag in $(EXTRA_HOST_FLAGS) ; do \
5951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5952 done; \
5953 echo "Doing install-info in bison" ; \
5954 (cd $(HOST_SUBDIR)/bison && \
5955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5957 "RANLIB=$${RANLIB}" \
5958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5959 install-info) \
5960 || exit 1
5962 @endif bison
5964 .PHONY: maybe-install-pdf-bison install-pdf-bison
5965 maybe-install-pdf-bison:
5966 @if bison
5967 maybe-install-pdf-bison: install-pdf-bison
5969 install-pdf-bison: \
5970 configure-bison \
5971 pdf-bison
5972 @: $(MAKE); $(unstage)
5973 @[ -f ./bison/Makefile ] || exit 0; \
5974 r=`${PWD_COMMAND}`; export r; \
5975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5976 $(HOST_EXPORTS) \
5977 for flag in $(EXTRA_HOST_FLAGS) ; do \
5978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5979 done; \
5980 echo "Doing install-pdf in bison" ; \
5981 (cd $(HOST_SUBDIR)/bison && \
5982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5984 "RANLIB=$${RANLIB}" \
5985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5986 install-pdf) \
5987 || exit 1
5989 @endif bison
5991 .PHONY: maybe-install-html-bison install-html-bison
5992 maybe-install-html-bison:
5993 @if bison
5994 maybe-install-html-bison: install-html-bison
5996 install-html-bison: \
5997 configure-bison \
5998 html-bison
5999 @: $(MAKE); $(unstage)
6000 @[ -f ./bison/Makefile ] || exit 0; \
6001 r=`${PWD_COMMAND}`; export r; \
6002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6003 $(HOST_EXPORTS) \
6004 for flag in $(EXTRA_HOST_FLAGS) ; do \
6005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6006 done; \
6007 echo "Doing install-html in bison" ; \
6008 (cd $(HOST_SUBDIR)/bison && \
6009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6011 "RANLIB=$${RANLIB}" \
6012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6013 install-html) \
6014 || exit 1
6016 @endif bison
6018 .PHONY: maybe-installcheck-bison installcheck-bison
6019 maybe-installcheck-bison:
6020 @if bison
6021 maybe-installcheck-bison: installcheck-bison
6023 installcheck-bison: \
6024 configure-bison
6025 @: $(MAKE); $(unstage)
6026 @[ -f ./bison/Makefile ] || exit 0; \
6027 r=`${PWD_COMMAND}`; export r; \
6028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6029 $(HOST_EXPORTS) \
6030 for flag in $(EXTRA_HOST_FLAGS) ; do \
6031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6032 done; \
6033 echo "Doing installcheck in bison" ; \
6034 (cd $(HOST_SUBDIR)/bison && \
6035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6037 "RANLIB=$${RANLIB}" \
6038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6039 installcheck) \
6040 || exit 1
6042 @endif bison
6044 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
6045 maybe-mostlyclean-bison:
6046 @if bison
6047 maybe-mostlyclean-bison: mostlyclean-bison
6049 mostlyclean-bison:
6050 @: $(MAKE); $(unstage)
6051 @[ -f ./bison/Makefile ] || exit 0; \
6052 r=`${PWD_COMMAND}`; export r; \
6053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6054 $(HOST_EXPORTS) \
6055 for flag in $(EXTRA_HOST_FLAGS) ; do \
6056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6057 done; \
6058 echo "Doing mostlyclean in bison" ; \
6059 (cd $(HOST_SUBDIR)/bison && \
6060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6062 "RANLIB=$${RANLIB}" \
6063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6064 mostlyclean) \
6065 || exit 1
6067 @endif bison
6069 .PHONY: maybe-clean-bison clean-bison
6070 maybe-clean-bison:
6071 @if bison
6072 maybe-clean-bison: clean-bison
6074 clean-bison:
6075 @: $(MAKE); $(unstage)
6076 @[ -f ./bison/Makefile ] || exit 0; \
6077 r=`${PWD_COMMAND}`; export r; \
6078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6079 $(HOST_EXPORTS) \
6080 for flag in $(EXTRA_HOST_FLAGS) ; do \
6081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6082 done; \
6083 echo "Doing clean in bison" ; \
6084 (cd $(HOST_SUBDIR)/bison && \
6085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6087 "RANLIB=$${RANLIB}" \
6088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6089 clean) \
6090 || exit 1
6092 @endif bison
6094 .PHONY: maybe-distclean-bison distclean-bison
6095 maybe-distclean-bison:
6096 @if bison
6097 maybe-distclean-bison: distclean-bison
6099 distclean-bison:
6100 @: $(MAKE); $(unstage)
6101 @[ -f ./bison/Makefile ] || exit 0; \
6102 r=`${PWD_COMMAND}`; export r; \
6103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6104 $(HOST_EXPORTS) \
6105 for flag in $(EXTRA_HOST_FLAGS) ; do \
6106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6107 done; \
6108 echo "Doing distclean in bison" ; \
6109 (cd $(HOST_SUBDIR)/bison && \
6110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6112 "RANLIB=$${RANLIB}" \
6113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6114 distclean) \
6115 || exit 1
6117 @endif bison
6119 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
6120 maybe-maintainer-clean-bison:
6121 @if bison
6122 maybe-maintainer-clean-bison: maintainer-clean-bison
6124 maintainer-clean-bison:
6125 @: $(MAKE); $(unstage)
6126 @[ -f ./bison/Makefile ] || exit 0; \
6127 r=`${PWD_COMMAND}`; export r; \
6128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6129 $(HOST_EXPORTS) \
6130 for flag in $(EXTRA_HOST_FLAGS) ; do \
6131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6132 done; \
6133 echo "Doing maintainer-clean in bison" ; \
6134 (cd $(HOST_SUBDIR)/bison && \
6135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6137 "RANLIB=$${RANLIB}" \
6138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6139 maintainer-clean) \
6140 || exit 1
6142 @endif bison
6146 .PHONY: configure-cgen maybe-configure-cgen
6147 maybe-configure-cgen:
6148 @if gcc-bootstrap
6149 configure-cgen: stage_current
6150 @endif gcc-bootstrap
6151 @if cgen
6152 maybe-configure-cgen: configure-cgen
6153 configure-cgen:
6154 @: $(MAKE); $(unstage)
6155 @r=`${PWD_COMMAND}`; export r; \
6156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6157 test ! -f $(HOST_SUBDIR)/cgen/Makefile || exit 0; \
6158 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cgen ; \
6159 $(HOST_EXPORTS) \
6160 echo Configuring in $(HOST_SUBDIR)/cgen; \
6161 cd "$(HOST_SUBDIR)/cgen" || exit 1; \
6162 case $(srcdir) in \
6163 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6164 *) topdir=`echo $(HOST_SUBDIR)/cgen/ | \
6165 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6166 esac; \
6167 module_srcdir=cgen; \
6168 $(SHELL) \
6169 $$s/$$module_srcdir/configure \
6170 --srcdir=$${topdir}/$$module_srcdir \
6171 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6172 --target=${target_alias} \
6173 || exit 1
6174 @endif cgen
6180 .PHONY: all-cgen maybe-all-cgen
6181 maybe-all-cgen:
6182 @if gcc-bootstrap
6183 all-cgen: stage_current
6184 @endif gcc-bootstrap
6185 @if cgen
6186 TARGET-cgen=all
6187 maybe-all-cgen: all-cgen
6188 all-cgen: configure-cgen
6189 @: $(MAKE); $(unstage)
6190 @r=`${PWD_COMMAND}`; export r; \
6191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6192 $(HOST_EXPORTS) \
6193 (cd $(HOST_SUBDIR)/cgen && \
6194 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
6195 $(TARGET-cgen))
6196 @endif cgen
6201 .PHONY: check-cgen maybe-check-cgen
6202 maybe-check-cgen:
6203 @if cgen
6204 maybe-check-cgen: check-cgen
6206 check-cgen:
6207 @: $(MAKE); $(unstage)
6208 @r=`${PWD_COMMAND}`; export r; \
6209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6210 $(HOST_EXPORTS) \
6211 (cd $(HOST_SUBDIR)/cgen && \
6212 $(MAKE) $(FLAGS_TO_PASS) check)
6214 @endif cgen
6216 .PHONY: install-cgen maybe-install-cgen
6217 maybe-install-cgen:
6218 @if cgen
6219 maybe-install-cgen: install-cgen
6221 install-cgen: installdirs
6222 @: $(MAKE); $(unstage)
6223 @r=`${PWD_COMMAND}`; export r; \
6224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6225 $(HOST_EXPORTS) \
6226 (cd $(HOST_SUBDIR)/cgen && \
6227 $(MAKE) $(FLAGS_TO_PASS) install)
6229 @endif cgen
6231 .PHONY: install-strip-cgen maybe-install-strip-cgen
6232 maybe-install-strip-cgen:
6233 @if cgen
6234 maybe-install-strip-cgen: install-strip-cgen
6236 install-strip-cgen: installdirs
6237 @: $(MAKE); $(unstage)
6238 @r=`${PWD_COMMAND}`; export r; \
6239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6240 $(HOST_EXPORTS) \
6241 (cd $(HOST_SUBDIR)/cgen && \
6242 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6244 @endif cgen
6246 # Other targets (info, dvi, pdf, etc.)
6248 .PHONY: maybe-info-cgen info-cgen
6249 maybe-info-cgen:
6250 @if cgen
6251 maybe-info-cgen: info-cgen
6253 info-cgen: \
6254 configure-cgen
6255 @: $(MAKE); $(unstage)
6256 @[ -f ./cgen/Makefile ] || exit 0; \
6257 r=`${PWD_COMMAND}`; export r; \
6258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6259 $(HOST_EXPORTS) \
6260 for flag in $(EXTRA_HOST_FLAGS) ; do \
6261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6262 done; \
6263 echo "Doing info in cgen" ; \
6264 (cd $(HOST_SUBDIR)/cgen && \
6265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6267 "RANLIB=$${RANLIB}" \
6268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6269 info) \
6270 || exit 1
6272 @endif cgen
6274 .PHONY: maybe-dvi-cgen dvi-cgen
6275 maybe-dvi-cgen:
6276 @if cgen
6277 maybe-dvi-cgen: dvi-cgen
6279 dvi-cgen: \
6280 configure-cgen
6281 @: $(MAKE); $(unstage)
6282 @[ -f ./cgen/Makefile ] || exit 0; \
6283 r=`${PWD_COMMAND}`; export r; \
6284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6285 $(HOST_EXPORTS) \
6286 for flag in $(EXTRA_HOST_FLAGS) ; do \
6287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6288 done; \
6289 echo "Doing dvi in cgen" ; \
6290 (cd $(HOST_SUBDIR)/cgen && \
6291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6293 "RANLIB=$${RANLIB}" \
6294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6295 dvi) \
6296 || exit 1
6298 @endif cgen
6300 .PHONY: maybe-pdf-cgen pdf-cgen
6301 maybe-pdf-cgen:
6302 @if cgen
6303 maybe-pdf-cgen: pdf-cgen
6305 pdf-cgen: \
6306 configure-cgen
6307 @: $(MAKE); $(unstage)
6308 @[ -f ./cgen/Makefile ] || exit 0; \
6309 r=`${PWD_COMMAND}`; export r; \
6310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6311 $(HOST_EXPORTS) \
6312 for flag in $(EXTRA_HOST_FLAGS) ; do \
6313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6314 done; \
6315 echo "Doing pdf in cgen" ; \
6316 (cd $(HOST_SUBDIR)/cgen && \
6317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6319 "RANLIB=$${RANLIB}" \
6320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6321 pdf) \
6322 || exit 1
6324 @endif cgen
6326 .PHONY: maybe-html-cgen html-cgen
6327 maybe-html-cgen:
6328 @if cgen
6329 maybe-html-cgen: html-cgen
6331 html-cgen: \
6332 configure-cgen
6333 @: $(MAKE); $(unstage)
6334 @[ -f ./cgen/Makefile ] || exit 0; \
6335 r=`${PWD_COMMAND}`; export r; \
6336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6337 $(HOST_EXPORTS) \
6338 for flag in $(EXTRA_HOST_FLAGS) ; do \
6339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6340 done; \
6341 echo "Doing html in cgen" ; \
6342 (cd $(HOST_SUBDIR)/cgen && \
6343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6345 "RANLIB=$${RANLIB}" \
6346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6347 html) \
6348 || exit 1
6350 @endif cgen
6352 .PHONY: maybe-TAGS-cgen TAGS-cgen
6353 maybe-TAGS-cgen:
6354 @if cgen
6355 maybe-TAGS-cgen: TAGS-cgen
6357 TAGS-cgen: \
6358 configure-cgen
6359 @: $(MAKE); $(unstage)
6360 @[ -f ./cgen/Makefile ] || exit 0; \
6361 r=`${PWD_COMMAND}`; export r; \
6362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6363 $(HOST_EXPORTS) \
6364 for flag in $(EXTRA_HOST_FLAGS) ; do \
6365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6366 done; \
6367 echo "Doing TAGS in cgen" ; \
6368 (cd $(HOST_SUBDIR)/cgen && \
6369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6371 "RANLIB=$${RANLIB}" \
6372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6373 TAGS) \
6374 || exit 1
6376 @endif cgen
6378 .PHONY: maybe-install-info-cgen install-info-cgen
6379 maybe-install-info-cgen:
6380 @if cgen
6381 maybe-install-info-cgen: install-info-cgen
6383 install-info-cgen: \
6384 configure-cgen \
6385 info-cgen
6386 @: $(MAKE); $(unstage)
6387 @[ -f ./cgen/Makefile ] || exit 0; \
6388 r=`${PWD_COMMAND}`; export r; \
6389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6390 $(HOST_EXPORTS) \
6391 for flag in $(EXTRA_HOST_FLAGS) ; do \
6392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6393 done; \
6394 echo "Doing install-info in cgen" ; \
6395 (cd $(HOST_SUBDIR)/cgen && \
6396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6398 "RANLIB=$${RANLIB}" \
6399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6400 install-info) \
6401 || exit 1
6403 @endif cgen
6405 .PHONY: maybe-install-pdf-cgen install-pdf-cgen
6406 maybe-install-pdf-cgen:
6407 @if cgen
6408 maybe-install-pdf-cgen: install-pdf-cgen
6410 install-pdf-cgen: \
6411 configure-cgen \
6412 pdf-cgen
6413 @: $(MAKE); $(unstage)
6414 @[ -f ./cgen/Makefile ] || exit 0; \
6415 r=`${PWD_COMMAND}`; export r; \
6416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6417 $(HOST_EXPORTS) \
6418 for flag in $(EXTRA_HOST_FLAGS) ; do \
6419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6420 done; \
6421 echo "Doing install-pdf in cgen" ; \
6422 (cd $(HOST_SUBDIR)/cgen && \
6423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6425 "RANLIB=$${RANLIB}" \
6426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6427 install-pdf) \
6428 || exit 1
6430 @endif cgen
6432 .PHONY: maybe-install-html-cgen install-html-cgen
6433 maybe-install-html-cgen:
6434 @if cgen
6435 maybe-install-html-cgen: install-html-cgen
6437 install-html-cgen: \
6438 configure-cgen \
6439 html-cgen
6440 @: $(MAKE); $(unstage)
6441 @[ -f ./cgen/Makefile ] || exit 0; \
6442 r=`${PWD_COMMAND}`; export r; \
6443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6444 $(HOST_EXPORTS) \
6445 for flag in $(EXTRA_HOST_FLAGS) ; do \
6446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6447 done; \
6448 echo "Doing install-html in cgen" ; \
6449 (cd $(HOST_SUBDIR)/cgen && \
6450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6452 "RANLIB=$${RANLIB}" \
6453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6454 install-html) \
6455 || exit 1
6457 @endif cgen
6459 .PHONY: maybe-installcheck-cgen installcheck-cgen
6460 maybe-installcheck-cgen:
6461 @if cgen
6462 maybe-installcheck-cgen: installcheck-cgen
6464 installcheck-cgen: \
6465 configure-cgen
6466 @: $(MAKE); $(unstage)
6467 @[ -f ./cgen/Makefile ] || exit 0; \
6468 r=`${PWD_COMMAND}`; export r; \
6469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6470 $(HOST_EXPORTS) \
6471 for flag in $(EXTRA_HOST_FLAGS) ; do \
6472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6473 done; \
6474 echo "Doing installcheck in cgen" ; \
6475 (cd $(HOST_SUBDIR)/cgen && \
6476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6478 "RANLIB=$${RANLIB}" \
6479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6480 installcheck) \
6481 || exit 1
6483 @endif cgen
6485 .PHONY: maybe-mostlyclean-cgen mostlyclean-cgen
6486 maybe-mostlyclean-cgen:
6487 @if cgen
6488 maybe-mostlyclean-cgen: mostlyclean-cgen
6490 mostlyclean-cgen:
6491 @: $(MAKE); $(unstage)
6492 @[ -f ./cgen/Makefile ] || exit 0; \
6493 r=`${PWD_COMMAND}`; export r; \
6494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6495 $(HOST_EXPORTS) \
6496 for flag in $(EXTRA_HOST_FLAGS) ; do \
6497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6498 done; \
6499 echo "Doing mostlyclean in cgen" ; \
6500 (cd $(HOST_SUBDIR)/cgen && \
6501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6503 "RANLIB=$${RANLIB}" \
6504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6505 mostlyclean) \
6506 || exit 1
6508 @endif cgen
6510 .PHONY: maybe-clean-cgen clean-cgen
6511 maybe-clean-cgen:
6512 @if cgen
6513 maybe-clean-cgen: clean-cgen
6515 clean-cgen:
6516 @: $(MAKE); $(unstage)
6517 @[ -f ./cgen/Makefile ] || exit 0; \
6518 r=`${PWD_COMMAND}`; export r; \
6519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6520 $(HOST_EXPORTS) \
6521 for flag in $(EXTRA_HOST_FLAGS) ; do \
6522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6523 done; \
6524 echo "Doing clean in cgen" ; \
6525 (cd $(HOST_SUBDIR)/cgen && \
6526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6528 "RANLIB=$${RANLIB}" \
6529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6530 clean) \
6531 || exit 1
6533 @endif cgen
6535 .PHONY: maybe-distclean-cgen distclean-cgen
6536 maybe-distclean-cgen:
6537 @if cgen
6538 maybe-distclean-cgen: distclean-cgen
6540 distclean-cgen:
6541 @: $(MAKE); $(unstage)
6542 @[ -f ./cgen/Makefile ] || exit 0; \
6543 r=`${PWD_COMMAND}`; export r; \
6544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6545 $(HOST_EXPORTS) \
6546 for flag in $(EXTRA_HOST_FLAGS) ; do \
6547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6548 done; \
6549 echo "Doing distclean in cgen" ; \
6550 (cd $(HOST_SUBDIR)/cgen && \
6551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6553 "RANLIB=$${RANLIB}" \
6554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6555 distclean) \
6556 || exit 1
6558 @endif cgen
6560 .PHONY: maybe-maintainer-clean-cgen maintainer-clean-cgen
6561 maybe-maintainer-clean-cgen:
6562 @if cgen
6563 maybe-maintainer-clean-cgen: maintainer-clean-cgen
6565 maintainer-clean-cgen:
6566 @: $(MAKE); $(unstage)
6567 @[ -f ./cgen/Makefile ] || exit 0; \
6568 r=`${PWD_COMMAND}`; export r; \
6569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6570 $(HOST_EXPORTS) \
6571 for flag in $(EXTRA_HOST_FLAGS) ; do \
6572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6573 done; \
6574 echo "Doing maintainer-clean in cgen" ; \
6575 (cd $(HOST_SUBDIR)/cgen && \
6576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6578 "RANLIB=$${RANLIB}" \
6579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6580 maintainer-clean) \
6581 || exit 1
6583 @endif cgen
6587 .PHONY: configure-dejagnu maybe-configure-dejagnu
6588 maybe-configure-dejagnu:
6589 @if gcc-bootstrap
6590 configure-dejagnu: stage_current
6591 @endif gcc-bootstrap
6592 @if dejagnu
6593 maybe-configure-dejagnu: configure-dejagnu
6594 configure-dejagnu:
6595 @: $(MAKE); $(unstage)
6596 @r=`${PWD_COMMAND}`; export r; \
6597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6598 test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
6599 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu ; \
6600 $(HOST_EXPORTS) \
6601 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
6602 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
6603 case $(srcdir) in \
6604 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6605 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
6606 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6607 esac; \
6608 module_srcdir=dejagnu; \
6609 $(SHELL) \
6610 $$s/$$module_srcdir/configure \
6611 --srcdir=$${topdir}/$$module_srcdir \
6612 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6613 --target=${target_alias} \
6614 || exit 1
6615 @endif dejagnu
6621 .PHONY: all-dejagnu maybe-all-dejagnu
6622 maybe-all-dejagnu:
6623 @if gcc-bootstrap
6624 all-dejagnu: stage_current
6625 @endif gcc-bootstrap
6626 @if dejagnu
6627 TARGET-dejagnu=all
6628 maybe-all-dejagnu: all-dejagnu
6629 all-dejagnu: configure-dejagnu
6630 @: $(MAKE); $(unstage)
6631 @r=`${PWD_COMMAND}`; export r; \
6632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6633 $(HOST_EXPORTS) \
6634 (cd $(HOST_SUBDIR)/dejagnu && \
6635 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
6636 $(TARGET-dejagnu))
6637 @endif dejagnu
6642 .PHONY: check-dejagnu maybe-check-dejagnu
6643 maybe-check-dejagnu:
6644 @if dejagnu
6645 maybe-check-dejagnu: check-dejagnu
6647 check-dejagnu:
6648 @: $(MAKE); $(unstage)
6649 @r=`${PWD_COMMAND}`; export r; \
6650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6651 $(HOST_EXPORTS) \
6652 (cd $(HOST_SUBDIR)/dejagnu && \
6653 $(MAKE) $(FLAGS_TO_PASS) check)
6655 @endif dejagnu
6657 .PHONY: install-dejagnu maybe-install-dejagnu
6658 maybe-install-dejagnu:
6659 @if dejagnu
6660 maybe-install-dejagnu: install-dejagnu
6662 install-dejagnu: installdirs
6663 @: $(MAKE); $(unstage)
6664 @r=`${PWD_COMMAND}`; export r; \
6665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6666 $(HOST_EXPORTS) \
6667 (cd $(HOST_SUBDIR)/dejagnu && \
6668 $(MAKE) $(FLAGS_TO_PASS) install)
6670 @endif dejagnu
6672 .PHONY: install-strip-dejagnu maybe-install-strip-dejagnu
6673 maybe-install-strip-dejagnu:
6674 @if dejagnu
6675 maybe-install-strip-dejagnu: install-strip-dejagnu
6677 install-strip-dejagnu: installdirs
6678 @: $(MAKE); $(unstage)
6679 @r=`${PWD_COMMAND}`; export r; \
6680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6681 $(HOST_EXPORTS) \
6682 (cd $(HOST_SUBDIR)/dejagnu && \
6683 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6685 @endif dejagnu
6687 # Other targets (info, dvi, pdf, etc.)
6689 .PHONY: maybe-info-dejagnu info-dejagnu
6690 maybe-info-dejagnu:
6691 @if dejagnu
6692 maybe-info-dejagnu: info-dejagnu
6694 info-dejagnu: \
6695 configure-dejagnu
6696 @: $(MAKE); $(unstage)
6697 @[ -f ./dejagnu/Makefile ] || exit 0; \
6698 r=`${PWD_COMMAND}`; export r; \
6699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6700 $(HOST_EXPORTS) \
6701 for flag in $(EXTRA_HOST_FLAGS) ; do \
6702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6703 done; \
6704 echo "Doing info in dejagnu" ; \
6705 (cd $(HOST_SUBDIR)/dejagnu && \
6706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6708 "RANLIB=$${RANLIB}" \
6709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6710 info) \
6711 || exit 1
6713 @endif dejagnu
6715 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
6716 maybe-dvi-dejagnu:
6717 @if dejagnu
6718 maybe-dvi-dejagnu: dvi-dejagnu
6720 dvi-dejagnu: \
6721 configure-dejagnu
6722 @: $(MAKE); $(unstage)
6723 @[ -f ./dejagnu/Makefile ] || exit 0; \
6724 r=`${PWD_COMMAND}`; export r; \
6725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6726 $(HOST_EXPORTS) \
6727 for flag in $(EXTRA_HOST_FLAGS) ; do \
6728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6729 done; \
6730 echo "Doing dvi in dejagnu" ; \
6731 (cd $(HOST_SUBDIR)/dejagnu && \
6732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6734 "RANLIB=$${RANLIB}" \
6735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6736 dvi) \
6737 || exit 1
6739 @endif dejagnu
6741 .PHONY: maybe-pdf-dejagnu pdf-dejagnu
6742 maybe-pdf-dejagnu:
6743 @if dejagnu
6744 maybe-pdf-dejagnu: pdf-dejagnu
6746 pdf-dejagnu: \
6747 configure-dejagnu
6748 @: $(MAKE); $(unstage)
6749 @[ -f ./dejagnu/Makefile ] || exit 0; \
6750 r=`${PWD_COMMAND}`; export r; \
6751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6752 $(HOST_EXPORTS) \
6753 for flag in $(EXTRA_HOST_FLAGS) ; do \
6754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6755 done; \
6756 echo "Doing pdf in dejagnu" ; \
6757 (cd $(HOST_SUBDIR)/dejagnu && \
6758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6760 "RANLIB=$${RANLIB}" \
6761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6762 pdf) \
6763 || exit 1
6765 @endif dejagnu
6767 .PHONY: maybe-html-dejagnu html-dejagnu
6768 maybe-html-dejagnu:
6769 @if dejagnu
6770 maybe-html-dejagnu: html-dejagnu
6772 html-dejagnu: \
6773 configure-dejagnu
6774 @: $(MAKE); $(unstage)
6775 @[ -f ./dejagnu/Makefile ] || exit 0; \
6776 r=`${PWD_COMMAND}`; export r; \
6777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6778 $(HOST_EXPORTS) \
6779 for flag in $(EXTRA_HOST_FLAGS) ; do \
6780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6781 done; \
6782 echo "Doing html in dejagnu" ; \
6783 (cd $(HOST_SUBDIR)/dejagnu && \
6784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6786 "RANLIB=$${RANLIB}" \
6787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6788 html) \
6789 || exit 1
6791 @endif dejagnu
6793 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
6794 maybe-TAGS-dejagnu:
6795 @if dejagnu
6796 maybe-TAGS-dejagnu: TAGS-dejagnu
6798 TAGS-dejagnu: \
6799 configure-dejagnu
6800 @: $(MAKE); $(unstage)
6801 @[ -f ./dejagnu/Makefile ] || exit 0; \
6802 r=`${PWD_COMMAND}`; export r; \
6803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6804 $(HOST_EXPORTS) \
6805 for flag in $(EXTRA_HOST_FLAGS) ; do \
6806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6807 done; \
6808 echo "Doing TAGS in dejagnu" ; \
6809 (cd $(HOST_SUBDIR)/dejagnu && \
6810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6812 "RANLIB=$${RANLIB}" \
6813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6814 TAGS) \
6815 || exit 1
6817 @endif dejagnu
6819 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
6820 maybe-install-info-dejagnu:
6821 @if dejagnu
6822 maybe-install-info-dejagnu: install-info-dejagnu
6824 install-info-dejagnu: \
6825 configure-dejagnu \
6826 info-dejagnu
6827 @: $(MAKE); $(unstage)
6828 @[ -f ./dejagnu/Makefile ] || exit 0; \
6829 r=`${PWD_COMMAND}`; export r; \
6830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6831 $(HOST_EXPORTS) \
6832 for flag in $(EXTRA_HOST_FLAGS) ; do \
6833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6834 done; \
6835 echo "Doing install-info in dejagnu" ; \
6836 (cd $(HOST_SUBDIR)/dejagnu && \
6837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6839 "RANLIB=$${RANLIB}" \
6840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6841 install-info) \
6842 || exit 1
6844 @endif dejagnu
6846 .PHONY: maybe-install-pdf-dejagnu install-pdf-dejagnu
6847 maybe-install-pdf-dejagnu:
6848 @if dejagnu
6849 maybe-install-pdf-dejagnu: install-pdf-dejagnu
6851 install-pdf-dejagnu: \
6852 configure-dejagnu \
6853 pdf-dejagnu
6854 @: $(MAKE); $(unstage)
6855 @[ -f ./dejagnu/Makefile ] || exit 0; \
6856 r=`${PWD_COMMAND}`; export r; \
6857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6858 $(HOST_EXPORTS) \
6859 for flag in $(EXTRA_HOST_FLAGS) ; do \
6860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6861 done; \
6862 echo "Doing install-pdf in dejagnu" ; \
6863 (cd $(HOST_SUBDIR)/dejagnu && \
6864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6866 "RANLIB=$${RANLIB}" \
6867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6868 install-pdf) \
6869 || exit 1
6871 @endif dejagnu
6873 .PHONY: maybe-install-html-dejagnu install-html-dejagnu
6874 maybe-install-html-dejagnu:
6875 @if dejagnu
6876 maybe-install-html-dejagnu: install-html-dejagnu
6878 install-html-dejagnu: \
6879 configure-dejagnu \
6880 html-dejagnu
6881 @: $(MAKE); $(unstage)
6882 @[ -f ./dejagnu/Makefile ] || exit 0; \
6883 r=`${PWD_COMMAND}`; export r; \
6884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6885 $(HOST_EXPORTS) \
6886 for flag in $(EXTRA_HOST_FLAGS) ; do \
6887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6888 done; \
6889 echo "Doing install-html in dejagnu" ; \
6890 (cd $(HOST_SUBDIR)/dejagnu && \
6891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6893 "RANLIB=$${RANLIB}" \
6894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6895 install-html) \
6896 || exit 1
6898 @endif dejagnu
6900 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
6901 maybe-installcheck-dejagnu:
6902 @if dejagnu
6903 maybe-installcheck-dejagnu: installcheck-dejagnu
6905 installcheck-dejagnu: \
6906 configure-dejagnu
6907 @: $(MAKE); $(unstage)
6908 @[ -f ./dejagnu/Makefile ] || exit 0; \
6909 r=`${PWD_COMMAND}`; export r; \
6910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6911 $(HOST_EXPORTS) \
6912 for flag in $(EXTRA_HOST_FLAGS) ; do \
6913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6914 done; \
6915 echo "Doing installcheck in dejagnu" ; \
6916 (cd $(HOST_SUBDIR)/dejagnu && \
6917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6919 "RANLIB=$${RANLIB}" \
6920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6921 installcheck) \
6922 || exit 1
6924 @endif dejagnu
6926 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
6927 maybe-mostlyclean-dejagnu:
6928 @if dejagnu
6929 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
6931 mostlyclean-dejagnu:
6932 @: $(MAKE); $(unstage)
6933 @[ -f ./dejagnu/Makefile ] || exit 0; \
6934 r=`${PWD_COMMAND}`; export r; \
6935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6936 $(HOST_EXPORTS) \
6937 for flag in $(EXTRA_HOST_FLAGS) ; do \
6938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6939 done; \
6940 echo "Doing mostlyclean in dejagnu" ; \
6941 (cd $(HOST_SUBDIR)/dejagnu && \
6942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6944 "RANLIB=$${RANLIB}" \
6945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6946 mostlyclean) \
6947 || exit 1
6949 @endif dejagnu
6951 .PHONY: maybe-clean-dejagnu clean-dejagnu
6952 maybe-clean-dejagnu:
6953 @if dejagnu
6954 maybe-clean-dejagnu: clean-dejagnu
6956 clean-dejagnu:
6957 @: $(MAKE); $(unstage)
6958 @[ -f ./dejagnu/Makefile ] || exit 0; \
6959 r=`${PWD_COMMAND}`; export r; \
6960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6961 $(HOST_EXPORTS) \
6962 for flag in $(EXTRA_HOST_FLAGS) ; do \
6963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6964 done; \
6965 echo "Doing clean in dejagnu" ; \
6966 (cd $(HOST_SUBDIR)/dejagnu && \
6967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6969 "RANLIB=$${RANLIB}" \
6970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6971 clean) \
6972 || exit 1
6974 @endif dejagnu
6976 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
6977 maybe-distclean-dejagnu:
6978 @if dejagnu
6979 maybe-distclean-dejagnu: distclean-dejagnu
6981 distclean-dejagnu:
6982 @: $(MAKE); $(unstage)
6983 @[ -f ./dejagnu/Makefile ] || exit 0; \
6984 r=`${PWD_COMMAND}`; export r; \
6985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6986 $(HOST_EXPORTS) \
6987 for flag in $(EXTRA_HOST_FLAGS) ; do \
6988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6989 done; \
6990 echo "Doing distclean in dejagnu" ; \
6991 (cd $(HOST_SUBDIR)/dejagnu && \
6992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6994 "RANLIB=$${RANLIB}" \
6995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6996 distclean) \
6997 || exit 1
6999 @endif dejagnu
7001 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
7002 maybe-maintainer-clean-dejagnu:
7003 @if dejagnu
7004 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
7006 maintainer-clean-dejagnu:
7007 @: $(MAKE); $(unstage)
7008 @[ -f ./dejagnu/Makefile ] || exit 0; \
7009 r=`${PWD_COMMAND}`; export r; \
7010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7011 $(HOST_EXPORTS) \
7012 for flag in $(EXTRA_HOST_FLAGS) ; do \
7013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7014 done; \
7015 echo "Doing maintainer-clean in dejagnu" ; \
7016 (cd $(HOST_SUBDIR)/dejagnu && \
7017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7019 "RANLIB=$${RANLIB}" \
7020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7021 maintainer-clean) \
7022 || exit 1
7024 @endif dejagnu
7028 .PHONY: configure-etc maybe-configure-etc
7029 maybe-configure-etc:
7030 @if gcc-bootstrap
7031 configure-etc: stage_current
7032 @endif gcc-bootstrap
7033 @if etc
7034 maybe-configure-etc: configure-etc
7035 configure-etc:
7036 @: $(MAKE); $(unstage)
7037 @r=`${PWD_COMMAND}`; export r; \
7038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7039 test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
7040 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc ; \
7041 $(HOST_EXPORTS) \
7042 echo Configuring in $(HOST_SUBDIR)/etc; \
7043 cd "$(HOST_SUBDIR)/etc" || exit 1; \
7044 case $(srcdir) in \
7045 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7046 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
7047 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7048 esac; \
7049 module_srcdir=etc; \
7050 $(SHELL) \
7051 $$s/$$module_srcdir/configure \
7052 --srcdir=$${topdir}/$$module_srcdir \
7053 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7054 --target=${target_alias} \
7055 || exit 1
7056 @endif etc
7062 .PHONY: all-etc maybe-all-etc
7063 maybe-all-etc:
7064 @if gcc-bootstrap
7065 all-etc: stage_current
7066 @endif gcc-bootstrap
7067 @if etc
7068 TARGET-etc=all
7069 maybe-all-etc: all-etc
7070 all-etc: configure-etc
7071 @: $(MAKE); $(unstage)
7072 @r=`${PWD_COMMAND}`; export r; \
7073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7074 $(HOST_EXPORTS) \
7075 (cd $(HOST_SUBDIR)/etc && \
7076 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
7077 $(TARGET-etc))
7078 @endif etc
7083 .PHONY: check-etc maybe-check-etc
7084 maybe-check-etc:
7085 @if etc
7086 maybe-check-etc: check-etc
7088 check-etc:
7089 @: $(MAKE); $(unstage)
7090 @r=`${PWD_COMMAND}`; export r; \
7091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7092 $(HOST_EXPORTS) \
7093 (cd $(HOST_SUBDIR)/etc && \
7094 $(MAKE) $(FLAGS_TO_PASS) check)
7096 @endif etc
7098 .PHONY: install-etc maybe-install-etc
7099 maybe-install-etc:
7100 @if etc
7101 maybe-install-etc: install-etc
7103 install-etc: installdirs
7104 @: $(MAKE); $(unstage)
7105 @r=`${PWD_COMMAND}`; export r; \
7106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7107 $(HOST_EXPORTS) \
7108 (cd $(HOST_SUBDIR)/etc && \
7109 $(MAKE) $(FLAGS_TO_PASS) install)
7111 @endif etc
7113 .PHONY: install-strip-etc maybe-install-strip-etc
7114 maybe-install-strip-etc:
7115 @if etc
7116 maybe-install-strip-etc: install-strip-etc
7118 install-strip-etc: installdirs
7119 @: $(MAKE); $(unstage)
7120 @r=`${PWD_COMMAND}`; export r; \
7121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7122 $(HOST_EXPORTS) \
7123 (cd $(HOST_SUBDIR)/etc && \
7124 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7126 @endif etc
7128 # Other targets (info, dvi, pdf, etc.)
7130 .PHONY: maybe-info-etc info-etc
7131 maybe-info-etc:
7132 @if etc
7133 maybe-info-etc: info-etc
7135 info-etc: \
7136 configure-etc
7137 @: $(MAKE); $(unstage)
7138 @[ -f ./etc/Makefile ] || exit 0; \
7139 r=`${PWD_COMMAND}`; export r; \
7140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7141 $(HOST_EXPORTS) \
7142 for flag in $(EXTRA_HOST_FLAGS) ; do \
7143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7144 done; \
7145 echo "Doing info in etc" ; \
7146 (cd $(HOST_SUBDIR)/etc && \
7147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7149 "RANLIB=$${RANLIB}" \
7150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7151 info) \
7152 || exit 1
7154 @endif etc
7156 .PHONY: maybe-dvi-etc dvi-etc
7157 maybe-dvi-etc:
7158 @if etc
7159 maybe-dvi-etc: dvi-etc
7161 dvi-etc: \
7162 configure-etc
7163 @: $(MAKE); $(unstage)
7164 @[ -f ./etc/Makefile ] || exit 0; \
7165 r=`${PWD_COMMAND}`; export r; \
7166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7167 $(HOST_EXPORTS) \
7168 for flag in $(EXTRA_HOST_FLAGS) ; do \
7169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7170 done; \
7171 echo "Doing dvi in etc" ; \
7172 (cd $(HOST_SUBDIR)/etc && \
7173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7175 "RANLIB=$${RANLIB}" \
7176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7177 dvi) \
7178 || exit 1
7180 @endif etc
7182 .PHONY: maybe-pdf-etc pdf-etc
7183 maybe-pdf-etc:
7184 @if etc
7185 maybe-pdf-etc: pdf-etc
7187 pdf-etc: \
7188 configure-etc
7189 @: $(MAKE); $(unstage)
7190 @[ -f ./etc/Makefile ] || exit 0; \
7191 r=`${PWD_COMMAND}`; export r; \
7192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7193 $(HOST_EXPORTS) \
7194 for flag in $(EXTRA_HOST_FLAGS) ; do \
7195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7196 done; \
7197 echo "Doing pdf in etc" ; \
7198 (cd $(HOST_SUBDIR)/etc && \
7199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7201 "RANLIB=$${RANLIB}" \
7202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7203 pdf) \
7204 || exit 1
7206 @endif etc
7208 .PHONY: maybe-html-etc html-etc
7209 maybe-html-etc:
7210 @if etc
7211 maybe-html-etc: html-etc
7213 html-etc: \
7214 configure-etc
7215 @: $(MAKE); $(unstage)
7216 @[ -f ./etc/Makefile ] || exit 0; \
7217 r=`${PWD_COMMAND}`; export r; \
7218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7219 $(HOST_EXPORTS) \
7220 for flag in $(EXTRA_HOST_FLAGS) ; do \
7221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7222 done; \
7223 echo "Doing html in etc" ; \
7224 (cd $(HOST_SUBDIR)/etc && \
7225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7227 "RANLIB=$${RANLIB}" \
7228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7229 html) \
7230 || exit 1
7232 @endif etc
7234 .PHONY: maybe-TAGS-etc TAGS-etc
7235 maybe-TAGS-etc:
7236 @if etc
7237 maybe-TAGS-etc: TAGS-etc
7239 TAGS-etc: \
7240 configure-etc
7241 @: $(MAKE); $(unstage)
7242 @[ -f ./etc/Makefile ] || exit 0; \
7243 r=`${PWD_COMMAND}`; export r; \
7244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7245 $(HOST_EXPORTS) \
7246 for flag in $(EXTRA_HOST_FLAGS) ; do \
7247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7248 done; \
7249 echo "Doing TAGS in etc" ; \
7250 (cd $(HOST_SUBDIR)/etc && \
7251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7253 "RANLIB=$${RANLIB}" \
7254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7255 TAGS) \
7256 || exit 1
7258 @endif etc
7260 .PHONY: maybe-install-info-etc install-info-etc
7261 maybe-install-info-etc:
7262 @if etc
7263 maybe-install-info-etc: install-info-etc
7265 install-info-etc: \
7266 configure-etc \
7267 info-etc
7268 @: $(MAKE); $(unstage)
7269 @[ -f ./etc/Makefile ] || exit 0; \
7270 r=`${PWD_COMMAND}`; export r; \
7271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7272 $(HOST_EXPORTS) \
7273 for flag in $(EXTRA_HOST_FLAGS) ; do \
7274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7275 done; \
7276 echo "Doing install-info in etc" ; \
7277 (cd $(HOST_SUBDIR)/etc && \
7278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7280 "RANLIB=$${RANLIB}" \
7281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7282 install-info) \
7283 || exit 1
7285 @endif etc
7287 .PHONY: maybe-install-pdf-etc install-pdf-etc
7288 maybe-install-pdf-etc:
7289 @if etc
7290 maybe-install-pdf-etc: install-pdf-etc
7292 install-pdf-etc: \
7293 configure-etc \
7294 pdf-etc
7295 @: $(MAKE); $(unstage)
7296 @[ -f ./etc/Makefile ] || exit 0; \
7297 r=`${PWD_COMMAND}`; export r; \
7298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7299 $(HOST_EXPORTS) \
7300 for flag in $(EXTRA_HOST_FLAGS) ; do \
7301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7302 done; \
7303 echo "Doing install-pdf in etc" ; \
7304 (cd $(HOST_SUBDIR)/etc && \
7305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7307 "RANLIB=$${RANLIB}" \
7308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7309 install-pdf) \
7310 || exit 1
7312 @endif etc
7314 .PHONY: maybe-install-html-etc install-html-etc
7315 maybe-install-html-etc:
7316 @if etc
7317 maybe-install-html-etc: install-html-etc
7319 install-html-etc: \
7320 configure-etc \
7321 html-etc
7322 @: $(MAKE); $(unstage)
7323 @[ -f ./etc/Makefile ] || exit 0; \
7324 r=`${PWD_COMMAND}`; export r; \
7325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7326 $(HOST_EXPORTS) \
7327 for flag in $(EXTRA_HOST_FLAGS) ; do \
7328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7329 done; \
7330 echo "Doing install-html in etc" ; \
7331 (cd $(HOST_SUBDIR)/etc && \
7332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7334 "RANLIB=$${RANLIB}" \
7335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7336 install-html) \
7337 || exit 1
7339 @endif etc
7341 .PHONY: maybe-installcheck-etc installcheck-etc
7342 maybe-installcheck-etc:
7343 @if etc
7344 maybe-installcheck-etc: installcheck-etc
7346 installcheck-etc: \
7347 configure-etc
7348 @: $(MAKE); $(unstage)
7349 @[ -f ./etc/Makefile ] || exit 0; \
7350 r=`${PWD_COMMAND}`; export r; \
7351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7352 $(HOST_EXPORTS) \
7353 for flag in $(EXTRA_HOST_FLAGS) ; do \
7354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7355 done; \
7356 echo "Doing installcheck in etc" ; \
7357 (cd $(HOST_SUBDIR)/etc && \
7358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7360 "RANLIB=$${RANLIB}" \
7361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7362 installcheck) \
7363 || exit 1
7365 @endif etc
7367 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
7368 maybe-mostlyclean-etc:
7369 @if etc
7370 maybe-mostlyclean-etc: mostlyclean-etc
7372 mostlyclean-etc:
7373 @: $(MAKE); $(unstage)
7374 @[ -f ./etc/Makefile ] || exit 0; \
7375 r=`${PWD_COMMAND}`; export r; \
7376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7377 $(HOST_EXPORTS) \
7378 for flag in $(EXTRA_HOST_FLAGS) ; do \
7379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7380 done; \
7381 echo "Doing mostlyclean in etc" ; \
7382 (cd $(HOST_SUBDIR)/etc && \
7383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7385 "RANLIB=$${RANLIB}" \
7386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7387 mostlyclean) \
7388 || exit 1
7390 @endif etc
7392 .PHONY: maybe-clean-etc clean-etc
7393 maybe-clean-etc:
7394 @if etc
7395 maybe-clean-etc: clean-etc
7397 clean-etc:
7398 @: $(MAKE); $(unstage)
7399 @[ -f ./etc/Makefile ] || exit 0; \
7400 r=`${PWD_COMMAND}`; export r; \
7401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7402 $(HOST_EXPORTS) \
7403 for flag in $(EXTRA_HOST_FLAGS) ; do \
7404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7405 done; \
7406 echo "Doing clean in etc" ; \
7407 (cd $(HOST_SUBDIR)/etc && \
7408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7410 "RANLIB=$${RANLIB}" \
7411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7412 clean) \
7413 || exit 1
7415 @endif etc
7417 .PHONY: maybe-distclean-etc distclean-etc
7418 maybe-distclean-etc:
7419 @if etc
7420 maybe-distclean-etc: distclean-etc
7422 distclean-etc:
7423 @: $(MAKE); $(unstage)
7424 @[ -f ./etc/Makefile ] || exit 0; \
7425 r=`${PWD_COMMAND}`; export r; \
7426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7427 $(HOST_EXPORTS) \
7428 for flag in $(EXTRA_HOST_FLAGS) ; do \
7429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7430 done; \
7431 echo "Doing distclean in etc" ; \
7432 (cd $(HOST_SUBDIR)/etc && \
7433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7435 "RANLIB=$${RANLIB}" \
7436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7437 distclean) \
7438 || exit 1
7440 @endif etc
7442 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
7443 maybe-maintainer-clean-etc:
7444 @if etc
7445 maybe-maintainer-clean-etc: maintainer-clean-etc
7447 maintainer-clean-etc:
7448 @: $(MAKE); $(unstage)
7449 @[ -f ./etc/Makefile ] || exit 0; \
7450 r=`${PWD_COMMAND}`; export r; \
7451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7452 $(HOST_EXPORTS) \
7453 for flag in $(EXTRA_HOST_FLAGS) ; do \
7454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7455 done; \
7456 echo "Doing maintainer-clean in etc" ; \
7457 (cd $(HOST_SUBDIR)/etc && \
7458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7460 "RANLIB=$${RANLIB}" \
7461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7462 maintainer-clean) \
7463 || exit 1
7465 @endif etc
7469 .PHONY: configure-fastjar maybe-configure-fastjar
7470 maybe-configure-fastjar:
7471 @if gcc-bootstrap
7472 configure-fastjar: stage_current
7473 @endif gcc-bootstrap
7474 @if fastjar
7475 maybe-configure-fastjar: configure-fastjar
7476 configure-fastjar:
7477 @: $(MAKE); $(unstage)
7478 @r=`${PWD_COMMAND}`; export r; \
7479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7480 test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
7481 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar ; \
7482 $(HOST_EXPORTS) \
7483 echo Configuring in $(HOST_SUBDIR)/fastjar; \
7484 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
7485 case $(srcdir) in \
7486 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7487 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
7488 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7489 esac; \
7490 module_srcdir=fastjar; \
7491 $(SHELL) \
7492 $$s/$$module_srcdir/configure \
7493 --srcdir=$${topdir}/$$module_srcdir \
7494 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7495 --target=${target_alias} \
7496 || exit 1
7497 @endif fastjar
7503 .PHONY: all-fastjar maybe-all-fastjar
7504 maybe-all-fastjar:
7505 @if gcc-bootstrap
7506 all-fastjar: stage_current
7507 @endif gcc-bootstrap
7508 @if fastjar
7509 TARGET-fastjar=all
7510 maybe-all-fastjar: all-fastjar
7511 all-fastjar: configure-fastjar
7512 @: $(MAKE); $(unstage)
7513 @r=`${PWD_COMMAND}`; export r; \
7514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7515 $(HOST_EXPORTS) \
7516 (cd $(HOST_SUBDIR)/fastjar && \
7517 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
7518 $(TARGET-fastjar))
7519 @endif fastjar
7524 .PHONY: check-fastjar maybe-check-fastjar
7525 maybe-check-fastjar:
7526 @if fastjar
7527 maybe-check-fastjar: check-fastjar
7529 # This module is only tested in a native toolchain.
7530 check-fastjar:
7531 @: $(MAKE); $(unstage)
7532 @if [ '$(host)' = '$(target)' ] ; then \
7533 r=`${PWD_COMMAND}`; export r; \
7534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7535 $(HOST_EXPORTS) \
7536 (cd $(HOST_SUBDIR)/fastjar && \
7537 $(MAKE) $(FLAGS_TO_PASS) check); \
7540 @endif fastjar
7542 .PHONY: install-fastjar maybe-install-fastjar
7543 maybe-install-fastjar:
7544 @if fastjar
7545 maybe-install-fastjar: install-fastjar
7547 install-fastjar: installdirs
7548 @: $(MAKE); $(unstage)
7549 @r=`${PWD_COMMAND}`; export r; \
7550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7551 $(HOST_EXPORTS) \
7552 (cd $(HOST_SUBDIR)/fastjar && \
7553 $(MAKE) $(FLAGS_TO_PASS) install)
7555 @endif fastjar
7557 .PHONY: install-strip-fastjar maybe-install-strip-fastjar
7558 maybe-install-strip-fastjar:
7559 @if fastjar
7560 maybe-install-strip-fastjar: install-strip-fastjar
7562 install-strip-fastjar: installdirs
7563 @: $(MAKE); $(unstage)
7564 @r=`${PWD_COMMAND}`; export r; \
7565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7566 $(HOST_EXPORTS) \
7567 (cd $(HOST_SUBDIR)/fastjar && \
7568 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7570 @endif fastjar
7572 # Other targets (info, dvi, pdf, etc.)
7574 .PHONY: maybe-info-fastjar info-fastjar
7575 maybe-info-fastjar:
7576 @if fastjar
7577 maybe-info-fastjar: info-fastjar
7579 info-fastjar: \
7580 configure-fastjar
7581 @: $(MAKE); $(unstage)
7582 @[ -f ./fastjar/Makefile ] || exit 0; \
7583 r=`${PWD_COMMAND}`; export r; \
7584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7585 $(HOST_EXPORTS) \
7586 for flag in $(EXTRA_HOST_FLAGS) ; do \
7587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7588 done; \
7589 echo "Doing info in fastjar" ; \
7590 (cd $(HOST_SUBDIR)/fastjar && \
7591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7593 "RANLIB=$${RANLIB}" \
7594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7595 info) \
7596 || exit 1
7598 @endif fastjar
7600 .PHONY: maybe-dvi-fastjar dvi-fastjar
7601 maybe-dvi-fastjar:
7602 @if fastjar
7603 maybe-dvi-fastjar: dvi-fastjar
7605 dvi-fastjar: \
7606 configure-fastjar
7607 @: $(MAKE); $(unstage)
7608 @[ -f ./fastjar/Makefile ] || exit 0; \
7609 r=`${PWD_COMMAND}`; export r; \
7610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7611 $(HOST_EXPORTS) \
7612 for flag in $(EXTRA_HOST_FLAGS) ; do \
7613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7614 done; \
7615 echo "Doing dvi in fastjar" ; \
7616 (cd $(HOST_SUBDIR)/fastjar && \
7617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7619 "RANLIB=$${RANLIB}" \
7620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7621 dvi) \
7622 || exit 1
7624 @endif fastjar
7626 .PHONY: maybe-pdf-fastjar pdf-fastjar
7627 maybe-pdf-fastjar:
7628 @if fastjar
7629 maybe-pdf-fastjar: pdf-fastjar
7631 pdf-fastjar: \
7632 configure-fastjar
7633 @: $(MAKE); $(unstage)
7634 @[ -f ./fastjar/Makefile ] || exit 0; \
7635 r=`${PWD_COMMAND}`; export r; \
7636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7637 $(HOST_EXPORTS) \
7638 for flag in $(EXTRA_HOST_FLAGS) ; do \
7639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7640 done; \
7641 echo "Doing pdf in fastjar" ; \
7642 (cd $(HOST_SUBDIR)/fastjar && \
7643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7645 "RANLIB=$${RANLIB}" \
7646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7647 pdf) \
7648 || exit 1
7650 @endif fastjar
7652 .PHONY: maybe-html-fastjar html-fastjar
7653 maybe-html-fastjar:
7654 @if fastjar
7655 maybe-html-fastjar: html-fastjar
7657 html-fastjar: \
7658 configure-fastjar
7659 @: $(MAKE); $(unstage)
7660 @[ -f ./fastjar/Makefile ] || exit 0; \
7661 r=`${PWD_COMMAND}`; export r; \
7662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7663 $(HOST_EXPORTS) \
7664 for flag in $(EXTRA_HOST_FLAGS) ; do \
7665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7666 done; \
7667 echo "Doing html in fastjar" ; \
7668 (cd $(HOST_SUBDIR)/fastjar && \
7669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7671 "RANLIB=$${RANLIB}" \
7672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7673 html) \
7674 || exit 1
7676 @endif fastjar
7678 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
7679 maybe-TAGS-fastjar:
7680 @if fastjar
7681 maybe-TAGS-fastjar: TAGS-fastjar
7683 TAGS-fastjar: \
7684 configure-fastjar
7685 @: $(MAKE); $(unstage)
7686 @[ -f ./fastjar/Makefile ] || exit 0; \
7687 r=`${PWD_COMMAND}`; export r; \
7688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7689 $(HOST_EXPORTS) \
7690 for flag in $(EXTRA_HOST_FLAGS) ; do \
7691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7692 done; \
7693 echo "Doing TAGS in fastjar" ; \
7694 (cd $(HOST_SUBDIR)/fastjar && \
7695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7697 "RANLIB=$${RANLIB}" \
7698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7699 TAGS) \
7700 || exit 1
7702 @endif fastjar
7704 .PHONY: maybe-install-info-fastjar install-info-fastjar
7705 maybe-install-info-fastjar:
7706 @if fastjar
7707 maybe-install-info-fastjar: install-info-fastjar
7709 install-info-fastjar: \
7710 configure-fastjar \
7711 info-fastjar
7712 @: $(MAKE); $(unstage)
7713 @[ -f ./fastjar/Makefile ] || exit 0; \
7714 r=`${PWD_COMMAND}`; export r; \
7715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7716 $(HOST_EXPORTS) \
7717 for flag in $(EXTRA_HOST_FLAGS) ; do \
7718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7719 done; \
7720 echo "Doing install-info in fastjar" ; \
7721 (cd $(HOST_SUBDIR)/fastjar && \
7722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7724 "RANLIB=$${RANLIB}" \
7725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7726 install-info) \
7727 || exit 1
7729 @endif fastjar
7731 .PHONY: maybe-install-pdf-fastjar install-pdf-fastjar
7732 maybe-install-pdf-fastjar:
7733 @if fastjar
7734 maybe-install-pdf-fastjar: install-pdf-fastjar
7736 install-pdf-fastjar: \
7737 configure-fastjar \
7738 pdf-fastjar
7739 @: $(MAKE); $(unstage)
7740 @[ -f ./fastjar/Makefile ] || exit 0; \
7741 r=`${PWD_COMMAND}`; export r; \
7742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7743 $(HOST_EXPORTS) \
7744 for flag in $(EXTRA_HOST_FLAGS) ; do \
7745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7746 done; \
7747 echo "Doing install-pdf in fastjar" ; \
7748 (cd $(HOST_SUBDIR)/fastjar && \
7749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7751 "RANLIB=$${RANLIB}" \
7752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7753 install-pdf) \
7754 || exit 1
7756 @endif fastjar
7758 .PHONY: maybe-install-html-fastjar install-html-fastjar
7759 maybe-install-html-fastjar:
7760 @if fastjar
7761 maybe-install-html-fastjar: install-html-fastjar
7763 install-html-fastjar: \
7764 configure-fastjar \
7765 html-fastjar
7766 @: $(MAKE); $(unstage)
7767 @[ -f ./fastjar/Makefile ] || exit 0; \
7768 r=`${PWD_COMMAND}`; export r; \
7769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7770 $(HOST_EXPORTS) \
7771 for flag in $(EXTRA_HOST_FLAGS) ; do \
7772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7773 done; \
7774 echo "Doing install-html in fastjar" ; \
7775 (cd $(HOST_SUBDIR)/fastjar && \
7776 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7778 "RANLIB=$${RANLIB}" \
7779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7780 install-html) \
7781 || exit 1
7783 @endif fastjar
7785 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
7786 maybe-installcheck-fastjar:
7787 @if fastjar
7788 maybe-installcheck-fastjar: installcheck-fastjar
7790 installcheck-fastjar: \
7791 configure-fastjar
7792 @: $(MAKE); $(unstage)
7793 @[ -f ./fastjar/Makefile ] || exit 0; \
7794 r=`${PWD_COMMAND}`; export r; \
7795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7796 $(HOST_EXPORTS) \
7797 for flag in $(EXTRA_HOST_FLAGS) ; do \
7798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7799 done; \
7800 echo "Doing installcheck in fastjar" ; \
7801 (cd $(HOST_SUBDIR)/fastjar && \
7802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7804 "RANLIB=$${RANLIB}" \
7805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7806 installcheck) \
7807 || exit 1
7809 @endif fastjar
7811 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
7812 maybe-mostlyclean-fastjar:
7813 @if fastjar
7814 maybe-mostlyclean-fastjar: mostlyclean-fastjar
7816 mostlyclean-fastjar:
7817 @: $(MAKE); $(unstage)
7818 @[ -f ./fastjar/Makefile ] || exit 0; \
7819 r=`${PWD_COMMAND}`; export r; \
7820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7821 $(HOST_EXPORTS) \
7822 for flag in $(EXTRA_HOST_FLAGS) ; do \
7823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7824 done; \
7825 echo "Doing mostlyclean in fastjar" ; \
7826 (cd $(HOST_SUBDIR)/fastjar && \
7827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7829 "RANLIB=$${RANLIB}" \
7830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7831 mostlyclean) \
7832 || exit 1
7834 @endif fastjar
7836 .PHONY: maybe-clean-fastjar clean-fastjar
7837 maybe-clean-fastjar:
7838 @if fastjar
7839 maybe-clean-fastjar: clean-fastjar
7841 clean-fastjar:
7842 @: $(MAKE); $(unstage)
7843 @[ -f ./fastjar/Makefile ] || exit 0; \
7844 r=`${PWD_COMMAND}`; export r; \
7845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7846 $(HOST_EXPORTS) \
7847 for flag in $(EXTRA_HOST_FLAGS) ; do \
7848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7849 done; \
7850 echo "Doing clean in fastjar" ; \
7851 (cd $(HOST_SUBDIR)/fastjar && \
7852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7854 "RANLIB=$${RANLIB}" \
7855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7856 clean) \
7857 || exit 1
7859 @endif fastjar
7861 .PHONY: maybe-distclean-fastjar distclean-fastjar
7862 maybe-distclean-fastjar:
7863 @if fastjar
7864 maybe-distclean-fastjar: distclean-fastjar
7866 distclean-fastjar:
7867 @: $(MAKE); $(unstage)
7868 @[ -f ./fastjar/Makefile ] || exit 0; \
7869 r=`${PWD_COMMAND}`; export r; \
7870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7871 $(HOST_EXPORTS) \
7872 for flag in $(EXTRA_HOST_FLAGS) ; do \
7873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7874 done; \
7875 echo "Doing distclean in fastjar" ; \
7876 (cd $(HOST_SUBDIR)/fastjar && \
7877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7879 "RANLIB=$${RANLIB}" \
7880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7881 distclean) \
7882 || exit 1
7884 @endif fastjar
7886 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
7887 maybe-maintainer-clean-fastjar:
7888 @if fastjar
7889 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
7891 maintainer-clean-fastjar:
7892 @: $(MAKE); $(unstage)
7893 @[ -f ./fastjar/Makefile ] || exit 0; \
7894 r=`${PWD_COMMAND}`; export r; \
7895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7896 $(HOST_EXPORTS) \
7897 for flag in $(EXTRA_HOST_FLAGS) ; do \
7898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7899 done; \
7900 echo "Doing maintainer-clean in fastjar" ; \
7901 (cd $(HOST_SUBDIR)/fastjar && \
7902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7904 "RANLIB=$${RANLIB}" \
7905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7906 maintainer-clean) \
7907 || exit 1
7909 @endif fastjar
7913 .PHONY: configure-fixincludes maybe-configure-fixincludes
7914 maybe-configure-fixincludes:
7915 @if gcc-bootstrap
7916 configure-fixincludes: stage_current
7917 @endif gcc-bootstrap
7918 @if fixincludes
7919 maybe-configure-fixincludes: configure-fixincludes
7920 configure-fixincludes:
7921 @r=`${PWD_COMMAND}`; export r; \
7922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7923 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
7924 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
7925 $(HOST_EXPORTS) \
7926 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
7927 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
7928 case $(srcdir) in \
7929 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7930 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
7931 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7932 esac; \
7933 module_srcdir=fixincludes; \
7934 $(SHELL) \
7935 $$s/$$module_srcdir/configure \
7936 --srcdir=$${topdir}/$$module_srcdir \
7937 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7938 --target=${target_alias} \
7939 || exit 1
7940 @endif fixincludes
7944 .PHONY: configure-stage1-fixincludes maybe-configure-stage1-fixincludes
7945 maybe-configure-stage1-fixincludes:
7946 @if fixincludes-bootstrap
7947 maybe-configure-stage1-fixincludes: configure-stage1-fixincludes
7948 configure-stage1-fixincludes:
7949 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
7950 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
7951 @r=`${PWD_COMMAND}`; export r; \
7952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7953 TFLAGS="$(STAGE1_TFLAGS)"; \
7954 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
7955 $(HOST_EXPORTS) \
7956 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
7957 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
7958 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
7959 echo Configuring stage 1 in $(HOST_SUBDIR)/fixincludes ; \
7960 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
7961 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
7962 case $(srcdir) in \
7963 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7964 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
7965 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7966 esac; \
7967 module_srcdir=fixincludes; \
7968 $(SHELL) $$s/$$module_srcdir/configure \
7969 --srcdir=$${topdir}/$$module_srcdir \
7970 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7971 --target=${target_alias} \
7973 $(STAGE1_CONFIGURE_FLAGS)
7974 @endif fixincludes-bootstrap
7976 .PHONY: configure-stage2-fixincludes maybe-configure-stage2-fixincludes
7977 maybe-configure-stage2-fixincludes:
7978 @if fixincludes-bootstrap
7979 maybe-configure-stage2-fixincludes: configure-stage2-fixincludes
7980 configure-stage2-fixincludes:
7981 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
7982 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
7983 @r=`${PWD_COMMAND}`; export r; \
7984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7985 TFLAGS="$(STAGE2_TFLAGS)"; \
7986 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
7987 $(HOST_EXPORTS) \
7988 $(POSTSTAGE1_HOST_EXPORTS) \
7989 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
7990 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
7991 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
7992 echo Configuring stage 2 in $(HOST_SUBDIR)/fixincludes ; \
7993 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
7994 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
7995 case $(srcdir) in \
7996 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7997 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
7998 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7999 esac; \
8000 module_srcdir=fixincludes; \
8001 $(SHELL) $$s/$$module_srcdir/configure \
8002 --srcdir=$${topdir}/$$module_srcdir \
8003 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8004 --target=${target_alias} \
8005 --with-build-libsubdir=$(HOST_SUBDIR) \
8006 $(STAGE2_CONFIGURE_FLAGS)
8007 @endif fixincludes-bootstrap
8009 .PHONY: configure-stage3-fixincludes maybe-configure-stage3-fixincludes
8010 maybe-configure-stage3-fixincludes:
8011 @if fixincludes-bootstrap
8012 maybe-configure-stage3-fixincludes: configure-stage3-fixincludes
8013 configure-stage3-fixincludes:
8014 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
8015 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8016 @r=`${PWD_COMMAND}`; export r; \
8017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8018 TFLAGS="$(STAGE3_TFLAGS)"; \
8019 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8020 $(HOST_EXPORTS) \
8021 $(POSTSTAGE1_HOST_EXPORTS) \
8022 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
8023 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
8024 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
8025 echo Configuring stage 3 in $(HOST_SUBDIR)/fixincludes ; \
8026 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
8027 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8028 case $(srcdir) in \
8029 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8030 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8031 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8032 esac; \
8033 module_srcdir=fixincludes; \
8034 $(SHELL) $$s/$$module_srcdir/configure \
8035 --srcdir=$${topdir}/$$module_srcdir \
8036 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8037 --target=${target_alias} \
8038 --with-build-libsubdir=$(HOST_SUBDIR) \
8039 $(STAGE3_CONFIGURE_FLAGS)
8040 @endif fixincludes-bootstrap
8042 .PHONY: configure-stage4-fixincludes maybe-configure-stage4-fixincludes
8043 maybe-configure-stage4-fixincludes:
8044 @if fixincludes-bootstrap
8045 maybe-configure-stage4-fixincludes: configure-stage4-fixincludes
8046 configure-stage4-fixincludes:
8047 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
8048 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8049 @r=`${PWD_COMMAND}`; export r; \
8050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8051 TFLAGS="$(STAGE4_TFLAGS)"; \
8052 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8053 $(HOST_EXPORTS) \
8054 $(POSTSTAGE1_HOST_EXPORTS) \
8055 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
8056 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
8057 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
8058 echo Configuring stage 4 in $(HOST_SUBDIR)/fixincludes ; \
8059 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
8060 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8061 case $(srcdir) in \
8062 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8063 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8064 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8065 esac; \
8066 module_srcdir=fixincludes; \
8067 $(SHELL) $$s/$$module_srcdir/configure \
8068 --srcdir=$${topdir}/$$module_srcdir \
8069 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8070 --target=${target_alias} \
8071 --with-build-libsubdir=$(HOST_SUBDIR) \
8072 $(STAGE4_CONFIGURE_FLAGS)
8073 @endif fixincludes-bootstrap
8075 .PHONY: configure-stageprofile-fixincludes maybe-configure-stageprofile-fixincludes
8076 maybe-configure-stageprofile-fixincludes:
8077 @if fixincludes-bootstrap
8078 maybe-configure-stageprofile-fixincludes: configure-stageprofile-fixincludes
8079 configure-stageprofile-fixincludes:
8080 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
8081 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8082 @r=`${PWD_COMMAND}`; export r; \
8083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8084 TFLAGS="$(STAGEprofile_TFLAGS)"; \
8085 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8086 $(HOST_EXPORTS) \
8087 $(POSTSTAGE1_HOST_EXPORTS) \
8088 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
8089 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
8090 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
8091 echo Configuring stage profile in $(HOST_SUBDIR)/fixincludes ; \
8092 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
8093 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8094 case $(srcdir) in \
8095 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8096 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8097 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8098 esac; \
8099 module_srcdir=fixincludes; \
8100 $(SHELL) $$s/$$module_srcdir/configure \
8101 --srcdir=$${topdir}/$$module_srcdir \
8102 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8103 --target=${target_alias} \
8104 --with-build-libsubdir=$(HOST_SUBDIR) \
8105 $(STAGEprofile_CONFIGURE_FLAGS)
8106 @endif fixincludes-bootstrap
8108 .PHONY: configure-stagefeedback-fixincludes maybe-configure-stagefeedback-fixincludes
8109 maybe-configure-stagefeedback-fixincludes:
8110 @if fixincludes-bootstrap
8111 maybe-configure-stagefeedback-fixincludes: configure-stagefeedback-fixincludes
8112 configure-stagefeedback-fixincludes:
8113 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
8114 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8115 @r=`${PWD_COMMAND}`; export r; \
8116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8117 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
8118 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8119 $(HOST_EXPORTS) \
8120 $(POSTSTAGE1_HOST_EXPORTS) \
8121 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
8122 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
8123 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
8124 echo Configuring stage feedback in $(HOST_SUBDIR)/fixincludes ; \
8125 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
8126 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8127 case $(srcdir) in \
8128 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8129 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8130 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8131 esac; \
8132 module_srcdir=fixincludes; \
8133 $(SHELL) $$s/$$module_srcdir/configure \
8134 --srcdir=$${topdir}/$$module_srcdir \
8135 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8136 --target=${target_alias} \
8137 --with-build-libsubdir=$(HOST_SUBDIR) \
8138 $(STAGEfeedback_CONFIGURE_FLAGS)
8139 @endif fixincludes-bootstrap
8145 .PHONY: all-fixincludes maybe-all-fixincludes
8146 maybe-all-fixincludes:
8147 @if gcc-bootstrap
8148 all-fixincludes: stage_current
8149 @endif gcc-bootstrap
8150 @if fixincludes
8151 TARGET-fixincludes=all
8152 maybe-all-fixincludes: all-fixincludes
8153 all-fixincludes: configure-fixincludes
8154 @r=`${PWD_COMMAND}`; export r; \
8155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8156 $(HOST_EXPORTS) \
8157 (cd $(HOST_SUBDIR)/fixincludes && \
8158 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
8159 $(TARGET-fixincludes))
8160 @endif fixincludes
8164 .PHONY: all-stage1-fixincludes maybe-all-stage1-fixincludes
8165 .PHONY: clean-stage1-fixincludes maybe-clean-stage1-fixincludes
8166 maybe-all-stage1-fixincludes:
8167 maybe-clean-stage1-fixincludes:
8168 @if fixincludes-bootstrap
8169 maybe-all-stage1-fixincludes: all-stage1-fixincludes
8170 all-stage1: all-stage1-fixincludes
8171 TARGET-stage1-fixincludes = $(TARGET-fixincludes)
8172 all-stage1-fixincludes: configure-stage1-fixincludes
8173 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
8174 @r=`${PWD_COMMAND}`; export r; \
8175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8176 TFLAGS="$(STAGE1_TFLAGS)"; \
8177 $(HOST_EXPORTS) \
8178 cd $(HOST_SUBDIR)/fixincludes && \
8179 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8180 CFLAGS="$(STAGE1_CFLAGS)" \
8181 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
8182 LIBCFLAGS="$(LIBCFLAGS)" \
8183 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8184 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8185 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8186 $(EXTRA_HOST_FLAGS) \
8187 $(STAGE1_FLAGS_TO_PASS) \
8188 TFLAGS="$(STAGE1_TFLAGS)" \
8189 $(TARGET-stage1-fixincludes)
8191 maybe-clean-stage1-fixincludes: clean-stage1-fixincludes
8192 clean-stage1: clean-stage1-fixincludes
8193 clean-stage1-fixincludes:
8194 @if [ $(current_stage) = stage1 ]; then \
8195 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
8196 else \
8197 [ -f $(HOST_SUBDIR)/stage1-fixincludes/Makefile ] || exit 0; \
8198 $(MAKE) stage1-start; \
8199 fi; \
8200 cd $(HOST_SUBDIR)/fixincludes && \
8201 $(MAKE) $(EXTRA_HOST_FLAGS) \
8202 $(STAGE1_FLAGS_TO_PASS) clean
8203 @endif fixincludes-bootstrap
8206 .PHONY: all-stage2-fixincludes maybe-all-stage2-fixincludes
8207 .PHONY: clean-stage2-fixincludes maybe-clean-stage2-fixincludes
8208 maybe-all-stage2-fixincludes:
8209 maybe-clean-stage2-fixincludes:
8210 @if fixincludes-bootstrap
8211 maybe-all-stage2-fixincludes: all-stage2-fixincludes
8212 all-stage2: all-stage2-fixincludes
8213 TARGET-stage2-fixincludes = $(TARGET-fixincludes)
8214 all-stage2-fixincludes: configure-stage2-fixincludes
8215 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
8216 @r=`${PWD_COMMAND}`; export r; \
8217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8218 TFLAGS="$(STAGE2_TFLAGS)"; \
8219 $(HOST_EXPORTS) \
8220 $(POSTSTAGE1_HOST_EXPORTS) \
8221 cd $(HOST_SUBDIR)/fixincludes && \
8222 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8223 CFLAGS="$(STAGE2_CFLAGS)" \
8224 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
8225 LIBCFLAGS="$(STAGE2_CFLAGS)" \
8226 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8227 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8228 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8229 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8230 TFLAGS="$(STAGE2_TFLAGS)" \
8231 $(TARGET-stage2-fixincludes)
8233 maybe-clean-stage2-fixincludes: clean-stage2-fixincludes
8234 clean-stage2: clean-stage2-fixincludes
8235 clean-stage2-fixincludes:
8236 @if [ $(current_stage) = stage2 ]; then \
8237 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
8238 else \
8239 [ -f $(HOST_SUBDIR)/stage2-fixincludes/Makefile ] || exit 0; \
8240 $(MAKE) stage2-start; \
8241 fi; \
8242 cd $(HOST_SUBDIR)/fixincludes && \
8243 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
8244 @endif fixincludes-bootstrap
8247 .PHONY: all-stage3-fixincludes maybe-all-stage3-fixincludes
8248 .PHONY: clean-stage3-fixincludes maybe-clean-stage3-fixincludes
8249 maybe-all-stage3-fixincludes:
8250 maybe-clean-stage3-fixincludes:
8251 @if fixincludes-bootstrap
8252 maybe-all-stage3-fixincludes: all-stage3-fixincludes
8253 all-stage3: all-stage3-fixincludes
8254 TARGET-stage3-fixincludes = $(TARGET-fixincludes)
8255 all-stage3-fixincludes: configure-stage3-fixincludes
8256 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
8257 @r=`${PWD_COMMAND}`; export r; \
8258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8259 TFLAGS="$(STAGE3_TFLAGS)"; \
8260 $(HOST_EXPORTS) \
8261 $(POSTSTAGE1_HOST_EXPORTS) \
8262 cd $(HOST_SUBDIR)/fixincludes && \
8263 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8264 CFLAGS="$(STAGE3_CFLAGS)" \
8265 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
8266 LIBCFLAGS="$(STAGE3_CFLAGS)" \
8267 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8268 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8269 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8270 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8271 TFLAGS="$(STAGE3_TFLAGS)" \
8272 $(TARGET-stage3-fixincludes)
8274 maybe-clean-stage3-fixincludes: clean-stage3-fixincludes
8275 clean-stage3: clean-stage3-fixincludes
8276 clean-stage3-fixincludes:
8277 @if [ $(current_stage) = stage3 ]; then \
8278 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
8279 else \
8280 [ -f $(HOST_SUBDIR)/stage3-fixincludes/Makefile ] || exit 0; \
8281 $(MAKE) stage3-start; \
8282 fi; \
8283 cd $(HOST_SUBDIR)/fixincludes && \
8284 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
8285 @endif fixincludes-bootstrap
8288 .PHONY: all-stage4-fixincludes maybe-all-stage4-fixincludes
8289 .PHONY: clean-stage4-fixincludes maybe-clean-stage4-fixincludes
8290 maybe-all-stage4-fixincludes:
8291 maybe-clean-stage4-fixincludes:
8292 @if fixincludes-bootstrap
8293 maybe-all-stage4-fixincludes: all-stage4-fixincludes
8294 all-stage4: all-stage4-fixincludes
8295 TARGET-stage4-fixincludes = $(TARGET-fixincludes)
8296 all-stage4-fixincludes: configure-stage4-fixincludes
8297 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
8298 @r=`${PWD_COMMAND}`; export r; \
8299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8300 TFLAGS="$(STAGE4_TFLAGS)"; \
8301 $(HOST_EXPORTS) \
8302 $(POSTSTAGE1_HOST_EXPORTS) \
8303 cd $(HOST_SUBDIR)/fixincludes && \
8304 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8305 CFLAGS="$(STAGE4_CFLAGS)" \
8306 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
8307 LIBCFLAGS="$(STAGE4_CFLAGS)" \
8308 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8309 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8310 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8311 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8312 TFLAGS="$(STAGE4_TFLAGS)" \
8313 $(TARGET-stage4-fixincludes)
8315 maybe-clean-stage4-fixincludes: clean-stage4-fixincludes
8316 clean-stage4: clean-stage4-fixincludes
8317 clean-stage4-fixincludes:
8318 @if [ $(current_stage) = stage4 ]; then \
8319 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
8320 else \
8321 [ -f $(HOST_SUBDIR)/stage4-fixincludes/Makefile ] || exit 0; \
8322 $(MAKE) stage4-start; \
8323 fi; \
8324 cd $(HOST_SUBDIR)/fixincludes && \
8325 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
8326 @endif fixincludes-bootstrap
8329 .PHONY: all-stageprofile-fixincludes maybe-all-stageprofile-fixincludes
8330 .PHONY: clean-stageprofile-fixincludes maybe-clean-stageprofile-fixincludes
8331 maybe-all-stageprofile-fixincludes:
8332 maybe-clean-stageprofile-fixincludes:
8333 @if fixincludes-bootstrap
8334 maybe-all-stageprofile-fixincludes: all-stageprofile-fixincludes
8335 all-stageprofile: all-stageprofile-fixincludes
8336 TARGET-stageprofile-fixincludes = $(TARGET-fixincludes)
8337 all-stageprofile-fixincludes: configure-stageprofile-fixincludes
8338 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
8339 @r=`${PWD_COMMAND}`; export r; \
8340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8341 TFLAGS="$(STAGEprofile_TFLAGS)"; \
8342 $(HOST_EXPORTS) \
8343 $(POSTSTAGE1_HOST_EXPORTS) \
8344 cd $(HOST_SUBDIR)/fixincludes && \
8345 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8346 CFLAGS="$(STAGEprofile_CFLAGS)" \
8347 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
8348 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
8349 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8350 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8351 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8352 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8353 TFLAGS="$(STAGEprofile_TFLAGS)" \
8354 $(TARGET-stageprofile-fixincludes)
8356 maybe-clean-stageprofile-fixincludes: clean-stageprofile-fixincludes
8357 clean-stageprofile: clean-stageprofile-fixincludes
8358 clean-stageprofile-fixincludes:
8359 @if [ $(current_stage) = stageprofile ]; then \
8360 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
8361 else \
8362 [ -f $(HOST_SUBDIR)/stageprofile-fixincludes/Makefile ] || exit 0; \
8363 $(MAKE) stageprofile-start; \
8364 fi; \
8365 cd $(HOST_SUBDIR)/fixincludes && \
8366 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
8367 @endif fixincludes-bootstrap
8370 .PHONY: all-stagefeedback-fixincludes maybe-all-stagefeedback-fixincludes
8371 .PHONY: clean-stagefeedback-fixincludes maybe-clean-stagefeedback-fixincludes
8372 maybe-all-stagefeedback-fixincludes:
8373 maybe-clean-stagefeedback-fixincludes:
8374 @if fixincludes-bootstrap
8375 maybe-all-stagefeedback-fixincludes: all-stagefeedback-fixincludes
8376 all-stagefeedback: all-stagefeedback-fixincludes
8377 TARGET-stagefeedback-fixincludes = $(TARGET-fixincludes)
8378 all-stagefeedback-fixincludes: configure-stagefeedback-fixincludes
8379 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
8380 @r=`${PWD_COMMAND}`; export r; \
8381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8382 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
8383 $(HOST_EXPORTS) \
8384 $(POSTSTAGE1_HOST_EXPORTS) \
8385 cd $(HOST_SUBDIR)/fixincludes && \
8386 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8387 CFLAGS="$(STAGEfeedback_CFLAGS)" \
8388 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
8389 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
8390 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8391 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8392 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8393 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8394 TFLAGS="$(STAGEfeedback_TFLAGS)" \
8395 $(TARGET-stagefeedback-fixincludes)
8397 maybe-clean-stagefeedback-fixincludes: clean-stagefeedback-fixincludes
8398 clean-stagefeedback: clean-stagefeedback-fixincludes
8399 clean-stagefeedback-fixincludes:
8400 @if [ $(current_stage) = stagefeedback ]; then \
8401 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
8402 else \
8403 [ -f $(HOST_SUBDIR)/stagefeedback-fixincludes/Makefile ] || exit 0; \
8404 $(MAKE) stagefeedback-start; \
8405 fi; \
8406 cd $(HOST_SUBDIR)/fixincludes && \
8407 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
8408 @endif fixincludes-bootstrap
8414 .PHONY: check-fixincludes maybe-check-fixincludes
8415 maybe-check-fixincludes:
8416 @if fixincludes
8417 maybe-check-fixincludes: check-fixincludes
8419 check-fixincludes:
8420 @: $(MAKE); $(unstage)
8421 @r=`${PWD_COMMAND}`; export r; \
8422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8423 $(HOST_EXPORTS) \
8424 (cd $(HOST_SUBDIR)/fixincludes && \
8425 $(MAKE) $(FLAGS_TO_PASS) check)
8427 @endif fixincludes
8429 .PHONY: install-fixincludes maybe-install-fixincludes
8430 maybe-install-fixincludes:
8431 @if fixincludes
8432 maybe-install-fixincludes: install-fixincludes
8434 install-fixincludes: installdirs
8435 @: $(MAKE); $(unstage)
8436 @r=`${PWD_COMMAND}`; export r; \
8437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8438 $(HOST_EXPORTS) \
8439 (cd $(HOST_SUBDIR)/fixincludes && \
8440 $(MAKE) $(FLAGS_TO_PASS) install)
8442 @endif fixincludes
8444 .PHONY: install-strip-fixincludes maybe-install-strip-fixincludes
8445 maybe-install-strip-fixincludes:
8446 @if fixincludes
8447 maybe-install-strip-fixincludes: install-strip-fixincludes
8449 install-strip-fixincludes: installdirs
8450 @: $(MAKE); $(unstage)
8451 @r=`${PWD_COMMAND}`; export r; \
8452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8453 $(HOST_EXPORTS) \
8454 (cd $(HOST_SUBDIR)/fixincludes && \
8455 $(MAKE) $(FLAGS_TO_PASS) install-strip)
8457 @endif fixincludes
8459 # Other targets (info, dvi, pdf, etc.)
8461 .PHONY: maybe-info-fixincludes info-fixincludes
8462 maybe-info-fixincludes:
8463 @if fixincludes
8464 maybe-info-fixincludes: info-fixincludes
8466 info-fixincludes: \
8467 configure-fixincludes
8468 @[ -f ./fixincludes/Makefile ] || exit 0; \
8469 r=`${PWD_COMMAND}`; export r; \
8470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8471 $(HOST_EXPORTS) \
8472 for flag in $(EXTRA_HOST_FLAGS) ; do \
8473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8474 done; \
8475 echo "Doing info in fixincludes" ; \
8476 (cd $(HOST_SUBDIR)/fixincludes && \
8477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8479 "RANLIB=$${RANLIB}" \
8480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8481 info) \
8482 || exit 1
8484 @endif fixincludes
8486 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
8487 maybe-dvi-fixincludes:
8488 @if fixincludes
8489 maybe-dvi-fixincludes: dvi-fixincludes
8491 dvi-fixincludes: \
8492 configure-fixincludes
8493 @[ -f ./fixincludes/Makefile ] || exit 0; \
8494 r=`${PWD_COMMAND}`; export r; \
8495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8496 $(HOST_EXPORTS) \
8497 for flag in $(EXTRA_HOST_FLAGS) ; do \
8498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8499 done; \
8500 echo "Doing dvi in fixincludes" ; \
8501 (cd $(HOST_SUBDIR)/fixincludes && \
8502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8504 "RANLIB=$${RANLIB}" \
8505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8506 dvi) \
8507 || exit 1
8509 @endif fixincludes
8511 .PHONY: maybe-pdf-fixincludes pdf-fixincludes
8512 maybe-pdf-fixincludes:
8513 @if fixincludes
8514 maybe-pdf-fixincludes: pdf-fixincludes
8516 pdf-fixincludes: \
8517 configure-fixincludes
8518 @[ -f ./fixincludes/Makefile ] || exit 0; \
8519 r=`${PWD_COMMAND}`; export r; \
8520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8521 $(HOST_EXPORTS) \
8522 for flag in $(EXTRA_HOST_FLAGS) ; do \
8523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8524 done; \
8525 echo "Doing pdf in fixincludes" ; \
8526 (cd $(HOST_SUBDIR)/fixincludes && \
8527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8529 "RANLIB=$${RANLIB}" \
8530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8531 pdf) \
8532 || exit 1
8534 @endif fixincludes
8536 .PHONY: maybe-html-fixincludes html-fixincludes
8537 maybe-html-fixincludes:
8538 @if fixincludes
8539 maybe-html-fixincludes: html-fixincludes
8541 html-fixincludes: \
8542 configure-fixincludes
8543 @[ -f ./fixincludes/Makefile ] || exit 0; \
8544 r=`${PWD_COMMAND}`; export r; \
8545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8546 $(HOST_EXPORTS) \
8547 for flag in $(EXTRA_HOST_FLAGS) ; do \
8548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8549 done; \
8550 echo "Doing html in fixincludes" ; \
8551 (cd $(HOST_SUBDIR)/fixincludes && \
8552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8554 "RANLIB=$${RANLIB}" \
8555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8556 html) \
8557 || exit 1
8559 @endif fixincludes
8561 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
8562 maybe-TAGS-fixincludes:
8563 @if fixincludes
8564 maybe-TAGS-fixincludes: TAGS-fixincludes
8566 # fixincludes doesn't support TAGS.
8567 TAGS-fixincludes:
8569 @endif fixincludes
8571 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
8572 maybe-install-info-fixincludes:
8573 @if fixincludes
8574 maybe-install-info-fixincludes: install-info-fixincludes
8576 install-info-fixincludes: \
8577 configure-fixincludes \
8578 info-fixincludes
8579 @[ -f ./fixincludes/Makefile ] || exit 0; \
8580 r=`${PWD_COMMAND}`; export r; \
8581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8582 $(HOST_EXPORTS) \
8583 for flag in $(EXTRA_HOST_FLAGS) ; do \
8584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8585 done; \
8586 echo "Doing install-info in fixincludes" ; \
8587 (cd $(HOST_SUBDIR)/fixincludes && \
8588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8590 "RANLIB=$${RANLIB}" \
8591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8592 install-info) \
8593 || exit 1
8595 @endif fixincludes
8597 .PHONY: maybe-install-pdf-fixincludes install-pdf-fixincludes
8598 maybe-install-pdf-fixincludes:
8599 @if fixincludes
8600 maybe-install-pdf-fixincludes: install-pdf-fixincludes
8602 install-pdf-fixincludes: \
8603 configure-fixincludes \
8604 pdf-fixincludes
8605 @[ -f ./fixincludes/Makefile ] || exit 0; \
8606 r=`${PWD_COMMAND}`; export r; \
8607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8608 $(HOST_EXPORTS) \
8609 for flag in $(EXTRA_HOST_FLAGS) ; do \
8610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8611 done; \
8612 echo "Doing install-pdf in fixincludes" ; \
8613 (cd $(HOST_SUBDIR)/fixincludes && \
8614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8616 "RANLIB=$${RANLIB}" \
8617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8618 install-pdf) \
8619 || exit 1
8621 @endif fixincludes
8623 .PHONY: maybe-install-html-fixincludes install-html-fixincludes
8624 maybe-install-html-fixincludes:
8625 @if fixincludes
8626 maybe-install-html-fixincludes: install-html-fixincludes
8628 install-html-fixincludes: \
8629 configure-fixincludes \
8630 html-fixincludes
8631 @[ -f ./fixincludes/Makefile ] || exit 0; \
8632 r=`${PWD_COMMAND}`; export r; \
8633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8634 $(HOST_EXPORTS) \
8635 for flag in $(EXTRA_HOST_FLAGS) ; do \
8636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8637 done; \
8638 echo "Doing install-html in fixincludes" ; \
8639 (cd $(HOST_SUBDIR)/fixincludes && \
8640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8642 "RANLIB=$${RANLIB}" \
8643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8644 install-html) \
8645 || exit 1
8647 @endif fixincludes
8649 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
8650 maybe-installcheck-fixincludes:
8651 @if fixincludes
8652 maybe-installcheck-fixincludes: installcheck-fixincludes
8654 installcheck-fixincludes: \
8655 configure-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 installcheck 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 installcheck) \
8670 || exit 1
8672 @endif fixincludes
8674 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
8675 maybe-mostlyclean-fixincludes:
8676 @if fixincludes
8677 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
8679 mostlyclean-fixincludes:
8680 @[ -f ./fixincludes/Makefile ] || exit 0; \
8681 r=`${PWD_COMMAND}`; export r; \
8682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8683 $(HOST_EXPORTS) \
8684 for flag in $(EXTRA_HOST_FLAGS) ; do \
8685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8686 done; \
8687 echo "Doing mostlyclean in fixincludes" ; \
8688 (cd $(HOST_SUBDIR)/fixincludes && \
8689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8691 "RANLIB=$${RANLIB}" \
8692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8693 mostlyclean) \
8694 || exit 1
8696 @endif fixincludes
8698 .PHONY: maybe-clean-fixincludes clean-fixincludes
8699 maybe-clean-fixincludes:
8700 @if fixincludes
8701 maybe-clean-fixincludes: clean-fixincludes
8703 clean-fixincludes:
8704 @[ -f ./fixincludes/Makefile ] || exit 0; \
8705 r=`${PWD_COMMAND}`; export r; \
8706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8707 $(HOST_EXPORTS) \
8708 for flag in $(EXTRA_HOST_FLAGS) ; do \
8709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8710 done; \
8711 echo "Doing clean in fixincludes" ; \
8712 (cd $(HOST_SUBDIR)/fixincludes && \
8713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8715 "RANLIB=$${RANLIB}" \
8716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8717 clean) \
8718 || exit 1
8720 @endif fixincludes
8722 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
8723 maybe-distclean-fixincludes:
8724 @if fixincludes
8725 maybe-distclean-fixincludes: distclean-fixincludes
8727 distclean-fixincludes:
8728 @[ -f ./fixincludes/Makefile ] || exit 0; \
8729 r=`${PWD_COMMAND}`; export r; \
8730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8731 $(HOST_EXPORTS) \
8732 for flag in $(EXTRA_HOST_FLAGS) ; do \
8733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8734 done; \
8735 echo "Doing distclean in fixincludes" ; \
8736 (cd $(HOST_SUBDIR)/fixincludes && \
8737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8739 "RANLIB=$${RANLIB}" \
8740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8741 distclean) \
8742 || exit 1
8744 @endif fixincludes
8746 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
8747 maybe-maintainer-clean-fixincludes:
8748 @if fixincludes
8749 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
8751 maintainer-clean-fixincludes:
8752 @[ -f ./fixincludes/Makefile ] || exit 0; \
8753 r=`${PWD_COMMAND}`; export r; \
8754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8755 $(HOST_EXPORTS) \
8756 for flag in $(EXTRA_HOST_FLAGS) ; do \
8757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8758 done; \
8759 echo "Doing maintainer-clean in fixincludes" ; \
8760 (cd $(HOST_SUBDIR)/fixincludes && \
8761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8763 "RANLIB=$${RANLIB}" \
8764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8765 maintainer-clean) \
8766 || exit 1
8768 @endif fixincludes
8772 .PHONY: configure-flex maybe-configure-flex
8773 maybe-configure-flex:
8774 @if gcc-bootstrap
8775 configure-flex: stage_current
8776 @endif gcc-bootstrap
8777 @if flex
8778 maybe-configure-flex: configure-flex
8779 configure-flex:
8780 @: $(MAKE); $(unstage)
8781 @r=`${PWD_COMMAND}`; export r; \
8782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8783 test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
8784 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex ; \
8785 $(HOST_EXPORTS) \
8786 echo Configuring in $(HOST_SUBDIR)/flex; \
8787 cd "$(HOST_SUBDIR)/flex" || exit 1; \
8788 case $(srcdir) in \
8789 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8790 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
8791 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8792 esac; \
8793 module_srcdir=flex; \
8794 $(SHELL) \
8795 $$s/$$module_srcdir/configure \
8796 --srcdir=$${topdir}/$$module_srcdir \
8797 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8798 --target=${target_alias} \
8799 || exit 1
8800 @endif flex
8806 .PHONY: all-flex maybe-all-flex
8807 maybe-all-flex:
8808 @if gcc-bootstrap
8809 all-flex: stage_current
8810 @endif gcc-bootstrap
8811 @if flex
8812 TARGET-flex=all
8813 maybe-all-flex: all-flex
8814 all-flex: configure-flex
8815 @: $(MAKE); $(unstage)
8816 @r=`${PWD_COMMAND}`; export r; \
8817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8818 $(HOST_EXPORTS) \
8819 (cd $(HOST_SUBDIR)/flex && \
8820 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
8821 $(TARGET-flex))
8822 @endif flex
8827 .PHONY: check-flex maybe-check-flex
8828 maybe-check-flex:
8829 @if flex
8830 maybe-check-flex: check-flex
8832 # This module is only tested in a native toolchain.
8833 check-flex:
8834 @: $(MAKE); $(unstage)
8835 @if [ '$(host)' = '$(target)' ] ; then \
8836 r=`${PWD_COMMAND}`; export r; \
8837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8838 $(HOST_EXPORTS) \
8839 (cd $(HOST_SUBDIR)/flex && \
8840 $(MAKE) $(FLAGS_TO_PASS) check); \
8843 @endif flex
8845 .PHONY: install-flex maybe-install-flex
8846 maybe-install-flex:
8847 @if flex
8848 maybe-install-flex: install-flex
8850 install-flex: installdirs
8851 @: $(MAKE); $(unstage)
8852 @r=`${PWD_COMMAND}`; export r; \
8853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8854 $(HOST_EXPORTS) \
8855 (cd $(HOST_SUBDIR)/flex && \
8856 $(MAKE) $(FLAGS_TO_PASS) install)
8858 @endif flex
8860 .PHONY: install-strip-flex maybe-install-strip-flex
8861 maybe-install-strip-flex:
8862 @if flex
8863 maybe-install-strip-flex: install-strip-flex
8865 install-strip-flex: installdirs
8866 @: $(MAKE); $(unstage)
8867 @r=`${PWD_COMMAND}`; export r; \
8868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8869 $(HOST_EXPORTS) \
8870 (cd $(HOST_SUBDIR)/flex && \
8871 $(MAKE) $(FLAGS_TO_PASS) install-strip)
8873 @endif flex
8875 # Other targets (info, dvi, pdf, etc.)
8877 .PHONY: maybe-info-flex info-flex
8878 maybe-info-flex:
8879 @if flex
8880 maybe-info-flex: info-flex
8882 info-flex: \
8883 configure-flex
8884 @: $(MAKE); $(unstage)
8885 @[ -f ./flex/Makefile ] || exit 0; \
8886 r=`${PWD_COMMAND}`; export r; \
8887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8888 $(HOST_EXPORTS) \
8889 for flag in $(EXTRA_HOST_FLAGS) ; do \
8890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8891 done; \
8892 echo "Doing info in flex" ; \
8893 (cd $(HOST_SUBDIR)/flex && \
8894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8896 "RANLIB=$${RANLIB}" \
8897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8898 info) \
8899 || exit 1
8901 @endif flex
8903 .PHONY: maybe-dvi-flex dvi-flex
8904 maybe-dvi-flex:
8905 @if flex
8906 maybe-dvi-flex: dvi-flex
8908 dvi-flex: \
8909 configure-flex
8910 @: $(MAKE); $(unstage)
8911 @[ -f ./flex/Makefile ] || exit 0; \
8912 r=`${PWD_COMMAND}`; export r; \
8913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8914 $(HOST_EXPORTS) \
8915 for flag in $(EXTRA_HOST_FLAGS) ; do \
8916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8917 done; \
8918 echo "Doing dvi in flex" ; \
8919 (cd $(HOST_SUBDIR)/flex && \
8920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8922 "RANLIB=$${RANLIB}" \
8923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8924 dvi) \
8925 || exit 1
8927 @endif flex
8929 .PHONY: maybe-pdf-flex pdf-flex
8930 maybe-pdf-flex:
8931 @if flex
8932 maybe-pdf-flex: pdf-flex
8934 pdf-flex: \
8935 configure-flex
8936 @: $(MAKE); $(unstage)
8937 @[ -f ./flex/Makefile ] || exit 0; \
8938 r=`${PWD_COMMAND}`; export r; \
8939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8940 $(HOST_EXPORTS) \
8941 for flag in $(EXTRA_HOST_FLAGS) ; do \
8942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8943 done; \
8944 echo "Doing pdf in flex" ; \
8945 (cd $(HOST_SUBDIR)/flex && \
8946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8948 "RANLIB=$${RANLIB}" \
8949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8950 pdf) \
8951 || exit 1
8953 @endif flex
8955 .PHONY: maybe-html-flex html-flex
8956 maybe-html-flex:
8957 @if flex
8958 maybe-html-flex: html-flex
8960 html-flex: \
8961 configure-flex
8962 @: $(MAKE); $(unstage)
8963 @[ -f ./flex/Makefile ] || exit 0; \
8964 r=`${PWD_COMMAND}`; export r; \
8965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8966 $(HOST_EXPORTS) \
8967 for flag in $(EXTRA_HOST_FLAGS) ; do \
8968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8969 done; \
8970 echo "Doing html in flex" ; \
8971 (cd $(HOST_SUBDIR)/flex && \
8972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8974 "RANLIB=$${RANLIB}" \
8975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8976 html) \
8977 || exit 1
8979 @endif flex
8981 .PHONY: maybe-TAGS-flex TAGS-flex
8982 maybe-TAGS-flex:
8983 @if flex
8984 maybe-TAGS-flex: TAGS-flex
8986 TAGS-flex: \
8987 configure-flex
8988 @: $(MAKE); $(unstage)
8989 @[ -f ./flex/Makefile ] || exit 0; \
8990 r=`${PWD_COMMAND}`; export r; \
8991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8992 $(HOST_EXPORTS) \
8993 for flag in $(EXTRA_HOST_FLAGS) ; do \
8994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8995 done; \
8996 echo "Doing TAGS in flex" ; \
8997 (cd $(HOST_SUBDIR)/flex && \
8998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9000 "RANLIB=$${RANLIB}" \
9001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9002 TAGS) \
9003 || exit 1
9005 @endif flex
9007 .PHONY: maybe-install-info-flex install-info-flex
9008 maybe-install-info-flex:
9009 @if flex
9010 maybe-install-info-flex: install-info-flex
9012 install-info-flex: \
9013 configure-flex \
9014 info-flex
9015 @: $(MAKE); $(unstage)
9016 @[ -f ./flex/Makefile ] || exit 0; \
9017 r=`${PWD_COMMAND}`; export r; \
9018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9019 $(HOST_EXPORTS) \
9020 for flag in $(EXTRA_HOST_FLAGS) ; do \
9021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9022 done; \
9023 echo "Doing install-info in flex" ; \
9024 (cd $(HOST_SUBDIR)/flex && \
9025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9027 "RANLIB=$${RANLIB}" \
9028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9029 install-info) \
9030 || exit 1
9032 @endif flex
9034 .PHONY: maybe-install-pdf-flex install-pdf-flex
9035 maybe-install-pdf-flex:
9036 @if flex
9037 maybe-install-pdf-flex: install-pdf-flex
9039 install-pdf-flex: \
9040 configure-flex \
9041 pdf-flex
9042 @: $(MAKE); $(unstage)
9043 @[ -f ./flex/Makefile ] || exit 0; \
9044 r=`${PWD_COMMAND}`; export r; \
9045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9046 $(HOST_EXPORTS) \
9047 for flag in $(EXTRA_HOST_FLAGS) ; do \
9048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9049 done; \
9050 echo "Doing install-pdf in flex" ; \
9051 (cd $(HOST_SUBDIR)/flex && \
9052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9054 "RANLIB=$${RANLIB}" \
9055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9056 install-pdf) \
9057 || exit 1
9059 @endif flex
9061 .PHONY: maybe-install-html-flex install-html-flex
9062 maybe-install-html-flex:
9063 @if flex
9064 maybe-install-html-flex: install-html-flex
9066 install-html-flex: \
9067 configure-flex \
9068 html-flex
9069 @: $(MAKE); $(unstage)
9070 @[ -f ./flex/Makefile ] || exit 0; \
9071 r=`${PWD_COMMAND}`; export r; \
9072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9073 $(HOST_EXPORTS) \
9074 for flag in $(EXTRA_HOST_FLAGS) ; do \
9075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9076 done; \
9077 echo "Doing install-html in flex" ; \
9078 (cd $(HOST_SUBDIR)/flex && \
9079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9081 "RANLIB=$${RANLIB}" \
9082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9083 install-html) \
9084 || exit 1
9086 @endif flex
9088 .PHONY: maybe-installcheck-flex installcheck-flex
9089 maybe-installcheck-flex:
9090 @if flex
9091 maybe-installcheck-flex: installcheck-flex
9093 installcheck-flex: \
9094 configure-flex
9095 @: $(MAKE); $(unstage)
9096 @[ -f ./flex/Makefile ] || exit 0; \
9097 r=`${PWD_COMMAND}`; export r; \
9098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9099 $(HOST_EXPORTS) \
9100 for flag in $(EXTRA_HOST_FLAGS) ; do \
9101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9102 done; \
9103 echo "Doing installcheck in flex" ; \
9104 (cd $(HOST_SUBDIR)/flex && \
9105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9107 "RANLIB=$${RANLIB}" \
9108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9109 installcheck) \
9110 || exit 1
9112 @endif flex
9114 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
9115 maybe-mostlyclean-flex:
9116 @if flex
9117 maybe-mostlyclean-flex: mostlyclean-flex
9119 mostlyclean-flex:
9120 @: $(MAKE); $(unstage)
9121 @[ -f ./flex/Makefile ] || exit 0; \
9122 r=`${PWD_COMMAND}`; export r; \
9123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9124 $(HOST_EXPORTS) \
9125 for flag in $(EXTRA_HOST_FLAGS) ; do \
9126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9127 done; \
9128 echo "Doing mostlyclean in flex" ; \
9129 (cd $(HOST_SUBDIR)/flex && \
9130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9132 "RANLIB=$${RANLIB}" \
9133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9134 mostlyclean) \
9135 || exit 1
9137 @endif flex
9139 .PHONY: maybe-clean-flex clean-flex
9140 maybe-clean-flex:
9141 @if flex
9142 maybe-clean-flex: clean-flex
9144 clean-flex:
9145 @: $(MAKE); $(unstage)
9146 @[ -f ./flex/Makefile ] || exit 0; \
9147 r=`${PWD_COMMAND}`; export r; \
9148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9149 $(HOST_EXPORTS) \
9150 for flag in $(EXTRA_HOST_FLAGS) ; do \
9151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9152 done; \
9153 echo "Doing clean in flex" ; \
9154 (cd $(HOST_SUBDIR)/flex && \
9155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9157 "RANLIB=$${RANLIB}" \
9158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9159 clean) \
9160 || exit 1
9162 @endif flex
9164 .PHONY: maybe-distclean-flex distclean-flex
9165 maybe-distclean-flex:
9166 @if flex
9167 maybe-distclean-flex: distclean-flex
9169 distclean-flex:
9170 @: $(MAKE); $(unstage)
9171 @[ -f ./flex/Makefile ] || exit 0; \
9172 r=`${PWD_COMMAND}`; export r; \
9173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9174 $(HOST_EXPORTS) \
9175 for flag in $(EXTRA_HOST_FLAGS) ; do \
9176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9177 done; \
9178 echo "Doing distclean in flex" ; \
9179 (cd $(HOST_SUBDIR)/flex && \
9180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9182 "RANLIB=$${RANLIB}" \
9183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9184 distclean) \
9185 || exit 1
9187 @endif flex
9189 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
9190 maybe-maintainer-clean-flex:
9191 @if flex
9192 maybe-maintainer-clean-flex: maintainer-clean-flex
9194 maintainer-clean-flex:
9195 @: $(MAKE); $(unstage)
9196 @[ -f ./flex/Makefile ] || exit 0; \
9197 r=`${PWD_COMMAND}`; export r; \
9198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9199 $(HOST_EXPORTS) \
9200 for flag in $(EXTRA_HOST_FLAGS) ; do \
9201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9202 done; \
9203 echo "Doing maintainer-clean in flex" ; \
9204 (cd $(HOST_SUBDIR)/flex && \
9205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9207 "RANLIB=$${RANLIB}" \
9208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9209 maintainer-clean) \
9210 || exit 1
9212 @endif flex
9216 .PHONY: configure-gas maybe-configure-gas
9217 maybe-configure-gas:
9218 @if gcc-bootstrap
9219 configure-gas: stage_current
9220 @endif gcc-bootstrap
9221 @if gas
9222 maybe-configure-gas: configure-gas
9223 configure-gas:
9224 @r=`${PWD_COMMAND}`; export r; \
9225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9226 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
9227 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
9228 $(HOST_EXPORTS) \
9229 echo Configuring in $(HOST_SUBDIR)/gas; \
9230 cd "$(HOST_SUBDIR)/gas" || exit 1; \
9231 case $(srcdir) in \
9232 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9233 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9234 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9235 esac; \
9236 module_srcdir=gas; \
9237 $(SHELL) \
9238 $$s/$$module_srcdir/configure \
9239 --srcdir=$${topdir}/$$module_srcdir \
9240 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9241 --target=${target_alias} \
9242 || exit 1
9243 @endif gas
9247 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
9248 maybe-configure-stage1-gas:
9249 @if gas-bootstrap
9250 maybe-configure-stage1-gas: configure-stage1-gas
9251 configure-stage1-gas:
9252 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
9253 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
9254 @r=`${PWD_COMMAND}`; export r; \
9255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9256 TFLAGS="$(STAGE1_TFLAGS)"; \
9257 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
9258 $(HOST_EXPORTS) \
9259 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
9260 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
9261 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
9262 echo Configuring stage 1 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 module_srcdir=gas; \
9271 $(SHELL) $$s/$$module_srcdir/configure \
9272 --srcdir=$${topdir}/$$module_srcdir \
9273 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9274 --target=${target_alias} \
9276 $(STAGE1_CONFIGURE_FLAGS)
9277 @endif gas-bootstrap
9279 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
9280 maybe-configure-stage2-gas:
9281 @if gas-bootstrap
9282 maybe-configure-stage2-gas: configure-stage2-gas
9283 configure-stage2-gas:
9284 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
9285 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
9286 @r=`${PWD_COMMAND}`; export r; \
9287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9288 TFLAGS="$(STAGE2_TFLAGS)"; \
9289 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
9290 $(HOST_EXPORTS) \
9291 $(POSTSTAGE1_HOST_EXPORTS) \
9292 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
9293 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
9294 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
9295 echo Configuring stage 2 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 module_srcdir=gas; \
9304 $(SHELL) $$s/$$module_srcdir/configure \
9305 --srcdir=$${topdir}/$$module_srcdir \
9306 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9307 --target=${target_alias} \
9308 --with-build-libsubdir=$(HOST_SUBDIR) \
9309 $(STAGE2_CONFIGURE_FLAGS)
9310 @endif gas-bootstrap
9312 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
9313 maybe-configure-stage3-gas:
9314 @if gas-bootstrap
9315 maybe-configure-stage3-gas: configure-stage3-gas
9316 configure-stage3-gas:
9317 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
9318 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
9319 @r=`${PWD_COMMAND}`; export r; \
9320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9321 TFLAGS="$(STAGE3_TFLAGS)"; \
9322 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
9323 $(HOST_EXPORTS) \
9324 $(POSTSTAGE1_HOST_EXPORTS) \
9325 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
9326 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
9327 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
9328 echo Configuring stage 3 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 module_srcdir=gas; \
9337 $(SHELL) $$s/$$module_srcdir/configure \
9338 --srcdir=$${topdir}/$$module_srcdir \
9339 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9340 --target=${target_alias} \
9341 --with-build-libsubdir=$(HOST_SUBDIR) \
9342 $(STAGE3_CONFIGURE_FLAGS)
9343 @endif gas-bootstrap
9345 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
9346 maybe-configure-stage4-gas:
9347 @if gas-bootstrap
9348 maybe-configure-stage4-gas: configure-stage4-gas
9349 configure-stage4-gas:
9350 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
9351 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
9352 @r=`${PWD_COMMAND}`; export r; \
9353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9354 TFLAGS="$(STAGE4_TFLAGS)"; \
9355 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
9356 $(HOST_EXPORTS) \
9357 $(POSTSTAGE1_HOST_EXPORTS) \
9358 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
9359 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
9360 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
9361 echo Configuring stage 4 in $(HOST_SUBDIR)/gas ; \
9362 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
9363 cd $(HOST_SUBDIR)/gas || exit 1; \
9364 case $(srcdir) in \
9365 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9366 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9367 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9368 esac; \
9369 module_srcdir=gas; \
9370 $(SHELL) $$s/$$module_srcdir/configure \
9371 --srcdir=$${topdir}/$$module_srcdir \
9372 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9373 --target=${target_alias} \
9374 --with-build-libsubdir=$(HOST_SUBDIR) \
9375 $(STAGE4_CONFIGURE_FLAGS)
9376 @endif gas-bootstrap
9378 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
9379 maybe-configure-stageprofile-gas:
9380 @if gas-bootstrap
9381 maybe-configure-stageprofile-gas: configure-stageprofile-gas
9382 configure-stageprofile-gas:
9383 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9384 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
9385 @r=`${PWD_COMMAND}`; export r; \
9386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9387 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9388 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
9389 $(HOST_EXPORTS) \
9390 $(POSTSTAGE1_HOST_EXPORTS) \
9391 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
9392 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
9393 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
9394 echo Configuring stage profile in $(HOST_SUBDIR)/gas ; \
9395 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
9396 cd $(HOST_SUBDIR)/gas || exit 1; \
9397 case $(srcdir) in \
9398 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9399 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9400 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9401 esac; \
9402 module_srcdir=gas; \
9403 $(SHELL) $$s/$$module_srcdir/configure \
9404 --srcdir=$${topdir}/$$module_srcdir \
9405 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9406 --target=${target_alias} \
9407 --with-build-libsubdir=$(HOST_SUBDIR) \
9408 $(STAGEprofile_CONFIGURE_FLAGS)
9409 @endif gas-bootstrap
9411 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
9412 maybe-configure-stagefeedback-gas:
9413 @if gas-bootstrap
9414 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
9415 configure-stagefeedback-gas:
9416 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9417 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
9418 @r=`${PWD_COMMAND}`; export r; \
9419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9420 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9421 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
9422 $(HOST_EXPORTS) \
9423 $(POSTSTAGE1_HOST_EXPORTS) \
9424 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
9425 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
9426 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
9427 echo Configuring stage feedback in $(HOST_SUBDIR)/gas ; \
9428 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
9429 cd $(HOST_SUBDIR)/gas || exit 1; \
9430 case $(srcdir) in \
9431 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9432 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9433 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9434 esac; \
9435 module_srcdir=gas; \
9436 $(SHELL) $$s/$$module_srcdir/configure \
9437 --srcdir=$${topdir}/$$module_srcdir \
9438 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9439 --target=${target_alias} \
9440 --with-build-libsubdir=$(HOST_SUBDIR) \
9441 $(STAGEfeedback_CONFIGURE_FLAGS)
9442 @endif gas-bootstrap
9448 .PHONY: all-gas maybe-all-gas
9449 maybe-all-gas:
9450 @if gcc-bootstrap
9451 all-gas: stage_current
9452 @endif gcc-bootstrap
9453 @if gas
9454 TARGET-gas=all
9455 maybe-all-gas: all-gas
9456 all-gas: configure-gas
9457 @r=`${PWD_COMMAND}`; export r; \
9458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9459 $(HOST_EXPORTS) \
9460 (cd $(HOST_SUBDIR)/gas && \
9461 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
9462 $(TARGET-gas))
9463 @endif gas
9467 .PHONY: all-stage1-gas maybe-all-stage1-gas
9468 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
9469 maybe-all-stage1-gas:
9470 maybe-clean-stage1-gas:
9471 @if gas-bootstrap
9472 maybe-all-stage1-gas: all-stage1-gas
9473 all-stage1: all-stage1-gas
9474 TARGET-stage1-gas = $(TARGET-gas)
9475 all-stage1-gas: configure-stage1-gas
9476 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
9477 @r=`${PWD_COMMAND}`; export r; \
9478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9479 TFLAGS="$(STAGE1_TFLAGS)"; \
9480 $(HOST_EXPORTS) \
9481 cd $(HOST_SUBDIR)/gas && \
9482 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9483 CFLAGS="$(STAGE1_CFLAGS)" \
9484 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
9485 LIBCFLAGS="$(LIBCFLAGS)" \
9486 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9487 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9488 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9489 $(EXTRA_HOST_FLAGS) \
9490 $(STAGE1_FLAGS_TO_PASS) \
9491 TFLAGS="$(STAGE1_TFLAGS)" \
9492 $(TARGET-stage1-gas)
9494 maybe-clean-stage1-gas: clean-stage1-gas
9495 clean-stage1: clean-stage1-gas
9496 clean-stage1-gas:
9497 @if [ $(current_stage) = stage1 ]; then \
9498 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9499 else \
9500 [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] || exit 0; \
9501 $(MAKE) stage1-start; \
9502 fi; \
9503 cd $(HOST_SUBDIR)/gas && \
9504 $(MAKE) $(EXTRA_HOST_FLAGS) \
9505 $(STAGE1_FLAGS_TO_PASS) clean
9506 @endif gas-bootstrap
9509 .PHONY: all-stage2-gas maybe-all-stage2-gas
9510 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
9511 maybe-all-stage2-gas:
9512 maybe-clean-stage2-gas:
9513 @if gas-bootstrap
9514 maybe-all-stage2-gas: all-stage2-gas
9515 all-stage2: all-stage2-gas
9516 TARGET-stage2-gas = $(TARGET-gas)
9517 all-stage2-gas: configure-stage2-gas
9518 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
9519 @r=`${PWD_COMMAND}`; export r; \
9520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9521 TFLAGS="$(STAGE2_TFLAGS)"; \
9522 $(HOST_EXPORTS) \
9523 $(POSTSTAGE1_HOST_EXPORTS) \
9524 cd $(HOST_SUBDIR)/gas && \
9525 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9526 CFLAGS="$(STAGE2_CFLAGS)" \
9527 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
9528 LIBCFLAGS="$(STAGE2_CFLAGS)" \
9529 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9530 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9531 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9532 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9533 TFLAGS="$(STAGE2_TFLAGS)" \
9534 $(TARGET-stage2-gas)
9536 maybe-clean-stage2-gas: clean-stage2-gas
9537 clean-stage2: clean-stage2-gas
9538 clean-stage2-gas:
9539 @if [ $(current_stage) = stage2 ]; then \
9540 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9541 else \
9542 [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] || exit 0; \
9543 $(MAKE) stage2-start; \
9544 fi; \
9545 cd $(HOST_SUBDIR)/gas && \
9546 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9547 @endif gas-bootstrap
9550 .PHONY: all-stage3-gas maybe-all-stage3-gas
9551 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
9552 maybe-all-stage3-gas:
9553 maybe-clean-stage3-gas:
9554 @if gas-bootstrap
9555 maybe-all-stage3-gas: all-stage3-gas
9556 all-stage3: all-stage3-gas
9557 TARGET-stage3-gas = $(TARGET-gas)
9558 all-stage3-gas: configure-stage3-gas
9559 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
9560 @r=`${PWD_COMMAND}`; export r; \
9561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9562 TFLAGS="$(STAGE3_TFLAGS)"; \
9563 $(HOST_EXPORTS) \
9564 $(POSTSTAGE1_HOST_EXPORTS) \
9565 cd $(HOST_SUBDIR)/gas && \
9566 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9567 CFLAGS="$(STAGE3_CFLAGS)" \
9568 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
9569 LIBCFLAGS="$(STAGE3_CFLAGS)" \
9570 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9571 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9572 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9573 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9574 TFLAGS="$(STAGE3_TFLAGS)" \
9575 $(TARGET-stage3-gas)
9577 maybe-clean-stage3-gas: clean-stage3-gas
9578 clean-stage3: clean-stage3-gas
9579 clean-stage3-gas:
9580 @if [ $(current_stage) = stage3 ]; then \
9581 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9582 else \
9583 [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] || exit 0; \
9584 $(MAKE) stage3-start; \
9585 fi; \
9586 cd $(HOST_SUBDIR)/gas && \
9587 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9588 @endif gas-bootstrap
9591 .PHONY: all-stage4-gas maybe-all-stage4-gas
9592 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
9593 maybe-all-stage4-gas:
9594 maybe-clean-stage4-gas:
9595 @if gas-bootstrap
9596 maybe-all-stage4-gas: all-stage4-gas
9597 all-stage4: all-stage4-gas
9598 TARGET-stage4-gas = $(TARGET-gas)
9599 all-stage4-gas: configure-stage4-gas
9600 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
9601 @r=`${PWD_COMMAND}`; export r; \
9602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9603 TFLAGS="$(STAGE4_TFLAGS)"; \
9604 $(HOST_EXPORTS) \
9605 $(POSTSTAGE1_HOST_EXPORTS) \
9606 cd $(HOST_SUBDIR)/gas && \
9607 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9608 CFLAGS="$(STAGE4_CFLAGS)" \
9609 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
9610 LIBCFLAGS="$(STAGE4_CFLAGS)" \
9611 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9612 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9613 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9614 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9615 TFLAGS="$(STAGE4_TFLAGS)" \
9616 $(TARGET-stage4-gas)
9618 maybe-clean-stage4-gas: clean-stage4-gas
9619 clean-stage4: clean-stage4-gas
9620 clean-stage4-gas:
9621 @if [ $(current_stage) = stage4 ]; then \
9622 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9623 else \
9624 [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] || exit 0; \
9625 $(MAKE) stage4-start; \
9626 fi; \
9627 cd $(HOST_SUBDIR)/gas && \
9628 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9629 @endif gas-bootstrap
9632 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
9633 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
9634 maybe-all-stageprofile-gas:
9635 maybe-clean-stageprofile-gas:
9636 @if gas-bootstrap
9637 maybe-all-stageprofile-gas: all-stageprofile-gas
9638 all-stageprofile: all-stageprofile-gas
9639 TARGET-stageprofile-gas = $(TARGET-gas)
9640 all-stageprofile-gas: configure-stageprofile-gas
9641 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9642 @r=`${PWD_COMMAND}`; export r; \
9643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9644 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9645 $(HOST_EXPORTS) \
9646 $(POSTSTAGE1_HOST_EXPORTS) \
9647 cd $(HOST_SUBDIR)/gas && \
9648 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9649 CFLAGS="$(STAGEprofile_CFLAGS)" \
9650 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
9651 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
9652 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9653 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9654 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9655 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9656 TFLAGS="$(STAGEprofile_TFLAGS)" \
9657 $(TARGET-stageprofile-gas)
9659 maybe-clean-stageprofile-gas: clean-stageprofile-gas
9660 clean-stageprofile: clean-stageprofile-gas
9661 clean-stageprofile-gas:
9662 @if [ $(current_stage) = stageprofile ]; then \
9663 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9664 else \
9665 [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] || exit 0; \
9666 $(MAKE) stageprofile-start; \
9667 fi; \
9668 cd $(HOST_SUBDIR)/gas && \
9669 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9670 @endif gas-bootstrap
9673 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
9674 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
9675 maybe-all-stagefeedback-gas:
9676 maybe-clean-stagefeedback-gas:
9677 @if gas-bootstrap
9678 maybe-all-stagefeedback-gas: all-stagefeedback-gas
9679 all-stagefeedback: all-stagefeedback-gas
9680 TARGET-stagefeedback-gas = $(TARGET-gas)
9681 all-stagefeedback-gas: configure-stagefeedback-gas
9682 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9683 @r=`${PWD_COMMAND}`; export r; \
9684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9685 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9686 $(HOST_EXPORTS) \
9687 $(POSTSTAGE1_HOST_EXPORTS) \
9688 cd $(HOST_SUBDIR)/gas && \
9689 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9690 CFLAGS="$(STAGEfeedback_CFLAGS)" \
9691 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
9692 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
9693 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9694 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9695 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9696 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9697 TFLAGS="$(STAGEfeedback_TFLAGS)" \
9698 $(TARGET-stagefeedback-gas)
9700 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
9701 clean-stagefeedback: clean-stagefeedback-gas
9702 clean-stagefeedback-gas:
9703 @if [ $(current_stage) = stagefeedback ]; then \
9704 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9705 else \
9706 [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] || exit 0; \
9707 $(MAKE) stagefeedback-start; \
9708 fi; \
9709 cd $(HOST_SUBDIR)/gas && \
9710 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9711 @endif gas-bootstrap
9717 .PHONY: check-gas maybe-check-gas
9718 maybe-check-gas:
9719 @if gas
9720 maybe-check-gas: check-gas
9722 check-gas:
9723 @: $(MAKE); $(unstage)
9724 @r=`${PWD_COMMAND}`; export r; \
9725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9726 $(HOST_EXPORTS) \
9727 (cd $(HOST_SUBDIR)/gas && \
9728 $(MAKE) $(FLAGS_TO_PASS) check)
9730 @endif gas
9732 .PHONY: install-gas maybe-install-gas
9733 maybe-install-gas:
9734 @if gas
9735 maybe-install-gas: install-gas
9737 install-gas: installdirs
9738 @: $(MAKE); $(unstage)
9739 @r=`${PWD_COMMAND}`; export r; \
9740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9741 $(HOST_EXPORTS) \
9742 (cd $(HOST_SUBDIR)/gas && \
9743 $(MAKE) $(FLAGS_TO_PASS) install)
9745 @endif gas
9747 .PHONY: install-strip-gas maybe-install-strip-gas
9748 maybe-install-strip-gas:
9749 @if gas
9750 maybe-install-strip-gas: install-strip-gas
9752 install-strip-gas: installdirs
9753 @: $(MAKE); $(unstage)
9754 @r=`${PWD_COMMAND}`; export r; \
9755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9756 $(HOST_EXPORTS) \
9757 (cd $(HOST_SUBDIR)/gas && \
9758 $(MAKE) $(FLAGS_TO_PASS) install-strip)
9760 @endif gas
9762 # Other targets (info, dvi, pdf, etc.)
9764 .PHONY: maybe-info-gas info-gas
9765 maybe-info-gas:
9766 @if gas
9767 maybe-info-gas: info-gas
9769 info-gas: \
9770 configure-gas
9771 @[ -f ./gas/Makefile ] || exit 0; \
9772 r=`${PWD_COMMAND}`; export r; \
9773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9774 $(HOST_EXPORTS) \
9775 for flag in $(EXTRA_HOST_FLAGS) ; do \
9776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9777 done; \
9778 echo "Doing info in gas" ; \
9779 (cd $(HOST_SUBDIR)/gas && \
9780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9782 "RANLIB=$${RANLIB}" \
9783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9784 info) \
9785 || exit 1
9787 @endif gas
9789 .PHONY: maybe-dvi-gas dvi-gas
9790 maybe-dvi-gas:
9791 @if gas
9792 maybe-dvi-gas: dvi-gas
9794 dvi-gas: \
9795 configure-gas
9796 @[ -f ./gas/Makefile ] || exit 0; \
9797 r=`${PWD_COMMAND}`; export r; \
9798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9799 $(HOST_EXPORTS) \
9800 for flag in $(EXTRA_HOST_FLAGS) ; do \
9801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9802 done; \
9803 echo "Doing dvi in gas" ; \
9804 (cd $(HOST_SUBDIR)/gas && \
9805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9807 "RANLIB=$${RANLIB}" \
9808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9809 dvi) \
9810 || exit 1
9812 @endif gas
9814 .PHONY: maybe-pdf-gas pdf-gas
9815 maybe-pdf-gas:
9816 @if gas
9817 maybe-pdf-gas: pdf-gas
9819 pdf-gas: \
9820 configure-gas
9821 @[ -f ./gas/Makefile ] || exit 0; \
9822 r=`${PWD_COMMAND}`; export r; \
9823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9824 $(HOST_EXPORTS) \
9825 for flag in $(EXTRA_HOST_FLAGS) ; do \
9826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9827 done; \
9828 echo "Doing pdf in gas" ; \
9829 (cd $(HOST_SUBDIR)/gas && \
9830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9832 "RANLIB=$${RANLIB}" \
9833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9834 pdf) \
9835 || exit 1
9837 @endif gas
9839 .PHONY: maybe-html-gas html-gas
9840 maybe-html-gas:
9841 @if gas
9842 maybe-html-gas: html-gas
9844 html-gas: \
9845 configure-gas
9846 @[ -f ./gas/Makefile ] || exit 0; \
9847 r=`${PWD_COMMAND}`; export r; \
9848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9849 $(HOST_EXPORTS) \
9850 for flag in $(EXTRA_HOST_FLAGS) ; do \
9851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9852 done; \
9853 echo "Doing html in gas" ; \
9854 (cd $(HOST_SUBDIR)/gas && \
9855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9857 "RANLIB=$${RANLIB}" \
9858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9859 html) \
9860 || exit 1
9862 @endif gas
9864 .PHONY: maybe-TAGS-gas TAGS-gas
9865 maybe-TAGS-gas:
9866 @if gas
9867 maybe-TAGS-gas: TAGS-gas
9869 TAGS-gas: \
9870 configure-gas
9871 @[ -f ./gas/Makefile ] || exit 0; \
9872 r=`${PWD_COMMAND}`; export r; \
9873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9874 $(HOST_EXPORTS) \
9875 for flag in $(EXTRA_HOST_FLAGS) ; do \
9876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9877 done; \
9878 echo "Doing TAGS in gas" ; \
9879 (cd $(HOST_SUBDIR)/gas && \
9880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9882 "RANLIB=$${RANLIB}" \
9883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9884 TAGS) \
9885 || exit 1
9887 @endif gas
9889 .PHONY: maybe-install-info-gas install-info-gas
9890 maybe-install-info-gas:
9891 @if gas
9892 maybe-install-info-gas: install-info-gas
9894 install-info-gas: \
9895 configure-gas \
9896 info-gas
9897 @[ -f ./gas/Makefile ] || exit 0; \
9898 r=`${PWD_COMMAND}`; export r; \
9899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9900 $(HOST_EXPORTS) \
9901 for flag in $(EXTRA_HOST_FLAGS) ; do \
9902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9903 done; \
9904 echo "Doing install-info in gas" ; \
9905 (cd $(HOST_SUBDIR)/gas && \
9906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9908 "RANLIB=$${RANLIB}" \
9909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9910 install-info) \
9911 || exit 1
9913 @endif gas
9915 .PHONY: maybe-install-pdf-gas install-pdf-gas
9916 maybe-install-pdf-gas:
9917 @if gas
9918 maybe-install-pdf-gas: install-pdf-gas
9920 install-pdf-gas: \
9921 configure-gas \
9922 pdf-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 install-pdf 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 install-pdf) \
9937 || exit 1
9939 @endif gas
9941 .PHONY: maybe-install-html-gas install-html-gas
9942 maybe-install-html-gas:
9943 @if gas
9944 maybe-install-html-gas: install-html-gas
9946 install-html-gas: \
9947 configure-gas \
9948 html-gas
9949 @[ -f ./gas/Makefile ] || exit 0; \
9950 r=`${PWD_COMMAND}`; export r; \
9951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9952 $(HOST_EXPORTS) \
9953 for flag in $(EXTRA_HOST_FLAGS) ; do \
9954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9955 done; \
9956 echo "Doing install-html in gas" ; \
9957 (cd $(HOST_SUBDIR)/gas && \
9958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9960 "RANLIB=$${RANLIB}" \
9961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9962 install-html) \
9963 || exit 1
9965 @endif gas
9967 .PHONY: maybe-installcheck-gas installcheck-gas
9968 maybe-installcheck-gas:
9969 @if gas
9970 maybe-installcheck-gas: installcheck-gas
9972 installcheck-gas: \
9973 configure-gas
9974 @[ -f ./gas/Makefile ] || exit 0; \
9975 r=`${PWD_COMMAND}`; export r; \
9976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9977 $(HOST_EXPORTS) \
9978 for flag in $(EXTRA_HOST_FLAGS) ; do \
9979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9980 done; \
9981 echo "Doing installcheck in gas" ; \
9982 (cd $(HOST_SUBDIR)/gas && \
9983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9985 "RANLIB=$${RANLIB}" \
9986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9987 installcheck) \
9988 || exit 1
9990 @endif gas
9992 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
9993 maybe-mostlyclean-gas:
9994 @if gas
9995 maybe-mostlyclean-gas: mostlyclean-gas
9997 mostlyclean-gas:
9998 @[ -f ./gas/Makefile ] || exit 0; \
9999 r=`${PWD_COMMAND}`; export r; \
10000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10001 $(HOST_EXPORTS) \
10002 for flag in $(EXTRA_HOST_FLAGS) ; do \
10003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10004 done; \
10005 echo "Doing mostlyclean in gas" ; \
10006 (cd $(HOST_SUBDIR)/gas && \
10007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10009 "RANLIB=$${RANLIB}" \
10010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10011 mostlyclean) \
10012 || exit 1
10014 @endif gas
10016 .PHONY: maybe-clean-gas clean-gas
10017 maybe-clean-gas:
10018 @if gas
10019 maybe-clean-gas: clean-gas
10021 clean-gas:
10022 @[ -f ./gas/Makefile ] || exit 0; \
10023 r=`${PWD_COMMAND}`; export r; \
10024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10025 $(HOST_EXPORTS) \
10026 for flag in $(EXTRA_HOST_FLAGS) ; do \
10027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10028 done; \
10029 echo "Doing clean in gas" ; \
10030 (cd $(HOST_SUBDIR)/gas && \
10031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10033 "RANLIB=$${RANLIB}" \
10034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10035 clean) \
10036 || exit 1
10038 @endif gas
10040 .PHONY: maybe-distclean-gas distclean-gas
10041 maybe-distclean-gas:
10042 @if gas
10043 maybe-distclean-gas: distclean-gas
10045 distclean-gas:
10046 @[ -f ./gas/Makefile ] || exit 0; \
10047 r=`${PWD_COMMAND}`; export r; \
10048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10049 $(HOST_EXPORTS) \
10050 for flag in $(EXTRA_HOST_FLAGS) ; do \
10051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10052 done; \
10053 echo "Doing distclean in gas" ; \
10054 (cd $(HOST_SUBDIR)/gas && \
10055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10057 "RANLIB=$${RANLIB}" \
10058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10059 distclean) \
10060 || exit 1
10062 @endif gas
10064 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
10065 maybe-maintainer-clean-gas:
10066 @if gas
10067 maybe-maintainer-clean-gas: maintainer-clean-gas
10069 maintainer-clean-gas:
10070 @[ -f ./gas/Makefile ] || exit 0; \
10071 r=`${PWD_COMMAND}`; export r; \
10072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10073 $(HOST_EXPORTS) \
10074 for flag in $(EXTRA_HOST_FLAGS) ; do \
10075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10076 done; \
10077 echo "Doing maintainer-clean in gas" ; \
10078 (cd $(HOST_SUBDIR)/gas && \
10079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10081 "RANLIB=$${RANLIB}" \
10082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10083 maintainer-clean) \
10084 || exit 1
10086 @endif gas
10090 .PHONY: configure-gcc maybe-configure-gcc
10091 maybe-configure-gcc:
10092 @if gcc-bootstrap
10093 configure-gcc: stage_current
10094 @endif gcc-bootstrap
10095 @if gcc
10096 maybe-configure-gcc: configure-gcc
10097 configure-gcc:
10098 @r=`${PWD_COMMAND}`; export r; \
10099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10100 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10101 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10102 $(HOST_EXPORTS) \
10103 echo Configuring in $(HOST_SUBDIR)/gcc; \
10104 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
10105 case $(srcdir) in \
10106 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10107 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10108 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10109 esac; \
10110 module_srcdir=gcc; \
10111 $(SHELL) \
10112 $$s/$$module_srcdir/configure \
10113 --srcdir=$${topdir}/$$module_srcdir \
10114 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10115 --target=${target_alias} \
10116 || exit 1
10117 @endif gcc
10121 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
10122 maybe-configure-stage1-gcc:
10123 @if gcc-bootstrap
10124 maybe-configure-stage1-gcc: configure-stage1-gcc
10125 configure-stage1-gcc:
10126 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10127 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10128 @r=`${PWD_COMMAND}`; export r; \
10129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10130 TFLAGS="$(STAGE1_TFLAGS)"; \
10131 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10132 $(HOST_EXPORTS) \
10133 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
10134 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
10135 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
10136 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc ; \
10137 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10138 cd $(HOST_SUBDIR)/gcc || exit 1; \
10139 case $(srcdir) in \
10140 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10141 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10142 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10143 esac; \
10144 module_srcdir=gcc; \
10145 $(SHELL) $$s/$$module_srcdir/configure \
10146 --srcdir=$${topdir}/$$module_srcdir \
10147 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10148 --target=${target_alias} \
10150 $(STAGE1_CONFIGURE_FLAGS)
10151 @endif gcc-bootstrap
10153 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
10154 maybe-configure-stage2-gcc:
10155 @if gcc-bootstrap
10156 maybe-configure-stage2-gcc: configure-stage2-gcc
10157 configure-stage2-gcc:
10158 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10159 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10160 @r=`${PWD_COMMAND}`; export r; \
10161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10162 TFLAGS="$(STAGE2_TFLAGS)"; \
10163 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10164 $(HOST_EXPORTS) \
10165 $(POSTSTAGE1_HOST_EXPORTS) \
10166 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
10167 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
10168 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
10169 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc ; \
10170 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10171 cd $(HOST_SUBDIR)/gcc || exit 1; \
10172 case $(srcdir) in \
10173 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10174 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10175 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10176 esac; \
10177 module_srcdir=gcc; \
10178 $(SHELL) $$s/$$module_srcdir/configure \
10179 --srcdir=$${topdir}/$$module_srcdir \
10180 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10181 --target=${target_alias} \
10182 --with-build-libsubdir=$(HOST_SUBDIR) \
10183 $(STAGE2_CONFIGURE_FLAGS)
10184 @endif gcc-bootstrap
10186 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
10187 maybe-configure-stage3-gcc:
10188 @if gcc-bootstrap
10189 maybe-configure-stage3-gcc: configure-stage3-gcc
10190 configure-stage3-gcc:
10191 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10192 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10193 @r=`${PWD_COMMAND}`; export r; \
10194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10195 TFLAGS="$(STAGE3_TFLAGS)"; \
10196 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10197 $(HOST_EXPORTS) \
10198 $(POSTSTAGE1_HOST_EXPORTS) \
10199 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
10200 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
10201 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
10202 echo Configuring stage 3 in $(HOST_SUBDIR)/gcc ; \
10203 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10204 cd $(HOST_SUBDIR)/gcc || exit 1; \
10205 case $(srcdir) in \
10206 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10207 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10208 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10209 esac; \
10210 module_srcdir=gcc; \
10211 $(SHELL) $$s/$$module_srcdir/configure \
10212 --srcdir=$${topdir}/$$module_srcdir \
10213 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10214 --target=${target_alias} \
10215 --with-build-libsubdir=$(HOST_SUBDIR) \
10216 $(STAGE3_CONFIGURE_FLAGS)
10217 @endif gcc-bootstrap
10219 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
10220 maybe-configure-stage4-gcc:
10221 @if gcc-bootstrap
10222 maybe-configure-stage4-gcc: configure-stage4-gcc
10223 configure-stage4-gcc:
10224 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10225 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10226 @r=`${PWD_COMMAND}`; export r; \
10227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10228 TFLAGS="$(STAGE4_TFLAGS)"; \
10229 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10230 $(HOST_EXPORTS) \
10231 $(POSTSTAGE1_HOST_EXPORTS) \
10232 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
10233 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
10234 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
10235 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc ; \
10236 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10237 cd $(HOST_SUBDIR)/gcc || exit 1; \
10238 case $(srcdir) in \
10239 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10240 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10241 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10242 esac; \
10243 module_srcdir=gcc; \
10244 $(SHELL) $$s/$$module_srcdir/configure \
10245 --srcdir=$${topdir}/$$module_srcdir \
10246 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10247 --target=${target_alias} \
10248 --with-build-libsubdir=$(HOST_SUBDIR) \
10249 $(STAGE4_CONFIGURE_FLAGS)
10250 @endif gcc-bootstrap
10252 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
10253 maybe-configure-stageprofile-gcc:
10254 @if gcc-bootstrap
10255 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
10256 configure-stageprofile-gcc:
10257 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10258 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10259 @r=`${PWD_COMMAND}`; export r; \
10260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10261 TFLAGS="$(STAGEprofile_TFLAGS)"; \
10262 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10263 $(HOST_EXPORTS) \
10264 $(POSTSTAGE1_HOST_EXPORTS) \
10265 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
10266 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
10267 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
10268 echo Configuring stage profile in $(HOST_SUBDIR)/gcc ; \
10269 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10270 cd $(HOST_SUBDIR)/gcc || exit 1; \
10271 case $(srcdir) in \
10272 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10273 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10274 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10275 esac; \
10276 module_srcdir=gcc; \
10277 $(SHELL) $$s/$$module_srcdir/configure \
10278 --srcdir=$${topdir}/$$module_srcdir \
10279 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10280 --target=${target_alias} \
10281 --with-build-libsubdir=$(HOST_SUBDIR) \
10282 $(STAGEprofile_CONFIGURE_FLAGS)
10283 @endif gcc-bootstrap
10285 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
10286 maybe-configure-stagefeedback-gcc:
10287 @if gcc-bootstrap
10288 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
10289 configure-stagefeedback-gcc:
10290 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10291 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10292 @r=`${PWD_COMMAND}`; export r; \
10293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10294 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
10295 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10296 $(HOST_EXPORTS) \
10297 $(POSTSTAGE1_HOST_EXPORTS) \
10298 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
10299 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
10300 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
10301 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc ; \
10302 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10303 cd $(HOST_SUBDIR)/gcc || exit 1; \
10304 case $(srcdir) in \
10305 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10306 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10307 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10308 esac; \
10309 module_srcdir=gcc; \
10310 $(SHELL) $$s/$$module_srcdir/configure \
10311 --srcdir=$${topdir}/$$module_srcdir \
10312 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10313 --target=${target_alias} \
10314 --with-build-libsubdir=$(HOST_SUBDIR) \
10315 $(STAGEfeedback_CONFIGURE_FLAGS)
10316 @endif gcc-bootstrap
10322 .PHONY: all-gcc maybe-all-gcc
10323 maybe-all-gcc:
10324 @if gcc-bootstrap
10325 all-gcc: stage_current
10326 @endif gcc-bootstrap
10327 @if gcc
10328 TARGET-gcc=all
10329 maybe-all-gcc: all-gcc
10330 all-gcc: configure-gcc
10331 @r=`${PWD_COMMAND}`; export r; \
10332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10333 $(HOST_EXPORTS) \
10334 (cd $(HOST_SUBDIR)/gcc && \
10335 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
10336 $(TARGET-gcc))
10337 @endif gcc
10341 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
10342 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
10343 maybe-all-stage1-gcc:
10344 maybe-clean-stage1-gcc:
10345 @if gcc-bootstrap
10346 maybe-all-stage1-gcc: all-stage1-gcc
10347 all-stage1: all-stage1-gcc
10348 TARGET-stage1-gcc = $(TARGET-gcc)
10349 all-stage1-gcc: configure-stage1-gcc
10350 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10351 @r=`${PWD_COMMAND}`; export r; \
10352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10353 TFLAGS="$(STAGE1_TFLAGS)"; \
10354 $(HOST_EXPORTS) \
10355 cd $(HOST_SUBDIR)/gcc && \
10356 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10357 CFLAGS="$(STAGE1_CFLAGS)" \
10358 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
10359 LIBCFLAGS="$(LIBCFLAGS)" \
10360 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10361 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10362 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10363 $(EXTRA_HOST_FLAGS) \
10364 $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
10365 TFLAGS="$(STAGE1_TFLAGS)" \
10366 $(TARGET-stage1-gcc)
10368 maybe-clean-stage1-gcc: clean-stage1-gcc
10369 clean-stage1: clean-stage1-gcc
10370 clean-stage1-gcc:
10371 @if [ $(current_stage) = stage1 ]; then \
10372 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
10373 else \
10374 [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] || exit 0; \
10375 $(MAKE) stage1-start; \
10376 fi; \
10377 cd $(HOST_SUBDIR)/gcc && \
10378 $(MAKE) $(EXTRA_HOST_FLAGS) \
10379 $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
10380 @endif gcc-bootstrap
10383 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
10384 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
10385 maybe-all-stage2-gcc:
10386 maybe-clean-stage2-gcc:
10387 @if gcc-bootstrap
10388 maybe-all-stage2-gcc: all-stage2-gcc
10389 all-stage2: all-stage2-gcc
10390 TARGET-stage2-gcc = $(TARGET-gcc)
10391 all-stage2-gcc: configure-stage2-gcc
10392 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10393 @r=`${PWD_COMMAND}`; export r; \
10394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10395 TFLAGS="$(STAGE2_TFLAGS)"; \
10396 $(HOST_EXPORTS) \
10397 $(POSTSTAGE1_HOST_EXPORTS) \
10398 cd $(HOST_SUBDIR)/gcc && \
10399 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10400 CFLAGS="$(STAGE2_CFLAGS)" \
10401 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
10402 LIBCFLAGS="$(STAGE2_CFLAGS)" \
10403 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10404 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10405 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10406 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
10407 TFLAGS="$(STAGE2_TFLAGS)" \
10408 $(TARGET-stage2-gcc)
10410 maybe-clean-stage2-gcc: clean-stage2-gcc
10411 clean-stage2: clean-stage2-gcc
10412 clean-stage2-gcc:
10413 @if [ $(current_stage) = stage2 ]; then \
10414 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
10415 else \
10416 [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] || exit 0; \
10417 $(MAKE) stage2-start; \
10418 fi; \
10419 cd $(HOST_SUBDIR)/gcc && \
10420 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
10421 @endif gcc-bootstrap
10424 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
10425 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
10426 maybe-all-stage3-gcc:
10427 maybe-clean-stage3-gcc:
10428 @if gcc-bootstrap
10429 maybe-all-stage3-gcc: all-stage3-gcc
10430 all-stage3: all-stage3-gcc
10431 TARGET-stage3-gcc = $(TARGET-gcc)
10432 all-stage3-gcc: configure-stage3-gcc
10433 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10434 @r=`${PWD_COMMAND}`; export r; \
10435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10436 TFLAGS="$(STAGE3_TFLAGS)"; \
10437 $(HOST_EXPORTS) \
10438 $(POSTSTAGE1_HOST_EXPORTS) \
10439 cd $(HOST_SUBDIR)/gcc && \
10440 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10441 CFLAGS="$(STAGE3_CFLAGS)" \
10442 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
10443 LIBCFLAGS="$(STAGE3_CFLAGS)" \
10444 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10445 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10446 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10447 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
10448 TFLAGS="$(STAGE3_TFLAGS)" \
10449 $(TARGET-stage3-gcc)
10451 maybe-clean-stage3-gcc: clean-stage3-gcc
10452 clean-stage3: clean-stage3-gcc
10453 clean-stage3-gcc:
10454 @if [ $(current_stage) = stage3 ]; then \
10455 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
10456 else \
10457 [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] || exit 0; \
10458 $(MAKE) stage3-start; \
10459 fi; \
10460 cd $(HOST_SUBDIR)/gcc && \
10461 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
10462 @endif gcc-bootstrap
10465 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
10466 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
10467 maybe-all-stage4-gcc:
10468 maybe-clean-stage4-gcc:
10469 @if gcc-bootstrap
10470 maybe-all-stage4-gcc: all-stage4-gcc
10471 all-stage4: all-stage4-gcc
10472 TARGET-stage4-gcc = $(TARGET-gcc)
10473 all-stage4-gcc: configure-stage4-gcc
10474 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10475 @r=`${PWD_COMMAND}`; export r; \
10476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10477 TFLAGS="$(STAGE4_TFLAGS)"; \
10478 $(HOST_EXPORTS) \
10479 $(POSTSTAGE1_HOST_EXPORTS) \
10480 cd $(HOST_SUBDIR)/gcc && \
10481 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10482 CFLAGS="$(STAGE4_CFLAGS)" \
10483 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
10484 LIBCFLAGS="$(STAGE4_CFLAGS)" \
10485 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10486 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10487 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10488 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
10489 TFLAGS="$(STAGE4_TFLAGS)" \
10490 $(TARGET-stage4-gcc)
10492 maybe-clean-stage4-gcc: clean-stage4-gcc
10493 clean-stage4: clean-stage4-gcc
10494 clean-stage4-gcc:
10495 @if [ $(current_stage) = stage4 ]; then \
10496 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
10497 else \
10498 [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] || exit 0; \
10499 $(MAKE) stage4-start; \
10500 fi; \
10501 cd $(HOST_SUBDIR)/gcc && \
10502 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
10503 @endif gcc-bootstrap
10506 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
10507 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
10508 maybe-all-stageprofile-gcc:
10509 maybe-clean-stageprofile-gcc:
10510 @if gcc-bootstrap
10511 maybe-all-stageprofile-gcc: all-stageprofile-gcc
10512 all-stageprofile: all-stageprofile-gcc
10513 TARGET-stageprofile-gcc = $(TARGET-gcc)
10514 all-stageprofile-gcc: configure-stageprofile-gcc
10515 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10516 @r=`${PWD_COMMAND}`; export r; \
10517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10518 TFLAGS="$(STAGEprofile_TFLAGS)"; \
10519 $(HOST_EXPORTS) \
10520 $(POSTSTAGE1_HOST_EXPORTS) \
10521 cd $(HOST_SUBDIR)/gcc && \
10522 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10523 CFLAGS="$(STAGEprofile_CFLAGS)" \
10524 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
10525 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
10526 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10527 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10528 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10529 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
10530 TFLAGS="$(STAGEprofile_TFLAGS)" \
10531 $(TARGET-stageprofile-gcc)
10533 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
10534 clean-stageprofile: clean-stageprofile-gcc
10535 clean-stageprofile-gcc:
10536 @if [ $(current_stage) = stageprofile ]; then \
10537 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
10538 else \
10539 [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] || exit 0; \
10540 $(MAKE) stageprofile-start; \
10541 fi; \
10542 cd $(HOST_SUBDIR)/gcc && \
10543 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
10544 @endif gcc-bootstrap
10547 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
10548 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
10549 maybe-all-stagefeedback-gcc:
10550 maybe-clean-stagefeedback-gcc:
10551 @if gcc-bootstrap
10552 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
10553 all-stagefeedback: all-stagefeedback-gcc
10554 TARGET-stagefeedback-gcc = $(TARGET-gcc)
10555 all-stagefeedback-gcc: configure-stagefeedback-gcc
10556 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10557 @r=`${PWD_COMMAND}`; export r; \
10558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10559 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
10560 $(HOST_EXPORTS) \
10561 $(POSTSTAGE1_HOST_EXPORTS) \
10562 cd $(HOST_SUBDIR)/gcc && \
10563 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10564 CFLAGS="$(STAGEfeedback_CFLAGS)" \
10565 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
10566 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
10567 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10568 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10569 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10570 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
10571 TFLAGS="$(STAGEfeedback_TFLAGS)" \
10572 $(TARGET-stagefeedback-gcc)
10574 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
10575 clean-stagefeedback: clean-stagefeedback-gcc
10576 clean-stagefeedback-gcc:
10577 @if [ $(current_stage) = stagefeedback ]; then \
10578 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
10579 else \
10580 [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] || exit 0; \
10581 $(MAKE) stagefeedback-start; \
10582 fi; \
10583 cd $(HOST_SUBDIR)/gcc && \
10584 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
10585 @endif gcc-bootstrap
10591 .PHONY: check-gcc maybe-check-gcc
10592 maybe-check-gcc:
10593 @if gcc
10594 maybe-check-gcc: check-gcc
10596 check-gcc:
10597 @: $(MAKE); $(unstage)
10598 @r=`${PWD_COMMAND}`; export r; \
10599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10600 $(HOST_EXPORTS) \
10601 (cd $(HOST_SUBDIR)/gcc && \
10602 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) check)
10604 @endif gcc
10606 .PHONY: install-gcc maybe-install-gcc
10607 maybe-install-gcc:
10608 @if gcc
10609 maybe-install-gcc: install-gcc
10611 install-gcc: installdirs
10612 @: $(MAKE); $(unstage)
10613 @r=`${PWD_COMMAND}`; export r; \
10614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10615 $(HOST_EXPORTS) \
10616 (cd $(HOST_SUBDIR)/gcc && \
10617 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
10619 @endif gcc
10621 .PHONY: install-strip-gcc maybe-install-strip-gcc
10622 maybe-install-strip-gcc:
10623 @if gcc
10624 maybe-install-strip-gcc: install-strip-gcc
10626 install-strip-gcc: installdirs
10627 @: $(MAKE); $(unstage)
10628 @r=`${PWD_COMMAND}`; export r; \
10629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10630 $(HOST_EXPORTS) \
10631 (cd $(HOST_SUBDIR)/gcc && \
10632 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install-strip)
10634 @endif gcc
10636 # Other targets (info, dvi, pdf, etc.)
10638 .PHONY: maybe-info-gcc info-gcc
10639 maybe-info-gcc:
10640 @if gcc
10641 maybe-info-gcc: info-gcc
10643 info-gcc: \
10644 configure-gcc
10645 @[ -f ./gcc/Makefile ] || exit 0; \
10646 r=`${PWD_COMMAND}`; export r; \
10647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10648 $(HOST_EXPORTS) \
10649 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10651 done; \
10652 echo "Doing info in gcc" ; \
10653 (cd $(HOST_SUBDIR)/gcc && \
10654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10656 "RANLIB=$${RANLIB}" \
10657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10658 info) \
10659 || exit 1
10661 @endif gcc
10663 .PHONY: maybe-dvi-gcc dvi-gcc
10664 maybe-dvi-gcc:
10665 @if gcc
10666 maybe-dvi-gcc: dvi-gcc
10668 dvi-gcc: \
10669 configure-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 dvi 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 dvi) \
10684 || exit 1
10686 @endif gcc
10688 .PHONY: maybe-pdf-gcc pdf-gcc
10689 maybe-pdf-gcc:
10690 @if gcc
10691 maybe-pdf-gcc: pdf-gcc
10693 pdf-gcc: \
10694 configure-gcc
10695 @[ -f ./gcc/Makefile ] || exit 0; \
10696 r=`${PWD_COMMAND}`; export r; \
10697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10698 $(HOST_EXPORTS) \
10699 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10701 done; \
10702 echo "Doing pdf in gcc" ; \
10703 (cd $(HOST_SUBDIR)/gcc && \
10704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10706 "RANLIB=$${RANLIB}" \
10707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10708 pdf) \
10709 || exit 1
10711 @endif gcc
10713 .PHONY: maybe-html-gcc html-gcc
10714 maybe-html-gcc:
10715 @if gcc
10716 maybe-html-gcc: html-gcc
10718 html-gcc: \
10719 configure-gcc
10720 @[ -f ./gcc/Makefile ] || exit 0; \
10721 r=`${PWD_COMMAND}`; export r; \
10722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10723 $(HOST_EXPORTS) \
10724 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10726 done; \
10727 echo "Doing html in gcc" ; \
10728 (cd $(HOST_SUBDIR)/gcc && \
10729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10731 "RANLIB=$${RANLIB}" \
10732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10733 html) \
10734 || exit 1
10736 @endif gcc
10738 .PHONY: maybe-TAGS-gcc TAGS-gcc
10739 maybe-TAGS-gcc:
10740 @if gcc
10741 maybe-TAGS-gcc: TAGS-gcc
10743 TAGS-gcc: \
10744 configure-gcc
10745 @[ -f ./gcc/Makefile ] || exit 0; \
10746 r=`${PWD_COMMAND}`; export r; \
10747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10748 $(HOST_EXPORTS) \
10749 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10751 done; \
10752 echo "Doing TAGS in gcc" ; \
10753 (cd $(HOST_SUBDIR)/gcc && \
10754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10756 "RANLIB=$${RANLIB}" \
10757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10758 TAGS) \
10759 || exit 1
10761 @endif gcc
10763 .PHONY: maybe-install-info-gcc install-info-gcc
10764 maybe-install-info-gcc:
10765 @if gcc
10766 maybe-install-info-gcc: install-info-gcc
10768 install-info-gcc: \
10769 configure-gcc \
10770 info-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 install-info 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 install-info) \
10785 || exit 1
10787 @endif gcc
10789 .PHONY: maybe-install-pdf-gcc install-pdf-gcc
10790 maybe-install-pdf-gcc:
10791 @if gcc
10792 maybe-install-pdf-gcc: install-pdf-gcc
10794 install-pdf-gcc: \
10795 configure-gcc \
10796 pdf-gcc
10797 @[ -f ./gcc/Makefile ] || exit 0; \
10798 r=`${PWD_COMMAND}`; export r; \
10799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10800 $(HOST_EXPORTS) \
10801 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10802 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10803 done; \
10804 echo "Doing install-pdf in gcc" ; \
10805 (cd $(HOST_SUBDIR)/gcc && \
10806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10808 "RANLIB=$${RANLIB}" \
10809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10810 install-pdf) \
10811 || exit 1
10813 @endif gcc
10815 .PHONY: maybe-install-html-gcc install-html-gcc
10816 maybe-install-html-gcc:
10817 @if gcc
10818 maybe-install-html-gcc: install-html-gcc
10820 install-html-gcc: \
10821 configure-gcc \
10822 html-gcc
10823 @[ -f ./gcc/Makefile ] || exit 0; \
10824 r=`${PWD_COMMAND}`; export r; \
10825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10826 $(HOST_EXPORTS) \
10827 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10829 done; \
10830 echo "Doing install-html in gcc" ; \
10831 (cd $(HOST_SUBDIR)/gcc && \
10832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10834 "RANLIB=$${RANLIB}" \
10835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10836 install-html) \
10837 || exit 1
10839 @endif gcc
10841 .PHONY: maybe-installcheck-gcc installcheck-gcc
10842 maybe-installcheck-gcc:
10843 @if gcc
10844 maybe-installcheck-gcc: installcheck-gcc
10846 installcheck-gcc: \
10847 configure-gcc
10848 @[ -f ./gcc/Makefile ] || exit 0; \
10849 r=`${PWD_COMMAND}`; export r; \
10850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10851 $(HOST_EXPORTS) \
10852 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10854 done; \
10855 echo "Doing installcheck in gcc" ; \
10856 (cd $(HOST_SUBDIR)/gcc && \
10857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10859 "RANLIB=$${RANLIB}" \
10860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10861 installcheck) \
10862 || exit 1
10864 @endif gcc
10866 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
10867 maybe-mostlyclean-gcc:
10868 @if gcc
10869 maybe-mostlyclean-gcc: mostlyclean-gcc
10871 mostlyclean-gcc:
10872 @[ -f ./gcc/Makefile ] || exit 0; \
10873 r=`${PWD_COMMAND}`; export r; \
10874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10875 $(HOST_EXPORTS) \
10876 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10878 done; \
10879 echo "Doing mostlyclean in gcc" ; \
10880 (cd $(HOST_SUBDIR)/gcc && \
10881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10883 "RANLIB=$${RANLIB}" \
10884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10885 mostlyclean) \
10886 || exit 1
10888 @endif gcc
10890 .PHONY: maybe-clean-gcc clean-gcc
10891 maybe-clean-gcc:
10892 @if gcc
10893 maybe-clean-gcc: clean-gcc
10895 clean-gcc:
10896 @[ -f ./gcc/Makefile ] || exit 0; \
10897 r=`${PWD_COMMAND}`; export r; \
10898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10899 $(HOST_EXPORTS) \
10900 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10902 done; \
10903 echo "Doing clean in gcc" ; \
10904 (cd $(HOST_SUBDIR)/gcc && \
10905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10907 "RANLIB=$${RANLIB}" \
10908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10909 clean) \
10910 || exit 1
10912 @endif gcc
10914 .PHONY: maybe-distclean-gcc distclean-gcc
10915 maybe-distclean-gcc:
10916 @if gcc
10917 maybe-distclean-gcc: distclean-gcc
10919 distclean-gcc:
10920 @[ -f ./gcc/Makefile ] || exit 0; \
10921 r=`${PWD_COMMAND}`; export r; \
10922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10923 $(HOST_EXPORTS) \
10924 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10926 done; \
10927 echo "Doing distclean in gcc" ; \
10928 (cd $(HOST_SUBDIR)/gcc && \
10929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10931 "RANLIB=$${RANLIB}" \
10932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10933 distclean) \
10934 || exit 1
10936 @endif gcc
10938 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
10939 maybe-maintainer-clean-gcc:
10940 @if gcc
10941 maybe-maintainer-clean-gcc: maintainer-clean-gcc
10943 maintainer-clean-gcc:
10944 @[ -f ./gcc/Makefile ] || exit 0; \
10945 r=`${PWD_COMMAND}`; export r; \
10946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10947 $(HOST_EXPORTS) \
10948 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10950 done; \
10951 echo "Doing maintainer-clean in gcc" ; \
10952 (cd $(HOST_SUBDIR)/gcc && \
10953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10955 "RANLIB=$${RANLIB}" \
10956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10957 maintainer-clean) \
10958 || exit 1
10960 @endif gcc
10964 .PHONY: configure-gmp maybe-configure-gmp
10965 maybe-configure-gmp:
10966 @if gcc-bootstrap
10967 configure-gmp: stage_current
10968 @endif gcc-bootstrap
10969 @if gmp
10970 maybe-configure-gmp: configure-gmp
10971 configure-gmp:
10972 @r=`${PWD_COMMAND}`; export r; \
10973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10974 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
10975 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
10976 $(HOST_EXPORTS) \
10977 echo Configuring in $(HOST_SUBDIR)/gmp; \
10978 cd "$(HOST_SUBDIR)/gmp" || exit 1; \
10979 case $(srcdir) in \
10980 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10981 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
10982 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10983 esac; \
10984 module_srcdir=gmp; \
10985 $(SHELL) \
10986 $$s/$$module_srcdir/configure \
10987 --srcdir=$${topdir}/$$module_srcdir \
10988 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
10989 --target=none-${host_vendor}-${host_os} --disable-shared \
10990 || exit 1
10991 @endif gmp
10995 .PHONY: configure-stage1-gmp maybe-configure-stage1-gmp
10996 maybe-configure-stage1-gmp:
10997 @if gmp-bootstrap
10998 maybe-configure-stage1-gmp: configure-stage1-gmp
10999 configure-stage1-gmp:
11000 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11001 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
11002 @r=`${PWD_COMMAND}`; export r; \
11003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11004 TFLAGS="$(STAGE1_TFLAGS)"; \
11005 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
11006 $(HOST_EXPORTS) \
11007 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
11008 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
11009 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
11010 echo Configuring stage 1 in $(HOST_SUBDIR)/gmp ; \
11011 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
11012 cd $(HOST_SUBDIR)/gmp || exit 1; \
11013 case $(srcdir) in \
11014 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11015 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
11016 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11017 esac; \
11018 module_srcdir=gmp; \
11019 $(SHELL) $$s/$$module_srcdir/configure \
11020 --srcdir=$${topdir}/$$module_srcdir \
11021 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
11022 --target=none-${host_vendor}-${host_os} \
11024 $(STAGE1_CONFIGURE_FLAGS) \
11025 --disable-shared
11026 @endif gmp-bootstrap
11028 .PHONY: configure-stage2-gmp maybe-configure-stage2-gmp
11029 maybe-configure-stage2-gmp:
11030 @if gmp-bootstrap
11031 maybe-configure-stage2-gmp: configure-stage2-gmp
11032 configure-stage2-gmp:
11033 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11034 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
11035 @r=`${PWD_COMMAND}`; export r; \
11036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11037 TFLAGS="$(STAGE2_TFLAGS)"; \
11038 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
11039 $(HOST_EXPORTS) \
11040 $(POSTSTAGE1_HOST_EXPORTS) \
11041 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
11042 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
11043 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
11044 echo Configuring stage 2 in $(HOST_SUBDIR)/gmp ; \
11045 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
11046 cd $(HOST_SUBDIR)/gmp || exit 1; \
11047 case $(srcdir) in \
11048 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11049 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
11050 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11051 esac; \
11052 module_srcdir=gmp; \
11053 $(SHELL) $$s/$$module_srcdir/configure \
11054 --srcdir=$${topdir}/$$module_srcdir \
11055 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
11056 --target=none-${host_vendor}-${host_os} \
11057 --with-build-libsubdir=$(HOST_SUBDIR) \
11058 $(STAGE2_CONFIGURE_FLAGS) \
11059 --disable-shared
11060 @endif gmp-bootstrap
11062 .PHONY: configure-stage3-gmp maybe-configure-stage3-gmp
11063 maybe-configure-stage3-gmp:
11064 @if gmp-bootstrap
11065 maybe-configure-stage3-gmp: configure-stage3-gmp
11066 configure-stage3-gmp:
11067 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11068 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
11069 @r=`${PWD_COMMAND}`; export r; \
11070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11071 TFLAGS="$(STAGE3_TFLAGS)"; \
11072 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
11073 $(HOST_EXPORTS) \
11074 $(POSTSTAGE1_HOST_EXPORTS) \
11075 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
11076 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
11077 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
11078 echo Configuring stage 3 in $(HOST_SUBDIR)/gmp ; \
11079 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
11080 cd $(HOST_SUBDIR)/gmp || exit 1; \
11081 case $(srcdir) in \
11082 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11083 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
11084 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11085 esac; \
11086 module_srcdir=gmp; \
11087 $(SHELL) $$s/$$module_srcdir/configure \
11088 --srcdir=$${topdir}/$$module_srcdir \
11089 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
11090 --target=none-${host_vendor}-${host_os} \
11091 --with-build-libsubdir=$(HOST_SUBDIR) \
11092 $(STAGE3_CONFIGURE_FLAGS) \
11093 --disable-shared
11094 @endif gmp-bootstrap
11096 .PHONY: configure-stage4-gmp maybe-configure-stage4-gmp
11097 maybe-configure-stage4-gmp:
11098 @if gmp-bootstrap
11099 maybe-configure-stage4-gmp: configure-stage4-gmp
11100 configure-stage4-gmp:
11101 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11102 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
11103 @r=`${PWD_COMMAND}`; export r; \
11104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11105 TFLAGS="$(STAGE4_TFLAGS)"; \
11106 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
11107 $(HOST_EXPORTS) \
11108 $(POSTSTAGE1_HOST_EXPORTS) \
11109 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
11110 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
11111 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
11112 echo Configuring stage 4 in $(HOST_SUBDIR)/gmp ; \
11113 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
11114 cd $(HOST_SUBDIR)/gmp || exit 1; \
11115 case $(srcdir) in \
11116 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11117 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
11118 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11119 esac; \
11120 module_srcdir=gmp; \
11121 $(SHELL) $$s/$$module_srcdir/configure \
11122 --srcdir=$${topdir}/$$module_srcdir \
11123 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
11124 --target=none-${host_vendor}-${host_os} \
11125 --with-build-libsubdir=$(HOST_SUBDIR) \
11126 $(STAGE4_CONFIGURE_FLAGS) \
11127 --disable-shared
11128 @endif gmp-bootstrap
11130 .PHONY: configure-stageprofile-gmp maybe-configure-stageprofile-gmp
11131 maybe-configure-stageprofile-gmp:
11132 @if gmp-bootstrap
11133 maybe-configure-stageprofile-gmp: configure-stageprofile-gmp
11134 configure-stageprofile-gmp:
11135 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11136 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
11137 @r=`${PWD_COMMAND}`; export r; \
11138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11139 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11140 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
11141 $(HOST_EXPORTS) \
11142 $(POSTSTAGE1_HOST_EXPORTS) \
11143 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
11144 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
11145 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
11146 echo Configuring stage profile in $(HOST_SUBDIR)/gmp ; \
11147 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
11148 cd $(HOST_SUBDIR)/gmp || exit 1; \
11149 case $(srcdir) in \
11150 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11151 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
11152 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11153 esac; \
11154 module_srcdir=gmp; \
11155 $(SHELL) $$s/$$module_srcdir/configure \
11156 --srcdir=$${topdir}/$$module_srcdir \
11157 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
11158 --target=none-${host_vendor}-${host_os} \
11159 --with-build-libsubdir=$(HOST_SUBDIR) \
11160 $(STAGEprofile_CONFIGURE_FLAGS) \
11161 --disable-shared
11162 @endif gmp-bootstrap
11164 .PHONY: configure-stagefeedback-gmp maybe-configure-stagefeedback-gmp
11165 maybe-configure-stagefeedback-gmp:
11166 @if gmp-bootstrap
11167 maybe-configure-stagefeedback-gmp: configure-stagefeedback-gmp
11168 configure-stagefeedback-gmp:
11169 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11170 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
11171 @r=`${PWD_COMMAND}`; export r; \
11172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11173 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11174 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
11175 $(HOST_EXPORTS) \
11176 $(POSTSTAGE1_HOST_EXPORTS) \
11177 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
11178 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
11179 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
11180 echo Configuring stage feedback in $(HOST_SUBDIR)/gmp ; \
11181 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
11182 cd $(HOST_SUBDIR)/gmp || exit 1; \
11183 case $(srcdir) in \
11184 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11185 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
11186 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11187 esac; \
11188 module_srcdir=gmp; \
11189 $(SHELL) $$s/$$module_srcdir/configure \
11190 --srcdir=$${topdir}/$$module_srcdir \
11191 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
11192 --target=none-${host_vendor}-${host_os} \
11193 --with-build-libsubdir=$(HOST_SUBDIR) \
11194 $(STAGEfeedback_CONFIGURE_FLAGS) \
11195 --disable-shared
11196 @endif gmp-bootstrap
11202 .PHONY: all-gmp maybe-all-gmp
11203 maybe-all-gmp:
11204 @if gcc-bootstrap
11205 all-gmp: stage_current
11206 @endif gcc-bootstrap
11207 @if gmp
11208 TARGET-gmp=all
11209 maybe-all-gmp: all-gmp
11210 all-gmp: configure-gmp
11211 @r=`${PWD_COMMAND}`; export r; \
11212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11213 $(HOST_EXPORTS) \
11214 (cd $(HOST_SUBDIR)/gmp && \
11215 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
11216 $(TARGET-gmp))
11217 @endif gmp
11221 .PHONY: all-stage1-gmp maybe-all-stage1-gmp
11222 .PHONY: clean-stage1-gmp maybe-clean-stage1-gmp
11223 maybe-all-stage1-gmp:
11224 maybe-clean-stage1-gmp:
11225 @if gmp-bootstrap
11226 maybe-all-stage1-gmp: all-stage1-gmp
11227 all-stage1: all-stage1-gmp
11228 TARGET-stage1-gmp = $(TARGET-gmp)
11229 all-stage1-gmp: configure-stage1-gmp
11230 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11231 @r=`${PWD_COMMAND}`; export r; \
11232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11233 TFLAGS="$(STAGE1_TFLAGS)"; \
11234 $(HOST_EXPORTS) \
11235 cd $(HOST_SUBDIR)/gmp && \
11236 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11237 CFLAGS="$(STAGE1_CFLAGS)" \
11238 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
11239 LIBCFLAGS="$(LIBCFLAGS)" \
11240 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11241 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11242 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11243 $(EXTRA_HOST_FLAGS) \
11244 $(STAGE1_FLAGS_TO_PASS) \
11245 TFLAGS="$(STAGE1_TFLAGS)" \
11246 $(TARGET-stage1-gmp)
11248 maybe-clean-stage1-gmp: clean-stage1-gmp
11249 clean-stage1: clean-stage1-gmp
11250 clean-stage1-gmp:
11251 @if [ $(current_stage) = stage1 ]; then \
11252 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
11253 else \
11254 [ -f $(HOST_SUBDIR)/stage1-gmp/Makefile ] || exit 0; \
11255 $(MAKE) stage1-start; \
11256 fi; \
11257 cd $(HOST_SUBDIR)/gmp && \
11258 $(MAKE) $(EXTRA_HOST_FLAGS) \
11259 $(STAGE1_FLAGS_TO_PASS) clean
11260 @endif gmp-bootstrap
11263 .PHONY: all-stage2-gmp maybe-all-stage2-gmp
11264 .PHONY: clean-stage2-gmp maybe-clean-stage2-gmp
11265 maybe-all-stage2-gmp:
11266 maybe-clean-stage2-gmp:
11267 @if gmp-bootstrap
11268 maybe-all-stage2-gmp: all-stage2-gmp
11269 all-stage2: all-stage2-gmp
11270 TARGET-stage2-gmp = $(TARGET-gmp)
11271 all-stage2-gmp: configure-stage2-gmp
11272 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11273 @r=`${PWD_COMMAND}`; export r; \
11274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11275 TFLAGS="$(STAGE2_TFLAGS)"; \
11276 $(HOST_EXPORTS) \
11277 $(POSTSTAGE1_HOST_EXPORTS) \
11278 cd $(HOST_SUBDIR)/gmp && \
11279 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11280 CFLAGS="$(STAGE2_CFLAGS)" \
11281 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
11282 LIBCFLAGS="$(STAGE2_CFLAGS)" \
11283 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11284 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11285 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11286 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11287 TFLAGS="$(STAGE2_TFLAGS)" \
11288 $(TARGET-stage2-gmp)
11290 maybe-clean-stage2-gmp: clean-stage2-gmp
11291 clean-stage2: clean-stage2-gmp
11292 clean-stage2-gmp:
11293 @if [ $(current_stage) = stage2 ]; then \
11294 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
11295 else \
11296 [ -f $(HOST_SUBDIR)/stage2-gmp/Makefile ] || exit 0; \
11297 $(MAKE) stage2-start; \
11298 fi; \
11299 cd $(HOST_SUBDIR)/gmp && \
11300 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11301 @endif gmp-bootstrap
11304 .PHONY: all-stage3-gmp maybe-all-stage3-gmp
11305 .PHONY: clean-stage3-gmp maybe-clean-stage3-gmp
11306 maybe-all-stage3-gmp:
11307 maybe-clean-stage3-gmp:
11308 @if gmp-bootstrap
11309 maybe-all-stage3-gmp: all-stage3-gmp
11310 all-stage3: all-stage3-gmp
11311 TARGET-stage3-gmp = $(TARGET-gmp)
11312 all-stage3-gmp: configure-stage3-gmp
11313 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11314 @r=`${PWD_COMMAND}`; export r; \
11315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11316 TFLAGS="$(STAGE3_TFLAGS)"; \
11317 $(HOST_EXPORTS) \
11318 $(POSTSTAGE1_HOST_EXPORTS) \
11319 cd $(HOST_SUBDIR)/gmp && \
11320 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11321 CFLAGS="$(STAGE3_CFLAGS)" \
11322 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
11323 LIBCFLAGS="$(STAGE3_CFLAGS)" \
11324 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11325 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11326 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11327 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11328 TFLAGS="$(STAGE3_TFLAGS)" \
11329 $(TARGET-stage3-gmp)
11331 maybe-clean-stage3-gmp: clean-stage3-gmp
11332 clean-stage3: clean-stage3-gmp
11333 clean-stage3-gmp:
11334 @if [ $(current_stage) = stage3 ]; then \
11335 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
11336 else \
11337 [ -f $(HOST_SUBDIR)/stage3-gmp/Makefile ] || exit 0; \
11338 $(MAKE) stage3-start; \
11339 fi; \
11340 cd $(HOST_SUBDIR)/gmp && \
11341 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11342 @endif gmp-bootstrap
11345 .PHONY: all-stage4-gmp maybe-all-stage4-gmp
11346 .PHONY: clean-stage4-gmp maybe-clean-stage4-gmp
11347 maybe-all-stage4-gmp:
11348 maybe-clean-stage4-gmp:
11349 @if gmp-bootstrap
11350 maybe-all-stage4-gmp: all-stage4-gmp
11351 all-stage4: all-stage4-gmp
11352 TARGET-stage4-gmp = $(TARGET-gmp)
11353 all-stage4-gmp: configure-stage4-gmp
11354 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11355 @r=`${PWD_COMMAND}`; export r; \
11356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11357 TFLAGS="$(STAGE4_TFLAGS)"; \
11358 $(HOST_EXPORTS) \
11359 $(POSTSTAGE1_HOST_EXPORTS) \
11360 cd $(HOST_SUBDIR)/gmp && \
11361 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11362 CFLAGS="$(STAGE4_CFLAGS)" \
11363 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
11364 LIBCFLAGS="$(STAGE4_CFLAGS)" \
11365 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11366 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11367 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11368 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11369 TFLAGS="$(STAGE4_TFLAGS)" \
11370 $(TARGET-stage4-gmp)
11372 maybe-clean-stage4-gmp: clean-stage4-gmp
11373 clean-stage4: clean-stage4-gmp
11374 clean-stage4-gmp:
11375 @if [ $(current_stage) = stage4 ]; then \
11376 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
11377 else \
11378 [ -f $(HOST_SUBDIR)/stage4-gmp/Makefile ] || exit 0; \
11379 $(MAKE) stage4-start; \
11380 fi; \
11381 cd $(HOST_SUBDIR)/gmp && \
11382 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11383 @endif gmp-bootstrap
11386 .PHONY: all-stageprofile-gmp maybe-all-stageprofile-gmp
11387 .PHONY: clean-stageprofile-gmp maybe-clean-stageprofile-gmp
11388 maybe-all-stageprofile-gmp:
11389 maybe-clean-stageprofile-gmp:
11390 @if gmp-bootstrap
11391 maybe-all-stageprofile-gmp: all-stageprofile-gmp
11392 all-stageprofile: all-stageprofile-gmp
11393 TARGET-stageprofile-gmp = $(TARGET-gmp)
11394 all-stageprofile-gmp: configure-stageprofile-gmp
11395 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11396 @r=`${PWD_COMMAND}`; export r; \
11397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11398 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11399 $(HOST_EXPORTS) \
11400 $(POSTSTAGE1_HOST_EXPORTS) \
11401 cd $(HOST_SUBDIR)/gmp && \
11402 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11403 CFLAGS="$(STAGEprofile_CFLAGS)" \
11404 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
11405 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
11406 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11407 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11408 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11409 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11410 TFLAGS="$(STAGEprofile_TFLAGS)" \
11411 $(TARGET-stageprofile-gmp)
11413 maybe-clean-stageprofile-gmp: clean-stageprofile-gmp
11414 clean-stageprofile: clean-stageprofile-gmp
11415 clean-stageprofile-gmp:
11416 @if [ $(current_stage) = stageprofile ]; then \
11417 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
11418 else \
11419 [ -f $(HOST_SUBDIR)/stageprofile-gmp/Makefile ] || exit 0; \
11420 $(MAKE) stageprofile-start; \
11421 fi; \
11422 cd $(HOST_SUBDIR)/gmp && \
11423 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11424 @endif gmp-bootstrap
11427 .PHONY: all-stagefeedback-gmp maybe-all-stagefeedback-gmp
11428 .PHONY: clean-stagefeedback-gmp maybe-clean-stagefeedback-gmp
11429 maybe-all-stagefeedback-gmp:
11430 maybe-clean-stagefeedback-gmp:
11431 @if gmp-bootstrap
11432 maybe-all-stagefeedback-gmp: all-stagefeedback-gmp
11433 all-stagefeedback: all-stagefeedback-gmp
11434 TARGET-stagefeedback-gmp = $(TARGET-gmp)
11435 all-stagefeedback-gmp: configure-stagefeedback-gmp
11436 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11437 @r=`${PWD_COMMAND}`; export r; \
11438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11439 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11440 $(HOST_EXPORTS) \
11441 $(POSTSTAGE1_HOST_EXPORTS) \
11442 cd $(HOST_SUBDIR)/gmp && \
11443 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11444 CFLAGS="$(STAGEfeedback_CFLAGS)" \
11445 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
11446 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
11447 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11448 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11449 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11450 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11451 TFLAGS="$(STAGEfeedback_TFLAGS)" \
11452 $(TARGET-stagefeedback-gmp)
11454 maybe-clean-stagefeedback-gmp: clean-stagefeedback-gmp
11455 clean-stagefeedback: clean-stagefeedback-gmp
11456 clean-stagefeedback-gmp:
11457 @if [ $(current_stage) = stagefeedback ]; then \
11458 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
11459 else \
11460 [ -f $(HOST_SUBDIR)/stagefeedback-gmp/Makefile ] || exit 0; \
11461 $(MAKE) stagefeedback-start; \
11462 fi; \
11463 cd $(HOST_SUBDIR)/gmp && \
11464 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11465 @endif gmp-bootstrap
11471 .PHONY: check-gmp maybe-check-gmp
11472 maybe-check-gmp:
11473 @if gmp
11474 maybe-check-gmp: check-gmp
11476 check-gmp:
11477 @: $(MAKE); $(unstage)
11478 @r=`${PWD_COMMAND}`; export r; \
11479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11480 $(HOST_EXPORTS) \
11481 (cd $(HOST_SUBDIR)/gmp && \
11482 $(MAKE) $(FLAGS_TO_PASS) check)
11484 @endif gmp
11486 .PHONY: install-gmp maybe-install-gmp
11487 maybe-install-gmp:
11488 @if gmp
11489 maybe-install-gmp: install-gmp
11491 install-gmp:
11493 @endif gmp
11495 .PHONY: install-strip-gmp maybe-install-strip-gmp
11496 maybe-install-strip-gmp:
11497 @if gmp
11498 maybe-install-strip-gmp: install-strip-gmp
11500 install-strip-gmp:
11502 @endif gmp
11504 # Other targets (info, dvi, pdf, etc.)
11506 .PHONY: maybe-info-gmp info-gmp
11507 maybe-info-gmp:
11508 @if gmp
11509 maybe-info-gmp: info-gmp
11511 info-gmp: \
11512 configure-gmp
11513 @[ -f ./gmp/Makefile ] || exit 0; \
11514 r=`${PWD_COMMAND}`; export r; \
11515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11516 $(HOST_EXPORTS) \
11517 for flag in $(EXTRA_HOST_FLAGS) ; do \
11518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11519 done; \
11520 echo "Doing info in gmp" ; \
11521 (cd $(HOST_SUBDIR)/gmp && \
11522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11524 "RANLIB=$${RANLIB}" \
11525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11526 info) \
11527 || exit 1
11529 @endif gmp
11531 .PHONY: maybe-dvi-gmp dvi-gmp
11532 maybe-dvi-gmp:
11533 @if gmp
11534 maybe-dvi-gmp: dvi-gmp
11536 dvi-gmp: \
11537 configure-gmp
11538 @[ -f ./gmp/Makefile ] || exit 0; \
11539 r=`${PWD_COMMAND}`; export r; \
11540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11541 $(HOST_EXPORTS) \
11542 for flag in $(EXTRA_HOST_FLAGS) ; do \
11543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11544 done; \
11545 echo "Doing dvi in gmp" ; \
11546 (cd $(HOST_SUBDIR)/gmp && \
11547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11549 "RANLIB=$${RANLIB}" \
11550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11551 dvi) \
11552 || exit 1
11554 @endif gmp
11556 .PHONY: maybe-pdf-gmp pdf-gmp
11557 maybe-pdf-gmp:
11558 @if gmp
11559 maybe-pdf-gmp: pdf-gmp
11561 pdf-gmp: \
11562 configure-gmp
11563 @[ -f ./gmp/Makefile ] || exit 0; \
11564 r=`${PWD_COMMAND}`; export r; \
11565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11566 $(HOST_EXPORTS) \
11567 for flag in $(EXTRA_HOST_FLAGS) ; do \
11568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11569 done; \
11570 echo "Doing pdf in gmp" ; \
11571 (cd $(HOST_SUBDIR)/gmp && \
11572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11574 "RANLIB=$${RANLIB}" \
11575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11576 pdf) \
11577 || exit 1
11579 @endif gmp
11581 .PHONY: maybe-html-gmp html-gmp
11582 maybe-html-gmp:
11583 @if gmp
11584 maybe-html-gmp: html-gmp
11586 html-gmp: \
11587 configure-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 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 html) \
11602 || exit 1
11604 @endif gmp
11606 .PHONY: maybe-TAGS-gmp TAGS-gmp
11607 maybe-TAGS-gmp:
11608 @if gmp
11609 maybe-TAGS-gmp: TAGS-gmp
11611 TAGS-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 TAGS 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 TAGS) \
11627 || exit 1
11629 @endif gmp
11631 .PHONY: maybe-install-info-gmp install-info-gmp
11632 maybe-install-info-gmp:
11633 @if gmp
11634 maybe-install-info-gmp: install-info-gmp
11636 install-info-gmp: \
11637 configure-gmp \
11638 info-gmp
11639 @[ -f ./gmp/Makefile ] || exit 0; \
11640 r=`${PWD_COMMAND}`; export r; \
11641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11642 $(HOST_EXPORTS) \
11643 for flag in $(EXTRA_HOST_FLAGS) ; do \
11644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11645 done; \
11646 echo "Doing install-info in gmp" ; \
11647 (cd $(HOST_SUBDIR)/gmp && \
11648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11650 "RANLIB=$${RANLIB}" \
11651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11652 install-info) \
11653 || exit 1
11655 @endif gmp
11657 .PHONY: maybe-install-pdf-gmp install-pdf-gmp
11658 maybe-install-pdf-gmp:
11659 @if gmp
11660 maybe-install-pdf-gmp: install-pdf-gmp
11662 install-pdf-gmp: \
11663 configure-gmp \
11664 pdf-gmp
11665 @[ -f ./gmp/Makefile ] || exit 0; \
11666 r=`${PWD_COMMAND}`; export r; \
11667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11668 $(HOST_EXPORTS) \
11669 for flag in $(EXTRA_HOST_FLAGS) ; do \
11670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11671 done; \
11672 echo "Doing install-pdf in gmp" ; \
11673 (cd $(HOST_SUBDIR)/gmp && \
11674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11676 "RANLIB=$${RANLIB}" \
11677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11678 install-pdf) \
11679 || exit 1
11681 @endif gmp
11683 .PHONY: maybe-install-html-gmp install-html-gmp
11684 maybe-install-html-gmp:
11685 @if gmp
11686 maybe-install-html-gmp: install-html-gmp
11688 install-html-gmp: \
11689 configure-gmp \
11690 html-gmp
11691 @[ -f ./gmp/Makefile ] || exit 0; \
11692 r=`${PWD_COMMAND}`; export r; \
11693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11694 $(HOST_EXPORTS) \
11695 for flag in $(EXTRA_HOST_FLAGS) ; do \
11696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11697 done; \
11698 echo "Doing install-html in gmp" ; \
11699 (cd $(HOST_SUBDIR)/gmp && \
11700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11702 "RANLIB=$${RANLIB}" \
11703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11704 install-html) \
11705 || exit 1
11707 @endif gmp
11709 .PHONY: maybe-installcheck-gmp installcheck-gmp
11710 maybe-installcheck-gmp:
11711 @if gmp
11712 maybe-installcheck-gmp: installcheck-gmp
11714 installcheck-gmp: \
11715 configure-gmp
11716 @[ -f ./gmp/Makefile ] || exit 0; \
11717 r=`${PWD_COMMAND}`; export r; \
11718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11719 $(HOST_EXPORTS) \
11720 for flag in $(EXTRA_HOST_FLAGS) ; do \
11721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11722 done; \
11723 echo "Doing installcheck in gmp" ; \
11724 (cd $(HOST_SUBDIR)/gmp && \
11725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11727 "RANLIB=$${RANLIB}" \
11728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11729 installcheck) \
11730 || exit 1
11732 @endif gmp
11734 .PHONY: maybe-mostlyclean-gmp mostlyclean-gmp
11735 maybe-mostlyclean-gmp:
11736 @if gmp
11737 maybe-mostlyclean-gmp: mostlyclean-gmp
11739 mostlyclean-gmp:
11740 @[ -f ./gmp/Makefile ] || exit 0; \
11741 r=`${PWD_COMMAND}`; export r; \
11742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11743 $(HOST_EXPORTS) \
11744 for flag in $(EXTRA_HOST_FLAGS) ; do \
11745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11746 done; \
11747 echo "Doing mostlyclean in gmp" ; \
11748 (cd $(HOST_SUBDIR)/gmp && \
11749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11751 "RANLIB=$${RANLIB}" \
11752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11753 mostlyclean) \
11754 || exit 1
11756 @endif gmp
11758 .PHONY: maybe-clean-gmp clean-gmp
11759 maybe-clean-gmp:
11760 @if gmp
11761 maybe-clean-gmp: clean-gmp
11763 clean-gmp:
11764 @[ -f ./gmp/Makefile ] || exit 0; \
11765 r=`${PWD_COMMAND}`; export r; \
11766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11767 $(HOST_EXPORTS) \
11768 for flag in $(EXTRA_HOST_FLAGS) ; do \
11769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11770 done; \
11771 echo "Doing clean in gmp" ; \
11772 (cd $(HOST_SUBDIR)/gmp && \
11773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11775 "RANLIB=$${RANLIB}" \
11776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11777 clean) \
11778 || exit 1
11780 @endif gmp
11782 .PHONY: maybe-distclean-gmp distclean-gmp
11783 maybe-distclean-gmp:
11784 @if gmp
11785 maybe-distclean-gmp: distclean-gmp
11787 distclean-gmp:
11788 @[ -f ./gmp/Makefile ] || exit 0; \
11789 r=`${PWD_COMMAND}`; export r; \
11790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11791 $(HOST_EXPORTS) \
11792 for flag in $(EXTRA_HOST_FLAGS) ; do \
11793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11794 done; \
11795 echo "Doing distclean in gmp" ; \
11796 (cd $(HOST_SUBDIR)/gmp && \
11797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11799 "RANLIB=$${RANLIB}" \
11800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11801 distclean) \
11802 || exit 1
11804 @endif gmp
11806 .PHONY: maybe-maintainer-clean-gmp maintainer-clean-gmp
11807 maybe-maintainer-clean-gmp:
11808 @if gmp
11809 maybe-maintainer-clean-gmp: maintainer-clean-gmp
11811 maintainer-clean-gmp:
11812 @[ -f ./gmp/Makefile ] || exit 0; \
11813 r=`${PWD_COMMAND}`; export r; \
11814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11815 $(HOST_EXPORTS) \
11816 for flag in $(EXTRA_HOST_FLAGS) ; do \
11817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11818 done; \
11819 echo "Doing maintainer-clean in gmp" ; \
11820 (cd $(HOST_SUBDIR)/gmp && \
11821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11823 "RANLIB=$${RANLIB}" \
11824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11825 maintainer-clean) \
11826 || exit 1
11828 @endif gmp
11832 .PHONY: configure-mpfr maybe-configure-mpfr
11833 maybe-configure-mpfr:
11834 @if gcc-bootstrap
11835 configure-mpfr: stage_current
11836 @endif gcc-bootstrap
11837 @if mpfr
11838 maybe-configure-mpfr: configure-mpfr
11839 configure-mpfr:
11840 @r=`${PWD_COMMAND}`; export r; \
11841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11842 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11843 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11844 $(HOST_EXPORTS) \
11845 echo Configuring in $(HOST_SUBDIR)/mpfr; \
11846 cd "$(HOST_SUBDIR)/mpfr" || exit 1; \
11847 case $(srcdir) in \
11848 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11849 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11850 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11851 esac; \
11852 module_srcdir=mpfr; \
11853 $(SHELL) \
11854 $$s/$$module_srcdir/configure \
11855 --srcdir=$${topdir}/$$module_srcdir \
11856 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11857 --target=${target_alias} --disable-shared @extra_mpfr_configure_flags@ \
11858 || exit 1
11859 @endif mpfr
11863 .PHONY: configure-stage1-mpfr maybe-configure-stage1-mpfr
11864 maybe-configure-stage1-mpfr:
11865 @if mpfr-bootstrap
11866 maybe-configure-stage1-mpfr: configure-stage1-mpfr
11867 configure-stage1-mpfr:
11868 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11869 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11870 @r=`${PWD_COMMAND}`; export r; \
11871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11872 TFLAGS="$(STAGE1_TFLAGS)"; \
11873 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11874 $(HOST_EXPORTS) \
11875 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
11876 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
11877 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
11878 echo Configuring stage 1 in $(HOST_SUBDIR)/mpfr ; \
11879 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11880 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11881 case $(srcdir) in \
11882 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11883 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11884 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11885 esac; \
11886 module_srcdir=mpfr; \
11887 $(SHELL) $$s/$$module_srcdir/configure \
11888 --srcdir=$${topdir}/$$module_srcdir \
11889 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11890 --target=${target_alias} \
11892 $(STAGE1_CONFIGURE_FLAGS) \
11893 --disable-shared @extra_mpfr_configure_flags@
11894 @endif mpfr-bootstrap
11896 .PHONY: configure-stage2-mpfr maybe-configure-stage2-mpfr
11897 maybe-configure-stage2-mpfr:
11898 @if mpfr-bootstrap
11899 maybe-configure-stage2-mpfr: configure-stage2-mpfr
11900 configure-stage2-mpfr:
11901 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11902 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11903 @r=`${PWD_COMMAND}`; export r; \
11904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11905 TFLAGS="$(STAGE2_TFLAGS)"; \
11906 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11907 $(HOST_EXPORTS) \
11908 $(POSTSTAGE1_HOST_EXPORTS) \
11909 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
11910 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
11911 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
11912 echo Configuring stage 2 in $(HOST_SUBDIR)/mpfr ; \
11913 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11914 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11915 case $(srcdir) in \
11916 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11917 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11918 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11919 esac; \
11920 module_srcdir=mpfr; \
11921 $(SHELL) $$s/$$module_srcdir/configure \
11922 --srcdir=$${topdir}/$$module_srcdir \
11923 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11924 --target=${target_alias} \
11925 --with-build-libsubdir=$(HOST_SUBDIR) \
11926 $(STAGE2_CONFIGURE_FLAGS) \
11927 --disable-shared @extra_mpfr_configure_flags@
11928 @endif mpfr-bootstrap
11930 .PHONY: configure-stage3-mpfr maybe-configure-stage3-mpfr
11931 maybe-configure-stage3-mpfr:
11932 @if mpfr-bootstrap
11933 maybe-configure-stage3-mpfr: configure-stage3-mpfr
11934 configure-stage3-mpfr:
11935 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11936 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11937 @r=`${PWD_COMMAND}`; export r; \
11938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11939 TFLAGS="$(STAGE3_TFLAGS)"; \
11940 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11941 $(HOST_EXPORTS) \
11942 $(POSTSTAGE1_HOST_EXPORTS) \
11943 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
11944 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
11945 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
11946 echo Configuring stage 3 in $(HOST_SUBDIR)/mpfr ; \
11947 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11948 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11949 case $(srcdir) in \
11950 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11951 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11952 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11953 esac; \
11954 module_srcdir=mpfr; \
11955 $(SHELL) $$s/$$module_srcdir/configure \
11956 --srcdir=$${topdir}/$$module_srcdir \
11957 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11958 --target=${target_alias} \
11959 --with-build-libsubdir=$(HOST_SUBDIR) \
11960 $(STAGE3_CONFIGURE_FLAGS) \
11961 --disable-shared @extra_mpfr_configure_flags@
11962 @endif mpfr-bootstrap
11964 .PHONY: configure-stage4-mpfr maybe-configure-stage4-mpfr
11965 maybe-configure-stage4-mpfr:
11966 @if mpfr-bootstrap
11967 maybe-configure-stage4-mpfr: configure-stage4-mpfr
11968 configure-stage4-mpfr:
11969 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11970 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11971 @r=`${PWD_COMMAND}`; export r; \
11972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11973 TFLAGS="$(STAGE4_TFLAGS)"; \
11974 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11975 $(HOST_EXPORTS) \
11976 $(POSTSTAGE1_HOST_EXPORTS) \
11977 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
11978 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
11979 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
11980 echo Configuring stage 4 in $(HOST_SUBDIR)/mpfr ; \
11981 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11982 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11983 case $(srcdir) in \
11984 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11985 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11986 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11987 esac; \
11988 module_srcdir=mpfr; \
11989 $(SHELL) $$s/$$module_srcdir/configure \
11990 --srcdir=$${topdir}/$$module_srcdir \
11991 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11992 --target=${target_alias} \
11993 --with-build-libsubdir=$(HOST_SUBDIR) \
11994 $(STAGE4_CONFIGURE_FLAGS) \
11995 --disable-shared @extra_mpfr_configure_flags@
11996 @endif mpfr-bootstrap
11998 .PHONY: configure-stageprofile-mpfr maybe-configure-stageprofile-mpfr
11999 maybe-configure-stageprofile-mpfr:
12000 @if mpfr-bootstrap
12001 maybe-configure-stageprofile-mpfr: configure-stageprofile-mpfr
12002 configure-stageprofile-mpfr:
12003 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12004 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
12005 @r=`${PWD_COMMAND}`; export r; \
12006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12007 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12008 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
12009 $(HOST_EXPORTS) \
12010 $(POSTSTAGE1_HOST_EXPORTS) \
12011 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
12012 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
12013 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
12014 echo Configuring stage profile in $(HOST_SUBDIR)/mpfr ; \
12015 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
12016 cd $(HOST_SUBDIR)/mpfr || exit 1; \
12017 case $(srcdir) in \
12018 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12019 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
12020 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12021 esac; \
12022 module_srcdir=mpfr; \
12023 $(SHELL) $$s/$$module_srcdir/configure \
12024 --srcdir=$${topdir}/$$module_srcdir \
12025 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12026 --target=${target_alias} \
12027 --with-build-libsubdir=$(HOST_SUBDIR) \
12028 $(STAGEprofile_CONFIGURE_FLAGS) \
12029 --disable-shared @extra_mpfr_configure_flags@
12030 @endif mpfr-bootstrap
12032 .PHONY: configure-stagefeedback-mpfr maybe-configure-stagefeedback-mpfr
12033 maybe-configure-stagefeedback-mpfr:
12034 @if mpfr-bootstrap
12035 maybe-configure-stagefeedback-mpfr: configure-stagefeedback-mpfr
12036 configure-stagefeedback-mpfr:
12037 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12038 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
12039 @r=`${PWD_COMMAND}`; export r; \
12040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12041 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12042 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
12043 $(HOST_EXPORTS) \
12044 $(POSTSTAGE1_HOST_EXPORTS) \
12045 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
12046 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
12047 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
12048 echo Configuring stage feedback in $(HOST_SUBDIR)/mpfr ; \
12049 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
12050 cd $(HOST_SUBDIR)/mpfr || exit 1; \
12051 case $(srcdir) in \
12052 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12053 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
12054 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12055 esac; \
12056 module_srcdir=mpfr; \
12057 $(SHELL) $$s/$$module_srcdir/configure \
12058 --srcdir=$${topdir}/$$module_srcdir \
12059 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12060 --target=${target_alias} \
12061 --with-build-libsubdir=$(HOST_SUBDIR) \
12062 $(STAGEfeedback_CONFIGURE_FLAGS) \
12063 --disable-shared @extra_mpfr_configure_flags@
12064 @endif mpfr-bootstrap
12070 .PHONY: all-mpfr maybe-all-mpfr
12071 maybe-all-mpfr:
12072 @if gcc-bootstrap
12073 all-mpfr: stage_current
12074 @endif gcc-bootstrap
12075 @if mpfr
12076 TARGET-mpfr=all
12077 maybe-all-mpfr: all-mpfr
12078 all-mpfr: configure-mpfr
12079 @r=`${PWD_COMMAND}`; export r; \
12080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12081 $(HOST_EXPORTS) \
12082 (cd $(HOST_SUBDIR)/mpfr && \
12083 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
12084 $(TARGET-mpfr))
12085 @endif mpfr
12089 .PHONY: all-stage1-mpfr maybe-all-stage1-mpfr
12090 .PHONY: clean-stage1-mpfr maybe-clean-stage1-mpfr
12091 maybe-all-stage1-mpfr:
12092 maybe-clean-stage1-mpfr:
12093 @if mpfr-bootstrap
12094 maybe-all-stage1-mpfr: all-stage1-mpfr
12095 all-stage1: all-stage1-mpfr
12096 TARGET-stage1-mpfr = $(TARGET-mpfr)
12097 all-stage1-mpfr: configure-stage1-mpfr
12098 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12099 @r=`${PWD_COMMAND}`; export r; \
12100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12101 TFLAGS="$(STAGE1_TFLAGS)"; \
12102 $(HOST_EXPORTS) \
12103 cd $(HOST_SUBDIR)/mpfr && \
12104 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12105 CFLAGS="$(STAGE1_CFLAGS)" \
12106 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
12107 LIBCFLAGS="$(LIBCFLAGS)" \
12108 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12109 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12110 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12111 $(EXTRA_HOST_FLAGS) \
12112 $(STAGE1_FLAGS_TO_PASS) \
12113 TFLAGS="$(STAGE1_TFLAGS)" \
12114 $(TARGET-stage1-mpfr)
12116 maybe-clean-stage1-mpfr: clean-stage1-mpfr
12117 clean-stage1: clean-stage1-mpfr
12118 clean-stage1-mpfr:
12119 @if [ $(current_stage) = stage1 ]; then \
12120 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
12121 else \
12122 [ -f $(HOST_SUBDIR)/stage1-mpfr/Makefile ] || exit 0; \
12123 $(MAKE) stage1-start; \
12124 fi; \
12125 cd $(HOST_SUBDIR)/mpfr && \
12126 $(MAKE) $(EXTRA_HOST_FLAGS) \
12127 $(STAGE1_FLAGS_TO_PASS) clean
12128 @endif mpfr-bootstrap
12131 .PHONY: all-stage2-mpfr maybe-all-stage2-mpfr
12132 .PHONY: clean-stage2-mpfr maybe-clean-stage2-mpfr
12133 maybe-all-stage2-mpfr:
12134 maybe-clean-stage2-mpfr:
12135 @if mpfr-bootstrap
12136 maybe-all-stage2-mpfr: all-stage2-mpfr
12137 all-stage2: all-stage2-mpfr
12138 TARGET-stage2-mpfr = $(TARGET-mpfr)
12139 all-stage2-mpfr: configure-stage2-mpfr
12140 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12141 @r=`${PWD_COMMAND}`; export r; \
12142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12143 TFLAGS="$(STAGE2_TFLAGS)"; \
12144 $(HOST_EXPORTS) \
12145 $(POSTSTAGE1_HOST_EXPORTS) \
12146 cd $(HOST_SUBDIR)/mpfr && \
12147 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12148 CFLAGS="$(STAGE2_CFLAGS)" \
12149 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
12150 LIBCFLAGS="$(STAGE2_CFLAGS)" \
12151 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12152 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12153 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12154 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12155 TFLAGS="$(STAGE2_TFLAGS)" \
12156 $(TARGET-stage2-mpfr)
12158 maybe-clean-stage2-mpfr: clean-stage2-mpfr
12159 clean-stage2: clean-stage2-mpfr
12160 clean-stage2-mpfr:
12161 @if [ $(current_stage) = stage2 ]; then \
12162 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
12163 else \
12164 [ -f $(HOST_SUBDIR)/stage2-mpfr/Makefile ] || exit 0; \
12165 $(MAKE) stage2-start; \
12166 fi; \
12167 cd $(HOST_SUBDIR)/mpfr && \
12168 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12169 @endif mpfr-bootstrap
12172 .PHONY: all-stage3-mpfr maybe-all-stage3-mpfr
12173 .PHONY: clean-stage3-mpfr maybe-clean-stage3-mpfr
12174 maybe-all-stage3-mpfr:
12175 maybe-clean-stage3-mpfr:
12176 @if mpfr-bootstrap
12177 maybe-all-stage3-mpfr: all-stage3-mpfr
12178 all-stage3: all-stage3-mpfr
12179 TARGET-stage3-mpfr = $(TARGET-mpfr)
12180 all-stage3-mpfr: configure-stage3-mpfr
12181 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12182 @r=`${PWD_COMMAND}`; export r; \
12183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12184 TFLAGS="$(STAGE3_TFLAGS)"; \
12185 $(HOST_EXPORTS) \
12186 $(POSTSTAGE1_HOST_EXPORTS) \
12187 cd $(HOST_SUBDIR)/mpfr && \
12188 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12189 CFLAGS="$(STAGE3_CFLAGS)" \
12190 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
12191 LIBCFLAGS="$(STAGE3_CFLAGS)" \
12192 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12193 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12194 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12195 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12196 TFLAGS="$(STAGE3_TFLAGS)" \
12197 $(TARGET-stage3-mpfr)
12199 maybe-clean-stage3-mpfr: clean-stage3-mpfr
12200 clean-stage3: clean-stage3-mpfr
12201 clean-stage3-mpfr:
12202 @if [ $(current_stage) = stage3 ]; then \
12203 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
12204 else \
12205 [ -f $(HOST_SUBDIR)/stage3-mpfr/Makefile ] || exit 0; \
12206 $(MAKE) stage3-start; \
12207 fi; \
12208 cd $(HOST_SUBDIR)/mpfr && \
12209 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12210 @endif mpfr-bootstrap
12213 .PHONY: all-stage4-mpfr maybe-all-stage4-mpfr
12214 .PHONY: clean-stage4-mpfr maybe-clean-stage4-mpfr
12215 maybe-all-stage4-mpfr:
12216 maybe-clean-stage4-mpfr:
12217 @if mpfr-bootstrap
12218 maybe-all-stage4-mpfr: all-stage4-mpfr
12219 all-stage4: all-stage4-mpfr
12220 TARGET-stage4-mpfr = $(TARGET-mpfr)
12221 all-stage4-mpfr: configure-stage4-mpfr
12222 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12223 @r=`${PWD_COMMAND}`; export r; \
12224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12225 TFLAGS="$(STAGE4_TFLAGS)"; \
12226 $(HOST_EXPORTS) \
12227 $(POSTSTAGE1_HOST_EXPORTS) \
12228 cd $(HOST_SUBDIR)/mpfr && \
12229 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12230 CFLAGS="$(STAGE4_CFLAGS)" \
12231 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
12232 LIBCFLAGS="$(STAGE4_CFLAGS)" \
12233 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12234 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12235 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12236 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12237 TFLAGS="$(STAGE4_TFLAGS)" \
12238 $(TARGET-stage4-mpfr)
12240 maybe-clean-stage4-mpfr: clean-stage4-mpfr
12241 clean-stage4: clean-stage4-mpfr
12242 clean-stage4-mpfr:
12243 @if [ $(current_stage) = stage4 ]; then \
12244 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
12245 else \
12246 [ -f $(HOST_SUBDIR)/stage4-mpfr/Makefile ] || exit 0; \
12247 $(MAKE) stage4-start; \
12248 fi; \
12249 cd $(HOST_SUBDIR)/mpfr && \
12250 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12251 @endif mpfr-bootstrap
12254 .PHONY: all-stageprofile-mpfr maybe-all-stageprofile-mpfr
12255 .PHONY: clean-stageprofile-mpfr maybe-clean-stageprofile-mpfr
12256 maybe-all-stageprofile-mpfr:
12257 maybe-clean-stageprofile-mpfr:
12258 @if mpfr-bootstrap
12259 maybe-all-stageprofile-mpfr: all-stageprofile-mpfr
12260 all-stageprofile: all-stageprofile-mpfr
12261 TARGET-stageprofile-mpfr = $(TARGET-mpfr)
12262 all-stageprofile-mpfr: configure-stageprofile-mpfr
12263 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12264 @r=`${PWD_COMMAND}`; export r; \
12265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12266 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12267 $(HOST_EXPORTS) \
12268 $(POSTSTAGE1_HOST_EXPORTS) \
12269 cd $(HOST_SUBDIR)/mpfr && \
12270 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12271 CFLAGS="$(STAGEprofile_CFLAGS)" \
12272 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
12273 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
12274 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12275 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12276 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12277 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12278 TFLAGS="$(STAGEprofile_TFLAGS)" \
12279 $(TARGET-stageprofile-mpfr)
12281 maybe-clean-stageprofile-mpfr: clean-stageprofile-mpfr
12282 clean-stageprofile: clean-stageprofile-mpfr
12283 clean-stageprofile-mpfr:
12284 @if [ $(current_stage) = stageprofile ]; then \
12285 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
12286 else \
12287 [ -f $(HOST_SUBDIR)/stageprofile-mpfr/Makefile ] || exit 0; \
12288 $(MAKE) stageprofile-start; \
12289 fi; \
12290 cd $(HOST_SUBDIR)/mpfr && \
12291 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12292 @endif mpfr-bootstrap
12295 .PHONY: all-stagefeedback-mpfr maybe-all-stagefeedback-mpfr
12296 .PHONY: clean-stagefeedback-mpfr maybe-clean-stagefeedback-mpfr
12297 maybe-all-stagefeedback-mpfr:
12298 maybe-clean-stagefeedback-mpfr:
12299 @if mpfr-bootstrap
12300 maybe-all-stagefeedback-mpfr: all-stagefeedback-mpfr
12301 all-stagefeedback: all-stagefeedback-mpfr
12302 TARGET-stagefeedback-mpfr = $(TARGET-mpfr)
12303 all-stagefeedback-mpfr: configure-stagefeedback-mpfr
12304 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12305 @r=`${PWD_COMMAND}`; export r; \
12306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12307 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12308 $(HOST_EXPORTS) \
12309 $(POSTSTAGE1_HOST_EXPORTS) \
12310 cd $(HOST_SUBDIR)/mpfr && \
12311 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12312 CFLAGS="$(STAGEfeedback_CFLAGS)" \
12313 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
12314 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
12315 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12316 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12317 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12318 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12319 TFLAGS="$(STAGEfeedback_TFLAGS)" \
12320 $(TARGET-stagefeedback-mpfr)
12322 maybe-clean-stagefeedback-mpfr: clean-stagefeedback-mpfr
12323 clean-stagefeedback: clean-stagefeedback-mpfr
12324 clean-stagefeedback-mpfr:
12325 @if [ $(current_stage) = stagefeedback ]; then \
12326 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
12327 else \
12328 [ -f $(HOST_SUBDIR)/stagefeedback-mpfr/Makefile ] || exit 0; \
12329 $(MAKE) stagefeedback-start; \
12330 fi; \
12331 cd $(HOST_SUBDIR)/mpfr && \
12332 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12333 @endif mpfr-bootstrap
12339 .PHONY: check-mpfr maybe-check-mpfr
12340 maybe-check-mpfr:
12341 @if mpfr
12342 maybe-check-mpfr: check-mpfr
12344 check-mpfr:
12345 @: $(MAKE); $(unstage)
12346 @r=`${PWD_COMMAND}`; export r; \
12347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12348 $(HOST_EXPORTS) \
12349 (cd $(HOST_SUBDIR)/mpfr && \
12350 $(MAKE) $(FLAGS_TO_PASS) check)
12352 @endif mpfr
12354 .PHONY: install-mpfr maybe-install-mpfr
12355 maybe-install-mpfr:
12356 @if mpfr
12357 maybe-install-mpfr: install-mpfr
12359 install-mpfr:
12361 @endif mpfr
12363 .PHONY: install-strip-mpfr maybe-install-strip-mpfr
12364 maybe-install-strip-mpfr:
12365 @if mpfr
12366 maybe-install-strip-mpfr: install-strip-mpfr
12368 install-strip-mpfr:
12370 @endif mpfr
12372 # Other targets (info, dvi, pdf, etc.)
12374 .PHONY: maybe-info-mpfr info-mpfr
12375 maybe-info-mpfr:
12376 @if mpfr
12377 maybe-info-mpfr: info-mpfr
12379 info-mpfr: \
12380 configure-mpfr
12381 @[ -f ./mpfr/Makefile ] || exit 0; \
12382 r=`${PWD_COMMAND}`; export r; \
12383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12384 $(HOST_EXPORTS) \
12385 for flag in $(EXTRA_HOST_FLAGS) ; do \
12386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12387 done; \
12388 echo "Doing info in mpfr" ; \
12389 (cd $(HOST_SUBDIR)/mpfr && \
12390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12392 "RANLIB=$${RANLIB}" \
12393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12394 info) \
12395 || exit 1
12397 @endif mpfr
12399 .PHONY: maybe-dvi-mpfr dvi-mpfr
12400 maybe-dvi-mpfr:
12401 @if mpfr
12402 maybe-dvi-mpfr: dvi-mpfr
12404 dvi-mpfr: \
12405 configure-mpfr
12406 @[ -f ./mpfr/Makefile ] || exit 0; \
12407 r=`${PWD_COMMAND}`; export r; \
12408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12409 $(HOST_EXPORTS) \
12410 for flag in $(EXTRA_HOST_FLAGS) ; do \
12411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12412 done; \
12413 echo "Doing dvi in mpfr" ; \
12414 (cd $(HOST_SUBDIR)/mpfr && \
12415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12417 "RANLIB=$${RANLIB}" \
12418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12419 dvi) \
12420 || exit 1
12422 @endif mpfr
12424 .PHONY: maybe-pdf-mpfr pdf-mpfr
12425 maybe-pdf-mpfr:
12426 @if mpfr
12427 maybe-pdf-mpfr: pdf-mpfr
12429 pdf-mpfr: \
12430 configure-mpfr
12431 @[ -f ./mpfr/Makefile ] || exit 0; \
12432 r=`${PWD_COMMAND}`; export r; \
12433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12434 $(HOST_EXPORTS) \
12435 for flag in $(EXTRA_HOST_FLAGS) ; do \
12436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12437 done; \
12438 echo "Doing pdf in mpfr" ; \
12439 (cd $(HOST_SUBDIR)/mpfr && \
12440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12442 "RANLIB=$${RANLIB}" \
12443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12444 pdf) \
12445 || exit 1
12447 @endif mpfr
12449 .PHONY: maybe-html-mpfr html-mpfr
12450 maybe-html-mpfr:
12451 @if mpfr
12452 maybe-html-mpfr: html-mpfr
12454 html-mpfr: \
12455 configure-mpfr
12456 @[ -f ./mpfr/Makefile ] || exit 0; \
12457 r=`${PWD_COMMAND}`; export r; \
12458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12459 $(HOST_EXPORTS) \
12460 for flag in $(EXTRA_HOST_FLAGS) ; do \
12461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12462 done; \
12463 echo "Doing html in mpfr" ; \
12464 (cd $(HOST_SUBDIR)/mpfr && \
12465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12467 "RANLIB=$${RANLIB}" \
12468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12469 html) \
12470 || exit 1
12472 @endif mpfr
12474 .PHONY: maybe-TAGS-mpfr TAGS-mpfr
12475 maybe-TAGS-mpfr:
12476 @if mpfr
12477 maybe-TAGS-mpfr: TAGS-mpfr
12479 TAGS-mpfr: \
12480 configure-mpfr
12481 @[ -f ./mpfr/Makefile ] || exit 0; \
12482 r=`${PWD_COMMAND}`; export r; \
12483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12484 $(HOST_EXPORTS) \
12485 for flag in $(EXTRA_HOST_FLAGS) ; do \
12486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12487 done; \
12488 echo "Doing TAGS in mpfr" ; \
12489 (cd $(HOST_SUBDIR)/mpfr && \
12490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12492 "RANLIB=$${RANLIB}" \
12493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12494 TAGS) \
12495 || exit 1
12497 @endif mpfr
12499 .PHONY: maybe-install-info-mpfr install-info-mpfr
12500 maybe-install-info-mpfr:
12501 @if mpfr
12502 maybe-install-info-mpfr: install-info-mpfr
12504 install-info-mpfr: \
12505 configure-mpfr \
12506 info-mpfr
12507 @[ -f ./mpfr/Makefile ] || exit 0; \
12508 r=`${PWD_COMMAND}`; export r; \
12509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12510 $(HOST_EXPORTS) \
12511 for flag in $(EXTRA_HOST_FLAGS) ; do \
12512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12513 done; \
12514 echo "Doing install-info in mpfr" ; \
12515 (cd $(HOST_SUBDIR)/mpfr && \
12516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12518 "RANLIB=$${RANLIB}" \
12519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12520 install-info) \
12521 || exit 1
12523 @endif mpfr
12525 .PHONY: maybe-install-pdf-mpfr install-pdf-mpfr
12526 maybe-install-pdf-mpfr:
12527 @if mpfr
12528 maybe-install-pdf-mpfr: install-pdf-mpfr
12530 install-pdf-mpfr: \
12531 configure-mpfr \
12532 pdf-mpfr
12533 @[ -f ./mpfr/Makefile ] || exit 0; \
12534 r=`${PWD_COMMAND}`; export r; \
12535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12536 $(HOST_EXPORTS) \
12537 for flag in $(EXTRA_HOST_FLAGS) ; do \
12538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12539 done; \
12540 echo "Doing install-pdf in mpfr" ; \
12541 (cd $(HOST_SUBDIR)/mpfr && \
12542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12544 "RANLIB=$${RANLIB}" \
12545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12546 install-pdf) \
12547 || exit 1
12549 @endif mpfr
12551 .PHONY: maybe-install-html-mpfr install-html-mpfr
12552 maybe-install-html-mpfr:
12553 @if mpfr
12554 maybe-install-html-mpfr: install-html-mpfr
12556 install-html-mpfr: \
12557 configure-mpfr \
12558 html-mpfr
12559 @[ -f ./mpfr/Makefile ] || exit 0; \
12560 r=`${PWD_COMMAND}`; export r; \
12561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12562 $(HOST_EXPORTS) \
12563 for flag in $(EXTRA_HOST_FLAGS) ; do \
12564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12565 done; \
12566 echo "Doing install-html in mpfr" ; \
12567 (cd $(HOST_SUBDIR)/mpfr && \
12568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12570 "RANLIB=$${RANLIB}" \
12571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12572 install-html) \
12573 || exit 1
12575 @endif mpfr
12577 .PHONY: maybe-installcheck-mpfr installcheck-mpfr
12578 maybe-installcheck-mpfr:
12579 @if mpfr
12580 maybe-installcheck-mpfr: installcheck-mpfr
12582 installcheck-mpfr: \
12583 configure-mpfr
12584 @[ -f ./mpfr/Makefile ] || exit 0; \
12585 r=`${PWD_COMMAND}`; export r; \
12586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12587 $(HOST_EXPORTS) \
12588 for flag in $(EXTRA_HOST_FLAGS) ; do \
12589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12590 done; \
12591 echo "Doing installcheck in mpfr" ; \
12592 (cd $(HOST_SUBDIR)/mpfr && \
12593 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12594 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12595 "RANLIB=$${RANLIB}" \
12596 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12597 installcheck) \
12598 || exit 1
12600 @endif mpfr
12602 .PHONY: maybe-mostlyclean-mpfr mostlyclean-mpfr
12603 maybe-mostlyclean-mpfr:
12604 @if mpfr
12605 maybe-mostlyclean-mpfr: mostlyclean-mpfr
12607 mostlyclean-mpfr:
12608 @[ -f ./mpfr/Makefile ] || exit 0; \
12609 r=`${PWD_COMMAND}`; export r; \
12610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12611 $(HOST_EXPORTS) \
12612 for flag in $(EXTRA_HOST_FLAGS) ; do \
12613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12614 done; \
12615 echo "Doing mostlyclean in mpfr" ; \
12616 (cd $(HOST_SUBDIR)/mpfr && \
12617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12619 "RANLIB=$${RANLIB}" \
12620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12621 mostlyclean) \
12622 || exit 1
12624 @endif mpfr
12626 .PHONY: maybe-clean-mpfr clean-mpfr
12627 maybe-clean-mpfr:
12628 @if mpfr
12629 maybe-clean-mpfr: clean-mpfr
12631 clean-mpfr:
12632 @[ -f ./mpfr/Makefile ] || exit 0; \
12633 r=`${PWD_COMMAND}`; export r; \
12634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12635 $(HOST_EXPORTS) \
12636 for flag in $(EXTRA_HOST_FLAGS) ; do \
12637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12638 done; \
12639 echo "Doing clean in mpfr" ; \
12640 (cd $(HOST_SUBDIR)/mpfr && \
12641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12643 "RANLIB=$${RANLIB}" \
12644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12645 clean) \
12646 || exit 1
12648 @endif mpfr
12650 .PHONY: maybe-distclean-mpfr distclean-mpfr
12651 maybe-distclean-mpfr:
12652 @if mpfr
12653 maybe-distclean-mpfr: distclean-mpfr
12655 distclean-mpfr:
12656 @[ -f ./mpfr/Makefile ] || exit 0; \
12657 r=`${PWD_COMMAND}`; export r; \
12658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12659 $(HOST_EXPORTS) \
12660 for flag in $(EXTRA_HOST_FLAGS) ; do \
12661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12662 done; \
12663 echo "Doing distclean in mpfr" ; \
12664 (cd $(HOST_SUBDIR)/mpfr && \
12665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12667 "RANLIB=$${RANLIB}" \
12668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12669 distclean) \
12670 || exit 1
12672 @endif mpfr
12674 .PHONY: maybe-maintainer-clean-mpfr maintainer-clean-mpfr
12675 maybe-maintainer-clean-mpfr:
12676 @if mpfr
12677 maybe-maintainer-clean-mpfr: maintainer-clean-mpfr
12679 maintainer-clean-mpfr:
12680 @[ -f ./mpfr/Makefile ] || exit 0; \
12681 r=`${PWD_COMMAND}`; export r; \
12682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12683 $(HOST_EXPORTS) \
12684 for flag in $(EXTRA_HOST_FLAGS) ; do \
12685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12686 done; \
12687 echo "Doing maintainer-clean in mpfr" ; \
12688 (cd $(HOST_SUBDIR)/mpfr && \
12689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12691 "RANLIB=$${RANLIB}" \
12692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12693 maintainer-clean) \
12694 || exit 1
12696 @endif mpfr
12700 .PHONY: configure-mpc maybe-configure-mpc
12701 maybe-configure-mpc:
12702 @if gcc-bootstrap
12703 configure-mpc: stage_current
12704 @endif gcc-bootstrap
12705 @if mpc
12706 maybe-configure-mpc: configure-mpc
12707 configure-mpc:
12708 @r=`${PWD_COMMAND}`; export r; \
12709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12710 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12711 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12712 $(HOST_EXPORTS) \
12713 echo Configuring in $(HOST_SUBDIR)/mpc; \
12714 cd "$(HOST_SUBDIR)/mpc" || exit 1; \
12715 case $(srcdir) in \
12716 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12717 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12718 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12719 esac; \
12720 module_srcdir=mpc; \
12721 $(SHELL) \
12722 $$s/$$module_srcdir/configure \
12723 --srcdir=$${topdir}/$$module_srcdir \
12724 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12725 --target=${target_alias} --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ \
12726 || exit 1
12727 @endif mpc
12731 .PHONY: configure-stage1-mpc maybe-configure-stage1-mpc
12732 maybe-configure-stage1-mpc:
12733 @if mpc-bootstrap
12734 maybe-configure-stage1-mpc: configure-stage1-mpc
12735 configure-stage1-mpc:
12736 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12737 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12738 @r=`${PWD_COMMAND}`; export r; \
12739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12740 TFLAGS="$(STAGE1_TFLAGS)"; \
12741 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12742 $(HOST_EXPORTS) \
12743 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
12744 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
12745 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
12746 echo Configuring stage 1 in $(HOST_SUBDIR)/mpc ; \
12747 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12748 cd $(HOST_SUBDIR)/mpc || exit 1; \
12749 case $(srcdir) in \
12750 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12751 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12752 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12753 esac; \
12754 module_srcdir=mpc; \
12755 $(SHELL) $$s/$$module_srcdir/configure \
12756 --srcdir=$${topdir}/$$module_srcdir \
12757 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12758 --target=${target_alias} \
12760 $(STAGE1_CONFIGURE_FLAGS) \
12761 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12762 @endif mpc-bootstrap
12764 .PHONY: configure-stage2-mpc maybe-configure-stage2-mpc
12765 maybe-configure-stage2-mpc:
12766 @if mpc-bootstrap
12767 maybe-configure-stage2-mpc: configure-stage2-mpc
12768 configure-stage2-mpc:
12769 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12770 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12771 @r=`${PWD_COMMAND}`; export r; \
12772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12773 TFLAGS="$(STAGE2_TFLAGS)"; \
12774 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12775 $(HOST_EXPORTS) \
12776 $(POSTSTAGE1_HOST_EXPORTS) \
12777 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
12778 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
12779 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
12780 echo Configuring stage 2 in $(HOST_SUBDIR)/mpc ; \
12781 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12782 cd $(HOST_SUBDIR)/mpc || exit 1; \
12783 case $(srcdir) in \
12784 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12785 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12786 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12787 esac; \
12788 module_srcdir=mpc; \
12789 $(SHELL) $$s/$$module_srcdir/configure \
12790 --srcdir=$${topdir}/$$module_srcdir \
12791 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12792 --target=${target_alias} \
12793 --with-build-libsubdir=$(HOST_SUBDIR) \
12794 $(STAGE2_CONFIGURE_FLAGS) \
12795 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12796 @endif mpc-bootstrap
12798 .PHONY: configure-stage3-mpc maybe-configure-stage3-mpc
12799 maybe-configure-stage3-mpc:
12800 @if mpc-bootstrap
12801 maybe-configure-stage3-mpc: configure-stage3-mpc
12802 configure-stage3-mpc:
12803 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12804 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12805 @r=`${PWD_COMMAND}`; export r; \
12806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12807 TFLAGS="$(STAGE3_TFLAGS)"; \
12808 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12809 $(HOST_EXPORTS) \
12810 $(POSTSTAGE1_HOST_EXPORTS) \
12811 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
12812 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
12813 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
12814 echo Configuring stage 3 in $(HOST_SUBDIR)/mpc ; \
12815 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12816 cd $(HOST_SUBDIR)/mpc || exit 1; \
12817 case $(srcdir) in \
12818 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12819 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12820 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12821 esac; \
12822 module_srcdir=mpc; \
12823 $(SHELL) $$s/$$module_srcdir/configure \
12824 --srcdir=$${topdir}/$$module_srcdir \
12825 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12826 --target=${target_alias} \
12827 --with-build-libsubdir=$(HOST_SUBDIR) \
12828 $(STAGE3_CONFIGURE_FLAGS) \
12829 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12830 @endif mpc-bootstrap
12832 .PHONY: configure-stage4-mpc maybe-configure-stage4-mpc
12833 maybe-configure-stage4-mpc:
12834 @if mpc-bootstrap
12835 maybe-configure-stage4-mpc: configure-stage4-mpc
12836 configure-stage4-mpc:
12837 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12838 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12839 @r=`${PWD_COMMAND}`; export r; \
12840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12841 TFLAGS="$(STAGE4_TFLAGS)"; \
12842 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12843 $(HOST_EXPORTS) \
12844 $(POSTSTAGE1_HOST_EXPORTS) \
12845 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
12846 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
12847 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
12848 echo Configuring stage 4 in $(HOST_SUBDIR)/mpc ; \
12849 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12850 cd $(HOST_SUBDIR)/mpc || exit 1; \
12851 case $(srcdir) in \
12852 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12853 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12854 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12855 esac; \
12856 module_srcdir=mpc; \
12857 $(SHELL) $$s/$$module_srcdir/configure \
12858 --srcdir=$${topdir}/$$module_srcdir \
12859 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12860 --target=${target_alias} \
12861 --with-build-libsubdir=$(HOST_SUBDIR) \
12862 $(STAGE4_CONFIGURE_FLAGS) \
12863 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12864 @endif mpc-bootstrap
12866 .PHONY: configure-stageprofile-mpc maybe-configure-stageprofile-mpc
12867 maybe-configure-stageprofile-mpc:
12868 @if mpc-bootstrap
12869 maybe-configure-stageprofile-mpc: configure-stageprofile-mpc
12870 configure-stageprofile-mpc:
12871 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12872 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12873 @r=`${PWD_COMMAND}`; export r; \
12874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12875 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12876 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12877 $(HOST_EXPORTS) \
12878 $(POSTSTAGE1_HOST_EXPORTS) \
12879 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
12880 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
12881 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
12882 echo Configuring stage profile in $(HOST_SUBDIR)/mpc ; \
12883 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12884 cd $(HOST_SUBDIR)/mpc || exit 1; \
12885 case $(srcdir) in \
12886 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12887 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12888 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12889 esac; \
12890 module_srcdir=mpc; \
12891 $(SHELL) $$s/$$module_srcdir/configure \
12892 --srcdir=$${topdir}/$$module_srcdir \
12893 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12894 --target=${target_alias} \
12895 --with-build-libsubdir=$(HOST_SUBDIR) \
12896 $(STAGEprofile_CONFIGURE_FLAGS) \
12897 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12898 @endif mpc-bootstrap
12900 .PHONY: configure-stagefeedback-mpc maybe-configure-stagefeedback-mpc
12901 maybe-configure-stagefeedback-mpc:
12902 @if mpc-bootstrap
12903 maybe-configure-stagefeedback-mpc: configure-stagefeedback-mpc
12904 configure-stagefeedback-mpc:
12905 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12906 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12907 @r=`${PWD_COMMAND}`; export r; \
12908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12909 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12910 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12911 $(HOST_EXPORTS) \
12912 $(POSTSTAGE1_HOST_EXPORTS) \
12913 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
12914 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
12915 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
12916 echo Configuring stage feedback in $(HOST_SUBDIR)/mpc ; \
12917 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12918 cd $(HOST_SUBDIR)/mpc || exit 1; \
12919 case $(srcdir) in \
12920 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12921 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12922 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12923 esac; \
12924 module_srcdir=mpc; \
12925 $(SHELL) $$s/$$module_srcdir/configure \
12926 --srcdir=$${topdir}/$$module_srcdir \
12927 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12928 --target=${target_alias} \
12929 --with-build-libsubdir=$(HOST_SUBDIR) \
12930 $(STAGEfeedback_CONFIGURE_FLAGS) \
12931 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12932 @endif mpc-bootstrap
12938 .PHONY: all-mpc maybe-all-mpc
12939 maybe-all-mpc:
12940 @if gcc-bootstrap
12941 all-mpc: stage_current
12942 @endif gcc-bootstrap
12943 @if mpc
12944 TARGET-mpc=all
12945 maybe-all-mpc: all-mpc
12946 all-mpc: configure-mpc
12947 @r=`${PWD_COMMAND}`; export r; \
12948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12949 $(HOST_EXPORTS) \
12950 (cd $(HOST_SUBDIR)/mpc && \
12951 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
12952 $(TARGET-mpc))
12953 @endif mpc
12957 .PHONY: all-stage1-mpc maybe-all-stage1-mpc
12958 .PHONY: clean-stage1-mpc maybe-clean-stage1-mpc
12959 maybe-all-stage1-mpc:
12960 maybe-clean-stage1-mpc:
12961 @if mpc-bootstrap
12962 maybe-all-stage1-mpc: all-stage1-mpc
12963 all-stage1: all-stage1-mpc
12964 TARGET-stage1-mpc = $(TARGET-mpc)
12965 all-stage1-mpc: configure-stage1-mpc
12966 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12967 @r=`${PWD_COMMAND}`; export r; \
12968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12969 TFLAGS="$(STAGE1_TFLAGS)"; \
12970 $(HOST_EXPORTS) \
12971 cd $(HOST_SUBDIR)/mpc && \
12972 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12973 CFLAGS="$(STAGE1_CFLAGS)" \
12974 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
12975 LIBCFLAGS="$(LIBCFLAGS)" \
12976 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12977 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12978 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12979 $(EXTRA_HOST_FLAGS) \
12980 $(STAGE1_FLAGS_TO_PASS) \
12981 TFLAGS="$(STAGE1_TFLAGS)" \
12982 $(TARGET-stage1-mpc)
12984 maybe-clean-stage1-mpc: clean-stage1-mpc
12985 clean-stage1: clean-stage1-mpc
12986 clean-stage1-mpc:
12987 @if [ $(current_stage) = stage1 ]; then \
12988 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
12989 else \
12990 [ -f $(HOST_SUBDIR)/stage1-mpc/Makefile ] || exit 0; \
12991 $(MAKE) stage1-start; \
12992 fi; \
12993 cd $(HOST_SUBDIR)/mpc && \
12994 $(MAKE) $(EXTRA_HOST_FLAGS) \
12995 $(STAGE1_FLAGS_TO_PASS) clean
12996 @endif mpc-bootstrap
12999 .PHONY: all-stage2-mpc maybe-all-stage2-mpc
13000 .PHONY: clean-stage2-mpc maybe-clean-stage2-mpc
13001 maybe-all-stage2-mpc:
13002 maybe-clean-stage2-mpc:
13003 @if mpc-bootstrap
13004 maybe-all-stage2-mpc: all-stage2-mpc
13005 all-stage2: all-stage2-mpc
13006 TARGET-stage2-mpc = $(TARGET-mpc)
13007 all-stage2-mpc: configure-stage2-mpc
13008 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13009 @r=`${PWD_COMMAND}`; export r; \
13010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13011 TFLAGS="$(STAGE2_TFLAGS)"; \
13012 $(HOST_EXPORTS) \
13013 $(POSTSTAGE1_HOST_EXPORTS) \
13014 cd $(HOST_SUBDIR)/mpc && \
13015 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13016 CFLAGS="$(STAGE2_CFLAGS)" \
13017 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
13018 LIBCFLAGS="$(STAGE2_CFLAGS)" \
13019 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13020 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13021 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13022 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13023 TFLAGS="$(STAGE2_TFLAGS)" \
13024 $(TARGET-stage2-mpc)
13026 maybe-clean-stage2-mpc: clean-stage2-mpc
13027 clean-stage2: clean-stage2-mpc
13028 clean-stage2-mpc:
13029 @if [ $(current_stage) = stage2 ]; then \
13030 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
13031 else \
13032 [ -f $(HOST_SUBDIR)/stage2-mpc/Makefile ] || exit 0; \
13033 $(MAKE) stage2-start; \
13034 fi; \
13035 cd $(HOST_SUBDIR)/mpc && \
13036 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
13037 @endif mpc-bootstrap
13040 .PHONY: all-stage3-mpc maybe-all-stage3-mpc
13041 .PHONY: clean-stage3-mpc maybe-clean-stage3-mpc
13042 maybe-all-stage3-mpc:
13043 maybe-clean-stage3-mpc:
13044 @if mpc-bootstrap
13045 maybe-all-stage3-mpc: all-stage3-mpc
13046 all-stage3: all-stage3-mpc
13047 TARGET-stage3-mpc = $(TARGET-mpc)
13048 all-stage3-mpc: configure-stage3-mpc
13049 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13050 @r=`${PWD_COMMAND}`; export r; \
13051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13052 TFLAGS="$(STAGE3_TFLAGS)"; \
13053 $(HOST_EXPORTS) \
13054 $(POSTSTAGE1_HOST_EXPORTS) \
13055 cd $(HOST_SUBDIR)/mpc && \
13056 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13057 CFLAGS="$(STAGE3_CFLAGS)" \
13058 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
13059 LIBCFLAGS="$(STAGE3_CFLAGS)" \
13060 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13061 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13062 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13063 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13064 TFLAGS="$(STAGE3_TFLAGS)" \
13065 $(TARGET-stage3-mpc)
13067 maybe-clean-stage3-mpc: clean-stage3-mpc
13068 clean-stage3: clean-stage3-mpc
13069 clean-stage3-mpc:
13070 @if [ $(current_stage) = stage3 ]; then \
13071 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
13072 else \
13073 [ -f $(HOST_SUBDIR)/stage3-mpc/Makefile ] || exit 0; \
13074 $(MAKE) stage3-start; \
13075 fi; \
13076 cd $(HOST_SUBDIR)/mpc && \
13077 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
13078 @endif mpc-bootstrap
13081 .PHONY: all-stage4-mpc maybe-all-stage4-mpc
13082 .PHONY: clean-stage4-mpc maybe-clean-stage4-mpc
13083 maybe-all-stage4-mpc:
13084 maybe-clean-stage4-mpc:
13085 @if mpc-bootstrap
13086 maybe-all-stage4-mpc: all-stage4-mpc
13087 all-stage4: all-stage4-mpc
13088 TARGET-stage4-mpc = $(TARGET-mpc)
13089 all-stage4-mpc: configure-stage4-mpc
13090 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13091 @r=`${PWD_COMMAND}`; export r; \
13092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13093 TFLAGS="$(STAGE4_TFLAGS)"; \
13094 $(HOST_EXPORTS) \
13095 $(POSTSTAGE1_HOST_EXPORTS) \
13096 cd $(HOST_SUBDIR)/mpc && \
13097 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13098 CFLAGS="$(STAGE4_CFLAGS)" \
13099 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
13100 LIBCFLAGS="$(STAGE4_CFLAGS)" \
13101 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13102 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13103 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13104 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13105 TFLAGS="$(STAGE4_TFLAGS)" \
13106 $(TARGET-stage4-mpc)
13108 maybe-clean-stage4-mpc: clean-stage4-mpc
13109 clean-stage4: clean-stage4-mpc
13110 clean-stage4-mpc:
13111 @if [ $(current_stage) = stage4 ]; then \
13112 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
13113 else \
13114 [ -f $(HOST_SUBDIR)/stage4-mpc/Makefile ] || exit 0; \
13115 $(MAKE) stage4-start; \
13116 fi; \
13117 cd $(HOST_SUBDIR)/mpc && \
13118 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
13119 @endif mpc-bootstrap
13122 .PHONY: all-stageprofile-mpc maybe-all-stageprofile-mpc
13123 .PHONY: clean-stageprofile-mpc maybe-clean-stageprofile-mpc
13124 maybe-all-stageprofile-mpc:
13125 maybe-clean-stageprofile-mpc:
13126 @if mpc-bootstrap
13127 maybe-all-stageprofile-mpc: all-stageprofile-mpc
13128 all-stageprofile: all-stageprofile-mpc
13129 TARGET-stageprofile-mpc = $(TARGET-mpc)
13130 all-stageprofile-mpc: configure-stageprofile-mpc
13131 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13132 @r=`${PWD_COMMAND}`; export r; \
13133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13134 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13135 $(HOST_EXPORTS) \
13136 $(POSTSTAGE1_HOST_EXPORTS) \
13137 cd $(HOST_SUBDIR)/mpc && \
13138 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13139 CFLAGS="$(STAGEprofile_CFLAGS)" \
13140 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
13141 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
13142 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13143 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13144 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13145 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13146 TFLAGS="$(STAGEprofile_TFLAGS)" \
13147 $(TARGET-stageprofile-mpc)
13149 maybe-clean-stageprofile-mpc: clean-stageprofile-mpc
13150 clean-stageprofile: clean-stageprofile-mpc
13151 clean-stageprofile-mpc:
13152 @if [ $(current_stage) = stageprofile ]; then \
13153 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
13154 else \
13155 [ -f $(HOST_SUBDIR)/stageprofile-mpc/Makefile ] || exit 0; \
13156 $(MAKE) stageprofile-start; \
13157 fi; \
13158 cd $(HOST_SUBDIR)/mpc && \
13159 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
13160 @endif mpc-bootstrap
13163 .PHONY: all-stagefeedback-mpc maybe-all-stagefeedback-mpc
13164 .PHONY: clean-stagefeedback-mpc maybe-clean-stagefeedback-mpc
13165 maybe-all-stagefeedback-mpc:
13166 maybe-clean-stagefeedback-mpc:
13167 @if mpc-bootstrap
13168 maybe-all-stagefeedback-mpc: all-stagefeedback-mpc
13169 all-stagefeedback: all-stagefeedback-mpc
13170 TARGET-stagefeedback-mpc = $(TARGET-mpc)
13171 all-stagefeedback-mpc: configure-stagefeedback-mpc
13172 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13173 @r=`${PWD_COMMAND}`; export r; \
13174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13175 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13176 $(HOST_EXPORTS) \
13177 $(POSTSTAGE1_HOST_EXPORTS) \
13178 cd $(HOST_SUBDIR)/mpc && \
13179 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13180 CFLAGS="$(STAGEfeedback_CFLAGS)" \
13181 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
13182 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
13183 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13184 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13185 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13186 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13187 TFLAGS="$(STAGEfeedback_TFLAGS)" \
13188 $(TARGET-stagefeedback-mpc)
13190 maybe-clean-stagefeedback-mpc: clean-stagefeedback-mpc
13191 clean-stagefeedback: clean-stagefeedback-mpc
13192 clean-stagefeedback-mpc:
13193 @if [ $(current_stage) = stagefeedback ]; then \
13194 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
13195 else \
13196 [ -f $(HOST_SUBDIR)/stagefeedback-mpc/Makefile ] || exit 0; \
13197 $(MAKE) stagefeedback-start; \
13198 fi; \
13199 cd $(HOST_SUBDIR)/mpc && \
13200 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
13201 @endif mpc-bootstrap
13207 .PHONY: check-mpc maybe-check-mpc
13208 maybe-check-mpc:
13209 @if mpc
13210 maybe-check-mpc: check-mpc
13212 check-mpc:
13213 @: $(MAKE); $(unstage)
13214 @r=`${PWD_COMMAND}`; export r; \
13215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13216 $(HOST_EXPORTS) \
13217 (cd $(HOST_SUBDIR)/mpc && \
13218 $(MAKE) $(FLAGS_TO_PASS) check)
13220 @endif mpc
13222 .PHONY: install-mpc maybe-install-mpc
13223 maybe-install-mpc:
13224 @if mpc
13225 maybe-install-mpc: install-mpc
13227 install-mpc:
13229 @endif mpc
13231 .PHONY: install-strip-mpc maybe-install-strip-mpc
13232 maybe-install-strip-mpc:
13233 @if mpc
13234 maybe-install-strip-mpc: install-strip-mpc
13236 install-strip-mpc:
13238 @endif mpc
13240 # Other targets (info, dvi, pdf, etc.)
13242 .PHONY: maybe-info-mpc info-mpc
13243 maybe-info-mpc:
13244 @if mpc
13245 maybe-info-mpc: info-mpc
13247 info-mpc: \
13248 configure-mpc
13249 @[ -f ./mpc/Makefile ] || exit 0; \
13250 r=`${PWD_COMMAND}`; export r; \
13251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13252 $(HOST_EXPORTS) \
13253 for flag in $(EXTRA_HOST_FLAGS) ; do \
13254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13255 done; \
13256 echo "Doing info in mpc" ; \
13257 (cd $(HOST_SUBDIR)/mpc && \
13258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13260 "RANLIB=$${RANLIB}" \
13261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13262 info) \
13263 || exit 1
13265 @endif mpc
13267 .PHONY: maybe-dvi-mpc dvi-mpc
13268 maybe-dvi-mpc:
13269 @if mpc
13270 maybe-dvi-mpc: dvi-mpc
13272 dvi-mpc: \
13273 configure-mpc
13274 @[ -f ./mpc/Makefile ] || exit 0; \
13275 r=`${PWD_COMMAND}`; export r; \
13276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13277 $(HOST_EXPORTS) \
13278 for flag in $(EXTRA_HOST_FLAGS) ; do \
13279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13280 done; \
13281 echo "Doing dvi in mpc" ; \
13282 (cd $(HOST_SUBDIR)/mpc && \
13283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13285 "RANLIB=$${RANLIB}" \
13286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13287 dvi) \
13288 || exit 1
13290 @endif mpc
13292 .PHONY: maybe-pdf-mpc pdf-mpc
13293 maybe-pdf-mpc:
13294 @if mpc
13295 maybe-pdf-mpc: pdf-mpc
13297 pdf-mpc: \
13298 configure-mpc
13299 @[ -f ./mpc/Makefile ] || exit 0; \
13300 r=`${PWD_COMMAND}`; export r; \
13301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13302 $(HOST_EXPORTS) \
13303 for flag in $(EXTRA_HOST_FLAGS) ; do \
13304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13305 done; \
13306 echo "Doing pdf in mpc" ; \
13307 (cd $(HOST_SUBDIR)/mpc && \
13308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13310 "RANLIB=$${RANLIB}" \
13311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13312 pdf) \
13313 || exit 1
13315 @endif mpc
13317 .PHONY: maybe-html-mpc html-mpc
13318 maybe-html-mpc:
13319 @if mpc
13320 maybe-html-mpc: html-mpc
13322 html-mpc: \
13323 configure-mpc
13324 @[ -f ./mpc/Makefile ] || exit 0; \
13325 r=`${PWD_COMMAND}`; export r; \
13326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13327 $(HOST_EXPORTS) \
13328 for flag in $(EXTRA_HOST_FLAGS) ; do \
13329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13330 done; \
13331 echo "Doing html in mpc" ; \
13332 (cd $(HOST_SUBDIR)/mpc && \
13333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13335 "RANLIB=$${RANLIB}" \
13336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13337 html) \
13338 || exit 1
13340 @endif mpc
13342 .PHONY: maybe-TAGS-mpc TAGS-mpc
13343 maybe-TAGS-mpc:
13344 @if mpc
13345 maybe-TAGS-mpc: TAGS-mpc
13347 TAGS-mpc: \
13348 configure-mpc
13349 @[ -f ./mpc/Makefile ] || exit 0; \
13350 r=`${PWD_COMMAND}`; export r; \
13351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13352 $(HOST_EXPORTS) \
13353 for flag in $(EXTRA_HOST_FLAGS) ; do \
13354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13355 done; \
13356 echo "Doing TAGS in mpc" ; \
13357 (cd $(HOST_SUBDIR)/mpc && \
13358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13360 "RANLIB=$${RANLIB}" \
13361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13362 TAGS) \
13363 || exit 1
13365 @endif mpc
13367 .PHONY: maybe-install-info-mpc install-info-mpc
13368 maybe-install-info-mpc:
13369 @if mpc
13370 maybe-install-info-mpc: install-info-mpc
13372 install-info-mpc: \
13373 configure-mpc \
13374 info-mpc
13375 @[ -f ./mpc/Makefile ] || exit 0; \
13376 r=`${PWD_COMMAND}`; export r; \
13377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13378 $(HOST_EXPORTS) \
13379 for flag in $(EXTRA_HOST_FLAGS) ; do \
13380 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13381 done; \
13382 echo "Doing install-info in mpc" ; \
13383 (cd $(HOST_SUBDIR)/mpc && \
13384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13386 "RANLIB=$${RANLIB}" \
13387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13388 install-info) \
13389 || exit 1
13391 @endif mpc
13393 .PHONY: maybe-install-pdf-mpc install-pdf-mpc
13394 maybe-install-pdf-mpc:
13395 @if mpc
13396 maybe-install-pdf-mpc: install-pdf-mpc
13398 install-pdf-mpc: \
13399 configure-mpc \
13400 pdf-mpc
13401 @[ -f ./mpc/Makefile ] || exit 0; \
13402 r=`${PWD_COMMAND}`; export r; \
13403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13404 $(HOST_EXPORTS) \
13405 for flag in $(EXTRA_HOST_FLAGS) ; do \
13406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13407 done; \
13408 echo "Doing install-pdf in mpc" ; \
13409 (cd $(HOST_SUBDIR)/mpc && \
13410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13412 "RANLIB=$${RANLIB}" \
13413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13414 install-pdf) \
13415 || exit 1
13417 @endif mpc
13419 .PHONY: maybe-install-html-mpc install-html-mpc
13420 maybe-install-html-mpc:
13421 @if mpc
13422 maybe-install-html-mpc: install-html-mpc
13424 install-html-mpc: \
13425 configure-mpc \
13426 html-mpc
13427 @[ -f ./mpc/Makefile ] || exit 0; \
13428 r=`${PWD_COMMAND}`; export r; \
13429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13430 $(HOST_EXPORTS) \
13431 for flag in $(EXTRA_HOST_FLAGS) ; do \
13432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13433 done; \
13434 echo "Doing install-html in mpc" ; \
13435 (cd $(HOST_SUBDIR)/mpc && \
13436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13438 "RANLIB=$${RANLIB}" \
13439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13440 install-html) \
13441 || exit 1
13443 @endif mpc
13445 .PHONY: maybe-installcheck-mpc installcheck-mpc
13446 maybe-installcheck-mpc:
13447 @if mpc
13448 maybe-installcheck-mpc: installcheck-mpc
13450 installcheck-mpc: \
13451 configure-mpc
13452 @[ -f ./mpc/Makefile ] || exit 0; \
13453 r=`${PWD_COMMAND}`; export r; \
13454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13455 $(HOST_EXPORTS) \
13456 for flag in $(EXTRA_HOST_FLAGS) ; do \
13457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13458 done; \
13459 echo "Doing installcheck in mpc" ; \
13460 (cd $(HOST_SUBDIR)/mpc && \
13461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13463 "RANLIB=$${RANLIB}" \
13464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13465 installcheck) \
13466 || exit 1
13468 @endif mpc
13470 .PHONY: maybe-mostlyclean-mpc mostlyclean-mpc
13471 maybe-mostlyclean-mpc:
13472 @if mpc
13473 maybe-mostlyclean-mpc: mostlyclean-mpc
13475 mostlyclean-mpc:
13476 @[ -f ./mpc/Makefile ] || exit 0; \
13477 r=`${PWD_COMMAND}`; export r; \
13478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13479 $(HOST_EXPORTS) \
13480 for flag in $(EXTRA_HOST_FLAGS) ; do \
13481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13482 done; \
13483 echo "Doing mostlyclean in mpc" ; \
13484 (cd $(HOST_SUBDIR)/mpc && \
13485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13487 "RANLIB=$${RANLIB}" \
13488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13489 mostlyclean) \
13490 || exit 1
13492 @endif mpc
13494 .PHONY: maybe-clean-mpc clean-mpc
13495 maybe-clean-mpc:
13496 @if mpc
13497 maybe-clean-mpc: clean-mpc
13499 clean-mpc:
13500 @[ -f ./mpc/Makefile ] || exit 0; \
13501 r=`${PWD_COMMAND}`; export r; \
13502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13503 $(HOST_EXPORTS) \
13504 for flag in $(EXTRA_HOST_FLAGS) ; do \
13505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13506 done; \
13507 echo "Doing clean in mpc" ; \
13508 (cd $(HOST_SUBDIR)/mpc && \
13509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13511 "RANLIB=$${RANLIB}" \
13512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13513 clean) \
13514 || exit 1
13516 @endif mpc
13518 .PHONY: maybe-distclean-mpc distclean-mpc
13519 maybe-distclean-mpc:
13520 @if mpc
13521 maybe-distclean-mpc: distclean-mpc
13523 distclean-mpc:
13524 @[ -f ./mpc/Makefile ] || exit 0; \
13525 r=`${PWD_COMMAND}`; export r; \
13526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13527 $(HOST_EXPORTS) \
13528 for flag in $(EXTRA_HOST_FLAGS) ; do \
13529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13530 done; \
13531 echo "Doing distclean in mpc" ; \
13532 (cd $(HOST_SUBDIR)/mpc && \
13533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13535 "RANLIB=$${RANLIB}" \
13536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13537 distclean) \
13538 || exit 1
13540 @endif mpc
13542 .PHONY: maybe-maintainer-clean-mpc maintainer-clean-mpc
13543 maybe-maintainer-clean-mpc:
13544 @if mpc
13545 maybe-maintainer-clean-mpc: maintainer-clean-mpc
13547 maintainer-clean-mpc:
13548 @[ -f ./mpc/Makefile ] || exit 0; \
13549 r=`${PWD_COMMAND}`; export r; \
13550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13551 $(HOST_EXPORTS) \
13552 for flag in $(EXTRA_HOST_FLAGS) ; do \
13553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13554 done; \
13555 echo "Doing maintainer-clean in mpc" ; \
13556 (cd $(HOST_SUBDIR)/mpc && \
13557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13559 "RANLIB=$${RANLIB}" \
13560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13561 maintainer-clean) \
13562 || exit 1
13564 @endif mpc
13568 .PHONY: configure-isl maybe-configure-isl
13569 maybe-configure-isl:
13570 @if gcc-bootstrap
13571 configure-isl: stage_current
13572 @endif gcc-bootstrap
13573 @if isl
13574 maybe-configure-isl: configure-isl
13575 configure-isl:
13576 @r=`${PWD_COMMAND}`; export r; \
13577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13578 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13579 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13580 $(HOST_EXPORTS) \
13581 echo Configuring in $(HOST_SUBDIR)/isl; \
13582 cd "$(HOST_SUBDIR)/isl" || exit 1; \
13583 case $(srcdir) in \
13584 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13585 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13586 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13587 esac; \
13588 module_srcdir=isl; \
13589 $(SHELL) \
13590 $$s/$$module_srcdir/configure \
13591 --srcdir=$${topdir}/$$module_srcdir \
13592 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13593 --target=${target_alias} --disable-shared @extra_isl_gmp_configure_flags@ \
13594 || exit 1
13595 @endif isl
13599 .PHONY: configure-stage1-isl maybe-configure-stage1-isl
13600 maybe-configure-stage1-isl:
13601 @if isl-bootstrap
13602 maybe-configure-stage1-isl: configure-stage1-isl
13603 configure-stage1-isl:
13604 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13605 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13606 @r=`${PWD_COMMAND}`; export r; \
13607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13608 TFLAGS="$(STAGE1_TFLAGS)"; \
13609 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13610 $(HOST_EXPORTS) \
13611 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
13612 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
13613 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
13614 echo Configuring stage 1 in $(HOST_SUBDIR)/isl ; \
13615 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13616 cd $(HOST_SUBDIR)/isl || exit 1; \
13617 case $(srcdir) in \
13618 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13619 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13620 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13621 esac; \
13622 module_srcdir=isl; \
13623 $(SHELL) $$s/$$module_srcdir/configure \
13624 --srcdir=$${topdir}/$$module_srcdir \
13625 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13626 --target=${target_alias} \
13628 $(STAGE1_CONFIGURE_FLAGS) \
13629 --disable-shared @extra_isl_gmp_configure_flags@
13630 @endif isl-bootstrap
13632 .PHONY: configure-stage2-isl maybe-configure-stage2-isl
13633 maybe-configure-stage2-isl:
13634 @if isl-bootstrap
13635 maybe-configure-stage2-isl: configure-stage2-isl
13636 configure-stage2-isl:
13637 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13638 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13639 @r=`${PWD_COMMAND}`; export r; \
13640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13641 TFLAGS="$(STAGE2_TFLAGS)"; \
13642 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13643 $(HOST_EXPORTS) \
13644 $(POSTSTAGE1_HOST_EXPORTS) \
13645 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
13646 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
13647 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
13648 echo Configuring stage 2 in $(HOST_SUBDIR)/isl ; \
13649 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13650 cd $(HOST_SUBDIR)/isl || exit 1; \
13651 case $(srcdir) in \
13652 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13653 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13654 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13655 esac; \
13656 module_srcdir=isl; \
13657 $(SHELL) $$s/$$module_srcdir/configure \
13658 --srcdir=$${topdir}/$$module_srcdir \
13659 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13660 --target=${target_alias} \
13661 --with-build-libsubdir=$(HOST_SUBDIR) \
13662 $(STAGE2_CONFIGURE_FLAGS) \
13663 --disable-shared @extra_isl_gmp_configure_flags@
13664 @endif isl-bootstrap
13666 .PHONY: configure-stage3-isl maybe-configure-stage3-isl
13667 maybe-configure-stage3-isl:
13668 @if isl-bootstrap
13669 maybe-configure-stage3-isl: configure-stage3-isl
13670 configure-stage3-isl:
13671 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13672 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13673 @r=`${PWD_COMMAND}`; export r; \
13674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13675 TFLAGS="$(STAGE3_TFLAGS)"; \
13676 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13677 $(HOST_EXPORTS) \
13678 $(POSTSTAGE1_HOST_EXPORTS) \
13679 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
13680 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
13681 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
13682 echo Configuring stage 3 in $(HOST_SUBDIR)/isl ; \
13683 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13684 cd $(HOST_SUBDIR)/isl || exit 1; \
13685 case $(srcdir) in \
13686 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13687 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13688 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13689 esac; \
13690 module_srcdir=isl; \
13691 $(SHELL) $$s/$$module_srcdir/configure \
13692 --srcdir=$${topdir}/$$module_srcdir \
13693 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13694 --target=${target_alias} \
13695 --with-build-libsubdir=$(HOST_SUBDIR) \
13696 $(STAGE3_CONFIGURE_FLAGS) \
13697 --disable-shared @extra_isl_gmp_configure_flags@
13698 @endif isl-bootstrap
13700 .PHONY: configure-stage4-isl maybe-configure-stage4-isl
13701 maybe-configure-stage4-isl:
13702 @if isl-bootstrap
13703 maybe-configure-stage4-isl: configure-stage4-isl
13704 configure-stage4-isl:
13705 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13706 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13707 @r=`${PWD_COMMAND}`; export r; \
13708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13709 TFLAGS="$(STAGE4_TFLAGS)"; \
13710 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13711 $(HOST_EXPORTS) \
13712 $(POSTSTAGE1_HOST_EXPORTS) \
13713 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
13714 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
13715 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
13716 echo Configuring stage 4 in $(HOST_SUBDIR)/isl ; \
13717 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13718 cd $(HOST_SUBDIR)/isl || exit 1; \
13719 case $(srcdir) in \
13720 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13721 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13722 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13723 esac; \
13724 module_srcdir=isl; \
13725 $(SHELL) $$s/$$module_srcdir/configure \
13726 --srcdir=$${topdir}/$$module_srcdir \
13727 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13728 --target=${target_alias} \
13729 --with-build-libsubdir=$(HOST_SUBDIR) \
13730 $(STAGE4_CONFIGURE_FLAGS) \
13731 --disable-shared @extra_isl_gmp_configure_flags@
13732 @endif isl-bootstrap
13734 .PHONY: configure-stageprofile-isl maybe-configure-stageprofile-isl
13735 maybe-configure-stageprofile-isl:
13736 @if isl-bootstrap
13737 maybe-configure-stageprofile-isl: configure-stageprofile-isl
13738 configure-stageprofile-isl:
13739 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13740 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13741 @r=`${PWD_COMMAND}`; export r; \
13742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13743 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13744 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13745 $(HOST_EXPORTS) \
13746 $(POSTSTAGE1_HOST_EXPORTS) \
13747 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
13748 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
13749 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
13750 echo Configuring stage profile in $(HOST_SUBDIR)/isl ; \
13751 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13752 cd $(HOST_SUBDIR)/isl || exit 1; \
13753 case $(srcdir) in \
13754 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13755 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13756 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13757 esac; \
13758 module_srcdir=isl; \
13759 $(SHELL) $$s/$$module_srcdir/configure \
13760 --srcdir=$${topdir}/$$module_srcdir \
13761 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13762 --target=${target_alias} \
13763 --with-build-libsubdir=$(HOST_SUBDIR) \
13764 $(STAGEprofile_CONFIGURE_FLAGS) \
13765 --disable-shared @extra_isl_gmp_configure_flags@
13766 @endif isl-bootstrap
13768 .PHONY: configure-stagefeedback-isl maybe-configure-stagefeedback-isl
13769 maybe-configure-stagefeedback-isl:
13770 @if isl-bootstrap
13771 maybe-configure-stagefeedback-isl: configure-stagefeedback-isl
13772 configure-stagefeedback-isl:
13773 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13774 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13775 @r=`${PWD_COMMAND}`; export r; \
13776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13777 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13778 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13779 $(HOST_EXPORTS) \
13780 $(POSTSTAGE1_HOST_EXPORTS) \
13781 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
13782 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
13783 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
13784 echo Configuring stage feedback in $(HOST_SUBDIR)/isl ; \
13785 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13786 cd $(HOST_SUBDIR)/isl || exit 1; \
13787 case $(srcdir) in \
13788 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13789 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13790 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13791 esac; \
13792 module_srcdir=isl; \
13793 $(SHELL) $$s/$$module_srcdir/configure \
13794 --srcdir=$${topdir}/$$module_srcdir \
13795 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13796 --target=${target_alias} \
13797 --with-build-libsubdir=$(HOST_SUBDIR) \
13798 $(STAGEfeedback_CONFIGURE_FLAGS) \
13799 --disable-shared @extra_isl_gmp_configure_flags@
13800 @endif isl-bootstrap
13806 .PHONY: all-isl maybe-all-isl
13807 maybe-all-isl:
13808 @if gcc-bootstrap
13809 all-isl: stage_current
13810 @endif gcc-bootstrap
13811 @if isl
13812 TARGET-isl=all
13813 maybe-all-isl: all-isl
13814 all-isl: configure-isl
13815 @r=`${PWD_COMMAND}`; export r; \
13816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13817 $(HOST_EXPORTS) \
13818 (cd $(HOST_SUBDIR)/isl && \
13819 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) V=1 \
13820 $(TARGET-isl))
13821 @endif isl
13825 .PHONY: all-stage1-isl maybe-all-stage1-isl
13826 .PHONY: clean-stage1-isl maybe-clean-stage1-isl
13827 maybe-all-stage1-isl:
13828 maybe-clean-stage1-isl:
13829 @if isl-bootstrap
13830 maybe-all-stage1-isl: all-stage1-isl
13831 all-stage1: all-stage1-isl
13832 TARGET-stage1-isl = $(TARGET-isl)
13833 all-stage1-isl: configure-stage1-isl
13834 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13835 @r=`${PWD_COMMAND}`; export r; \
13836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13837 TFLAGS="$(STAGE1_TFLAGS)"; \
13838 $(HOST_EXPORTS) \
13839 cd $(HOST_SUBDIR)/isl && \
13840 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13841 CFLAGS="$(STAGE1_CFLAGS)" \
13842 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
13843 LIBCFLAGS="$(LIBCFLAGS)" \
13844 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13845 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13846 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13847 $(EXTRA_HOST_FLAGS) \
13848 $(STAGE1_FLAGS_TO_PASS) V=1 \
13849 TFLAGS="$(STAGE1_TFLAGS)" \
13850 $(TARGET-stage1-isl)
13852 maybe-clean-stage1-isl: clean-stage1-isl
13853 clean-stage1: clean-stage1-isl
13854 clean-stage1-isl:
13855 @if [ $(current_stage) = stage1 ]; then \
13856 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13857 else \
13858 [ -f $(HOST_SUBDIR)/stage1-isl/Makefile ] || exit 0; \
13859 $(MAKE) stage1-start; \
13860 fi; \
13861 cd $(HOST_SUBDIR)/isl && \
13862 $(MAKE) $(EXTRA_HOST_FLAGS) \
13863 $(STAGE1_FLAGS_TO_PASS) V=1 clean
13864 @endif isl-bootstrap
13867 .PHONY: all-stage2-isl maybe-all-stage2-isl
13868 .PHONY: clean-stage2-isl maybe-clean-stage2-isl
13869 maybe-all-stage2-isl:
13870 maybe-clean-stage2-isl:
13871 @if isl-bootstrap
13872 maybe-all-stage2-isl: all-stage2-isl
13873 all-stage2: all-stage2-isl
13874 TARGET-stage2-isl = $(TARGET-isl)
13875 all-stage2-isl: configure-stage2-isl
13876 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13877 @r=`${PWD_COMMAND}`; export r; \
13878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13879 TFLAGS="$(STAGE2_TFLAGS)"; \
13880 $(HOST_EXPORTS) \
13881 $(POSTSTAGE1_HOST_EXPORTS) \
13882 cd $(HOST_SUBDIR)/isl && \
13883 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13884 CFLAGS="$(STAGE2_CFLAGS)" \
13885 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
13886 LIBCFLAGS="$(STAGE2_CFLAGS)" \
13887 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13888 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13889 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13890 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13891 TFLAGS="$(STAGE2_TFLAGS)" \
13892 $(TARGET-stage2-isl)
13894 maybe-clean-stage2-isl: clean-stage2-isl
13895 clean-stage2: clean-stage2-isl
13896 clean-stage2-isl:
13897 @if [ $(current_stage) = stage2 ]; then \
13898 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13899 else \
13900 [ -f $(HOST_SUBDIR)/stage2-isl/Makefile ] || exit 0; \
13901 $(MAKE) stage2-start; \
13902 fi; \
13903 cd $(HOST_SUBDIR)/isl && \
13904 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
13905 @endif isl-bootstrap
13908 .PHONY: all-stage3-isl maybe-all-stage3-isl
13909 .PHONY: clean-stage3-isl maybe-clean-stage3-isl
13910 maybe-all-stage3-isl:
13911 maybe-clean-stage3-isl:
13912 @if isl-bootstrap
13913 maybe-all-stage3-isl: all-stage3-isl
13914 all-stage3: all-stage3-isl
13915 TARGET-stage3-isl = $(TARGET-isl)
13916 all-stage3-isl: configure-stage3-isl
13917 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13918 @r=`${PWD_COMMAND}`; export r; \
13919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13920 TFLAGS="$(STAGE3_TFLAGS)"; \
13921 $(HOST_EXPORTS) \
13922 $(POSTSTAGE1_HOST_EXPORTS) \
13923 cd $(HOST_SUBDIR)/isl && \
13924 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13925 CFLAGS="$(STAGE3_CFLAGS)" \
13926 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
13927 LIBCFLAGS="$(STAGE3_CFLAGS)" \
13928 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13929 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13930 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13931 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13932 TFLAGS="$(STAGE3_TFLAGS)" \
13933 $(TARGET-stage3-isl)
13935 maybe-clean-stage3-isl: clean-stage3-isl
13936 clean-stage3: clean-stage3-isl
13937 clean-stage3-isl:
13938 @if [ $(current_stage) = stage3 ]; then \
13939 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13940 else \
13941 [ -f $(HOST_SUBDIR)/stage3-isl/Makefile ] || exit 0; \
13942 $(MAKE) stage3-start; \
13943 fi; \
13944 cd $(HOST_SUBDIR)/isl && \
13945 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
13946 @endif isl-bootstrap
13949 .PHONY: all-stage4-isl maybe-all-stage4-isl
13950 .PHONY: clean-stage4-isl maybe-clean-stage4-isl
13951 maybe-all-stage4-isl:
13952 maybe-clean-stage4-isl:
13953 @if isl-bootstrap
13954 maybe-all-stage4-isl: all-stage4-isl
13955 all-stage4: all-stage4-isl
13956 TARGET-stage4-isl = $(TARGET-isl)
13957 all-stage4-isl: configure-stage4-isl
13958 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13959 @r=`${PWD_COMMAND}`; export r; \
13960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13961 TFLAGS="$(STAGE4_TFLAGS)"; \
13962 $(HOST_EXPORTS) \
13963 $(POSTSTAGE1_HOST_EXPORTS) \
13964 cd $(HOST_SUBDIR)/isl && \
13965 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13966 CFLAGS="$(STAGE4_CFLAGS)" \
13967 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
13968 LIBCFLAGS="$(STAGE4_CFLAGS)" \
13969 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13970 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13971 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13972 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13973 TFLAGS="$(STAGE4_TFLAGS)" \
13974 $(TARGET-stage4-isl)
13976 maybe-clean-stage4-isl: clean-stage4-isl
13977 clean-stage4: clean-stage4-isl
13978 clean-stage4-isl:
13979 @if [ $(current_stage) = stage4 ]; then \
13980 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13981 else \
13982 [ -f $(HOST_SUBDIR)/stage4-isl/Makefile ] || exit 0; \
13983 $(MAKE) stage4-start; \
13984 fi; \
13985 cd $(HOST_SUBDIR)/isl && \
13986 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
13987 @endif isl-bootstrap
13990 .PHONY: all-stageprofile-isl maybe-all-stageprofile-isl
13991 .PHONY: clean-stageprofile-isl maybe-clean-stageprofile-isl
13992 maybe-all-stageprofile-isl:
13993 maybe-clean-stageprofile-isl:
13994 @if isl-bootstrap
13995 maybe-all-stageprofile-isl: all-stageprofile-isl
13996 all-stageprofile: all-stageprofile-isl
13997 TARGET-stageprofile-isl = $(TARGET-isl)
13998 all-stageprofile-isl: configure-stageprofile-isl
13999 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14000 @r=`${PWD_COMMAND}`; export r; \
14001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14002 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14003 $(HOST_EXPORTS) \
14004 $(POSTSTAGE1_HOST_EXPORTS) \
14005 cd $(HOST_SUBDIR)/isl && \
14006 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14007 CFLAGS="$(STAGEprofile_CFLAGS)" \
14008 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
14009 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
14010 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14011 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14012 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14013 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
14014 TFLAGS="$(STAGEprofile_TFLAGS)" \
14015 $(TARGET-stageprofile-isl)
14017 maybe-clean-stageprofile-isl: clean-stageprofile-isl
14018 clean-stageprofile: clean-stageprofile-isl
14019 clean-stageprofile-isl:
14020 @if [ $(current_stage) = stageprofile ]; then \
14021 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
14022 else \
14023 [ -f $(HOST_SUBDIR)/stageprofile-isl/Makefile ] || exit 0; \
14024 $(MAKE) stageprofile-start; \
14025 fi; \
14026 cd $(HOST_SUBDIR)/isl && \
14027 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
14028 @endif isl-bootstrap
14031 .PHONY: all-stagefeedback-isl maybe-all-stagefeedback-isl
14032 .PHONY: clean-stagefeedback-isl maybe-clean-stagefeedback-isl
14033 maybe-all-stagefeedback-isl:
14034 maybe-clean-stagefeedback-isl:
14035 @if isl-bootstrap
14036 maybe-all-stagefeedback-isl: all-stagefeedback-isl
14037 all-stagefeedback: all-stagefeedback-isl
14038 TARGET-stagefeedback-isl = $(TARGET-isl)
14039 all-stagefeedback-isl: configure-stagefeedback-isl
14040 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14041 @r=`${PWD_COMMAND}`; export r; \
14042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14043 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14044 $(HOST_EXPORTS) \
14045 $(POSTSTAGE1_HOST_EXPORTS) \
14046 cd $(HOST_SUBDIR)/isl && \
14047 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14048 CFLAGS="$(STAGEfeedback_CFLAGS)" \
14049 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
14050 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
14051 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14052 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14053 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14054 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
14055 TFLAGS="$(STAGEfeedback_TFLAGS)" \
14056 $(TARGET-stagefeedback-isl)
14058 maybe-clean-stagefeedback-isl: clean-stagefeedback-isl
14059 clean-stagefeedback: clean-stagefeedback-isl
14060 clean-stagefeedback-isl:
14061 @if [ $(current_stage) = stagefeedback ]; then \
14062 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
14063 else \
14064 [ -f $(HOST_SUBDIR)/stagefeedback-isl/Makefile ] || exit 0; \
14065 $(MAKE) stagefeedback-start; \
14066 fi; \
14067 cd $(HOST_SUBDIR)/isl && \
14068 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
14069 @endif isl-bootstrap
14075 .PHONY: check-isl maybe-check-isl
14076 maybe-check-isl:
14077 @if isl
14078 maybe-check-isl: check-isl
14080 check-isl:
14081 @: $(MAKE); $(unstage)
14082 @r=`${PWD_COMMAND}`; export r; \
14083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14084 $(HOST_EXPORTS) \
14085 (cd $(HOST_SUBDIR)/isl && \
14086 $(MAKE) $(FLAGS_TO_PASS) V=1 check)
14088 @endif isl
14090 .PHONY: install-isl maybe-install-isl
14091 maybe-install-isl:
14092 @if isl
14093 maybe-install-isl: install-isl
14095 install-isl:
14097 @endif isl
14099 .PHONY: install-strip-isl maybe-install-strip-isl
14100 maybe-install-strip-isl:
14101 @if isl
14102 maybe-install-strip-isl: install-strip-isl
14104 install-strip-isl:
14106 @endif isl
14108 # Other targets (info, dvi, pdf, etc.)
14110 .PHONY: maybe-info-isl info-isl
14111 maybe-info-isl:
14112 @if isl
14113 maybe-info-isl: info-isl
14115 info-isl: \
14116 configure-isl
14117 @[ -f ./isl/Makefile ] || exit 0; \
14118 r=`${PWD_COMMAND}`; export r; \
14119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14120 $(HOST_EXPORTS) \
14121 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14123 done; \
14124 echo "Doing info in isl" ; \
14125 (cd $(HOST_SUBDIR)/isl && \
14126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14128 "RANLIB=$${RANLIB}" \
14129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14130 info) \
14131 || exit 1
14133 @endif isl
14135 .PHONY: maybe-dvi-isl dvi-isl
14136 maybe-dvi-isl:
14137 @if isl
14138 maybe-dvi-isl: dvi-isl
14140 dvi-isl: \
14141 configure-isl
14142 @[ -f ./isl/Makefile ] || exit 0; \
14143 r=`${PWD_COMMAND}`; export r; \
14144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14145 $(HOST_EXPORTS) \
14146 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14148 done; \
14149 echo "Doing dvi in isl" ; \
14150 (cd $(HOST_SUBDIR)/isl && \
14151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14153 "RANLIB=$${RANLIB}" \
14154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14155 dvi) \
14156 || exit 1
14158 @endif isl
14160 .PHONY: maybe-pdf-isl pdf-isl
14161 maybe-pdf-isl:
14162 @if isl
14163 maybe-pdf-isl: pdf-isl
14165 pdf-isl: \
14166 configure-isl
14167 @[ -f ./isl/Makefile ] || exit 0; \
14168 r=`${PWD_COMMAND}`; export r; \
14169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14170 $(HOST_EXPORTS) \
14171 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14173 done; \
14174 echo "Doing pdf in isl" ; \
14175 (cd $(HOST_SUBDIR)/isl && \
14176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14178 "RANLIB=$${RANLIB}" \
14179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14180 pdf) \
14181 || exit 1
14183 @endif isl
14185 .PHONY: maybe-html-isl html-isl
14186 maybe-html-isl:
14187 @if isl
14188 maybe-html-isl: html-isl
14190 html-isl: \
14191 configure-isl
14192 @[ -f ./isl/Makefile ] || exit 0; \
14193 r=`${PWD_COMMAND}`; export r; \
14194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14195 $(HOST_EXPORTS) \
14196 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14198 done; \
14199 echo "Doing html in isl" ; \
14200 (cd $(HOST_SUBDIR)/isl && \
14201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14203 "RANLIB=$${RANLIB}" \
14204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14205 html) \
14206 || exit 1
14208 @endif isl
14210 .PHONY: maybe-TAGS-isl TAGS-isl
14211 maybe-TAGS-isl:
14212 @if isl
14213 maybe-TAGS-isl: TAGS-isl
14215 TAGS-isl: \
14216 configure-isl
14217 @[ -f ./isl/Makefile ] || exit 0; \
14218 r=`${PWD_COMMAND}`; export r; \
14219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14220 $(HOST_EXPORTS) \
14221 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14223 done; \
14224 echo "Doing TAGS in isl" ; \
14225 (cd $(HOST_SUBDIR)/isl && \
14226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14228 "RANLIB=$${RANLIB}" \
14229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14230 TAGS) \
14231 || exit 1
14233 @endif isl
14235 .PHONY: maybe-install-info-isl install-info-isl
14236 maybe-install-info-isl:
14237 @if isl
14238 maybe-install-info-isl: install-info-isl
14240 install-info-isl: \
14241 configure-isl \
14242 info-isl
14243 @[ -f ./isl/Makefile ] || exit 0; \
14244 r=`${PWD_COMMAND}`; export r; \
14245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14246 $(HOST_EXPORTS) \
14247 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14249 done; \
14250 echo "Doing install-info in isl" ; \
14251 (cd $(HOST_SUBDIR)/isl && \
14252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14254 "RANLIB=$${RANLIB}" \
14255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14256 install-info) \
14257 || exit 1
14259 @endif isl
14261 .PHONY: maybe-install-pdf-isl install-pdf-isl
14262 maybe-install-pdf-isl:
14263 @if isl
14264 maybe-install-pdf-isl: install-pdf-isl
14266 install-pdf-isl: \
14267 configure-isl \
14268 pdf-isl
14269 @[ -f ./isl/Makefile ] || exit 0; \
14270 r=`${PWD_COMMAND}`; export r; \
14271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14272 $(HOST_EXPORTS) \
14273 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14275 done; \
14276 echo "Doing install-pdf in isl" ; \
14277 (cd $(HOST_SUBDIR)/isl && \
14278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14280 "RANLIB=$${RANLIB}" \
14281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14282 install-pdf) \
14283 || exit 1
14285 @endif isl
14287 .PHONY: maybe-install-html-isl install-html-isl
14288 maybe-install-html-isl:
14289 @if isl
14290 maybe-install-html-isl: install-html-isl
14292 install-html-isl: \
14293 configure-isl \
14294 html-isl
14295 @[ -f ./isl/Makefile ] || exit 0; \
14296 r=`${PWD_COMMAND}`; export r; \
14297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14298 $(HOST_EXPORTS) \
14299 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14301 done; \
14302 echo "Doing install-html in isl" ; \
14303 (cd $(HOST_SUBDIR)/isl && \
14304 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14305 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14306 "RANLIB=$${RANLIB}" \
14307 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14308 install-html) \
14309 || exit 1
14311 @endif isl
14313 .PHONY: maybe-installcheck-isl installcheck-isl
14314 maybe-installcheck-isl:
14315 @if isl
14316 maybe-installcheck-isl: installcheck-isl
14318 installcheck-isl: \
14319 configure-isl
14320 @[ -f ./isl/Makefile ] || exit 0; \
14321 r=`${PWD_COMMAND}`; export r; \
14322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14323 $(HOST_EXPORTS) \
14324 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14326 done; \
14327 echo "Doing installcheck in isl" ; \
14328 (cd $(HOST_SUBDIR)/isl && \
14329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14331 "RANLIB=$${RANLIB}" \
14332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14333 installcheck) \
14334 || exit 1
14336 @endif isl
14338 .PHONY: maybe-mostlyclean-isl mostlyclean-isl
14339 maybe-mostlyclean-isl:
14340 @if isl
14341 maybe-mostlyclean-isl: mostlyclean-isl
14343 mostlyclean-isl:
14344 @[ -f ./isl/Makefile ] || exit 0; \
14345 r=`${PWD_COMMAND}`; export r; \
14346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14347 $(HOST_EXPORTS) \
14348 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14350 done; \
14351 echo "Doing mostlyclean in isl" ; \
14352 (cd $(HOST_SUBDIR)/isl && \
14353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14355 "RANLIB=$${RANLIB}" \
14356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14357 mostlyclean) \
14358 || exit 1
14360 @endif isl
14362 .PHONY: maybe-clean-isl clean-isl
14363 maybe-clean-isl:
14364 @if isl
14365 maybe-clean-isl: clean-isl
14367 clean-isl:
14368 @[ -f ./isl/Makefile ] || exit 0; \
14369 r=`${PWD_COMMAND}`; export r; \
14370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14371 $(HOST_EXPORTS) \
14372 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14374 done; \
14375 echo "Doing clean in isl" ; \
14376 (cd $(HOST_SUBDIR)/isl && \
14377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14379 "RANLIB=$${RANLIB}" \
14380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14381 clean) \
14382 || exit 1
14384 @endif isl
14386 .PHONY: maybe-distclean-isl distclean-isl
14387 maybe-distclean-isl:
14388 @if isl
14389 maybe-distclean-isl: distclean-isl
14391 distclean-isl:
14392 @[ -f ./isl/Makefile ] || exit 0; \
14393 r=`${PWD_COMMAND}`; export r; \
14394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14395 $(HOST_EXPORTS) \
14396 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14398 done; \
14399 echo "Doing distclean in isl" ; \
14400 (cd $(HOST_SUBDIR)/isl && \
14401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14403 "RANLIB=$${RANLIB}" \
14404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14405 distclean) \
14406 || exit 1
14408 @endif isl
14410 .PHONY: maybe-maintainer-clean-isl maintainer-clean-isl
14411 maybe-maintainer-clean-isl:
14412 @if isl
14413 maybe-maintainer-clean-isl: maintainer-clean-isl
14415 maintainer-clean-isl:
14416 @[ -f ./isl/Makefile ] || exit 0; \
14417 r=`${PWD_COMMAND}`; export r; \
14418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14419 $(HOST_EXPORTS) \
14420 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14422 done; \
14423 echo "Doing maintainer-clean in isl" ; \
14424 (cd $(HOST_SUBDIR)/isl && \
14425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14427 "RANLIB=$${RANLIB}" \
14428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14429 maintainer-clean) \
14430 || exit 1
14432 @endif isl
14436 .PHONY: configure-libelf maybe-configure-libelf
14437 maybe-configure-libelf:
14438 @if gcc-bootstrap
14439 configure-libelf: stage_current
14440 @endif gcc-bootstrap
14441 @if libelf
14442 maybe-configure-libelf: configure-libelf
14443 configure-libelf:
14444 @r=`${PWD_COMMAND}`; export r; \
14445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14446 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14447 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14448 $(HOST_EXPORTS) \
14449 echo Configuring in $(HOST_SUBDIR)/libelf; \
14450 cd "$(HOST_SUBDIR)/libelf" || exit 1; \
14451 case $(srcdir) in \
14452 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14453 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14454 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14455 esac; \
14456 module_srcdir=libelf; \
14457 $(SHELL) \
14458 $$s/$$module_srcdir/configure \
14459 --srcdir=$${topdir}/$$module_srcdir \
14460 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14461 --target=${target_alias} --disable-shared \
14462 || exit 1
14463 @endif libelf
14467 .PHONY: configure-stage1-libelf maybe-configure-stage1-libelf
14468 maybe-configure-stage1-libelf:
14469 @if libelf-bootstrap
14470 maybe-configure-stage1-libelf: configure-stage1-libelf
14471 configure-stage1-libelf:
14472 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14473 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14474 @r=`${PWD_COMMAND}`; export r; \
14475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14476 TFLAGS="$(STAGE1_TFLAGS)"; \
14477 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14478 $(HOST_EXPORTS) \
14479 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
14480 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
14481 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
14482 echo Configuring stage 1 in $(HOST_SUBDIR)/libelf ; \
14483 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14484 cd $(HOST_SUBDIR)/libelf || exit 1; \
14485 case $(srcdir) in \
14486 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14487 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14488 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14489 esac; \
14490 module_srcdir=libelf; \
14491 $(SHELL) $$s/$$module_srcdir/configure \
14492 --srcdir=$${topdir}/$$module_srcdir \
14493 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14494 --target=${target_alias} \
14496 $(STAGE1_CONFIGURE_FLAGS) \
14497 --disable-shared
14498 @endif libelf-bootstrap
14500 .PHONY: configure-stage2-libelf maybe-configure-stage2-libelf
14501 maybe-configure-stage2-libelf:
14502 @if libelf-bootstrap
14503 maybe-configure-stage2-libelf: configure-stage2-libelf
14504 configure-stage2-libelf:
14505 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14506 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14507 @r=`${PWD_COMMAND}`; export r; \
14508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14509 TFLAGS="$(STAGE2_TFLAGS)"; \
14510 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14511 $(HOST_EXPORTS) \
14512 $(POSTSTAGE1_HOST_EXPORTS) \
14513 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
14514 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
14515 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
14516 echo Configuring stage 2 in $(HOST_SUBDIR)/libelf ; \
14517 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14518 cd $(HOST_SUBDIR)/libelf || exit 1; \
14519 case $(srcdir) in \
14520 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14521 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14522 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14523 esac; \
14524 module_srcdir=libelf; \
14525 $(SHELL) $$s/$$module_srcdir/configure \
14526 --srcdir=$${topdir}/$$module_srcdir \
14527 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14528 --target=${target_alias} \
14529 --with-build-libsubdir=$(HOST_SUBDIR) \
14530 $(STAGE2_CONFIGURE_FLAGS) \
14531 --disable-shared
14532 @endif libelf-bootstrap
14534 .PHONY: configure-stage3-libelf maybe-configure-stage3-libelf
14535 maybe-configure-stage3-libelf:
14536 @if libelf-bootstrap
14537 maybe-configure-stage3-libelf: configure-stage3-libelf
14538 configure-stage3-libelf:
14539 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14540 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14541 @r=`${PWD_COMMAND}`; export r; \
14542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14543 TFLAGS="$(STAGE3_TFLAGS)"; \
14544 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14545 $(HOST_EXPORTS) \
14546 $(POSTSTAGE1_HOST_EXPORTS) \
14547 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
14548 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
14549 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
14550 echo Configuring stage 3 in $(HOST_SUBDIR)/libelf ; \
14551 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14552 cd $(HOST_SUBDIR)/libelf || exit 1; \
14553 case $(srcdir) in \
14554 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14555 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14556 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14557 esac; \
14558 module_srcdir=libelf; \
14559 $(SHELL) $$s/$$module_srcdir/configure \
14560 --srcdir=$${topdir}/$$module_srcdir \
14561 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14562 --target=${target_alias} \
14563 --with-build-libsubdir=$(HOST_SUBDIR) \
14564 $(STAGE3_CONFIGURE_FLAGS) \
14565 --disable-shared
14566 @endif libelf-bootstrap
14568 .PHONY: configure-stage4-libelf maybe-configure-stage4-libelf
14569 maybe-configure-stage4-libelf:
14570 @if libelf-bootstrap
14571 maybe-configure-stage4-libelf: configure-stage4-libelf
14572 configure-stage4-libelf:
14573 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14574 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14575 @r=`${PWD_COMMAND}`; export r; \
14576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14577 TFLAGS="$(STAGE4_TFLAGS)"; \
14578 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14579 $(HOST_EXPORTS) \
14580 $(POSTSTAGE1_HOST_EXPORTS) \
14581 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
14582 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
14583 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
14584 echo Configuring stage 4 in $(HOST_SUBDIR)/libelf ; \
14585 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14586 cd $(HOST_SUBDIR)/libelf || exit 1; \
14587 case $(srcdir) in \
14588 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14589 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14590 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14591 esac; \
14592 module_srcdir=libelf; \
14593 $(SHELL) $$s/$$module_srcdir/configure \
14594 --srcdir=$${topdir}/$$module_srcdir \
14595 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14596 --target=${target_alias} \
14597 --with-build-libsubdir=$(HOST_SUBDIR) \
14598 $(STAGE4_CONFIGURE_FLAGS) \
14599 --disable-shared
14600 @endif libelf-bootstrap
14602 .PHONY: configure-stageprofile-libelf maybe-configure-stageprofile-libelf
14603 maybe-configure-stageprofile-libelf:
14604 @if libelf-bootstrap
14605 maybe-configure-stageprofile-libelf: configure-stageprofile-libelf
14606 configure-stageprofile-libelf:
14607 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14608 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14609 @r=`${PWD_COMMAND}`; export r; \
14610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14611 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14612 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14613 $(HOST_EXPORTS) \
14614 $(POSTSTAGE1_HOST_EXPORTS) \
14615 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
14616 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
14617 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
14618 echo Configuring stage profile in $(HOST_SUBDIR)/libelf ; \
14619 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14620 cd $(HOST_SUBDIR)/libelf || exit 1; \
14621 case $(srcdir) in \
14622 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14623 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14624 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14625 esac; \
14626 module_srcdir=libelf; \
14627 $(SHELL) $$s/$$module_srcdir/configure \
14628 --srcdir=$${topdir}/$$module_srcdir \
14629 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14630 --target=${target_alias} \
14631 --with-build-libsubdir=$(HOST_SUBDIR) \
14632 $(STAGEprofile_CONFIGURE_FLAGS) \
14633 --disable-shared
14634 @endif libelf-bootstrap
14636 .PHONY: configure-stagefeedback-libelf maybe-configure-stagefeedback-libelf
14637 maybe-configure-stagefeedback-libelf:
14638 @if libelf-bootstrap
14639 maybe-configure-stagefeedback-libelf: configure-stagefeedback-libelf
14640 configure-stagefeedback-libelf:
14641 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14642 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14643 @r=`${PWD_COMMAND}`; export r; \
14644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14645 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14646 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14647 $(HOST_EXPORTS) \
14648 $(POSTSTAGE1_HOST_EXPORTS) \
14649 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
14650 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
14651 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
14652 echo Configuring stage feedback in $(HOST_SUBDIR)/libelf ; \
14653 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14654 cd $(HOST_SUBDIR)/libelf || exit 1; \
14655 case $(srcdir) in \
14656 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14657 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14658 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14659 esac; \
14660 module_srcdir=libelf; \
14661 $(SHELL) $$s/$$module_srcdir/configure \
14662 --srcdir=$${topdir}/$$module_srcdir \
14663 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14664 --target=${target_alias} \
14665 --with-build-libsubdir=$(HOST_SUBDIR) \
14666 $(STAGEfeedback_CONFIGURE_FLAGS) \
14667 --disable-shared
14668 @endif libelf-bootstrap
14674 .PHONY: all-libelf maybe-all-libelf
14675 maybe-all-libelf:
14676 @if gcc-bootstrap
14677 all-libelf: stage_current
14678 @endif gcc-bootstrap
14679 @if libelf
14680 TARGET-libelf=all
14681 maybe-all-libelf: all-libelf
14682 all-libelf: configure-libelf
14683 @r=`${PWD_COMMAND}`; export r; \
14684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14685 $(HOST_EXPORTS) \
14686 (cd $(HOST_SUBDIR)/libelf && \
14687 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
14688 $(TARGET-libelf))
14689 @endif libelf
14693 .PHONY: all-stage1-libelf maybe-all-stage1-libelf
14694 .PHONY: clean-stage1-libelf maybe-clean-stage1-libelf
14695 maybe-all-stage1-libelf:
14696 maybe-clean-stage1-libelf:
14697 @if libelf-bootstrap
14698 maybe-all-stage1-libelf: all-stage1-libelf
14699 all-stage1: all-stage1-libelf
14700 TARGET-stage1-libelf = $(TARGET-libelf)
14701 all-stage1-libelf: configure-stage1-libelf
14702 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14703 @r=`${PWD_COMMAND}`; export r; \
14704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14705 TFLAGS="$(STAGE1_TFLAGS)"; \
14706 $(HOST_EXPORTS) \
14707 cd $(HOST_SUBDIR)/libelf && \
14708 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14709 CFLAGS="$(STAGE1_CFLAGS)" \
14710 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
14711 LIBCFLAGS="$(LIBCFLAGS)" \
14712 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14713 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14714 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14715 $(EXTRA_HOST_FLAGS) \
14716 $(STAGE1_FLAGS_TO_PASS) \
14717 TFLAGS="$(STAGE1_TFLAGS)" \
14718 $(TARGET-stage1-libelf)
14720 maybe-clean-stage1-libelf: clean-stage1-libelf
14721 clean-stage1: clean-stage1-libelf
14722 clean-stage1-libelf:
14723 @if [ $(current_stage) = stage1 ]; then \
14724 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
14725 else \
14726 [ -f $(HOST_SUBDIR)/stage1-libelf/Makefile ] || exit 0; \
14727 $(MAKE) stage1-start; \
14728 fi; \
14729 cd $(HOST_SUBDIR)/libelf && \
14730 $(MAKE) $(EXTRA_HOST_FLAGS) \
14731 $(STAGE1_FLAGS_TO_PASS) clean
14732 @endif libelf-bootstrap
14735 .PHONY: all-stage2-libelf maybe-all-stage2-libelf
14736 .PHONY: clean-stage2-libelf maybe-clean-stage2-libelf
14737 maybe-all-stage2-libelf:
14738 maybe-clean-stage2-libelf:
14739 @if libelf-bootstrap
14740 maybe-all-stage2-libelf: all-stage2-libelf
14741 all-stage2: all-stage2-libelf
14742 TARGET-stage2-libelf = $(TARGET-libelf)
14743 all-stage2-libelf: configure-stage2-libelf
14744 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14745 @r=`${PWD_COMMAND}`; export r; \
14746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14747 TFLAGS="$(STAGE2_TFLAGS)"; \
14748 $(HOST_EXPORTS) \
14749 $(POSTSTAGE1_HOST_EXPORTS) \
14750 cd $(HOST_SUBDIR)/libelf && \
14751 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14752 CFLAGS="$(STAGE2_CFLAGS)" \
14753 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
14754 LIBCFLAGS="$(STAGE2_CFLAGS)" \
14755 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14756 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14757 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14758 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14759 TFLAGS="$(STAGE2_TFLAGS)" \
14760 $(TARGET-stage2-libelf)
14762 maybe-clean-stage2-libelf: clean-stage2-libelf
14763 clean-stage2: clean-stage2-libelf
14764 clean-stage2-libelf:
14765 @if [ $(current_stage) = stage2 ]; then \
14766 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
14767 else \
14768 [ -f $(HOST_SUBDIR)/stage2-libelf/Makefile ] || exit 0; \
14769 $(MAKE) stage2-start; \
14770 fi; \
14771 cd $(HOST_SUBDIR)/libelf && \
14772 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
14773 @endif libelf-bootstrap
14776 .PHONY: all-stage3-libelf maybe-all-stage3-libelf
14777 .PHONY: clean-stage3-libelf maybe-clean-stage3-libelf
14778 maybe-all-stage3-libelf:
14779 maybe-clean-stage3-libelf:
14780 @if libelf-bootstrap
14781 maybe-all-stage3-libelf: all-stage3-libelf
14782 all-stage3: all-stage3-libelf
14783 TARGET-stage3-libelf = $(TARGET-libelf)
14784 all-stage3-libelf: configure-stage3-libelf
14785 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14786 @r=`${PWD_COMMAND}`; export r; \
14787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14788 TFLAGS="$(STAGE3_TFLAGS)"; \
14789 $(HOST_EXPORTS) \
14790 $(POSTSTAGE1_HOST_EXPORTS) \
14791 cd $(HOST_SUBDIR)/libelf && \
14792 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14793 CFLAGS="$(STAGE3_CFLAGS)" \
14794 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
14795 LIBCFLAGS="$(STAGE3_CFLAGS)" \
14796 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14797 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14798 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14799 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14800 TFLAGS="$(STAGE3_TFLAGS)" \
14801 $(TARGET-stage3-libelf)
14803 maybe-clean-stage3-libelf: clean-stage3-libelf
14804 clean-stage3: clean-stage3-libelf
14805 clean-stage3-libelf:
14806 @if [ $(current_stage) = stage3 ]; then \
14807 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
14808 else \
14809 [ -f $(HOST_SUBDIR)/stage3-libelf/Makefile ] || exit 0; \
14810 $(MAKE) stage3-start; \
14811 fi; \
14812 cd $(HOST_SUBDIR)/libelf && \
14813 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
14814 @endif libelf-bootstrap
14817 .PHONY: all-stage4-libelf maybe-all-stage4-libelf
14818 .PHONY: clean-stage4-libelf maybe-clean-stage4-libelf
14819 maybe-all-stage4-libelf:
14820 maybe-clean-stage4-libelf:
14821 @if libelf-bootstrap
14822 maybe-all-stage4-libelf: all-stage4-libelf
14823 all-stage4: all-stage4-libelf
14824 TARGET-stage4-libelf = $(TARGET-libelf)
14825 all-stage4-libelf: configure-stage4-libelf
14826 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14827 @r=`${PWD_COMMAND}`; export r; \
14828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14829 TFLAGS="$(STAGE4_TFLAGS)"; \
14830 $(HOST_EXPORTS) \
14831 $(POSTSTAGE1_HOST_EXPORTS) \
14832 cd $(HOST_SUBDIR)/libelf && \
14833 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14834 CFLAGS="$(STAGE4_CFLAGS)" \
14835 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
14836 LIBCFLAGS="$(STAGE4_CFLAGS)" \
14837 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14838 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14839 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14840 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14841 TFLAGS="$(STAGE4_TFLAGS)" \
14842 $(TARGET-stage4-libelf)
14844 maybe-clean-stage4-libelf: clean-stage4-libelf
14845 clean-stage4: clean-stage4-libelf
14846 clean-stage4-libelf:
14847 @if [ $(current_stage) = stage4 ]; then \
14848 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
14849 else \
14850 [ -f $(HOST_SUBDIR)/stage4-libelf/Makefile ] || exit 0; \
14851 $(MAKE) stage4-start; \
14852 fi; \
14853 cd $(HOST_SUBDIR)/libelf && \
14854 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
14855 @endif libelf-bootstrap
14858 .PHONY: all-stageprofile-libelf maybe-all-stageprofile-libelf
14859 .PHONY: clean-stageprofile-libelf maybe-clean-stageprofile-libelf
14860 maybe-all-stageprofile-libelf:
14861 maybe-clean-stageprofile-libelf:
14862 @if libelf-bootstrap
14863 maybe-all-stageprofile-libelf: all-stageprofile-libelf
14864 all-stageprofile: all-stageprofile-libelf
14865 TARGET-stageprofile-libelf = $(TARGET-libelf)
14866 all-stageprofile-libelf: configure-stageprofile-libelf
14867 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14868 @r=`${PWD_COMMAND}`; export r; \
14869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14870 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14871 $(HOST_EXPORTS) \
14872 $(POSTSTAGE1_HOST_EXPORTS) \
14873 cd $(HOST_SUBDIR)/libelf && \
14874 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14875 CFLAGS="$(STAGEprofile_CFLAGS)" \
14876 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
14877 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
14878 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14879 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14880 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14881 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14882 TFLAGS="$(STAGEprofile_TFLAGS)" \
14883 $(TARGET-stageprofile-libelf)
14885 maybe-clean-stageprofile-libelf: clean-stageprofile-libelf
14886 clean-stageprofile: clean-stageprofile-libelf
14887 clean-stageprofile-libelf:
14888 @if [ $(current_stage) = stageprofile ]; then \
14889 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
14890 else \
14891 [ -f $(HOST_SUBDIR)/stageprofile-libelf/Makefile ] || exit 0; \
14892 $(MAKE) stageprofile-start; \
14893 fi; \
14894 cd $(HOST_SUBDIR)/libelf && \
14895 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
14896 @endif libelf-bootstrap
14899 .PHONY: all-stagefeedback-libelf maybe-all-stagefeedback-libelf
14900 .PHONY: clean-stagefeedback-libelf maybe-clean-stagefeedback-libelf
14901 maybe-all-stagefeedback-libelf:
14902 maybe-clean-stagefeedback-libelf:
14903 @if libelf-bootstrap
14904 maybe-all-stagefeedback-libelf: all-stagefeedback-libelf
14905 all-stagefeedback: all-stagefeedback-libelf
14906 TARGET-stagefeedback-libelf = $(TARGET-libelf)
14907 all-stagefeedback-libelf: configure-stagefeedback-libelf
14908 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14909 @r=`${PWD_COMMAND}`; export r; \
14910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14911 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14912 $(HOST_EXPORTS) \
14913 $(POSTSTAGE1_HOST_EXPORTS) \
14914 cd $(HOST_SUBDIR)/libelf && \
14915 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14916 CFLAGS="$(STAGEfeedback_CFLAGS)" \
14917 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
14918 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
14919 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14920 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14921 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14922 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14923 TFLAGS="$(STAGEfeedback_TFLAGS)" \
14924 $(TARGET-stagefeedback-libelf)
14926 maybe-clean-stagefeedback-libelf: clean-stagefeedback-libelf
14927 clean-stagefeedback: clean-stagefeedback-libelf
14928 clean-stagefeedback-libelf:
14929 @if [ $(current_stage) = stagefeedback ]; then \
14930 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
14931 else \
14932 [ -f $(HOST_SUBDIR)/stagefeedback-libelf/Makefile ] || exit 0; \
14933 $(MAKE) stagefeedback-start; \
14934 fi; \
14935 cd $(HOST_SUBDIR)/libelf && \
14936 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
14937 @endif libelf-bootstrap
14943 .PHONY: check-libelf maybe-check-libelf
14944 maybe-check-libelf:
14945 @if libelf
14946 maybe-check-libelf: check-libelf
14948 check-libelf:
14949 @: $(MAKE); $(unstage)
14950 @r=`${PWD_COMMAND}`; export r; \
14951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14952 $(HOST_EXPORTS) \
14953 (cd $(HOST_SUBDIR)/libelf && \
14954 $(MAKE) $(FLAGS_TO_PASS) check)
14956 @endif libelf
14958 .PHONY: install-libelf maybe-install-libelf
14959 maybe-install-libelf:
14960 @if libelf
14961 maybe-install-libelf: install-libelf
14963 install-libelf:
14965 @endif libelf
14967 .PHONY: install-strip-libelf maybe-install-strip-libelf
14968 maybe-install-strip-libelf:
14969 @if libelf
14970 maybe-install-strip-libelf: install-strip-libelf
14972 install-strip-libelf:
14974 @endif libelf
14976 # Other targets (info, dvi, pdf, etc.)
14978 .PHONY: maybe-info-libelf info-libelf
14979 maybe-info-libelf:
14980 @if libelf
14981 maybe-info-libelf: info-libelf
14983 info-libelf: \
14984 configure-libelf
14985 @[ -f ./libelf/Makefile ] || exit 0; \
14986 r=`${PWD_COMMAND}`; export r; \
14987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14988 $(HOST_EXPORTS) \
14989 for flag in $(EXTRA_HOST_FLAGS) ; do \
14990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14991 done; \
14992 echo "Doing info in libelf" ; \
14993 (cd $(HOST_SUBDIR)/libelf && \
14994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14996 "RANLIB=$${RANLIB}" \
14997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14998 info) \
14999 || exit 1
15001 @endif libelf
15003 .PHONY: maybe-dvi-libelf dvi-libelf
15004 maybe-dvi-libelf:
15005 @if libelf
15006 maybe-dvi-libelf: dvi-libelf
15008 dvi-libelf: \
15009 configure-libelf
15010 @[ -f ./libelf/Makefile ] || exit 0; \
15011 r=`${PWD_COMMAND}`; export r; \
15012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15013 $(HOST_EXPORTS) \
15014 for flag in $(EXTRA_HOST_FLAGS) ; do \
15015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15016 done; \
15017 echo "Doing dvi in libelf" ; \
15018 (cd $(HOST_SUBDIR)/libelf && \
15019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15021 "RANLIB=$${RANLIB}" \
15022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15023 dvi) \
15024 || exit 1
15026 @endif libelf
15028 .PHONY: maybe-pdf-libelf pdf-libelf
15029 maybe-pdf-libelf:
15030 @if libelf
15031 maybe-pdf-libelf: pdf-libelf
15033 pdf-libelf: \
15034 configure-libelf
15035 @[ -f ./libelf/Makefile ] || exit 0; \
15036 r=`${PWD_COMMAND}`; export r; \
15037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15038 $(HOST_EXPORTS) \
15039 for flag in $(EXTRA_HOST_FLAGS) ; do \
15040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15041 done; \
15042 echo "Doing pdf in libelf" ; \
15043 (cd $(HOST_SUBDIR)/libelf && \
15044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15046 "RANLIB=$${RANLIB}" \
15047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15048 pdf) \
15049 || exit 1
15051 @endif libelf
15053 .PHONY: maybe-html-libelf html-libelf
15054 maybe-html-libelf:
15055 @if libelf
15056 maybe-html-libelf: html-libelf
15058 html-libelf: \
15059 configure-libelf
15060 @[ -f ./libelf/Makefile ] || exit 0; \
15061 r=`${PWD_COMMAND}`; export r; \
15062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15063 $(HOST_EXPORTS) \
15064 for flag in $(EXTRA_HOST_FLAGS) ; do \
15065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15066 done; \
15067 echo "Doing html in libelf" ; \
15068 (cd $(HOST_SUBDIR)/libelf && \
15069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15071 "RANLIB=$${RANLIB}" \
15072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15073 html) \
15074 || exit 1
15076 @endif libelf
15078 .PHONY: maybe-TAGS-libelf TAGS-libelf
15079 maybe-TAGS-libelf:
15080 @if libelf
15081 maybe-TAGS-libelf: TAGS-libelf
15083 TAGS-libelf: \
15084 configure-libelf
15085 @[ -f ./libelf/Makefile ] || exit 0; \
15086 r=`${PWD_COMMAND}`; export r; \
15087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15088 $(HOST_EXPORTS) \
15089 for flag in $(EXTRA_HOST_FLAGS) ; do \
15090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15091 done; \
15092 echo "Doing TAGS in libelf" ; \
15093 (cd $(HOST_SUBDIR)/libelf && \
15094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15096 "RANLIB=$${RANLIB}" \
15097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15098 TAGS) \
15099 || exit 1
15101 @endif libelf
15103 .PHONY: maybe-install-info-libelf install-info-libelf
15104 maybe-install-info-libelf:
15105 @if libelf
15106 maybe-install-info-libelf: install-info-libelf
15108 install-info-libelf: \
15109 configure-libelf \
15110 info-libelf
15111 @[ -f ./libelf/Makefile ] || exit 0; \
15112 r=`${PWD_COMMAND}`; export r; \
15113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15114 $(HOST_EXPORTS) \
15115 for flag in $(EXTRA_HOST_FLAGS) ; do \
15116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15117 done; \
15118 echo "Doing install-info in libelf" ; \
15119 (cd $(HOST_SUBDIR)/libelf && \
15120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15122 "RANLIB=$${RANLIB}" \
15123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15124 install-info) \
15125 || exit 1
15127 @endif libelf
15129 .PHONY: maybe-install-pdf-libelf install-pdf-libelf
15130 maybe-install-pdf-libelf:
15131 @if libelf
15132 maybe-install-pdf-libelf: install-pdf-libelf
15134 install-pdf-libelf: \
15135 configure-libelf \
15136 pdf-libelf
15137 @[ -f ./libelf/Makefile ] || exit 0; \
15138 r=`${PWD_COMMAND}`; export r; \
15139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15140 $(HOST_EXPORTS) \
15141 for flag in $(EXTRA_HOST_FLAGS) ; do \
15142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15143 done; \
15144 echo "Doing install-pdf in libelf" ; \
15145 (cd $(HOST_SUBDIR)/libelf && \
15146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15148 "RANLIB=$${RANLIB}" \
15149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15150 install-pdf) \
15151 || exit 1
15153 @endif libelf
15155 .PHONY: maybe-install-html-libelf install-html-libelf
15156 maybe-install-html-libelf:
15157 @if libelf
15158 maybe-install-html-libelf: install-html-libelf
15160 install-html-libelf: \
15161 configure-libelf \
15162 html-libelf
15163 @[ -f ./libelf/Makefile ] || exit 0; \
15164 r=`${PWD_COMMAND}`; export r; \
15165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15166 $(HOST_EXPORTS) \
15167 for flag in $(EXTRA_HOST_FLAGS) ; do \
15168 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15169 done; \
15170 echo "Doing install-html in libelf" ; \
15171 (cd $(HOST_SUBDIR)/libelf && \
15172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15174 "RANLIB=$${RANLIB}" \
15175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15176 install-html) \
15177 || exit 1
15179 @endif libelf
15181 .PHONY: maybe-installcheck-libelf installcheck-libelf
15182 maybe-installcheck-libelf:
15183 @if libelf
15184 maybe-installcheck-libelf: installcheck-libelf
15186 installcheck-libelf: \
15187 configure-libelf
15188 @[ -f ./libelf/Makefile ] || exit 0; \
15189 r=`${PWD_COMMAND}`; export r; \
15190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15191 $(HOST_EXPORTS) \
15192 for flag in $(EXTRA_HOST_FLAGS) ; do \
15193 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15194 done; \
15195 echo "Doing installcheck in libelf" ; \
15196 (cd $(HOST_SUBDIR)/libelf && \
15197 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15198 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15199 "RANLIB=$${RANLIB}" \
15200 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15201 installcheck) \
15202 || exit 1
15204 @endif libelf
15206 .PHONY: maybe-mostlyclean-libelf mostlyclean-libelf
15207 maybe-mostlyclean-libelf:
15208 @if libelf
15209 maybe-mostlyclean-libelf: mostlyclean-libelf
15211 mostlyclean-libelf:
15212 @[ -f ./libelf/Makefile ] || exit 0; \
15213 r=`${PWD_COMMAND}`; export r; \
15214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15215 $(HOST_EXPORTS) \
15216 for flag in $(EXTRA_HOST_FLAGS) ; do \
15217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15218 done; \
15219 echo "Doing mostlyclean in libelf" ; \
15220 (cd $(HOST_SUBDIR)/libelf && \
15221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15223 "RANLIB=$${RANLIB}" \
15224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15225 mostlyclean) \
15226 || exit 1
15228 @endif libelf
15230 .PHONY: maybe-clean-libelf clean-libelf
15231 maybe-clean-libelf:
15232 @if libelf
15233 maybe-clean-libelf: clean-libelf
15235 clean-libelf:
15236 @[ -f ./libelf/Makefile ] || exit 0; \
15237 r=`${PWD_COMMAND}`; export r; \
15238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15239 $(HOST_EXPORTS) \
15240 for flag in $(EXTRA_HOST_FLAGS) ; do \
15241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15242 done; \
15243 echo "Doing clean in libelf" ; \
15244 (cd $(HOST_SUBDIR)/libelf && \
15245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15247 "RANLIB=$${RANLIB}" \
15248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15249 clean) \
15250 || exit 1
15252 @endif libelf
15254 .PHONY: maybe-distclean-libelf distclean-libelf
15255 maybe-distclean-libelf:
15256 @if libelf
15257 maybe-distclean-libelf: distclean-libelf
15259 distclean-libelf:
15260 @[ -f ./libelf/Makefile ] || exit 0; \
15261 r=`${PWD_COMMAND}`; export r; \
15262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15263 $(HOST_EXPORTS) \
15264 for flag in $(EXTRA_HOST_FLAGS) ; do \
15265 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15266 done; \
15267 echo "Doing distclean in libelf" ; \
15268 (cd $(HOST_SUBDIR)/libelf && \
15269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15271 "RANLIB=$${RANLIB}" \
15272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15273 distclean) \
15274 || exit 1
15276 @endif libelf
15278 .PHONY: maybe-maintainer-clean-libelf maintainer-clean-libelf
15279 maybe-maintainer-clean-libelf:
15280 @if libelf
15281 maybe-maintainer-clean-libelf: maintainer-clean-libelf
15283 maintainer-clean-libelf:
15284 @[ -f ./libelf/Makefile ] || exit 0; \
15285 r=`${PWD_COMMAND}`; export r; \
15286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15287 $(HOST_EXPORTS) \
15288 for flag in $(EXTRA_HOST_FLAGS) ; do \
15289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15290 done; \
15291 echo "Doing maintainer-clean in libelf" ; \
15292 (cd $(HOST_SUBDIR)/libelf && \
15293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15295 "RANLIB=$${RANLIB}" \
15296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15297 maintainer-clean) \
15298 || exit 1
15300 @endif libelf
15304 .PHONY: configure-gold maybe-configure-gold
15305 maybe-configure-gold:
15306 @if gcc-bootstrap
15307 configure-gold: stage_current
15308 @endif gcc-bootstrap
15309 @if gold
15310 maybe-configure-gold: configure-gold
15311 configure-gold:
15312 @r=`${PWD_COMMAND}`; export r; \
15313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15314 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15315 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15316 $(HOST_EXPORTS) \
15317 echo Configuring in $(HOST_SUBDIR)/gold; \
15318 cd "$(HOST_SUBDIR)/gold" || exit 1; \
15319 case $(srcdir) in \
15320 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15321 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15322 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15323 esac; \
15324 module_srcdir=gold; \
15325 $(SHELL) \
15326 $$s/$$module_srcdir/configure \
15327 --srcdir=$${topdir}/$$module_srcdir \
15328 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15329 --target=${target_alias} \
15330 || exit 1
15331 @endif gold
15335 .PHONY: configure-stage1-gold maybe-configure-stage1-gold
15336 maybe-configure-stage1-gold:
15337 @if gold-bootstrap
15338 maybe-configure-stage1-gold: configure-stage1-gold
15339 configure-stage1-gold:
15340 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15341 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15342 @r=`${PWD_COMMAND}`; export r; \
15343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15344 TFLAGS="$(STAGE1_TFLAGS)"; \
15345 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15346 $(HOST_EXPORTS) \
15347 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
15348 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
15349 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
15350 echo Configuring stage 1 in $(HOST_SUBDIR)/gold ; \
15351 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15352 cd $(HOST_SUBDIR)/gold || exit 1; \
15353 case $(srcdir) in \
15354 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15355 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15356 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15357 esac; \
15358 module_srcdir=gold; \
15359 $(SHELL) $$s/$$module_srcdir/configure \
15360 --srcdir=$${topdir}/$$module_srcdir \
15361 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15362 --target=${target_alias} \
15364 $(STAGE1_CONFIGURE_FLAGS)
15365 @endif gold-bootstrap
15367 .PHONY: configure-stage2-gold maybe-configure-stage2-gold
15368 maybe-configure-stage2-gold:
15369 @if gold-bootstrap
15370 maybe-configure-stage2-gold: configure-stage2-gold
15371 configure-stage2-gold:
15372 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15373 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15374 @r=`${PWD_COMMAND}`; export r; \
15375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15376 TFLAGS="$(STAGE2_TFLAGS)"; \
15377 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15378 $(HOST_EXPORTS) \
15379 $(POSTSTAGE1_HOST_EXPORTS) \
15380 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
15381 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
15382 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
15383 echo Configuring stage 2 in $(HOST_SUBDIR)/gold ; \
15384 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15385 cd $(HOST_SUBDIR)/gold || exit 1; \
15386 case $(srcdir) in \
15387 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15388 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15389 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15390 esac; \
15391 module_srcdir=gold; \
15392 $(SHELL) $$s/$$module_srcdir/configure \
15393 --srcdir=$${topdir}/$$module_srcdir \
15394 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15395 --target=${target_alias} \
15396 --with-build-libsubdir=$(HOST_SUBDIR) \
15397 $(STAGE2_CONFIGURE_FLAGS)
15398 @endif gold-bootstrap
15400 .PHONY: configure-stage3-gold maybe-configure-stage3-gold
15401 maybe-configure-stage3-gold:
15402 @if gold-bootstrap
15403 maybe-configure-stage3-gold: configure-stage3-gold
15404 configure-stage3-gold:
15405 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15406 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15407 @r=`${PWD_COMMAND}`; export r; \
15408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15409 TFLAGS="$(STAGE3_TFLAGS)"; \
15410 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15411 $(HOST_EXPORTS) \
15412 $(POSTSTAGE1_HOST_EXPORTS) \
15413 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
15414 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
15415 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
15416 echo Configuring stage 3 in $(HOST_SUBDIR)/gold ; \
15417 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15418 cd $(HOST_SUBDIR)/gold || exit 1; \
15419 case $(srcdir) in \
15420 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15421 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15422 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15423 esac; \
15424 module_srcdir=gold; \
15425 $(SHELL) $$s/$$module_srcdir/configure \
15426 --srcdir=$${topdir}/$$module_srcdir \
15427 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15428 --target=${target_alias} \
15429 --with-build-libsubdir=$(HOST_SUBDIR) \
15430 $(STAGE3_CONFIGURE_FLAGS)
15431 @endif gold-bootstrap
15433 .PHONY: configure-stage4-gold maybe-configure-stage4-gold
15434 maybe-configure-stage4-gold:
15435 @if gold-bootstrap
15436 maybe-configure-stage4-gold: configure-stage4-gold
15437 configure-stage4-gold:
15438 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15439 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15440 @r=`${PWD_COMMAND}`; export r; \
15441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15442 TFLAGS="$(STAGE4_TFLAGS)"; \
15443 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15444 $(HOST_EXPORTS) \
15445 $(POSTSTAGE1_HOST_EXPORTS) \
15446 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
15447 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
15448 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
15449 echo Configuring stage 4 in $(HOST_SUBDIR)/gold ; \
15450 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15451 cd $(HOST_SUBDIR)/gold || exit 1; \
15452 case $(srcdir) in \
15453 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15454 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15455 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15456 esac; \
15457 module_srcdir=gold; \
15458 $(SHELL) $$s/$$module_srcdir/configure \
15459 --srcdir=$${topdir}/$$module_srcdir \
15460 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15461 --target=${target_alias} \
15462 --with-build-libsubdir=$(HOST_SUBDIR) \
15463 $(STAGE4_CONFIGURE_FLAGS)
15464 @endif gold-bootstrap
15466 .PHONY: configure-stageprofile-gold maybe-configure-stageprofile-gold
15467 maybe-configure-stageprofile-gold:
15468 @if gold-bootstrap
15469 maybe-configure-stageprofile-gold: configure-stageprofile-gold
15470 configure-stageprofile-gold:
15471 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15472 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15473 @r=`${PWD_COMMAND}`; export r; \
15474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15475 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15476 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15477 $(HOST_EXPORTS) \
15478 $(POSTSTAGE1_HOST_EXPORTS) \
15479 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
15480 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
15481 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
15482 echo Configuring stage profile in $(HOST_SUBDIR)/gold ; \
15483 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15484 cd $(HOST_SUBDIR)/gold || exit 1; \
15485 case $(srcdir) in \
15486 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15487 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15488 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15489 esac; \
15490 module_srcdir=gold; \
15491 $(SHELL) $$s/$$module_srcdir/configure \
15492 --srcdir=$${topdir}/$$module_srcdir \
15493 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15494 --target=${target_alias} \
15495 --with-build-libsubdir=$(HOST_SUBDIR) \
15496 $(STAGEprofile_CONFIGURE_FLAGS)
15497 @endif gold-bootstrap
15499 .PHONY: configure-stagefeedback-gold maybe-configure-stagefeedback-gold
15500 maybe-configure-stagefeedback-gold:
15501 @if gold-bootstrap
15502 maybe-configure-stagefeedback-gold: configure-stagefeedback-gold
15503 configure-stagefeedback-gold:
15504 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15505 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15506 @r=`${PWD_COMMAND}`; export r; \
15507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15508 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15509 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15510 $(HOST_EXPORTS) \
15511 $(POSTSTAGE1_HOST_EXPORTS) \
15512 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
15513 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
15514 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
15515 echo Configuring stage feedback in $(HOST_SUBDIR)/gold ; \
15516 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15517 cd $(HOST_SUBDIR)/gold || exit 1; \
15518 case $(srcdir) in \
15519 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15520 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15521 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15522 esac; \
15523 module_srcdir=gold; \
15524 $(SHELL) $$s/$$module_srcdir/configure \
15525 --srcdir=$${topdir}/$$module_srcdir \
15526 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15527 --target=${target_alias} \
15528 --with-build-libsubdir=$(HOST_SUBDIR) \
15529 $(STAGEfeedback_CONFIGURE_FLAGS)
15530 @endif gold-bootstrap
15536 .PHONY: all-gold maybe-all-gold
15537 maybe-all-gold:
15538 @if gcc-bootstrap
15539 all-gold: stage_current
15540 @endif gcc-bootstrap
15541 @if gold
15542 TARGET-gold=all
15543 maybe-all-gold: all-gold
15544 all-gold: configure-gold
15545 @r=`${PWD_COMMAND}`; export r; \
15546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15547 $(HOST_EXPORTS) \
15548 (cd $(HOST_SUBDIR)/gold && \
15549 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
15550 $(TARGET-gold))
15551 @endif gold
15555 .PHONY: all-stage1-gold maybe-all-stage1-gold
15556 .PHONY: clean-stage1-gold maybe-clean-stage1-gold
15557 maybe-all-stage1-gold:
15558 maybe-clean-stage1-gold:
15559 @if gold-bootstrap
15560 maybe-all-stage1-gold: all-stage1-gold
15561 all-stage1: all-stage1-gold
15562 TARGET-stage1-gold = $(TARGET-gold)
15563 all-stage1-gold: configure-stage1-gold
15564 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15565 @r=`${PWD_COMMAND}`; export r; \
15566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15567 TFLAGS="$(STAGE1_TFLAGS)"; \
15568 $(HOST_EXPORTS) \
15569 cd $(HOST_SUBDIR)/gold && \
15570 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15571 CFLAGS="$(STAGE1_CFLAGS)" \
15572 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
15573 LIBCFLAGS="$(LIBCFLAGS)" \
15574 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15575 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15576 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15577 $(EXTRA_HOST_FLAGS) \
15578 $(STAGE1_FLAGS_TO_PASS) \
15579 TFLAGS="$(STAGE1_TFLAGS)" \
15580 $(TARGET-stage1-gold)
15582 maybe-clean-stage1-gold: clean-stage1-gold
15583 clean-stage1: clean-stage1-gold
15584 clean-stage1-gold:
15585 @if [ $(current_stage) = stage1 ]; then \
15586 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15587 else \
15588 [ -f $(HOST_SUBDIR)/stage1-gold/Makefile ] || exit 0; \
15589 $(MAKE) stage1-start; \
15590 fi; \
15591 cd $(HOST_SUBDIR)/gold && \
15592 $(MAKE) $(EXTRA_HOST_FLAGS) \
15593 $(STAGE1_FLAGS_TO_PASS) clean
15594 @endif gold-bootstrap
15597 .PHONY: all-stage2-gold maybe-all-stage2-gold
15598 .PHONY: clean-stage2-gold maybe-clean-stage2-gold
15599 maybe-all-stage2-gold:
15600 maybe-clean-stage2-gold:
15601 @if gold-bootstrap
15602 maybe-all-stage2-gold: all-stage2-gold
15603 all-stage2: all-stage2-gold
15604 TARGET-stage2-gold = $(TARGET-gold)
15605 all-stage2-gold: configure-stage2-gold
15606 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15607 @r=`${PWD_COMMAND}`; export r; \
15608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15609 TFLAGS="$(STAGE2_TFLAGS)"; \
15610 $(HOST_EXPORTS) \
15611 $(POSTSTAGE1_HOST_EXPORTS) \
15612 cd $(HOST_SUBDIR)/gold && \
15613 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15614 CFLAGS="$(STAGE2_CFLAGS)" \
15615 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
15616 LIBCFLAGS="$(STAGE2_CFLAGS)" \
15617 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15618 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15619 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15620 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15621 TFLAGS="$(STAGE2_TFLAGS)" \
15622 $(TARGET-stage2-gold)
15624 maybe-clean-stage2-gold: clean-stage2-gold
15625 clean-stage2: clean-stage2-gold
15626 clean-stage2-gold:
15627 @if [ $(current_stage) = stage2 ]; then \
15628 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15629 else \
15630 [ -f $(HOST_SUBDIR)/stage2-gold/Makefile ] || exit 0; \
15631 $(MAKE) stage2-start; \
15632 fi; \
15633 cd $(HOST_SUBDIR)/gold && \
15634 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15635 @endif gold-bootstrap
15638 .PHONY: all-stage3-gold maybe-all-stage3-gold
15639 .PHONY: clean-stage3-gold maybe-clean-stage3-gold
15640 maybe-all-stage3-gold:
15641 maybe-clean-stage3-gold:
15642 @if gold-bootstrap
15643 maybe-all-stage3-gold: all-stage3-gold
15644 all-stage3: all-stage3-gold
15645 TARGET-stage3-gold = $(TARGET-gold)
15646 all-stage3-gold: configure-stage3-gold
15647 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15648 @r=`${PWD_COMMAND}`; export r; \
15649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15650 TFLAGS="$(STAGE3_TFLAGS)"; \
15651 $(HOST_EXPORTS) \
15652 $(POSTSTAGE1_HOST_EXPORTS) \
15653 cd $(HOST_SUBDIR)/gold && \
15654 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15655 CFLAGS="$(STAGE3_CFLAGS)" \
15656 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
15657 LIBCFLAGS="$(STAGE3_CFLAGS)" \
15658 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15659 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15660 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15661 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15662 TFLAGS="$(STAGE3_TFLAGS)" \
15663 $(TARGET-stage3-gold)
15665 maybe-clean-stage3-gold: clean-stage3-gold
15666 clean-stage3: clean-stage3-gold
15667 clean-stage3-gold:
15668 @if [ $(current_stage) = stage3 ]; then \
15669 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15670 else \
15671 [ -f $(HOST_SUBDIR)/stage3-gold/Makefile ] || exit 0; \
15672 $(MAKE) stage3-start; \
15673 fi; \
15674 cd $(HOST_SUBDIR)/gold && \
15675 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15676 @endif gold-bootstrap
15679 .PHONY: all-stage4-gold maybe-all-stage4-gold
15680 .PHONY: clean-stage4-gold maybe-clean-stage4-gold
15681 maybe-all-stage4-gold:
15682 maybe-clean-stage4-gold:
15683 @if gold-bootstrap
15684 maybe-all-stage4-gold: all-stage4-gold
15685 all-stage4: all-stage4-gold
15686 TARGET-stage4-gold = $(TARGET-gold)
15687 all-stage4-gold: configure-stage4-gold
15688 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15689 @r=`${PWD_COMMAND}`; export r; \
15690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15691 TFLAGS="$(STAGE4_TFLAGS)"; \
15692 $(HOST_EXPORTS) \
15693 $(POSTSTAGE1_HOST_EXPORTS) \
15694 cd $(HOST_SUBDIR)/gold && \
15695 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15696 CFLAGS="$(STAGE4_CFLAGS)" \
15697 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
15698 LIBCFLAGS="$(STAGE4_CFLAGS)" \
15699 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15700 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15701 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15702 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15703 TFLAGS="$(STAGE4_TFLAGS)" \
15704 $(TARGET-stage4-gold)
15706 maybe-clean-stage4-gold: clean-stage4-gold
15707 clean-stage4: clean-stage4-gold
15708 clean-stage4-gold:
15709 @if [ $(current_stage) = stage4 ]; then \
15710 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15711 else \
15712 [ -f $(HOST_SUBDIR)/stage4-gold/Makefile ] || exit 0; \
15713 $(MAKE) stage4-start; \
15714 fi; \
15715 cd $(HOST_SUBDIR)/gold && \
15716 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15717 @endif gold-bootstrap
15720 .PHONY: all-stageprofile-gold maybe-all-stageprofile-gold
15721 .PHONY: clean-stageprofile-gold maybe-clean-stageprofile-gold
15722 maybe-all-stageprofile-gold:
15723 maybe-clean-stageprofile-gold:
15724 @if gold-bootstrap
15725 maybe-all-stageprofile-gold: all-stageprofile-gold
15726 all-stageprofile: all-stageprofile-gold
15727 TARGET-stageprofile-gold = $(TARGET-gold)
15728 all-stageprofile-gold: configure-stageprofile-gold
15729 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15730 @r=`${PWD_COMMAND}`; export r; \
15731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15732 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15733 $(HOST_EXPORTS) \
15734 $(POSTSTAGE1_HOST_EXPORTS) \
15735 cd $(HOST_SUBDIR)/gold && \
15736 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15737 CFLAGS="$(STAGEprofile_CFLAGS)" \
15738 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
15739 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
15740 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15741 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15742 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15743 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15744 TFLAGS="$(STAGEprofile_TFLAGS)" \
15745 $(TARGET-stageprofile-gold)
15747 maybe-clean-stageprofile-gold: clean-stageprofile-gold
15748 clean-stageprofile: clean-stageprofile-gold
15749 clean-stageprofile-gold:
15750 @if [ $(current_stage) = stageprofile ]; then \
15751 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15752 else \
15753 [ -f $(HOST_SUBDIR)/stageprofile-gold/Makefile ] || exit 0; \
15754 $(MAKE) stageprofile-start; \
15755 fi; \
15756 cd $(HOST_SUBDIR)/gold && \
15757 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15758 @endif gold-bootstrap
15761 .PHONY: all-stagefeedback-gold maybe-all-stagefeedback-gold
15762 .PHONY: clean-stagefeedback-gold maybe-clean-stagefeedback-gold
15763 maybe-all-stagefeedback-gold:
15764 maybe-clean-stagefeedback-gold:
15765 @if gold-bootstrap
15766 maybe-all-stagefeedback-gold: all-stagefeedback-gold
15767 all-stagefeedback: all-stagefeedback-gold
15768 TARGET-stagefeedback-gold = $(TARGET-gold)
15769 all-stagefeedback-gold: configure-stagefeedback-gold
15770 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15771 @r=`${PWD_COMMAND}`; export r; \
15772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15773 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15774 $(HOST_EXPORTS) \
15775 $(POSTSTAGE1_HOST_EXPORTS) \
15776 cd $(HOST_SUBDIR)/gold && \
15777 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15778 CFLAGS="$(STAGEfeedback_CFLAGS)" \
15779 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
15780 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
15781 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15782 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15783 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15784 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15785 TFLAGS="$(STAGEfeedback_TFLAGS)" \
15786 $(TARGET-stagefeedback-gold)
15788 maybe-clean-stagefeedback-gold: clean-stagefeedback-gold
15789 clean-stagefeedback: clean-stagefeedback-gold
15790 clean-stagefeedback-gold:
15791 @if [ $(current_stage) = stagefeedback ]; then \
15792 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15793 else \
15794 [ -f $(HOST_SUBDIR)/stagefeedback-gold/Makefile ] || exit 0; \
15795 $(MAKE) stagefeedback-start; \
15796 fi; \
15797 cd $(HOST_SUBDIR)/gold && \
15798 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15799 @endif gold-bootstrap
15805 .PHONY: check-gold maybe-check-gold
15806 maybe-check-gold:
15807 @if gold
15808 maybe-check-gold: check-gold
15810 check-gold:
15811 @: $(MAKE); $(unstage)
15812 @r=`${PWD_COMMAND}`; export r; \
15813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15814 $(HOST_EXPORTS) \
15815 (cd $(HOST_SUBDIR)/gold && \
15816 $(MAKE) $(FLAGS_TO_PASS) check)
15818 @endif gold
15820 .PHONY: install-gold maybe-install-gold
15821 maybe-install-gold:
15822 @if gold
15823 maybe-install-gold: install-gold
15825 install-gold: installdirs
15826 @: $(MAKE); $(unstage)
15827 @r=`${PWD_COMMAND}`; export r; \
15828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15829 $(HOST_EXPORTS) \
15830 (cd $(HOST_SUBDIR)/gold && \
15831 $(MAKE) $(FLAGS_TO_PASS) install)
15833 @endif gold
15835 .PHONY: install-strip-gold maybe-install-strip-gold
15836 maybe-install-strip-gold:
15837 @if gold
15838 maybe-install-strip-gold: install-strip-gold
15840 install-strip-gold: installdirs
15841 @: $(MAKE); $(unstage)
15842 @r=`${PWD_COMMAND}`; export r; \
15843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15844 $(HOST_EXPORTS) \
15845 (cd $(HOST_SUBDIR)/gold && \
15846 $(MAKE) $(FLAGS_TO_PASS) install-strip)
15848 @endif gold
15850 # Other targets (info, dvi, pdf, etc.)
15852 .PHONY: maybe-info-gold info-gold
15853 maybe-info-gold:
15854 @if gold
15855 maybe-info-gold: info-gold
15857 info-gold: \
15858 configure-gold
15859 @[ -f ./gold/Makefile ] || exit 0; \
15860 r=`${PWD_COMMAND}`; export r; \
15861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15862 $(HOST_EXPORTS) \
15863 for flag in $(EXTRA_HOST_FLAGS) ; do \
15864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15865 done; \
15866 echo "Doing info in gold" ; \
15867 (cd $(HOST_SUBDIR)/gold && \
15868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15870 "RANLIB=$${RANLIB}" \
15871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15872 info) \
15873 || exit 1
15875 @endif gold
15877 .PHONY: maybe-dvi-gold dvi-gold
15878 maybe-dvi-gold:
15879 @if gold
15880 maybe-dvi-gold: dvi-gold
15882 dvi-gold: \
15883 configure-gold
15884 @[ -f ./gold/Makefile ] || exit 0; \
15885 r=`${PWD_COMMAND}`; export r; \
15886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15887 $(HOST_EXPORTS) \
15888 for flag in $(EXTRA_HOST_FLAGS) ; do \
15889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15890 done; \
15891 echo "Doing dvi in gold" ; \
15892 (cd $(HOST_SUBDIR)/gold && \
15893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15895 "RANLIB=$${RANLIB}" \
15896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15897 dvi) \
15898 || exit 1
15900 @endif gold
15902 .PHONY: maybe-pdf-gold pdf-gold
15903 maybe-pdf-gold:
15904 @if gold
15905 maybe-pdf-gold: pdf-gold
15907 pdf-gold: \
15908 configure-gold
15909 @[ -f ./gold/Makefile ] || exit 0; \
15910 r=`${PWD_COMMAND}`; export r; \
15911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15912 $(HOST_EXPORTS) \
15913 for flag in $(EXTRA_HOST_FLAGS) ; do \
15914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15915 done; \
15916 echo "Doing pdf in gold" ; \
15917 (cd $(HOST_SUBDIR)/gold && \
15918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15920 "RANLIB=$${RANLIB}" \
15921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15922 pdf) \
15923 || exit 1
15925 @endif gold
15927 .PHONY: maybe-html-gold html-gold
15928 maybe-html-gold:
15929 @if gold
15930 maybe-html-gold: html-gold
15932 html-gold: \
15933 configure-gold
15934 @[ -f ./gold/Makefile ] || exit 0; \
15935 r=`${PWD_COMMAND}`; export r; \
15936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15937 $(HOST_EXPORTS) \
15938 for flag in $(EXTRA_HOST_FLAGS) ; do \
15939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15940 done; \
15941 echo "Doing html in gold" ; \
15942 (cd $(HOST_SUBDIR)/gold && \
15943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15945 "RANLIB=$${RANLIB}" \
15946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15947 html) \
15948 || exit 1
15950 @endif gold
15952 .PHONY: maybe-TAGS-gold TAGS-gold
15953 maybe-TAGS-gold:
15954 @if gold
15955 maybe-TAGS-gold: TAGS-gold
15957 TAGS-gold: \
15958 configure-gold
15959 @[ -f ./gold/Makefile ] || exit 0; \
15960 r=`${PWD_COMMAND}`; export r; \
15961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15962 $(HOST_EXPORTS) \
15963 for flag in $(EXTRA_HOST_FLAGS) ; do \
15964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15965 done; \
15966 echo "Doing TAGS in gold" ; \
15967 (cd $(HOST_SUBDIR)/gold && \
15968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15970 "RANLIB=$${RANLIB}" \
15971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15972 TAGS) \
15973 || exit 1
15975 @endif gold
15977 .PHONY: maybe-install-info-gold install-info-gold
15978 maybe-install-info-gold:
15979 @if gold
15980 maybe-install-info-gold: install-info-gold
15982 install-info-gold: \
15983 configure-gold \
15984 info-gold
15985 @[ -f ./gold/Makefile ] || exit 0; \
15986 r=`${PWD_COMMAND}`; export r; \
15987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15988 $(HOST_EXPORTS) \
15989 for flag in $(EXTRA_HOST_FLAGS) ; do \
15990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15991 done; \
15992 echo "Doing install-info in gold" ; \
15993 (cd $(HOST_SUBDIR)/gold && \
15994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15996 "RANLIB=$${RANLIB}" \
15997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15998 install-info) \
15999 || exit 1
16001 @endif gold
16003 .PHONY: maybe-install-pdf-gold install-pdf-gold
16004 maybe-install-pdf-gold:
16005 @if gold
16006 maybe-install-pdf-gold: install-pdf-gold
16008 install-pdf-gold: \
16009 configure-gold \
16010 pdf-gold
16011 @[ -f ./gold/Makefile ] || exit 0; \
16012 r=`${PWD_COMMAND}`; export r; \
16013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16014 $(HOST_EXPORTS) \
16015 for flag in $(EXTRA_HOST_FLAGS) ; do \
16016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16017 done; \
16018 echo "Doing install-pdf in gold" ; \
16019 (cd $(HOST_SUBDIR)/gold && \
16020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16022 "RANLIB=$${RANLIB}" \
16023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16024 install-pdf) \
16025 || exit 1
16027 @endif gold
16029 .PHONY: maybe-install-html-gold install-html-gold
16030 maybe-install-html-gold:
16031 @if gold
16032 maybe-install-html-gold: install-html-gold
16034 install-html-gold: \
16035 configure-gold \
16036 html-gold
16037 @[ -f ./gold/Makefile ] || exit 0; \
16038 r=`${PWD_COMMAND}`; export r; \
16039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16040 $(HOST_EXPORTS) \
16041 for flag in $(EXTRA_HOST_FLAGS) ; do \
16042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16043 done; \
16044 echo "Doing install-html in gold" ; \
16045 (cd $(HOST_SUBDIR)/gold && \
16046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16048 "RANLIB=$${RANLIB}" \
16049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16050 install-html) \
16051 || exit 1
16053 @endif gold
16055 .PHONY: maybe-installcheck-gold installcheck-gold
16056 maybe-installcheck-gold:
16057 @if gold
16058 maybe-installcheck-gold: installcheck-gold
16060 installcheck-gold: \
16061 configure-gold
16062 @[ -f ./gold/Makefile ] || exit 0; \
16063 r=`${PWD_COMMAND}`; export r; \
16064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16065 $(HOST_EXPORTS) \
16066 for flag in $(EXTRA_HOST_FLAGS) ; do \
16067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16068 done; \
16069 echo "Doing installcheck in gold" ; \
16070 (cd $(HOST_SUBDIR)/gold && \
16071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16073 "RANLIB=$${RANLIB}" \
16074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16075 installcheck) \
16076 || exit 1
16078 @endif gold
16080 .PHONY: maybe-mostlyclean-gold mostlyclean-gold
16081 maybe-mostlyclean-gold:
16082 @if gold
16083 maybe-mostlyclean-gold: mostlyclean-gold
16085 mostlyclean-gold:
16086 @[ -f ./gold/Makefile ] || exit 0; \
16087 r=`${PWD_COMMAND}`; export r; \
16088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16089 $(HOST_EXPORTS) \
16090 for flag in $(EXTRA_HOST_FLAGS) ; do \
16091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16092 done; \
16093 echo "Doing mostlyclean in gold" ; \
16094 (cd $(HOST_SUBDIR)/gold && \
16095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16097 "RANLIB=$${RANLIB}" \
16098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16099 mostlyclean) \
16100 || exit 1
16102 @endif gold
16104 .PHONY: maybe-clean-gold clean-gold
16105 maybe-clean-gold:
16106 @if gold
16107 maybe-clean-gold: clean-gold
16109 clean-gold:
16110 @[ -f ./gold/Makefile ] || exit 0; \
16111 r=`${PWD_COMMAND}`; export r; \
16112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16113 $(HOST_EXPORTS) \
16114 for flag in $(EXTRA_HOST_FLAGS) ; do \
16115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16116 done; \
16117 echo "Doing clean in gold" ; \
16118 (cd $(HOST_SUBDIR)/gold && \
16119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16121 "RANLIB=$${RANLIB}" \
16122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16123 clean) \
16124 || exit 1
16126 @endif gold
16128 .PHONY: maybe-distclean-gold distclean-gold
16129 maybe-distclean-gold:
16130 @if gold
16131 maybe-distclean-gold: distclean-gold
16133 distclean-gold:
16134 @[ -f ./gold/Makefile ] || exit 0; \
16135 r=`${PWD_COMMAND}`; export r; \
16136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16137 $(HOST_EXPORTS) \
16138 for flag in $(EXTRA_HOST_FLAGS) ; do \
16139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16140 done; \
16141 echo "Doing distclean in gold" ; \
16142 (cd $(HOST_SUBDIR)/gold && \
16143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16145 "RANLIB=$${RANLIB}" \
16146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16147 distclean) \
16148 || exit 1
16150 @endif gold
16152 .PHONY: maybe-maintainer-clean-gold maintainer-clean-gold
16153 maybe-maintainer-clean-gold:
16154 @if gold
16155 maybe-maintainer-clean-gold: maintainer-clean-gold
16157 maintainer-clean-gold:
16158 @[ -f ./gold/Makefile ] || exit 0; \
16159 r=`${PWD_COMMAND}`; export r; \
16160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16161 $(HOST_EXPORTS) \
16162 for flag in $(EXTRA_HOST_FLAGS) ; do \
16163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16164 done; \
16165 echo "Doing maintainer-clean in gold" ; \
16166 (cd $(HOST_SUBDIR)/gold && \
16167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16169 "RANLIB=$${RANLIB}" \
16170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16171 maintainer-clean) \
16172 || exit 1
16174 @endif gold
16178 .PHONY: configure-gprof maybe-configure-gprof
16179 maybe-configure-gprof:
16180 @if gcc-bootstrap
16181 configure-gprof: stage_current
16182 @endif gcc-bootstrap
16183 @if gprof
16184 maybe-configure-gprof: configure-gprof
16185 configure-gprof:
16186 @: $(MAKE); $(unstage)
16187 @r=`${PWD_COMMAND}`; export r; \
16188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16189 test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
16190 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof ; \
16191 $(HOST_EXPORTS) \
16192 echo Configuring in $(HOST_SUBDIR)/gprof; \
16193 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
16194 case $(srcdir) in \
16195 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16196 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
16197 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16198 esac; \
16199 module_srcdir=gprof; \
16200 $(SHELL) \
16201 $$s/$$module_srcdir/configure \
16202 --srcdir=$${topdir}/$$module_srcdir \
16203 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16204 --target=${target_alias} \
16205 || exit 1
16206 @endif gprof
16212 .PHONY: all-gprof maybe-all-gprof
16213 maybe-all-gprof:
16214 @if gcc-bootstrap
16215 all-gprof: stage_current
16216 @endif gcc-bootstrap
16217 @if gprof
16218 TARGET-gprof=all
16219 maybe-all-gprof: all-gprof
16220 all-gprof: configure-gprof
16221 @: $(MAKE); $(unstage)
16222 @r=`${PWD_COMMAND}`; export r; \
16223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16224 $(HOST_EXPORTS) \
16225 (cd $(HOST_SUBDIR)/gprof && \
16226 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
16227 $(TARGET-gprof))
16228 @endif gprof
16233 .PHONY: check-gprof maybe-check-gprof
16234 maybe-check-gprof:
16235 @if gprof
16236 maybe-check-gprof: check-gprof
16238 check-gprof:
16239 @: $(MAKE); $(unstage)
16240 @r=`${PWD_COMMAND}`; export r; \
16241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16242 $(HOST_EXPORTS) \
16243 (cd $(HOST_SUBDIR)/gprof && \
16244 $(MAKE) $(FLAGS_TO_PASS) check)
16246 @endif gprof
16248 .PHONY: install-gprof maybe-install-gprof
16249 maybe-install-gprof:
16250 @if gprof
16251 maybe-install-gprof: install-gprof
16253 install-gprof: installdirs
16254 @: $(MAKE); $(unstage)
16255 @r=`${PWD_COMMAND}`; export r; \
16256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16257 $(HOST_EXPORTS) \
16258 (cd $(HOST_SUBDIR)/gprof && \
16259 $(MAKE) $(FLAGS_TO_PASS) install)
16261 @endif gprof
16263 .PHONY: install-strip-gprof maybe-install-strip-gprof
16264 maybe-install-strip-gprof:
16265 @if gprof
16266 maybe-install-strip-gprof: install-strip-gprof
16268 install-strip-gprof: installdirs
16269 @: $(MAKE); $(unstage)
16270 @r=`${PWD_COMMAND}`; export r; \
16271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16272 $(HOST_EXPORTS) \
16273 (cd $(HOST_SUBDIR)/gprof && \
16274 $(MAKE) $(FLAGS_TO_PASS) install-strip)
16276 @endif gprof
16278 # Other targets (info, dvi, pdf, etc.)
16280 .PHONY: maybe-info-gprof info-gprof
16281 maybe-info-gprof:
16282 @if gprof
16283 maybe-info-gprof: info-gprof
16285 info-gprof: \
16286 configure-gprof
16287 @: $(MAKE); $(unstage)
16288 @[ -f ./gprof/Makefile ] || exit 0; \
16289 r=`${PWD_COMMAND}`; export r; \
16290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16291 $(HOST_EXPORTS) \
16292 for flag in $(EXTRA_HOST_FLAGS) ; do \
16293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16294 done; \
16295 echo "Doing info in gprof" ; \
16296 (cd $(HOST_SUBDIR)/gprof && \
16297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16299 "RANLIB=$${RANLIB}" \
16300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16301 info) \
16302 || exit 1
16304 @endif gprof
16306 .PHONY: maybe-dvi-gprof dvi-gprof
16307 maybe-dvi-gprof:
16308 @if gprof
16309 maybe-dvi-gprof: dvi-gprof
16311 dvi-gprof: \
16312 configure-gprof
16313 @: $(MAKE); $(unstage)
16314 @[ -f ./gprof/Makefile ] || exit 0; \
16315 r=`${PWD_COMMAND}`; export r; \
16316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16317 $(HOST_EXPORTS) \
16318 for flag in $(EXTRA_HOST_FLAGS) ; do \
16319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16320 done; \
16321 echo "Doing dvi in gprof" ; \
16322 (cd $(HOST_SUBDIR)/gprof && \
16323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16325 "RANLIB=$${RANLIB}" \
16326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16327 dvi) \
16328 || exit 1
16330 @endif gprof
16332 .PHONY: maybe-pdf-gprof pdf-gprof
16333 maybe-pdf-gprof:
16334 @if gprof
16335 maybe-pdf-gprof: pdf-gprof
16337 pdf-gprof: \
16338 configure-gprof
16339 @: $(MAKE); $(unstage)
16340 @[ -f ./gprof/Makefile ] || exit 0; \
16341 r=`${PWD_COMMAND}`; export r; \
16342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16343 $(HOST_EXPORTS) \
16344 for flag in $(EXTRA_HOST_FLAGS) ; do \
16345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16346 done; \
16347 echo "Doing pdf in gprof" ; \
16348 (cd $(HOST_SUBDIR)/gprof && \
16349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16351 "RANLIB=$${RANLIB}" \
16352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16353 pdf) \
16354 || exit 1
16356 @endif gprof
16358 .PHONY: maybe-html-gprof html-gprof
16359 maybe-html-gprof:
16360 @if gprof
16361 maybe-html-gprof: html-gprof
16363 html-gprof: \
16364 configure-gprof
16365 @: $(MAKE); $(unstage)
16366 @[ -f ./gprof/Makefile ] || exit 0; \
16367 r=`${PWD_COMMAND}`; export r; \
16368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16369 $(HOST_EXPORTS) \
16370 for flag in $(EXTRA_HOST_FLAGS) ; do \
16371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16372 done; \
16373 echo "Doing html in gprof" ; \
16374 (cd $(HOST_SUBDIR)/gprof && \
16375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16377 "RANLIB=$${RANLIB}" \
16378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16379 html) \
16380 || exit 1
16382 @endif gprof
16384 .PHONY: maybe-TAGS-gprof TAGS-gprof
16385 maybe-TAGS-gprof:
16386 @if gprof
16387 maybe-TAGS-gprof: TAGS-gprof
16389 TAGS-gprof: \
16390 configure-gprof
16391 @: $(MAKE); $(unstage)
16392 @[ -f ./gprof/Makefile ] || exit 0; \
16393 r=`${PWD_COMMAND}`; export r; \
16394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16395 $(HOST_EXPORTS) \
16396 for flag in $(EXTRA_HOST_FLAGS) ; do \
16397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16398 done; \
16399 echo "Doing TAGS in gprof" ; \
16400 (cd $(HOST_SUBDIR)/gprof && \
16401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16403 "RANLIB=$${RANLIB}" \
16404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16405 TAGS) \
16406 || exit 1
16408 @endif gprof
16410 .PHONY: maybe-install-info-gprof install-info-gprof
16411 maybe-install-info-gprof:
16412 @if gprof
16413 maybe-install-info-gprof: install-info-gprof
16415 install-info-gprof: \
16416 configure-gprof \
16417 info-gprof
16418 @: $(MAKE); $(unstage)
16419 @[ -f ./gprof/Makefile ] || exit 0; \
16420 r=`${PWD_COMMAND}`; export r; \
16421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16422 $(HOST_EXPORTS) \
16423 for flag in $(EXTRA_HOST_FLAGS) ; do \
16424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16425 done; \
16426 echo "Doing install-info in gprof" ; \
16427 (cd $(HOST_SUBDIR)/gprof && \
16428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16430 "RANLIB=$${RANLIB}" \
16431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16432 install-info) \
16433 || exit 1
16435 @endif gprof
16437 .PHONY: maybe-install-pdf-gprof install-pdf-gprof
16438 maybe-install-pdf-gprof:
16439 @if gprof
16440 maybe-install-pdf-gprof: install-pdf-gprof
16442 install-pdf-gprof: \
16443 configure-gprof \
16444 pdf-gprof
16445 @: $(MAKE); $(unstage)
16446 @[ -f ./gprof/Makefile ] || exit 0; \
16447 r=`${PWD_COMMAND}`; export r; \
16448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16449 $(HOST_EXPORTS) \
16450 for flag in $(EXTRA_HOST_FLAGS) ; do \
16451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16452 done; \
16453 echo "Doing install-pdf in gprof" ; \
16454 (cd $(HOST_SUBDIR)/gprof && \
16455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16457 "RANLIB=$${RANLIB}" \
16458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16459 install-pdf) \
16460 || exit 1
16462 @endif gprof
16464 .PHONY: maybe-install-html-gprof install-html-gprof
16465 maybe-install-html-gprof:
16466 @if gprof
16467 maybe-install-html-gprof: install-html-gprof
16469 install-html-gprof: \
16470 configure-gprof \
16471 html-gprof
16472 @: $(MAKE); $(unstage)
16473 @[ -f ./gprof/Makefile ] || exit 0; \
16474 r=`${PWD_COMMAND}`; export r; \
16475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16476 $(HOST_EXPORTS) \
16477 for flag in $(EXTRA_HOST_FLAGS) ; do \
16478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16479 done; \
16480 echo "Doing install-html in gprof" ; \
16481 (cd $(HOST_SUBDIR)/gprof && \
16482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16484 "RANLIB=$${RANLIB}" \
16485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16486 install-html) \
16487 || exit 1
16489 @endif gprof
16491 .PHONY: maybe-installcheck-gprof installcheck-gprof
16492 maybe-installcheck-gprof:
16493 @if gprof
16494 maybe-installcheck-gprof: installcheck-gprof
16496 installcheck-gprof: \
16497 configure-gprof
16498 @: $(MAKE); $(unstage)
16499 @[ -f ./gprof/Makefile ] || exit 0; \
16500 r=`${PWD_COMMAND}`; export r; \
16501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16502 $(HOST_EXPORTS) \
16503 for flag in $(EXTRA_HOST_FLAGS) ; do \
16504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16505 done; \
16506 echo "Doing installcheck in gprof" ; \
16507 (cd $(HOST_SUBDIR)/gprof && \
16508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16510 "RANLIB=$${RANLIB}" \
16511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16512 installcheck) \
16513 || exit 1
16515 @endif gprof
16517 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
16518 maybe-mostlyclean-gprof:
16519 @if gprof
16520 maybe-mostlyclean-gprof: mostlyclean-gprof
16522 mostlyclean-gprof:
16523 @: $(MAKE); $(unstage)
16524 @[ -f ./gprof/Makefile ] || exit 0; \
16525 r=`${PWD_COMMAND}`; export r; \
16526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16527 $(HOST_EXPORTS) \
16528 for flag in $(EXTRA_HOST_FLAGS) ; do \
16529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16530 done; \
16531 echo "Doing mostlyclean in gprof" ; \
16532 (cd $(HOST_SUBDIR)/gprof && \
16533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16535 "RANLIB=$${RANLIB}" \
16536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16537 mostlyclean) \
16538 || exit 1
16540 @endif gprof
16542 .PHONY: maybe-clean-gprof clean-gprof
16543 maybe-clean-gprof:
16544 @if gprof
16545 maybe-clean-gprof: clean-gprof
16547 clean-gprof:
16548 @: $(MAKE); $(unstage)
16549 @[ -f ./gprof/Makefile ] || exit 0; \
16550 r=`${PWD_COMMAND}`; export r; \
16551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16552 $(HOST_EXPORTS) \
16553 for flag in $(EXTRA_HOST_FLAGS) ; do \
16554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16555 done; \
16556 echo "Doing clean in gprof" ; \
16557 (cd $(HOST_SUBDIR)/gprof && \
16558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16560 "RANLIB=$${RANLIB}" \
16561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16562 clean) \
16563 || exit 1
16565 @endif gprof
16567 .PHONY: maybe-distclean-gprof distclean-gprof
16568 maybe-distclean-gprof:
16569 @if gprof
16570 maybe-distclean-gprof: distclean-gprof
16572 distclean-gprof:
16573 @: $(MAKE); $(unstage)
16574 @[ -f ./gprof/Makefile ] || exit 0; \
16575 r=`${PWD_COMMAND}`; export r; \
16576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16577 $(HOST_EXPORTS) \
16578 for flag in $(EXTRA_HOST_FLAGS) ; do \
16579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16580 done; \
16581 echo "Doing distclean in gprof" ; \
16582 (cd $(HOST_SUBDIR)/gprof && \
16583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16585 "RANLIB=$${RANLIB}" \
16586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16587 distclean) \
16588 || exit 1
16590 @endif gprof
16592 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
16593 maybe-maintainer-clean-gprof:
16594 @if gprof
16595 maybe-maintainer-clean-gprof: maintainer-clean-gprof
16597 maintainer-clean-gprof:
16598 @: $(MAKE); $(unstage)
16599 @[ -f ./gprof/Makefile ] || exit 0; \
16600 r=`${PWD_COMMAND}`; export r; \
16601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16602 $(HOST_EXPORTS) \
16603 for flag in $(EXTRA_HOST_FLAGS) ; do \
16604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16605 done; \
16606 echo "Doing maintainer-clean in gprof" ; \
16607 (cd $(HOST_SUBDIR)/gprof && \
16608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16610 "RANLIB=$${RANLIB}" \
16611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16612 maintainer-clean) \
16613 || exit 1
16615 @endif gprof
16619 .PHONY: configure-intl maybe-configure-intl
16620 maybe-configure-intl:
16621 @if gcc-bootstrap
16622 configure-intl: stage_current
16623 @endif gcc-bootstrap
16624 @if intl
16625 maybe-configure-intl: configure-intl
16626 configure-intl:
16627 @r=`${PWD_COMMAND}`; export r; \
16628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16629 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16630 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16631 $(HOST_EXPORTS) \
16632 echo Configuring in $(HOST_SUBDIR)/intl; \
16633 cd "$(HOST_SUBDIR)/intl" || exit 1; \
16634 case $(srcdir) in \
16635 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16636 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16637 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16638 esac; \
16639 module_srcdir=intl; \
16640 $(SHELL) \
16641 $$s/$$module_srcdir/configure \
16642 --srcdir=$${topdir}/$$module_srcdir \
16643 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16644 --target=${target_alias} \
16645 || exit 1
16646 @endif intl
16650 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
16651 maybe-configure-stage1-intl:
16652 @if intl-bootstrap
16653 maybe-configure-stage1-intl: configure-stage1-intl
16654 configure-stage1-intl:
16655 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16656 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16657 @r=`${PWD_COMMAND}`; export r; \
16658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16659 TFLAGS="$(STAGE1_TFLAGS)"; \
16660 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16661 $(HOST_EXPORTS) \
16662 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
16663 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
16664 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
16665 echo Configuring stage 1 in $(HOST_SUBDIR)/intl ; \
16666 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16667 cd $(HOST_SUBDIR)/intl || exit 1; \
16668 case $(srcdir) in \
16669 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16670 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16671 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16672 esac; \
16673 module_srcdir=intl; \
16674 $(SHELL) $$s/$$module_srcdir/configure \
16675 --srcdir=$${topdir}/$$module_srcdir \
16676 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16677 --target=${target_alias} \
16679 $(STAGE1_CONFIGURE_FLAGS)
16680 @endif intl-bootstrap
16682 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
16683 maybe-configure-stage2-intl:
16684 @if intl-bootstrap
16685 maybe-configure-stage2-intl: configure-stage2-intl
16686 configure-stage2-intl:
16687 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16688 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16689 @r=`${PWD_COMMAND}`; export r; \
16690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16691 TFLAGS="$(STAGE2_TFLAGS)"; \
16692 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16693 $(HOST_EXPORTS) \
16694 $(POSTSTAGE1_HOST_EXPORTS) \
16695 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
16696 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
16697 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
16698 echo Configuring stage 2 in $(HOST_SUBDIR)/intl ; \
16699 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16700 cd $(HOST_SUBDIR)/intl || exit 1; \
16701 case $(srcdir) in \
16702 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16703 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16704 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16705 esac; \
16706 module_srcdir=intl; \
16707 $(SHELL) $$s/$$module_srcdir/configure \
16708 --srcdir=$${topdir}/$$module_srcdir \
16709 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16710 --target=${target_alias} \
16711 --with-build-libsubdir=$(HOST_SUBDIR) \
16712 $(STAGE2_CONFIGURE_FLAGS)
16713 @endif intl-bootstrap
16715 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
16716 maybe-configure-stage3-intl:
16717 @if intl-bootstrap
16718 maybe-configure-stage3-intl: configure-stage3-intl
16719 configure-stage3-intl:
16720 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16721 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16722 @r=`${PWD_COMMAND}`; export r; \
16723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16724 TFLAGS="$(STAGE3_TFLAGS)"; \
16725 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16726 $(HOST_EXPORTS) \
16727 $(POSTSTAGE1_HOST_EXPORTS) \
16728 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
16729 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
16730 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
16731 echo Configuring stage 3 in $(HOST_SUBDIR)/intl ; \
16732 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16733 cd $(HOST_SUBDIR)/intl || exit 1; \
16734 case $(srcdir) in \
16735 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16736 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16737 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16738 esac; \
16739 module_srcdir=intl; \
16740 $(SHELL) $$s/$$module_srcdir/configure \
16741 --srcdir=$${topdir}/$$module_srcdir \
16742 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16743 --target=${target_alias} \
16744 --with-build-libsubdir=$(HOST_SUBDIR) \
16745 $(STAGE3_CONFIGURE_FLAGS)
16746 @endif intl-bootstrap
16748 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
16749 maybe-configure-stage4-intl:
16750 @if intl-bootstrap
16751 maybe-configure-stage4-intl: configure-stage4-intl
16752 configure-stage4-intl:
16753 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16754 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16755 @r=`${PWD_COMMAND}`; export r; \
16756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16757 TFLAGS="$(STAGE4_TFLAGS)"; \
16758 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16759 $(HOST_EXPORTS) \
16760 $(POSTSTAGE1_HOST_EXPORTS) \
16761 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
16762 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
16763 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
16764 echo Configuring stage 4 in $(HOST_SUBDIR)/intl ; \
16765 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16766 cd $(HOST_SUBDIR)/intl || exit 1; \
16767 case $(srcdir) in \
16768 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16769 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16770 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16771 esac; \
16772 module_srcdir=intl; \
16773 $(SHELL) $$s/$$module_srcdir/configure \
16774 --srcdir=$${topdir}/$$module_srcdir \
16775 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16776 --target=${target_alias} \
16777 --with-build-libsubdir=$(HOST_SUBDIR) \
16778 $(STAGE4_CONFIGURE_FLAGS)
16779 @endif intl-bootstrap
16781 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
16782 maybe-configure-stageprofile-intl:
16783 @if intl-bootstrap
16784 maybe-configure-stageprofile-intl: configure-stageprofile-intl
16785 configure-stageprofile-intl:
16786 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16787 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16788 @r=`${PWD_COMMAND}`; export r; \
16789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16790 TFLAGS="$(STAGEprofile_TFLAGS)"; \
16791 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16792 $(HOST_EXPORTS) \
16793 $(POSTSTAGE1_HOST_EXPORTS) \
16794 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
16795 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
16796 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
16797 echo Configuring stage profile in $(HOST_SUBDIR)/intl ; \
16798 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16799 cd $(HOST_SUBDIR)/intl || exit 1; \
16800 case $(srcdir) in \
16801 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16802 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16803 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16804 esac; \
16805 module_srcdir=intl; \
16806 $(SHELL) $$s/$$module_srcdir/configure \
16807 --srcdir=$${topdir}/$$module_srcdir \
16808 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16809 --target=${target_alias} \
16810 --with-build-libsubdir=$(HOST_SUBDIR) \
16811 $(STAGEprofile_CONFIGURE_FLAGS)
16812 @endif intl-bootstrap
16814 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
16815 maybe-configure-stagefeedback-intl:
16816 @if intl-bootstrap
16817 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
16818 configure-stagefeedback-intl:
16819 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16820 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16821 @r=`${PWD_COMMAND}`; export r; \
16822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16823 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
16824 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16825 $(HOST_EXPORTS) \
16826 $(POSTSTAGE1_HOST_EXPORTS) \
16827 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
16828 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
16829 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
16830 echo Configuring stage feedback in $(HOST_SUBDIR)/intl ; \
16831 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16832 cd $(HOST_SUBDIR)/intl || exit 1; \
16833 case $(srcdir) in \
16834 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16835 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16836 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16837 esac; \
16838 module_srcdir=intl; \
16839 $(SHELL) $$s/$$module_srcdir/configure \
16840 --srcdir=$${topdir}/$$module_srcdir \
16841 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16842 --target=${target_alias} \
16843 --with-build-libsubdir=$(HOST_SUBDIR) \
16844 $(STAGEfeedback_CONFIGURE_FLAGS)
16845 @endif intl-bootstrap
16851 .PHONY: all-intl maybe-all-intl
16852 maybe-all-intl:
16853 @if gcc-bootstrap
16854 all-intl: stage_current
16855 @endif gcc-bootstrap
16856 @if intl
16857 TARGET-intl=all
16858 maybe-all-intl: all-intl
16859 all-intl: configure-intl
16860 @r=`${PWD_COMMAND}`; export r; \
16861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16862 $(HOST_EXPORTS) \
16863 (cd $(HOST_SUBDIR)/intl && \
16864 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
16865 $(TARGET-intl))
16866 @endif intl
16870 .PHONY: all-stage1-intl maybe-all-stage1-intl
16871 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
16872 maybe-all-stage1-intl:
16873 maybe-clean-stage1-intl:
16874 @if intl-bootstrap
16875 maybe-all-stage1-intl: all-stage1-intl
16876 all-stage1: all-stage1-intl
16877 TARGET-stage1-intl = $(TARGET-intl)
16878 all-stage1-intl: configure-stage1-intl
16879 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16880 @r=`${PWD_COMMAND}`; export r; \
16881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16882 TFLAGS="$(STAGE1_TFLAGS)"; \
16883 $(HOST_EXPORTS) \
16884 cd $(HOST_SUBDIR)/intl && \
16885 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16886 CFLAGS="$(STAGE1_CFLAGS)" \
16887 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
16888 LIBCFLAGS="$(LIBCFLAGS)" \
16889 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16890 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16891 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16892 $(EXTRA_HOST_FLAGS) \
16893 $(STAGE1_FLAGS_TO_PASS) \
16894 TFLAGS="$(STAGE1_TFLAGS)" \
16895 $(TARGET-stage1-intl)
16897 maybe-clean-stage1-intl: clean-stage1-intl
16898 clean-stage1: clean-stage1-intl
16899 clean-stage1-intl:
16900 @if [ $(current_stage) = stage1 ]; then \
16901 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
16902 else \
16903 [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] || exit 0; \
16904 $(MAKE) stage1-start; \
16905 fi; \
16906 cd $(HOST_SUBDIR)/intl && \
16907 $(MAKE) $(EXTRA_HOST_FLAGS) \
16908 $(STAGE1_FLAGS_TO_PASS) clean
16909 @endif intl-bootstrap
16912 .PHONY: all-stage2-intl maybe-all-stage2-intl
16913 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
16914 maybe-all-stage2-intl:
16915 maybe-clean-stage2-intl:
16916 @if intl-bootstrap
16917 maybe-all-stage2-intl: all-stage2-intl
16918 all-stage2: all-stage2-intl
16919 TARGET-stage2-intl = $(TARGET-intl)
16920 all-stage2-intl: configure-stage2-intl
16921 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16922 @r=`${PWD_COMMAND}`; export r; \
16923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16924 TFLAGS="$(STAGE2_TFLAGS)"; \
16925 $(HOST_EXPORTS) \
16926 $(POSTSTAGE1_HOST_EXPORTS) \
16927 cd $(HOST_SUBDIR)/intl && \
16928 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16929 CFLAGS="$(STAGE2_CFLAGS)" \
16930 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
16931 LIBCFLAGS="$(STAGE2_CFLAGS)" \
16932 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16933 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16934 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16935 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16936 TFLAGS="$(STAGE2_TFLAGS)" \
16937 $(TARGET-stage2-intl)
16939 maybe-clean-stage2-intl: clean-stage2-intl
16940 clean-stage2: clean-stage2-intl
16941 clean-stage2-intl:
16942 @if [ $(current_stage) = stage2 ]; then \
16943 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
16944 else \
16945 [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] || exit 0; \
16946 $(MAKE) stage2-start; \
16947 fi; \
16948 cd $(HOST_SUBDIR)/intl && \
16949 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
16950 @endif intl-bootstrap
16953 .PHONY: all-stage3-intl maybe-all-stage3-intl
16954 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
16955 maybe-all-stage3-intl:
16956 maybe-clean-stage3-intl:
16957 @if intl-bootstrap
16958 maybe-all-stage3-intl: all-stage3-intl
16959 all-stage3: all-stage3-intl
16960 TARGET-stage3-intl = $(TARGET-intl)
16961 all-stage3-intl: configure-stage3-intl
16962 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16963 @r=`${PWD_COMMAND}`; export r; \
16964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16965 TFLAGS="$(STAGE3_TFLAGS)"; \
16966 $(HOST_EXPORTS) \
16967 $(POSTSTAGE1_HOST_EXPORTS) \
16968 cd $(HOST_SUBDIR)/intl && \
16969 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16970 CFLAGS="$(STAGE3_CFLAGS)" \
16971 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
16972 LIBCFLAGS="$(STAGE3_CFLAGS)" \
16973 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16974 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16975 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16976 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16977 TFLAGS="$(STAGE3_TFLAGS)" \
16978 $(TARGET-stage3-intl)
16980 maybe-clean-stage3-intl: clean-stage3-intl
16981 clean-stage3: clean-stage3-intl
16982 clean-stage3-intl:
16983 @if [ $(current_stage) = stage3 ]; then \
16984 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
16985 else \
16986 [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] || exit 0; \
16987 $(MAKE) stage3-start; \
16988 fi; \
16989 cd $(HOST_SUBDIR)/intl && \
16990 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
16991 @endif intl-bootstrap
16994 .PHONY: all-stage4-intl maybe-all-stage4-intl
16995 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
16996 maybe-all-stage4-intl:
16997 maybe-clean-stage4-intl:
16998 @if intl-bootstrap
16999 maybe-all-stage4-intl: all-stage4-intl
17000 all-stage4: all-stage4-intl
17001 TARGET-stage4-intl = $(TARGET-intl)
17002 all-stage4-intl: configure-stage4-intl
17003 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17004 @r=`${PWD_COMMAND}`; export r; \
17005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17006 TFLAGS="$(STAGE4_TFLAGS)"; \
17007 $(HOST_EXPORTS) \
17008 $(POSTSTAGE1_HOST_EXPORTS) \
17009 cd $(HOST_SUBDIR)/intl && \
17010 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17011 CFLAGS="$(STAGE4_CFLAGS)" \
17012 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
17013 LIBCFLAGS="$(STAGE4_CFLAGS)" \
17014 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17015 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17016 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17017 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17018 TFLAGS="$(STAGE4_TFLAGS)" \
17019 $(TARGET-stage4-intl)
17021 maybe-clean-stage4-intl: clean-stage4-intl
17022 clean-stage4: clean-stage4-intl
17023 clean-stage4-intl:
17024 @if [ $(current_stage) = stage4 ]; then \
17025 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17026 else \
17027 [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] || exit 0; \
17028 $(MAKE) stage4-start; \
17029 fi; \
17030 cd $(HOST_SUBDIR)/intl && \
17031 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17032 @endif intl-bootstrap
17035 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
17036 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
17037 maybe-all-stageprofile-intl:
17038 maybe-clean-stageprofile-intl:
17039 @if intl-bootstrap
17040 maybe-all-stageprofile-intl: all-stageprofile-intl
17041 all-stageprofile: all-stageprofile-intl
17042 TARGET-stageprofile-intl = $(TARGET-intl)
17043 all-stageprofile-intl: configure-stageprofile-intl
17044 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17045 @r=`${PWD_COMMAND}`; export r; \
17046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17047 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17048 $(HOST_EXPORTS) \
17049 $(POSTSTAGE1_HOST_EXPORTS) \
17050 cd $(HOST_SUBDIR)/intl && \
17051 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17052 CFLAGS="$(STAGEprofile_CFLAGS)" \
17053 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
17054 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
17055 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17056 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17057 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17058 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17059 TFLAGS="$(STAGEprofile_TFLAGS)" \
17060 $(TARGET-stageprofile-intl)
17062 maybe-clean-stageprofile-intl: clean-stageprofile-intl
17063 clean-stageprofile: clean-stageprofile-intl
17064 clean-stageprofile-intl:
17065 @if [ $(current_stage) = stageprofile ]; then \
17066 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17067 else \
17068 [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] || exit 0; \
17069 $(MAKE) stageprofile-start; \
17070 fi; \
17071 cd $(HOST_SUBDIR)/intl && \
17072 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17073 @endif intl-bootstrap
17076 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
17077 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
17078 maybe-all-stagefeedback-intl:
17079 maybe-clean-stagefeedback-intl:
17080 @if intl-bootstrap
17081 maybe-all-stagefeedback-intl: all-stagefeedback-intl
17082 all-stagefeedback: all-stagefeedback-intl
17083 TARGET-stagefeedback-intl = $(TARGET-intl)
17084 all-stagefeedback-intl: configure-stagefeedback-intl
17085 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17086 @r=`${PWD_COMMAND}`; export r; \
17087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17088 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17089 $(HOST_EXPORTS) \
17090 $(POSTSTAGE1_HOST_EXPORTS) \
17091 cd $(HOST_SUBDIR)/intl && \
17092 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17093 CFLAGS="$(STAGEfeedback_CFLAGS)" \
17094 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
17095 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
17096 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17097 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17098 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17099 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17100 TFLAGS="$(STAGEfeedback_TFLAGS)" \
17101 $(TARGET-stagefeedback-intl)
17103 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
17104 clean-stagefeedback: clean-stagefeedback-intl
17105 clean-stagefeedback-intl:
17106 @if [ $(current_stage) = stagefeedback ]; then \
17107 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17108 else \
17109 [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] || exit 0; \
17110 $(MAKE) stagefeedback-start; \
17111 fi; \
17112 cd $(HOST_SUBDIR)/intl && \
17113 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17114 @endif intl-bootstrap
17120 .PHONY: check-intl maybe-check-intl
17121 maybe-check-intl:
17122 @if intl
17123 maybe-check-intl: check-intl
17125 check-intl:
17126 @: $(MAKE); $(unstage)
17127 @r=`${PWD_COMMAND}`; export r; \
17128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17129 $(HOST_EXPORTS) \
17130 (cd $(HOST_SUBDIR)/intl && \
17131 $(MAKE) $(FLAGS_TO_PASS) check)
17133 @endif intl
17135 .PHONY: install-intl maybe-install-intl
17136 maybe-install-intl:
17137 @if intl
17138 maybe-install-intl: install-intl
17140 install-intl: installdirs
17141 @: $(MAKE); $(unstage)
17142 @r=`${PWD_COMMAND}`; export r; \
17143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17144 $(HOST_EXPORTS) \
17145 (cd $(HOST_SUBDIR)/intl && \
17146 $(MAKE) $(FLAGS_TO_PASS) install)
17148 @endif intl
17150 .PHONY: install-strip-intl maybe-install-strip-intl
17151 maybe-install-strip-intl:
17152 @if intl
17153 maybe-install-strip-intl: install-strip-intl
17155 install-strip-intl: installdirs
17156 @: $(MAKE); $(unstage)
17157 @r=`${PWD_COMMAND}`; export r; \
17158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17159 $(HOST_EXPORTS) \
17160 (cd $(HOST_SUBDIR)/intl && \
17161 $(MAKE) $(FLAGS_TO_PASS) install-strip)
17163 @endif intl
17165 # Other targets (info, dvi, pdf, etc.)
17167 .PHONY: maybe-info-intl info-intl
17168 maybe-info-intl:
17169 @if intl
17170 maybe-info-intl: info-intl
17172 info-intl: \
17173 configure-intl
17174 @[ -f ./intl/Makefile ] || exit 0; \
17175 r=`${PWD_COMMAND}`; export r; \
17176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17177 $(HOST_EXPORTS) \
17178 for flag in $(EXTRA_HOST_FLAGS) ; do \
17179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17180 done; \
17181 echo "Doing info in intl" ; \
17182 (cd $(HOST_SUBDIR)/intl && \
17183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17185 "RANLIB=$${RANLIB}" \
17186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17187 info) \
17188 || exit 1
17190 @endif intl
17192 .PHONY: maybe-dvi-intl dvi-intl
17193 maybe-dvi-intl:
17194 @if intl
17195 maybe-dvi-intl: dvi-intl
17197 dvi-intl: \
17198 configure-intl
17199 @[ -f ./intl/Makefile ] || exit 0; \
17200 r=`${PWD_COMMAND}`; export r; \
17201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17202 $(HOST_EXPORTS) \
17203 for flag in $(EXTRA_HOST_FLAGS) ; do \
17204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17205 done; \
17206 echo "Doing dvi in intl" ; \
17207 (cd $(HOST_SUBDIR)/intl && \
17208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17210 "RANLIB=$${RANLIB}" \
17211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17212 dvi) \
17213 || exit 1
17215 @endif intl
17217 .PHONY: maybe-pdf-intl pdf-intl
17218 maybe-pdf-intl:
17219 @if intl
17220 maybe-pdf-intl: pdf-intl
17222 pdf-intl: \
17223 configure-intl
17224 @[ -f ./intl/Makefile ] || exit 0; \
17225 r=`${PWD_COMMAND}`; export r; \
17226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17227 $(HOST_EXPORTS) \
17228 for flag in $(EXTRA_HOST_FLAGS) ; do \
17229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17230 done; \
17231 echo "Doing pdf in intl" ; \
17232 (cd $(HOST_SUBDIR)/intl && \
17233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17235 "RANLIB=$${RANLIB}" \
17236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17237 pdf) \
17238 || exit 1
17240 @endif intl
17242 .PHONY: maybe-html-intl html-intl
17243 maybe-html-intl:
17244 @if intl
17245 maybe-html-intl: html-intl
17247 html-intl: \
17248 configure-intl
17249 @[ -f ./intl/Makefile ] || exit 0; \
17250 r=`${PWD_COMMAND}`; export r; \
17251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17252 $(HOST_EXPORTS) \
17253 for flag in $(EXTRA_HOST_FLAGS) ; do \
17254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17255 done; \
17256 echo "Doing html in intl" ; \
17257 (cd $(HOST_SUBDIR)/intl && \
17258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17260 "RANLIB=$${RANLIB}" \
17261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17262 html) \
17263 || exit 1
17265 @endif intl
17267 .PHONY: maybe-TAGS-intl TAGS-intl
17268 maybe-TAGS-intl:
17269 @if intl
17270 maybe-TAGS-intl: TAGS-intl
17272 TAGS-intl: \
17273 configure-intl
17274 @[ -f ./intl/Makefile ] || exit 0; \
17275 r=`${PWD_COMMAND}`; export r; \
17276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17277 $(HOST_EXPORTS) \
17278 for flag in $(EXTRA_HOST_FLAGS) ; do \
17279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17280 done; \
17281 echo "Doing TAGS in intl" ; \
17282 (cd $(HOST_SUBDIR)/intl && \
17283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17285 "RANLIB=$${RANLIB}" \
17286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17287 TAGS) \
17288 || exit 1
17290 @endif intl
17292 .PHONY: maybe-install-info-intl install-info-intl
17293 maybe-install-info-intl:
17294 @if intl
17295 maybe-install-info-intl: install-info-intl
17297 install-info-intl: \
17298 configure-intl \
17299 info-intl
17300 @[ -f ./intl/Makefile ] || exit 0; \
17301 r=`${PWD_COMMAND}`; export r; \
17302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17303 $(HOST_EXPORTS) \
17304 for flag in $(EXTRA_HOST_FLAGS) ; do \
17305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17306 done; \
17307 echo "Doing install-info in intl" ; \
17308 (cd $(HOST_SUBDIR)/intl && \
17309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17311 "RANLIB=$${RANLIB}" \
17312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17313 install-info) \
17314 || exit 1
17316 @endif intl
17318 .PHONY: maybe-install-pdf-intl install-pdf-intl
17319 maybe-install-pdf-intl:
17320 @if intl
17321 maybe-install-pdf-intl: install-pdf-intl
17323 install-pdf-intl: \
17324 configure-intl \
17325 pdf-intl
17326 @[ -f ./intl/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 install-pdf in intl" ; \
17334 (cd $(HOST_SUBDIR)/intl && \
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 install-pdf) \
17340 || exit 1
17342 @endif intl
17344 .PHONY: maybe-install-html-intl install-html-intl
17345 maybe-install-html-intl:
17346 @if intl
17347 maybe-install-html-intl: install-html-intl
17349 install-html-intl: \
17350 configure-intl \
17351 html-intl
17352 @[ -f ./intl/Makefile ] || exit 0; \
17353 r=`${PWD_COMMAND}`; export r; \
17354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17355 $(HOST_EXPORTS) \
17356 for flag in $(EXTRA_HOST_FLAGS) ; do \
17357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17358 done; \
17359 echo "Doing install-html in intl" ; \
17360 (cd $(HOST_SUBDIR)/intl && \
17361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17363 "RANLIB=$${RANLIB}" \
17364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17365 install-html) \
17366 || exit 1
17368 @endif intl
17370 .PHONY: maybe-installcheck-intl installcheck-intl
17371 maybe-installcheck-intl:
17372 @if intl
17373 maybe-installcheck-intl: installcheck-intl
17375 installcheck-intl: \
17376 configure-intl
17377 @[ -f ./intl/Makefile ] || exit 0; \
17378 r=`${PWD_COMMAND}`; export r; \
17379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17380 $(HOST_EXPORTS) \
17381 for flag in $(EXTRA_HOST_FLAGS) ; do \
17382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17383 done; \
17384 echo "Doing installcheck in intl" ; \
17385 (cd $(HOST_SUBDIR)/intl && \
17386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17388 "RANLIB=$${RANLIB}" \
17389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17390 installcheck) \
17391 || exit 1
17393 @endif intl
17395 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
17396 maybe-mostlyclean-intl:
17397 @if intl
17398 maybe-mostlyclean-intl: mostlyclean-intl
17400 mostlyclean-intl:
17401 @[ -f ./intl/Makefile ] || exit 0; \
17402 r=`${PWD_COMMAND}`; export r; \
17403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17404 $(HOST_EXPORTS) \
17405 for flag in $(EXTRA_HOST_FLAGS) ; do \
17406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17407 done; \
17408 echo "Doing mostlyclean in intl" ; \
17409 (cd $(HOST_SUBDIR)/intl && \
17410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17412 "RANLIB=$${RANLIB}" \
17413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17414 mostlyclean) \
17415 || exit 1
17417 @endif intl
17419 .PHONY: maybe-clean-intl clean-intl
17420 maybe-clean-intl:
17421 @if intl
17422 maybe-clean-intl: clean-intl
17424 clean-intl:
17425 @[ -f ./intl/Makefile ] || exit 0; \
17426 r=`${PWD_COMMAND}`; export r; \
17427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17428 $(HOST_EXPORTS) \
17429 for flag in $(EXTRA_HOST_FLAGS) ; do \
17430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17431 done; \
17432 echo "Doing clean in intl" ; \
17433 (cd $(HOST_SUBDIR)/intl && \
17434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17436 "RANLIB=$${RANLIB}" \
17437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17438 clean) \
17439 || exit 1
17441 @endif intl
17443 .PHONY: maybe-distclean-intl distclean-intl
17444 maybe-distclean-intl:
17445 @if intl
17446 maybe-distclean-intl: distclean-intl
17448 distclean-intl:
17449 @[ -f ./intl/Makefile ] || exit 0; \
17450 r=`${PWD_COMMAND}`; export r; \
17451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17452 $(HOST_EXPORTS) \
17453 for flag in $(EXTRA_HOST_FLAGS) ; do \
17454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17455 done; \
17456 echo "Doing distclean in intl" ; \
17457 (cd $(HOST_SUBDIR)/intl && \
17458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17460 "RANLIB=$${RANLIB}" \
17461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17462 distclean) \
17463 || exit 1
17465 @endif intl
17467 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
17468 maybe-maintainer-clean-intl:
17469 @if intl
17470 maybe-maintainer-clean-intl: maintainer-clean-intl
17472 maintainer-clean-intl:
17473 @[ -f ./intl/Makefile ] || exit 0; \
17474 r=`${PWD_COMMAND}`; export r; \
17475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17476 $(HOST_EXPORTS) \
17477 for flag in $(EXTRA_HOST_FLAGS) ; do \
17478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17479 done; \
17480 echo "Doing maintainer-clean in intl" ; \
17481 (cd $(HOST_SUBDIR)/intl && \
17482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17484 "RANLIB=$${RANLIB}" \
17485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17486 maintainer-clean) \
17487 || exit 1
17489 @endif intl
17493 .PHONY: configure-tcl maybe-configure-tcl
17494 maybe-configure-tcl:
17495 @if gcc-bootstrap
17496 configure-tcl: stage_current
17497 @endif gcc-bootstrap
17498 @if tcl
17499 maybe-configure-tcl: configure-tcl
17500 configure-tcl:
17501 @: $(MAKE); $(unstage)
17502 @r=`${PWD_COMMAND}`; export r; \
17503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17504 test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
17505 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl ; \
17506 $(HOST_EXPORTS) \
17507 echo Configuring in $(HOST_SUBDIR)/tcl; \
17508 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
17509 case $(srcdir) in \
17510 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17511 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
17512 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17513 esac; \
17514 module_srcdir=tcl; \
17515 $(SHELL) \
17516 $$s/$$module_srcdir/configure \
17517 --srcdir=$${topdir}/$$module_srcdir \
17518 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17519 --target=${target_alias} \
17520 || exit 1
17521 @endif tcl
17527 .PHONY: all-tcl maybe-all-tcl
17528 maybe-all-tcl:
17529 @if gcc-bootstrap
17530 all-tcl: stage_current
17531 @endif gcc-bootstrap
17532 @if tcl
17533 TARGET-tcl=all
17534 maybe-all-tcl: all-tcl
17535 all-tcl: configure-tcl
17536 @: $(MAKE); $(unstage)
17537 @r=`${PWD_COMMAND}`; export r; \
17538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17539 $(HOST_EXPORTS) \
17540 (cd $(HOST_SUBDIR)/tcl && \
17541 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
17542 $(TARGET-tcl))
17543 @endif tcl
17548 .PHONY: check-tcl maybe-check-tcl
17549 maybe-check-tcl:
17550 @if tcl
17551 maybe-check-tcl: check-tcl
17553 check-tcl:
17554 @: $(MAKE); $(unstage)
17555 @r=`${PWD_COMMAND}`; export r; \
17556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17557 $(HOST_EXPORTS) \
17558 (cd $(HOST_SUBDIR)/tcl && \
17559 $(MAKE) $(FLAGS_TO_PASS) check)
17561 @endif tcl
17563 .PHONY: install-tcl maybe-install-tcl
17564 maybe-install-tcl:
17565 @if tcl
17566 maybe-install-tcl: install-tcl
17568 install-tcl: installdirs
17569 @: $(MAKE); $(unstage)
17570 @r=`${PWD_COMMAND}`; export r; \
17571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17572 $(HOST_EXPORTS) \
17573 (cd $(HOST_SUBDIR)/tcl && \
17574 $(MAKE) $(FLAGS_TO_PASS) install)
17576 @endif tcl
17578 .PHONY: install-strip-tcl maybe-install-strip-tcl
17579 maybe-install-strip-tcl:
17580 @if tcl
17581 maybe-install-strip-tcl: install-strip-tcl
17583 install-strip-tcl: installdirs
17584 @: $(MAKE); $(unstage)
17585 @r=`${PWD_COMMAND}`; export r; \
17586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17587 $(HOST_EXPORTS) \
17588 (cd $(HOST_SUBDIR)/tcl && \
17589 $(MAKE) $(FLAGS_TO_PASS) install-strip)
17591 @endif tcl
17593 # Other targets (info, dvi, pdf, etc.)
17595 .PHONY: maybe-info-tcl info-tcl
17596 maybe-info-tcl:
17597 @if tcl
17598 maybe-info-tcl: info-tcl
17600 info-tcl: \
17601 configure-tcl
17602 @: $(MAKE); $(unstage)
17603 @[ -f ./tcl/Makefile ] || exit 0; \
17604 r=`${PWD_COMMAND}`; export r; \
17605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17606 $(HOST_EXPORTS) \
17607 for flag in $(EXTRA_HOST_FLAGS) ; do \
17608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17609 done; \
17610 echo "Doing info in tcl" ; \
17611 (cd $(HOST_SUBDIR)/tcl && \
17612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17614 "RANLIB=$${RANLIB}" \
17615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17616 info) \
17617 || exit 1
17619 @endif tcl
17621 .PHONY: maybe-dvi-tcl dvi-tcl
17622 maybe-dvi-tcl:
17623 @if tcl
17624 maybe-dvi-tcl: dvi-tcl
17626 dvi-tcl: \
17627 configure-tcl
17628 @: $(MAKE); $(unstage)
17629 @[ -f ./tcl/Makefile ] || exit 0; \
17630 r=`${PWD_COMMAND}`; export r; \
17631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17632 $(HOST_EXPORTS) \
17633 for flag in $(EXTRA_HOST_FLAGS) ; do \
17634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17635 done; \
17636 echo "Doing dvi in tcl" ; \
17637 (cd $(HOST_SUBDIR)/tcl && \
17638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17640 "RANLIB=$${RANLIB}" \
17641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17642 dvi) \
17643 || exit 1
17645 @endif tcl
17647 .PHONY: maybe-pdf-tcl pdf-tcl
17648 maybe-pdf-tcl:
17649 @if tcl
17650 maybe-pdf-tcl: pdf-tcl
17652 pdf-tcl: \
17653 configure-tcl
17654 @: $(MAKE); $(unstage)
17655 @[ -f ./tcl/Makefile ] || exit 0; \
17656 r=`${PWD_COMMAND}`; export r; \
17657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17658 $(HOST_EXPORTS) \
17659 for flag in $(EXTRA_HOST_FLAGS) ; do \
17660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17661 done; \
17662 echo "Doing pdf in tcl" ; \
17663 (cd $(HOST_SUBDIR)/tcl && \
17664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17666 "RANLIB=$${RANLIB}" \
17667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17668 pdf) \
17669 || exit 1
17671 @endif tcl
17673 .PHONY: maybe-html-tcl html-tcl
17674 maybe-html-tcl:
17675 @if tcl
17676 maybe-html-tcl: html-tcl
17678 html-tcl: \
17679 configure-tcl
17680 @: $(MAKE); $(unstage)
17681 @[ -f ./tcl/Makefile ] || exit 0; \
17682 r=`${PWD_COMMAND}`; export r; \
17683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17684 $(HOST_EXPORTS) \
17685 for flag in $(EXTRA_HOST_FLAGS) ; do \
17686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17687 done; \
17688 echo "Doing html in tcl" ; \
17689 (cd $(HOST_SUBDIR)/tcl && \
17690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17692 "RANLIB=$${RANLIB}" \
17693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17694 html) \
17695 || exit 1
17697 @endif tcl
17699 .PHONY: maybe-TAGS-tcl TAGS-tcl
17700 maybe-TAGS-tcl:
17701 @if tcl
17702 maybe-TAGS-tcl: TAGS-tcl
17704 TAGS-tcl: \
17705 configure-tcl
17706 @: $(MAKE); $(unstage)
17707 @[ -f ./tcl/Makefile ] || exit 0; \
17708 r=`${PWD_COMMAND}`; export r; \
17709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17710 $(HOST_EXPORTS) \
17711 for flag in $(EXTRA_HOST_FLAGS) ; do \
17712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17713 done; \
17714 echo "Doing TAGS in tcl" ; \
17715 (cd $(HOST_SUBDIR)/tcl && \
17716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17718 "RANLIB=$${RANLIB}" \
17719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17720 TAGS) \
17721 || exit 1
17723 @endif tcl
17725 .PHONY: maybe-install-info-tcl install-info-tcl
17726 maybe-install-info-tcl:
17727 @if tcl
17728 maybe-install-info-tcl: install-info-tcl
17730 install-info-tcl: \
17731 configure-tcl \
17732 info-tcl
17733 @: $(MAKE); $(unstage)
17734 @[ -f ./tcl/Makefile ] || exit 0; \
17735 r=`${PWD_COMMAND}`; export r; \
17736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17737 $(HOST_EXPORTS) \
17738 for flag in $(EXTRA_HOST_FLAGS) ; do \
17739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17740 done; \
17741 echo "Doing install-info in tcl" ; \
17742 (cd $(HOST_SUBDIR)/tcl && \
17743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17745 "RANLIB=$${RANLIB}" \
17746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17747 install-info) \
17748 || exit 1
17750 @endif tcl
17752 .PHONY: maybe-install-pdf-tcl install-pdf-tcl
17753 maybe-install-pdf-tcl:
17754 @if tcl
17755 maybe-install-pdf-tcl: install-pdf-tcl
17757 install-pdf-tcl: \
17758 configure-tcl \
17759 pdf-tcl
17760 @: $(MAKE); $(unstage)
17761 @[ -f ./tcl/Makefile ] || exit 0; \
17762 r=`${PWD_COMMAND}`; export r; \
17763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17764 $(HOST_EXPORTS) \
17765 for flag in $(EXTRA_HOST_FLAGS) ; do \
17766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17767 done; \
17768 echo "Doing install-pdf in tcl" ; \
17769 (cd $(HOST_SUBDIR)/tcl && \
17770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17772 "RANLIB=$${RANLIB}" \
17773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17774 install-pdf) \
17775 || exit 1
17777 @endif tcl
17779 .PHONY: maybe-install-html-tcl install-html-tcl
17780 maybe-install-html-tcl:
17781 @if tcl
17782 maybe-install-html-tcl: install-html-tcl
17784 install-html-tcl: \
17785 configure-tcl \
17786 html-tcl
17787 @: $(MAKE); $(unstage)
17788 @[ -f ./tcl/Makefile ] || exit 0; \
17789 r=`${PWD_COMMAND}`; export r; \
17790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17791 $(HOST_EXPORTS) \
17792 for flag in $(EXTRA_HOST_FLAGS) ; do \
17793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17794 done; \
17795 echo "Doing install-html in tcl" ; \
17796 (cd $(HOST_SUBDIR)/tcl && \
17797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17799 "RANLIB=$${RANLIB}" \
17800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17801 install-html) \
17802 || exit 1
17804 @endif tcl
17806 .PHONY: maybe-installcheck-tcl installcheck-tcl
17807 maybe-installcheck-tcl:
17808 @if tcl
17809 maybe-installcheck-tcl: installcheck-tcl
17811 installcheck-tcl: \
17812 configure-tcl
17813 @: $(MAKE); $(unstage)
17814 @[ -f ./tcl/Makefile ] || exit 0; \
17815 r=`${PWD_COMMAND}`; export r; \
17816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17817 $(HOST_EXPORTS) \
17818 for flag in $(EXTRA_HOST_FLAGS) ; do \
17819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17820 done; \
17821 echo "Doing installcheck in tcl" ; \
17822 (cd $(HOST_SUBDIR)/tcl && \
17823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17825 "RANLIB=$${RANLIB}" \
17826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17827 installcheck) \
17828 || exit 1
17830 @endif tcl
17832 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
17833 maybe-mostlyclean-tcl:
17834 @if tcl
17835 maybe-mostlyclean-tcl: mostlyclean-tcl
17837 # tcl doesn't support mostlyclean.
17838 mostlyclean-tcl:
17840 @endif tcl
17842 .PHONY: maybe-clean-tcl clean-tcl
17843 maybe-clean-tcl:
17844 @if tcl
17845 maybe-clean-tcl: clean-tcl
17847 clean-tcl:
17848 @: $(MAKE); $(unstage)
17849 @[ -f ./tcl/Makefile ] || exit 0; \
17850 r=`${PWD_COMMAND}`; export r; \
17851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17852 $(HOST_EXPORTS) \
17853 for flag in $(EXTRA_HOST_FLAGS) ; do \
17854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17855 done; \
17856 echo "Doing clean in tcl" ; \
17857 (cd $(HOST_SUBDIR)/tcl && \
17858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17860 "RANLIB=$${RANLIB}" \
17861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17862 clean) \
17863 || exit 1
17865 @endif tcl
17867 .PHONY: maybe-distclean-tcl distclean-tcl
17868 maybe-distclean-tcl:
17869 @if tcl
17870 maybe-distclean-tcl: distclean-tcl
17872 distclean-tcl:
17873 @: $(MAKE); $(unstage)
17874 @[ -f ./tcl/Makefile ] || exit 0; \
17875 r=`${PWD_COMMAND}`; export r; \
17876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17877 $(HOST_EXPORTS) \
17878 for flag in $(EXTRA_HOST_FLAGS) ; do \
17879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17880 done; \
17881 echo "Doing distclean in tcl" ; \
17882 (cd $(HOST_SUBDIR)/tcl && \
17883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17885 "RANLIB=$${RANLIB}" \
17886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17887 distclean) \
17888 || exit 1
17890 @endif tcl
17892 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
17893 maybe-maintainer-clean-tcl:
17894 @if tcl
17895 maybe-maintainer-clean-tcl: maintainer-clean-tcl
17897 maintainer-clean-tcl:
17898 @: $(MAKE); $(unstage)
17899 @[ -f ./tcl/Makefile ] || exit 0; \
17900 r=`${PWD_COMMAND}`; export r; \
17901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17902 $(HOST_EXPORTS) \
17903 for flag in $(EXTRA_HOST_FLAGS) ; do \
17904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17905 done; \
17906 echo "Doing maintainer-clean in tcl" ; \
17907 (cd $(HOST_SUBDIR)/tcl && \
17908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17910 "RANLIB=$${RANLIB}" \
17911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17912 maintainer-clean) \
17913 || exit 1
17915 @endif tcl
17919 .PHONY: configure-itcl maybe-configure-itcl
17920 maybe-configure-itcl:
17921 @if gcc-bootstrap
17922 configure-itcl: stage_current
17923 @endif gcc-bootstrap
17924 @if itcl
17925 maybe-configure-itcl: configure-itcl
17926 configure-itcl:
17927 @: $(MAKE); $(unstage)
17928 @r=`${PWD_COMMAND}`; export r; \
17929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17930 test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
17931 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl ; \
17932 $(HOST_EXPORTS) \
17933 echo Configuring in $(HOST_SUBDIR)/itcl; \
17934 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
17935 case $(srcdir) in \
17936 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17937 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
17938 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17939 esac; \
17940 module_srcdir=itcl; \
17941 $(SHELL) \
17942 $$s/$$module_srcdir/configure \
17943 --srcdir=$${topdir}/$$module_srcdir \
17944 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17945 --target=${target_alias} \
17946 || exit 1
17947 @endif itcl
17953 .PHONY: all-itcl maybe-all-itcl
17954 maybe-all-itcl:
17955 @if gcc-bootstrap
17956 all-itcl: stage_current
17957 @endif gcc-bootstrap
17958 @if itcl
17959 TARGET-itcl=all
17960 maybe-all-itcl: all-itcl
17961 all-itcl: configure-itcl
17962 @: $(MAKE); $(unstage)
17963 @r=`${PWD_COMMAND}`; export r; \
17964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17965 $(HOST_EXPORTS) \
17966 (cd $(HOST_SUBDIR)/itcl && \
17967 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
17968 $(TARGET-itcl))
17969 @endif itcl
17974 .PHONY: check-itcl maybe-check-itcl
17975 maybe-check-itcl:
17976 @if itcl
17977 maybe-check-itcl: check-itcl
17979 check-itcl:
17980 @: $(MAKE); $(unstage)
17981 @r=`${PWD_COMMAND}`; export r; \
17982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17983 $(HOST_EXPORTS) \
17984 (cd $(HOST_SUBDIR)/itcl && \
17985 $(MAKE) $(FLAGS_TO_PASS) check)
17987 @endif itcl
17989 .PHONY: install-itcl maybe-install-itcl
17990 maybe-install-itcl:
17991 @if itcl
17992 maybe-install-itcl: install-itcl
17994 install-itcl: installdirs
17995 @: $(MAKE); $(unstage)
17996 @r=`${PWD_COMMAND}`; export r; \
17997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17998 $(HOST_EXPORTS) \
17999 (cd $(HOST_SUBDIR)/itcl && \
18000 $(MAKE) $(FLAGS_TO_PASS) install)
18002 @endif itcl
18004 .PHONY: install-strip-itcl maybe-install-strip-itcl
18005 maybe-install-strip-itcl:
18006 @if itcl
18007 maybe-install-strip-itcl: install-strip-itcl
18009 install-strip-itcl: installdirs
18010 @: $(MAKE); $(unstage)
18011 @r=`${PWD_COMMAND}`; export r; \
18012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18013 $(HOST_EXPORTS) \
18014 (cd $(HOST_SUBDIR)/itcl && \
18015 $(MAKE) $(FLAGS_TO_PASS) install-strip)
18017 @endif itcl
18019 # Other targets (info, dvi, pdf, etc.)
18021 .PHONY: maybe-info-itcl info-itcl
18022 maybe-info-itcl:
18023 @if itcl
18024 maybe-info-itcl: info-itcl
18026 info-itcl: \
18027 configure-itcl
18028 @: $(MAKE); $(unstage)
18029 @[ -f ./itcl/Makefile ] || exit 0; \
18030 r=`${PWD_COMMAND}`; export r; \
18031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18032 $(HOST_EXPORTS) \
18033 for flag in $(EXTRA_HOST_FLAGS) ; do \
18034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18035 done; \
18036 echo "Doing info in itcl" ; \
18037 (cd $(HOST_SUBDIR)/itcl && \
18038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18040 "RANLIB=$${RANLIB}" \
18041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18042 info) \
18043 || exit 1
18045 @endif itcl
18047 .PHONY: maybe-dvi-itcl dvi-itcl
18048 maybe-dvi-itcl:
18049 @if itcl
18050 maybe-dvi-itcl: dvi-itcl
18052 dvi-itcl: \
18053 configure-itcl
18054 @: $(MAKE); $(unstage)
18055 @[ -f ./itcl/Makefile ] || exit 0; \
18056 r=`${PWD_COMMAND}`; export r; \
18057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18058 $(HOST_EXPORTS) \
18059 for flag in $(EXTRA_HOST_FLAGS) ; do \
18060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18061 done; \
18062 echo "Doing dvi in itcl" ; \
18063 (cd $(HOST_SUBDIR)/itcl && \
18064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18066 "RANLIB=$${RANLIB}" \
18067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18068 dvi) \
18069 || exit 1
18071 @endif itcl
18073 .PHONY: maybe-pdf-itcl pdf-itcl
18074 maybe-pdf-itcl:
18075 @if itcl
18076 maybe-pdf-itcl: pdf-itcl
18078 pdf-itcl: \
18079 configure-itcl
18080 @: $(MAKE); $(unstage)
18081 @[ -f ./itcl/Makefile ] || exit 0; \
18082 r=`${PWD_COMMAND}`; export r; \
18083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18084 $(HOST_EXPORTS) \
18085 for flag in $(EXTRA_HOST_FLAGS) ; do \
18086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18087 done; \
18088 echo "Doing pdf in itcl" ; \
18089 (cd $(HOST_SUBDIR)/itcl && \
18090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18092 "RANLIB=$${RANLIB}" \
18093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18094 pdf) \
18095 || exit 1
18097 @endif itcl
18099 .PHONY: maybe-html-itcl html-itcl
18100 maybe-html-itcl:
18101 @if itcl
18102 maybe-html-itcl: html-itcl
18104 html-itcl: \
18105 configure-itcl
18106 @: $(MAKE); $(unstage)
18107 @[ -f ./itcl/Makefile ] || exit 0; \
18108 r=`${PWD_COMMAND}`; export r; \
18109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18110 $(HOST_EXPORTS) \
18111 for flag in $(EXTRA_HOST_FLAGS) ; do \
18112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18113 done; \
18114 echo "Doing html in itcl" ; \
18115 (cd $(HOST_SUBDIR)/itcl && \
18116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18118 "RANLIB=$${RANLIB}" \
18119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18120 html) \
18121 || exit 1
18123 @endif itcl
18125 .PHONY: maybe-TAGS-itcl TAGS-itcl
18126 maybe-TAGS-itcl:
18127 @if itcl
18128 maybe-TAGS-itcl: TAGS-itcl
18130 TAGS-itcl: \
18131 configure-itcl
18132 @: $(MAKE); $(unstage)
18133 @[ -f ./itcl/Makefile ] || exit 0; \
18134 r=`${PWD_COMMAND}`; export r; \
18135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18136 $(HOST_EXPORTS) \
18137 for flag in $(EXTRA_HOST_FLAGS) ; do \
18138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18139 done; \
18140 echo "Doing TAGS in itcl" ; \
18141 (cd $(HOST_SUBDIR)/itcl && \
18142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18144 "RANLIB=$${RANLIB}" \
18145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18146 TAGS) \
18147 || exit 1
18149 @endif itcl
18151 .PHONY: maybe-install-info-itcl install-info-itcl
18152 maybe-install-info-itcl:
18153 @if itcl
18154 maybe-install-info-itcl: install-info-itcl
18156 install-info-itcl: \
18157 configure-itcl \
18158 info-itcl
18159 @: $(MAKE); $(unstage)
18160 @[ -f ./itcl/Makefile ] || exit 0; \
18161 r=`${PWD_COMMAND}`; export r; \
18162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18163 $(HOST_EXPORTS) \
18164 for flag in $(EXTRA_HOST_FLAGS) ; do \
18165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18166 done; \
18167 echo "Doing install-info in itcl" ; \
18168 (cd $(HOST_SUBDIR)/itcl && \
18169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18171 "RANLIB=$${RANLIB}" \
18172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18173 install-info) \
18174 || exit 1
18176 @endif itcl
18178 .PHONY: maybe-install-pdf-itcl install-pdf-itcl
18179 maybe-install-pdf-itcl:
18180 @if itcl
18181 maybe-install-pdf-itcl: install-pdf-itcl
18183 install-pdf-itcl: \
18184 configure-itcl \
18185 pdf-itcl
18186 @: $(MAKE); $(unstage)
18187 @[ -f ./itcl/Makefile ] || exit 0; \
18188 r=`${PWD_COMMAND}`; export r; \
18189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18190 $(HOST_EXPORTS) \
18191 for flag in $(EXTRA_HOST_FLAGS) ; do \
18192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18193 done; \
18194 echo "Doing install-pdf in itcl" ; \
18195 (cd $(HOST_SUBDIR)/itcl && \
18196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18198 "RANLIB=$${RANLIB}" \
18199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18200 install-pdf) \
18201 || exit 1
18203 @endif itcl
18205 .PHONY: maybe-install-html-itcl install-html-itcl
18206 maybe-install-html-itcl:
18207 @if itcl
18208 maybe-install-html-itcl: install-html-itcl
18210 install-html-itcl: \
18211 configure-itcl \
18212 html-itcl
18213 @: $(MAKE); $(unstage)
18214 @[ -f ./itcl/Makefile ] || exit 0; \
18215 r=`${PWD_COMMAND}`; export r; \
18216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18217 $(HOST_EXPORTS) \
18218 for flag in $(EXTRA_HOST_FLAGS) ; do \
18219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18220 done; \
18221 echo "Doing install-html in itcl" ; \
18222 (cd $(HOST_SUBDIR)/itcl && \
18223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18225 "RANLIB=$${RANLIB}" \
18226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18227 install-html) \
18228 || exit 1
18230 @endif itcl
18232 .PHONY: maybe-installcheck-itcl installcheck-itcl
18233 maybe-installcheck-itcl:
18234 @if itcl
18235 maybe-installcheck-itcl: installcheck-itcl
18237 installcheck-itcl: \
18238 configure-itcl
18239 @: $(MAKE); $(unstage)
18240 @[ -f ./itcl/Makefile ] || exit 0; \
18241 r=`${PWD_COMMAND}`; export r; \
18242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18243 $(HOST_EXPORTS) \
18244 for flag in $(EXTRA_HOST_FLAGS) ; do \
18245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18246 done; \
18247 echo "Doing installcheck in itcl" ; \
18248 (cd $(HOST_SUBDIR)/itcl && \
18249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18251 "RANLIB=$${RANLIB}" \
18252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18253 installcheck) \
18254 || exit 1
18256 @endif itcl
18258 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
18259 maybe-mostlyclean-itcl:
18260 @if itcl
18261 maybe-mostlyclean-itcl: mostlyclean-itcl
18263 mostlyclean-itcl:
18264 @: $(MAKE); $(unstage)
18265 @[ -f ./itcl/Makefile ] || exit 0; \
18266 r=`${PWD_COMMAND}`; export r; \
18267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18268 $(HOST_EXPORTS) \
18269 for flag in $(EXTRA_HOST_FLAGS) ; do \
18270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18271 done; \
18272 echo "Doing mostlyclean in itcl" ; \
18273 (cd $(HOST_SUBDIR)/itcl && \
18274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18276 "RANLIB=$${RANLIB}" \
18277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18278 mostlyclean) \
18279 || exit 1
18281 @endif itcl
18283 .PHONY: maybe-clean-itcl clean-itcl
18284 maybe-clean-itcl:
18285 @if itcl
18286 maybe-clean-itcl: clean-itcl
18288 clean-itcl:
18289 @: $(MAKE); $(unstage)
18290 @[ -f ./itcl/Makefile ] || exit 0; \
18291 r=`${PWD_COMMAND}`; export r; \
18292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18293 $(HOST_EXPORTS) \
18294 for flag in $(EXTRA_HOST_FLAGS) ; do \
18295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18296 done; \
18297 echo "Doing clean in itcl" ; \
18298 (cd $(HOST_SUBDIR)/itcl && \
18299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18301 "RANLIB=$${RANLIB}" \
18302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18303 clean) \
18304 || exit 1
18306 @endif itcl
18308 .PHONY: maybe-distclean-itcl distclean-itcl
18309 maybe-distclean-itcl:
18310 @if itcl
18311 maybe-distclean-itcl: distclean-itcl
18313 distclean-itcl:
18314 @: $(MAKE); $(unstage)
18315 @[ -f ./itcl/Makefile ] || exit 0; \
18316 r=`${PWD_COMMAND}`; export r; \
18317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18318 $(HOST_EXPORTS) \
18319 for flag in $(EXTRA_HOST_FLAGS) ; do \
18320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18321 done; \
18322 echo "Doing distclean in itcl" ; \
18323 (cd $(HOST_SUBDIR)/itcl && \
18324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18326 "RANLIB=$${RANLIB}" \
18327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18328 distclean) \
18329 || exit 1
18331 @endif itcl
18333 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
18334 maybe-maintainer-clean-itcl:
18335 @if itcl
18336 maybe-maintainer-clean-itcl: maintainer-clean-itcl
18338 maintainer-clean-itcl:
18339 @: $(MAKE); $(unstage)
18340 @[ -f ./itcl/Makefile ] || exit 0; \
18341 r=`${PWD_COMMAND}`; export r; \
18342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18343 $(HOST_EXPORTS) \
18344 for flag in $(EXTRA_HOST_FLAGS) ; do \
18345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18346 done; \
18347 echo "Doing maintainer-clean in itcl" ; \
18348 (cd $(HOST_SUBDIR)/itcl && \
18349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18351 "RANLIB=$${RANLIB}" \
18352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18353 maintainer-clean) \
18354 || exit 1
18356 @endif itcl
18360 .PHONY: configure-ld maybe-configure-ld
18361 maybe-configure-ld:
18362 @if gcc-bootstrap
18363 configure-ld: stage_current
18364 @endif gcc-bootstrap
18365 @if ld
18366 maybe-configure-ld: configure-ld
18367 configure-ld:
18368 @r=`${PWD_COMMAND}`; export r; \
18369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18370 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18371 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18372 $(HOST_EXPORTS) \
18373 echo Configuring in $(HOST_SUBDIR)/ld; \
18374 cd "$(HOST_SUBDIR)/ld" || exit 1; \
18375 case $(srcdir) in \
18376 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18377 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18378 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18379 esac; \
18380 module_srcdir=ld; \
18381 $(SHELL) \
18382 $$s/$$module_srcdir/configure \
18383 --srcdir=$${topdir}/$$module_srcdir \
18384 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18385 --target=${target_alias} \
18386 || exit 1
18387 @endif ld
18391 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
18392 maybe-configure-stage1-ld:
18393 @if ld-bootstrap
18394 maybe-configure-stage1-ld: configure-stage1-ld
18395 configure-stage1-ld:
18396 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18397 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18398 @r=`${PWD_COMMAND}`; export r; \
18399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18400 TFLAGS="$(STAGE1_TFLAGS)"; \
18401 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18402 $(HOST_EXPORTS) \
18403 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
18404 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
18405 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
18406 echo Configuring stage 1 in $(HOST_SUBDIR)/ld ; \
18407 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18408 cd $(HOST_SUBDIR)/ld || exit 1; \
18409 case $(srcdir) in \
18410 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18411 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18412 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18413 esac; \
18414 module_srcdir=ld; \
18415 $(SHELL) $$s/$$module_srcdir/configure \
18416 --srcdir=$${topdir}/$$module_srcdir \
18417 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18418 --target=${target_alias} \
18420 $(STAGE1_CONFIGURE_FLAGS)
18421 @endif ld-bootstrap
18423 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
18424 maybe-configure-stage2-ld:
18425 @if ld-bootstrap
18426 maybe-configure-stage2-ld: configure-stage2-ld
18427 configure-stage2-ld:
18428 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18429 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18430 @r=`${PWD_COMMAND}`; export r; \
18431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18432 TFLAGS="$(STAGE2_TFLAGS)"; \
18433 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18434 $(HOST_EXPORTS) \
18435 $(POSTSTAGE1_HOST_EXPORTS) \
18436 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
18437 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
18438 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
18439 echo Configuring stage 2 in $(HOST_SUBDIR)/ld ; \
18440 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18441 cd $(HOST_SUBDIR)/ld || exit 1; \
18442 case $(srcdir) in \
18443 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18444 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18445 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18446 esac; \
18447 module_srcdir=ld; \
18448 $(SHELL) $$s/$$module_srcdir/configure \
18449 --srcdir=$${topdir}/$$module_srcdir \
18450 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18451 --target=${target_alias} \
18452 --with-build-libsubdir=$(HOST_SUBDIR) \
18453 $(STAGE2_CONFIGURE_FLAGS)
18454 @endif ld-bootstrap
18456 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
18457 maybe-configure-stage3-ld:
18458 @if ld-bootstrap
18459 maybe-configure-stage3-ld: configure-stage3-ld
18460 configure-stage3-ld:
18461 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18462 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18463 @r=`${PWD_COMMAND}`; export r; \
18464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18465 TFLAGS="$(STAGE3_TFLAGS)"; \
18466 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18467 $(HOST_EXPORTS) \
18468 $(POSTSTAGE1_HOST_EXPORTS) \
18469 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
18470 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
18471 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
18472 echo Configuring stage 3 in $(HOST_SUBDIR)/ld ; \
18473 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18474 cd $(HOST_SUBDIR)/ld || exit 1; \
18475 case $(srcdir) in \
18476 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18477 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18478 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18479 esac; \
18480 module_srcdir=ld; \
18481 $(SHELL) $$s/$$module_srcdir/configure \
18482 --srcdir=$${topdir}/$$module_srcdir \
18483 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18484 --target=${target_alias} \
18485 --with-build-libsubdir=$(HOST_SUBDIR) \
18486 $(STAGE3_CONFIGURE_FLAGS)
18487 @endif ld-bootstrap
18489 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
18490 maybe-configure-stage4-ld:
18491 @if ld-bootstrap
18492 maybe-configure-stage4-ld: configure-stage4-ld
18493 configure-stage4-ld:
18494 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18495 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18496 @r=`${PWD_COMMAND}`; export r; \
18497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18498 TFLAGS="$(STAGE4_TFLAGS)"; \
18499 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18500 $(HOST_EXPORTS) \
18501 $(POSTSTAGE1_HOST_EXPORTS) \
18502 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
18503 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
18504 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
18505 echo Configuring stage 4 in $(HOST_SUBDIR)/ld ; \
18506 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18507 cd $(HOST_SUBDIR)/ld || exit 1; \
18508 case $(srcdir) in \
18509 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18510 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18511 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18512 esac; \
18513 module_srcdir=ld; \
18514 $(SHELL) $$s/$$module_srcdir/configure \
18515 --srcdir=$${topdir}/$$module_srcdir \
18516 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18517 --target=${target_alias} \
18518 --with-build-libsubdir=$(HOST_SUBDIR) \
18519 $(STAGE4_CONFIGURE_FLAGS)
18520 @endif ld-bootstrap
18522 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
18523 maybe-configure-stageprofile-ld:
18524 @if ld-bootstrap
18525 maybe-configure-stageprofile-ld: configure-stageprofile-ld
18526 configure-stageprofile-ld:
18527 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18528 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18529 @r=`${PWD_COMMAND}`; export r; \
18530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18531 TFLAGS="$(STAGEprofile_TFLAGS)"; \
18532 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18533 $(HOST_EXPORTS) \
18534 $(POSTSTAGE1_HOST_EXPORTS) \
18535 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
18536 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
18537 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
18538 echo Configuring stage profile in $(HOST_SUBDIR)/ld ; \
18539 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18540 cd $(HOST_SUBDIR)/ld || exit 1; \
18541 case $(srcdir) in \
18542 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18543 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18544 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18545 esac; \
18546 module_srcdir=ld; \
18547 $(SHELL) $$s/$$module_srcdir/configure \
18548 --srcdir=$${topdir}/$$module_srcdir \
18549 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18550 --target=${target_alias} \
18551 --with-build-libsubdir=$(HOST_SUBDIR) \
18552 $(STAGEprofile_CONFIGURE_FLAGS)
18553 @endif ld-bootstrap
18555 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
18556 maybe-configure-stagefeedback-ld:
18557 @if ld-bootstrap
18558 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
18559 configure-stagefeedback-ld:
18560 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18561 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18562 @r=`${PWD_COMMAND}`; export r; \
18563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18564 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
18565 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18566 $(HOST_EXPORTS) \
18567 $(POSTSTAGE1_HOST_EXPORTS) \
18568 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
18569 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
18570 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
18571 echo Configuring stage feedback in $(HOST_SUBDIR)/ld ; \
18572 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18573 cd $(HOST_SUBDIR)/ld || exit 1; \
18574 case $(srcdir) in \
18575 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18576 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18577 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18578 esac; \
18579 module_srcdir=ld; \
18580 $(SHELL) $$s/$$module_srcdir/configure \
18581 --srcdir=$${topdir}/$$module_srcdir \
18582 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18583 --target=${target_alias} \
18584 --with-build-libsubdir=$(HOST_SUBDIR) \
18585 $(STAGEfeedback_CONFIGURE_FLAGS)
18586 @endif ld-bootstrap
18592 .PHONY: all-ld maybe-all-ld
18593 maybe-all-ld:
18594 @if gcc-bootstrap
18595 all-ld: stage_current
18596 @endif gcc-bootstrap
18597 @if ld
18598 TARGET-ld=all
18599 maybe-all-ld: all-ld
18600 all-ld: configure-ld
18601 @r=`${PWD_COMMAND}`; export r; \
18602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18603 $(HOST_EXPORTS) \
18604 (cd $(HOST_SUBDIR)/ld && \
18605 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
18606 $(TARGET-ld))
18607 @endif ld
18611 .PHONY: all-stage1-ld maybe-all-stage1-ld
18612 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
18613 maybe-all-stage1-ld:
18614 maybe-clean-stage1-ld:
18615 @if ld-bootstrap
18616 maybe-all-stage1-ld: all-stage1-ld
18617 all-stage1: all-stage1-ld
18618 TARGET-stage1-ld = $(TARGET-ld)
18619 all-stage1-ld: configure-stage1-ld
18620 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18621 @r=`${PWD_COMMAND}`; export r; \
18622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18623 TFLAGS="$(STAGE1_TFLAGS)"; \
18624 $(HOST_EXPORTS) \
18625 cd $(HOST_SUBDIR)/ld && \
18626 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18627 CFLAGS="$(STAGE1_CFLAGS)" \
18628 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
18629 LIBCFLAGS="$(LIBCFLAGS)" \
18630 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18631 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18632 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18633 $(EXTRA_HOST_FLAGS) \
18634 $(STAGE1_FLAGS_TO_PASS) \
18635 TFLAGS="$(STAGE1_TFLAGS)" \
18636 $(TARGET-stage1-ld)
18638 maybe-clean-stage1-ld: clean-stage1-ld
18639 clean-stage1: clean-stage1-ld
18640 clean-stage1-ld:
18641 @if [ $(current_stage) = stage1 ]; then \
18642 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
18643 else \
18644 [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] || exit 0; \
18645 $(MAKE) stage1-start; \
18646 fi; \
18647 cd $(HOST_SUBDIR)/ld && \
18648 $(MAKE) $(EXTRA_HOST_FLAGS) \
18649 $(STAGE1_FLAGS_TO_PASS) clean
18650 @endif ld-bootstrap
18653 .PHONY: all-stage2-ld maybe-all-stage2-ld
18654 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
18655 maybe-all-stage2-ld:
18656 maybe-clean-stage2-ld:
18657 @if ld-bootstrap
18658 maybe-all-stage2-ld: all-stage2-ld
18659 all-stage2: all-stage2-ld
18660 TARGET-stage2-ld = $(TARGET-ld)
18661 all-stage2-ld: configure-stage2-ld
18662 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18663 @r=`${PWD_COMMAND}`; export r; \
18664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18665 TFLAGS="$(STAGE2_TFLAGS)"; \
18666 $(HOST_EXPORTS) \
18667 $(POSTSTAGE1_HOST_EXPORTS) \
18668 cd $(HOST_SUBDIR)/ld && \
18669 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18670 CFLAGS="$(STAGE2_CFLAGS)" \
18671 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
18672 LIBCFLAGS="$(STAGE2_CFLAGS)" \
18673 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18674 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18675 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18676 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18677 TFLAGS="$(STAGE2_TFLAGS)" \
18678 $(TARGET-stage2-ld)
18680 maybe-clean-stage2-ld: clean-stage2-ld
18681 clean-stage2: clean-stage2-ld
18682 clean-stage2-ld:
18683 @if [ $(current_stage) = stage2 ]; then \
18684 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
18685 else \
18686 [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] || exit 0; \
18687 $(MAKE) stage2-start; \
18688 fi; \
18689 cd $(HOST_SUBDIR)/ld && \
18690 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18691 @endif ld-bootstrap
18694 .PHONY: all-stage3-ld maybe-all-stage3-ld
18695 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
18696 maybe-all-stage3-ld:
18697 maybe-clean-stage3-ld:
18698 @if ld-bootstrap
18699 maybe-all-stage3-ld: all-stage3-ld
18700 all-stage3: all-stage3-ld
18701 TARGET-stage3-ld = $(TARGET-ld)
18702 all-stage3-ld: configure-stage3-ld
18703 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18704 @r=`${PWD_COMMAND}`; export r; \
18705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18706 TFLAGS="$(STAGE3_TFLAGS)"; \
18707 $(HOST_EXPORTS) \
18708 $(POSTSTAGE1_HOST_EXPORTS) \
18709 cd $(HOST_SUBDIR)/ld && \
18710 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18711 CFLAGS="$(STAGE3_CFLAGS)" \
18712 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
18713 LIBCFLAGS="$(STAGE3_CFLAGS)" \
18714 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18715 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18716 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18717 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18718 TFLAGS="$(STAGE3_TFLAGS)" \
18719 $(TARGET-stage3-ld)
18721 maybe-clean-stage3-ld: clean-stage3-ld
18722 clean-stage3: clean-stage3-ld
18723 clean-stage3-ld:
18724 @if [ $(current_stage) = stage3 ]; then \
18725 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
18726 else \
18727 [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] || exit 0; \
18728 $(MAKE) stage3-start; \
18729 fi; \
18730 cd $(HOST_SUBDIR)/ld && \
18731 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18732 @endif ld-bootstrap
18735 .PHONY: all-stage4-ld maybe-all-stage4-ld
18736 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
18737 maybe-all-stage4-ld:
18738 maybe-clean-stage4-ld:
18739 @if ld-bootstrap
18740 maybe-all-stage4-ld: all-stage4-ld
18741 all-stage4: all-stage4-ld
18742 TARGET-stage4-ld = $(TARGET-ld)
18743 all-stage4-ld: configure-stage4-ld
18744 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18745 @r=`${PWD_COMMAND}`; export r; \
18746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18747 TFLAGS="$(STAGE4_TFLAGS)"; \
18748 $(HOST_EXPORTS) \
18749 $(POSTSTAGE1_HOST_EXPORTS) \
18750 cd $(HOST_SUBDIR)/ld && \
18751 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18752 CFLAGS="$(STAGE4_CFLAGS)" \
18753 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
18754 LIBCFLAGS="$(STAGE4_CFLAGS)" \
18755 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18756 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18757 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18758 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18759 TFLAGS="$(STAGE4_TFLAGS)" \
18760 $(TARGET-stage4-ld)
18762 maybe-clean-stage4-ld: clean-stage4-ld
18763 clean-stage4: clean-stage4-ld
18764 clean-stage4-ld:
18765 @if [ $(current_stage) = stage4 ]; then \
18766 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
18767 else \
18768 [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] || exit 0; \
18769 $(MAKE) stage4-start; \
18770 fi; \
18771 cd $(HOST_SUBDIR)/ld && \
18772 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18773 @endif ld-bootstrap
18776 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
18777 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
18778 maybe-all-stageprofile-ld:
18779 maybe-clean-stageprofile-ld:
18780 @if ld-bootstrap
18781 maybe-all-stageprofile-ld: all-stageprofile-ld
18782 all-stageprofile: all-stageprofile-ld
18783 TARGET-stageprofile-ld = $(TARGET-ld)
18784 all-stageprofile-ld: configure-stageprofile-ld
18785 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18786 @r=`${PWD_COMMAND}`; export r; \
18787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18788 TFLAGS="$(STAGEprofile_TFLAGS)"; \
18789 $(HOST_EXPORTS) \
18790 $(POSTSTAGE1_HOST_EXPORTS) \
18791 cd $(HOST_SUBDIR)/ld && \
18792 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18793 CFLAGS="$(STAGEprofile_CFLAGS)" \
18794 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
18795 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
18796 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18797 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18798 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18799 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18800 TFLAGS="$(STAGEprofile_TFLAGS)" \
18801 $(TARGET-stageprofile-ld)
18803 maybe-clean-stageprofile-ld: clean-stageprofile-ld
18804 clean-stageprofile: clean-stageprofile-ld
18805 clean-stageprofile-ld:
18806 @if [ $(current_stage) = stageprofile ]; then \
18807 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
18808 else \
18809 [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] || exit 0; \
18810 $(MAKE) stageprofile-start; \
18811 fi; \
18812 cd $(HOST_SUBDIR)/ld && \
18813 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18814 @endif ld-bootstrap
18817 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
18818 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
18819 maybe-all-stagefeedback-ld:
18820 maybe-clean-stagefeedback-ld:
18821 @if ld-bootstrap
18822 maybe-all-stagefeedback-ld: all-stagefeedback-ld
18823 all-stagefeedback: all-stagefeedback-ld
18824 TARGET-stagefeedback-ld = $(TARGET-ld)
18825 all-stagefeedback-ld: configure-stagefeedback-ld
18826 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18827 @r=`${PWD_COMMAND}`; export r; \
18828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18829 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
18830 $(HOST_EXPORTS) \
18831 $(POSTSTAGE1_HOST_EXPORTS) \
18832 cd $(HOST_SUBDIR)/ld && \
18833 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18834 CFLAGS="$(STAGEfeedback_CFLAGS)" \
18835 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
18836 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
18837 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18838 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18839 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18840 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18841 TFLAGS="$(STAGEfeedback_TFLAGS)" \
18842 $(TARGET-stagefeedback-ld)
18844 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
18845 clean-stagefeedback: clean-stagefeedback-ld
18846 clean-stagefeedback-ld:
18847 @if [ $(current_stage) = stagefeedback ]; then \
18848 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
18849 else \
18850 [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] || exit 0; \
18851 $(MAKE) stagefeedback-start; \
18852 fi; \
18853 cd $(HOST_SUBDIR)/ld && \
18854 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18855 @endif ld-bootstrap
18861 .PHONY: check-ld maybe-check-ld
18862 maybe-check-ld:
18863 @if ld
18864 maybe-check-ld: check-ld
18866 check-ld:
18867 @: $(MAKE); $(unstage)
18868 @r=`${PWD_COMMAND}`; export r; \
18869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18870 $(HOST_EXPORTS) \
18871 (cd $(HOST_SUBDIR)/ld && \
18872 $(MAKE) $(FLAGS_TO_PASS) check)
18874 @endif ld
18876 .PHONY: install-ld maybe-install-ld
18877 maybe-install-ld:
18878 @if ld
18879 maybe-install-ld: install-ld
18881 install-ld: installdirs
18882 @: $(MAKE); $(unstage)
18883 @r=`${PWD_COMMAND}`; export r; \
18884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18885 $(HOST_EXPORTS) \
18886 (cd $(HOST_SUBDIR)/ld && \
18887 $(MAKE) $(FLAGS_TO_PASS) install)
18889 @endif ld
18891 .PHONY: install-strip-ld maybe-install-strip-ld
18892 maybe-install-strip-ld:
18893 @if ld
18894 maybe-install-strip-ld: install-strip-ld
18896 install-strip-ld: installdirs
18897 @: $(MAKE); $(unstage)
18898 @r=`${PWD_COMMAND}`; export r; \
18899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18900 $(HOST_EXPORTS) \
18901 (cd $(HOST_SUBDIR)/ld && \
18902 $(MAKE) $(FLAGS_TO_PASS) install-strip)
18904 @endif ld
18906 # Other targets (info, dvi, pdf, etc.)
18908 .PHONY: maybe-info-ld info-ld
18909 maybe-info-ld:
18910 @if ld
18911 maybe-info-ld: info-ld
18913 info-ld: \
18914 configure-ld
18915 @[ -f ./ld/Makefile ] || exit 0; \
18916 r=`${PWD_COMMAND}`; export r; \
18917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18918 $(HOST_EXPORTS) \
18919 for flag in $(EXTRA_HOST_FLAGS) ; do \
18920 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18921 done; \
18922 echo "Doing info in ld" ; \
18923 (cd $(HOST_SUBDIR)/ld && \
18924 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18925 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18926 "RANLIB=$${RANLIB}" \
18927 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18928 info) \
18929 || exit 1
18931 @endif ld
18933 .PHONY: maybe-dvi-ld dvi-ld
18934 maybe-dvi-ld:
18935 @if ld
18936 maybe-dvi-ld: dvi-ld
18938 dvi-ld: \
18939 configure-ld
18940 @[ -f ./ld/Makefile ] || exit 0; \
18941 r=`${PWD_COMMAND}`; export r; \
18942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18943 $(HOST_EXPORTS) \
18944 for flag in $(EXTRA_HOST_FLAGS) ; do \
18945 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18946 done; \
18947 echo "Doing dvi in ld" ; \
18948 (cd $(HOST_SUBDIR)/ld && \
18949 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18950 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18951 "RANLIB=$${RANLIB}" \
18952 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18953 dvi) \
18954 || exit 1
18956 @endif ld
18958 .PHONY: maybe-pdf-ld pdf-ld
18959 maybe-pdf-ld:
18960 @if ld
18961 maybe-pdf-ld: pdf-ld
18963 pdf-ld: \
18964 configure-ld
18965 @[ -f ./ld/Makefile ] || exit 0; \
18966 r=`${PWD_COMMAND}`; export r; \
18967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18968 $(HOST_EXPORTS) \
18969 for flag in $(EXTRA_HOST_FLAGS) ; do \
18970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18971 done; \
18972 echo "Doing pdf in ld" ; \
18973 (cd $(HOST_SUBDIR)/ld && \
18974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18976 "RANLIB=$${RANLIB}" \
18977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18978 pdf) \
18979 || exit 1
18981 @endif ld
18983 .PHONY: maybe-html-ld html-ld
18984 maybe-html-ld:
18985 @if ld
18986 maybe-html-ld: html-ld
18988 html-ld: \
18989 configure-ld
18990 @[ -f ./ld/Makefile ] || exit 0; \
18991 r=`${PWD_COMMAND}`; export r; \
18992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18993 $(HOST_EXPORTS) \
18994 for flag in $(EXTRA_HOST_FLAGS) ; do \
18995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18996 done; \
18997 echo "Doing html in ld" ; \
18998 (cd $(HOST_SUBDIR)/ld && \
18999 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19000 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19001 "RANLIB=$${RANLIB}" \
19002 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19003 html) \
19004 || exit 1
19006 @endif ld
19008 .PHONY: maybe-TAGS-ld TAGS-ld
19009 maybe-TAGS-ld:
19010 @if ld
19011 maybe-TAGS-ld: TAGS-ld
19013 TAGS-ld: \
19014 configure-ld
19015 @[ -f ./ld/Makefile ] || exit 0; \
19016 r=`${PWD_COMMAND}`; export r; \
19017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19018 $(HOST_EXPORTS) \
19019 for flag in $(EXTRA_HOST_FLAGS) ; do \
19020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19021 done; \
19022 echo "Doing TAGS in ld" ; \
19023 (cd $(HOST_SUBDIR)/ld && \
19024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19026 "RANLIB=$${RANLIB}" \
19027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19028 TAGS) \
19029 || exit 1
19031 @endif ld
19033 .PHONY: maybe-install-info-ld install-info-ld
19034 maybe-install-info-ld:
19035 @if ld
19036 maybe-install-info-ld: install-info-ld
19038 install-info-ld: \
19039 configure-ld \
19040 info-ld
19041 @[ -f ./ld/Makefile ] || exit 0; \
19042 r=`${PWD_COMMAND}`; export r; \
19043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19044 $(HOST_EXPORTS) \
19045 for flag in $(EXTRA_HOST_FLAGS) ; do \
19046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19047 done; \
19048 echo "Doing install-info in ld" ; \
19049 (cd $(HOST_SUBDIR)/ld && \
19050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19052 "RANLIB=$${RANLIB}" \
19053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19054 install-info) \
19055 || exit 1
19057 @endif ld
19059 .PHONY: maybe-install-pdf-ld install-pdf-ld
19060 maybe-install-pdf-ld:
19061 @if ld
19062 maybe-install-pdf-ld: install-pdf-ld
19064 install-pdf-ld: \
19065 configure-ld \
19066 pdf-ld
19067 @[ -f ./ld/Makefile ] || exit 0; \
19068 r=`${PWD_COMMAND}`; export r; \
19069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19070 $(HOST_EXPORTS) \
19071 for flag in $(EXTRA_HOST_FLAGS) ; do \
19072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19073 done; \
19074 echo "Doing install-pdf in ld" ; \
19075 (cd $(HOST_SUBDIR)/ld && \
19076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19078 "RANLIB=$${RANLIB}" \
19079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19080 install-pdf) \
19081 || exit 1
19083 @endif ld
19085 .PHONY: maybe-install-html-ld install-html-ld
19086 maybe-install-html-ld:
19087 @if ld
19088 maybe-install-html-ld: install-html-ld
19090 install-html-ld: \
19091 configure-ld \
19092 html-ld
19093 @[ -f ./ld/Makefile ] || exit 0; \
19094 r=`${PWD_COMMAND}`; export r; \
19095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19096 $(HOST_EXPORTS) \
19097 for flag in $(EXTRA_HOST_FLAGS) ; do \
19098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19099 done; \
19100 echo "Doing install-html in ld" ; \
19101 (cd $(HOST_SUBDIR)/ld && \
19102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19104 "RANLIB=$${RANLIB}" \
19105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19106 install-html) \
19107 || exit 1
19109 @endif ld
19111 .PHONY: maybe-installcheck-ld installcheck-ld
19112 maybe-installcheck-ld:
19113 @if ld
19114 maybe-installcheck-ld: installcheck-ld
19116 installcheck-ld: \
19117 configure-ld
19118 @[ -f ./ld/Makefile ] || exit 0; \
19119 r=`${PWD_COMMAND}`; export r; \
19120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19121 $(HOST_EXPORTS) \
19122 for flag in $(EXTRA_HOST_FLAGS) ; do \
19123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19124 done; \
19125 echo "Doing installcheck in ld" ; \
19126 (cd $(HOST_SUBDIR)/ld && \
19127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19129 "RANLIB=$${RANLIB}" \
19130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19131 installcheck) \
19132 || exit 1
19134 @endif ld
19136 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
19137 maybe-mostlyclean-ld:
19138 @if ld
19139 maybe-mostlyclean-ld: mostlyclean-ld
19141 mostlyclean-ld:
19142 @[ -f ./ld/Makefile ] || exit 0; \
19143 r=`${PWD_COMMAND}`; export r; \
19144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19145 $(HOST_EXPORTS) \
19146 for flag in $(EXTRA_HOST_FLAGS) ; do \
19147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19148 done; \
19149 echo "Doing mostlyclean in ld" ; \
19150 (cd $(HOST_SUBDIR)/ld && \
19151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19153 "RANLIB=$${RANLIB}" \
19154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19155 mostlyclean) \
19156 || exit 1
19158 @endif ld
19160 .PHONY: maybe-clean-ld clean-ld
19161 maybe-clean-ld:
19162 @if ld
19163 maybe-clean-ld: clean-ld
19165 clean-ld:
19166 @[ -f ./ld/Makefile ] || exit 0; \
19167 r=`${PWD_COMMAND}`; export r; \
19168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19169 $(HOST_EXPORTS) \
19170 for flag in $(EXTRA_HOST_FLAGS) ; do \
19171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19172 done; \
19173 echo "Doing clean in ld" ; \
19174 (cd $(HOST_SUBDIR)/ld && \
19175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19177 "RANLIB=$${RANLIB}" \
19178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19179 clean) \
19180 || exit 1
19182 @endif ld
19184 .PHONY: maybe-distclean-ld distclean-ld
19185 maybe-distclean-ld:
19186 @if ld
19187 maybe-distclean-ld: distclean-ld
19189 distclean-ld:
19190 @[ -f ./ld/Makefile ] || exit 0; \
19191 r=`${PWD_COMMAND}`; export r; \
19192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19193 $(HOST_EXPORTS) \
19194 for flag in $(EXTRA_HOST_FLAGS) ; do \
19195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19196 done; \
19197 echo "Doing distclean in ld" ; \
19198 (cd $(HOST_SUBDIR)/ld && \
19199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19201 "RANLIB=$${RANLIB}" \
19202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19203 distclean) \
19204 || exit 1
19206 @endif ld
19208 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
19209 maybe-maintainer-clean-ld:
19210 @if ld
19211 maybe-maintainer-clean-ld: maintainer-clean-ld
19213 maintainer-clean-ld:
19214 @[ -f ./ld/Makefile ] || exit 0; \
19215 r=`${PWD_COMMAND}`; export r; \
19216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19217 $(HOST_EXPORTS) \
19218 for flag in $(EXTRA_HOST_FLAGS) ; do \
19219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19220 done; \
19221 echo "Doing maintainer-clean in ld" ; \
19222 (cd $(HOST_SUBDIR)/ld && \
19223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19225 "RANLIB=$${RANLIB}" \
19226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19227 maintainer-clean) \
19228 || exit 1
19230 @endif ld
19234 .PHONY: configure-libbacktrace maybe-configure-libbacktrace
19235 maybe-configure-libbacktrace:
19236 @if gcc-bootstrap
19237 configure-libbacktrace: stage_current
19238 @endif gcc-bootstrap
19239 @if libbacktrace
19240 maybe-configure-libbacktrace: configure-libbacktrace
19241 configure-libbacktrace:
19242 @r=`${PWD_COMMAND}`; export r; \
19243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19244 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19245 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19246 $(HOST_EXPORTS) \
19247 echo Configuring in $(HOST_SUBDIR)/libbacktrace; \
19248 cd "$(HOST_SUBDIR)/libbacktrace" || exit 1; \
19249 case $(srcdir) in \
19250 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19251 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19252 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19253 esac; \
19254 module_srcdir=libbacktrace; \
19255 $(SHELL) \
19256 $$s/$$module_srcdir/configure \
19257 --srcdir=$${topdir}/$$module_srcdir \
19258 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19259 --target=${target_alias} \
19260 || exit 1
19261 @endif libbacktrace
19265 .PHONY: configure-stage1-libbacktrace maybe-configure-stage1-libbacktrace
19266 maybe-configure-stage1-libbacktrace:
19267 @if libbacktrace-bootstrap
19268 maybe-configure-stage1-libbacktrace: configure-stage1-libbacktrace
19269 configure-stage1-libbacktrace:
19270 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19271 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19272 @r=`${PWD_COMMAND}`; export r; \
19273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19274 TFLAGS="$(STAGE1_TFLAGS)"; \
19275 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19276 $(HOST_EXPORTS) \
19277 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
19278 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
19279 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
19280 echo Configuring stage 1 in $(HOST_SUBDIR)/libbacktrace ; \
19281 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19282 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19283 case $(srcdir) in \
19284 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19285 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19286 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19287 esac; \
19288 module_srcdir=libbacktrace; \
19289 $(SHELL) $$s/$$module_srcdir/configure \
19290 --srcdir=$${topdir}/$$module_srcdir \
19291 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19292 --target=${target_alias} \
19294 $(STAGE1_CONFIGURE_FLAGS)
19295 @endif libbacktrace-bootstrap
19297 .PHONY: configure-stage2-libbacktrace maybe-configure-stage2-libbacktrace
19298 maybe-configure-stage2-libbacktrace:
19299 @if libbacktrace-bootstrap
19300 maybe-configure-stage2-libbacktrace: configure-stage2-libbacktrace
19301 configure-stage2-libbacktrace:
19302 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19303 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19304 @r=`${PWD_COMMAND}`; export r; \
19305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19306 TFLAGS="$(STAGE2_TFLAGS)"; \
19307 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19308 $(HOST_EXPORTS) \
19309 $(POSTSTAGE1_HOST_EXPORTS) \
19310 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
19311 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
19312 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
19313 echo Configuring stage 2 in $(HOST_SUBDIR)/libbacktrace ; \
19314 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19315 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19316 case $(srcdir) in \
19317 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19318 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19319 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19320 esac; \
19321 module_srcdir=libbacktrace; \
19322 $(SHELL) $$s/$$module_srcdir/configure \
19323 --srcdir=$${topdir}/$$module_srcdir \
19324 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19325 --target=${target_alias} \
19326 --with-build-libsubdir=$(HOST_SUBDIR) \
19327 $(STAGE2_CONFIGURE_FLAGS)
19328 @endif libbacktrace-bootstrap
19330 .PHONY: configure-stage3-libbacktrace maybe-configure-stage3-libbacktrace
19331 maybe-configure-stage3-libbacktrace:
19332 @if libbacktrace-bootstrap
19333 maybe-configure-stage3-libbacktrace: configure-stage3-libbacktrace
19334 configure-stage3-libbacktrace:
19335 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19336 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19337 @r=`${PWD_COMMAND}`; export r; \
19338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19339 TFLAGS="$(STAGE3_TFLAGS)"; \
19340 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19341 $(HOST_EXPORTS) \
19342 $(POSTSTAGE1_HOST_EXPORTS) \
19343 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
19344 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
19345 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
19346 echo Configuring stage 3 in $(HOST_SUBDIR)/libbacktrace ; \
19347 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19348 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19349 case $(srcdir) in \
19350 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19351 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19352 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19353 esac; \
19354 module_srcdir=libbacktrace; \
19355 $(SHELL) $$s/$$module_srcdir/configure \
19356 --srcdir=$${topdir}/$$module_srcdir \
19357 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19358 --target=${target_alias} \
19359 --with-build-libsubdir=$(HOST_SUBDIR) \
19360 $(STAGE3_CONFIGURE_FLAGS)
19361 @endif libbacktrace-bootstrap
19363 .PHONY: configure-stage4-libbacktrace maybe-configure-stage4-libbacktrace
19364 maybe-configure-stage4-libbacktrace:
19365 @if libbacktrace-bootstrap
19366 maybe-configure-stage4-libbacktrace: configure-stage4-libbacktrace
19367 configure-stage4-libbacktrace:
19368 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19369 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19370 @r=`${PWD_COMMAND}`; export r; \
19371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19372 TFLAGS="$(STAGE4_TFLAGS)"; \
19373 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19374 $(HOST_EXPORTS) \
19375 $(POSTSTAGE1_HOST_EXPORTS) \
19376 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
19377 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
19378 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
19379 echo Configuring stage 4 in $(HOST_SUBDIR)/libbacktrace ; \
19380 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19381 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19382 case $(srcdir) in \
19383 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19384 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19385 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19386 esac; \
19387 module_srcdir=libbacktrace; \
19388 $(SHELL) $$s/$$module_srcdir/configure \
19389 --srcdir=$${topdir}/$$module_srcdir \
19390 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19391 --target=${target_alias} \
19392 --with-build-libsubdir=$(HOST_SUBDIR) \
19393 $(STAGE4_CONFIGURE_FLAGS)
19394 @endif libbacktrace-bootstrap
19396 .PHONY: configure-stageprofile-libbacktrace maybe-configure-stageprofile-libbacktrace
19397 maybe-configure-stageprofile-libbacktrace:
19398 @if libbacktrace-bootstrap
19399 maybe-configure-stageprofile-libbacktrace: configure-stageprofile-libbacktrace
19400 configure-stageprofile-libbacktrace:
19401 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19402 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19403 @r=`${PWD_COMMAND}`; export r; \
19404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19405 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19406 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19407 $(HOST_EXPORTS) \
19408 $(POSTSTAGE1_HOST_EXPORTS) \
19409 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
19410 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
19411 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
19412 echo Configuring stage profile in $(HOST_SUBDIR)/libbacktrace ; \
19413 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19414 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19415 case $(srcdir) in \
19416 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19417 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19418 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19419 esac; \
19420 module_srcdir=libbacktrace; \
19421 $(SHELL) $$s/$$module_srcdir/configure \
19422 --srcdir=$${topdir}/$$module_srcdir \
19423 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19424 --target=${target_alias} \
19425 --with-build-libsubdir=$(HOST_SUBDIR) \
19426 $(STAGEprofile_CONFIGURE_FLAGS)
19427 @endif libbacktrace-bootstrap
19429 .PHONY: configure-stagefeedback-libbacktrace maybe-configure-stagefeedback-libbacktrace
19430 maybe-configure-stagefeedback-libbacktrace:
19431 @if libbacktrace-bootstrap
19432 maybe-configure-stagefeedback-libbacktrace: configure-stagefeedback-libbacktrace
19433 configure-stagefeedback-libbacktrace:
19434 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19435 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19436 @r=`${PWD_COMMAND}`; export r; \
19437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19438 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19439 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19440 $(HOST_EXPORTS) \
19441 $(POSTSTAGE1_HOST_EXPORTS) \
19442 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
19443 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
19444 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
19445 echo Configuring stage feedback in $(HOST_SUBDIR)/libbacktrace ; \
19446 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19447 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19448 case $(srcdir) in \
19449 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19450 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19451 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19452 esac; \
19453 module_srcdir=libbacktrace; \
19454 $(SHELL) $$s/$$module_srcdir/configure \
19455 --srcdir=$${topdir}/$$module_srcdir \
19456 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19457 --target=${target_alias} \
19458 --with-build-libsubdir=$(HOST_SUBDIR) \
19459 $(STAGEfeedback_CONFIGURE_FLAGS)
19460 @endif libbacktrace-bootstrap
19466 .PHONY: all-libbacktrace maybe-all-libbacktrace
19467 maybe-all-libbacktrace:
19468 @if gcc-bootstrap
19469 all-libbacktrace: stage_current
19470 @endif gcc-bootstrap
19471 @if libbacktrace
19472 TARGET-libbacktrace=all
19473 maybe-all-libbacktrace: all-libbacktrace
19474 all-libbacktrace: configure-libbacktrace
19475 @r=`${PWD_COMMAND}`; export r; \
19476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19477 $(HOST_EXPORTS) \
19478 (cd $(HOST_SUBDIR)/libbacktrace && \
19479 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
19480 $(TARGET-libbacktrace))
19481 @endif libbacktrace
19485 .PHONY: all-stage1-libbacktrace maybe-all-stage1-libbacktrace
19486 .PHONY: clean-stage1-libbacktrace maybe-clean-stage1-libbacktrace
19487 maybe-all-stage1-libbacktrace:
19488 maybe-clean-stage1-libbacktrace:
19489 @if libbacktrace-bootstrap
19490 maybe-all-stage1-libbacktrace: all-stage1-libbacktrace
19491 all-stage1: all-stage1-libbacktrace
19492 TARGET-stage1-libbacktrace = $(TARGET-libbacktrace)
19493 all-stage1-libbacktrace: configure-stage1-libbacktrace
19494 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19495 @r=`${PWD_COMMAND}`; export r; \
19496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19497 TFLAGS="$(STAGE1_TFLAGS)"; \
19498 $(HOST_EXPORTS) \
19499 cd $(HOST_SUBDIR)/libbacktrace && \
19500 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19501 CFLAGS="$(STAGE1_CFLAGS)" \
19502 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
19503 LIBCFLAGS="$(LIBCFLAGS)" \
19504 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19505 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19506 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19507 $(EXTRA_HOST_FLAGS) \
19508 $(STAGE1_FLAGS_TO_PASS) \
19509 TFLAGS="$(STAGE1_TFLAGS)" \
19510 $(TARGET-stage1-libbacktrace)
19512 maybe-clean-stage1-libbacktrace: clean-stage1-libbacktrace
19513 clean-stage1: clean-stage1-libbacktrace
19514 clean-stage1-libbacktrace:
19515 @if [ $(current_stage) = stage1 ]; then \
19516 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
19517 else \
19518 [ -f $(HOST_SUBDIR)/stage1-libbacktrace/Makefile ] || exit 0; \
19519 $(MAKE) stage1-start; \
19520 fi; \
19521 cd $(HOST_SUBDIR)/libbacktrace && \
19522 $(MAKE) $(EXTRA_HOST_FLAGS) \
19523 $(STAGE1_FLAGS_TO_PASS) clean
19524 @endif libbacktrace-bootstrap
19527 .PHONY: all-stage2-libbacktrace maybe-all-stage2-libbacktrace
19528 .PHONY: clean-stage2-libbacktrace maybe-clean-stage2-libbacktrace
19529 maybe-all-stage2-libbacktrace:
19530 maybe-clean-stage2-libbacktrace:
19531 @if libbacktrace-bootstrap
19532 maybe-all-stage2-libbacktrace: all-stage2-libbacktrace
19533 all-stage2: all-stage2-libbacktrace
19534 TARGET-stage2-libbacktrace = $(TARGET-libbacktrace)
19535 all-stage2-libbacktrace: configure-stage2-libbacktrace
19536 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19537 @r=`${PWD_COMMAND}`; export r; \
19538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19539 TFLAGS="$(STAGE2_TFLAGS)"; \
19540 $(HOST_EXPORTS) \
19541 $(POSTSTAGE1_HOST_EXPORTS) \
19542 cd $(HOST_SUBDIR)/libbacktrace && \
19543 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19544 CFLAGS="$(STAGE2_CFLAGS)" \
19545 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
19546 LIBCFLAGS="$(STAGE2_CFLAGS)" \
19547 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19548 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19549 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19550 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19551 TFLAGS="$(STAGE2_TFLAGS)" \
19552 $(TARGET-stage2-libbacktrace)
19554 maybe-clean-stage2-libbacktrace: clean-stage2-libbacktrace
19555 clean-stage2: clean-stage2-libbacktrace
19556 clean-stage2-libbacktrace:
19557 @if [ $(current_stage) = stage2 ]; then \
19558 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
19559 else \
19560 [ -f $(HOST_SUBDIR)/stage2-libbacktrace/Makefile ] || exit 0; \
19561 $(MAKE) stage2-start; \
19562 fi; \
19563 cd $(HOST_SUBDIR)/libbacktrace && \
19564 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19565 @endif libbacktrace-bootstrap
19568 .PHONY: all-stage3-libbacktrace maybe-all-stage3-libbacktrace
19569 .PHONY: clean-stage3-libbacktrace maybe-clean-stage3-libbacktrace
19570 maybe-all-stage3-libbacktrace:
19571 maybe-clean-stage3-libbacktrace:
19572 @if libbacktrace-bootstrap
19573 maybe-all-stage3-libbacktrace: all-stage3-libbacktrace
19574 all-stage3: all-stage3-libbacktrace
19575 TARGET-stage3-libbacktrace = $(TARGET-libbacktrace)
19576 all-stage3-libbacktrace: configure-stage3-libbacktrace
19577 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19578 @r=`${PWD_COMMAND}`; export r; \
19579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19580 TFLAGS="$(STAGE3_TFLAGS)"; \
19581 $(HOST_EXPORTS) \
19582 $(POSTSTAGE1_HOST_EXPORTS) \
19583 cd $(HOST_SUBDIR)/libbacktrace && \
19584 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19585 CFLAGS="$(STAGE3_CFLAGS)" \
19586 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
19587 LIBCFLAGS="$(STAGE3_CFLAGS)" \
19588 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19589 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19590 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19591 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19592 TFLAGS="$(STAGE3_TFLAGS)" \
19593 $(TARGET-stage3-libbacktrace)
19595 maybe-clean-stage3-libbacktrace: clean-stage3-libbacktrace
19596 clean-stage3: clean-stage3-libbacktrace
19597 clean-stage3-libbacktrace:
19598 @if [ $(current_stage) = stage3 ]; then \
19599 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
19600 else \
19601 [ -f $(HOST_SUBDIR)/stage3-libbacktrace/Makefile ] || exit 0; \
19602 $(MAKE) stage3-start; \
19603 fi; \
19604 cd $(HOST_SUBDIR)/libbacktrace && \
19605 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19606 @endif libbacktrace-bootstrap
19609 .PHONY: all-stage4-libbacktrace maybe-all-stage4-libbacktrace
19610 .PHONY: clean-stage4-libbacktrace maybe-clean-stage4-libbacktrace
19611 maybe-all-stage4-libbacktrace:
19612 maybe-clean-stage4-libbacktrace:
19613 @if libbacktrace-bootstrap
19614 maybe-all-stage4-libbacktrace: all-stage4-libbacktrace
19615 all-stage4: all-stage4-libbacktrace
19616 TARGET-stage4-libbacktrace = $(TARGET-libbacktrace)
19617 all-stage4-libbacktrace: configure-stage4-libbacktrace
19618 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19619 @r=`${PWD_COMMAND}`; export r; \
19620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19621 TFLAGS="$(STAGE4_TFLAGS)"; \
19622 $(HOST_EXPORTS) \
19623 $(POSTSTAGE1_HOST_EXPORTS) \
19624 cd $(HOST_SUBDIR)/libbacktrace && \
19625 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19626 CFLAGS="$(STAGE4_CFLAGS)" \
19627 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
19628 LIBCFLAGS="$(STAGE4_CFLAGS)" \
19629 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19630 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19631 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19632 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19633 TFLAGS="$(STAGE4_TFLAGS)" \
19634 $(TARGET-stage4-libbacktrace)
19636 maybe-clean-stage4-libbacktrace: clean-stage4-libbacktrace
19637 clean-stage4: clean-stage4-libbacktrace
19638 clean-stage4-libbacktrace:
19639 @if [ $(current_stage) = stage4 ]; then \
19640 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
19641 else \
19642 [ -f $(HOST_SUBDIR)/stage4-libbacktrace/Makefile ] || exit 0; \
19643 $(MAKE) stage4-start; \
19644 fi; \
19645 cd $(HOST_SUBDIR)/libbacktrace && \
19646 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19647 @endif libbacktrace-bootstrap
19650 .PHONY: all-stageprofile-libbacktrace maybe-all-stageprofile-libbacktrace
19651 .PHONY: clean-stageprofile-libbacktrace maybe-clean-stageprofile-libbacktrace
19652 maybe-all-stageprofile-libbacktrace:
19653 maybe-clean-stageprofile-libbacktrace:
19654 @if libbacktrace-bootstrap
19655 maybe-all-stageprofile-libbacktrace: all-stageprofile-libbacktrace
19656 all-stageprofile: all-stageprofile-libbacktrace
19657 TARGET-stageprofile-libbacktrace = $(TARGET-libbacktrace)
19658 all-stageprofile-libbacktrace: configure-stageprofile-libbacktrace
19659 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19660 @r=`${PWD_COMMAND}`; export r; \
19661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19662 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19663 $(HOST_EXPORTS) \
19664 $(POSTSTAGE1_HOST_EXPORTS) \
19665 cd $(HOST_SUBDIR)/libbacktrace && \
19666 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19667 CFLAGS="$(STAGEprofile_CFLAGS)" \
19668 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
19669 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
19670 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19671 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19672 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19673 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19674 TFLAGS="$(STAGEprofile_TFLAGS)" \
19675 $(TARGET-stageprofile-libbacktrace)
19677 maybe-clean-stageprofile-libbacktrace: clean-stageprofile-libbacktrace
19678 clean-stageprofile: clean-stageprofile-libbacktrace
19679 clean-stageprofile-libbacktrace:
19680 @if [ $(current_stage) = stageprofile ]; then \
19681 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
19682 else \
19683 [ -f $(HOST_SUBDIR)/stageprofile-libbacktrace/Makefile ] || exit 0; \
19684 $(MAKE) stageprofile-start; \
19685 fi; \
19686 cd $(HOST_SUBDIR)/libbacktrace && \
19687 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19688 @endif libbacktrace-bootstrap
19691 .PHONY: all-stagefeedback-libbacktrace maybe-all-stagefeedback-libbacktrace
19692 .PHONY: clean-stagefeedback-libbacktrace maybe-clean-stagefeedback-libbacktrace
19693 maybe-all-stagefeedback-libbacktrace:
19694 maybe-clean-stagefeedback-libbacktrace:
19695 @if libbacktrace-bootstrap
19696 maybe-all-stagefeedback-libbacktrace: all-stagefeedback-libbacktrace
19697 all-stagefeedback: all-stagefeedback-libbacktrace
19698 TARGET-stagefeedback-libbacktrace = $(TARGET-libbacktrace)
19699 all-stagefeedback-libbacktrace: configure-stagefeedback-libbacktrace
19700 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19701 @r=`${PWD_COMMAND}`; export r; \
19702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19703 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19704 $(HOST_EXPORTS) \
19705 $(POSTSTAGE1_HOST_EXPORTS) \
19706 cd $(HOST_SUBDIR)/libbacktrace && \
19707 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19708 CFLAGS="$(STAGEfeedback_CFLAGS)" \
19709 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
19710 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
19711 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19712 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19713 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19714 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19715 TFLAGS="$(STAGEfeedback_TFLAGS)" \
19716 $(TARGET-stagefeedback-libbacktrace)
19718 maybe-clean-stagefeedback-libbacktrace: clean-stagefeedback-libbacktrace
19719 clean-stagefeedback: clean-stagefeedback-libbacktrace
19720 clean-stagefeedback-libbacktrace:
19721 @if [ $(current_stage) = stagefeedback ]; then \
19722 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
19723 else \
19724 [ -f $(HOST_SUBDIR)/stagefeedback-libbacktrace/Makefile ] || exit 0; \
19725 $(MAKE) stagefeedback-start; \
19726 fi; \
19727 cd $(HOST_SUBDIR)/libbacktrace && \
19728 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19729 @endif libbacktrace-bootstrap
19735 .PHONY: check-libbacktrace maybe-check-libbacktrace
19736 maybe-check-libbacktrace:
19737 @if libbacktrace
19738 maybe-check-libbacktrace: check-libbacktrace
19740 check-libbacktrace:
19741 @: $(MAKE); $(unstage)
19742 @r=`${PWD_COMMAND}`; export r; \
19743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19744 $(HOST_EXPORTS) \
19745 (cd $(HOST_SUBDIR)/libbacktrace && \
19746 $(MAKE) $(FLAGS_TO_PASS) check)
19748 @endif libbacktrace
19750 .PHONY: install-libbacktrace maybe-install-libbacktrace
19751 maybe-install-libbacktrace:
19752 @if libbacktrace
19753 maybe-install-libbacktrace: install-libbacktrace
19755 install-libbacktrace: installdirs
19756 @: $(MAKE); $(unstage)
19757 @r=`${PWD_COMMAND}`; export r; \
19758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19759 $(HOST_EXPORTS) \
19760 (cd $(HOST_SUBDIR)/libbacktrace && \
19761 $(MAKE) $(FLAGS_TO_PASS) install)
19763 @endif libbacktrace
19765 .PHONY: install-strip-libbacktrace maybe-install-strip-libbacktrace
19766 maybe-install-strip-libbacktrace:
19767 @if libbacktrace
19768 maybe-install-strip-libbacktrace: install-strip-libbacktrace
19770 install-strip-libbacktrace: installdirs
19771 @: $(MAKE); $(unstage)
19772 @r=`${PWD_COMMAND}`; export r; \
19773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19774 $(HOST_EXPORTS) \
19775 (cd $(HOST_SUBDIR)/libbacktrace && \
19776 $(MAKE) $(FLAGS_TO_PASS) install-strip)
19778 @endif libbacktrace
19780 # Other targets (info, dvi, pdf, etc.)
19782 .PHONY: maybe-info-libbacktrace info-libbacktrace
19783 maybe-info-libbacktrace:
19784 @if libbacktrace
19785 maybe-info-libbacktrace: info-libbacktrace
19787 info-libbacktrace: \
19788 configure-libbacktrace
19789 @[ -f ./libbacktrace/Makefile ] || exit 0; \
19790 r=`${PWD_COMMAND}`; export r; \
19791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19792 $(HOST_EXPORTS) \
19793 for flag in $(EXTRA_HOST_FLAGS) ; do \
19794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19795 done; \
19796 echo "Doing info in libbacktrace" ; \
19797 (cd $(HOST_SUBDIR)/libbacktrace && \
19798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19800 "RANLIB=$${RANLIB}" \
19801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19802 info) \
19803 || exit 1
19805 @endif libbacktrace
19807 .PHONY: maybe-dvi-libbacktrace dvi-libbacktrace
19808 maybe-dvi-libbacktrace:
19809 @if libbacktrace
19810 maybe-dvi-libbacktrace: dvi-libbacktrace
19812 dvi-libbacktrace: \
19813 configure-libbacktrace
19814 @[ -f ./libbacktrace/Makefile ] || exit 0; \
19815 r=`${PWD_COMMAND}`; export r; \
19816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19817 $(HOST_EXPORTS) \
19818 for flag in $(EXTRA_HOST_FLAGS) ; do \
19819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19820 done; \
19821 echo "Doing dvi in libbacktrace" ; \
19822 (cd $(HOST_SUBDIR)/libbacktrace && \
19823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19825 "RANLIB=$${RANLIB}" \
19826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19827 dvi) \
19828 || exit 1
19830 @endif libbacktrace
19832 .PHONY: maybe-pdf-libbacktrace pdf-libbacktrace
19833 maybe-pdf-libbacktrace:
19834 @if libbacktrace
19835 maybe-pdf-libbacktrace: pdf-libbacktrace
19837 pdf-libbacktrace: \
19838 configure-libbacktrace
19839 @[ -f ./libbacktrace/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 pdf in libbacktrace" ; \
19847 (cd $(HOST_SUBDIR)/libbacktrace && \
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 pdf) \
19853 || exit 1
19855 @endif libbacktrace
19857 .PHONY: maybe-html-libbacktrace html-libbacktrace
19858 maybe-html-libbacktrace:
19859 @if libbacktrace
19860 maybe-html-libbacktrace: html-libbacktrace
19862 html-libbacktrace: \
19863 configure-libbacktrace
19864 @[ -f ./libbacktrace/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 html in libbacktrace" ; \
19872 (cd $(HOST_SUBDIR)/libbacktrace && \
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 html) \
19878 || exit 1
19880 @endif libbacktrace
19882 .PHONY: maybe-TAGS-libbacktrace TAGS-libbacktrace
19883 maybe-TAGS-libbacktrace:
19884 @if libbacktrace
19885 maybe-TAGS-libbacktrace: TAGS-libbacktrace
19887 TAGS-libbacktrace: \
19888 configure-libbacktrace
19889 @[ -f ./libbacktrace/Makefile ] || exit 0; \
19890 r=`${PWD_COMMAND}`; export r; \
19891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19892 $(HOST_EXPORTS) \
19893 for flag in $(EXTRA_HOST_FLAGS) ; do \
19894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19895 done; \
19896 echo "Doing TAGS in libbacktrace" ; \
19897 (cd $(HOST_SUBDIR)/libbacktrace && \
19898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19900 "RANLIB=$${RANLIB}" \
19901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19902 TAGS) \
19903 || exit 1
19905 @endif libbacktrace
19907 .PHONY: maybe-install-info-libbacktrace install-info-libbacktrace
19908 maybe-install-info-libbacktrace:
19909 @if libbacktrace
19910 maybe-install-info-libbacktrace: install-info-libbacktrace
19912 install-info-libbacktrace: \
19913 configure-libbacktrace \
19914 info-libbacktrace
19915 @[ -f ./libbacktrace/Makefile ] || exit 0; \
19916 r=`${PWD_COMMAND}`; export r; \
19917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19918 $(HOST_EXPORTS) \
19919 for flag in $(EXTRA_HOST_FLAGS) ; do \
19920 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19921 done; \
19922 echo "Doing install-info in libbacktrace" ; \
19923 (cd $(HOST_SUBDIR)/libbacktrace && \
19924 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19925 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19926 "RANLIB=$${RANLIB}" \
19927 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19928 install-info) \
19929 || exit 1
19931 @endif libbacktrace
19933 .PHONY: maybe-install-pdf-libbacktrace install-pdf-libbacktrace
19934 maybe-install-pdf-libbacktrace:
19935 @if libbacktrace
19936 maybe-install-pdf-libbacktrace: install-pdf-libbacktrace
19938 install-pdf-libbacktrace: \
19939 configure-libbacktrace \
19940 pdf-libbacktrace
19941 @[ -f ./libbacktrace/Makefile ] || exit 0; \
19942 r=`${PWD_COMMAND}`; export r; \
19943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19944 $(HOST_EXPORTS) \
19945 for flag in $(EXTRA_HOST_FLAGS) ; do \
19946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19947 done; \
19948 echo "Doing install-pdf in libbacktrace" ; \
19949 (cd $(HOST_SUBDIR)/libbacktrace && \
19950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19952 "RANLIB=$${RANLIB}" \
19953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19954 install-pdf) \
19955 || exit 1
19957 @endif libbacktrace
19959 .PHONY: maybe-install-html-libbacktrace install-html-libbacktrace
19960 maybe-install-html-libbacktrace:
19961 @if libbacktrace
19962 maybe-install-html-libbacktrace: install-html-libbacktrace
19964 install-html-libbacktrace: \
19965 configure-libbacktrace \
19966 html-libbacktrace
19967 @[ -f ./libbacktrace/Makefile ] || exit 0; \
19968 r=`${PWD_COMMAND}`; export r; \
19969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19970 $(HOST_EXPORTS) \
19971 for flag in $(EXTRA_HOST_FLAGS) ; do \
19972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19973 done; \
19974 echo "Doing install-html in libbacktrace" ; \
19975 (cd $(HOST_SUBDIR)/libbacktrace && \
19976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19978 "RANLIB=$${RANLIB}" \
19979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19980 install-html) \
19981 || exit 1
19983 @endif libbacktrace
19985 .PHONY: maybe-installcheck-libbacktrace installcheck-libbacktrace
19986 maybe-installcheck-libbacktrace:
19987 @if libbacktrace
19988 maybe-installcheck-libbacktrace: installcheck-libbacktrace
19990 installcheck-libbacktrace: \
19991 configure-libbacktrace
19992 @[ -f ./libbacktrace/Makefile ] || exit 0; \
19993 r=`${PWD_COMMAND}`; export r; \
19994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19995 $(HOST_EXPORTS) \
19996 for flag in $(EXTRA_HOST_FLAGS) ; do \
19997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19998 done; \
19999 echo "Doing installcheck in libbacktrace" ; \
20000 (cd $(HOST_SUBDIR)/libbacktrace && \
20001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20003 "RANLIB=$${RANLIB}" \
20004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20005 installcheck) \
20006 || exit 1
20008 @endif libbacktrace
20010 .PHONY: maybe-mostlyclean-libbacktrace mostlyclean-libbacktrace
20011 maybe-mostlyclean-libbacktrace:
20012 @if libbacktrace
20013 maybe-mostlyclean-libbacktrace: mostlyclean-libbacktrace
20015 mostlyclean-libbacktrace:
20016 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20017 r=`${PWD_COMMAND}`; export r; \
20018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20019 $(HOST_EXPORTS) \
20020 for flag in $(EXTRA_HOST_FLAGS) ; do \
20021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20022 done; \
20023 echo "Doing mostlyclean in libbacktrace" ; \
20024 (cd $(HOST_SUBDIR)/libbacktrace && \
20025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20027 "RANLIB=$${RANLIB}" \
20028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20029 mostlyclean) \
20030 || exit 1
20032 @endif libbacktrace
20034 .PHONY: maybe-clean-libbacktrace clean-libbacktrace
20035 maybe-clean-libbacktrace:
20036 @if libbacktrace
20037 maybe-clean-libbacktrace: clean-libbacktrace
20039 clean-libbacktrace:
20040 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20041 r=`${PWD_COMMAND}`; export r; \
20042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20043 $(HOST_EXPORTS) \
20044 for flag in $(EXTRA_HOST_FLAGS) ; do \
20045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20046 done; \
20047 echo "Doing clean in libbacktrace" ; \
20048 (cd $(HOST_SUBDIR)/libbacktrace && \
20049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20051 "RANLIB=$${RANLIB}" \
20052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20053 clean) \
20054 || exit 1
20056 @endif libbacktrace
20058 .PHONY: maybe-distclean-libbacktrace distclean-libbacktrace
20059 maybe-distclean-libbacktrace:
20060 @if libbacktrace
20061 maybe-distclean-libbacktrace: distclean-libbacktrace
20063 distclean-libbacktrace:
20064 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20065 r=`${PWD_COMMAND}`; export r; \
20066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20067 $(HOST_EXPORTS) \
20068 for flag in $(EXTRA_HOST_FLAGS) ; do \
20069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20070 done; \
20071 echo "Doing distclean in libbacktrace" ; \
20072 (cd $(HOST_SUBDIR)/libbacktrace && \
20073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20075 "RANLIB=$${RANLIB}" \
20076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20077 distclean) \
20078 || exit 1
20080 @endif libbacktrace
20082 .PHONY: maybe-maintainer-clean-libbacktrace maintainer-clean-libbacktrace
20083 maybe-maintainer-clean-libbacktrace:
20084 @if libbacktrace
20085 maybe-maintainer-clean-libbacktrace: maintainer-clean-libbacktrace
20087 maintainer-clean-libbacktrace:
20088 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20089 r=`${PWD_COMMAND}`; export r; \
20090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20091 $(HOST_EXPORTS) \
20092 for flag in $(EXTRA_HOST_FLAGS) ; do \
20093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20094 done; \
20095 echo "Doing maintainer-clean in libbacktrace" ; \
20096 (cd $(HOST_SUBDIR)/libbacktrace && \
20097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20099 "RANLIB=$${RANLIB}" \
20100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20101 maintainer-clean) \
20102 || exit 1
20104 @endif libbacktrace
20108 .PHONY: configure-libcpp maybe-configure-libcpp
20109 maybe-configure-libcpp:
20110 @if gcc-bootstrap
20111 configure-libcpp: stage_current
20112 @endif gcc-bootstrap
20113 @if libcpp
20114 maybe-configure-libcpp: configure-libcpp
20115 configure-libcpp:
20116 @r=`${PWD_COMMAND}`; export r; \
20117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20118 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20119 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20120 $(HOST_EXPORTS) \
20121 echo Configuring in $(HOST_SUBDIR)/libcpp; \
20122 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
20123 case $(srcdir) in \
20124 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20125 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20126 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20127 esac; \
20128 module_srcdir=libcpp; \
20129 $(SHELL) \
20130 $$s/$$module_srcdir/configure \
20131 --srcdir=$${topdir}/$$module_srcdir \
20132 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20133 --target=${target_alias} \
20134 || exit 1
20135 @endif libcpp
20139 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
20140 maybe-configure-stage1-libcpp:
20141 @if libcpp-bootstrap
20142 maybe-configure-stage1-libcpp: configure-stage1-libcpp
20143 configure-stage1-libcpp:
20144 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20145 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20146 @r=`${PWD_COMMAND}`; export r; \
20147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20148 TFLAGS="$(STAGE1_TFLAGS)"; \
20149 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20150 $(HOST_EXPORTS) \
20151 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
20152 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
20153 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
20154 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp ; \
20155 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20156 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20157 case $(srcdir) in \
20158 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20159 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20160 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20161 esac; \
20162 module_srcdir=libcpp; \
20163 $(SHELL) $$s/$$module_srcdir/configure \
20164 --srcdir=$${topdir}/$$module_srcdir \
20165 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20166 --target=${target_alias} \
20168 $(STAGE1_CONFIGURE_FLAGS)
20169 @endif libcpp-bootstrap
20171 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
20172 maybe-configure-stage2-libcpp:
20173 @if libcpp-bootstrap
20174 maybe-configure-stage2-libcpp: configure-stage2-libcpp
20175 configure-stage2-libcpp:
20176 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20177 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20178 @r=`${PWD_COMMAND}`; export r; \
20179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20180 TFLAGS="$(STAGE2_TFLAGS)"; \
20181 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20182 $(HOST_EXPORTS) \
20183 $(POSTSTAGE1_HOST_EXPORTS) \
20184 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
20185 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
20186 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
20187 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp ; \
20188 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20189 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20190 case $(srcdir) in \
20191 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20192 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20193 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20194 esac; \
20195 module_srcdir=libcpp; \
20196 $(SHELL) $$s/$$module_srcdir/configure \
20197 --srcdir=$${topdir}/$$module_srcdir \
20198 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20199 --target=${target_alias} \
20200 --with-build-libsubdir=$(HOST_SUBDIR) \
20201 $(STAGE2_CONFIGURE_FLAGS)
20202 @endif libcpp-bootstrap
20204 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
20205 maybe-configure-stage3-libcpp:
20206 @if libcpp-bootstrap
20207 maybe-configure-stage3-libcpp: configure-stage3-libcpp
20208 configure-stage3-libcpp:
20209 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20210 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20211 @r=`${PWD_COMMAND}`; export r; \
20212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20213 TFLAGS="$(STAGE3_TFLAGS)"; \
20214 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20215 $(HOST_EXPORTS) \
20216 $(POSTSTAGE1_HOST_EXPORTS) \
20217 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
20218 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
20219 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
20220 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp ; \
20221 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20222 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20223 case $(srcdir) in \
20224 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20225 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20226 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20227 esac; \
20228 module_srcdir=libcpp; \
20229 $(SHELL) $$s/$$module_srcdir/configure \
20230 --srcdir=$${topdir}/$$module_srcdir \
20231 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20232 --target=${target_alias} \
20233 --with-build-libsubdir=$(HOST_SUBDIR) \
20234 $(STAGE3_CONFIGURE_FLAGS)
20235 @endif libcpp-bootstrap
20237 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
20238 maybe-configure-stage4-libcpp:
20239 @if libcpp-bootstrap
20240 maybe-configure-stage4-libcpp: configure-stage4-libcpp
20241 configure-stage4-libcpp:
20242 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20243 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20244 @r=`${PWD_COMMAND}`; export r; \
20245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20246 TFLAGS="$(STAGE4_TFLAGS)"; \
20247 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20248 $(HOST_EXPORTS) \
20249 $(POSTSTAGE1_HOST_EXPORTS) \
20250 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
20251 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
20252 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
20253 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp ; \
20254 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20255 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20256 case $(srcdir) in \
20257 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20258 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20259 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20260 esac; \
20261 module_srcdir=libcpp; \
20262 $(SHELL) $$s/$$module_srcdir/configure \
20263 --srcdir=$${topdir}/$$module_srcdir \
20264 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20265 --target=${target_alias} \
20266 --with-build-libsubdir=$(HOST_SUBDIR) \
20267 $(STAGE4_CONFIGURE_FLAGS)
20268 @endif libcpp-bootstrap
20270 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
20271 maybe-configure-stageprofile-libcpp:
20272 @if libcpp-bootstrap
20273 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
20274 configure-stageprofile-libcpp:
20275 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20276 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20277 @r=`${PWD_COMMAND}`; export r; \
20278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20279 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20280 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20281 $(HOST_EXPORTS) \
20282 $(POSTSTAGE1_HOST_EXPORTS) \
20283 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
20284 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
20285 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
20286 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp ; \
20287 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20288 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20289 case $(srcdir) in \
20290 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20291 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20292 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20293 esac; \
20294 module_srcdir=libcpp; \
20295 $(SHELL) $$s/$$module_srcdir/configure \
20296 --srcdir=$${topdir}/$$module_srcdir \
20297 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20298 --target=${target_alias} \
20299 --with-build-libsubdir=$(HOST_SUBDIR) \
20300 $(STAGEprofile_CONFIGURE_FLAGS)
20301 @endif libcpp-bootstrap
20303 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
20304 maybe-configure-stagefeedback-libcpp:
20305 @if libcpp-bootstrap
20306 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
20307 configure-stagefeedback-libcpp:
20308 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20309 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20310 @r=`${PWD_COMMAND}`; export r; \
20311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20312 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20313 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20314 $(HOST_EXPORTS) \
20315 $(POSTSTAGE1_HOST_EXPORTS) \
20316 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
20317 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
20318 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
20319 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp ; \
20320 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20321 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20322 case $(srcdir) in \
20323 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20324 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20325 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20326 esac; \
20327 module_srcdir=libcpp; \
20328 $(SHELL) $$s/$$module_srcdir/configure \
20329 --srcdir=$${topdir}/$$module_srcdir \
20330 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20331 --target=${target_alias} \
20332 --with-build-libsubdir=$(HOST_SUBDIR) \
20333 $(STAGEfeedback_CONFIGURE_FLAGS)
20334 @endif libcpp-bootstrap
20340 .PHONY: all-libcpp maybe-all-libcpp
20341 maybe-all-libcpp:
20342 @if gcc-bootstrap
20343 all-libcpp: stage_current
20344 @endif gcc-bootstrap
20345 @if libcpp
20346 TARGET-libcpp=all
20347 maybe-all-libcpp: all-libcpp
20348 all-libcpp: configure-libcpp
20349 @r=`${PWD_COMMAND}`; export r; \
20350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20351 $(HOST_EXPORTS) \
20352 (cd $(HOST_SUBDIR)/libcpp && \
20353 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
20354 $(TARGET-libcpp))
20355 @endif libcpp
20359 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
20360 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
20361 maybe-all-stage1-libcpp:
20362 maybe-clean-stage1-libcpp:
20363 @if libcpp-bootstrap
20364 maybe-all-stage1-libcpp: all-stage1-libcpp
20365 all-stage1: all-stage1-libcpp
20366 TARGET-stage1-libcpp = $(TARGET-libcpp)
20367 all-stage1-libcpp: configure-stage1-libcpp
20368 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20369 @r=`${PWD_COMMAND}`; export r; \
20370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20371 TFLAGS="$(STAGE1_TFLAGS)"; \
20372 $(HOST_EXPORTS) \
20373 cd $(HOST_SUBDIR)/libcpp && \
20374 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20375 CFLAGS="$(STAGE1_CFLAGS)" \
20376 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
20377 LIBCFLAGS="$(LIBCFLAGS)" \
20378 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20379 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20380 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20381 $(EXTRA_HOST_FLAGS) \
20382 $(STAGE1_FLAGS_TO_PASS) \
20383 TFLAGS="$(STAGE1_TFLAGS)" \
20384 $(TARGET-stage1-libcpp)
20386 maybe-clean-stage1-libcpp: clean-stage1-libcpp
20387 clean-stage1: clean-stage1-libcpp
20388 clean-stage1-libcpp:
20389 @if [ $(current_stage) = stage1 ]; then \
20390 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20391 else \
20392 [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] || exit 0; \
20393 $(MAKE) stage1-start; \
20394 fi; \
20395 cd $(HOST_SUBDIR)/libcpp && \
20396 $(MAKE) $(EXTRA_HOST_FLAGS) \
20397 $(STAGE1_FLAGS_TO_PASS) clean
20398 @endif libcpp-bootstrap
20401 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
20402 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
20403 maybe-all-stage2-libcpp:
20404 maybe-clean-stage2-libcpp:
20405 @if libcpp-bootstrap
20406 maybe-all-stage2-libcpp: all-stage2-libcpp
20407 all-stage2: all-stage2-libcpp
20408 TARGET-stage2-libcpp = $(TARGET-libcpp)
20409 all-stage2-libcpp: configure-stage2-libcpp
20410 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20411 @r=`${PWD_COMMAND}`; export r; \
20412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20413 TFLAGS="$(STAGE2_TFLAGS)"; \
20414 $(HOST_EXPORTS) \
20415 $(POSTSTAGE1_HOST_EXPORTS) \
20416 cd $(HOST_SUBDIR)/libcpp && \
20417 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20418 CFLAGS="$(STAGE2_CFLAGS)" \
20419 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
20420 LIBCFLAGS="$(STAGE2_CFLAGS)" \
20421 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20422 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20423 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20424 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20425 TFLAGS="$(STAGE2_TFLAGS)" \
20426 $(TARGET-stage2-libcpp)
20428 maybe-clean-stage2-libcpp: clean-stage2-libcpp
20429 clean-stage2: clean-stage2-libcpp
20430 clean-stage2-libcpp:
20431 @if [ $(current_stage) = stage2 ]; then \
20432 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20433 else \
20434 [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] || exit 0; \
20435 $(MAKE) stage2-start; \
20436 fi; \
20437 cd $(HOST_SUBDIR)/libcpp && \
20438 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20439 @endif libcpp-bootstrap
20442 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
20443 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
20444 maybe-all-stage3-libcpp:
20445 maybe-clean-stage3-libcpp:
20446 @if libcpp-bootstrap
20447 maybe-all-stage3-libcpp: all-stage3-libcpp
20448 all-stage3: all-stage3-libcpp
20449 TARGET-stage3-libcpp = $(TARGET-libcpp)
20450 all-stage3-libcpp: configure-stage3-libcpp
20451 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20452 @r=`${PWD_COMMAND}`; export r; \
20453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20454 TFLAGS="$(STAGE3_TFLAGS)"; \
20455 $(HOST_EXPORTS) \
20456 $(POSTSTAGE1_HOST_EXPORTS) \
20457 cd $(HOST_SUBDIR)/libcpp && \
20458 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20459 CFLAGS="$(STAGE3_CFLAGS)" \
20460 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
20461 LIBCFLAGS="$(STAGE3_CFLAGS)" \
20462 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20463 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20464 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20465 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20466 TFLAGS="$(STAGE3_TFLAGS)" \
20467 $(TARGET-stage3-libcpp)
20469 maybe-clean-stage3-libcpp: clean-stage3-libcpp
20470 clean-stage3: clean-stage3-libcpp
20471 clean-stage3-libcpp:
20472 @if [ $(current_stage) = stage3 ]; then \
20473 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20474 else \
20475 [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] || exit 0; \
20476 $(MAKE) stage3-start; \
20477 fi; \
20478 cd $(HOST_SUBDIR)/libcpp && \
20479 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20480 @endif libcpp-bootstrap
20483 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
20484 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
20485 maybe-all-stage4-libcpp:
20486 maybe-clean-stage4-libcpp:
20487 @if libcpp-bootstrap
20488 maybe-all-stage4-libcpp: all-stage4-libcpp
20489 all-stage4: all-stage4-libcpp
20490 TARGET-stage4-libcpp = $(TARGET-libcpp)
20491 all-stage4-libcpp: configure-stage4-libcpp
20492 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20493 @r=`${PWD_COMMAND}`; export r; \
20494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20495 TFLAGS="$(STAGE4_TFLAGS)"; \
20496 $(HOST_EXPORTS) \
20497 $(POSTSTAGE1_HOST_EXPORTS) \
20498 cd $(HOST_SUBDIR)/libcpp && \
20499 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20500 CFLAGS="$(STAGE4_CFLAGS)" \
20501 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
20502 LIBCFLAGS="$(STAGE4_CFLAGS)" \
20503 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20504 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20505 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20506 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20507 TFLAGS="$(STAGE4_TFLAGS)" \
20508 $(TARGET-stage4-libcpp)
20510 maybe-clean-stage4-libcpp: clean-stage4-libcpp
20511 clean-stage4: clean-stage4-libcpp
20512 clean-stage4-libcpp:
20513 @if [ $(current_stage) = stage4 ]; then \
20514 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20515 else \
20516 [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] || exit 0; \
20517 $(MAKE) stage4-start; \
20518 fi; \
20519 cd $(HOST_SUBDIR)/libcpp && \
20520 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20521 @endif libcpp-bootstrap
20524 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
20525 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
20526 maybe-all-stageprofile-libcpp:
20527 maybe-clean-stageprofile-libcpp:
20528 @if libcpp-bootstrap
20529 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
20530 all-stageprofile: all-stageprofile-libcpp
20531 TARGET-stageprofile-libcpp = $(TARGET-libcpp)
20532 all-stageprofile-libcpp: configure-stageprofile-libcpp
20533 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20534 @r=`${PWD_COMMAND}`; export r; \
20535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20536 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20537 $(HOST_EXPORTS) \
20538 $(POSTSTAGE1_HOST_EXPORTS) \
20539 cd $(HOST_SUBDIR)/libcpp && \
20540 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20541 CFLAGS="$(STAGEprofile_CFLAGS)" \
20542 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
20543 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
20544 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20545 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20546 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20547 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20548 TFLAGS="$(STAGEprofile_TFLAGS)" \
20549 $(TARGET-stageprofile-libcpp)
20551 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
20552 clean-stageprofile: clean-stageprofile-libcpp
20553 clean-stageprofile-libcpp:
20554 @if [ $(current_stage) = stageprofile ]; then \
20555 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20556 else \
20557 [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] || exit 0; \
20558 $(MAKE) stageprofile-start; \
20559 fi; \
20560 cd $(HOST_SUBDIR)/libcpp && \
20561 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20562 @endif libcpp-bootstrap
20565 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
20566 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
20567 maybe-all-stagefeedback-libcpp:
20568 maybe-clean-stagefeedback-libcpp:
20569 @if libcpp-bootstrap
20570 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
20571 all-stagefeedback: all-stagefeedback-libcpp
20572 TARGET-stagefeedback-libcpp = $(TARGET-libcpp)
20573 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
20574 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20575 @r=`${PWD_COMMAND}`; export r; \
20576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20577 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20578 $(HOST_EXPORTS) \
20579 $(POSTSTAGE1_HOST_EXPORTS) \
20580 cd $(HOST_SUBDIR)/libcpp && \
20581 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20582 CFLAGS="$(STAGEfeedback_CFLAGS)" \
20583 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
20584 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
20585 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20586 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20587 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20588 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20589 TFLAGS="$(STAGEfeedback_TFLAGS)" \
20590 $(TARGET-stagefeedback-libcpp)
20592 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
20593 clean-stagefeedback: clean-stagefeedback-libcpp
20594 clean-stagefeedback-libcpp:
20595 @if [ $(current_stage) = stagefeedback ]; then \
20596 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20597 else \
20598 [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] || exit 0; \
20599 $(MAKE) stagefeedback-start; \
20600 fi; \
20601 cd $(HOST_SUBDIR)/libcpp && \
20602 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20603 @endif libcpp-bootstrap
20609 .PHONY: check-libcpp maybe-check-libcpp
20610 maybe-check-libcpp:
20611 @if libcpp
20612 maybe-check-libcpp: check-libcpp
20614 check-libcpp:
20615 @: $(MAKE); $(unstage)
20616 @r=`${PWD_COMMAND}`; export r; \
20617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20618 $(HOST_EXPORTS) \
20619 (cd $(HOST_SUBDIR)/libcpp && \
20620 $(MAKE) $(FLAGS_TO_PASS) check)
20622 @endif libcpp
20624 .PHONY: install-libcpp maybe-install-libcpp
20625 maybe-install-libcpp:
20626 @if libcpp
20627 maybe-install-libcpp: install-libcpp
20629 install-libcpp: installdirs
20630 @: $(MAKE); $(unstage)
20631 @r=`${PWD_COMMAND}`; export r; \
20632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20633 $(HOST_EXPORTS) \
20634 (cd $(HOST_SUBDIR)/libcpp && \
20635 $(MAKE) $(FLAGS_TO_PASS) install)
20637 @endif libcpp
20639 .PHONY: install-strip-libcpp maybe-install-strip-libcpp
20640 maybe-install-strip-libcpp:
20641 @if libcpp
20642 maybe-install-strip-libcpp: install-strip-libcpp
20644 install-strip-libcpp: installdirs
20645 @: $(MAKE); $(unstage)
20646 @r=`${PWD_COMMAND}`; export r; \
20647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20648 $(HOST_EXPORTS) \
20649 (cd $(HOST_SUBDIR)/libcpp && \
20650 $(MAKE) $(FLAGS_TO_PASS) install-strip)
20652 @endif libcpp
20654 # Other targets (info, dvi, pdf, etc.)
20656 .PHONY: maybe-info-libcpp info-libcpp
20657 maybe-info-libcpp:
20658 @if libcpp
20659 maybe-info-libcpp: info-libcpp
20661 info-libcpp: \
20662 configure-libcpp
20663 @[ -f ./libcpp/Makefile ] || exit 0; \
20664 r=`${PWD_COMMAND}`; export r; \
20665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20666 $(HOST_EXPORTS) \
20667 for flag in $(EXTRA_HOST_FLAGS) ; do \
20668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20669 done; \
20670 echo "Doing info in libcpp" ; \
20671 (cd $(HOST_SUBDIR)/libcpp && \
20672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20674 "RANLIB=$${RANLIB}" \
20675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20676 info) \
20677 || exit 1
20679 @endif libcpp
20681 .PHONY: maybe-dvi-libcpp dvi-libcpp
20682 maybe-dvi-libcpp:
20683 @if libcpp
20684 maybe-dvi-libcpp: dvi-libcpp
20686 dvi-libcpp: \
20687 configure-libcpp
20688 @[ -f ./libcpp/Makefile ] || exit 0; \
20689 r=`${PWD_COMMAND}`; export r; \
20690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20691 $(HOST_EXPORTS) \
20692 for flag in $(EXTRA_HOST_FLAGS) ; do \
20693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20694 done; \
20695 echo "Doing dvi in libcpp" ; \
20696 (cd $(HOST_SUBDIR)/libcpp && \
20697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20699 "RANLIB=$${RANLIB}" \
20700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20701 dvi) \
20702 || exit 1
20704 @endif libcpp
20706 .PHONY: maybe-pdf-libcpp pdf-libcpp
20707 maybe-pdf-libcpp:
20708 @if libcpp
20709 maybe-pdf-libcpp: pdf-libcpp
20711 pdf-libcpp: \
20712 configure-libcpp
20713 @[ -f ./libcpp/Makefile ] || exit 0; \
20714 r=`${PWD_COMMAND}`; export r; \
20715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20716 $(HOST_EXPORTS) \
20717 for flag in $(EXTRA_HOST_FLAGS) ; do \
20718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20719 done; \
20720 echo "Doing pdf in libcpp" ; \
20721 (cd $(HOST_SUBDIR)/libcpp && \
20722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20724 "RANLIB=$${RANLIB}" \
20725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20726 pdf) \
20727 || exit 1
20729 @endif libcpp
20731 .PHONY: maybe-html-libcpp html-libcpp
20732 maybe-html-libcpp:
20733 @if libcpp
20734 maybe-html-libcpp: html-libcpp
20736 html-libcpp: \
20737 configure-libcpp
20738 @[ -f ./libcpp/Makefile ] || exit 0; \
20739 r=`${PWD_COMMAND}`; export r; \
20740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20741 $(HOST_EXPORTS) \
20742 for flag in $(EXTRA_HOST_FLAGS) ; do \
20743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20744 done; \
20745 echo "Doing html in libcpp" ; \
20746 (cd $(HOST_SUBDIR)/libcpp && \
20747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20749 "RANLIB=$${RANLIB}" \
20750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20751 html) \
20752 || exit 1
20754 @endif libcpp
20756 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
20757 maybe-TAGS-libcpp:
20758 @if libcpp
20759 maybe-TAGS-libcpp: TAGS-libcpp
20761 TAGS-libcpp: \
20762 configure-libcpp
20763 @[ -f ./libcpp/Makefile ] || exit 0; \
20764 r=`${PWD_COMMAND}`; export r; \
20765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20766 $(HOST_EXPORTS) \
20767 for flag in $(EXTRA_HOST_FLAGS) ; do \
20768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20769 done; \
20770 echo "Doing TAGS in libcpp" ; \
20771 (cd $(HOST_SUBDIR)/libcpp && \
20772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20774 "RANLIB=$${RANLIB}" \
20775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20776 TAGS) \
20777 || exit 1
20779 @endif libcpp
20781 .PHONY: maybe-install-info-libcpp install-info-libcpp
20782 maybe-install-info-libcpp:
20783 @if libcpp
20784 maybe-install-info-libcpp: install-info-libcpp
20786 install-info-libcpp: \
20787 configure-libcpp \
20788 info-libcpp
20789 @[ -f ./libcpp/Makefile ] || exit 0; \
20790 r=`${PWD_COMMAND}`; export r; \
20791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20792 $(HOST_EXPORTS) \
20793 for flag in $(EXTRA_HOST_FLAGS) ; do \
20794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20795 done; \
20796 echo "Doing install-info in libcpp" ; \
20797 (cd $(HOST_SUBDIR)/libcpp && \
20798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20800 "RANLIB=$${RANLIB}" \
20801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20802 install-info) \
20803 || exit 1
20805 @endif libcpp
20807 .PHONY: maybe-install-pdf-libcpp install-pdf-libcpp
20808 maybe-install-pdf-libcpp:
20809 @if libcpp
20810 maybe-install-pdf-libcpp: install-pdf-libcpp
20812 install-pdf-libcpp: \
20813 configure-libcpp \
20814 pdf-libcpp
20815 @[ -f ./libcpp/Makefile ] || exit 0; \
20816 r=`${PWD_COMMAND}`; export r; \
20817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20818 $(HOST_EXPORTS) \
20819 for flag in $(EXTRA_HOST_FLAGS) ; do \
20820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20821 done; \
20822 echo "Doing install-pdf in libcpp" ; \
20823 (cd $(HOST_SUBDIR)/libcpp && \
20824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20826 "RANLIB=$${RANLIB}" \
20827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20828 install-pdf) \
20829 || exit 1
20831 @endif libcpp
20833 .PHONY: maybe-install-html-libcpp install-html-libcpp
20834 maybe-install-html-libcpp:
20835 @if libcpp
20836 maybe-install-html-libcpp: install-html-libcpp
20838 install-html-libcpp: \
20839 configure-libcpp \
20840 html-libcpp
20841 @[ -f ./libcpp/Makefile ] || exit 0; \
20842 r=`${PWD_COMMAND}`; export r; \
20843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20844 $(HOST_EXPORTS) \
20845 for flag in $(EXTRA_HOST_FLAGS) ; do \
20846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20847 done; \
20848 echo "Doing install-html in libcpp" ; \
20849 (cd $(HOST_SUBDIR)/libcpp && \
20850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20852 "RANLIB=$${RANLIB}" \
20853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20854 install-html) \
20855 || exit 1
20857 @endif libcpp
20859 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
20860 maybe-installcheck-libcpp:
20861 @if libcpp
20862 maybe-installcheck-libcpp: installcheck-libcpp
20864 installcheck-libcpp: \
20865 configure-libcpp
20866 @[ -f ./libcpp/Makefile ] || exit 0; \
20867 r=`${PWD_COMMAND}`; export r; \
20868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20869 $(HOST_EXPORTS) \
20870 for flag in $(EXTRA_HOST_FLAGS) ; do \
20871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20872 done; \
20873 echo "Doing installcheck in libcpp" ; \
20874 (cd $(HOST_SUBDIR)/libcpp && \
20875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20877 "RANLIB=$${RANLIB}" \
20878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20879 installcheck) \
20880 || exit 1
20882 @endif libcpp
20884 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
20885 maybe-mostlyclean-libcpp:
20886 @if libcpp
20887 maybe-mostlyclean-libcpp: mostlyclean-libcpp
20889 mostlyclean-libcpp:
20890 @[ -f ./libcpp/Makefile ] || exit 0; \
20891 r=`${PWD_COMMAND}`; export r; \
20892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20893 $(HOST_EXPORTS) \
20894 for flag in $(EXTRA_HOST_FLAGS) ; do \
20895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20896 done; \
20897 echo "Doing mostlyclean in libcpp" ; \
20898 (cd $(HOST_SUBDIR)/libcpp && \
20899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20901 "RANLIB=$${RANLIB}" \
20902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20903 mostlyclean) \
20904 || exit 1
20906 @endif libcpp
20908 .PHONY: maybe-clean-libcpp clean-libcpp
20909 maybe-clean-libcpp:
20910 @if libcpp
20911 maybe-clean-libcpp: clean-libcpp
20913 clean-libcpp:
20914 @[ -f ./libcpp/Makefile ] || exit 0; \
20915 r=`${PWD_COMMAND}`; export r; \
20916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20917 $(HOST_EXPORTS) \
20918 for flag in $(EXTRA_HOST_FLAGS) ; do \
20919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20920 done; \
20921 echo "Doing clean in libcpp" ; \
20922 (cd $(HOST_SUBDIR)/libcpp && \
20923 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20924 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20925 "RANLIB=$${RANLIB}" \
20926 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20927 clean) \
20928 || exit 1
20930 @endif libcpp
20932 .PHONY: maybe-distclean-libcpp distclean-libcpp
20933 maybe-distclean-libcpp:
20934 @if libcpp
20935 maybe-distclean-libcpp: distclean-libcpp
20937 distclean-libcpp:
20938 @[ -f ./libcpp/Makefile ] || exit 0; \
20939 r=`${PWD_COMMAND}`; export r; \
20940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20941 $(HOST_EXPORTS) \
20942 for flag in $(EXTRA_HOST_FLAGS) ; do \
20943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20944 done; \
20945 echo "Doing distclean in libcpp" ; \
20946 (cd $(HOST_SUBDIR)/libcpp && \
20947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20949 "RANLIB=$${RANLIB}" \
20950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20951 distclean) \
20952 || exit 1
20954 @endif libcpp
20956 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
20957 maybe-maintainer-clean-libcpp:
20958 @if libcpp
20959 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
20961 maintainer-clean-libcpp:
20962 @[ -f ./libcpp/Makefile ] || exit 0; \
20963 r=`${PWD_COMMAND}`; export r; \
20964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20965 $(HOST_EXPORTS) \
20966 for flag in $(EXTRA_HOST_FLAGS) ; do \
20967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20968 done; \
20969 echo "Doing maintainer-clean in libcpp" ; \
20970 (cd $(HOST_SUBDIR)/libcpp && \
20971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20973 "RANLIB=$${RANLIB}" \
20974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20975 maintainer-clean) \
20976 || exit 1
20978 @endif libcpp
20982 .PHONY: configure-libdecnumber maybe-configure-libdecnumber
20983 maybe-configure-libdecnumber:
20984 @if gcc-bootstrap
20985 configure-libdecnumber: stage_current
20986 @endif gcc-bootstrap
20987 @if libdecnumber
20988 maybe-configure-libdecnumber: configure-libdecnumber
20989 configure-libdecnumber:
20990 @r=`${PWD_COMMAND}`; export r; \
20991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20992 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
20993 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
20994 $(HOST_EXPORTS) \
20995 echo Configuring in $(HOST_SUBDIR)/libdecnumber; \
20996 cd "$(HOST_SUBDIR)/libdecnumber" || exit 1; \
20997 case $(srcdir) in \
20998 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20999 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21000 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21001 esac; \
21002 module_srcdir=libdecnumber; \
21003 $(SHELL) \
21004 $$s/$$module_srcdir/configure \
21005 --srcdir=$${topdir}/$$module_srcdir \
21006 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21007 --target=${target_alias} \
21008 || exit 1
21009 @endif libdecnumber
21013 .PHONY: configure-stage1-libdecnumber maybe-configure-stage1-libdecnumber
21014 maybe-configure-stage1-libdecnumber:
21015 @if libdecnumber-bootstrap
21016 maybe-configure-stage1-libdecnumber: configure-stage1-libdecnumber
21017 configure-stage1-libdecnumber:
21018 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
21019 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21020 @r=`${PWD_COMMAND}`; export r; \
21021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21022 TFLAGS="$(STAGE1_TFLAGS)"; \
21023 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21024 $(HOST_EXPORTS) \
21025 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
21026 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
21027 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
21028 echo Configuring stage 1 in $(HOST_SUBDIR)/libdecnumber ; \
21029 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21030 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21031 case $(srcdir) in \
21032 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21033 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21034 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21035 esac; \
21036 module_srcdir=libdecnumber; \
21037 $(SHELL) $$s/$$module_srcdir/configure \
21038 --srcdir=$${topdir}/$$module_srcdir \
21039 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21040 --target=${target_alias} \
21042 $(STAGE1_CONFIGURE_FLAGS)
21043 @endif libdecnumber-bootstrap
21045 .PHONY: configure-stage2-libdecnumber maybe-configure-stage2-libdecnumber
21046 maybe-configure-stage2-libdecnumber:
21047 @if libdecnumber-bootstrap
21048 maybe-configure-stage2-libdecnumber: configure-stage2-libdecnumber
21049 configure-stage2-libdecnumber:
21050 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
21051 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21052 @r=`${PWD_COMMAND}`; export r; \
21053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21054 TFLAGS="$(STAGE2_TFLAGS)"; \
21055 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21056 $(HOST_EXPORTS) \
21057 $(POSTSTAGE1_HOST_EXPORTS) \
21058 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
21059 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
21060 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
21061 echo Configuring stage 2 in $(HOST_SUBDIR)/libdecnumber ; \
21062 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21063 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21064 case $(srcdir) in \
21065 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21066 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21067 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21068 esac; \
21069 module_srcdir=libdecnumber; \
21070 $(SHELL) $$s/$$module_srcdir/configure \
21071 --srcdir=$${topdir}/$$module_srcdir \
21072 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21073 --target=${target_alias} \
21074 --with-build-libsubdir=$(HOST_SUBDIR) \
21075 $(STAGE2_CONFIGURE_FLAGS)
21076 @endif libdecnumber-bootstrap
21078 .PHONY: configure-stage3-libdecnumber maybe-configure-stage3-libdecnumber
21079 maybe-configure-stage3-libdecnumber:
21080 @if libdecnumber-bootstrap
21081 maybe-configure-stage3-libdecnumber: configure-stage3-libdecnumber
21082 configure-stage3-libdecnumber:
21083 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
21084 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21085 @r=`${PWD_COMMAND}`; export r; \
21086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21087 TFLAGS="$(STAGE3_TFLAGS)"; \
21088 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21089 $(HOST_EXPORTS) \
21090 $(POSTSTAGE1_HOST_EXPORTS) \
21091 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
21092 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
21093 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
21094 echo Configuring stage 3 in $(HOST_SUBDIR)/libdecnumber ; \
21095 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21096 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21097 case $(srcdir) in \
21098 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21099 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21100 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21101 esac; \
21102 module_srcdir=libdecnumber; \
21103 $(SHELL) $$s/$$module_srcdir/configure \
21104 --srcdir=$${topdir}/$$module_srcdir \
21105 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21106 --target=${target_alias} \
21107 --with-build-libsubdir=$(HOST_SUBDIR) \
21108 $(STAGE3_CONFIGURE_FLAGS)
21109 @endif libdecnumber-bootstrap
21111 .PHONY: configure-stage4-libdecnumber maybe-configure-stage4-libdecnumber
21112 maybe-configure-stage4-libdecnumber:
21113 @if libdecnumber-bootstrap
21114 maybe-configure-stage4-libdecnumber: configure-stage4-libdecnumber
21115 configure-stage4-libdecnumber:
21116 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
21117 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21118 @r=`${PWD_COMMAND}`; export r; \
21119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21120 TFLAGS="$(STAGE4_TFLAGS)"; \
21121 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21122 $(HOST_EXPORTS) \
21123 $(POSTSTAGE1_HOST_EXPORTS) \
21124 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
21125 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
21126 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
21127 echo Configuring stage 4 in $(HOST_SUBDIR)/libdecnumber ; \
21128 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21129 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21130 case $(srcdir) in \
21131 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21132 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21133 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21134 esac; \
21135 module_srcdir=libdecnumber; \
21136 $(SHELL) $$s/$$module_srcdir/configure \
21137 --srcdir=$${topdir}/$$module_srcdir \
21138 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21139 --target=${target_alias} \
21140 --with-build-libsubdir=$(HOST_SUBDIR) \
21141 $(STAGE4_CONFIGURE_FLAGS)
21142 @endif libdecnumber-bootstrap
21144 .PHONY: configure-stageprofile-libdecnumber maybe-configure-stageprofile-libdecnumber
21145 maybe-configure-stageprofile-libdecnumber:
21146 @if libdecnumber-bootstrap
21147 maybe-configure-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
21148 configure-stageprofile-libdecnumber:
21149 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
21150 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21151 @r=`${PWD_COMMAND}`; export r; \
21152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21153 TFLAGS="$(STAGEprofile_TFLAGS)"; \
21154 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21155 $(HOST_EXPORTS) \
21156 $(POSTSTAGE1_HOST_EXPORTS) \
21157 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
21158 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
21159 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
21160 echo Configuring stage profile in $(HOST_SUBDIR)/libdecnumber ; \
21161 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21162 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21163 case $(srcdir) in \
21164 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21165 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21166 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21167 esac; \
21168 module_srcdir=libdecnumber; \
21169 $(SHELL) $$s/$$module_srcdir/configure \
21170 --srcdir=$${topdir}/$$module_srcdir \
21171 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21172 --target=${target_alias} \
21173 --with-build-libsubdir=$(HOST_SUBDIR) \
21174 $(STAGEprofile_CONFIGURE_FLAGS)
21175 @endif libdecnumber-bootstrap
21177 .PHONY: configure-stagefeedback-libdecnumber maybe-configure-stagefeedback-libdecnumber
21178 maybe-configure-stagefeedback-libdecnumber:
21179 @if libdecnumber-bootstrap
21180 maybe-configure-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
21181 configure-stagefeedback-libdecnumber:
21182 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
21183 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21184 @r=`${PWD_COMMAND}`; export r; \
21185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21186 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
21187 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21188 $(HOST_EXPORTS) \
21189 $(POSTSTAGE1_HOST_EXPORTS) \
21190 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
21191 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
21192 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
21193 echo Configuring stage feedback in $(HOST_SUBDIR)/libdecnumber ; \
21194 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21195 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21196 case $(srcdir) in \
21197 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21198 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21199 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21200 esac; \
21201 module_srcdir=libdecnumber; \
21202 $(SHELL) $$s/$$module_srcdir/configure \
21203 --srcdir=$${topdir}/$$module_srcdir \
21204 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21205 --target=${target_alias} \
21206 --with-build-libsubdir=$(HOST_SUBDIR) \
21207 $(STAGEfeedback_CONFIGURE_FLAGS)
21208 @endif libdecnumber-bootstrap
21214 .PHONY: all-libdecnumber maybe-all-libdecnumber
21215 maybe-all-libdecnumber:
21216 @if gcc-bootstrap
21217 all-libdecnumber: stage_current
21218 @endif gcc-bootstrap
21219 @if libdecnumber
21220 TARGET-libdecnumber=all
21221 maybe-all-libdecnumber: all-libdecnumber
21222 all-libdecnumber: configure-libdecnumber
21223 @r=`${PWD_COMMAND}`; export r; \
21224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21225 $(HOST_EXPORTS) \
21226 (cd $(HOST_SUBDIR)/libdecnumber && \
21227 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
21228 $(TARGET-libdecnumber))
21229 @endif libdecnumber
21233 .PHONY: all-stage1-libdecnumber maybe-all-stage1-libdecnumber
21234 .PHONY: clean-stage1-libdecnumber maybe-clean-stage1-libdecnumber
21235 maybe-all-stage1-libdecnumber:
21236 maybe-clean-stage1-libdecnumber:
21237 @if libdecnumber-bootstrap
21238 maybe-all-stage1-libdecnumber: all-stage1-libdecnumber
21239 all-stage1: all-stage1-libdecnumber
21240 TARGET-stage1-libdecnumber = $(TARGET-libdecnumber)
21241 all-stage1-libdecnumber: configure-stage1-libdecnumber
21242 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
21243 @r=`${PWD_COMMAND}`; export r; \
21244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21245 TFLAGS="$(STAGE1_TFLAGS)"; \
21246 $(HOST_EXPORTS) \
21247 cd $(HOST_SUBDIR)/libdecnumber && \
21248 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21249 CFLAGS="$(STAGE1_CFLAGS)" \
21250 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
21251 LIBCFLAGS="$(LIBCFLAGS)" \
21252 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21253 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21254 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21255 $(EXTRA_HOST_FLAGS) \
21256 $(STAGE1_FLAGS_TO_PASS) \
21257 TFLAGS="$(STAGE1_TFLAGS)" \
21258 $(TARGET-stage1-libdecnumber)
21260 maybe-clean-stage1-libdecnumber: clean-stage1-libdecnumber
21261 clean-stage1: clean-stage1-libdecnumber
21262 clean-stage1-libdecnumber:
21263 @if [ $(current_stage) = stage1 ]; then \
21264 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21265 else \
21266 [ -f $(HOST_SUBDIR)/stage1-libdecnumber/Makefile ] || exit 0; \
21267 $(MAKE) stage1-start; \
21268 fi; \
21269 cd $(HOST_SUBDIR)/libdecnumber && \
21270 $(MAKE) $(EXTRA_HOST_FLAGS) \
21271 $(STAGE1_FLAGS_TO_PASS) clean
21272 @endif libdecnumber-bootstrap
21275 .PHONY: all-stage2-libdecnumber maybe-all-stage2-libdecnumber
21276 .PHONY: clean-stage2-libdecnumber maybe-clean-stage2-libdecnumber
21277 maybe-all-stage2-libdecnumber:
21278 maybe-clean-stage2-libdecnumber:
21279 @if libdecnumber-bootstrap
21280 maybe-all-stage2-libdecnumber: all-stage2-libdecnumber
21281 all-stage2: all-stage2-libdecnumber
21282 TARGET-stage2-libdecnumber = $(TARGET-libdecnumber)
21283 all-stage2-libdecnumber: configure-stage2-libdecnumber
21284 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
21285 @r=`${PWD_COMMAND}`; export r; \
21286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21287 TFLAGS="$(STAGE2_TFLAGS)"; \
21288 $(HOST_EXPORTS) \
21289 $(POSTSTAGE1_HOST_EXPORTS) \
21290 cd $(HOST_SUBDIR)/libdecnumber && \
21291 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21292 CFLAGS="$(STAGE2_CFLAGS)" \
21293 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
21294 LIBCFLAGS="$(STAGE2_CFLAGS)" \
21295 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21296 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21297 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21298 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21299 TFLAGS="$(STAGE2_TFLAGS)" \
21300 $(TARGET-stage2-libdecnumber)
21302 maybe-clean-stage2-libdecnumber: clean-stage2-libdecnumber
21303 clean-stage2: clean-stage2-libdecnumber
21304 clean-stage2-libdecnumber:
21305 @if [ $(current_stage) = stage2 ]; then \
21306 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21307 else \
21308 [ -f $(HOST_SUBDIR)/stage2-libdecnumber/Makefile ] || exit 0; \
21309 $(MAKE) stage2-start; \
21310 fi; \
21311 cd $(HOST_SUBDIR)/libdecnumber && \
21312 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21313 @endif libdecnumber-bootstrap
21316 .PHONY: all-stage3-libdecnumber maybe-all-stage3-libdecnumber
21317 .PHONY: clean-stage3-libdecnumber maybe-clean-stage3-libdecnumber
21318 maybe-all-stage3-libdecnumber:
21319 maybe-clean-stage3-libdecnumber:
21320 @if libdecnumber-bootstrap
21321 maybe-all-stage3-libdecnumber: all-stage3-libdecnumber
21322 all-stage3: all-stage3-libdecnumber
21323 TARGET-stage3-libdecnumber = $(TARGET-libdecnumber)
21324 all-stage3-libdecnumber: configure-stage3-libdecnumber
21325 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
21326 @r=`${PWD_COMMAND}`; export r; \
21327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21328 TFLAGS="$(STAGE3_TFLAGS)"; \
21329 $(HOST_EXPORTS) \
21330 $(POSTSTAGE1_HOST_EXPORTS) \
21331 cd $(HOST_SUBDIR)/libdecnumber && \
21332 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21333 CFLAGS="$(STAGE3_CFLAGS)" \
21334 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
21335 LIBCFLAGS="$(STAGE3_CFLAGS)" \
21336 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21337 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21338 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21339 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21340 TFLAGS="$(STAGE3_TFLAGS)" \
21341 $(TARGET-stage3-libdecnumber)
21343 maybe-clean-stage3-libdecnumber: clean-stage3-libdecnumber
21344 clean-stage3: clean-stage3-libdecnumber
21345 clean-stage3-libdecnumber:
21346 @if [ $(current_stage) = stage3 ]; then \
21347 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21348 else \
21349 [ -f $(HOST_SUBDIR)/stage3-libdecnumber/Makefile ] || exit 0; \
21350 $(MAKE) stage3-start; \
21351 fi; \
21352 cd $(HOST_SUBDIR)/libdecnumber && \
21353 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21354 @endif libdecnumber-bootstrap
21357 .PHONY: all-stage4-libdecnumber maybe-all-stage4-libdecnumber
21358 .PHONY: clean-stage4-libdecnumber maybe-clean-stage4-libdecnumber
21359 maybe-all-stage4-libdecnumber:
21360 maybe-clean-stage4-libdecnumber:
21361 @if libdecnumber-bootstrap
21362 maybe-all-stage4-libdecnumber: all-stage4-libdecnumber
21363 all-stage4: all-stage4-libdecnumber
21364 TARGET-stage4-libdecnumber = $(TARGET-libdecnumber)
21365 all-stage4-libdecnumber: configure-stage4-libdecnumber
21366 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
21367 @r=`${PWD_COMMAND}`; export r; \
21368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21369 TFLAGS="$(STAGE4_TFLAGS)"; \
21370 $(HOST_EXPORTS) \
21371 $(POSTSTAGE1_HOST_EXPORTS) \
21372 cd $(HOST_SUBDIR)/libdecnumber && \
21373 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21374 CFLAGS="$(STAGE4_CFLAGS)" \
21375 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
21376 LIBCFLAGS="$(STAGE4_CFLAGS)" \
21377 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21378 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21379 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21380 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21381 TFLAGS="$(STAGE4_TFLAGS)" \
21382 $(TARGET-stage4-libdecnumber)
21384 maybe-clean-stage4-libdecnumber: clean-stage4-libdecnumber
21385 clean-stage4: clean-stage4-libdecnumber
21386 clean-stage4-libdecnumber:
21387 @if [ $(current_stage) = stage4 ]; then \
21388 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21389 else \
21390 [ -f $(HOST_SUBDIR)/stage4-libdecnumber/Makefile ] || exit 0; \
21391 $(MAKE) stage4-start; \
21392 fi; \
21393 cd $(HOST_SUBDIR)/libdecnumber && \
21394 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21395 @endif libdecnumber-bootstrap
21398 .PHONY: all-stageprofile-libdecnumber maybe-all-stageprofile-libdecnumber
21399 .PHONY: clean-stageprofile-libdecnumber maybe-clean-stageprofile-libdecnumber
21400 maybe-all-stageprofile-libdecnumber:
21401 maybe-clean-stageprofile-libdecnumber:
21402 @if libdecnumber-bootstrap
21403 maybe-all-stageprofile-libdecnumber: all-stageprofile-libdecnumber
21404 all-stageprofile: all-stageprofile-libdecnumber
21405 TARGET-stageprofile-libdecnumber = $(TARGET-libdecnumber)
21406 all-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
21407 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
21408 @r=`${PWD_COMMAND}`; export r; \
21409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21410 TFLAGS="$(STAGEprofile_TFLAGS)"; \
21411 $(HOST_EXPORTS) \
21412 $(POSTSTAGE1_HOST_EXPORTS) \
21413 cd $(HOST_SUBDIR)/libdecnumber && \
21414 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21415 CFLAGS="$(STAGEprofile_CFLAGS)" \
21416 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
21417 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
21418 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21419 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21420 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21421 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21422 TFLAGS="$(STAGEprofile_TFLAGS)" \
21423 $(TARGET-stageprofile-libdecnumber)
21425 maybe-clean-stageprofile-libdecnumber: clean-stageprofile-libdecnumber
21426 clean-stageprofile: clean-stageprofile-libdecnumber
21427 clean-stageprofile-libdecnumber:
21428 @if [ $(current_stage) = stageprofile ]; then \
21429 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21430 else \
21431 [ -f $(HOST_SUBDIR)/stageprofile-libdecnumber/Makefile ] || exit 0; \
21432 $(MAKE) stageprofile-start; \
21433 fi; \
21434 cd $(HOST_SUBDIR)/libdecnumber && \
21435 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21436 @endif libdecnumber-bootstrap
21439 .PHONY: all-stagefeedback-libdecnumber maybe-all-stagefeedback-libdecnumber
21440 .PHONY: clean-stagefeedback-libdecnumber maybe-clean-stagefeedback-libdecnumber
21441 maybe-all-stagefeedback-libdecnumber:
21442 maybe-clean-stagefeedback-libdecnumber:
21443 @if libdecnumber-bootstrap
21444 maybe-all-stagefeedback-libdecnumber: all-stagefeedback-libdecnumber
21445 all-stagefeedback: all-stagefeedback-libdecnumber
21446 TARGET-stagefeedback-libdecnumber = $(TARGET-libdecnumber)
21447 all-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
21448 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
21449 @r=`${PWD_COMMAND}`; export r; \
21450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21451 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
21452 $(HOST_EXPORTS) \
21453 $(POSTSTAGE1_HOST_EXPORTS) \
21454 cd $(HOST_SUBDIR)/libdecnumber && \
21455 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21456 CFLAGS="$(STAGEfeedback_CFLAGS)" \
21457 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
21458 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
21459 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21460 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21461 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21462 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21463 TFLAGS="$(STAGEfeedback_TFLAGS)" \
21464 $(TARGET-stagefeedback-libdecnumber)
21466 maybe-clean-stagefeedback-libdecnumber: clean-stagefeedback-libdecnumber
21467 clean-stagefeedback: clean-stagefeedback-libdecnumber
21468 clean-stagefeedback-libdecnumber:
21469 @if [ $(current_stage) = stagefeedback ]; then \
21470 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21471 else \
21472 [ -f $(HOST_SUBDIR)/stagefeedback-libdecnumber/Makefile ] || exit 0; \
21473 $(MAKE) stagefeedback-start; \
21474 fi; \
21475 cd $(HOST_SUBDIR)/libdecnumber && \
21476 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21477 @endif libdecnumber-bootstrap
21483 .PHONY: check-libdecnumber maybe-check-libdecnumber
21484 maybe-check-libdecnumber:
21485 @if libdecnumber
21486 maybe-check-libdecnumber: check-libdecnumber
21488 check-libdecnumber:
21489 @: $(MAKE); $(unstage)
21490 @r=`${PWD_COMMAND}`; export r; \
21491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21492 $(HOST_EXPORTS) \
21493 (cd $(HOST_SUBDIR)/libdecnumber && \
21494 $(MAKE) $(FLAGS_TO_PASS) check)
21496 @endif libdecnumber
21498 .PHONY: install-libdecnumber maybe-install-libdecnumber
21499 maybe-install-libdecnumber:
21500 @if libdecnumber
21501 maybe-install-libdecnumber: install-libdecnumber
21503 install-libdecnumber: installdirs
21504 @: $(MAKE); $(unstage)
21505 @r=`${PWD_COMMAND}`; export r; \
21506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21507 $(HOST_EXPORTS) \
21508 (cd $(HOST_SUBDIR)/libdecnumber && \
21509 $(MAKE) $(FLAGS_TO_PASS) install)
21511 @endif libdecnumber
21513 .PHONY: install-strip-libdecnumber maybe-install-strip-libdecnumber
21514 maybe-install-strip-libdecnumber:
21515 @if libdecnumber
21516 maybe-install-strip-libdecnumber: install-strip-libdecnumber
21518 install-strip-libdecnumber: installdirs
21519 @: $(MAKE); $(unstage)
21520 @r=`${PWD_COMMAND}`; export r; \
21521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21522 $(HOST_EXPORTS) \
21523 (cd $(HOST_SUBDIR)/libdecnumber && \
21524 $(MAKE) $(FLAGS_TO_PASS) install-strip)
21526 @endif libdecnumber
21528 # Other targets (info, dvi, pdf, etc.)
21530 .PHONY: maybe-info-libdecnumber info-libdecnumber
21531 maybe-info-libdecnumber:
21532 @if libdecnumber
21533 maybe-info-libdecnumber: info-libdecnumber
21535 info-libdecnumber: \
21536 configure-libdecnumber
21537 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21538 r=`${PWD_COMMAND}`; export r; \
21539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21540 $(HOST_EXPORTS) \
21541 for flag in $(EXTRA_HOST_FLAGS) ; do \
21542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21543 done; \
21544 echo "Doing info in libdecnumber" ; \
21545 (cd $(HOST_SUBDIR)/libdecnumber && \
21546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21548 "RANLIB=$${RANLIB}" \
21549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21550 info) \
21551 || exit 1
21553 @endif libdecnumber
21555 .PHONY: maybe-dvi-libdecnumber dvi-libdecnumber
21556 maybe-dvi-libdecnumber:
21557 @if libdecnumber
21558 maybe-dvi-libdecnumber: dvi-libdecnumber
21560 dvi-libdecnumber: \
21561 configure-libdecnumber
21562 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21563 r=`${PWD_COMMAND}`; export r; \
21564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21565 $(HOST_EXPORTS) \
21566 for flag in $(EXTRA_HOST_FLAGS) ; do \
21567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21568 done; \
21569 echo "Doing dvi in libdecnumber" ; \
21570 (cd $(HOST_SUBDIR)/libdecnumber && \
21571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21573 "RANLIB=$${RANLIB}" \
21574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21575 dvi) \
21576 || exit 1
21578 @endif libdecnumber
21580 .PHONY: maybe-pdf-libdecnumber pdf-libdecnumber
21581 maybe-pdf-libdecnumber:
21582 @if libdecnumber
21583 maybe-pdf-libdecnumber: pdf-libdecnumber
21585 pdf-libdecnumber: \
21586 configure-libdecnumber
21587 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21588 r=`${PWD_COMMAND}`; export r; \
21589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21590 $(HOST_EXPORTS) \
21591 for flag in $(EXTRA_HOST_FLAGS) ; do \
21592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21593 done; \
21594 echo "Doing pdf in libdecnumber" ; \
21595 (cd $(HOST_SUBDIR)/libdecnumber && \
21596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21598 "RANLIB=$${RANLIB}" \
21599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21600 pdf) \
21601 || exit 1
21603 @endif libdecnumber
21605 .PHONY: maybe-html-libdecnumber html-libdecnumber
21606 maybe-html-libdecnumber:
21607 @if libdecnumber
21608 maybe-html-libdecnumber: html-libdecnumber
21610 html-libdecnumber: \
21611 configure-libdecnumber
21612 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21613 r=`${PWD_COMMAND}`; export r; \
21614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21615 $(HOST_EXPORTS) \
21616 for flag in $(EXTRA_HOST_FLAGS) ; do \
21617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21618 done; \
21619 echo "Doing html in libdecnumber" ; \
21620 (cd $(HOST_SUBDIR)/libdecnumber && \
21621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21623 "RANLIB=$${RANLIB}" \
21624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21625 html) \
21626 || exit 1
21628 @endif libdecnumber
21630 .PHONY: maybe-TAGS-libdecnumber TAGS-libdecnumber
21631 maybe-TAGS-libdecnumber:
21632 @if libdecnumber
21633 maybe-TAGS-libdecnumber: TAGS-libdecnumber
21635 TAGS-libdecnumber: \
21636 configure-libdecnumber
21637 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21638 r=`${PWD_COMMAND}`; export r; \
21639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21640 $(HOST_EXPORTS) \
21641 for flag in $(EXTRA_HOST_FLAGS) ; do \
21642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21643 done; \
21644 echo "Doing TAGS in libdecnumber" ; \
21645 (cd $(HOST_SUBDIR)/libdecnumber && \
21646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21648 "RANLIB=$${RANLIB}" \
21649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21650 TAGS) \
21651 || exit 1
21653 @endif libdecnumber
21655 .PHONY: maybe-install-info-libdecnumber install-info-libdecnumber
21656 maybe-install-info-libdecnumber:
21657 @if libdecnumber
21658 maybe-install-info-libdecnumber: install-info-libdecnumber
21660 install-info-libdecnumber: \
21661 configure-libdecnumber \
21662 info-libdecnumber
21663 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21664 r=`${PWD_COMMAND}`; export r; \
21665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21666 $(HOST_EXPORTS) \
21667 for flag in $(EXTRA_HOST_FLAGS) ; do \
21668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21669 done; \
21670 echo "Doing install-info in libdecnumber" ; \
21671 (cd $(HOST_SUBDIR)/libdecnumber && \
21672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21674 "RANLIB=$${RANLIB}" \
21675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21676 install-info) \
21677 || exit 1
21679 @endif libdecnumber
21681 .PHONY: maybe-install-pdf-libdecnumber install-pdf-libdecnumber
21682 maybe-install-pdf-libdecnumber:
21683 @if libdecnumber
21684 maybe-install-pdf-libdecnumber: install-pdf-libdecnumber
21686 install-pdf-libdecnumber: \
21687 configure-libdecnumber \
21688 pdf-libdecnumber
21689 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21690 r=`${PWD_COMMAND}`; export r; \
21691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21692 $(HOST_EXPORTS) \
21693 for flag in $(EXTRA_HOST_FLAGS) ; do \
21694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21695 done; \
21696 echo "Doing install-pdf in libdecnumber" ; \
21697 (cd $(HOST_SUBDIR)/libdecnumber && \
21698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21700 "RANLIB=$${RANLIB}" \
21701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21702 install-pdf) \
21703 || exit 1
21705 @endif libdecnumber
21707 .PHONY: maybe-install-html-libdecnumber install-html-libdecnumber
21708 maybe-install-html-libdecnumber:
21709 @if libdecnumber
21710 maybe-install-html-libdecnumber: install-html-libdecnumber
21712 install-html-libdecnumber: \
21713 configure-libdecnumber \
21714 html-libdecnumber
21715 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21716 r=`${PWD_COMMAND}`; export r; \
21717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21718 $(HOST_EXPORTS) \
21719 for flag in $(EXTRA_HOST_FLAGS) ; do \
21720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21721 done; \
21722 echo "Doing install-html in libdecnumber" ; \
21723 (cd $(HOST_SUBDIR)/libdecnumber && \
21724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21726 "RANLIB=$${RANLIB}" \
21727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21728 install-html) \
21729 || exit 1
21731 @endif libdecnumber
21733 .PHONY: maybe-installcheck-libdecnumber installcheck-libdecnumber
21734 maybe-installcheck-libdecnumber:
21735 @if libdecnumber
21736 maybe-installcheck-libdecnumber: installcheck-libdecnumber
21738 installcheck-libdecnumber: \
21739 configure-libdecnumber
21740 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21741 r=`${PWD_COMMAND}`; export r; \
21742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21743 $(HOST_EXPORTS) \
21744 for flag in $(EXTRA_HOST_FLAGS) ; do \
21745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21746 done; \
21747 echo "Doing installcheck in libdecnumber" ; \
21748 (cd $(HOST_SUBDIR)/libdecnumber && \
21749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21751 "RANLIB=$${RANLIB}" \
21752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21753 installcheck) \
21754 || exit 1
21756 @endif libdecnumber
21758 .PHONY: maybe-mostlyclean-libdecnumber mostlyclean-libdecnumber
21759 maybe-mostlyclean-libdecnumber:
21760 @if libdecnumber
21761 maybe-mostlyclean-libdecnumber: mostlyclean-libdecnumber
21763 mostlyclean-libdecnumber:
21764 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21765 r=`${PWD_COMMAND}`; export r; \
21766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21767 $(HOST_EXPORTS) \
21768 for flag in $(EXTRA_HOST_FLAGS) ; do \
21769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21770 done; \
21771 echo "Doing mostlyclean in libdecnumber" ; \
21772 (cd $(HOST_SUBDIR)/libdecnumber && \
21773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21775 "RANLIB=$${RANLIB}" \
21776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21777 mostlyclean) \
21778 || exit 1
21780 @endif libdecnumber
21782 .PHONY: maybe-clean-libdecnumber clean-libdecnumber
21783 maybe-clean-libdecnumber:
21784 @if libdecnumber
21785 maybe-clean-libdecnumber: clean-libdecnumber
21787 clean-libdecnumber:
21788 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21789 r=`${PWD_COMMAND}`; export r; \
21790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21791 $(HOST_EXPORTS) \
21792 for flag in $(EXTRA_HOST_FLAGS) ; do \
21793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21794 done; \
21795 echo "Doing clean in libdecnumber" ; \
21796 (cd $(HOST_SUBDIR)/libdecnumber && \
21797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21799 "RANLIB=$${RANLIB}" \
21800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21801 clean) \
21802 || exit 1
21804 @endif libdecnumber
21806 .PHONY: maybe-distclean-libdecnumber distclean-libdecnumber
21807 maybe-distclean-libdecnumber:
21808 @if libdecnumber
21809 maybe-distclean-libdecnumber: distclean-libdecnumber
21811 distclean-libdecnumber:
21812 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21813 r=`${PWD_COMMAND}`; export r; \
21814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21815 $(HOST_EXPORTS) \
21816 for flag in $(EXTRA_HOST_FLAGS) ; do \
21817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21818 done; \
21819 echo "Doing distclean in libdecnumber" ; \
21820 (cd $(HOST_SUBDIR)/libdecnumber && \
21821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21823 "RANLIB=$${RANLIB}" \
21824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21825 distclean) \
21826 || exit 1
21828 @endif libdecnumber
21830 .PHONY: maybe-maintainer-clean-libdecnumber maintainer-clean-libdecnumber
21831 maybe-maintainer-clean-libdecnumber:
21832 @if libdecnumber
21833 maybe-maintainer-clean-libdecnumber: maintainer-clean-libdecnumber
21835 maintainer-clean-libdecnumber:
21836 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21837 r=`${PWD_COMMAND}`; export r; \
21838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21839 $(HOST_EXPORTS) \
21840 for flag in $(EXTRA_HOST_FLAGS) ; do \
21841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21842 done; \
21843 echo "Doing maintainer-clean in libdecnumber" ; \
21844 (cd $(HOST_SUBDIR)/libdecnumber && \
21845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21847 "RANLIB=$${RANLIB}" \
21848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21849 maintainer-clean) \
21850 || exit 1
21852 @endif libdecnumber
21856 .PHONY: configure-libgui maybe-configure-libgui
21857 maybe-configure-libgui:
21858 @if gcc-bootstrap
21859 configure-libgui: stage_current
21860 @endif gcc-bootstrap
21861 @if libgui
21862 maybe-configure-libgui: configure-libgui
21863 configure-libgui:
21864 @: $(MAKE); $(unstage)
21865 @r=`${PWD_COMMAND}`; export r; \
21866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21867 test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
21868 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui ; \
21869 $(HOST_EXPORTS) \
21870 echo Configuring in $(HOST_SUBDIR)/libgui; \
21871 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
21872 case $(srcdir) in \
21873 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21874 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
21875 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21876 esac; \
21877 module_srcdir=libgui; \
21878 $(SHELL) \
21879 $$s/$$module_srcdir/configure \
21880 --srcdir=$${topdir}/$$module_srcdir \
21881 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21882 --target=${target_alias} \
21883 || exit 1
21884 @endif libgui
21890 .PHONY: all-libgui maybe-all-libgui
21891 maybe-all-libgui:
21892 @if gcc-bootstrap
21893 all-libgui: stage_current
21894 @endif gcc-bootstrap
21895 @if libgui
21896 TARGET-libgui=all
21897 maybe-all-libgui: all-libgui
21898 all-libgui: configure-libgui
21899 @: $(MAKE); $(unstage)
21900 @r=`${PWD_COMMAND}`; export r; \
21901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21902 $(HOST_EXPORTS) \
21903 (cd $(HOST_SUBDIR)/libgui && \
21904 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
21905 $(TARGET-libgui))
21906 @endif libgui
21911 .PHONY: check-libgui maybe-check-libgui
21912 maybe-check-libgui:
21913 @if libgui
21914 maybe-check-libgui: check-libgui
21916 check-libgui:
21917 @: $(MAKE); $(unstage)
21918 @r=`${PWD_COMMAND}`; export r; \
21919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21920 $(HOST_EXPORTS) \
21921 (cd $(HOST_SUBDIR)/libgui && \
21922 $(MAKE) $(FLAGS_TO_PASS) check)
21924 @endif libgui
21926 .PHONY: install-libgui maybe-install-libgui
21927 maybe-install-libgui:
21928 @if libgui
21929 maybe-install-libgui: install-libgui
21931 install-libgui: installdirs
21932 @: $(MAKE); $(unstage)
21933 @r=`${PWD_COMMAND}`; export r; \
21934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21935 $(HOST_EXPORTS) \
21936 (cd $(HOST_SUBDIR)/libgui && \
21937 $(MAKE) $(FLAGS_TO_PASS) install)
21939 @endif libgui
21941 .PHONY: install-strip-libgui maybe-install-strip-libgui
21942 maybe-install-strip-libgui:
21943 @if libgui
21944 maybe-install-strip-libgui: install-strip-libgui
21946 install-strip-libgui: installdirs
21947 @: $(MAKE); $(unstage)
21948 @r=`${PWD_COMMAND}`; export r; \
21949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21950 $(HOST_EXPORTS) \
21951 (cd $(HOST_SUBDIR)/libgui && \
21952 $(MAKE) $(FLAGS_TO_PASS) install-strip)
21954 @endif libgui
21956 # Other targets (info, dvi, pdf, etc.)
21958 .PHONY: maybe-info-libgui info-libgui
21959 maybe-info-libgui:
21960 @if libgui
21961 maybe-info-libgui: info-libgui
21963 info-libgui: \
21964 configure-libgui
21965 @: $(MAKE); $(unstage)
21966 @[ -f ./libgui/Makefile ] || exit 0; \
21967 r=`${PWD_COMMAND}`; export r; \
21968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21969 $(HOST_EXPORTS) \
21970 for flag in $(EXTRA_HOST_FLAGS) ; do \
21971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21972 done; \
21973 echo "Doing info in libgui" ; \
21974 (cd $(HOST_SUBDIR)/libgui && \
21975 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21977 "RANLIB=$${RANLIB}" \
21978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21979 info) \
21980 || exit 1
21982 @endif libgui
21984 .PHONY: maybe-dvi-libgui dvi-libgui
21985 maybe-dvi-libgui:
21986 @if libgui
21987 maybe-dvi-libgui: dvi-libgui
21989 dvi-libgui: \
21990 configure-libgui
21991 @: $(MAKE); $(unstage)
21992 @[ -f ./libgui/Makefile ] || exit 0; \
21993 r=`${PWD_COMMAND}`; export r; \
21994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21995 $(HOST_EXPORTS) \
21996 for flag in $(EXTRA_HOST_FLAGS) ; do \
21997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21998 done; \
21999 echo "Doing dvi in libgui" ; \
22000 (cd $(HOST_SUBDIR)/libgui && \
22001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22003 "RANLIB=$${RANLIB}" \
22004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22005 dvi) \
22006 || exit 1
22008 @endif libgui
22010 .PHONY: maybe-pdf-libgui pdf-libgui
22011 maybe-pdf-libgui:
22012 @if libgui
22013 maybe-pdf-libgui: pdf-libgui
22015 pdf-libgui: \
22016 configure-libgui
22017 @: $(MAKE); $(unstage)
22018 @[ -f ./libgui/Makefile ] || exit 0; \
22019 r=`${PWD_COMMAND}`; export r; \
22020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22021 $(HOST_EXPORTS) \
22022 for flag in $(EXTRA_HOST_FLAGS) ; do \
22023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22024 done; \
22025 echo "Doing pdf in libgui" ; \
22026 (cd $(HOST_SUBDIR)/libgui && \
22027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22029 "RANLIB=$${RANLIB}" \
22030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22031 pdf) \
22032 || exit 1
22034 @endif libgui
22036 .PHONY: maybe-html-libgui html-libgui
22037 maybe-html-libgui:
22038 @if libgui
22039 maybe-html-libgui: html-libgui
22041 html-libgui: \
22042 configure-libgui
22043 @: $(MAKE); $(unstage)
22044 @[ -f ./libgui/Makefile ] || exit 0; \
22045 r=`${PWD_COMMAND}`; export r; \
22046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22047 $(HOST_EXPORTS) \
22048 for flag in $(EXTRA_HOST_FLAGS) ; do \
22049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22050 done; \
22051 echo "Doing html in libgui" ; \
22052 (cd $(HOST_SUBDIR)/libgui && \
22053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22055 "RANLIB=$${RANLIB}" \
22056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22057 html) \
22058 || exit 1
22060 @endif libgui
22062 .PHONY: maybe-TAGS-libgui TAGS-libgui
22063 maybe-TAGS-libgui:
22064 @if libgui
22065 maybe-TAGS-libgui: TAGS-libgui
22067 TAGS-libgui: \
22068 configure-libgui
22069 @: $(MAKE); $(unstage)
22070 @[ -f ./libgui/Makefile ] || exit 0; \
22071 r=`${PWD_COMMAND}`; export r; \
22072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22073 $(HOST_EXPORTS) \
22074 for flag in $(EXTRA_HOST_FLAGS) ; do \
22075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22076 done; \
22077 echo "Doing TAGS in libgui" ; \
22078 (cd $(HOST_SUBDIR)/libgui && \
22079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22081 "RANLIB=$${RANLIB}" \
22082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22083 TAGS) \
22084 || exit 1
22086 @endif libgui
22088 .PHONY: maybe-install-info-libgui install-info-libgui
22089 maybe-install-info-libgui:
22090 @if libgui
22091 maybe-install-info-libgui: install-info-libgui
22093 install-info-libgui: \
22094 configure-libgui \
22095 info-libgui
22096 @: $(MAKE); $(unstage)
22097 @[ -f ./libgui/Makefile ] || exit 0; \
22098 r=`${PWD_COMMAND}`; export r; \
22099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22100 $(HOST_EXPORTS) \
22101 for flag in $(EXTRA_HOST_FLAGS) ; do \
22102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22103 done; \
22104 echo "Doing install-info in libgui" ; \
22105 (cd $(HOST_SUBDIR)/libgui && \
22106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22108 "RANLIB=$${RANLIB}" \
22109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22110 install-info) \
22111 || exit 1
22113 @endif libgui
22115 .PHONY: maybe-install-pdf-libgui install-pdf-libgui
22116 maybe-install-pdf-libgui:
22117 @if libgui
22118 maybe-install-pdf-libgui: install-pdf-libgui
22120 install-pdf-libgui: \
22121 configure-libgui \
22122 pdf-libgui
22123 @: $(MAKE); $(unstage)
22124 @[ -f ./libgui/Makefile ] || exit 0; \
22125 r=`${PWD_COMMAND}`; export r; \
22126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22127 $(HOST_EXPORTS) \
22128 for flag in $(EXTRA_HOST_FLAGS) ; do \
22129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22130 done; \
22131 echo "Doing install-pdf in libgui" ; \
22132 (cd $(HOST_SUBDIR)/libgui && \
22133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22135 "RANLIB=$${RANLIB}" \
22136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22137 install-pdf) \
22138 || exit 1
22140 @endif libgui
22142 .PHONY: maybe-install-html-libgui install-html-libgui
22143 maybe-install-html-libgui:
22144 @if libgui
22145 maybe-install-html-libgui: install-html-libgui
22147 install-html-libgui: \
22148 configure-libgui \
22149 html-libgui
22150 @: $(MAKE); $(unstage)
22151 @[ -f ./libgui/Makefile ] || exit 0; \
22152 r=`${PWD_COMMAND}`; export r; \
22153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22154 $(HOST_EXPORTS) \
22155 for flag in $(EXTRA_HOST_FLAGS) ; do \
22156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22157 done; \
22158 echo "Doing install-html in libgui" ; \
22159 (cd $(HOST_SUBDIR)/libgui && \
22160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22162 "RANLIB=$${RANLIB}" \
22163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22164 install-html) \
22165 || exit 1
22167 @endif libgui
22169 .PHONY: maybe-installcheck-libgui installcheck-libgui
22170 maybe-installcheck-libgui:
22171 @if libgui
22172 maybe-installcheck-libgui: installcheck-libgui
22174 installcheck-libgui: \
22175 configure-libgui
22176 @: $(MAKE); $(unstage)
22177 @[ -f ./libgui/Makefile ] || exit 0; \
22178 r=`${PWD_COMMAND}`; export r; \
22179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22180 $(HOST_EXPORTS) \
22181 for flag in $(EXTRA_HOST_FLAGS) ; do \
22182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22183 done; \
22184 echo "Doing installcheck in libgui" ; \
22185 (cd $(HOST_SUBDIR)/libgui && \
22186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22188 "RANLIB=$${RANLIB}" \
22189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22190 installcheck) \
22191 || exit 1
22193 @endif libgui
22195 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
22196 maybe-mostlyclean-libgui:
22197 @if libgui
22198 maybe-mostlyclean-libgui: mostlyclean-libgui
22200 mostlyclean-libgui:
22201 @: $(MAKE); $(unstage)
22202 @[ -f ./libgui/Makefile ] || exit 0; \
22203 r=`${PWD_COMMAND}`; export r; \
22204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22205 $(HOST_EXPORTS) \
22206 for flag in $(EXTRA_HOST_FLAGS) ; do \
22207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22208 done; \
22209 echo "Doing mostlyclean in libgui" ; \
22210 (cd $(HOST_SUBDIR)/libgui && \
22211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22213 "RANLIB=$${RANLIB}" \
22214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22215 mostlyclean) \
22216 || exit 1
22218 @endif libgui
22220 .PHONY: maybe-clean-libgui clean-libgui
22221 maybe-clean-libgui:
22222 @if libgui
22223 maybe-clean-libgui: clean-libgui
22225 clean-libgui:
22226 @: $(MAKE); $(unstage)
22227 @[ -f ./libgui/Makefile ] || exit 0; \
22228 r=`${PWD_COMMAND}`; export r; \
22229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22230 $(HOST_EXPORTS) \
22231 for flag in $(EXTRA_HOST_FLAGS) ; do \
22232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22233 done; \
22234 echo "Doing clean in libgui" ; \
22235 (cd $(HOST_SUBDIR)/libgui && \
22236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22238 "RANLIB=$${RANLIB}" \
22239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22240 clean) \
22241 || exit 1
22243 @endif libgui
22245 .PHONY: maybe-distclean-libgui distclean-libgui
22246 maybe-distclean-libgui:
22247 @if libgui
22248 maybe-distclean-libgui: distclean-libgui
22250 distclean-libgui:
22251 @: $(MAKE); $(unstage)
22252 @[ -f ./libgui/Makefile ] || exit 0; \
22253 r=`${PWD_COMMAND}`; export r; \
22254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22255 $(HOST_EXPORTS) \
22256 for flag in $(EXTRA_HOST_FLAGS) ; do \
22257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22258 done; \
22259 echo "Doing distclean in libgui" ; \
22260 (cd $(HOST_SUBDIR)/libgui && \
22261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22263 "RANLIB=$${RANLIB}" \
22264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22265 distclean) \
22266 || exit 1
22268 @endif libgui
22270 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
22271 maybe-maintainer-clean-libgui:
22272 @if libgui
22273 maybe-maintainer-clean-libgui: maintainer-clean-libgui
22275 maintainer-clean-libgui:
22276 @: $(MAKE); $(unstage)
22277 @[ -f ./libgui/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 maintainer-clean in libgui" ; \
22285 (cd $(HOST_SUBDIR)/libgui && \
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 maintainer-clean) \
22291 || exit 1
22293 @endif libgui
22297 .PHONY: configure-libiberty maybe-configure-libiberty
22298 maybe-configure-libiberty:
22299 @if gcc-bootstrap
22300 configure-libiberty: stage_current
22301 @endif gcc-bootstrap
22302 @if libiberty
22303 maybe-configure-libiberty: configure-libiberty
22304 configure-libiberty:
22305 @r=`${PWD_COMMAND}`; export r; \
22306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22307 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22308 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22309 $(HOST_EXPORTS) \
22310 echo Configuring in $(HOST_SUBDIR)/libiberty; \
22311 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
22312 case $(srcdir) in \
22313 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22314 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22315 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22316 esac; \
22317 module_srcdir=libiberty; \
22318 $(SHELL) \
22319 $$s/$$module_srcdir/configure \
22320 --srcdir=$${topdir}/$$module_srcdir \
22321 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22322 --target=${target_alias} @extra_host_libiberty_configure_flags@ \
22323 || exit 1
22324 @endif libiberty
22328 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
22329 maybe-configure-stage1-libiberty:
22330 @if libiberty-bootstrap
22331 maybe-configure-stage1-libiberty: configure-stage1-libiberty
22332 configure-stage1-libiberty:
22333 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
22334 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22335 @r=`${PWD_COMMAND}`; export r; \
22336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22337 TFLAGS="$(STAGE1_TFLAGS)"; \
22338 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22339 $(HOST_EXPORTS) \
22340 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
22341 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
22342 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
22343 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty ; \
22344 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22345 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22346 case $(srcdir) in \
22347 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22348 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22349 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22350 esac; \
22351 module_srcdir=libiberty; \
22352 $(SHELL) $$s/$$module_srcdir/configure \
22353 --srcdir=$${topdir}/$$module_srcdir \
22354 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22355 --target=${target_alias} \
22357 $(STAGE1_CONFIGURE_FLAGS) \
22358 @extra_host_libiberty_configure_flags@
22359 @endif libiberty-bootstrap
22361 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
22362 maybe-configure-stage2-libiberty:
22363 @if libiberty-bootstrap
22364 maybe-configure-stage2-libiberty: configure-stage2-libiberty
22365 configure-stage2-libiberty:
22366 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
22367 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22368 @r=`${PWD_COMMAND}`; export r; \
22369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22370 TFLAGS="$(STAGE2_TFLAGS)"; \
22371 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22372 $(HOST_EXPORTS) \
22373 $(POSTSTAGE1_HOST_EXPORTS) \
22374 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
22375 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
22376 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
22377 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty ; \
22378 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22379 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22380 case $(srcdir) in \
22381 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22382 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22383 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22384 esac; \
22385 module_srcdir=libiberty; \
22386 $(SHELL) $$s/$$module_srcdir/configure \
22387 --srcdir=$${topdir}/$$module_srcdir \
22388 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22389 --target=${target_alias} \
22390 --with-build-libsubdir=$(HOST_SUBDIR) \
22391 $(STAGE2_CONFIGURE_FLAGS) \
22392 @extra_host_libiberty_configure_flags@
22393 @endif libiberty-bootstrap
22395 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
22396 maybe-configure-stage3-libiberty:
22397 @if libiberty-bootstrap
22398 maybe-configure-stage3-libiberty: configure-stage3-libiberty
22399 configure-stage3-libiberty:
22400 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
22401 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22402 @r=`${PWD_COMMAND}`; export r; \
22403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22404 TFLAGS="$(STAGE3_TFLAGS)"; \
22405 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22406 $(HOST_EXPORTS) \
22407 $(POSTSTAGE1_HOST_EXPORTS) \
22408 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
22409 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
22410 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
22411 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty ; \
22412 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22413 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22414 case $(srcdir) in \
22415 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22416 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22417 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22418 esac; \
22419 module_srcdir=libiberty; \
22420 $(SHELL) $$s/$$module_srcdir/configure \
22421 --srcdir=$${topdir}/$$module_srcdir \
22422 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22423 --target=${target_alias} \
22424 --with-build-libsubdir=$(HOST_SUBDIR) \
22425 $(STAGE3_CONFIGURE_FLAGS) \
22426 @extra_host_libiberty_configure_flags@
22427 @endif libiberty-bootstrap
22429 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
22430 maybe-configure-stage4-libiberty:
22431 @if libiberty-bootstrap
22432 maybe-configure-stage4-libiberty: configure-stage4-libiberty
22433 configure-stage4-libiberty:
22434 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
22435 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22436 @r=`${PWD_COMMAND}`; export r; \
22437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22438 TFLAGS="$(STAGE4_TFLAGS)"; \
22439 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22440 $(HOST_EXPORTS) \
22441 $(POSTSTAGE1_HOST_EXPORTS) \
22442 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
22443 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
22444 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
22445 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty ; \
22446 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22447 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22448 case $(srcdir) in \
22449 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22450 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22451 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22452 esac; \
22453 module_srcdir=libiberty; \
22454 $(SHELL) $$s/$$module_srcdir/configure \
22455 --srcdir=$${topdir}/$$module_srcdir \
22456 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22457 --target=${target_alias} \
22458 --with-build-libsubdir=$(HOST_SUBDIR) \
22459 $(STAGE4_CONFIGURE_FLAGS) \
22460 @extra_host_libiberty_configure_flags@
22461 @endif libiberty-bootstrap
22463 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
22464 maybe-configure-stageprofile-libiberty:
22465 @if libiberty-bootstrap
22466 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
22467 configure-stageprofile-libiberty:
22468 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
22469 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22470 @r=`${PWD_COMMAND}`; export r; \
22471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22472 TFLAGS="$(STAGEprofile_TFLAGS)"; \
22473 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22474 $(HOST_EXPORTS) \
22475 $(POSTSTAGE1_HOST_EXPORTS) \
22476 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
22477 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
22478 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
22479 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty ; \
22480 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22481 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22482 case $(srcdir) in \
22483 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22484 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22485 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22486 esac; \
22487 module_srcdir=libiberty; \
22488 $(SHELL) $$s/$$module_srcdir/configure \
22489 --srcdir=$${topdir}/$$module_srcdir \
22490 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22491 --target=${target_alias} \
22492 --with-build-libsubdir=$(HOST_SUBDIR) \
22493 $(STAGEprofile_CONFIGURE_FLAGS) \
22494 @extra_host_libiberty_configure_flags@
22495 @endif libiberty-bootstrap
22497 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
22498 maybe-configure-stagefeedback-libiberty:
22499 @if libiberty-bootstrap
22500 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
22501 configure-stagefeedback-libiberty:
22502 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
22503 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22504 @r=`${PWD_COMMAND}`; export r; \
22505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22506 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
22507 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22508 $(HOST_EXPORTS) \
22509 $(POSTSTAGE1_HOST_EXPORTS) \
22510 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
22511 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
22512 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
22513 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty ; \
22514 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22515 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22516 case $(srcdir) in \
22517 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22518 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22519 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22520 esac; \
22521 module_srcdir=libiberty; \
22522 $(SHELL) $$s/$$module_srcdir/configure \
22523 --srcdir=$${topdir}/$$module_srcdir \
22524 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22525 --target=${target_alias} \
22526 --with-build-libsubdir=$(HOST_SUBDIR) \
22527 $(STAGEfeedback_CONFIGURE_FLAGS) \
22528 @extra_host_libiberty_configure_flags@
22529 @endif libiberty-bootstrap
22535 .PHONY: all-libiberty maybe-all-libiberty
22536 maybe-all-libiberty:
22537 @if gcc-bootstrap
22538 all-libiberty: stage_current
22539 @endif gcc-bootstrap
22540 @if libiberty
22541 TARGET-libiberty=all
22542 maybe-all-libiberty: all-libiberty
22543 all-libiberty: configure-libiberty
22544 @r=`${PWD_COMMAND}`; export r; \
22545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22546 $(HOST_EXPORTS) \
22547 (cd $(HOST_SUBDIR)/libiberty && \
22548 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
22549 $(TARGET-libiberty))
22550 @endif libiberty
22554 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
22555 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
22556 maybe-all-stage1-libiberty:
22557 maybe-clean-stage1-libiberty:
22558 @if libiberty-bootstrap
22559 maybe-all-stage1-libiberty: all-stage1-libiberty
22560 all-stage1: all-stage1-libiberty
22561 TARGET-stage1-libiberty = $(TARGET-libiberty)
22562 all-stage1-libiberty: configure-stage1-libiberty
22563 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
22564 @r=`${PWD_COMMAND}`; export r; \
22565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22566 TFLAGS="$(STAGE1_TFLAGS)"; \
22567 $(HOST_EXPORTS) \
22568 cd $(HOST_SUBDIR)/libiberty && \
22569 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22570 CFLAGS="$(STAGE1_CFLAGS)" \
22571 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
22572 LIBCFLAGS="$(LIBCFLAGS)" \
22573 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22574 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22575 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22576 $(EXTRA_HOST_FLAGS) \
22577 $(STAGE1_FLAGS_TO_PASS) \
22578 TFLAGS="$(STAGE1_TFLAGS)" \
22579 $(TARGET-stage1-libiberty)
22581 maybe-clean-stage1-libiberty: clean-stage1-libiberty
22582 clean-stage1: clean-stage1-libiberty
22583 clean-stage1-libiberty:
22584 @if [ $(current_stage) = stage1 ]; then \
22585 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22586 else \
22587 [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] || exit 0; \
22588 $(MAKE) stage1-start; \
22589 fi; \
22590 cd $(HOST_SUBDIR)/libiberty && \
22591 $(MAKE) $(EXTRA_HOST_FLAGS) \
22592 $(STAGE1_FLAGS_TO_PASS) clean
22593 @endif libiberty-bootstrap
22596 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
22597 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
22598 maybe-all-stage2-libiberty:
22599 maybe-clean-stage2-libiberty:
22600 @if libiberty-bootstrap
22601 maybe-all-stage2-libiberty: all-stage2-libiberty
22602 all-stage2: all-stage2-libiberty
22603 TARGET-stage2-libiberty = $(TARGET-libiberty)
22604 all-stage2-libiberty: configure-stage2-libiberty
22605 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
22606 @r=`${PWD_COMMAND}`; export r; \
22607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22608 TFLAGS="$(STAGE2_TFLAGS)"; \
22609 $(HOST_EXPORTS) \
22610 $(POSTSTAGE1_HOST_EXPORTS) \
22611 cd $(HOST_SUBDIR)/libiberty && \
22612 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22613 CFLAGS="$(STAGE2_CFLAGS)" \
22614 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
22615 LIBCFLAGS="$(STAGE2_CFLAGS)" \
22616 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22617 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22618 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22619 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22620 TFLAGS="$(STAGE2_TFLAGS)" \
22621 $(TARGET-stage2-libiberty)
22623 maybe-clean-stage2-libiberty: clean-stage2-libiberty
22624 clean-stage2: clean-stage2-libiberty
22625 clean-stage2-libiberty:
22626 @if [ $(current_stage) = stage2 ]; then \
22627 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22628 else \
22629 [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] || exit 0; \
22630 $(MAKE) stage2-start; \
22631 fi; \
22632 cd $(HOST_SUBDIR)/libiberty && \
22633 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22634 @endif libiberty-bootstrap
22637 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
22638 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
22639 maybe-all-stage3-libiberty:
22640 maybe-clean-stage3-libiberty:
22641 @if libiberty-bootstrap
22642 maybe-all-stage3-libiberty: all-stage3-libiberty
22643 all-stage3: all-stage3-libiberty
22644 TARGET-stage3-libiberty = $(TARGET-libiberty)
22645 all-stage3-libiberty: configure-stage3-libiberty
22646 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
22647 @r=`${PWD_COMMAND}`; export r; \
22648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22649 TFLAGS="$(STAGE3_TFLAGS)"; \
22650 $(HOST_EXPORTS) \
22651 $(POSTSTAGE1_HOST_EXPORTS) \
22652 cd $(HOST_SUBDIR)/libiberty && \
22653 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22654 CFLAGS="$(STAGE3_CFLAGS)" \
22655 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
22656 LIBCFLAGS="$(STAGE3_CFLAGS)" \
22657 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22658 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22659 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22660 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22661 TFLAGS="$(STAGE3_TFLAGS)" \
22662 $(TARGET-stage3-libiberty)
22664 maybe-clean-stage3-libiberty: clean-stage3-libiberty
22665 clean-stage3: clean-stage3-libiberty
22666 clean-stage3-libiberty:
22667 @if [ $(current_stage) = stage3 ]; then \
22668 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22669 else \
22670 [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] || exit 0; \
22671 $(MAKE) stage3-start; \
22672 fi; \
22673 cd $(HOST_SUBDIR)/libiberty && \
22674 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22675 @endif libiberty-bootstrap
22678 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
22679 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
22680 maybe-all-stage4-libiberty:
22681 maybe-clean-stage4-libiberty:
22682 @if libiberty-bootstrap
22683 maybe-all-stage4-libiberty: all-stage4-libiberty
22684 all-stage4: all-stage4-libiberty
22685 TARGET-stage4-libiberty = $(TARGET-libiberty)
22686 all-stage4-libiberty: configure-stage4-libiberty
22687 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
22688 @r=`${PWD_COMMAND}`; export r; \
22689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22690 TFLAGS="$(STAGE4_TFLAGS)"; \
22691 $(HOST_EXPORTS) \
22692 $(POSTSTAGE1_HOST_EXPORTS) \
22693 cd $(HOST_SUBDIR)/libiberty && \
22694 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22695 CFLAGS="$(STAGE4_CFLAGS)" \
22696 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
22697 LIBCFLAGS="$(STAGE4_CFLAGS)" \
22698 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22699 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22700 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22701 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22702 TFLAGS="$(STAGE4_TFLAGS)" \
22703 $(TARGET-stage4-libiberty)
22705 maybe-clean-stage4-libiberty: clean-stage4-libiberty
22706 clean-stage4: clean-stage4-libiberty
22707 clean-stage4-libiberty:
22708 @if [ $(current_stage) = stage4 ]; then \
22709 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22710 else \
22711 [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] || exit 0; \
22712 $(MAKE) stage4-start; \
22713 fi; \
22714 cd $(HOST_SUBDIR)/libiberty && \
22715 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22716 @endif libiberty-bootstrap
22719 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
22720 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
22721 maybe-all-stageprofile-libiberty:
22722 maybe-clean-stageprofile-libiberty:
22723 @if libiberty-bootstrap
22724 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
22725 all-stageprofile: all-stageprofile-libiberty
22726 TARGET-stageprofile-libiberty = $(TARGET-libiberty)
22727 all-stageprofile-libiberty: configure-stageprofile-libiberty
22728 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
22729 @r=`${PWD_COMMAND}`; export r; \
22730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22731 TFLAGS="$(STAGEprofile_TFLAGS)"; \
22732 $(HOST_EXPORTS) \
22733 $(POSTSTAGE1_HOST_EXPORTS) \
22734 cd $(HOST_SUBDIR)/libiberty && \
22735 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22736 CFLAGS="$(STAGEprofile_CFLAGS)" \
22737 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
22738 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
22739 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22740 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22741 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22742 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22743 TFLAGS="$(STAGEprofile_TFLAGS)" \
22744 $(TARGET-stageprofile-libiberty)
22746 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
22747 clean-stageprofile: clean-stageprofile-libiberty
22748 clean-stageprofile-libiberty:
22749 @if [ $(current_stage) = stageprofile ]; then \
22750 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22751 else \
22752 [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] || exit 0; \
22753 $(MAKE) stageprofile-start; \
22754 fi; \
22755 cd $(HOST_SUBDIR)/libiberty && \
22756 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22757 @endif libiberty-bootstrap
22760 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
22761 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
22762 maybe-all-stagefeedback-libiberty:
22763 maybe-clean-stagefeedback-libiberty:
22764 @if libiberty-bootstrap
22765 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
22766 all-stagefeedback: all-stagefeedback-libiberty
22767 TARGET-stagefeedback-libiberty = $(TARGET-libiberty)
22768 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
22769 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
22770 @r=`${PWD_COMMAND}`; export r; \
22771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22772 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
22773 $(HOST_EXPORTS) \
22774 $(POSTSTAGE1_HOST_EXPORTS) \
22775 cd $(HOST_SUBDIR)/libiberty && \
22776 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22777 CFLAGS="$(STAGEfeedback_CFLAGS)" \
22778 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
22779 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
22780 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22781 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22782 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22783 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22784 TFLAGS="$(STAGEfeedback_TFLAGS)" \
22785 $(TARGET-stagefeedback-libiberty)
22787 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
22788 clean-stagefeedback: clean-stagefeedback-libiberty
22789 clean-stagefeedback-libiberty:
22790 @if [ $(current_stage) = stagefeedback ]; then \
22791 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22792 else \
22793 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] || exit 0; \
22794 $(MAKE) stagefeedback-start; \
22795 fi; \
22796 cd $(HOST_SUBDIR)/libiberty && \
22797 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22798 @endif libiberty-bootstrap
22804 .PHONY: check-libiberty maybe-check-libiberty
22805 maybe-check-libiberty:
22806 @if libiberty
22807 maybe-check-libiberty: check-libiberty
22809 check-libiberty:
22810 @: $(MAKE); $(unstage)
22811 @r=`${PWD_COMMAND}`; export r; \
22812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22813 $(HOST_EXPORTS) \
22814 (cd $(HOST_SUBDIR)/libiberty && \
22815 $(MAKE) $(FLAGS_TO_PASS) check)
22817 @endif libiberty
22819 .PHONY: install-libiberty maybe-install-libiberty
22820 maybe-install-libiberty:
22821 @if libiberty
22822 maybe-install-libiberty: install-libiberty
22824 install-libiberty: installdirs
22825 @: $(MAKE); $(unstage)
22826 @r=`${PWD_COMMAND}`; export r; \
22827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22828 $(HOST_EXPORTS) \
22829 (cd $(HOST_SUBDIR)/libiberty && \
22830 $(MAKE) $(FLAGS_TO_PASS) install)
22832 @endif libiberty
22834 .PHONY: install-strip-libiberty maybe-install-strip-libiberty
22835 maybe-install-strip-libiberty:
22836 @if libiberty
22837 maybe-install-strip-libiberty: install-strip-libiberty
22839 install-strip-libiberty: installdirs
22840 @: $(MAKE); $(unstage)
22841 @r=`${PWD_COMMAND}`; export r; \
22842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22843 $(HOST_EXPORTS) \
22844 (cd $(HOST_SUBDIR)/libiberty && \
22845 $(MAKE) $(FLAGS_TO_PASS) install-strip)
22847 @endif libiberty
22849 # Other targets (info, dvi, pdf, etc.)
22851 .PHONY: maybe-info-libiberty info-libiberty
22852 maybe-info-libiberty:
22853 @if libiberty
22854 maybe-info-libiberty: info-libiberty
22856 info-libiberty: \
22857 configure-libiberty
22858 @[ -f ./libiberty/Makefile ] || exit 0; \
22859 r=`${PWD_COMMAND}`; export r; \
22860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22861 $(HOST_EXPORTS) \
22862 for flag in $(EXTRA_HOST_FLAGS) ; do \
22863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22864 done; \
22865 echo "Doing info in libiberty" ; \
22866 (cd $(HOST_SUBDIR)/libiberty && \
22867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22869 "RANLIB=$${RANLIB}" \
22870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22871 info) \
22872 || exit 1
22874 @endif libiberty
22876 .PHONY: maybe-dvi-libiberty dvi-libiberty
22877 maybe-dvi-libiberty:
22878 @if libiberty
22879 maybe-dvi-libiberty: dvi-libiberty
22881 dvi-libiberty: \
22882 configure-libiberty
22883 @[ -f ./libiberty/Makefile ] || exit 0; \
22884 r=`${PWD_COMMAND}`; export r; \
22885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22886 $(HOST_EXPORTS) \
22887 for flag in $(EXTRA_HOST_FLAGS) ; do \
22888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22889 done; \
22890 echo "Doing dvi in libiberty" ; \
22891 (cd $(HOST_SUBDIR)/libiberty && \
22892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22894 "RANLIB=$${RANLIB}" \
22895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22896 dvi) \
22897 || exit 1
22899 @endif libiberty
22901 .PHONY: maybe-pdf-libiberty pdf-libiberty
22902 maybe-pdf-libiberty:
22903 @if libiberty
22904 maybe-pdf-libiberty: pdf-libiberty
22906 pdf-libiberty: \
22907 configure-libiberty
22908 @[ -f ./libiberty/Makefile ] || exit 0; \
22909 r=`${PWD_COMMAND}`; export r; \
22910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22911 $(HOST_EXPORTS) \
22912 for flag in $(EXTRA_HOST_FLAGS) ; do \
22913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22914 done; \
22915 echo "Doing pdf in libiberty" ; \
22916 (cd $(HOST_SUBDIR)/libiberty && \
22917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22919 "RANLIB=$${RANLIB}" \
22920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22921 pdf) \
22922 || exit 1
22924 @endif libiberty
22926 .PHONY: maybe-html-libiberty html-libiberty
22927 maybe-html-libiberty:
22928 @if libiberty
22929 maybe-html-libiberty: html-libiberty
22931 html-libiberty: \
22932 configure-libiberty
22933 @[ -f ./libiberty/Makefile ] || exit 0; \
22934 r=`${PWD_COMMAND}`; export r; \
22935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22936 $(HOST_EXPORTS) \
22937 for flag in $(EXTRA_HOST_FLAGS) ; do \
22938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22939 done; \
22940 echo "Doing html in libiberty" ; \
22941 (cd $(HOST_SUBDIR)/libiberty && \
22942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22944 "RANLIB=$${RANLIB}" \
22945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22946 html) \
22947 || exit 1
22949 @endif libiberty
22951 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
22952 maybe-TAGS-libiberty:
22953 @if libiberty
22954 maybe-TAGS-libiberty: TAGS-libiberty
22956 TAGS-libiberty: \
22957 configure-libiberty
22958 @[ -f ./libiberty/Makefile ] || exit 0; \
22959 r=`${PWD_COMMAND}`; export r; \
22960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22961 $(HOST_EXPORTS) \
22962 for flag in $(EXTRA_HOST_FLAGS) ; do \
22963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22964 done; \
22965 echo "Doing TAGS in libiberty" ; \
22966 (cd $(HOST_SUBDIR)/libiberty && \
22967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22969 "RANLIB=$${RANLIB}" \
22970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22971 TAGS) \
22972 || exit 1
22974 @endif libiberty
22976 .PHONY: maybe-install-info-libiberty install-info-libiberty
22977 maybe-install-info-libiberty:
22978 @if libiberty
22979 maybe-install-info-libiberty: install-info-libiberty
22981 install-info-libiberty: \
22982 configure-libiberty \
22983 info-libiberty
22984 @[ -f ./libiberty/Makefile ] || exit 0; \
22985 r=`${PWD_COMMAND}`; export r; \
22986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22987 $(HOST_EXPORTS) \
22988 for flag in $(EXTRA_HOST_FLAGS) ; do \
22989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22990 done; \
22991 echo "Doing install-info in libiberty" ; \
22992 (cd $(HOST_SUBDIR)/libiberty && \
22993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22995 "RANLIB=$${RANLIB}" \
22996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22997 install-info) \
22998 || exit 1
23000 @endif libiberty
23002 .PHONY: maybe-install-pdf-libiberty install-pdf-libiberty
23003 maybe-install-pdf-libiberty:
23004 @if libiberty
23005 maybe-install-pdf-libiberty: install-pdf-libiberty
23007 install-pdf-libiberty: \
23008 configure-libiberty \
23009 pdf-libiberty
23010 @[ -f ./libiberty/Makefile ] || exit 0; \
23011 r=`${PWD_COMMAND}`; export r; \
23012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23013 $(HOST_EXPORTS) \
23014 for flag in $(EXTRA_HOST_FLAGS) ; do \
23015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23016 done; \
23017 echo "Doing install-pdf in libiberty" ; \
23018 (cd $(HOST_SUBDIR)/libiberty && \
23019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23021 "RANLIB=$${RANLIB}" \
23022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23023 install-pdf) \
23024 || exit 1
23026 @endif libiberty
23028 .PHONY: maybe-install-html-libiberty install-html-libiberty
23029 maybe-install-html-libiberty:
23030 @if libiberty
23031 maybe-install-html-libiberty: install-html-libiberty
23033 install-html-libiberty: \
23034 configure-libiberty \
23035 html-libiberty
23036 @[ -f ./libiberty/Makefile ] || exit 0; \
23037 r=`${PWD_COMMAND}`; export r; \
23038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23039 $(HOST_EXPORTS) \
23040 for flag in $(EXTRA_HOST_FLAGS) ; do \
23041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23042 done; \
23043 echo "Doing install-html in libiberty" ; \
23044 (cd $(HOST_SUBDIR)/libiberty && \
23045 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23046 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23047 "RANLIB=$${RANLIB}" \
23048 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23049 install-html) \
23050 || exit 1
23052 @endif libiberty
23054 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
23055 maybe-installcheck-libiberty:
23056 @if libiberty
23057 maybe-installcheck-libiberty: installcheck-libiberty
23059 installcheck-libiberty: \
23060 configure-libiberty
23061 @[ -f ./libiberty/Makefile ] || exit 0; \
23062 r=`${PWD_COMMAND}`; export r; \
23063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23064 $(HOST_EXPORTS) \
23065 for flag in $(EXTRA_HOST_FLAGS) ; do \
23066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23067 done; \
23068 echo "Doing installcheck in libiberty" ; \
23069 (cd $(HOST_SUBDIR)/libiberty && \
23070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23072 "RANLIB=$${RANLIB}" \
23073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23074 installcheck) \
23075 || exit 1
23077 @endif libiberty
23079 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
23080 maybe-mostlyclean-libiberty:
23081 @if libiberty
23082 maybe-mostlyclean-libiberty: mostlyclean-libiberty
23084 mostlyclean-libiberty:
23085 @[ -f ./libiberty/Makefile ] || exit 0; \
23086 r=`${PWD_COMMAND}`; export r; \
23087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23088 $(HOST_EXPORTS) \
23089 for flag in $(EXTRA_HOST_FLAGS) ; do \
23090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23091 done; \
23092 echo "Doing mostlyclean in libiberty" ; \
23093 (cd $(HOST_SUBDIR)/libiberty && \
23094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23096 "RANLIB=$${RANLIB}" \
23097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23098 mostlyclean) \
23099 || exit 1
23101 @endif libiberty
23103 .PHONY: maybe-clean-libiberty clean-libiberty
23104 maybe-clean-libiberty:
23105 @if libiberty
23106 maybe-clean-libiberty: clean-libiberty
23108 clean-libiberty:
23109 @[ -f ./libiberty/Makefile ] || exit 0; \
23110 r=`${PWD_COMMAND}`; export r; \
23111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23112 $(HOST_EXPORTS) \
23113 for flag in $(EXTRA_HOST_FLAGS) ; do \
23114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23115 done; \
23116 echo "Doing clean in libiberty" ; \
23117 (cd $(HOST_SUBDIR)/libiberty && \
23118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23120 "RANLIB=$${RANLIB}" \
23121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23122 clean) \
23123 || exit 1
23125 @endif libiberty
23127 .PHONY: maybe-distclean-libiberty distclean-libiberty
23128 maybe-distclean-libiberty:
23129 @if libiberty
23130 maybe-distclean-libiberty: distclean-libiberty
23132 distclean-libiberty:
23133 @[ -f ./libiberty/Makefile ] || exit 0; \
23134 r=`${PWD_COMMAND}`; export r; \
23135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23136 $(HOST_EXPORTS) \
23137 for flag in $(EXTRA_HOST_FLAGS) ; do \
23138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23139 done; \
23140 echo "Doing distclean in libiberty" ; \
23141 (cd $(HOST_SUBDIR)/libiberty && \
23142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23144 "RANLIB=$${RANLIB}" \
23145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23146 distclean) \
23147 || exit 1
23149 @endif libiberty
23151 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
23152 maybe-maintainer-clean-libiberty:
23153 @if libiberty
23154 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
23156 maintainer-clean-libiberty:
23157 @[ -f ./libiberty/Makefile ] || exit 0; \
23158 r=`${PWD_COMMAND}`; export r; \
23159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23160 $(HOST_EXPORTS) \
23161 for flag in $(EXTRA_HOST_FLAGS) ; do \
23162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23163 done; \
23164 echo "Doing maintainer-clean in libiberty" ; \
23165 (cd $(HOST_SUBDIR)/libiberty && \
23166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23168 "RANLIB=$${RANLIB}" \
23169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23170 maintainer-clean) \
23171 || exit 1
23173 @endif libiberty
23177 .PHONY: configure-libiberty-linker-plugin maybe-configure-libiberty-linker-plugin
23178 maybe-configure-libiberty-linker-plugin:
23179 @if gcc-bootstrap
23180 configure-libiberty-linker-plugin: stage_current
23181 @endif gcc-bootstrap
23182 @if libiberty-linker-plugin
23183 maybe-configure-libiberty-linker-plugin: configure-libiberty-linker-plugin
23184 configure-libiberty-linker-plugin:
23185 @r=`${PWD_COMMAND}`; export r; \
23186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23187 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
23188 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin ; \
23189 $(HOST_EXPORTS) \
23190 echo Configuring in $(HOST_SUBDIR)/libiberty-linker-plugin; \
23191 cd "$(HOST_SUBDIR)/libiberty-linker-plugin" || exit 1; \
23192 case $(srcdir) in \
23193 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23194 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
23195 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23196 esac; \
23197 module_srcdir=libiberty; \
23198 $(SHELL) \
23199 $$s/$$module_srcdir/configure \
23200 --srcdir=$${topdir}/$$module_srcdir \
23201 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23202 --target=${target_alias} @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@ \
23203 || exit 1
23204 @endif libiberty-linker-plugin
23208 .PHONY: configure-stage1-libiberty-linker-plugin maybe-configure-stage1-libiberty-linker-plugin
23209 maybe-configure-stage1-libiberty-linker-plugin:
23210 @if libiberty-linker-plugin-bootstrap
23211 maybe-configure-stage1-libiberty-linker-plugin: configure-stage1-libiberty-linker-plugin
23212 configure-stage1-libiberty-linker-plugin:
23213 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
23214 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
23215 @r=`${PWD_COMMAND}`; export r; \
23216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23217 TFLAGS="$(STAGE1_TFLAGS)"; \
23218 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
23219 $(HOST_EXPORTS) \
23220 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
23221 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
23222 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
23223 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty-linker-plugin ; \
23224 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin ; \
23225 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
23226 case $(srcdir) in \
23227 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23228 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
23229 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23230 esac; \
23231 module_srcdir=libiberty; \
23232 $(SHELL) $$s/$$module_srcdir/configure \
23233 --srcdir=$${topdir}/$$module_srcdir \
23234 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23235 --target=${target_alias} \
23237 $(STAGE1_CONFIGURE_FLAGS) \
23238 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
23239 @endif libiberty-linker-plugin-bootstrap
23241 .PHONY: configure-stage2-libiberty-linker-plugin maybe-configure-stage2-libiberty-linker-plugin
23242 maybe-configure-stage2-libiberty-linker-plugin:
23243 @if libiberty-linker-plugin-bootstrap
23244 maybe-configure-stage2-libiberty-linker-plugin: configure-stage2-libiberty-linker-plugin
23245 configure-stage2-libiberty-linker-plugin:
23246 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
23247 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
23248 @r=`${PWD_COMMAND}`; export r; \
23249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23250 TFLAGS="$(STAGE2_TFLAGS)"; \
23251 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
23252 $(HOST_EXPORTS) \
23253 $(POSTSTAGE1_HOST_EXPORTS) \
23254 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
23255 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
23256 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
23257 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty-linker-plugin ; \
23258 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin ; \
23259 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
23260 case $(srcdir) in \
23261 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23262 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
23263 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23264 esac; \
23265 module_srcdir=libiberty; \
23266 $(SHELL) $$s/$$module_srcdir/configure \
23267 --srcdir=$${topdir}/$$module_srcdir \
23268 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23269 --target=${target_alias} \
23270 --with-build-libsubdir=$(HOST_SUBDIR) \
23271 $(STAGE2_CONFIGURE_FLAGS) \
23272 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
23273 @endif libiberty-linker-plugin-bootstrap
23275 .PHONY: configure-stage3-libiberty-linker-plugin maybe-configure-stage3-libiberty-linker-plugin
23276 maybe-configure-stage3-libiberty-linker-plugin:
23277 @if libiberty-linker-plugin-bootstrap
23278 maybe-configure-stage3-libiberty-linker-plugin: configure-stage3-libiberty-linker-plugin
23279 configure-stage3-libiberty-linker-plugin:
23280 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
23281 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
23282 @r=`${PWD_COMMAND}`; export r; \
23283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23284 TFLAGS="$(STAGE3_TFLAGS)"; \
23285 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
23286 $(HOST_EXPORTS) \
23287 $(POSTSTAGE1_HOST_EXPORTS) \
23288 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
23289 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
23290 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
23291 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty-linker-plugin ; \
23292 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin ; \
23293 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
23294 case $(srcdir) in \
23295 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23296 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
23297 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23298 esac; \
23299 module_srcdir=libiberty; \
23300 $(SHELL) $$s/$$module_srcdir/configure \
23301 --srcdir=$${topdir}/$$module_srcdir \
23302 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23303 --target=${target_alias} \
23304 --with-build-libsubdir=$(HOST_SUBDIR) \
23305 $(STAGE3_CONFIGURE_FLAGS) \
23306 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
23307 @endif libiberty-linker-plugin-bootstrap
23309 .PHONY: configure-stage4-libiberty-linker-plugin maybe-configure-stage4-libiberty-linker-plugin
23310 maybe-configure-stage4-libiberty-linker-plugin:
23311 @if libiberty-linker-plugin-bootstrap
23312 maybe-configure-stage4-libiberty-linker-plugin: configure-stage4-libiberty-linker-plugin
23313 configure-stage4-libiberty-linker-plugin:
23314 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
23315 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
23316 @r=`${PWD_COMMAND}`; export r; \
23317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23318 TFLAGS="$(STAGE4_TFLAGS)"; \
23319 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
23320 $(HOST_EXPORTS) \
23321 $(POSTSTAGE1_HOST_EXPORTS) \
23322 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
23323 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
23324 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
23325 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty-linker-plugin ; \
23326 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin ; \
23327 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
23328 case $(srcdir) in \
23329 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23330 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
23331 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23332 esac; \
23333 module_srcdir=libiberty; \
23334 $(SHELL) $$s/$$module_srcdir/configure \
23335 --srcdir=$${topdir}/$$module_srcdir \
23336 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23337 --target=${target_alias} \
23338 --with-build-libsubdir=$(HOST_SUBDIR) \
23339 $(STAGE4_CONFIGURE_FLAGS) \
23340 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
23341 @endif libiberty-linker-plugin-bootstrap
23343 .PHONY: configure-stageprofile-libiberty-linker-plugin maybe-configure-stageprofile-libiberty-linker-plugin
23344 maybe-configure-stageprofile-libiberty-linker-plugin:
23345 @if libiberty-linker-plugin-bootstrap
23346 maybe-configure-stageprofile-libiberty-linker-plugin: configure-stageprofile-libiberty-linker-plugin
23347 configure-stageprofile-libiberty-linker-plugin:
23348 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
23349 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
23350 @r=`${PWD_COMMAND}`; export r; \
23351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23352 TFLAGS="$(STAGEprofile_TFLAGS)"; \
23353 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
23354 $(HOST_EXPORTS) \
23355 $(POSTSTAGE1_HOST_EXPORTS) \
23356 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
23357 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
23358 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
23359 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty-linker-plugin ; \
23360 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin ; \
23361 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
23362 case $(srcdir) in \
23363 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23364 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
23365 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23366 esac; \
23367 module_srcdir=libiberty; \
23368 $(SHELL) $$s/$$module_srcdir/configure \
23369 --srcdir=$${topdir}/$$module_srcdir \
23370 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23371 --target=${target_alias} \
23372 --with-build-libsubdir=$(HOST_SUBDIR) \
23373 $(STAGEprofile_CONFIGURE_FLAGS) \
23374 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
23375 @endif libiberty-linker-plugin-bootstrap
23377 .PHONY: configure-stagefeedback-libiberty-linker-plugin maybe-configure-stagefeedback-libiberty-linker-plugin
23378 maybe-configure-stagefeedback-libiberty-linker-plugin:
23379 @if libiberty-linker-plugin-bootstrap
23380 maybe-configure-stagefeedback-libiberty-linker-plugin: configure-stagefeedback-libiberty-linker-plugin
23381 configure-stagefeedback-libiberty-linker-plugin:
23382 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
23383 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
23384 @r=`${PWD_COMMAND}`; export r; \
23385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23386 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
23387 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
23388 $(HOST_EXPORTS) \
23389 $(POSTSTAGE1_HOST_EXPORTS) \
23390 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
23391 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
23392 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
23393 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty-linker-plugin ; \
23394 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin ; \
23395 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
23396 case $(srcdir) in \
23397 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23398 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
23399 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23400 esac; \
23401 module_srcdir=libiberty; \
23402 $(SHELL) $$s/$$module_srcdir/configure \
23403 --srcdir=$${topdir}/$$module_srcdir \
23404 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23405 --target=${target_alias} \
23406 --with-build-libsubdir=$(HOST_SUBDIR) \
23407 $(STAGEfeedback_CONFIGURE_FLAGS) \
23408 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
23409 @endif libiberty-linker-plugin-bootstrap
23415 .PHONY: all-libiberty-linker-plugin maybe-all-libiberty-linker-plugin
23416 maybe-all-libiberty-linker-plugin:
23417 @if gcc-bootstrap
23418 all-libiberty-linker-plugin: stage_current
23419 @endif gcc-bootstrap
23420 @if libiberty-linker-plugin
23421 TARGET-libiberty-linker-plugin=all
23422 maybe-all-libiberty-linker-plugin: all-libiberty-linker-plugin
23423 all-libiberty-linker-plugin: configure-libiberty-linker-plugin
23424 @r=`${PWD_COMMAND}`; export r; \
23425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23426 $(HOST_EXPORTS) \
23427 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23428 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
23429 $(TARGET-libiberty-linker-plugin))
23430 @endif libiberty-linker-plugin
23434 .PHONY: all-stage1-libiberty-linker-plugin maybe-all-stage1-libiberty-linker-plugin
23435 .PHONY: clean-stage1-libiberty-linker-plugin maybe-clean-stage1-libiberty-linker-plugin
23436 maybe-all-stage1-libiberty-linker-plugin:
23437 maybe-clean-stage1-libiberty-linker-plugin:
23438 @if libiberty-linker-plugin-bootstrap
23439 maybe-all-stage1-libiberty-linker-plugin: all-stage1-libiberty-linker-plugin
23440 all-stage1: all-stage1-libiberty-linker-plugin
23441 TARGET-stage1-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
23442 all-stage1-libiberty-linker-plugin: configure-stage1-libiberty-linker-plugin
23443 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
23444 @r=`${PWD_COMMAND}`; export r; \
23445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23446 TFLAGS="$(STAGE1_TFLAGS)"; \
23447 $(HOST_EXPORTS) \
23448 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23449 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23450 CFLAGS="$(STAGE1_CFLAGS)" \
23451 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
23452 LIBCFLAGS="$(LIBCFLAGS)" \
23453 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23454 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23455 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23456 $(EXTRA_HOST_FLAGS) \
23457 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
23458 TFLAGS="$(STAGE1_TFLAGS)" \
23459 $(TARGET-stage1-libiberty-linker-plugin)
23461 maybe-clean-stage1-libiberty-linker-plugin: clean-stage1-libiberty-linker-plugin
23462 clean-stage1: clean-stage1-libiberty-linker-plugin
23463 clean-stage1-libiberty-linker-plugin:
23464 @if [ $(current_stage) = stage1 ]; then \
23465 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
23466 else \
23467 [ -f $(HOST_SUBDIR)/stage1-libiberty-linker-plugin/Makefile ] || exit 0; \
23468 $(MAKE) stage1-start; \
23469 fi; \
23470 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23471 $(MAKE) $(EXTRA_HOST_FLAGS) \
23472 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
23473 @endif libiberty-linker-plugin-bootstrap
23476 .PHONY: all-stage2-libiberty-linker-plugin maybe-all-stage2-libiberty-linker-plugin
23477 .PHONY: clean-stage2-libiberty-linker-plugin maybe-clean-stage2-libiberty-linker-plugin
23478 maybe-all-stage2-libiberty-linker-plugin:
23479 maybe-clean-stage2-libiberty-linker-plugin:
23480 @if libiberty-linker-plugin-bootstrap
23481 maybe-all-stage2-libiberty-linker-plugin: all-stage2-libiberty-linker-plugin
23482 all-stage2: all-stage2-libiberty-linker-plugin
23483 TARGET-stage2-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
23484 all-stage2-libiberty-linker-plugin: configure-stage2-libiberty-linker-plugin
23485 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
23486 @r=`${PWD_COMMAND}`; export r; \
23487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23488 TFLAGS="$(STAGE2_TFLAGS)"; \
23489 $(HOST_EXPORTS) \
23490 $(POSTSTAGE1_HOST_EXPORTS) \
23491 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23492 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23493 CFLAGS="$(STAGE2_CFLAGS)" \
23494 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
23495 LIBCFLAGS="$(STAGE2_CFLAGS)" \
23496 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23497 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23498 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23499 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
23500 TFLAGS="$(STAGE2_TFLAGS)" \
23501 $(TARGET-stage2-libiberty-linker-plugin)
23503 maybe-clean-stage2-libiberty-linker-plugin: clean-stage2-libiberty-linker-plugin
23504 clean-stage2: clean-stage2-libiberty-linker-plugin
23505 clean-stage2-libiberty-linker-plugin:
23506 @if [ $(current_stage) = stage2 ]; then \
23507 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
23508 else \
23509 [ -f $(HOST_SUBDIR)/stage2-libiberty-linker-plugin/Makefile ] || exit 0; \
23510 $(MAKE) stage2-start; \
23511 fi; \
23512 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23513 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
23514 @endif libiberty-linker-plugin-bootstrap
23517 .PHONY: all-stage3-libiberty-linker-plugin maybe-all-stage3-libiberty-linker-plugin
23518 .PHONY: clean-stage3-libiberty-linker-plugin maybe-clean-stage3-libiberty-linker-plugin
23519 maybe-all-stage3-libiberty-linker-plugin:
23520 maybe-clean-stage3-libiberty-linker-plugin:
23521 @if libiberty-linker-plugin-bootstrap
23522 maybe-all-stage3-libiberty-linker-plugin: all-stage3-libiberty-linker-plugin
23523 all-stage3: all-stage3-libiberty-linker-plugin
23524 TARGET-stage3-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
23525 all-stage3-libiberty-linker-plugin: configure-stage3-libiberty-linker-plugin
23526 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
23527 @r=`${PWD_COMMAND}`; export r; \
23528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23529 TFLAGS="$(STAGE3_TFLAGS)"; \
23530 $(HOST_EXPORTS) \
23531 $(POSTSTAGE1_HOST_EXPORTS) \
23532 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23533 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23534 CFLAGS="$(STAGE3_CFLAGS)" \
23535 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
23536 LIBCFLAGS="$(STAGE3_CFLAGS)" \
23537 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23538 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23539 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23540 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
23541 TFLAGS="$(STAGE3_TFLAGS)" \
23542 $(TARGET-stage3-libiberty-linker-plugin)
23544 maybe-clean-stage3-libiberty-linker-plugin: clean-stage3-libiberty-linker-plugin
23545 clean-stage3: clean-stage3-libiberty-linker-plugin
23546 clean-stage3-libiberty-linker-plugin:
23547 @if [ $(current_stage) = stage3 ]; then \
23548 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
23549 else \
23550 [ -f $(HOST_SUBDIR)/stage3-libiberty-linker-plugin/Makefile ] || exit 0; \
23551 $(MAKE) stage3-start; \
23552 fi; \
23553 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23554 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
23555 @endif libiberty-linker-plugin-bootstrap
23558 .PHONY: all-stage4-libiberty-linker-plugin maybe-all-stage4-libiberty-linker-plugin
23559 .PHONY: clean-stage4-libiberty-linker-plugin maybe-clean-stage4-libiberty-linker-plugin
23560 maybe-all-stage4-libiberty-linker-plugin:
23561 maybe-clean-stage4-libiberty-linker-plugin:
23562 @if libiberty-linker-plugin-bootstrap
23563 maybe-all-stage4-libiberty-linker-plugin: all-stage4-libiberty-linker-plugin
23564 all-stage4: all-stage4-libiberty-linker-plugin
23565 TARGET-stage4-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
23566 all-stage4-libiberty-linker-plugin: configure-stage4-libiberty-linker-plugin
23567 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
23568 @r=`${PWD_COMMAND}`; export r; \
23569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23570 TFLAGS="$(STAGE4_TFLAGS)"; \
23571 $(HOST_EXPORTS) \
23572 $(POSTSTAGE1_HOST_EXPORTS) \
23573 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23574 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23575 CFLAGS="$(STAGE4_CFLAGS)" \
23576 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
23577 LIBCFLAGS="$(STAGE4_CFLAGS)" \
23578 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23579 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23580 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23581 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
23582 TFLAGS="$(STAGE4_TFLAGS)" \
23583 $(TARGET-stage4-libiberty-linker-plugin)
23585 maybe-clean-stage4-libiberty-linker-plugin: clean-stage4-libiberty-linker-plugin
23586 clean-stage4: clean-stage4-libiberty-linker-plugin
23587 clean-stage4-libiberty-linker-plugin:
23588 @if [ $(current_stage) = stage4 ]; then \
23589 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
23590 else \
23591 [ -f $(HOST_SUBDIR)/stage4-libiberty-linker-plugin/Makefile ] || exit 0; \
23592 $(MAKE) stage4-start; \
23593 fi; \
23594 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23595 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
23596 @endif libiberty-linker-plugin-bootstrap
23599 .PHONY: all-stageprofile-libiberty-linker-plugin maybe-all-stageprofile-libiberty-linker-plugin
23600 .PHONY: clean-stageprofile-libiberty-linker-plugin maybe-clean-stageprofile-libiberty-linker-plugin
23601 maybe-all-stageprofile-libiberty-linker-plugin:
23602 maybe-clean-stageprofile-libiberty-linker-plugin:
23603 @if libiberty-linker-plugin-bootstrap
23604 maybe-all-stageprofile-libiberty-linker-plugin: all-stageprofile-libiberty-linker-plugin
23605 all-stageprofile: all-stageprofile-libiberty-linker-plugin
23606 TARGET-stageprofile-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
23607 all-stageprofile-libiberty-linker-plugin: configure-stageprofile-libiberty-linker-plugin
23608 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
23609 @r=`${PWD_COMMAND}`; export r; \
23610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23611 TFLAGS="$(STAGEprofile_TFLAGS)"; \
23612 $(HOST_EXPORTS) \
23613 $(POSTSTAGE1_HOST_EXPORTS) \
23614 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23615 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23616 CFLAGS="$(STAGEprofile_CFLAGS)" \
23617 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
23618 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
23619 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23620 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23621 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23622 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
23623 TFLAGS="$(STAGEprofile_TFLAGS)" \
23624 $(TARGET-stageprofile-libiberty-linker-plugin)
23626 maybe-clean-stageprofile-libiberty-linker-plugin: clean-stageprofile-libiberty-linker-plugin
23627 clean-stageprofile: clean-stageprofile-libiberty-linker-plugin
23628 clean-stageprofile-libiberty-linker-plugin:
23629 @if [ $(current_stage) = stageprofile ]; then \
23630 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
23631 else \
23632 [ -f $(HOST_SUBDIR)/stageprofile-libiberty-linker-plugin/Makefile ] || exit 0; \
23633 $(MAKE) stageprofile-start; \
23634 fi; \
23635 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23636 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
23637 @endif libiberty-linker-plugin-bootstrap
23640 .PHONY: all-stagefeedback-libiberty-linker-plugin maybe-all-stagefeedback-libiberty-linker-plugin
23641 .PHONY: clean-stagefeedback-libiberty-linker-plugin maybe-clean-stagefeedback-libiberty-linker-plugin
23642 maybe-all-stagefeedback-libiberty-linker-plugin:
23643 maybe-clean-stagefeedback-libiberty-linker-plugin:
23644 @if libiberty-linker-plugin-bootstrap
23645 maybe-all-stagefeedback-libiberty-linker-plugin: all-stagefeedback-libiberty-linker-plugin
23646 all-stagefeedback: all-stagefeedback-libiberty-linker-plugin
23647 TARGET-stagefeedback-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
23648 all-stagefeedback-libiberty-linker-plugin: configure-stagefeedback-libiberty-linker-plugin
23649 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
23650 @r=`${PWD_COMMAND}`; export r; \
23651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23652 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
23653 $(HOST_EXPORTS) \
23654 $(POSTSTAGE1_HOST_EXPORTS) \
23655 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23656 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23657 CFLAGS="$(STAGEfeedback_CFLAGS)" \
23658 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
23659 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
23660 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23661 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23662 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23663 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
23664 TFLAGS="$(STAGEfeedback_TFLAGS)" \
23665 $(TARGET-stagefeedback-libiberty-linker-plugin)
23667 maybe-clean-stagefeedback-libiberty-linker-plugin: clean-stagefeedback-libiberty-linker-plugin
23668 clean-stagefeedback: clean-stagefeedback-libiberty-linker-plugin
23669 clean-stagefeedback-libiberty-linker-plugin:
23670 @if [ $(current_stage) = stagefeedback ]; then \
23671 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
23672 else \
23673 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty-linker-plugin/Makefile ] || exit 0; \
23674 $(MAKE) stagefeedback-start; \
23675 fi; \
23676 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23677 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
23678 @endif libiberty-linker-plugin-bootstrap
23684 .PHONY: check-libiberty-linker-plugin maybe-check-libiberty-linker-plugin
23685 maybe-check-libiberty-linker-plugin:
23686 @if libiberty-linker-plugin
23687 maybe-check-libiberty-linker-plugin: check-libiberty-linker-plugin
23689 check-libiberty-linker-plugin:
23690 @: $(MAKE); $(unstage)
23691 @r=`${PWD_COMMAND}`; export r; \
23692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23693 $(HOST_EXPORTS) \
23694 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23695 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ check)
23697 @endif libiberty-linker-plugin
23699 .PHONY: install-libiberty-linker-plugin maybe-install-libiberty-linker-plugin
23700 maybe-install-libiberty-linker-plugin:
23701 @if libiberty-linker-plugin
23702 maybe-install-libiberty-linker-plugin: install-libiberty-linker-plugin
23704 install-libiberty-linker-plugin: installdirs
23705 @: $(MAKE); $(unstage)
23706 @r=`${PWD_COMMAND}`; export r; \
23707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23708 $(HOST_EXPORTS) \
23709 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23710 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install)
23712 @endif libiberty-linker-plugin
23714 .PHONY: install-strip-libiberty-linker-plugin maybe-install-strip-libiberty-linker-plugin
23715 maybe-install-strip-libiberty-linker-plugin:
23716 @if libiberty-linker-plugin
23717 maybe-install-strip-libiberty-linker-plugin: install-strip-libiberty-linker-plugin
23719 install-strip-libiberty-linker-plugin: installdirs
23720 @: $(MAKE); $(unstage)
23721 @r=`${PWD_COMMAND}`; export r; \
23722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23723 $(HOST_EXPORTS) \
23724 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23725 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install-strip)
23727 @endif libiberty-linker-plugin
23729 # Other targets (info, dvi, pdf, etc.)
23731 .PHONY: maybe-info-libiberty-linker-plugin info-libiberty-linker-plugin
23732 maybe-info-libiberty-linker-plugin:
23733 @if libiberty-linker-plugin
23734 maybe-info-libiberty-linker-plugin: info-libiberty-linker-plugin
23736 info-libiberty-linker-plugin: \
23737 configure-libiberty-linker-plugin
23738 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
23739 r=`${PWD_COMMAND}`; export r; \
23740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23741 $(HOST_EXPORTS) \
23742 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
23743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23744 done; \
23745 echo "Doing info in libiberty-linker-plugin" ; \
23746 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23749 "RANLIB=$${RANLIB}" \
23750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23751 info) \
23752 || exit 1
23754 @endif libiberty-linker-plugin
23756 .PHONY: maybe-dvi-libiberty-linker-plugin dvi-libiberty-linker-plugin
23757 maybe-dvi-libiberty-linker-plugin:
23758 @if libiberty-linker-plugin
23759 maybe-dvi-libiberty-linker-plugin: dvi-libiberty-linker-plugin
23761 dvi-libiberty-linker-plugin: \
23762 configure-libiberty-linker-plugin
23763 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
23764 r=`${PWD_COMMAND}`; export r; \
23765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23766 $(HOST_EXPORTS) \
23767 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
23768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23769 done; \
23770 echo "Doing dvi in libiberty-linker-plugin" ; \
23771 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23774 "RANLIB=$${RANLIB}" \
23775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23776 dvi) \
23777 || exit 1
23779 @endif libiberty-linker-plugin
23781 .PHONY: maybe-pdf-libiberty-linker-plugin pdf-libiberty-linker-plugin
23782 maybe-pdf-libiberty-linker-plugin:
23783 @if libiberty-linker-plugin
23784 maybe-pdf-libiberty-linker-plugin: pdf-libiberty-linker-plugin
23786 pdf-libiberty-linker-plugin: \
23787 configure-libiberty-linker-plugin
23788 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
23789 r=`${PWD_COMMAND}`; export r; \
23790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23791 $(HOST_EXPORTS) \
23792 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
23793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23794 done; \
23795 echo "Doing pdf in libiberty-linker-plugin" ; \
23796 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23799 "RANLIB=$${RANLIB}" \
23800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23801 pdf) \
23802 || exit 1
23804 @endif libiberty-linker-plugin
23806 .PHONY: maybe-html-libiberty-linker-plugin html-libiberty-linker-plugin
23807 maybe-html-libiberty-linker-plugin:
23808 @if libiberty-linker-plugin
23809 maybe-html-libiberty-linker-plugin: html-libiberty-linker-plugin
23811 html-libiberty-linker-plugin: \
23812 configure-libiberty-linker-plugin
23813 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
23814 r=`${PWD_COMMAND}`; export r; \
23815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23816 $(HOST_EXPORTS) \
23817 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
23818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23819 done; \
23820 echo "Doing html in libiberty-linker-plugin" ; \
23821 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23824 "RANLIB=$${RANLIB}" \
23825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23826 html) \
23827 || exit 1
23829 @endif libiberty-linker-plugin
23831 .PHONY: maybe-TAGS-libiberty-linker-plugin TAGS-libiberty-linker-plugin
23832 maybe-TAGS-libiberty-linker-plugin:
23833 @if libiberty-linker-plugin
23834 maybe-TAGS-libiberty-linker-plugin: TAGS-libiberty-linker-plugin
23836 TAGS-libiberty-linker-plugin: \
23837 configure-libiberty-linker-plugin
23838 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
23839 r=`${PWD_COMMAND}`; export r; \
23840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23841 $(HOST_EXPORTS) \
23842 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
23843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23844 done; \
23845 echo "Doing TAGS in libiberty-linker-plugin" ; \
23846 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23849 "RANLIB=$${RANLIB}" \
23850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23851 TAGS) \
23852 || exit 1
23854 @endif libiberty-linker-plugin
23856 .PHONY: maybe-install-info-libiberty-linker-plugin install-info-libiberty-linker-plugin
23857 maybe-install-info-libiberty-linker-plugin:
23858 @if libiberty-linker-plugin
23859 maybe-install-info-libiberty-linker-plugin: install-info-libiberty-linker-plugin
23861 install-info-libiberty-linker-plugin: \
23862 configure-libiberty-linker-plugin \
23863 info-libiberty-linker-plugin
23864 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
23865 r=`${PWD_COMMAND}`; export r; \
23866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23867 $(HOST_EXPORTS) \
23868 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
23869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23870 done; \
23871 echo "Doing install-info in libiberty-linker-plugin" ; \
23872 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23875 "RANLIB=$${RANLIB}" \
23876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23877 install-info) \
23878 || exit 1
23880 @endif libiberty-linker-plugin
23882 .PHONY: maybe-install-pdf-libiberty-linker-plugin install-pdf-libiberty-linker-plugin
23883 maybe-install-pdf-libiberty-linker-plugin:
23884 @if libiberty-linker-plugin
23885 maybe-install-pdf-libiberty-linker-plugin: install-pdf-libiberty-linker-plugin
23887 install-pdf-libiberty-linker-plugin: \
23888 configure-libiberty-linker-plugin \
23889 pdf-libiberty-linker-plugin
23890 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
23891 r=`${PWD_COMMAND}`; export r; \
23892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23893 $(HOST_EXPORTS) \
23894 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
23895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23896 done; \
23897 echo "Doing install-pdf in libiberty-linker-plugin" ; \
23898 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23901 "RANLIB=$${RANLIB}" \
23902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23903 install-pdf) \
23904 || exit 1
23906 @endif libiberty-linker-plugin
23908 .PHONY: maybe-install-html-libiberty-linker-plugin install-html-libiberty-linker-plugin
23909 maybe-install-html-libiberty-linker-plugin:
23910 @if libiberty-linker-plugin
23911 maybe-install-html-libiberty-linker-plugin: install-html-libiberty-linker-plugin
23913 install-html-libiberty-linker-plugin: \
23914 configure-libiberty-linker-plugin \
23915 html-libiberty-linker-plugin
23916 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
23917 r=`${PWD_COMMAND}`; export r; \
23918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23919 $(HOST_EXPORTS) \
23920 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
23921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23922 done; \
23923 echo "Doing install-html in libiberty-linker-plugin" ; \
23924 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23927 "RANLIB=$${RANLIB}" \
23928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23929 install-html) \
23930 || exit 1
23932 @endif libiberty-linker-plugin
23934 .PHONY: maybe-installcheck-libiberty-linker-plugin installcheck-libiberty-linker-plugin
23935 maybe-installcheck-libiberty-linker-plugin:
23936 @if libiberty-linker-plugin
23937 maybe-installcheck-libiberty-linker-plugin: installcheck-libiberty-linker-plugin
23939 installcheck-libiberty-linker-plugin: \
23940 configure-libiberty-linker-plugin
23941 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
23942 r=`${PWD_COMMAND}`; export r; \
23943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23944 $(HOST_EXPORTS) \
23945 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
23946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23947 done; \
23948 echo "Doing installcheck in libiberty-linker-plugin" ; \
23949 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23952 "RANLIB=$${RANLIB}" \
23953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23954 installcheck) \
23955 || exit 1
23957 @endif libiberty-linker-plugin
23959 .PHONY: maybe-mostlyclean-libiberty-linker-plugin mostlyclean-libiberty-linker-plugin
23960 maybe-mostlyclean-libiberty-linker-plugin:
23961 @if libiberty-linker-plugin
23962 maybe-mostlyclean-libiberty-linker-plugin: mostlyclean-libiberty-linker-plugin
23964 mostlyclean-libiberty-linker-plugin:
23965 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
23966 r=`${PWD_COMMAND}`; export r; \
23967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23968 $(HOST_EXPORTS) \
23969 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
23970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23971 done; \
23972 echo "Doing mostlyclean in libiberty-linker-plugin" ; \
23973 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23976 "RANLIB=$${RANLIB}" \
23977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23978 mostlyclean) \
23979 || exit 1
23981 @endif libiberty-linker-plugin
23983 .PHONY: maybe-clean-libiberty-linker-plugin clean-libiberty-linker-plugin
23984 maybe-clean-libiberty-linker-plugin:
23985 @if libiberty-linker-plugin
23986 maybe-clean-libiberty-linker-plugin: clean-libiberty-linker-plugin
23988 clean-libiberty-linker-plugin:
23989 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
23990 r=`${PWD_COMMAND}`; export r; \
23991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23992 $(HOST_EXPORTS) \
23993 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
23994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23995 done; \
23996 echo "Doing clean in libiberty-linker-plugin" ; \
23997 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24000 "RANLIB=$${RANLIB}" \
24001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24002 clean) \
24003 || exit 1
24005 @endif libiberty-linker-plugin
24007 .PHONY: maybe-distclean-libiberty-linker-plugin distclean-libiberty-linker-plugin
24008 maybe-distclean-libiberty-linker-plugin:
24009 @if libiberty-linker-plugin
24010 maybe-distclean-libiberty-linker-plugin: distclean-libiberty-linker-plugin
24012 distclean-libiberty-linker-plugin:
24013 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
24014 r=`${PWD_COMMAND}`; export r; \
24015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24016 $(HOST_EXPORTS) \
24017 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
24018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24019 done; \
24020 echo "Doing distclean in libiberty-linker-plugin" ; \
24021 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24024 "RANLIB=$${RANLIB}" \
24025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24026 distclean) \
24027 || exit 1
24029 @endif libiberty-linker-plugin
24031 .PHONY: maybe-maintainer-clean-libiberty-linker-plugin maintainer-clean-libiberty-linker-plugin
24032 maybe-maintainer-clean-libiberty-linker-plugin:
24033 @if libiberty-linker-plugin
24034 maybe-maintainer-clean-libiberty-linker-plugin: maintainer-clean-libiberty-linker-plugin
24036 maintainer-clean-libiberty-linker-plugin:
24037 @[ -f ./libiberty-linker-plugin/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) @extra_linker_plugin_flags@; do \
24042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24043 done; \
24044 echo "Doing maintainer-clean in libiberty-linker-plugin" ; \
24045 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
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 maintainer-clean) \
24051 || exit 1
24053 @endif libiberty-linker-plugin
24057 .PHONY: configure-libiconv maybe-configure-libiconv
24058 maybe-configure-libiconv:
24059 @if gcc-bootstrap
24060 configure-libiconv: stage_current
24061 @endif gcc-bootstrap
24062 @if libiconv
24063 maybe-configure-libiconv: configure-libiconv
24064 configure-libiconv:
24065 @: $(MAKE); $(unstage)
24066 @r=`${PWD_COMMAND}`; export r; \
24067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24068 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
24069 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv ; \
24070 $(HOST_EXPORTS) \
24071 echo Configuring in $(HOST_SUBDIR)/libiconv; \
24072 cd "$(HOST_SUBDIR)/libiconv" || exit 1; \
24073 case $(srcdir) in \
24074 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24075 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
24076 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24077 esac; \
24078 module_srcdir=libiconv; \
24079 $(SHELL) \
24080 $$s/$$module_srcdir/configure \
24081 --srcdir=$${topdir}/$$module_srcdir \
24082 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24083 --target=${target_alias} --disable-shared \
24084 || exit 1
24085 @endif libiconv
24091 .PHONY: all-libiconv maybe-all-libiconv
24092 maybe-all-libiconv:
24093 @if gcc-bootstrap
24094 all-libiconv: stage_current
24095 @endif gcc-bootstrap
24096 @if libiconv
24097 TARGET-libiconv=all
24098 maybe-all-libiconv: all-libiconv
24099 all-libiconv: configure-libiconv
24100 @: $(MAKE); $(unstage)
24101 @r=`${PWD_COMMAND}`; export r; \
24102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24103 $(HOST_EXPORTS) \
24104 (cd $(HOST_SUBDIR)/libiconv && \
24105 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
24106 $(TARGET-libiconv))
24107 @endif libiconv
24112 .PHONY: check-libiconv maybe-check-libiconv
24113 maybe-check-libiconv:
24114 @if libiconv
24115 maybe-check-libiconv: check-libiconv
24117 check-libiconv:
24118 @: $(MAKE); $(unstage)
24119 @r=`${PWD_COMMAND}`; export r; \
24120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24121 $(HOST_EXPORTS) \
24122 (cd $(HOST_SUBDIR)/libiconv && \
24123 $(MAKE) $(FLAGS_TO_PASS) check)
24125 @endif libiconv
24127 .PHONY: install-libiconv maybe-install-libiconv
24128 maybe-install-libiconv:
24129 @if libiconv
24130 maybe-install-libiconv: install-libiconv
24132 install-libiconv:
24134 @endif libiconv
24136 .PHONY: install-strip-libiconv maybe-install-strip-libiconv
24137 maybe-install-strip-libiconv:
24138 @if libiconv
24139 maybe-install-strip-libiconv: install-strip-libiconv
24141 install-strip-libiconv:
24143 @endif libiconv
24145 # Other targets (info, dvi, pdf, etc.)
24147 .PHONY: maybe-info-libiconv info-libiconv
24148 maybe-info-libiconv:
24149 @if libiconv
24150 maybe-info-libiconv: info-libiconv
24152 info-libiconv: \
24153 configure-libiconv
24154 @: $(MAKE); $(unstage)
24155 @[ -f ./libiconv/Makefile ] || exit 0; \
24156 r=`${PWD_COMMAND}`; export r; \
24157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24158 $(HOST_EXPORTS) \
24159 for flag in $(EXTRA_HOST_FLAGS) ; do \
24160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24161 done; \
24162 echo "Doing info in libiconv" ; \
24163 (cd $(HOST_SUBDIR)/libiconv && \
24164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24166 "RANLIB=$${RANLIB}" \
24167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24168 info) \
24169 || exit 1
24171 @endif libiconv
24173 .PHONY: maybe-dvi-libiconv dvi-libiconv
24174 maybe-dvi-libiconv:
24175 @if libiconv
24176 maybe-dvi-libiconv: dvi-libiconv
24178 dvi-libiconv: \
24179 configure-libiconv
24180 @: $(MAKE); $(unstage)
24181 @[ -f ./libiconv/Makefile ] || exit 0; \
24182 r=`${PWD_COMMAND}`; export r; \
24183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24184 $(HOST_EXPORTS) \
24185 for flag in $(EXTRA_HOST_FLAGS) ; do \
24186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24187 done; \
24188 echo "Doing dvi in libiconv" ; \
24189 (cd $(HOST_SUBDIR)/libiconv && \
24190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24192 "RANLIB=$${RANLIB}" \
24193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24194 dvi) \
24195 || exit 1
24197 @endif libiconv
24199 .PHONY: maybe-pdf-libiconv pdf-libiconv
24200 maybe-pdf-libiconv:
24201 @if libiconv
24202 maybe-pdf-libiconv: pdf-libiconv
24204 pdf-libiconv: \
24205 configure-libiconv
24206 @: $(MAKE); $(unstage)
24207 @[ -f ./libiconv/Makefile ] || exit 0; \
24208 r=`${PWD_COMMAND}`; export r; \
24209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24210 $(HOST_EXPORTS) \
24211 for flag in $(EXTRA_HOST_FLAGS) ; do \
24212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24213 done; \
24214 echo "Doing pdf in libiconv" ; \
24215 (cd $(HOST_SUBDIR)/libiconv && \
24216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24218 "RANLIB=$${RANLIB}" \
24219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24220 pdf) \
24221 || exit 1
24223 @endif libiconv
24225 .PHONY: maybe-html-libiconv html-libiconv
24226 maybe-html-libiconv:
24227 @if libiconv
24228 maybe-html-libiconv: html-libiconv
24230 html-libiconv: \
24231 configure-libiconv
24232 @: $(MAKE); $(unstage)
24233 @[ -f ./libiconv/Makefile ] || exit 0; \
24234 r=`${PWD_COMMAND}`; export r; \
24235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24236 $(HOST_EXPORTS) \
24237 for flag in $(EXTRA_HOST_FLAGS) ; do \
24238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24239 done; \
24240 echo "Doing html in libiconv" ; \
24241 (cd $(HOST_SUBDIR)/libiconv && \
24242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24244 "RANLIB=$${RANLIB}" \
24245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24246 html) \
24247 || exit 1
24249 @endif libiconv
24251 .PHONY: maybe-TAGS-libiconv TAGS-libiconv
24252 maybe-TAGS-libiconv:
24253 @if libiconv
24254 maybe-TAGS-libiconv: TAGS-libiconv
24256 TAGS-libiconv: \
24257 configure-libiconv
24258 @: $(MAKE); $(unstage)
24259 @[ -f ./libiconv/Makefile ] || exit 0; \
24260 r=`${PWD_COMMAND}`; export r; \
24261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24262 $(HOST_EXPORTS) \
24263 for flag in $(EXTRA_HOST_FLAGS) ; do \
24264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24265 done; \
24266 echo "Doing TAGS in libiconv" ; \
24267 (cd $(HOST_SUBDIR)/libiconv && \
24268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24270 "RANLIB=$${RANLIB}" \
24271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24272 TAGS) \
24273 || exit 1
24275 @endif libiconv
24277 .PHONY: maybe-install-info-libiconv install-info-libiconv
24278 maybe-install-info-libiconv:
24279 @if libiconv
24280 maybe-install-info-libiconv: install-info-libiconv
24282 # libiconv doesn't support install-info.
24283 install-info-libiconv:
24285 @endif libiconv
24287 .PHONY: maybe-install-pdf-libiconv install-pdf-libiconv
24288 maybe-install-pdf-libiconv:
24289 @if libiconv
24290 maybe-install-pdf-libiconv: install-pdf-libiconv
24292 # libiconv doesn't support install-pdf.
24293 install-pdf-libiconv:
24295 @endif libiconv
24297 .PHONY: maybe-install-html-libiconv install-html-libiconv
24298 maybe-install-html-libiconv:
24299 @if libiconv
24300 maybe-install-html-libiconv: install-html-libiconv
24302 # libiconv doesn't support install-html.
24303 install-html-libiconv:
24305 @endif libiconv
24307 .PHONY: maybe-installcheck-libiconv installcheck-libiconv
24308 maybe-installcheck-libiconv:
24309 @if libiconv
24310 maybe-installcheck-libiconv: installcheck-libiconv
24312 installcheck-libiconv: \
24313 configure-libiconv
24314 @: $(MAKE); $(unstage)
24315 @[ -f ./libiconv/Makefile ] || exit 0; \
24316 r=`${PWD_COMMAND}`; export r; \
24317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24318 $(HOST_EXPORTS) \
24319 for flag in $(EXTRA_HOST_FLAGS) ; do \
24320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24321 done; \
24322 echo "Doing installcheck in libiconv" ; \
24323 (cd $(HOST_SUBDIR)/libiconv && \
24324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24326 "RANLIB=$${RANLIB}" \
24327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24328 installcheck) \
24329 || exit 1
24331 @endif libiconv
24333 .PHONY: maybe-mostlyclean-libiconv mostlyclean-libiconv
24334 maybe-mostlyclean-libiconv:
24335 @if libiconv
24336 maybe-mostlyclean-libiconv: mostlyclean-libiconv
24338 mostlyclean-libiconv:
24339 @: $(MAKE); $(unstage)
24340 @[ -f ./libiconv/Makefile ] || exit 0; \
24341 r=`${PWD_COMMAND}`; export r; \
24342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24343 $(HOST_EXPORTS) \
24344 for flag in $(EXTRA_HOST_FLAGS) ; do \
24345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24346 done; \
24347 echo "Doing mostlyclean in libiconv" ; \
24348 (cd $(HOST_SUBDIR)/libiconv && \
24349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24351 "RANLIB=$${RANLIB}" \
24352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24353 mostlyclean) \
24354 || exit 1
24356 @endif libiconv
24358 .PHONY: maybe-clean-libiconv clean-libiconv
24359 maybe-clean-libiconv:
24360 @if libiconv
24361 maybe-clean-libiconv: clean-libiconv
24363 clean-libiconv:
24364 @: $(MAKE); $(unstage)
24365 @[ -f ./libiconv/Makefile ] || exit 0; \
24366 r=`${PWD_COMMAND}`; export r; \
24367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24368 $(HOST_EXPORTS) \
24369 for flag in $(EXTRA_HOST_FLAGS) ; do \
24370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24371 done; \
24372 echo "Doing clean in libiconv" ; \
24373 (cd $(HOST_SUBDIR)/libiconv && \
24374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24376 "RANLIB=$${RANLIB}" \
24377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24378 clean) \
24379 || exit 1
24381 @endif libiconv
24383 .PHONY: maybe-distclean-libiconv distclean-libiconv
24384 maybe-distclean-libiconv:
24385 @if libiconv
24386 maybe-distclean-libiconv: distclean-libiconv
24388 distclean-libiconv:
24389 @: $(MAKE); $(unstage)
24390 @[ -f ./libiconv/Makefile ] || exit 0; \
24391 r=`${PWD_COMMAND}`; export r; \
24392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24393 $(HOST_EXPORTS) \
24394 for flag in $(EXTRA_HOST_FLAGS) ; do \
24395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24396 done; \
24397 echo "Doing distclean in libiconv" ; \
24398 (cd $(HOST_SUBDIR)/libiconv && \
24399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24401 "RANLIB=$${RANLIB}" \
24402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24403 distclean) \
24404 || exit 1
24406 @endif libiconv
24408 .PHONY: maybe-maintainer-clean-libiconv maintainer-clean-libiconv
24409 maybe-maintainer-clean-libiconv:
24410 @if libiconv
24411 maybe-maintainer-clean-libiconv: maintainer-clean-libiconv
24413 maintainer-clean-libiconv:
24414 @: $(MAKE); $(unstage)
24415 @[ -f ./libiconv/Makefile ] || exit 0; \
24416 r=`${PWD_COMMAND}`; export r; \
24417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24418 $(HOST_EXPORTS) \
24419 for flag in $(EXTRA_HOST_FLAGS) ; do \
24420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24421 done; \
24422 echo "Doing maintainer-clean in libiconv" ; \
24423 (cd $(HOST_SUBDIR)/libiconv && \
24424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24426 "RANLIB=$${RANLIB}" \
24427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24428 maintainer-clean) \
24429 || exit 1
24431 @endif libiconv
24435 .PHONY: configure-m4 maybe-configure-m4
24436 maybe-configure-m4:
24437 @if gcc-bootstrap
24438 configure-m4: stage_current
24439 @endif gcc-bootstrap
24440 @if m4
24441 maybe-configure-m4: configure-m4
24442 configure-m4:
24443 @: $(MAKE); $(unstage)
24444 @r=`${PWD_COMMAND}`; export r; \
24445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24446 test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
24447 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4 ; \
24448 $(HOST_EXPORTS) \
24449 echo Configuring in $(HOST_SUBDIR)/m4; \
24450 cd "$(HOST_SUBDIR)/m4" || exit 1; \
24451 case $(srcdir) in \
24452 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24453 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
24454 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24455 esac; \
24456 module_srcdir=m4; \
24457 $(SHELL) \
24458 $$s/$$module_srcdir/configure \
24459 --srcdir=$${topdir}/$$module_srcdir \
24460 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24461 --target=${target_alias} \
24462 || exit 1
24463 @endif m4
24469 .PHONY: all-m4 maybe-all-m4
24470 maybe-all-m4:
24471 @if gcc-bootstrap
24472 all-m4: stage_current
24473 @endif gcc-bootstrap
24474 @if m4
24475 TARGET-m4=all
24476 maybe-all-m4: all-m4
24477 all-m4: configure-m4
24478 @: $(MAKE); $(unstage)
24479 @r=`${PWD_COMMAND}`; export r; \
24480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24481 $(HOST_EXPORTS) \
24482 (cd $(HOST_SUBDIR)/m4 && \
24483 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
24484 $(TARGET-m4))
24485 @endif m4
24490 .PHONY: check-m4 maybe-check-m4
24491 maybe-check-m4:
24492 @if m4
24493 maybe-check-m4: check-m4
24495 check-m4:
24496 @: $(MAKE); $(unstage)
24497 @r=`${PWD_COMMAND}`; export r; \
24498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24499 $(HOST_EXPORTS) \
24500 (cd $(HOST_SUBDIR)/m4 && \
24501 $(MAKE) $(FLAGS_TO_PASS) check)
24503 @endif m4
24505 .PHONY: install-m4 maybe-install-m4
24506 maybe-install-m4:
24507 @if m4
24508 maybe-install-m4: install-m4
24510 install-m4: installdirs
24511 @: $(MAKE); $(unstage)
24512 @r=`${PWD_COMMAND}`; export r; \
24513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24514 $(HOST_EXPORTS) \
24515 (cd $(HOST_SUBDIR)/m4 && \
24516 $(MAKE) $(FLAGS_TO_PASS) install)
24518 @endif m4
24520 .PHONY: install-strip-m4 maybe-install-strip-m4
24521 maybe-install-strip-m4:
24522 @if m4
24523 maybe-install-strip-m4: install-strip-m4
24525 install-strip-m4: installdirs
24526 @: $(MAKE); $(unstage)
24527 @r=`${PWD_COMMAND}`; export r; \
24528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24529 $(HOST_EXPORTS) \
24530 (cd $(HOST_SUBDIR)/m4 && \
24531 $(MAKE) $(FLAGS_TO_PASS) install-strip)
24533 @endif m4
24535 # Other targets (info, dvi, pdf, etc.)
24537 .PHONY: maybe-info-m4 info-m4
24538 maybe-info-m4:
24539 @if m4
24540 maybe-info-m4: info-m4
24542 info-m4: \
24543 configure-m4
24544 @: $(MAKE); $(unstage)
24545 @[ -f ./m4/Makefile ] || exit 0; \
24546 r=`${PWD_COMMAND}`; export r; \
24547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24548 $(HOST_EXPORTS) \
24549 for flag in $(EXTRA_HOST_FLAGS) ; do \
24550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24551 done; \
24552 echo "Doing info in m4" ; \
24553 (cd $(HOST_SUBDIR)/m4 && \
24554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24556 "RANLIB=$${RANLIB}" \
24557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24558 info) \
24559 || exit 1
24561 @endif m4
24563 .PHONY: maybe-dvi-m4 dvi-m4
24564 maybe-dvi-m4:
24565 @if m4
24566 maybe-dvi-m4: dvi-m4
24568 dvi-m4: \
24569 configure-m4
24570 @: $(MAKE); $(unstage)
24571 @[ -f ./m4/Makefile ] || exit 0; \
24572 r=`${PWD_COMMAND}`; export r; \
24573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24574 $(HOST_EXPORTS) \
24575 for flag in $(EXTRA_HOST_FLAGS) ; do \
24576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24577 done; \
24578 echo "Doing dvi in m4" ; \
24579 (cd $(HOST_SUBDIR)/m4 && \
24580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24582 "RANLIB=$${RANLIB}" \
24583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24584 dvi) \
24585 || exit 1
24587 @endif m4
24589 .PHONY: maybe-pdf-m4 pdf-m4
24590 maybe-pdf-m4:
24591 @if m4
24592 maybe-pdf-m4: pdf-m4
24594 pdf-m4: \
24595 configure-m4
24596 @: $(MAKE); $(unstage)
24597 @[ -f ./m4/Makefile ] || exit 0; \
24598 r=`${PWD_COMMAND}`; export r; \
24599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24600 $(HOST_EXPORTS) \
24601 for flag in $(EXTRA_HOST_FLAGS) ; do \
24602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24603 done; \
24604 echo "Doing pdf in m4" ; \
24605 (cd $(HOST_SUBDIR)/m4 && \
24606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24608 "RANLIB=$${RANLIB}" \
24609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24610 pdf) \
24611 || exit 1
24613 @endif m4
24615 .PHONY: maybe-html-m4 html-m4
24616 maybe-html-m4:
24617 @if m4
24618 maybe-html-m4: html-m4
24620 html-m4: \
24621 configure-m4
24622 @: $(MAKE); $(unstage)
24623 @[ -f ./m4/Makefile ] || exit 0; \
24624 r=`${PWD_COMMAND}`; export r; \
24625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24626 $(HOST_EXPORTS) \
24627 for flag in $(EXTRA_HOST_FLAGS) ; do \
24628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24629 done; \
24630 echo "Doing html in m4" ; \
24631 (cd $(HOST_SUBDIR)/m4 && \
24632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24634 "RANLIB=$${RANLIB}" \
24635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24636 html) \
24637 || exit 1
24639 @endif m4
24641 .PHONY: maybe-TAGS-m4 TAGS-m4
24642 maybe-TAGS-m4:
24643 @if m4
24644 maybe-TAGS-m4: TAGS-m4
24646 TAGS-m4: \
24647 configure-m4
24648 @: $(MAKE); $(unstage)
24649 @[ -f ./m4/Makefile ] || exit 0; \
24650 r=`${PWD_COMMAND}`; export r; \
24651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24652 $(HOST_EXPORTS) \
24653 for flag in $(EXTRA_HOST_FLAGS) ; do \
24654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24655 done; \
24656 echo "Doing TAGS in m4" ; \
24657 (cd $(HOST_SUBDIR)/m4 && \
24658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24660 "RANLIB=$${RANLIB}" \
24661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24662 TAGS) \
24663 || exit 1
24665 @endif m4
24667 .PHONY: maybe-install-info-m4 install-info-m4
24668 maybe-install-info-m4:
24669 @if m4
24670 maybe-install-info-m4: install-info-m4
24672 install-info-m4: \
24673 configure-m4 \
24674 info-m4
24675 @: $(MAKE); $(unstage)
24676 @[ -f ./m4/Makefile ] || exit 0; \
24677 r=`${PWD_COMMAND}`; export r; \
24678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24679 $(HOST_EXPORTS) \
24680 for flag in $(EXTRA_HOST_FLAGS) ; do \
24681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24682 done; \
24683 echo "Doing install-info in m4" ; \
24684 (cd $(HOST_SUBDIR)/m4 && \
24685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24687 "RANLIB=$${RANLIB}" \
24688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24689 install-info) \
24690 || exit 1
24692 @endif m4
24694 .PHONY: maybe-install-pdf-m4 install-pdf-m4
24695 maybe-install-pdf-m4:
24696 @if m4
24697 maybe-install-pdf-m4: install-pdf-m4
24699 install-pdf-m4: \
24700 configure-m4 \
24701 pdf-m4
24702 @: $(MAKE); $(unstage)
24703 @[ -f ./m4/Makefile ] || exit 0; \
24704 r=`${PWD_COMMAND}`; export r; \
24705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24706 $(HOST_EXPORTS) \
24707 for flag in $(EXTRA_HOST_FLAGS) ; do \
24708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24709 done; \
24710 echo "Doing install-pdf in m4" ; \
24711 (cd $(HOST_SUBDIR)/m4 && \
24712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24714 "RANLIB=$${RANLIB}" \
24715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24716 install-pdf) \
24717 || exit 1
24719 @endif m4
24721 .PHONY: maybe-install-html-m4 install-html-m4
24722 maybe-install-html-m4:
24723 @if m4
24724 maybe-install-html-m4: install-html-m4
24726 install-html-m4: \
24727 configure-m4 \
24728 html-m4
24729 @: $(MAKE); $(unstage)
24730 @[ -f ./m4/Makefile ] || exit 0; \
24731 r=`${PWD_COMMAND}`; export r; \
24732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24733 $(HOST_EXPORTS) \
24734 for flag in $(EXTRA_HOST_FLAGS) ; do \
24735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24736 done; \
24737 echo "Doing install-html in m4" ; \
24738 (cd $(HOST_SUBDIR)/m4 && \
24739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24741 "RANLIB=$${RANLIB}" \
24742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24743 install-html) \
24744 || exit 1
24746 @endif m4
24748 .PHONY: maybe-installcheck-m4 installcheck-m4
24749 maybe-installcheck-m4:
24750 @if m4
24751 maybe-installcheck-m4: installcheck-m4
24753 installcheck-m4: \
24754 configure-m4
24755 @: $(MAKE); $(unstage)
24756 @[ -f ./m4/Makefile ] || exit 0; \
24757 r=`${PWD_COMMAND}`; export r; \
24758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24759 $(HOST_EXPORTS) \
24760 for flag in $(EXTRA_HOST_FLAGS) ; do \
24761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24762 done; \
24763 echo "Doing installcheck in m4" ; \
24764 (cd $(HOST_SUBDIR)/m4 && \
24765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24767 "RANLIB=$${RANLIB}" \
24768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24769 installcheck) \
24770 || exit 1
24772 @endif m4
24774 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
24775 maybe-mostlyclean-m4:
24776 @if m4
24777 maybe-mostlyclean-m4: mostlyclean-m4
24779 mostlyclean-m4:
24780 @: $(MAKE); $(unstage)
24781 @[ -f ./m4/Makefile ] || exit 0; \
24782 r=`${PWD_COMMAND}`; export r; \
24783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24784 $(HOST_EXPORTS) \
24785 for flag in $(EXTRA_HOST_FLAGS) ; do \
24786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24787 done; \
24788 echo "Doing mostlyclean in m4" ; \
24789 (cd $(HOST_SUBDIR)/m4 && \
24790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24792 "RANLIB=$${RANLIB}" \
24793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24794 mostlyclean) \
24795 || exit 1
24797 @endif m4
24799 .PHONY: maybe-clean-m4 clean-m4
24800 maybe-clean-m4:
24801 @if m4
24802 maybe-clean-m4: clean-m4
24804 clean-m4:
24805 @: $(MAKE); $(unstage)
24806 @[ -f ./m4/Makefile ] || exit 0; \
24807 r=`${PWD_COMMAND}`; export r; \
24808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24809 $(HOST_EXPORTS) \
24810 for flag in $(EXTRA_HOST_FLAGS) ; do \
24811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24812 done; \
24813 echo "Doing clean in m4" ; \
24814 (cd $(HOST_SUBDIR)/m4 && \
24815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24817 "RANLIB=$${RANLIB}" \
24818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24819 clean) \
24820 || exit 1
24822 @endif m4
24824 .PHONY: maybe-distclean-m4 distclean-m4
24825 maybe-distclean-m4:
24826 @if m4
24827 maybe-distclean-m4: distclean-m4
24829 distclean-m4:
24830 @: $(MAKE); $(unstage)
24831 @[ -f ./m4/Makefile ] || exit 0; \
24832 r=`${PWD_COMMAND}`; export r; \
24833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24834 $(HOST_EXPORTS) \
24835 for flag in $(EXTRA_HOST_FLAGS) ; do \
24836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24837 done; \
24838 echo "Doing distclean in m4" ; \
24839 (cd $(HOST_SUBDIR)/m4 && \
24840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24842 "RANLIB=$${RANLIB}" \
24843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24844 distclean) \
24845 || exit 1
24847 @endif m4
24849 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
24850 maybe-maintainer-clean-m4:
24851 @if m4
24852 maybe-maintainer-clean-m4: maintainer-clean-m4
24854 maintainer-clean-m4:
24855 @: $(MAKE); $(unstage)
24856 @[ -f ./m4/Makefile ] || exit 0; \
24857 r=`${PWD_COMMAND}`; export r; \
24858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24859 $(HOST_EXPORTS) \
24860 for flag in $(EXTRA_HOST_FLAGS) ; do \
24861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24862 done; \
24863 echo "Doing maintainer-clean in m4" ; \
24864 (cd $(HOST_SUBDIR)/m4 && \
24865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24867 "RANLIB=$${RANLIB}" \
24868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24869 maintainer-clean) \
24870 || exit 1
24872 @endif m4
24876 .PHONY: configure-readline maybe-configure-readline
24877 maybe-configure-readline:
24878 @if gcc-bootstrap
24879 configure-readline: stage_current
24880 @endif gcc-bootstrap
24881 @if readline
24882 maybe-configure-readline: configure-readline
24883 configure-readline:
24884 @: $(MAKE); $(unstage)
24885 @r=`${PWD_COMMAND}`; export r; \
24886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24887 test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
24888 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline ; \
24889 $(HOST_EXPORTS) \
24890 echo Configuring in $(HOST_SUBDIR)/readline; \
24891 cd "$(HOST_SUBDIR)/readline" || exit 1; \
24892 case $(srcdir) in \
24893 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24894 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
24895 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24896 esac; \
24897 module_srcdir=readline; \
24898 $(SHELL) \
24899 $$s/$$module_srcdir/configure \
24900 --srcdir=$${topdir}/$$module_srcdir \
24901 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24902 --target=${target_alias} \
24903 || exit 1
24904 @endif readline
24910 .PHONY: all-readline maybe-all-readline
24911 maybe-all-readline:
24912 @if gcc-bootstrap
24913 all-readline: stage_current
24914 @endif gcc-bootstrap
24915 @if readline
24916 TARGET-readline=all
24917 maybe-all-readline: all-readline
24918 all-readline: configure-readline
24919 @: $(MAKE); $(unstage)
24920 @r=`${PWD_COMMAND}`; export r; \
24921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24922 $(HOST_EXPORTS) \
24923 (cd $(HOST_SUBDIR)/readline && \
24924 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
24925 $(TARGET-readline))
24926 @endif readline
24931 .PHONY: check-readline maybe-check-readline
24932 maybe-check-readline:
24933 @if readline
24934 maybe-check-readline: check-readline
24936 check-readline:
24937 @: $(MAKE); $(unstage)
24938 @r=`${PWD_COMMAND}`; export r; \
24939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24940 $(HOST_EXPORTS) \
24941 (cd $(HOST_SUBDIR)/readline && \
24942 $(MAKE) $(FLAGS_TO_PASS) check)
24944 @endif readline
24946 .PHONY: install-readline maybe-install-readline
24947 maybe-install-readline:
24948 @if readline
24949 maybe-install-readline: install-readline
24951 install-readline: installdirs
24952 @: $(MAKE); $(unstage)
24953 @r=`${PWD_COMMAND}`; export r; \
24954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24955 $(HOST_EXPORTS) \
24956 (cd $(HOST_SUBDIR)/readline && \
24957 $(MAKE) $(FLAGS_TO_PASS) install)
24959 @endif readline
24961 .PHONY: install-strip-readline maybe-install-strip-readline
24962 maybe-install-strip-readline:
24963 @if readline
24964 maybe-install-strip-readline: install-strip-readline
24966 install-strip-readline: installdirs
24967 @: $(MAKE); $(unstage)
24968 @r=`${PWD_COMMAND}`; export r; \
24969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24970 $(HOST_EXPORTS) \
24971 (cd $(HOST_SUBDIR)/readline && \
24972 $(MAKE) $(FLAGS_TO_PASS) install-strip)
24974 @endif readline
24976 # Other targets (info, dvi, pdf, etc.)
24978 .PHONY: maybe-info-readline info-readline
24979 maybe-info-readline:
24980 @if readline
24981 maybe-info-readline: info-readline
24983 info-readline: \
24984 configure-readline
24985 @: $(MAKE); $(unstage)
24986 @[ -f ./readline/Makefile ] || exit 0; \
24987 r=`${PWD_COMMAND}`; export r; \
24988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24989 $(HOST_EXPORTS) \
24990 for flag in $(EXTRA_HOST_FLAGS) ; do \
24991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24992 done; \
24993 echo "Doing info in readline" ; \
24994 (cd $(HOST_SUBDIR)/readline && \
24995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24997 "RANLIB=$${RANLIB}" \
24998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24999 info) \
25000 || exit 1
25002 @endif readline
25004 .PHONY: maybe-dvi-readline dvi-readline
25005 maybe-dvi-readline:
25006 @if readline
25007 maybe-dvi-readline: dvi-readline
25009 dvi-readline: \
25010 configure-readline
25011 @: $(MAKE); $(unstage)
25012 @[ -f ./readline/Makefile ] || exit 0; \
25013 r=`${PWD_COMMAND}`; export r; \
25014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25015 $(HOST_EXPORTS) \
25016 for flag in $(EXTRA_HOST_FLAGS) ; do \
25017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25018 done; \
25019 echo "Doing dvi in readline" ; \
25020 (cd $(HOST_SUBDIR)/readline && \
25021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25023 "RANLIB=$${RANLIB}" \
25024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25025 dvi) \
25026 || exit 1
25028 @endif readline
25030 .PHONY: maybe-pdf-readline pdf-readline
25031 maybe-pdf-readline:
25032 @if readline
25033 maybe-pdf-readline: pdf-readline
25035 pdf-readline: \
25036 configure-readline
25037 @: $(MAKE); $(unstage)
25038 @[ -f ./readline/Makefile ] || exit 0; \
25039 r=`${PWD_COMMAND}`; export r; \
25040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25041 $(HOST_EXPORTS) \
25042 for flag in $(EXTRA_HOST_FLAGS) ; do \
25043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25044 done; \
25045 echo "Doing pdf in readline" ; \
25046 (cd $(HOST_SUBDIR)/readline && \
25047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25049 "RANLIB=$${RANLIB}" \
25050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25051 pdf) \
25052 || exit 1
25054 @endif readline
25056 .PHONY: maybe-html-readline html-readline
25057 maybe-html-readline:
25058 @if readline
25059 maybe-html-readline: html-readline
25061 html-readline: \
25062 configure-readline
25063 @: $(MAKE); $(unstage)
25064 @[ -f ./readline/Makefile ] || exit 0; \
25065 r=`${PWD_COMMAND}`; export r; \
25066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25067 $(HOST_EXPORTS) \
25068 for flag in $(EXTRA_HOST_FLAGS) ; do \
25069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25070 done; \
25071 echo "Doing html in readline" ; \
25072 (cd $(HOST_SUBDIR)/readline && \
25073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25075 "RANLIB=$${RANLIB}" \
25076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25077 html) \
25078 || exit 1
25080 @endif readline
25082 .PHONY: maybe-TAGS-readline TAGS-readline
25083 maybe-TAGS-readline:
25084 @if readline
25085 maybe-TAGS-readline: TAGS-readline
25087 TAGS-readline: \
25088 configure-readline
25089 @: $(MAKE); $(unstage)
25090 @[ -f ./readline/Makefile ] || exit 0; \
25091 r=`${PWD_COMMAND}`; export r; \
25092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25093 $(HOST_EXPORTS) \
25094 for flag in $(EXTRA_HOST_FLAGS) ; do \
25095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25096 done; \
25097 echo "Doing TAGS in readline" ; \
25098 (cd $(HOST_SUBDIR)/readline && \
25099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25101 "RANLIB=$${RANLIB}" \
25102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25103 TAGS) \
25104 || exit 1
25106 @endif readline
25108 .PHONY: maybe-install-info-readline install-info-readline
25109 maybe-install-info-readline:
25110 @if readline
25111 maybe-install-info-readline: install-info-readline
25113 install-info-readline: \
25114 configure-readline \
25115 info-readline
25116 @: $(MAKE); $(unstage)
25117 @[ -f ./readline/Makefile ] || exit 0; \
25118 r=`${PWD_COMMAND}`; export r; \
25119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25120 $(HOST_EXPORTS) \
25121 for flag in $(EXTRA_HOST_FLAGS) ; do \
25122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25123 done; \
25124 echo "Doing install-info in readline" ; \
25125 (cd $(HOST_SUBDIR)/readline && \
25126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25128 "RANLIB=$${RANLIB}" \
25129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25130 install-info) \
25131 || exit 1
25133 @endif readline
25135 .PHONY: maybe-install-pdf-readline install-pdf-readline
25136 maybe-install-pdf-readline:
25137 @if readline
25138 maybe-install-pdf-readline: install-pdf-readline
25140 install-pdf-readline: \
25141 configure-readline \
25142 pdf-readline
25143 @: $(MAKE); $(unstage)
25144 @[ -f ./readline/Makefile ] || exit 0; \
25145 r=`${PWD_COMMAND}`; export r; \
25146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25147 $(HOST_EXPORTS) \
25148 for flag in $(EXTRA_HOST_FLAGS) ; do \
25149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25150 done; \
25151 echo "Doing install-pdf in readline" ; \
25152 (cd $(HOST_SUBDIR)/readline && \
25153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25155 "RANLIB=$${RANLIB}" \
25156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25157 install-pdf) \
25158 || exit 1
25160 @endif readline
25162 .PHONY: maybe-install-html-readline install-html-readline
25163 maybe-install-html-readline:
25164 @if readline
25165 maybe-install-html-readline: install-html-readline
25167 install-html-readline: \
25168 configure-readline \
25169 html-readline
25170 @: $(MAKE); $(unstage)
25171 @[ -f ./readline/Makefile ] || exit 0; \
25172 r=`${PWD_COMMAND}`; export r; \
25173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25174 $(HOST_EXPORTS) \
25175 for flag in $(EXTRA_HOST_FLAGS) ; do \
25176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25177 done; \
25178 echo "Doing install-html in readline" ; \
25179 (cd $(HOST_SUBDIR)/readline && \
25180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25182 "RANLIB=$${RANLIB}" \
25183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25184 install-html) \
25185 || exit 1
25187 @endif readline
25189 .PHONY: maybe-installcheck-readline installcheck-readline
25190 maybe-installcheck-readline:
25191 @if readline
25192 maybe-installcheck-readline: installcheck-readline
25194 installcheck-readline: \
25195 configure-readline
25196 @: $(MAKE); $(unstage)
25197 @[ -f ./readline/Makefile ] || exit 0; \
25198 r=`${PWD_COMMAND}`; export r; \
25199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25200 $(HOST_EXPORTS) \
25201 for flag in $(EXTRA_HOST_FLAGS) ; do \
25202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25203 done; \
25204 echo "Doing installcheck in readline" ; \
25205 (cd $(HOST_SUBDIR)/readline && \
25206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25208 "RANLIB=$${RANLIB}" \
25209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25210 installcheck) \
25211 || exit 1
25213 @endif readline
25215 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
25216 maybe-mostlyclean-readline:
25217 @if readline
25218 maybe-mostlyclean-readline: mostlyclean-readline
25220 mostlyclean-readline:
25221 @: $(MAKE); $(unstage)
25222 @[ -f ./readline/Makefile ] || exit 0; \
25223 r=`${PWD_COMMAND}`; export r; \
25224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25225 $(HOST_EXPORTS) \
25226 for flag in $(EXTRA_HOST_FLAGS) ; do \
25227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25228 done; \
25229 echo "Doing mostlyclean in readline" ; \
25230 (cd $(HOST_SUBDIR)/readline && \
25231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25233 "RANLIB=$${RANLIB}" \
25234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25235 mostlyclean) \
25236 || exit 1
25238 @endif readline
25240 .PHONY: maybe-clean-readline clean-readline
25241 maybe-clean-readline:
25242 @if readline
25243 maybe-clean-readline: clean-readline
25245 clean-readline:
25246 @: $(MAKE); $(unstage)
25247 @[ -f ./readline/Makefile ] || exit 0; \
25248 r=`${PWD_COMMAND}`; export r; \
25249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25250 $(HOST_EXPORTS) \
25251 for flag in $(EXTRA_HOST_FLAGS) ; do \
25252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25253 done; \
25254 echo "Doing clean in readline" ; \
25255 (cd $(HOST_SUBDIR)/readline && \
25256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25258 "RANLIB=$${RANLIB}" \
25259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25260 clean) \
25261 || exit 1
25263 @endif readline
25265 .PHONY: maybe-distclean-readline distclean-readline
25266 maybe-distclean-readline:
25267 @if readline
25268 maybe-distclean-readline: distclean-readline
25270 distclean-readline:
25271 @: $(MAKE); $(unstage)
25272 @[ -f ./readline/Makefile ] || exit 0; \
25273 r=`${PWD_COMMAND}`; export r; \
25274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25275 $(HOST_EXPORTS) \
25276 for flag in $(EXTRA_HOST_FLAGS) ; do \
25277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25278 done; \
25279 echo "Doing distclean in readline" ; \
25280 (cd $(HOST_SUBDIR)/readline && \
25281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25283 "RANLIB=$${RANLIB}" \
25284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25285 distclean) \
25286 || exit 1
25288 @endif readline
25290 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
25291 maybe-maintainer-clean-readline:
25292 @if readline
25293 maybe-maintainer-clean-readline: maintainer-clean-readline
25295 maintainer-clean-readline:
25296 @: $(MAKE); $(unstage)
25297 @[ -f ./readline/Makefile ] || exit 0; \
25298 r=`${PWD_COMMAND}`; export r; \
25299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25300 $(HOST_EXPORTS) \
25301 for flag in $(EXTRA_HOST_FLAGS) ; do \
25302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25303 done; \
25304 echo "Doing maintainer-clean in readline" ; \
25305 (cd $(HOST_SUBDIR)/readline && \
25306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25308 "RANLIB=$${RANLIB}" \
25309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25310 maintainer-clean) \
25311 || exit 1
25313 @endif readline
25317 .PHONY: configure-sid maybe-configure-sid
25318 maybe-configure-sid:
25319 @if gcc-bootstrap
25320 configure-sid: stage_current
25321 @endif gcc-bootstrap
25322 @if sid
25323 maybe-configure-sid: configure-sid
25324 configure-sid:
25325 @: $(MAKE); $(unstage)
25326 @r=`${PWD_COMMAND}`; export r; \
25327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25328 test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
25329 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid ; \
25330 $(HOST_EXPORTS) \
25331 echo Configuring in $(HOST_SUBDIR)/sid; \
25332 cd "$(HOST_SUBDIR)/sid" || exit 1; \
25333 case $(srcdir) in \
25334 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25335 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
25336 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25337 esac; \
25338 module_srcdir=sid; \
25339 $(SHELL) \
25340 $$s/$$module_srcdir/configure \
25341 --srcdir=$${topdir}/$$module_srcdir \
25342 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25343 --target=${target_alias} \
25344 || exit 1
25345 @endif sid
25351 .PHONY: all-sid maybe-all-sid
25352 maybe-all-sid:
25353 @if gcc-bootstrap
25354 all-sid: stage_current
25355 @endif gcc-bootstrap
25356 @if sid
25357 TARGET-sid=all
25358 maybe-all-sid: all-sid
25359 all-sid: configure-sid
25360 @: $(MAKE); $(unstage)
25361 @r=`${PWD_COMMAND}`; export r; \
25362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25363 $(HOST_EXPORTS) \
25364 (cd $(HOST_SUBDIR)/sid && \
25365 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
25366 $(TARGET-sid))
25367 @endif sid
25372 .PHONY: check-sid maybe-check-sid
25373 maybe-check-sid:
25374 @if sid
25375 maybe-check-sid: check-sid
25377 check-sid:
25378 @: $(MAKE); $(unstage)
25379 @r=`${PWD_COMMAND}`; export r; \
25380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25381 $(HOST_EXPORTS) \
25382 (cd $(HOST_SUBDIR)/sid && \
25383 $(MAKE) $(FLAGS_TO_PASS) check)
25385 @endif sid
25387 .PHONY: install-sid maybe-install-sid
25388 maybe-install-sid:
25389 @if sid
25390 maybe-install-sid: install-sid
25392 install-sid: installdirs
25393 @: $(MAKE); $(unstage)
25394 @r=`${PWD_COMMAND}`; export r; \
25395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25396 $(HOST_EXPORTS) \
25397 (cd $(HOST_SUBDIR)/sid && \
25398 $(MAKE) $(FLAGS_TO_PASS) install)
25400 @endif sid
25402 .PHONY: install-strip-sid maybe-install-strip-sid
25403 maybe-install-strip-sid:
25404 @if sid
25405 maybe-install-strip-sid: install-strip-sid
25407 install-strip-sid: installdirs
25408 @: $(MAKE); $(unstage)
25409 @r=`${PWD_COMMAND}`; export r; \
25410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25411 $(HOST_EXPORTS) \
25412 (cd $(HOST_SUBDIR)/sid && \
25413 $(MAKE) $(FLAGS_TO_PASS) install-strip)
25415 @endif sid
25417 # Other targets (info, dvi, pdf, etc.)
25419 .PHONY: maybe-info-sid info-sid
25420 maybe-info-sid:
25421 @if sid
25422 maybe-info-sid: info-sid
25424 info-sid: \
25425 configure-sid
25426 @: $(MAKE); $(unstage)
25427 @[ -f ./sid/Makefile ] || exit 0; \
25428 r=`${PWD_COMMAND}`; export r; \
25429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25430 $(HOST_EXPORTS) \
25431 for flag in $(EXTRA_HOST_FLAGS) ; do \
25432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25433 done; \
25434 echo "Doing info in sid" ; \
25435 (cd $(HOST_SUBDIR)/sid && \
25436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25438 "RANLIB=$${RANLIB}" \
25439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25440 info) \
25441 || exit 1
25443 @endif sid
25445 .PHONY: maybe-dvi-sid dvi-sid
25446 maybe-dvi-sid:
25447 @if sid
25448 maybe-dvi-sid: dvi-sid
25450 dvi-sid: \
25451 configure-sid
25452 @: $(MAKE); $(unstage)
25453 @[ -f ./sid/Makefile ] || exit 0; \
25454 r=`${PWD_COMMAND}`; export r; \
25455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25456 $(HOST_EXPORTS) \
25457 for flag in $(EXTRA_HOST_FLAGS) ; do \
25458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25459 done; \
25460 echo "Doing dvi in sid" ; \
25461 (cd $(HOST_SUBDIR)/sid && \
25462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25464 "RANLIB=$${RANLIB}" \
25465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25466 dvi) \
25467 || exit 1
25469 @endif sid
25471 .PHONY: maybe-pdf-sid pdf-sid
25472 maybe-pdf-sid:
25473 @if sid
25474 maybe-pdf-sid: pdf-sid
25476 pdf-sid: \
25477 configure-sid
25478 @: $(MAKE); $(unstage)
25479 @[ -f ./sid/Makefile ] || exit 0; \
25480 r=`${PWD_COMMAND}`; export r; \
25481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25482 $(HOST_EXPORTS) \
25483 for flag in $(EXTRA_HOST_FLAGS) ; do \
25484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25485 done; \
25486 echo "Doing pdf in sid" ; \
25487 (cd $(HOST_SUBDIR)/sid && \
25488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25490 "RANLIB=$${RANLIB}" \
25491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25492 pdf) \
25493 || exit 1
25495 @endif sid
25497 .PHONY: maybe-html-sid html-sid
25498 maybe-html-sid:
25499 @if sid
25500 maybe-html-sid: html-sid
25502 html-sid: \
25503 configure-sid
25504 @: $(MAKE); $(unstage)
25505 @[ -f ./sid/Makefile ] || exit 0; \
25506 r=`${PWD_COMMAND}`; export r; \
25507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25508 $(HOST_EXPORTS) \
25509 for flag in $(EXTRA_HOST_FLAGS) ; do \
25510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25511 done; \
25512 echo "Doing html in sid" ; \
25513 (cd $(HOST_SUBDIR)/sid && \
25514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25516 "RANLIB=$${RANLIB}" \
25517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25518 html) \
25519 || exit 1
25521 @endif sid
25523 .PHONY: maybe-TAGS-sid TAGS-sid
25524 maybe-TAGS-sid:
25525 @if sid
25526 maybe-TAGS-sid: TAGS-sid
25528 TAGS-sid: \
25529 configure-sid
25530 @: $(MAKE); $(unstage)
25531 @[ -f ./sid/Makefile ] || exit 0; \
25532 r=`${PWD_COMMAND}`; export r; \
25533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25534 $(HOST_EXPORTS) \
25535 for flag in $(EXTRA_HOST_FLAGS) ; do \
25536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25537 done; \
25538 echo "Doing TAGS in sid" ; \
25539 (cd $(HOST_SUBDIR)/sid && \
25540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25542 "RANLIB=$${RANLIB}" \
25543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25544 TAGS) \
25545 || exit 1
25547 @endif sid
25549 .PHONY: maybe-install-info-sid install-info-sid
25550 maybe-install-info-sid:
25551 @if sid
25552 maybe-install-info-sid: install-info-sid
25554 install-info-sid: \
25555 configure-sid \
25556 info-sid
25557 @: $(MAKE); $(unstage)
25558 @[ -f ./sid/Makefile ] || exit 0; \
25559 r=`${PWD_COMMAND}`; export r; \
25560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25561 $(HOST_EXPORTS) \
25562 for flag in $(EXTRA_HOST_FLAGS) ; do \
25563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25564 done; \
25565 echo "Doing install-info in sid" ; \
25566 (cd $(HOST_SUBDIR)/sid && \
25567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25569 "RANLIB=$${RANLIB}" \
25570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25571 install-info) \
25572 || exit 1
25574 @endif sid
25576 .PHONY: maybe-install-pdf-sid install-pdf-sid
25577 maybe-install-pdf-sid:
25578 @if sid
25579 maybe-install-pdf-sid: install-pdf-sid
25581 install-pdf-sid: \
25582 configure-sid \
25583 pdf-sid
25584 @: $(MAKE); $(unstage)
25585 @[ -f ./sid/Makefile ] || exit 0; \
25586 r=`${PWD_COMMAND}`; export r; \
25587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25588 $(HOST_EXPORTS) \
25589 for flag in $(EXTRA_HOST_FLAGS) ; do \
25590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25591 done; \
25592 echo "Doing install-pdf in sid" ; \
25593 (cd $(HOST_SUBDIR)/sid && \
25594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25596 "RANLIB=$${RANLIB}" \
25597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25598 install-pdf) \
25599 || exit 1
25601 @endif sid
25603 .PHONY: maybe-install-html-sid install-html-sid
25604 maybe-install-html-sid:
25605 @if sid
25606 maybe-install-html-sid: install-html-sid
25608 install-html-sid: \
25609 configure-sid \
25610 html-sid
25611 @: $(MAKE); $(unstage)
25612 @[ -f ./sid/Makefile ] || exit 0; \
25613 r=`${PWD_COMMAND}`; export r; \
25614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25615 $(HOST_EXPORTS) \
25616 for flag in $(EXTRA_HOST_FLAGS) ; do \
25617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25618 done; \
25619 echo "Doing install-html in sid" ; \
25620 (cd $(HOST_SUBDIR)/sid && \
25621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25623 "RANLIB=$${RANLIB}" \
25624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25625 install-html) \
25626 || exit 1
25628 @endif sid
25630 .PHONY: maybe-installcheck-sid installcheck-sid
25631 maybe-installcheck-sid:
25632 @if sid
25633 maybe-installcheck-sid: installcheck-sid
25635 installcheck-sid: \
25636 configure-sid
25637 @: $(MAKE); $(unstage)
25638 @[ -f ./sid/Makefile ] || exit 0; \
25639 r=`${PWD_COMMAND}`; export r; \
25640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25641 $(HOST_EXPORTS) \
25642 for flag in $(EXTRA_HOST_FLAGS) ; do \
25643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25644 done; \
25645 echo "Doing installcheck in sid" ; \
25646 (cd $(HOST_SUBDIR)/sid && \
25647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25649 "RANLIB=$${RANLIB}" \
25650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25651 installcheck) \
25652 || exit 1
25654 @endif sid
25656 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
25657 maybe-mostlyclean-sid:
25658 @if sid
25659 maybe-mostlyclean-sid: mostlyclean-sid
25661 mostlyclean-sid:
25662 @: $(MAKE); $(unstage)
25663 @[ -f ./sid/Makefile ] || exit 0; \
25664 r=`${PWD_COMMAND}`; export r; \
25665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25666 $(HOST_EXPORTS) \
25667 for flag in $(EXTRA_HOST_FLAGS) ; do \
25668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25669 done; \
25670 echo "Doing mostlyclean in sid" ; \
25671 (cd $(HOST_SUBDIR)/sid && \
25672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25674 "RANLIB=$${RANLIB}" \
25675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25676 mostlyclean) \
25677 || exit 1
25679 @endif sid
25681 .PHONY: maybe-clean-sid clean-sid
25682 maybe-clean-sid:
25683 @if sid
25684 maybe-clean-sid: clean-sid
25686 clean-sid:
25687 @: $(MAKE); $(unstage)
25688 @[ -f ./sid/Makefile ] || exit 0; \
25689 r=`${PWD_COMMAND}`; export r; \
25690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25691 $(HOST_EXPORTS) \
25692 for flag in $(EXTRA_HOST_FLAGS) ; do \
25693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25694 done; \
25695 echo "Doing clean in sid" ; \
25696 (cd $(HOST_SUBDIR)/sid && \
25697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25699 "RANLIB=$${RANLIB}" \
25700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25701 clean) \
25702 || exit 1
25704 @endif sid
25706 .PHONY: maybe-distclean-sid distclean-sid
25707 maybe-distclean-sid:
25708 @if sid
25709 maybe-distclean-sid: distclean-sid
25711 distclean-sid:
25712 @: $(MAKE); $(unstage)
25713 @[ -f ./sid/Makefile ] || exit 0; \
25714 r=`${PWD_COMMAND}`; export r; \
25715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25716 $(HOST_EXPORTS) \
25717 for flag in $(EXTRA_HOST_FLAGS) ; do \
25718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25719 done; \
25720 echo "Doing distclean in sid" ; \
25721 (cd $(HOST_SUBDIR)/sid && \
25722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25724 "RANLIB=$${RANLIB}" \
25725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25726 distclean) \
25727 || exit 1
25729 @endif sid
25731 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
25732 maybe-maintainer-clean-sid:
25733 @if sid
25734 maybe-maintainer-clean-sid: maintainer-clean-sid
25736 maintainer-clean-sid:
25737 @: $(MAKE); $(unstage)
25738 @[ -f ./sid/Makefile ] || exit 0; \
25739 r=`${PWD_COMMAND}`; export r; \
25740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25741 $(HOST_EXPORTS) \
25742 for flag in $(EXTRA_HOST_FLAGS) ; do \
25743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25744 done; \
25745 echo "Doing maintainer-clean in sid" ; \
25746 (cd $(HOST_SUBDIR)/sid && \
25747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25749 "RANLIB=$${RANLIB}" \
25750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25751 maintainer-clean) \
25752 || exit 1
25754 @endif sid
25758 .PHONY: configure-sim maybe-configure-sim
25759 maybe-configure-sim:
25760 @if gcc-bootstrap
25761 configure-sim: stage_current
25762 @endif gcc-bootstrap
25763 @if sim
25764 maybe-configure-sim: configure-sim
25765 configure-sim:
25766 @: $(MAKE); $(unstage)
25767 @r=`${PWD_COMMAND}`; export r; \
25768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25769 test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
25770 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim ; \
25771 $(HOST_EXPORTS) \
25772 echo Configuring in $(HOST_SUBDIR)/sim; \
25773 cd "$(HOST_SUBDIR)/sim" || exit 1; \
25774 case $(srcdir) in \
25775 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25776 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
25777 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25778 esac; \
25779 module_srcdir=sim; \
25780 $(SHELL) \
25781 $$s/$$module_srcdir/configure \
25782 --srcdir=$${topdir}/$$module_srcdir \
25783 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25784 --target=${target_alias} \
25785 || exit 1
25786 @endif sim
25792 .PHONY: all-sim maybe-all-sim
25793 maybe-all-sim:
25794 @if gcc-bootstrap
25795 all-sim: stage_current
25796 @endif gcc-bootstrap
25797 @if sim
25798 TARGET-sim=all
25799 maybe-all-sim: all-sim
25800 all-sim: configure-sim
25801 @: $(MAKE); $(unstage)
25802 @r=`${PWD_COMMAND}`; export r; \
25803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25804 $(HOST_EXPORTS) \
25805 (cd $(HOST_SUBDIR)/sim && \
25806 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
25807 $(TARGET-sim))
25808 @endif sim
25813 .PHONY: check-sim maybe-check-sim
25814 maybe-check-sim:
25815 @if sim
25816 maybe-check-sim: check-sim
25818 check-sim:
25819 @: $(MAKE); $(unstage)
25820 @r=`${PWD_COMMAND}`; export r; \
25821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25822 $(HOST_EXPORTS) \
25823 (cd $(HOST_SUBDIR)/sim && \
25824 $(MAKE) $(FLAGS_TO_PASS) check)
25826 @endif sim
25828 .PHONY: install-sim maybe-install-sim
25829 maybe-install-sim:
25830 @if sim
25831 maybe-install-sim: install-sim
25833 install-sim: installdirs
25834 @: $(MAKE); $(unstage)
25835 @r=`${PWD_COMMAND}`; export r; \
25836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25837 $(HOST_EXPORTS) \
25838 (cd $(HOST_SUBDIR)/sim && \
25839 $(MAKE) $(FLAGS_TO_PASS) install)
25841 @endif sim
25843 .PHONY: install-strip-sim maybe-install-strip-sim
25844 maybe-install-strip-sim:
25845 @if sim
25846 maybe-install-strip-sim: install-strip-sim
25848 install-strip-sim: installdirs
25849 @: $(MAKE); $(unstage)
25850 @r=`${PWD_COMMAND}`; export r; \
25851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25852 $(HOST_EXPORTS) \
25853 (cd $(HOST_SUBDIR)/sim && \
25854 $(MAKE) $(FLAGS_TO_PASS) install-strip)
25856 @endif sim
25858 # Other targets (info, dvi, pdf, etc.)
25860 .PHONY: maybe-info-sim info-sim
25861 maybe-info-sim:
25862 @if sim
25863 maybe-info-sim: info-sim
25865 info-sim: \
25866 configure-sim
25867 @: $(MAKE); $(unstage)
25868 @[ -f ./sim/Makefile ] || exit 0; \
25869 r=`${PWD_COMMAND}`; export r; \
25870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25871 $(HOST_EXPORTS) \
25872 for flag in $(EXTRA_HOST_FLAGS) ; do \
25873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25874 done; \
25875 echo "Doing info in sim" ; \
25876 (cd $(HOST_SUBDIR)/sim && \
25877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25879 "RANLIB=$${RANLIB}" \
25880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25881 info) \
25882 || exit 1
25884 @endif sim
25886 .PHONY: maybe-dvi-sim dvi-sim
25887 maybe-dvi-sim:
25888 @if sim
25889 maybe-dvi-sim: dvi-sim
25891 dvi-sim: \
25892 configure-sim
25893 @: $(MAKE); $(unstage)
25894 @[ -f ./sim/Makefile ] || exit 0; \
25895 r=`${PWD_COMMAND}`; export r; \
25896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25897 $(HOST_EXPORTS) \
25898 for flag in $(EXTRA_HOST_FLAGS) ; do \
25899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25900 done; \
25901 echo "Doing dvi in sim" ; \
25902 (cd $(HOST_SUBDIR)/sim && \
25903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25905 "RANLIB=$${RANLIB}" \
25906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25907 dvi) \
25908 || exit 1
25910 @endif sim
25912 .PHONY: maybe-pdf-sim pdf-sim
25913 maybe-pdf-sim:
25914 @if sim
25915 maybe-pdf-sim: pdf-sim
25917 pdf-sim: \
25918 configure-sim
25919 @: $(MAKE); $(unstage)
25920 @[ -f ./sim/Makefile ] || exit 0; \
25921 r=`${PWD_COMMAND}`; export r; \
25922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25923 $(HOST_EXPORTS) \
25924 for flag in $(EXTRA_HOST_FLAGS) ; do \
25925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25926 done; \
25927 echo "Doing pdf in sim" ; \
25928 (cd $(HOST_SUBDIR)/sim && \
25929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25931 "RANLIB=$${RANLIB}" \
25932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25933 pdf) \
25934 || exit 1
25936 @endif sim
25938 .PHONY: maybe-html-sim html-sim
25939 maybe-html-sim:
25940 @if sim
25941 maybe-html-sim: html-sim
25943 html-sim: \
25944 configure-sim
25945 @: $(MAKE); $(unstage)
25946 @[ -f ./sim/Makefile ] || exit 0; \
25947 r=`${PWD_COMMAND}`; export r; \
25948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25949 $(HOST_EXPORTS) \
25950 for flag in $(EXTRA_HOST_FLAGS) ; do \
25951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25952 done; \
25953 echo "Doing html in sim" ; \
25954 (cd $(HOST_SUBDIR)/sim && \
25955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25957 "RANLIB=$${RANLIB}" \
25958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25959 html) \
25960 || exit 1
25962 @endif sim
25964 .PHONY: maybe-TAGS-sim TAGS-sim
25965 maybe-TAGS-sim:
25966 @if sim
25967 maybe-TAGS-sim: TAGS-sim
25969 TAGS-sim: \
25970 configure-sim
25971 @: $(MAKE); $(unstage)
25972 @[ -f ./sim/Makefile ] || exit 0; \
25973 r=`${PWD_COMMAND}`; export r; \
25974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25975 $(HOST_EXPORTS) \
25976 for flag in $(EXTRA_HOST_FLAGS) ; do \
25977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25978 done; \
25979 echo "Doing TAGS in sim" ; \
25980 (cd $(HOST_SUBDIR)/sim && \
25981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25983 "RANLIB=$${RANLIB}" \
25984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25985 TAGS) \
25986 || exit 1
25988 @endif sim
25990 .PHONY: maybe-install-info-sim install-info-sim
25991 maybe-install-info-sim:
25992 @if sim
25993 maybe-install-info-sim: install-info-sim
25995 install-info-sim: \
25996 configure-sim \
25997 info-sim
25998 @: $(MAKE); $(unstage)
25999 @[ -f ./sim/Makefile ] || exit 0; \
26000 r=`${PWD_COMMAND}`; export r; \
26001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26002 $(HOST_EXPORTS) \
26003 for flag in $(EXTRA_HOST_FLAGS) ; do \
26004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26005 done; \
26006 echo "Doing install-info in sim" ; \
26007 (cd $(HOST_SUBDIR)/sim && \
26008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26010 "RANLIB=$${RANLIB}" \
26011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26012 install-info) \
26013 || exit 1
26015 @endif sim
26017 .PHONY: maybe-install-pdf-sim install-pdf-sim
26018 maybe-install-pdf-sim:
26019 @if sim
26020 maybe-install-pdf-sim: install-pdf-sim
26022 install-pdf-sim: \
26023 configure-sim \
26024 pdf-sim
26025 @: $(MAKE); $(unstage)
26026 @[ -f ./sim/Makefile ] || exit 0; \
26027 r=`${PWD_COMMAND}`; export r; \
26028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26029 $(HOST_EXPORTS) \
26030 for flag in $(EXTRA_HOST_FLAGS) ; do \
26031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26032 done; \
26033 echo "Doing install-pdf in sim" ; \
26034 (cd $(HOST_SUBDIR)/sim && \
26035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26037 "RANLIB=$${RANLIB}" \
26038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26039 install-pdf) \
26040 || exit 1
26042 @endif sim
26044 .PHONY: maybe-install-html-sim install-html-sim
26045 maybe-install-html-sim:
26046 @if sim
26047 maybe-install-html-sim: install-html-sim
26049 install-html-sim: \
26050 configure-sim \
26051 html-sim
26052 @: $(MAKE); $(unstage)
26053 @[ -f ./sim/Makefile ] || exit 0; \
26054 r=`${PWD_COMMAND}`; export r; \
26055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26056 $(HOST_EXPORTS) \
26057 for flag in $(EXTRA_HOST_FLAGS) ; do \
26058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26059 done; \
26060 echo "Doing install-html in sim" ; \
26061 (cd $(HOST_SUBDIR)/sim && \
26062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26064 "RANLIB=$${RANLIB}" \
26065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26066 install-html) \
26067 || exit 1
26069 @endif sim
26071 .PHONY: maybe-installcheck-sim installcheck-sim
26072 maybe-installcheck-sim:
26073 @if sim
26074 maybe-installcheck-sim: installcheck-sim
26076 installcheck-sim: \
26077 configure-sim
26078 @: $(MAKE); $(unstage)
26079 @[ -f ./sim/Makefile ] || exit 0; \
26080 r=`${PWD_COMMAND}`; export r; \
26081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26082 $(HOST_EXPORTS) \
26083 for flag in $(EXTRA_HOST_FLAGS) ; do \
26084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26085 done; \
26086 echo "Doing installcheck in sim" ; \
26087 (cd $(HOST_SUBDIR)/sim && \
26088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26090 "RANLIB=$${RANLIB}" \
26091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26092 installcheck) \
26093 || exit 1
26095 @endif sim
26097 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
26098 maybe-mostlyclean-sim:
26099 @if sim
26100 maybe-mostlyclean-sim: mostlyclean-sim
26102 mostlyclean-sim:
26103 @: $(MAKE); $(unstage)
26104 @[ -f ./sim/Makefile ] || exit 0; \
26105 r=`${PWD_COMMAND}`; export r; \
26106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26107 $(HOST_EXPORTS) \
26108 for flag in $(EXTRA_HOST_FLAGS) ; do \
26109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26110 done; \
26111 echo "Doing mostlyclean in sim" ; \
26112 (cd $(HOST_SUBDIR)/sim && \
26113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26115 "RANLIB=$${RANLIB}" \
26116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26117 mostlyclean) \
26118 || exit 1
26120 @endif sim
26122 .PHONY: maybe-clean-sim clean-sim
26123 maybe-clean-sim:
26124 @if sim
26125 maybe-clean-sim: clean-sim
26127 clean-sim:
26128 @: $(MAKE); $(unstage)
26129 @[ -f ./sim/Makefile ] || exit 0; \
26130 r=`${PWD_COMMAND}`; export r; \
26131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26132 $(HOST_EXPORTS) \
26133 for flag in $(EXTRA_HOST_FLAGS) ; do \
26134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26135 done; \
26136 echo "Doing clean in sim" ; \
26137 (cd $(HOST_SUBDIR)/sim && \
26138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26140 "RANLIB=$${RANLIB}" \
26141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26142 clean) \
26143 || exit 1
26145 @endif sim
26147 .PHONY: maybe-distclean-sim distclean-sim
26148 maybe-distclean-sim:
26149 @if sim
26150 maybe-distclean-sim: distclean-sim
26152 distclean-sim:
26153 @: $(MAKE); $(unstage)
26154 @[ -f ./sim/Makefile ] || exit 0; \
26155 r=`${PWD_COMMAND}`; export r; \
26156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26157 $(HOST_EXPORTS) \
26158 for flag in $(EXTRA_HOST_FLAGS) ; do \
26159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26160 done; \
26161 echo "Doing distclean in sim" ; \
26162 (cd $(HOST_SUBDIR)/sim && \
26163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26165 "RANLIB=$${RANLIB}" \
26166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26167 distclean) \
26168 || exit 1
26170 @endif sim
26172 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
26173 maybe-maintainer-clean-sim:
26174 @if sim
26175 maybe-maintainer-clean-sim: maintainer-clean-sim
26177 maintainer-clean-sim:
26178 @: $(MAKE); $(unstage)
26179 @[ -f ./sim/Makefile ] || exit 0; \
26180 r=`${PWD_COMMAND}`; export r; \
26181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26182 $(HOST_EXPORTS) \
26183 for flag in $(EXTRA_HOST_FLAGS) ; do \
26184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26185 done; \
26186 echo "Doing maintainer-clean in sim" ; \
26187 (cd $(HOST_SUBDIR)/sim && \
26188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26190 "RANLIB=$${RANLIB}" \
26191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26192 maintainer-clean) \
26193 || exit 1
26195 @endif sim
26199 .PHONY: configure-texinfo maybe-configure-texinfo
26200 maybe-configure-texinfo:
26201 @if gcc-bootstrap
26202 configure-texinfo: stage_current
26203 @endif gcc-bootstrap
26204 @if texinfo
26205 maybe-configure-texinfo: configure-texinfo
26206 configure-texinfo:
26207 @: $(MAKE); $(unstage)
26208 @r=`${PWD_COMMAND}`; export r; \
26209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26210 test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
26211 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo ; \
26212 $(HOST_EXPORTS) \
26213 echo Configuring in $(HOST_SUBDIR)/texinfo; \
26214 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
26215 case $(srcdir) in \
26216 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26217 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
26218 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26219 esac; \
26220 module_srcdir=texinfo; \
26221 $(SHELL) \
26222 $$s/$$module_srcdir/configure \
26223 --srcdir=$${topdir}/$$module_srcdir \
26224 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26225 --target=${target_alias} \
26226 || exit 1
26227 @endif texinfo
26233 .PHONY: all-texinfo maybe-all-texinfo
26234 maybe-all-texinfo:
26235 @if gcc-bootstrap
26236 all-texinfo: stage_current
26237 @endif gcc-bootstrap
26238 @if texinfo
26239 TARGET-texinfo=all
26240 maybe-all-texinfo: all-texinfo
26241 all-texinfo: configure-texinfo
26242 @: $(MAKE); $(unstage)
26243 @r=`${PWD_COMMAND}`; export r; \
26244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26245 $(HOST_EXPORTS) \
26246 (cd $(HOST_SUBDIR)/texinfo && \
26247 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
26248 $(TARGET-texinfo))
26249 @endif texinfo
26254 .PHONY: check-texinfo maybe-check-texinfo
26255 maybe-check-texinfo:
26256 @if texinfo
26257 maybe-check-texinfo: check-texinfo
26259 check-texinfo:
26260 @: $(MAKE); $(unstage)
26261 @r=`${PWD_COMMAND}`; export r; \
26262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26263 $(HOST_EXPORTS) \
26264 (cd $(HOST_SUBDIR)/texinfo && \
26265 $(MAKE) $(FLAGS_TO_PASS) check)
26267 @endif texinfo
26269 .PHONY: install-texinfo maybe-install-texinfo
26270 maybe-install-texinfo:
26271 @if texinfo
26272 maybe-install-texinfo: install-texinfo
26274 install-texinfo:
26276 @endif texinfo
26278 .PHONY: install-strip-texinfo maybe-install-strip-texinfo
26279 maybe-install-strip-texinfo:
26280 @if texinfo
26281 maybe-install-strip-texinfo: install-strip-texinfo
26283 install-strip-texinfo:
26285 @endif texinfo
26287 # Other targets (info, dvi, pdf, etc.)
26289 .PHONY: maybe-info-texinfo info-texinfo
26290 maybe-info-texinfo:
26291 @if texinfo
26292 maybe-info-texinfo: info-texinfo
26294 info-texinfo: \
26295 configure-texinfo
26296 @: $(MAKE); $(unstage)
26297 @[ -f ./texinfo/Makefile ] || exit 0; \
26298 r=`${PWD_COMMAND}`; export r; \
26299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26300 $(HOST_EXPORTS) \
26301 for flag in $(EXTRA_HOST_FLAGS) ; do \
26302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26303 done; \
26304 echo "Doing info in texinfo" ; \
26305 (cd $(HOST_SUBDIR)/texinfo && \
26306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26308 "RANLIB=$${RANLIB}" \
26309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26310 info) \
26311 || exit 1
26313 @endif texinfo
26315 .PHONY: maybe-dvi-texinfo dvi-texinfo
26316 maybe-dvi-texinfo:
26317 @if texinfo
26318 maybe-dvi-texinfo: dvi-texinfo
26320 dvi-texinfo: \
26321 configure-texinfo
26322 @: $(MAKE); $(unstage)
26323 @[ -f ./texinfo/Makefile ] || exit 0; \
26324 r=`${PWD_COMMAND}`; export r; \
26325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26326 $(HOST_EXPORTS) \
26327 for flag in $(EXTRA_HOST_FLAGS) ; do \
26328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26329 done; \
26330 echo "Doing dvi in texinfo" ; \
26331 (cd $(HOST_SUBDIR)/texinfo && \
26332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26334 "RANLIB=$${RANLIB}" \
26335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26336 dvi) \
26337 || exit 1
26339 @endif texinfo
26341 .PHONY: maybe-pdf-texinfo pdf-texinfo
26342 maybe-pdf-texinfo:
26343 @if texinfo
26344 maybe-pdf-texinfo: pdf-texinfo
26346 pdf-texinfo: \
26347 configure-texinfo
26348 @: $(MAKE); $(unstage)
26349 @[ -f ./texinfo/Makefile ] || exit 0; \
26350 r=`${PWD_COMMAND}`; export r; \
26351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26352 $(HOST_EXPORTS) \
26353 for flag in $(EXTRA_HOST_FLAGS) ; do \
26354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26355 done; \
26356 echo "Doing pdf in texinfo" ; \
26357 (cd $(HOST_SUBDIR)/texinfo && \
26358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26360 "RANLIB=$${RANLIB}" \
26361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26362 pdf) \
26363 || exit 1
26365 @endif texinfo
26367 .PHONY: maybe-html-texinfo html-texinfo
26368 maybe-html-texinfo:
26369 @if texinfo
26370 maybe-html-texinfo: html-texinfo
26372 html-texinfo: \
26373 configure-texinfo
26374 @: $(MAKE); $(unstage)
26375 @[ -f ./texinfo/Makefile ] || exit 0; \
26376 r=`${PWD_COMMAND}`; export r; \
26377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26378 $(HOST_EXPORTS) \
26379 for flag in $(EXTRA_HOST_FLAGS) ; do \
26380 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26381 done; \
26382 echo "Doing html in texinfo" ; \
26383 (cd $(HOST_SUBDIR)/texinfo && \
26384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26386 "RANLIB=$${RANLIB}" \
26387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26388 html) \
26389 || exit 1
26391 @endif texinfo
26393 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
26394 maybe-TAGS-texinfo:
26395 @if texinfo
26396 maybe-TAGS-texinfo: TAGS-texinfo
26398 TAGS-texinfo: \
26399 configure-texinfo
26400 @: $(MAKE); $(unstage)
26401 @[ -f ./texinfo/Makefile ] || exit 0; \
26402 r=`${PWD_COMMAND}`; export r; \
26403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26404 $(HOST_EXPORTS) \
26405 for flag in $(EXTRA_HOST_FLAGS) ; do \
26406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26407 done; \
26408 echo "Doing TAGS in texinfo" ; \
26409 (cd $(HOST_SUBDIR)/texinfo && \
26410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26412 "RANLIB=$${RANLIB}" \
26413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26414 TAGS) \
26415 || exit 1
26417 @endif texinfo
26419 .PHONY: maybe-install-info-texinfo install-info-texinfo
26420 maybe-install-info-texinfo:
26421 @if texinfo
26422 maybe-install-info-texinfo: install-info-texinfo
26424 install-info-texinfo: \
26425 configure-texinfo \
26426 info-texinfo
26427 @: $(MAKE); $(unstage)
26428 @[ -f ./texinfo/Makefile ] || exit 0; \
26429 r=`${PWD_COMMAND}`; export r; \
26430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26431 $(HOST_EXPORTS) \
26432 for flag in $(EXTRA_HOST_FLAGS) ; do \
26433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26434 done; \
26435 echo "Doing install-info in texinfo" ; \
26436 (cd $(HOST_SUBDIR)/texinfo && \
26437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26439 "RANLIB=$${RANLIB}" \
26440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26441 install-info) \
26442 || exit 1
26444 @endif texinfo
26446 .PHONY: maybe-install-pdf-texinfo install-pdf-texinfo
26447 maybe-install-pdf-texinfo:
26448 @if texinfo
26449 maybe-install-pdf-texinfo: install-pdf-texinfo
26451 install-pdf-texinfo: \
26452 configure-texinfo \
26453 pdf-texinfo
26454 @: $(MAKE); $(unstage)
26455 @[ -f ./texinfo/Makefile ] || exit 0; \
26456 r=`${PWD_COMMAND}`; export r; \
26457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26458 $(HOST_EXPORTS) \
26459 for flag in $(EXTRA_HOST_FLAGS) ; do \
26460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26461 done; \
26462 echo "Doing install-pdf in texinfo" ; \
26463 (cd $(HOST_SUBDIR)/texinfo && \
26464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26466 "RANLIB=$${RANLIB}" \
26467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26468 install-pdf) \
26469 || exit 1
26471 @endif texinfo
26473 .PHONY: maybe-install-html-texinfo install-html-texinfo
26474 maybe-install-html-texinfo:
26475 @if texinfo
26476 maybe-install-html-texinfo: install-html-texinfo
26478 install-html-texinfo: \
26479 configure-texinfo \
26480 html-texinfo
26481 @: $(MAKE); $(unstage)
26482 @[ -f ./texinfo/Makefile ] || exit 0; \
26483 r=`${PWD_COMMAND}`; export r; \
26484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26485 $(HOST_EXPORTS) \
26486 for flag in $(EXTRA_HOST_FLAGS) ; do \
26487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26488 done; \
26489 echo "Doing install-html in texinfo" ; \
26490 (cd $(HOST_SUBDIR)/texinfo && \
26491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26493 "RANLIB=$${RANLIB}" \
26494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26495 install-html) \
26496 || exit 1
26498 @endif texinfo
26500 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
26501 maybe-installcheck-texinfo:
26502 @if texinfo
26503 maybe-installcheck-texinfo: installcheck-texinfo
26505 installcheck-texinfo: \
26506 configure-texinfo
26507 @: $(MAKE); $(unstage)
26508 @[ -f ./texinfo/Makefile ] || exit 0; \
26509 r=`${PWD_COMMAND}`; export r; \
26510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26511 $(HOST_EXPORTS) \
26512 for flag in $(EXTRA_HOST_FLAGS) ; do \
26513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26514 done; \
26515 echo "Doing installcheck in texinfo" ; \
26516 (cd $(HOST_SUBDIR)/texinfo && \
26517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26519 "RANLIB=$${RANLIB}" \
26520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26521 installcheck) \
26522 || exit 1
26524 @endif texinfo
26526 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
26527 maybe-mostlyclean-texinfo:
26528 @if texinfo
26529 maybe-mostlyclean-texinfo: mostlyclean-texinfo
26531 mostlyclean-texinfo:
26532 @: $(MAKE); $(unstage)
26533 @[ -f ./texinfo/Makefile ] || exit 0; \
26534 r=`${PWD_COMMAND}`; export r; \
26535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26536 $(HOST_EXPORTS) \
26537 for flag in $(EXTRA_HOST_FLAGS) ; do \
26538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26539 done; \
26540 echo "Doing mostlyclean in texinfo" ; \
26541 (cd $(HOST_SUBDIR)/texinfo && \
26542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26544 "RANLIB=$${RANLIB}" \
26545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26546 mostlyclean) \
26547 || exit 1
26549 @endif texinfo
26551 .PHONY: maybe-clean-texinfo clean-texinfo
26552 maybe-clean-texinfo:
26553 @if texinfo
26554 maybe-clean-texinfo: clean-texinfo
26556 clean-texinfo:
26557 @: $(MAKE); $(unstage)
26558 @[ -f ./texinfo/Makefile ] || exit 0; \
26559 r=`${PWD_COMMAND}`; export r; \
26560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26561 $(HOST_EXPORTS) \
26562 for flag in $(EXTRA_HOST_FLAGS) ; do \
26563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26564 done; \
26565 echo "Doing clean in texinfo" ; \
26566 (cd $(HOST_SUBDIR)/texinfo && \
26567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26569 "RANLIB=$${RANLIB}" \
26570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26571 clean) \
26572 || exit 1
26574 @endif texinfo
26576 .PHONY: maybe-distclean-texinfo distclean-texinfo
26577 maybe-distclean-texinfo:
26578 @if texinfo
26579 maybe-distclean-texinfo: distclean-texinfo
26581 distclean-texinfo:
26582 @: $(MAKE); $(unstage)
26583 @[ -f ./texinfo/Makefile ] || exit 0; \
26584 r=`${PWD_COMMAND}`; export r; \
26585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26586 $(HOST_EXPORTS) \
26587 for flag in $(EXTRA_HOST_FLAGS) ; do \
26588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26589 done; \
26590 echo "Doing distclean in texinfo" ; \
26591 (cd $(HOST_SUBDIR)/texinfo && \
26592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26594 "RANLIB=$${RANLIB}" \
26595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26596 distclean) \
26597 || exit 1
26599 @endif texinfo
26601 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
26602 maybe-maintainer-clean-texinfo:
26603 @if texinfo
26604 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
26606 maintainer-clean-texinfo:
26607 @: $(MAKE); $(unstage)
26608 @[ -f ./texinfo/Makefile ] || exit 0; \
26609 r=`${PWD_COMMAND}`; export r; \
26610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26611 $(HOST_EXPORTS) \
26612 for flag in $(EXTRA_HOST_FLAGS) ; do \
26613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26614 done; \
26615 echo "Doing maintainer-clean in texinfo" ; \
26616 (cd $(HOST_SUBDIR)/texinfo && \
26617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26619 "RANLIB=$${RANLIB}" \
26620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26621 maintainer-clean) \
26622 || exit 1
26624 @endif texinfo
26628 .PHONY: configure-zlib maybe-configure-zlib
26629 maybe-configure-zlib:
26630 @if gcc-bootstrap
26631 configure-zlib: stage_current
26632 @endif gcc-bootstrap
26633 @if zlib
26634 maybe-configure-zlib: configure-zlib
26635 configure-zlib:
26636 @r=`${PWD_COMMAND}`; export r; \
26637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26638 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26639 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26640 $(HOST_EXPORTS) \
26641 echo Configuring in $(HOST_SUBDIR)/zlib; \
26642 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
26643 case $(srcdir) in \
26644 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26645 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26646 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26647 esac; \
26648 module_srcdir=zlib; \
26649 $(SHELL) \
26650 $$s/$$module_srcdir/configure \
26651 --srcdir=$${topdir}/$$module_srcdir \
26652 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26653 --target=${target_alias} \
26654 || exit 1
26655 @endif zlib
26659 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
26660 maybe-configure-stage1-zlib:
26661 @if zlib-bootstrap
26662 maybe-configure-stage1-zlib: configure-stage1-zlib
26663 configure-stage1-zlib:
26664 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
26665 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26666 @r=`${PWD_COMMAND}`; export r; \
26667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26668 TFLAGS="$(STAGE1_TFLAGS)"; \
26669 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26670 $(HOST_EXPORTS) \
26671 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
26672 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
26673 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
26674 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib ; \
26675 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26676 cd $(HOST_SUBDIR)/zlib || exit 1; \
26677 case $(srcdir) in \
26678 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26679 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26680 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26681 esac; \
26682 module_srcdir=zlib; \
26683 $(SHELL) $$s/$$module_srcdir/configure \
26684 --srcdir=$${topdir}/$$module_srcdir \
26685 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26686 --target=${target_alias} \
26688 $(STAGE1_CONFIGURE_FLAGS)
26689 @endif zlib-bootstrap
26691 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
26692 maybe-configure-stage2-zlib:
26693 @if zlib-bootstrap
26694 maybe-configure-stage2-zlib: configure-stage2-zlib
26695 configure-stage2-zlib:
26696 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
26697 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26698 @r=`${PWD_COMMAND}`; export r; \
26699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26700 TFLAGS="$(STAGE2_TFLAGS)"; \
26701 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26702 $(HOST_EXPORTS) \
26703 $(POSTSTAGE1_HOST_EXPORTS) \
26704 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
26705 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
26706 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
26707 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib ; \
26708 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26709 cd $(HOST_SUBDIR)/zlib || exit 1; \
26710 case $(srcdir) in \
26711 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26712 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26713 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26714 esac; \
26715 module_srcdir=zlib; \
26716 $(SHELL) $$s/$$module_srcdir/configure \
26717 --srcdir=$${topdir}/$$module_srcdir \
26718 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26719 --target=${target_alias} \
26720 --with-build-libsubdir=$(HOST_SUBDIR) \
26721 $(STAGE2_CONFIGURE_FLAGS)
26722 @endif zlib-bootstrap
26724 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
26725 maybe-configure-stage3-zlib:
26726 @if zlib-bootstrap
26727 maybe-configure-stage3-zlib: configure-stage3-zlib
26728 configure-stage3-zlib:
26729 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
26730 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26731 @r=`${PWD_COMMAND}`; export r; \
26732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26733 TFLAGS="$(STAGE3_TFLAGS)"; \
26734 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26735 $(HOST_EXPORTS) \
26736 $(POSTSTAGE1_HOST_EXPORTS) \
26737 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
26738 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
26739 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
26740 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib ; \
26741 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26742 cd $(HOST_SUBDIR)/zlib || exit 1; \
26743 case $(srcdir) in \
26744 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26745 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26746 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26747 esac; \
26748 module_srcdir=zlib; \
26749 $(SHELL) $$s/$$module_srcdir/configure \
26750 --srcdir=$${topdir}/$$module_srcdir \
26751 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26752 --target=${target_alias} \
26753 --with-build-libsubdir=$(HOST_SUBDIR) \
26754 $(STAGE3_CONFIGURE_FLAGS)
26755 @endif zlib-bootstrap
26757 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
26758 maybe-configure-stage4-zlib:
26759 @if zlib-bootstrap
26760 maybe-configure-stage4-zlib: configure-stage4-zlib
26761 configure-stage4-zlib:
26762 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
26763 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26764 @r=`${PWD_COMMAND}`; export r; \
26765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26766 TFLAGS="$(STAGE4_TFLAGS)"; \
26767 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26768 $(HOST_EXPORTS) \
26769 $(POSTSTAGE1_HOST_EXPORTS) \
26770 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
26771 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
26772 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
26773 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib ; \
26774 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26775 cd $(HOST_SUBDIR)/zlib || exit 1; \
26776 case $(srcdir) in \
26777 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26778 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26779 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26780 esac; \
26781 module_srcdir=zlib; \
26782 $(SHELL) $$s/$$module_srcdir/configure \
26783 --srcdir=$${topdir}/$$module_srcdir \
26784 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26785 --target=${target_alias} \
26786 --with-build-libsubdir=$(HOST_SUBDIR) \
26787 $(STAGE4_CONFIGURE_FLAGS)
26788 @endif zlib-bootstrap
26790 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
26791 maybe-configure-stageprofile-zlib:
26792 @if zlib-bootstrap
26793 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
26794 configure-stageprofile-zlib:
26795 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
26796 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26797 @r=`${PWD_COMMAND}`; export r; \
26798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26799 TFLAGS="$(STAGEprofile_TFLAGS)"; \
26800 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26801 $(HOST_EXPORTS) \
26802 $(POSTSTAGE1_HOST_EXPORTS) \
26803 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
26804 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
26805 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
26806 echo Configuring stage profile in $(HOST_SUBDIR)/zlib ; \
26807 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26808 cd $(HOST_SUBDIR)/zlib || exit 1; \
26809 case $(srcdir) in \
26810 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26811 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26812 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26813 esac; \
26814 module_srcdir=zlib; \
26815 $(SHELL) $$s/$$module_srcdir/configure \
26816 --srcdir=$${topdir}/$$module_srcdir \
26817 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26818 --target=${target_alias} \
26819 --with-build-libsubdir=$(HOST_SUBDIR) \
26820 $(STAGEprofile_CONFIGURE_FLAGS)
26821 @endif zlib-bootstrap
26823 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
26824 maybe-configure-stagefeedback-zlib:
26825 @if zlib-bootstrap
26826 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
26827 configure-stagefeedback-zlib:
26828 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
26829 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26830 @r=`${PWD_COMMAND}`; export r; \
26831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26832 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
26833 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26834 $(HOST_EXPORTS) \
26835 $(POSTSTAGE1_HOST_EXPORTS) \
26836 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
26837 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
26838 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
26839 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib ; \
26840 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26841 cd $(HOST_SUBDIR)/zlib || exit 1; \
26842 case $(srcdir) in \
26843 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26844 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26845 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26846 esac; \
26847 module_srcdir=zlib; \
26848 $(SHELL) $$s/$$module_srcdir/configure \
26849 --srcdir=$${topdir}/$$module_srcdir \
26850 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26851 --target=${target_alias} \
26852 --with-build-libsubdir=$(HOST_SUBDIR) \
26853 $(STAGEfeedback_CONFIGURE_FLAGS)
26854 @endif zlib-bootstrap
26860 .PHONY: all-zlib maybe-all-zlib
26861 maybe-all-zlib:
26862 @if gcc-bootstrap
26863 all-zlib: stage_current
26864 @endif gcc-bootstrap
26865 @if zlib
26866 TARGET-zlib=all
26867 maybe-all-zlib: all-zlib
26868 all-zlib: configure-zlib
26869 @r=`${PWD_COMMAND}`; export r; \
26870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26871 $(HOST_EXPORTS) \
26872 (cd $(HOST_SUBDIR)/zlib && \
26873 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
26874 $(TARGET-zlib))
26875 @endif zlib
26879 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
26880 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
26881 maybe-all-stage1-zlib:
26882 maybe-clean-stage1-zlib:
26883 @if zlib-bootstrap
26884 maybe-all-stage1-zlib: all-stage1-zlib
26885 all-stage1: all-stage1-zlib
26886 TARGET-stage1-zlib = $(TARGET-zlib)
26887 all-stage1-zlib: configure-stage1-zlib
26888 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
26889 @r=`${PWD_COMMAND}`; export r; \
26890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26891 TFLAGS="$(STAGE1_TFLAGS)"; \
26892 $(HOST_EXPORTS) \
26893 cd $(HOST_SUBDIR)/zlib && \
26894 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26895 CFLAGS="$(STAGE1_CFLAGS)" \
26896 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
26897 LIBCFLAGS="$(LIBCFLAGS)" \
26898 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26899 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26900 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26901 $(EXTRA_HOST_FLAGS) \
26902 $(STAGE1_FLAGS_TO_PASS) \
26903 TFLAGS="$(STAGE1_TFLAGS)" \
26904 $(TARGET-stage1-zlib)
26906 maybe-clean-stage1-zlib: clean-stage1-zlib
26907 clean-stage1: clean-stage1-zlib
26908 clean-stage1-zlib:
26909 @if [ $(current_stage) = stage1 ]; then \
26910 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
26911 else \
26912 [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] || exit 0; \
26913 $(MAKE) stage1-start; \
26914 fi; \
26915 cd $(HOST_SUBDIR)/zlib && \
26916 $(MAKE) $(EXTRA_HOST_FLAGS) \
26917 $(STAGE1_FLAGS_TO_PASS) clean
26918 @endif zlib-bootstrap
26921 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
26922 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
26923 maybe-all-stage2-zlib:
26924 maybe-clean-stage2-zlib:
26925 @if zlib-bootstrap
26926 maybe-all-stage2-zlib: all-stage2-zlib
26927 all-stage2: all-stage2-zlib
26928 TARGET-stage2-zlib = $(TARGET-zlib)
26929 all-stage2-zlib: configure-stage2-zlib
26930 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
26931 @r=`${PWD_COMMAND}`; export r; \
26932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26933 TFLAGS="$(STAGE2_TFLAGS)"; \
26934 $(HOST_EXPORTS) \
26935 $(POSTSTAGE1_HOST_EXPORTS) \
26936 cd $(HOST_SUBDIR)/zlib && \
26937 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26938 CFLAGS="$(STAGE2_CFLAGS)" \
26939 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
26940 LIBCFLAGS="$(STAGE2_CFLAGS)" \
26941 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26942 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26943 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26944 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26945 TFLAGS="$(STAGE2_TFLAGS)" \
26946 $(TARGET-stage2-zlib)
26948 maybe-clean-stage2-zlib: clean-stage2-zlib
26949 clean-stage2: clean-stage2-zlib
26950 clean-stage2-zlib:
26951 @if [ $(current_stage) = stage2 ]; then \
26952 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
26953 else \
26954 [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] || exit 0; \
26955 $(MAKE) stage2-start; \
26956 fi; \
26957 cd $(HOST_SUBDIR)/zlib && \
26958 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26959 @endif zlib-bootstrap
26962 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
26963 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
26964 maybe-all-stage3-zlib:
26965 maybe-clean-stage3-zlib:
26966 @if zlib-bootstrap
26967 maybe-all-stage3-zlib: all-stage3-zlib
26968 all-stage3: all-stage3-zlib
26969 TARGET-stage3-zlib = $(TARGET-zlib)
26970 all-stage3-zlib: configure-stage3-zlib
26971 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
26972 @r=`${PWD_COMMAND}`; export r; \
26973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26974 TFLAGS="$(STAGE3_TFLAGS)"; \
26975 $(HOST_EXPORTS) \
26976 $(POSTSTAGE1_HOST_EXPORTS) \
26977 cd $(HOST_SUBDIR)/zlib && \
26978 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26979 CFLAGS="$(STAGE3_CFLAGS)" \
26980 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
26981 LIBCFLAGS="$(STAGE3_CFLAGS)" \
26982 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26983 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26984 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26985 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26986 TFLAGS="$(STAGE3_TFLAGS)" \
26987 $(TARGET-stage3-zlib)
26989 maybe-clean-stage3-zlib: clean-stage3-zlib
26990 clean-stage3: clean-stage3-zlib
26991 clean-stage3-zlib:
26992 @if [ $(current_stage) = stage3 ]; then \
26993 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
26994 else \
26995 [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] || exit 0; \
26996 $(MAKE) stage3-start; \
26997 fi; \
26998 cd $(HOST_SUBDIR)/zlib && \
26999 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27000 @endif zlib-bootstrap
27003 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
27004 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
27005 maybe-all-stage4-zlib:
27006 maybe-clean-stage4-zlib:
27007 @if zlib-bootstrap
27008 maybe-all-stage4-zlib: all-stage4-zlib
27009 all-stage4: all-stage4-zlib
27010 TARGET-stage4-zlib = $(TARGET-zlib)
27011 all-stage4-zlib: configure-stage4-zlib
27012 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
27013 @r=`${PWD_COMMAND}`; export r; \
27014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27015 TFLAGS="$(STAGE4_TFLAGS)"; \
27016 $(HOST_EXPORTS) \
27017 $(POSTSTAGE1_HOST_EXPORTS) \
27018 cd $(HOST_SUBDIR)/zlib && \
27019 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27020 CFLAGS="$(STAGE4_CFLAGS)" \
27021 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
27022 LIBCFLAGS="$(STAGE4_CFLAGS)" \
27023 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27024 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27025 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27026 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27027 TFLAGS="$(STAGE4_TFLAGS)" \
27028 $(TARGET-stage4-zlib)
27030 maybe-clean-stage4-zlib: clean-stage4-zlib
27031 clean-stage4: clean-stage4-zlib
27032 clean-stage4-zlib:
27033 @if [ $(current_stage) = stage4 ]; then \
27034 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
27035 else \
27036 [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] || exit 0; \
27037 $(MAKE) stage4-start; \
27038 fi; \
27039 cd $(HOST_SUBDIR)/zlib && \
27040 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27041 @endif zlib-bootstrap
27044 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
27045 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
27046 maybe-all-stageprofile-zlib:
27047 maybe-clean-stageprofile-zlib:
27048 @if zlib-bootstrap
27049 maybe-all-stageprofile-zlib: all-stageprofile-zlib
27050 all-stageprofile: all-stageprofile-zlib
27051 TARGET-stageprofile-zlib = $(TARGET-zlib)
27052 all-stageprofile-zlib: configure-stageprofile-zlib
27053 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
27054 @r=`${PWD_COMMAND}`; export r; \
27055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27056 TFLAGS="$(STAGEprofile_TFLAGS)"; \
27057 $(HOST_EXPORTS) \
27058 $(POSTSTAGE1_HOST_EXPORTS) \
27059 cd $(HOST_SUBDIR)/zlib && \
27060 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27061 CFLAGS="$(STAGEprofile_CFLAGS)" \
27062 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
27063 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
27064 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27065 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27066 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27067 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27068 TFLAGS="$(STAGEprofile_TFLAGS)" \
27069 $(TARGET-stageprofile-zlib)
27071 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
27072 clean-stageprofile: clean-stageprofile-zlib
27073 clean-stageprofile-zlib:
27074 @if [ $(current_stage) = stageprofile ]; then \
27075 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
27076 else \
27077 [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] || exit 0; \
27078 $(MAKE) stageprofile-start; \
27079 fi; \
27080 cd $(HOST_SUBDIR)/zlib && \
27081 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27082 @endif zlib-bootstrap
27085 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
27086 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
27087 maybe-all-stagefeedback-zlib:
27088 maybe-clean-stagefeedback-zlib:
27089 @if zlib-bootstrap
27090 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
27091 all-stagefeedback: all-stagefeedback-zlib
27092 TARGET-stagefeedback-zlib = $(TARGET-zlib)
27093 all-stagefeedback-zlib: configure-stagefeedback-zlib
27094 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
27095 @r=`${PWD_COMMAND}`; export r; \
27096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27097 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
27098 $(HOST_EXPORTS) \
27099 $(POSTSTAGE1_HOST_EXPORTS) \
27100 cd $(HOST_SUBDIR)/zlib && \
27101 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27102 CFLAGS="$(STAGEfeedback_CFLAGS)" \
27103 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
27104 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
27105 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27106 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27107 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27108 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27109 TFLAGS="$(STAGEfeedback_TFLAGS)" \
27110 $(TARGET-stagefeedback-zlib)
27112 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
27113 clean-stagefeedback: clean-stagefeedback-zlib
27114 clean-stagefeedback-zlib:
27115 @if [ $(current_stage) = stagefeedback ]; then \
27116 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
27117 else \
27118 [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] || exit 0; \
27119 $(MAKE) stagefeedback-start; \
27120 fi; \
27121 cd $(HOST_SUBDIR)/zlib && \
27122 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27123 @endif zlib-bootstrap
27129 .PHONY: check-zlib maybe-check-zlib
27130 maybe-check-zlib:
27131 @if zlib
27132 maybe-check-zlib: check-zlib
27134 check-zlib:
27136 @endif zlib
27138 .PHONY: install-zlib maybe-install-zlib
27139 maybe-install-zlib:
27140 @if zlib
27141 maybe-install-zlib: install-zlib
27143 install-zlib:
27145 @endif zlib
27147 .PHONY: install-strip-zlib maybe-install-strip-zlib
27148 maybe-install-strip-zlib:
27149 @if zlib
27150 maybe-install-strip-zlib: install-strip-zlib
27152 install-strip-zlib:
27154 @endif zlib
27156 # Other targets (info, dvi, pdf, etc.)
27158 .PHONY: maybe-info-zlib info-zlib
27159 maybe-info-zlib:
27160 @if zlib
27161 maybe-info-zlib: info-zlib
27163 info-zlib: \
27164 configure-zlib
27165 @[ -f ./zlib/Makefile ] || exit 0; \
27166 r=`${PWD_COMMAND}`; export r; \
27167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27168 $(HOST_EXPORTS) \
27169 for flag in $(EXTRA_HOST_FLAGS) ; do \
27170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27171 done; \
27172 echo "Doing info in zlib" ; \
27173 (cd $(HOST_SUBDIR)/zlib && \
27174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27176 "RANLIB=$${RANLIB}" \
27177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27178 info) \
27179 || exit 1
27181 @endif zlib
27183 .PHONY: maybe-dvi-zlib dvi-zlib
27184 maybe-dvi-zlib:
27185 @if zlib
27186 maybe-dvi-zlib: dvi-zlib
27188 dvi-zlib: \
27189 configure-zlib
27190 @[ -f ./zlib/Makefile ] || exit 0; \
27191 r=`${PWD_COMMAND}`; export r; \
27192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27193 $(HOST_EXPORTS) \
27194 for flag in $(EXTRA_HOST_FLAGS) ; do \
27195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27196 done; \
27197 echo "Doing dvi in zlib" ; \
27198 (cd $(HOST_SUBDIR)/zlib && \
27199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27201 "RANLIB=$${RANLIB}" \
27202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27203 dvi) \
27204 || exit 1
27206 @endif zlib
27208 .PHONY: maybe-pdf-zlib pdf-zlib
27209 maybe-pdf-zlib:
27210 @if zlib
27211 maybe-pdf-zlib: pdf-zlib
27213 pdf-zlib: \
27214 configure-zlib
27215 @[ -f ./zlib/Makefile ] || exit 0; \
27216 r=`${PWD_COMMAND}`; export r; \
27217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27218 $(HOST_EXPORTS) \
27219 for flag in $(EXTRA_HOST_FLAGS) ; do \
27220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27221 done; \
27222 echo "Doing pdf in zlib" ; \
27223 (cd $(HOST_SUBDIR)/zlib && \
27224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27226 "RANLIB=$${RANLIB}" \
27227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27228 pdf) \
27229 || exit 1
27231 @endif zlib
27233 .PHONY: maybe-html-zlib html-zlib
27234 maybe-html-zlib:
27235 @if zlib
27236 maybe-html-zlib: html-zlib
27238 html-zlib: \
27239 configure-zlib
27240 @[ -f ./zlib/Makefile ] || exit 0; \
27241 r=`${PWD_COMMAND}`; export r; \
27242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27243 $(HOST_EXPORTS) \
27244 for flag in $(EXTRA_HOST_FLAGS) ; do \
27245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27246 done; \
27247 echo "Doing html in zlib" ; \
27248 (cd $(HOST_SUBDIR)/zlib && \
27249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27251 "RANLIB=$${RANLIB}" \
27252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27253 html) \
27254 || exit 1
27256 @endif zlib
27258 .PHONY: maybe-TAGS-zlib TAGS-zlib
27259 maybe-TAGS-zlib:
27260 @if zlib
27261 maybe-TAGS-zlib: TAGS-zlib
27263 TAGS-zlib: \
27264 configure-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 TAGS 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 TAGS) \
27279 || exit 1
27281 @endif zlib
27283 .PHONY: maybe-install-info-zlib install-info-zlib
27284 maybe-install-info-zlib:
27285 @if zlib
27286 maybe-install-info-zlib: install-info-zlib
27288 install-info-zlib: \
27289 configure-zlib \
27290 info-zlib
27291 @[ -f ./zlib/Makefile ] || exit 0; \
27292 r=`${PWD_COMMAND}`; export r; \
27293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27294 $(HOST_EXPORTS) \
27295 for flag in $(EXTRA_HOST_FLAGS) ; do \
27296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27297 done; \
27298 echo "Doing install-info in zlib" ; \
27299 (cd $(HOST_SUBDIR)/zlib && \
27300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27302 "RANLIB=$${RANLIB}" \
27303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27304 install-info) \
27305 || exit 1
27307 @endif zlib
27309 .PHONY: maybe-install-pdf-zlib install-pdf-zlib
27310 maybe-install-pdf-zlib:
27311 @if zlib
27312 maybe-install-pdf-zlib: install-pdf-zlib
27314 install-pdf-zlib: \
27315 configure-zlib \
27316 pdf-zlib
27317 @[ -f ./zlib/Makefile ] || exit 0; \
27318 r=`${PWD_COMMAND}`; export r; \
27319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27320 $(HOST_EXPORTS) \
27321 for flag in $(EXTRA_HOST_FLAGS) ; do \
27322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27323 done; \
27324 echo "Doing install-pdf in zlib" ; \
27325 (cd $(HOST_SUBDIR)/zlib && \
27326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27328 "RANLIB=$${RANLIB}" \
27329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27330 install-pdf) \
27331 || exit 1
27333 @endif zlib
27335 .PHONY: maybe-install-html-zlib install-html-zlib
27336 maybe-install-html-zlib:
27337 @if zlib
27338 maybe-install-html-zlib: install-html-zlib
27340 install-html-zlib: \
27341 configure-zlib \
27342 html-zlib
27343 @[ -f ./zlib/Makefile ] || exit 0; \
27344 r=`${PWD_COMMAND}`; export r; \
27345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27346 $(HOST_EXPORTS) \
27347 for flag in $(EXTRA_HOST_FLAGS) ; do \
27348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27349 done; \
27350 echo "Doing install-html in zlib" ; \
27351 (cd $(HOST_SUBDIR)/zlib && \
27352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27354 "RANLIB=$${RANLIB}" \
27355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27356 install-html) \
27357 || exit 1
27359 @endif zlib
27361 .PHONY: maybe-installcheck-zlib installcheck-zlib
27362 maybe-installcheck-zlib:
27363 @if zlib
27364 maybe-installcheck-zlib: installcheck-zlib
27366 installcheck-zlib: \
27367 configure-zlib
27368 @[ -f ./zlib/Makefile ] || exit 0; \
27369 r=`${PWD_COMMAND}`; export r; \
27370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27371 $(HOST_EXPORTS) \
27372 for flag in $(EXTRA_HOST_FLAGS) ; do \
27373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27374 done; \
27375 echo "Doing installcheck in zlib" ; \
27376 (cd $(HOST_SUBDIR)/zlib && \
27377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27379 "RANLIB=$${RANLIB}" \
27380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27381 installcheck) \
27382 || exit 1
27384 @endif zlib
27386 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
27387 maybe-mostlyclean-zlib:
27388 @if zlib
27389 maybe-mostlyclean-zlib: mostlyclean-zlib
27391 mostlyclean-zlib:
27392 @[ -f ./zlib/Makefile ] || exit 0; \
27393 r=`${PWD_COMMAND}`; export r; \
27394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27395 $(HOST_EXPORTS) \
27396 for flag in $(EXTRA_HOST_FLAGS) ; do \
27397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27398 done; \
27399 echo "Doing mostlyclean in zlib" ; \
27400 (cd $(HOST_SUBDIR)/zlib && \
27401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27403 "RANLIB=$${RANLIB}" \
27404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27405 mostlyclean) \
27406 || exit 1
27408 @endif zlib
27410 .PHONY: maybe-clean-zlib clean-zlib
27411 maybe-clean-zlib:
27412 @if zlib
27413 maybe-clean-zlib: clean-zlib
27415 clean-zlib:
27416 @[ -f ./zlib/Makefile ] || exit 0; \
27417 r=`${PWD_COMMAND}`; export r; \
27418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27419 $(HOST_EXPORTS) \
27420 for flag in $(EXTRA_HOST_FLAGS) ; do \
27421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27422 done; \
27423 echo "Doing clean in zlib" ; \
27424 (cd $(HOST_SUBDIR)/zlib && \
27425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27427 "RANLIB=$${RANLIB}" \
27428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27429 clean) \
27430 || exit 1
27432 @endif zlib
27434 .PHONY: maybe-distclean-zlib distclean-zlib
27435 maybe-distclean-zlib:
27436 @if zlib
27437 maybe-distclean-zlib: distclean-zlib
27439 distclean-zlib:
27440 @[ -f ./zlib/Makefile ] || exit 0; \
27441 r=`${PWD_COMMAND}`; export r; \
27442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27443 $(HOST_EXPORTS) \
27444 for flag in $(EXTRA_HOST_FLAGS) ; do \
27445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27446 done; \
27447 echo "Doing distclean in zlib" ; \
27448 (cd $(HOST_SUBDIR)/zlib && \
27449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27451 "RANLIB=$${RANLIB}" \
27452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27453 distclean) \
27454 || exit 1
27456 @endif zlib
27458 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
27459 maybe-maintainer-clean-zlib:
27460 @if zlib
27461 maybe-maintainer-clean-zlib: maintainer-clean-zlib
27463 maintainer-clean-zlib:
27464 @[ -f ./zlib/Makefile ] || exit 0; \
27465 r=`${PWD_COMMAND}`; export r; \
27466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27467 $(HOST_EXPORTS) \
27468 for flag in $(EXTRA_HOST_FLAGS) ; do \
27469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27470 done; \
27471 echo "Doing maintainer-clean in zlib" ; \
27472 (cd $(HOST_SUBDIR)/zlib && \
27473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27475 "RANLIB=$${RANLIB}" \
27476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27477 maintainer-clean) \
27478 || exit 1
27480 @endif zlib
27484 .PHONY: configure-gdb maybe-configure-gdb
27485 maybe-configure-gdb:
27486 @if gcc-bootstrap
27487 configure-gdb: stage_current
27488 @endif gcc-bootstrap
27489 @if gdb
27490 maybe-configure-gdb: configure-gdb
27491 configure-gdb:
27492 @: $(MAKE); $(unstage)
27493 @r=`${PWD_COMMAND}`; export r; \
27494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27495 test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
27496 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb ; \
27497 $(HOST_EXPORTS) \
27498 echo Configuring in $(HOST_SUBDIR)/gdb; \
27499 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
27500 case $(srcdir) in \
27501 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27502 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
27503 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27504 esac; \
27505 module_srcdir=gdb; \
27506 $(SHELL) \
27507 $$s/$$module_srcdir/configure \
27508 --srcdir=$${topdir}/$$module_srcdir \
27509 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27510 --target=${target_alias} \
27511 || exit 1
27512 @endif gdb
27518 .PHONY: all-gdb maybe-all-gdb
27519 maybe-all-gdb:
27520 @if gcc-bootstrap
27521 all-gdb: stage_current
27522 @endif gcc-bootstrap
27523 @if gdb
27524 TARGET-gdb=all
27525 maybe-all-gdb: all-gdb
27526 all-gdb: configure-gdb
27527 @: $(MAKE); $(unstage)
27528 @r=`${PWD_COMMAND}`; export r; \
27529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27530 $(HOST_EXPORTS) \
27531 (cd $(HOST_SUBDIR)/gdb && \
27532 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
27533 $(TARGET-gdb))
27534 @endif gdb
27539 .PHONY: check-gdb maybe-check-gdb
27540 maybe-check-gdb:
27541 @if gdb
27542 maybe-check-gdb: check-gdb
27544 check-gdb:
27545 @: $(MAKE); $(unstage)
27546 @r=`${PWD_COMMAND}`; export r; \
27547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27548 $(HOST_EXPORTS) \
27549 (cd $(HOST_SUBDIR)/gdb && \
27550 $(MAKE) $(FLAGS_TO_PASS) check)
27552 @endif gdb
27554 .PHONY: install-gdb maybe-install-gdb
27555 maybe-install-gdb:
27556 @if gdb
27557 maybe-install-gdb: install-gdb
27559 install-gdb: installdirs
27560 @: $(MAKE); $(unstage)
27561 @r=`${PWD_COMMAND}`; export r; \
27562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27563 $(HOST_EXPORTS) \
27564 (cd $(HOST_SUBDIR)/gdb && \
27565 $(MAKE) $(FLAGS_TO_PASS) install)
27567 @endif gdb
27569 .PHONY: install-strip-gdb maybe-install-strip-gdb
27570 maybe-install-strip-gdb:
27571 @if gdb
27572 maybe-install-strip-gdb: install-strip-gdb
27574 install-strip-gdb: installdirs
27575 @: $(MAKE); $(unstage)
27576 @r=`${PWD_COMMAND}`; export r; \
27577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27578 $(HOST_EXPORTS) \
27579 (cd $(HOST_SUBDIR)/gdb && \
27580 $(MAKE) $(FLAGS_TO_PASS) install-strip)
27582 @endif gdb
27584 # Other targets (info, dvi, pdf, etc.)
27586 .PHONY: maybe-info-gdb info-gdb
27587 maybe-info-gdb:
27588 @if gdb
27589 maybe-info-gdb: info-gdb
27591 info-gdb: \
27592 configure-gdb
27593 @: $(MAKE); $(unstage)
27594 @[ -f ./gdb/Makefile ] || exit 0; \
27595 r=`${PWD_COMMAND}`; export r; \
27596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27597 $(HOST_EXPORTS) \
27598 for flag in $(EXTRA_HOST_FLAGS) ; do \
27599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27600 done; \
27601 echo "Doing info in gdb" ; \
27602 (cd $(HOST_SUBDIR)/gdb && \
27603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27605 "RANLIB=$${RANLIB}" \
27606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27607 info) \
27608 || exit 1
27610 @endif gdb
27612 .PHONY: maybe-dvi-gdb dvi-gdb
27613 maybe-dvi-gdb:
27614 @if gdb
27615 maybe-dvi-gdb: dvi-gdb
27617 dvi-gdb: \
27618 configure-gdb
27619 @: $(MAKE); $(unstage)
27620 @[ -f ./gdb/Makefile ] || exit 0; \
27621 r=`${PWD_COMMAND}`; export r; \
27622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27623 $(HOST_EXPORTS) \
27624 for flag in $(EXTRA_HOST_FLAGS) ; do \
27625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27626 done; \
27627 echo "Doing dvi in gdb" ; \
27628 (cd $(HOST_SUBDIR)/gdb && \
27629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27631 "RANLIB=$${RANLIB}" \
27632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27633 dvi) \
27634 || exit 1
27636 @endif gdb
27638 .PHONY: maybe-pdf-gdb pdf-gdb
27639 maybe-pdf-gdb:
27640 @if gdb
27641 maybe-pdf-gdb: pdf-gdb
27643 pdf-gdb: \
27644 configure-gdb
27645 @: $(MAKE); $(unstage)
27646 @[ -f ./gdb/Makefile ] || exit 0; \
27647 r=`${PWD_COMMAND}`; export r; \
27648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27649 $(HOST_EXPORTS) \
27650 for flag in $(EXTRA_HOST_FLAGS) ; do \
27651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27652 done; \
27653 echo "Doing pdf in gdb" ; \
27654 (cd $(HOST_SUBDIR)/gdb && \
27655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27657 "RANLIB=$${RANLIB}" \
27658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27659 pdf) \
27660 || exit 1
27662 @endif gdb
27664 .PHONY: maybe-html-gdb html-gdb
27665 maybe-html-gdb:
27666 @if gdb
27667 maybe-html-gdb: html-gdb
27669 html-gdb: \
27670 configure-gdb
27671 @: $(MAKE); $(unstage)
27672 @[ -f ./gdb/Makefile ] || exit 0; \
27673 r=`${PWD_COMMAND}`; export r; \
27674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27675 $(HOST_EXPORTS) \
27676 for flag in $(EXTRA_HOST_FLAGS) ; do \
27677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27678 done; \
27679 echo "Doing html in gdb" ; \
27680 (cd $(HOST_SUBDIR)/gdb && \
27681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27683 "RANLIB=$${RANLIB}" \
27684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27685 html) \
27686 || exit 1
27688 @endif gdb
27690 .PHONY: maybe-TAGS-gdb TAGS-gdb
27691 maybe-TAGS-gdb:
27692 @if gdb
27693 maybe-TAGS-gdb: TAGS-gdb
27695 TAGS-gdb: \
27696 configure-gdb
27697 @: $(MAKE); $(unstage)
27698 @[ -f ./gdb/Makefile ] || exit 0; \
27699 r=`${PWD_COMMAND}`; export r; \
27700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27701 $(HOST_EXPORTS) \
27702 for flag in $(EXTRA_HOST_FLAGS) ; do \
27703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27704 done; \
27705 echo "Doing TAGS in gdb" ; \
27706 (cd $(HOST_SUBDIR)/gdb && \
27707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27709 "RANLIB=$${RANLIB}" \
27710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27711 TAGS) \
27712 || exit 1
27714 @endif gdb
27716 .PHONY: maybe-install-info-gdb install-info-gdb
27717 maybe-install-info-gdb:
27718 @if gdb
27719 maybe-install-info-gdb: install-info-gdb
27721 install-info-gdb: \
27722 configure-gdb \
27723 info-gdb
27724 @: $(MAKE); $(unstage)
27725 @[ -f ./gdb/Makefile ] || exit 0; \
27726 r=`${PWD_COMMAND}`; export r; \
27727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27728 $(HOST_EXPORTS) \
27729 for flag in $(EXTRA_HOST_FLAGS) ; do \
27730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27731 done; \
27732 echo "Doing install-info in gdb" ; \
27733 (cd $(HOST_SUBDIR)/gdb && \
27734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27736 "RANLIB=$${RANLIB}" \
27737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27738 install-info) \
27739 || exit 1
27741 @endif gdb
27743 .PHONY: maybe-install-pdf-gdb install-pdf-gdb
27744 maybe-install-pdf-gdb:
27745 @if gdb
27746 maybe-install-pdf-gdb: install-pdf-gdb
27748 install-pdf-gdb: \
27749 configure-gdb \
27750 pdf-gdb
27751 @: $(MAKE); $(unstage)
27752 @[ -f ./gdb/Makefile ] || exit 0; \
27753 r=`${PWD_COMMAND}`; export r; \
27754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27755 $(HOST_EXPORTS) \
27756 for flag in $(EXTRA_HOST_FLAGS) ; do \
27757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27758 done; \
27759 echo "Doing install-pdf in gdb" ; \
27760 (cd $(HOST_SUBDIR)/gdb && \
27761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27763 "RANLIB=$${RANLIB}" \
27764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27765 install-pdf) \
27766 || exit 1
27768 @endif gdb
27770 .PHONY: maybe-install-html-gdb install-html-gdb
27771 maybe-install-html-gdb:
27772 @if gdb
27773 maybe-install-html-gdb: install-html-gdb
27775 install-html-gdb: \
27776 configure-gdb \
27777 html-gdb
27778 @: $(MAKE); $(unstage)
27779 @[ -f ./gdb/Makefile ] || exit 0; \
27780 r=`${PWD_COMMAND}`; export r; \
27781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27782 $(HOST_EXPORTS) \
27783 for flag in $(EXTRA_HOST_FLAGS) ; do \
27784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27785 done; \
27786 echo "Doing install-html in gdb" ; \
27787 (cd $(HOST_SUBDIR)/gdb && \
27788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27790 "RANLIB=$${RANLIB}" \
27791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27792 install-html) \
27793 || exit 1
27795 @endif gdb
27797 .PHONY: maybe-installcheck-gdb installcheck-gdb
27798 maybe-installcheck-gdb:
27799 @if gdb
27800 maybe-installcheck-gdb: installcheck-gdb
27802 installcheck-gdb: \
27803 configure-gdb
27804 @: $(MAKE); $(unstage)
27805 @[ -f ./gdb/Makefile ] || exit 0; \
27806 r=`${PWD_COMMAND}`; export r; \
27807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27808 $(HOST_EXPORTS) \
27809 for flag in $(EXTRA_HOST_FLAGS) ; do \
27810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27811 done; \
27812 echo "Doing installcheck in gdb" ; \
27813 (cd $(HOST_SUBDIR)/gdb && \
27814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27816 "RANLIB=$${RANLIB}" \
27817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27818 installcheck) \
27819 || exit 1
27821 @endif gdb
27823 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
27824 maybe-mostlyclean-gdb:
27825 @if gdb
27826 maybe-mostlyclean-gdb: mostlyclean-gdb
27828 mostlyclean-gdb:
27829 @: $(MAKE); $(unstage)
27830 @[ -f ./gdb/Makefile ] || exit 0; \
27831 r=`${PWD_COMMAND}`; export r; \
27832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27833 $(HOST_EXPORTS) \
27834 for flag in $(EXTRA_HOST_FLAGS) ; do \
27835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27836 done; \
27837 echo "Doing mostlyclean in gdb" ; \
27838 (cd $(HOST_SUBDIR)/gdb && \
27839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27841 "RANLIB=$${RANLIB}" \
27842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27843 mostlyclean) \
27844 || exit 1
27846 @endif gdb
27848 .PHONY: maybe-clean-gdb clean-gdb
27849 maybe-clean-gdb:
27850 @if gdb
27851 maybe-clean-gdb: clean-gdb
27853 clean-gdb:
27854 @: $(MAKE); $(unstage)
27855 @[ -f ./gdb/Makefile ] || exit 0; \
27856 r=`${PWD_COMMAND}`; export r; \
27857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27858 $(HOST_EXPORTS) \
27859 for flag in $(EXTRA_HOST_FLAGS) ; do \
27860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27861 done; \
27862 echo "Doing clean in gdb" ; \
27863 (cd $(HOST_SUBDIR)/gdb && \
27864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27866 "RANLIB=$${RANLIB}" \
27867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27868 clean) \
27869 || exit 1
27871 @endif gdb
27873 .PHONY: maybe-distclean-gdb distclean-gdb
27874 maybe-distclean-gdb:
27875 @if gdb
27876 maybe-distclean-gdb: distclean-gdb
27878 distclean-gdb:
27879 @: $(MAKE); $(unstage)
27880 @[ -f ./gdb/Makefile ] || exit 0; \
27881 r=`${PWD_COMMAND}`; export r; \
27882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27883 $(HOST_EXPORTS) \
27884 for flag in $(EXTRA_HOST_FLAGS) ; do \
27885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27886 done; \
27887 echo "Doing distclean in gdb" ; \
27888 (cd $(HOST_SUBDIR)/gdb && \
27889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27891 "RANLIB=$${RANLIB}" \
27892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27893 distclean) \
27894 || exit 1
27896 @endif gdb
27898 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
27899 maybe-maintainer-clean-gdb:
27900 @if gdb
27901 maybe-maintainer-clean-gdb: maintainer-clean-gdb
27903 maintainer-clean-gdb:
27904 @: $(MAKE); $(unstage)
27905 @[ -f ./gdb/Makefile ] || exit 0; \
27906 r=`${PWD_COMMAND}`; export r; \
27907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27908 $(HOST_EXPORTS) \
27909 for flag in $(EXTRA_HOST_FLAGS) ; do \
27910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27911 done; \
27912 echo "Doing maintainer-clean in gdb" ; \
27913 (cd $(HOST_SUBDIR)/gdb && \
27914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27916 "RANLIB=$${RANLIB}" \
27917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27918 maintainer-clean) \
27919 || exit 1
27921 @endif gdb
27925 .PHONY: configure-expect maybe-configure-expect
27926 maybe-configure-expect:
27927 @if gcc-bootstrap
27928 configure-expect: stage_current
27929 @endif gcc-bootstrap
27930 @if expect
27931 maybe-configure-expect: configure-expect
27932 configure-expect:
27933 @: $(MAKE); $(unstage)
27934 @r=`${PWD_COMMAND}`; export r; \
27935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27936 test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
27937 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect ; \
27938 $(HOST_EXPORTS) \
27939 echo Configuring in $(HOST_SUBDIR)/expect; \
27940 cd "$(HOST_SUBDIR)/expect" || exit 1; \
27941 case $(srcdir) in \
27942 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27943 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
27944 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27945 esac; \
27946 module_srcdir=expect; \
27947 $(SHELL) \
27948 $$s/$$module_srcdir/configure \
27949 --srcdir=$${topdir}/$$module_srcdir \
27950 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27951 --target=${target_alias} \
27952 || exit 1
27953 @endif expect
27959 .PHONY: all-expect maybe-all-expect
27960 maybe-all-expect:
27961 @if gcc-bootstrap
27962 all-expect: stage_current
27963 @endif gcc-bootstrap
27964 @if expect
27965 TARGET-expect=all
27966 maybe-all-expect: all-expect
27967 all-expect: configure-expect
27968 @: $(MAKE); $(unstage)
27969 @r=`${PWD_COMMAND}`; export r; \
27970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27971 $(HOST_EXPORTS) \
27972 (cd $(HOST_SUBDIR)/expect && \
27973 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
27974 $(TARGET-expect))
27975 @endif expect
27980 .PHONY: check-expect maybe-check-expect
27981 maybe-check-expect:
27982 @if expect
27983 maybe-check-expect: check-expect
27985 check-expect:
27986 @: $(MAKE); $(unstage)
27987 @r=`${PWD_COMMAND}`; export r; \
27988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27989 $(HOST_EXPORTS) \
27990 (cd $(HOST_SUBDIR)/expect && \
27991 $(MAKE) $(FLAGS_TO_PASS) check)
27993 @endif expect
27995 .PHONY: install-expect maybe-install-expect
27996 maybe-install-expect:
27997 @if expect
27998 maybe-install-expect: install-expect
28000 install-expect: installdirs
28001 @: $(MAKE); $(unstage)
28002 @r=`${PWD_COMMAND}`; export r; \
28003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28004 $(HOST_EXPORTS) \
28005 (cd $(HOST_SUBDIR)/expect && \
28006 $(MAKE) $(FLAGS_TO_PASS) install)
28008 @endif expect
28010 .PHONY: install-strip-expect maybe-install-strip-expect
28011 maybe-install-strip-expect:
28012 @if expect
28013 maybe-install-strip-expect: install-strip-expect
28015 install-strip-expect: installdirs
28016 @: $(MAKE); $(unstage)
28017 @r=`${PWD_COMMAND}`; export r; \
28018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28019 $(HOST_EXPORTS) \
28020 (cd $(HOST_SUBDIR)/expect && \
28021 $(MAKE) $(FLAGS_TO_PASS) install-strip)
28023 @endif expect
28025 # Other targets (info, dvi, pdf, etc.)
28027 .PHONY: maybe-info-expect info-expect
28028 maybe-info-expect:
28029 @if expect
28030 maybe-info-expect: info-expect
28032 info-expect: \
28033 configure-expect
28034 @: $(MAKE); $(unstage)
28035 @[ -f ./expect/Makefile ] || exit 0; \
28036 r=`${PWD_COMMAND}`; export r; \
28037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28038 $(HOST_EXPORTS) \
28039 for flag in $(EXTRA_HOST_FLAGS) ; do \
28040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28041 done; \
28042 echo "Doing info in expect" ; \
28043 (cd $(HOST_SUBDIR)/expect && \
28044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28046 "RANLIB=$${RANLIB}" \
28047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28048 info) \
28049 || exit 1
28051 @endif expect
28053 .PHONY: maybe-dvi-expect dvi-expect
28054 maybe-dvi-expect:
28055 @if expect
28056 maybe-dvi-expect: dvi-expect
28058 dvi-expect: \
28059 configure-expect
28060 @: $(MAKE); $(unstage)
28061 @[ -f ./expect/Makefile ] || exit 0; \
28062 r=`${PWD_COMMAND}`; export r; \
28063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28064 $(HOST_EXPORTS) \
28065 for flag in $(EXTRA_HOST_FLAGS) ; do \
28066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28067 done; \
28068 echo "Doing dvi in expect" ; \
28069 (cd $(HOST_SUBDIR)/expect && \
28070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28072 "RANLIB=$${RANLIB}" \
28073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28074 dvi) \
28075 || exit 1
28077 @endif expect
28079 .PHONY: maybe-pdf-expect pdf-expect
28080 maybe-pdf-expect:
28081 @if expect
28082 maybe-pdf-expect: pdf-expect
28084 pdf-expect: \
28085 configure-expect
28086 @: $(MAKE); $(unstage)
28087 @[ -f ./expect/Makefile ] || exit 0; \
28088 r=`${PWD_COMMAND}`; export r; \
28089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28090 $(HOST_EXPORTS) \
28091 for flag in $(EXTRA_HOST_FLAGS) ; do \
28092 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28093 done; \
28094 echo "Doing pdf in expect" ; \
28095 (cd $(HOST_SUBDIR)/expect && \
28096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28098 "RANLIB=$${RANLIB}" \
28099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28100 pdf) \
28101 || exit 1
28103 @endif expect
28105 .PHONY: maybe-html-expect html-expect
28106 maybe-html-expect:
28107 @if expect
28108 maybe-html-expect: html-expect
28110 html-expect: \
28111 configure-expect
28112 @: $(MAKE); $(unstage)
28113 @[ -f ./expect/Makefile ] || exit 0; \
28114 r=`${PWD_COMMAND}`; export r; \
28115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28116 $(HOST_EXPORTS) \
28117 for flag in $(EXTRA_HOST_FLAGS) ; do \
28118 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28119 done; \
28120 echo "Doing html in expect" ; \
28121 (cd $(HOST_SUBDIR)/expect && \
28122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28124 "RANLIB=$${RANLIB}" \
28125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28126 html) \
28127 || exit 1
28129 @endif expect
28131 .PHONY: maybe-TAGS-expect TAGS-expect
28132 maybe-TAGS-expect:
28133 @if expect
28134 maybe-TAGS-expect: TAGS-expect
28136 TAGS-expect: \
28137 configure-expect
28138 @: $(MAKE); $(unstage)
28139 @[ -f ./expect/Makefile ] || exit 0; \
28140 r=`${PWD_COMMAND}`; export r; \
28141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28142 $(HOST_EXPORTS) \
28143 for flag in $(EXTRA_HOST_FLAGS) ; do \
28144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28145 done; \
28146 echo "Doing TAGS in expect" ; \
28147 (cd $(HOST_SUBDIR)/expect && \
28148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28150 "RANLIB=$${RANLIB}" \
28151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28152 TAGS) \
28153 || exit 1
28155 @endif expect
28157 .PHONY: maybe-install-info-expect install-info-expect
28158 maybe-install-info-expect:
28159 @if expect
28160 maybe-install-info-expect: install-info-expect
28162 install-info-expect: \
28163 configure-expect \
28164 info-expect
28165 @: $(MAKE); $(unstage)
28166 @[ -f ./expect/Makefile ] || exit 0; \
28167 r=`${PWD_COMMAND}`; export r; \
28168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28169 $(HOST_EXPORTS) \
28170 for flag in $(EXTRA_HOST_FLAGS) ; do \
28171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28172 done; \
28173 echo "Doing install-info in expect" ; \
28174 (cd $(HOST_SUBDIR)/expect && \
28175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28177 "RANLIB=$${RANLIB}" \
28178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28179 install-info) \
28180 || exit 1
28182 @endif expect
28184 .PHONY: maybe-install-pdf-expect install-pdf-expect
28185 maybe-install-pdf-expect:
28186 @if expect
28187 maybe-install-pdf-expect: install-pdf-expect
28189 install-pdf-expect: \
28190 configure-expect \
28191 pdf-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 install-pdf 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 install-pdf) \
28207 || exit 1
28209 @endif expect
28211 .PHONY: maybe-install-html-expect install-html-expect
28212 maybe-install-html-expect:
28213 @if expect
28214 maybe-install-html-expect: install-html-expect
28216 install-html-expect: \
28217 configure-expect \
28218 html-expect
28219 @: $(MAKE); $(unstage)
28220 @[ -f ./expect/Makefile ] || exit 0; \
28221 r=`${PWD_COMMAND}`; export r; \
28222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28223 $(HOST_EXPORTS) \
28224 for flag in $(EXTRA_HOST_FLAGS) ; do \
28225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28226 done; \
28227 echo "Doing install-html in expect" ; \
28228 (cd $(HOST_SUBDIR)/expect && \
28229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28231 "RANLIB=$${RANLIB}" \
28232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28233 install-html) \
28234 || exit 1
28236 @endif expect
28238 .PHONY: maybe-installcheck-expect installcheck-expect
28239 maybe-installcheck-expect:
28240 @if expect
28241 maybe-installcheck-expect: installcheck-expect
28243 installcheck-expect: \
28244 configure-expect
28245 @: $(MAKE); $(unstage)
28246 @[ -f ./expect/Makefile ] || exit 0; \
28247 r=`${PWD_COMMAND}`; export r; \
28248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28249 $(HOST_EXPORTS) \
28250 for flag in $(EXTRA_HOST_FLAGS) ; do \
28251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28252 done; \
28253 echo "Doing installcheck in expect" ; \
28254 (cd $(HOST_SUBDIR)/expect && \
28255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28257 "RANLIB=$${RANLIB}" \
28258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28259 installcheck) \
28260 || exit 1
28262 @endif expect
28264 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
28265 maybe-mostlyclean-expect:
28266 @if expect
28267 maybe-mostlyclean-expect: mostlyclean-expect
28269 mostlyclean-expect:
28270 @: $(MAKE); $(unstage)
28271 @[ -f ./expect/Makefile ] || exit 0; \
28272 r=`${PWD_COMMAND}`; export r; \
28273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28274 $(HOST_EXPORTS) \
28275 for flag in $(EXTRA_HOST_FLAGS) ; do \
28276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28277 done; \
28278 echo "Doing mostlyclean in expect" ; \
28279 (cd $(HOST_SUBDIR)/expect && \
28280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28282 "RANLIB=$${RANLIB}" \
28283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28284 mostlyclean) \
28285 || exit 1
28287 @endif expect
28289 .PHONY: maybe-clean-expect clean-expect
28290 maybe-clean-expect:
28291 @if expect
28292 maybe-clean-expect: clean-expect
28294 clean-expect:
28295 @: $(MAKE); $(unstage)
28296 @[ -f ./expect/Makefile ] || exit 0; \
28297 r=`${PWD_COMMAND}`; export r; \
28298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28299 $(HOST_EXPORTS) \
28300 for flag in $(EXTRA_HOST_FLAGS) ; do \
28301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28302 done; \
28303 echo "Doing clean in expect" ; \
28304 (cd $(HOST_SUBDIR)/expect && \
28305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28307 "RANLIB=$${RANLIB}" \
28308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28309 clean) \
28310 || exit 1
28312 @endif expect
28314 .PHONY: maybe-distclean-expect distclean-expect
28315 maybe-distclean-expect:
28316 @if expect
28317 maybe-distclean-expect: distclean-expect
28319 distclean-expect:
28320 @: $(MAKE); $(unstage)
28321 @[ -f ./expect/Makefile ] || exit 0; \
28322 r=`${PWD_COMMAND}`; export r; \
28323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28324 $(HOST_EXPORTS) \
28325 for flag in $(EXTRA_HOST_FLAGS) ; do \
28326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28327 done; \
28328 echo "Doing distclean in expect" ; \
28329 (cd $(HOST_SUBDIR)/expect && \
28330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28332 "RANLIB=$${RANLIB}" \
28333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28334 distclean) \
28335 || exit 1
28337 @endif expect
28339 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
28340 maybe-maintainer-clean-expect:
28341 @if expect
28342 maybe-maintainer-clean-expect: maintainer-clean-expect
28344 maintainer-clean-expect:
28345 @: $(MAKE); $(unstage)
28346 @[ -f ./expect/Makefile ] || exit 0; \
28347 r=`${PWD_COMMAND}`; export r; \
28348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28349 $(HOST_EXPORTS) \
28350 for flag in $(EXTRA_HOST_FLAGS) ; do \
28351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28352 done; \
28353 echo "Doing maintainer-clean in expect" ; \
28354 (cd $(HOST_SUBDIR)/expect && \
28355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28357 "RANLIB=$${RANLIB}" \
28358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28359 maintainer-clean) \
28360 || exit 1
28362 @endif expect
28366 .PHONY: configure-guile maybe-configure-guile
28367 maybe-configure-guile:
28368 @if gcc-bootstrap
28369 configure-guile: stage_current
28370 @endif gcc-bootstrap
28371 @if guile
28372 maybe-configure-guile: configure-guile
28373 configure-guile:
28374 @: $(MAKE); $(unstage)
28375 @r=`${PWD_COMMAND}`; export r; \
28376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28377 test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
28378 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile ; \
28379 $(HOST_EXPORTS) \
28380 echo Configuring in $(HOST_SUBDIR)/guile; \
28381 cd "$(HOST_SUBDIR)/guile" || exit 1; \
28382 case $(srcdir) in \
28383 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28384 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
28385 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28386 esac; \
28387 module_srcdir=guile; \
28388 $(SHELL) \
28389 $$s/$$module_srcdir/configure \
28390 --srcdir=$${topdir}/$$module_srcdir \
28391 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28392 --target=${target_alias} \
28393 || exit 1
28394 @endif guile
28400 .PHONY: all-guile maybe-all-guile
28401 maybe-all-guile:
28402 @if gcc-bootstrap
28403 all-guile: stage_current
28404 @endif gcc-bootstrap
28405 @if guile
28406 TARGET-guile=all
28407 maybe-all-guile: all-guile
28408 all-guile: configure-guile
28409 @: $(MAKE); $(unstage)
28410 @r=`${PWD_COMMAND}`; export r; \
28411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28412 $(HOST_EXPORTS) \
28413 (cd $(HOST_SUBDIR)/guile && \
28414 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
28415 $(TARGET-guile))
28416 @endif guile
28421 .PHONY: check-guile maybe-check-guile
28422 maybe-check-guile:
28423 @if guile
28424 maybe-check-guile: check-guile
28426 check-guile:
28427 @: $(MAKE); $(unstage)
28428 @r=`${PWD_COMMAND}`; export r; \
28429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28430 $(HOST_EXPORTS) \
28431 (cd $(HOST_SUBDIR)/guile && \
28432 $(MAKE) $(FLAGS_TO_PASS) check)
28434 @endif guile
28436 .PHONY: install-guile maybe-install-guile
28437 maybe-install-guile:
28438 @if guile
28439 maybe-install-guile: install-guile
28441 install-guile: installdirs
28442 @: $(MAKE); $(unstage)
28443 @r=`${PWD_COMMAND}`; export r; \
28444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28445 $(HOST_EXPORTS) \
28446 (cd $(HOST_SUBDIR)/guile && \
28447 $(MAKE) $(FLAGS_TO_PASS) install)
28449 @endif guile
28451 .PHONY: install-strip-guile maybe-install-strip-guile
28452 maybe-install-strip-guile:
28453 @if guile
28454 maybe-install-strip-guile: install-strip-guile
28456 install-strip-guile: installdirs
28457 @: $(MAKE); $(unstage)
28458 @r=`${PWD_COMMAND}`; export r; \
28459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28460 $(HOST_EXPORTS) \
28461 (cd $(HOST_SUBDIR)/guile && \
28462 $(MAKE) $(FLAGS_TO_PASS) install-strip)
28464 @endif guile
28466 # Other targets (info, dvi, pdf, etc.)
28468 .PHONY: maybe-info-guile info-guile
28469 maybe-info-guile:
28470 @if guile
28471 maybe-info-guile: info-guile
28473 info-guile: \
28474 configure-guile
28475 @: $(MAKE); $(unstage)
28476 @[ -f ./guile/Makefile ] || exit 0; \
28477 r=`${PWD_COMMAND}`; export r; \
28478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28479 $(HOST_EXPORTS) \
28480 for flag in $(EXTRA_HOST_FLAGS) ; do \
28481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28482 done; \
28483 echo "Doing info in guile" ; \
28484 (cd $(HOST_SUBDIR)/guile && \
28485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28487 "RANLIB=$${RANLIB}" \
28488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28489 info) \
28490 || exit 1
28492 @endif guile
28494 .PHONY: maybe-dvi-guile dvi-guile
28495 maybe-dvi-guile:
28496 @if guile
28497 maybe-dvi-guile: dvi-guile
28499 dvi-guile: \
28500 configure-guile
28501 @: $(MAKE); $(unstage)
28502 @[ -f ./guile/Makefile ] || exit 0; \
28503 r=`${PWD_COMMAND}`; export r; \
28504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28505 $(HOST_EXPORTS) \
28506 for flag in $(EXTRA_HOST_FLAGS) ; do \
28507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28508 done; \
28509 echo "Doing dvi in guile" ; \
28510 (cd $(HOST_SUBDIR)/guile && \
28511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28513 "RANLIB=$${RANLIB}" \
28514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28515 dvi) \
28516 || exit 1
28518 @endif guile
28520 .PHONY: maybe-pdf-guile pdf-guile
28521 maybe-pdf-guile:
28522 @if guile
28523 maybe-pdf-guile: pdf-guile
28525 pdf-guile: \
28526 configure-guile
28527 @: $(MAKE); $(unstage)
28528 @[ -f ./guile/Makefile ] || exit 0; \
28529 r=`${PWD_COMMAND}`; export r; \
28530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28531 $(HOST_EXPORTS) \
28532 for flag in $(EXTRA_HOST_FLAGS) ; do \
28533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28534 done; \
28535 echo "Doing pdf in guile" ; \
28536 (cd $(HOST_SUBDIR)/guile && \
28537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28539 "RANLIB=$${RANLIB}" \
28540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28541 pdf) \
28542 || exit 1
28544 @endif guile
28546 .PHONY: maybe-html-guile html-guile
28547 maybe-html-guile:
28548 @if guile
28549 maybe-html-guile: html-guile
28551 html-guile: \
28552 configure-guile
28553 @: $(MAKE); $(unstage)
28554 @[ -f ./guile/Makefile ] || exit 0; \
28555 r=`${PWD_COMMAND}`; export r; \
28556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28557 $(HOST_EXPORTS) \
28558 for flag in $(EXTRA_HOST_FLAGS) ; do \
28559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28560 done; \
28561 echo "Doing html in guile" ; \
28562 (cd $(HOST_SUBDIR)/guile && \
28563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28565 "RANLIB=$${RANLIB}" \
28566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28567 html) \
28568 || exit 1
28570 @endif guile
28572 .PHONY: maybe-TAGS-guile TAGS-guile
28573 maybe-TAGS-guile:
28574 @if guile
28575 maybe-TAGS-guile: TAGS-guile
28577 TAGS-guile: \
28578 configure-guile
28579 @: $(MAKE); $(unstage)
28580 @[ -f ./guile/Makefile ] || exit 0; \
28581 r=`${PWD_COMMAND}`; export r; \
28582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28583 $(HOST_EXPORTS) \
28584 for flag in $(EXTRA_HOST_FLAGS) ; do \
28585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28586 done; \
28587 echo "Doing TAGS in guile" ; \
28588 (cd $(HOST_SUBDIR)/guile && \
28589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28591 "RANLIB=$${RANLIB}" \
28592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28593 TAGS) \
28594 || exit 1
28596 @endif guile
28598 .PHONY: maybe-install-info-guile install-info-guile
28599 maybe-install-info-guile:
28600 @if guile
28601 maybe-install-info-guile: install-info-guile
28603 install-info-guile: \
28604 configure-guile \
28605 info-guile
28606 @: $(MAKE); $(unstage)
28607 @[ -f ./guile/Makefile ] || exit 0; \
28608 r=`${PWD_COMMAND}`; export r; \
28609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28610 $(HOST_EXPORTS) \
28611 for flag in $(EXTRA_HOST_FLAGS) ; do \
28612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28613 done; \
28614 echo "Doing install-info in guile" ; \
28615 (cd $(HOST_SUBDIR)/guile && \
28616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28618 "RANLIB=$${RANLIB}" \
28619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28620 install-info) \
28621 || exit 1
28623 @endif guile
28625 .PHONY: maybe-install-pdf-guile install-pdf-guile
28626 maybe-install-pdf-guile:
28627 @if guile
28628 maybe-install-pdf-guile: install-pdf-guile
28630 install-pdf-guile: \
28631 configure-guile \
28632 pdf-guile
28633 @: $(MAKE); $(unstage)
28634 @[ -f ./guile/Makefile ] || exit 0; \
28635 r=`${PWD_COMMAND}`; export r; \
28636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28637 $(HOST_EXPORTS) \
28638 for flag in $(EXTRA_HOST_FLAGS) ; do \
28639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28640 done; \
28641 echo "Doing install-pdf in guile" ; \
28642 (cd $(HOST_SUBDIR)/guile && \
28643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28645 "RANLIB=$${RANLIB}" \
28646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28647 install-pdf) \
28648 || exit 1
28650 @endif guile
28652 .PHONY: maybe-install-html-guile install-html-guile
28653 maybe-install-html-guile:
28654 @if guile
28655 maybe-install-html-guile: install-html-guile
28657 install-html-guile: \
28658 configure-guile \
28659 html-guile
28660 @: $(MAKE); $(unstage)
28661 @[ -f ./guile/Makefile ] || exit 0; \
28662 r=`${PWD_COMMAND}`; export r; \
28663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28664 $(HOST_EXPORTS) \
28665 for flag in $(EXTRA_HOST_FLAGS) ; do \
28666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28667 done; \
28668 echo "Doing install-html in guile" ; \
28669 (cd $(HOST_SUBDIR)/guile && \
28670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28672 "RANLIB=$${RANLIB}" \
28673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28674 install-html) \
28675 || exit 1
28677 @endif guile
28679 .PHONY: maybe-installcheck-guile installcheck-guile
28680 maybe-installcheck-guile:
28681 @if guile
28682 maybe-installcheck-guile: installcheck-guile
28684 installcheck-guile: \
28685 configure-guile
28686 @: $(MAKE); $(unstage)
28687 @[ -f ./guile/Makefile ] || exit 0; \
28688 r=`${PWD_COMMAND}`; export r; \
28689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28690 $(HOST_EXPORTS) \
28691 for flag in $(EXTRA_HOST_FLAGS) ; do \
28692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28693 done; \
28694 echo "Doing installcheck in guile" ; \
28695 (cd $(HOST_SUBDIR)/guile && \
28696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28698 "RANLIB=$${RANLIB}" \
28699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28700 installcheck) \
28701 || exit 1
28703 @endif guile
28705 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
28706 maybe-mostlyclean-guile:
28707 @if guile
28708 maybe-mostlyclean-guile: mostlyclean-guile
28710 mostlyclean-guile:
28711 @: $(MAKE); $(unstage)
28712 @[ -f ./guile/Makefile ] || exit 0; \
28713 r=`${PWD_COMMAND}`; export r; \
28714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28715 $(HOST_EXPORTS) \
28716 for flag in $(EXTRA_HOST_FLAGS) ; do \
28717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28718 done; \
28719 echo "Doing mostlyclean in guile" ; \
28720 (cd $(HOST_SUBDIR)/guile && \
28721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28723 "RANLIB=$${RANLIB}" \
28724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28725 mostlyclean) \
28726 || exit 1
28728 @endif guile
28730 .PHONY: maybe-clean-guile clean-guile
28731 maybe-clean-guile:
28732 @if guile
28733 maybe-clean-guile: clean-guile
28735 clean-guile:
28736 @: $(MAKE); $(unstage)
28737 @[ -f ./guile/Makefile ] || exit 0; \
28738 r=`${PWD_COMMAND}`; export r; \
28739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28740 $(HOST_EXPORTS) \
28741 for flag in $(EXTRA_HOST_FLAGS) ; do \
28742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28743 done; \
28744 echo "Doing clean in guile" ; \
28745 (cd $(HOST_SUBDIR)/guile && \
28746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28748 "RANLIB=$${RANLIB}" \
28749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28750 clean) \
28751 || exit 1
28753 @endif guile
28755 .PHONY: maybe-distclean-guile distclean-guile
28756 maybe-distclean-guile:
28757 @if guile
28758 maybe-distclean-guile: distclean-guile
28760 distclean-guile:
28761 @: $(MAKE); $(unstage)
28762 @[ -f ./guile/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 distclean in guile" ; \
28770 (cd $(HOST_SUBDIR)/guile && \
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 distclean) \
28776 || exit 1
28778 @endif guile
28780 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
28781 maybe-maintainer-clean-guile:
28782 @if guile
28783 maybe-maintainer-clean-guile: maintainer-clean-guile
28785 maintainer-clean-guile:
28786 @: $(MAKE); $(unstage)
28787 @[ -f ./guile/Makefile ] || exit 0; \
28788 r=`${PWD_COMMAND}`; export r; \
28789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28790 $(HOST_EXPORTS) \
28791 for flag in $(EXTRA_HOST_FLAGS) ; do \
28792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28793 done; \
28794 echo "Doing maintainer-clean in guile" ; \
28795 (cd $(HOST_SUBDIR)/guile && \
28796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28798 "RANLIB=$${RANLIB}" \
28799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28800 maintainer-clean) \
28801 || exit 1
28803 @endif guile
28807 .PHONY: configure-tk maybe-configure-tk
28808 maybe-configure-tk:
28809 @if gcc-bootstrap
28810 configure-tk: stage_current
28811 @endif gcc-bootstrap
28812 @if tk
28813 maybe-configure-tk: configure-tk
28814 configure-tk:
28815 @: $(MAKE); $(unstage)
28816 @r=`${PWD_COMMAND}`; export r; \
28817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28818 test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
28819 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk ; \
28820 $(HOST_EXPORTS) \
28821 echo Configuring in $(HOST_SUBDIR)/tk; \
28822 cd "$(HOST_SUBDIR)/tk" || exit 1; \
28823 case $(srcdir) in \
28824 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28825 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
28826 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28827 esac; \
28828 module_srcdir=tk; \
28829 $(SHELL) \
28830 $$s/$$module_srcdir/configure \
28831 --srcdir=$${topdir}/$$module_srcdir \
28832 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28833 --target=${target_alias} \
28834 || exit 1
28835 @endif tk
28841 .PHONY: all-tk maybe-all-tk
28842 maybe-all-tk:
28843 @if gcc-bootstrap
28844 all-tk: stage_current
28845 @endif gcc-bootstrap
28846 @if tk
28847 TARGET-tk=all
28848 maybe-all-tk: all-tk
28849 all-tk: configure-tk
28850 @: $(MAKE); $(unstage)
28851 @r=`${PWD_COMMAND}`; export r; \
28852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28853 $(HOST_EXPORTS) \
28854 (cd $(HOST_SUBDIR)/tk && \
28855 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
28856 $(TARGET-tk))
28857 @endif tk
28862 .PHONY: check-tk maybe-check-tk
28863 maybe-check-tk:
28864 @if tk
28865 maybe-check-tk: check-tk
28867 check-tk:
28868 @: $(MAKE); $(unstage)
28869 @r=`${PWD_COMMAND}`; export r; \
28870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28871 $(HOST_EXPORTS) \
28872 (cd $(HOST_SUBDIR)/tk && \
28873 $(MAKE) $(FLAGS_TO_PASS) check)
28875 @endif tk
28877 .PHONY: install-tk maybe-install-tk
28878 maybe-install-tk:
28879 @if tk
28880 maybe-install-tk: install-tk
28882 install-tk: installdirs
28883 @: $(MAKE); $(unstage)
28884 @r=`${PWD_COMMAND}`; export r; \
28885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28886 $(HOST_EXPORTS) \
28887 (cd $(HOST_SUBDIR)/tk && \
28888 $(MAKE) $(FLAGS_TO_PASS) install)
28890 @endif tk
28892 .PHONY: install-strip-tk maybe-install-strip-tk
28893 maybe-install-strip-tk:
28894 @if tk
28895 maybe-install-strip-tk: install-strip-tk
28897 install-strip-tk: installdirs
28898 @: $(MAKE); $(unstage)
28899 @r=`${PWD_COMMAND}`; export r; \
28900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28901 $(HOST_EXPORTS) \
28902 (cd $(HOST_SUBDIR)/tk && \
28903 $(MAKE) $(FLAGS_TO_PASS) install-strip)
28905 @endif tk
28907 # Other targets (info, dvi, pdf, etc.)
28909 .PHONY: maybe-info-tk info-tk
28910 maybe-info-tk:
28911 @if tk
28912 maybe-info-tk: info-tk
28914 info-tk: \
28915 configure-tk
28916 @: $(MAKE); $(unstage)
28917 @[ -f ./tk/Makefile ] || exit 0; \
28918 r=`${PWD_COMMAND}`; export r; \
28919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28920 $(HOST_EXPORTS) \
28921 for flag in $(EXTRA_HOST_FLAGS) ; do \
28922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28923 done; \
28924 echo "Doing info in tk" ; \
28925 (cd $(HOST_SUBDIR)/tk && \
28926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28928 "RANLIB=$${RANLIB}" \
28929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28930 info) \
28931 || exit 1
28933 @endif tk
28935 .PHONY: maybe-dvi-tk dvi-tk
28936 maybe-dvi-tk:
28937 @if tk
28938 maybe-dvi-tk: dvi-tk
28940 dvi-tk: \
28941 configure-tk
28942 @: $(MAKE); $(unstage)
28943 @[ -f ./tk/Makefile ] || exit 0; \
28944 r=`${PWD_COMMAND}`; export r; \
28945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28946 $(HOST_EXPORTS) \
28947 for flag in $(EXTRA_HOST_FLAGS) ; do \
28948 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28949 done; \
28950 echo "Doing dvi in tk" ; \
28951 (cd $(HOST_SUBDIR)/tk && \
28952 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28953 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28954 "RANLIB=$${RANLIB}" \
28955 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28956 dvi) \
28957 || exit 1
28959 @endif tk
28961 .PHONY: maybe-pdf-tk pdf-tk
28962 maybe-pdf-tk:
28963 @if tk
28964 maybe-pdf-tk: pdf-tk
28966 pdf-tk: \
28967 configure-tk
28968 @: $(MAKE); $(unstage)
28969 @[ -f ./tk/Makefile ] || exit 0; \
28970 r=`${PWD_COMMAND}`; export r; \
28971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28972 $(HOST_EXPORTS) \
28973 for flag in $(EXTRA_HOST_FLAGS) ; do \
28974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28975 done; \
28976 echo "Doing pdf in tk" ; \
28977 (cd $(HOST_SUBDIR)/tk && \
28978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28980 "RANLIB=$${RANLIB}" \
28981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28982 pdf) \
28983 || exit 1
28985 @endif tk
28987 .PHONY: maybe-html-tk html-tk
28988 maybe-html-tk:
28989 @if tk
28990 maybe-html-tk: html-tk
28992 html-tk: \
28993 configure-tk
28994 @: $(MAKE); $(unstage)
28995 @[ -f ./tk/Makefile ] || exit 0; \
28996 r=`${PWD_COMMAND}`; export r; \
28997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28998 $(HOST_EXPORTS) \
28999 for flag in $(EXTRA_HOST_FLAGS) ; do \
29000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29001 done; \
29002 echo "Doing html in tk" ; \
29003 (cd $(HOST_SUBDIR)/tk && \
29004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29006 "RANLIB=$${RANLIB}" \
29007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29008 html) \
29009 || exit 1
29011 @endif tk
29013 .PHONY: maybe-TAGS-tk TAGS-tk
29014 maybe-TAGS-tk:
29015 @if tk
29016 maybe-TAGS-tk: TAGS-tk
29018 TAGS-tk: \
29019 configure-tk
29020 @: $(MAKE); $(unstage)
29021 @[ -f ./tk/Makefile ] || exit 0; \
29022 r=`${PWD_COMMAND}`; export r; \
29023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29024 $(HOST_EXPORTS) \
29025 for flag in $(EXTRA_HOST_FLAGS) ; do \
29026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29027 done; \
29028 echo "Doing TAGS in tk" ; \
29029 (cd $(HOST_SUBDIR)/tk && \
29030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29032 "RANLIB=$${RANLIB}" \
29033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29034 TAGS) \
29035 || exit 1
29037 @endif tk
29039 .PHONY: maybe-install-info-tk install-info-tk
29040 maybe-install-info-tk:
29041 @if tk
29042 maybe-install-info-tk: install-info-tk
29044 install-info-tk: \
29045 configure-tk \
29046 info-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 install-info 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 install-info) \
29062 || exit 1
29064 @endif tk
29066 .PHONY: maybe-install-pdf-tk install-pdf-tk
29067 maybe-install-pdf-tk:
29068 @if tk
29069 maybe-install-pdf-tk: install-pdf-tk
29071 install-pdf-tk: \
29072 configure-tk \
29073 pdf-tk
29074 @: $(MAKE); $(unstage)
29075 @[ -f ./tk/Makefile ] || exit 0; \
29076 r=`${PWD_COMMAND}`; export r; \
29077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29078 $(HOST_EXPORTS) \
29079 for flag in $(EXTRA_HOST_FLAGS) ; do \
29080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29081 done; \
29082 echo "Doing install-pdf in tk" ; \
29083 (cd $(HOST_SUBDIR)/tk && \
29084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29086 "RANLIB=$${RANLIB}" \
29087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29088 install-pdf) \
29089 || exit 1
29091 @endif tk
29093 .PHONY: maybe-install-html-tk install-html-tk
29094 maybe-install-html-tk:
29095 @if tk
29096 maybe-install-html-tk: install-html-tk
29098 install-html-tk: \
29099 configure-tk \
29100 html-tk
29101 @: $(MAKE); $(unstage)
29102 @[ -f ./tk/Makefile ] || exit 0; \
29103 r=`${PWD_COMMAND}`; export r; \
29104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29105 $(HOST_EXPORTS) \
29106 for flag in $(EXTRA_HOST_FLAGS) ; do \
29107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29108 done; \
29109 echo "Doing install-html in tk" ; \
29110 (cd $(HOST_SUBDIR)/tk && \
29111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29113 "RANLIB=$${RANLIB}" \
29114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29115 install-html) \
29116 || exit 1
29118 @endif tk
29120 .PHONY: maybe-installcheck-tk installcheck-tk
29121 maybe-installcheck-tk:
29122 @if tk
29123 maybe-installcheck-tk: installcheck-tk
29125 installcheck-tk: \
29126 configure-tk
29127 @: $(MAKE); $(unstage)
29128 @[ -f ./tk/Makefile ] || exit 0; \
29129 r=`${PWD_COMMAND}`; export r; \
29130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29131 $(HOST_EXPORTS) \
29132 for flag in $(EXTRA_HOST_FLAGS) ; do \
29133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29134 done; \
29135 echo "Doing installcheck in tk" ; \
29136 (cd $(HOST_SUBDIR)/tk && \
29137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29139 "RANLIB=$${RANLIB}" \
29140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29141 installcheck) \
29142 || exit 1
29144 @endif tk
29146 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
29147 maybe-mostlyclean-tk:
29148 @if tk
29149 maybe-mostlyclean-tk: mostlyclean-tk
29151 mostlyclean-tk:
29152 @: $(MAKE); $(unstage)
29153 @[ -f ./tk/Makefile ] || exit 0; \
29154 r=`${PWD_COMMAND}`; export r; \
29155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29156 $(HOST_EXPORTS) \
29157 for flag in $(EXTRA_HOST_FLAGS) ; do \
29158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29159 done; \
29160 echo "Doing mostlyclean in tk" ; \
29161 (cd $(HOST_SUBDIR)/tk && \
29162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29164 "RANLIB=$${RANLIB}" \
29165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29166 mostlyclean) \
29167 || exit 1
29169 @endif tk
29171 .PHONY: maybe-clean-tk clean-tk
29172 maybe-clean-tk:
29173 @if tk
29174 maybe-clean-tk: clean-tk
29176 clean-tk:
29177 @: $(MAKE); $(unstage)
29178 @[ -f ./tk/Makefile ] || exit 0; \
29179 r=`${PWD_COMMAND}`; export r; \
29180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29181 $(HOST_EXPORTS) \
29182 for flag in $(EXTRA_HOST_FLAGS) ; do \
29183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29184 done; \
29185 echo "Doing clean in tk" ; \
29186 (cd $(HOST_SUBDIR)/tk && \
29187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29189 "RANLIB=$${RANLIB}" \
29190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29191 clean) \
29192 || exit 1
29194 @endif tk
29196 .PHONY: maybe-distclean-tk distclean-tk
29197 maybe-distclean-tk:
29198 @if tk
29199 maybe-distclean-tk: distclean-tk
29201 distclean-tk:
29202 @: $(MAKE); $(unstage)
29203 @[ -f ./tk/Makefile ] || exit 0; \
29204 r=`${PWD_COMMAND}`; export r; \
29205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29206 $(HOST_EXPORTS) \
29207 for flag in $(EXTRA_HOST_FLAGS) ; do \
29208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29209 done; \
29210 echo "Doing distclean in tk" ; \
29211 (cd $(HOST_SUBDIR)/tk && \
29212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29214 "RANLIB=$${RANLIB}" \
29215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29216 distclean) \
29217 || exit 1
29219 @endif tk
29221 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
29222 maybe-maintainer-clean-tk:
29223 @if tk
29224 maybe-maintainer-clean-tk: maintainer-clean-tk
29226 maintainer-clean-tk:
29227 @: $(MAKE); $(unstage)
29228 @[ -f ./tk/Makefile ] || exit 0; \
29229 r=`${PWD_COMMAND}`; export r; \
29230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29231 $(HOST_EXPORTS) \
29232 for flag in $(EXTRA_HOST_FLAGS) ; do \
29233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29234 done; \
29235 echo "Doing maintainer-clean in tk" ; \
29236 (cd $(HOST_SUBDIR)/tk && \
29237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29239 "RANLIB=$${RANLIB}" \
29240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29241 maintainer-clean) \
29242 || exit 1
29244 @endif tk
29248 .PHONY: configure-libtermcap maybe-configure-libtermcap
29249 maybe-configure-libtermcap:
29250 @if gcc-bootstrap
29251 configure-libtermcap: stage_current
29252 @endif gcc-bootstrap
29253 @if libtermcap
29254 maybe-configure-libtermcap: configure-libtermcap
29255 configure-libtermcap:
29256 @: $(MAKE); $(unstage)
29257 @r=`${PWD_COMMAND}`; export r; \
29258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29259 test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
29260 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap ; \
29261 $(HOST_EXPORTS) \
29262 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
29263 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
29264 case $(srcdir) in \
29265 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29266 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
29267 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29268 esac; \
29269 module_srcdir=libtermcap; \
29270 $(SHELL) \
29271 $$s/$$module_srcdir/configure \
29272 --srcdir=$${topdir}/$$module_srcdir \
29273 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29274 --target=${target_alias} \
29275 || exit 1
29276 @endif libtermcap
29282 .PHONY: all-libtermcap maybe-all-libtermcap
29283 maybe-all-libtermcap:
29284 @if gcc-bootstrap
29285 all-libtermcap: stage_current
29286 @endif gcc-bootstrap
29287 @if libtermcap
29288 TARGET-libtermcap=all
29289 maybe-all-libtermcap: all-libtermcap
29290 all-libtermcap: configure-libtermcap
29291 @: $(MAKE); $(unstage)
29292 @r=`${PWD_COMMAND}`; export r; \
29293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29294 $(HOST_EXPORTS) \
29295 (cd $(HOST_SUBDIR)/libtermcap && \
29296 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
29297 $(TARGET-libtermcap))
29298 @endif libtermcap
29303 .PHONY: check-libtermcap maybe-check-libtermcap
29304 maybe-check-libtermcap:
29305 @if libtermcap
29306 maybe-check-libtermcap: check-libtermcap
29308 check-libtermcap:
29310 @endif libtermcap
29312 .PHONY: install-libtermcap maybe-install-libtermcap
29313 maybe-install-libtermcap:
29314 @if libtermcap
29315 maybe-install-libtermcap: install-libtermcap
29317 install-libtermcap: installdirs
29318 @: $(MAKE); $(unstage)
29319 @r=`${PWD_COMMAND}`; export r; \
29320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29321 $(HOST_EXPORTS) \
29322 (cd $(HOST_SUBDIR)/libtermcap && \
29323 $(MAKE) $(FLAGS_TO_PASS) install)
29325 @endif libtermcap
29327 .PHONY: install-strip-libtermcap maybe-install-strip-libtermcap
29328 maybe-install-strip-libtermcap:
29329 @if libtermcap
29330 maybe-install-strip-libtermcap: install-strip-libtermcap
29332 install-strip-libtermcap: installdirs
29333 @: $(MAKE); $(unstage)
29334 @r=`${PWD_COMMAND}`; export r; \
29335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29336 $(HOST_EXPORTS) \
29337 (cd $(HOST_SUBDIR)/libtermcap && \
29338 $(MAKE) $(FLAGS_TO_PASS) install-strip)
29340 @endif libtermcap
29342 # Other targets (info, dvi, pdf, etc.)
29344 .PHONY: maybe-info-libtermcap info-libtermcap
29345 maybe-info-libtermcap:
29346 @if libtermcap
29347 maybe-info-libtermcap: info-libtermcap
29349 info-libtermcap: \
29350 configure-libtermcap
29351 @: $(MAKE); $(unstage)
29352 @[ -f ./libtermcap/Makefile ] || exit 0; \
29353 r=`${PWD_COMMAND}`; export r; \
29354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29355 $(HOST_EXPORTS) \
29356 for flag in $(EXTRA_HOST_FLAGS) ; do \
29357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29358 done; \
29359 echo "Doing info in libtermcap" ; \
29360 (cd $(HOST_SUBDIR)/libtermcap && \
29361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29363 "RANLIB=$${RANLIB}" \
29364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29365 info) \
29366 || exit 1
29368 @endif libtermcap
29370 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
29371 maybe-dvi-libtermcap:
29372 @if libtermcap
29373 maybe-dvi-libtermcap: dvi-libtermcap
29375 dvi-libtermcap: \
29376 configure-libtermcap
29377 @: $(MAKE); $(unstage)
29378 @[ -f ./libtermcap/Makefile ] || exit 0; \
29379 r=`${PWD_COMMAND}`; export r; \
29380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29381 $(HOST_EXPORTS) \
29382 for flag in $(EXTRA_HOST_FLAGS) ; do \
29383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29384 done; \
29385 echo "Doing dvi in libtermcap" ; \
29386 (cd $(HOST_SUBDIR)/libtermcap && \
29387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29389 "RANLIB=$${RANLIB}" \
29390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29391 dvi) \
29392 || exit 1
29394 @endif libtermcap
29396 .PHONY: maybe-pdf-libtermcap pdf-libtermcap
29397 maybe-pdf-libtermcap:
29398 @if libtermcap
29399 maybe-pdf-libtermcap: pdf-libtermcap
29401 pdf-libtermcap: \
29402 configure-libtermcap
29403 @: $(MAKE); $(unstage)
29404 @[ -f ./libtermcap/Makefile ] || exit 0; \
29405 r=`${PWD_COMMAND}`; export r; \
29406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29407 $(HOST_EXPORTS) \
29408 for flag in $(EXTRA_HOST_FLAGS) ; do \
29409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29410 done; \
29411 echo "Doing pdf in libtermcap" ; \
29412 (cd $(HOST_SUBDIR)/libtermcap && \
29413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29415 "RANLIB=$${RANLIB}" \
29416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29417 pdf) \
29418 || exit 1
29420 @endif libtermcap
29422 .PHONY: maybe-html-libtermcap html-libtermcap
29423 maybe-html-libtermcap:
29424 @if libtermcap
29425 maybe-html-libtermcap: html-libtermcap
29427 html-libtermcap: \
29428 configure-libtermcap
29429 @: $(MAKE); $(unstage)
29430 @[ -f ./libtermcap/Makefile ] || exit 0; \
29431 r=`${PWD_COMMAND}`; export r; \
29432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29433 $(HOST_EXPORTS) \
29434 for flag in $(EXTRA_HOST_FLAGS) ; do \
29435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29436 done; \
29437 echo "Doing html in libtermcap" ; \
29438 (cd $(HOST_SUBDIR)/libtermcap && \
29439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29441 "RANLIB=$${RANLIB}" \
29442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29443 html) \
29444 || exit 1
29446 @endif libtermcap
29448 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
29449 maybe-TAGS-libtermcap:
29450 @if libtermcap
29451 maybe-TAGS-libtermcap: TAGS-libtermcap
29453 TAGS-libtermcap: \
29454 configure-libtermcap
29455 @: $(MAKE); $(unstage)
29456 @[ -f ./libtermcap/Makefile ] || exit 0; \
29457 r=`${PWD_COMMAND}`; export r; \
29458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29459 $(HOST_EXPORTS) \
29460 for flag in $(EXTRA_HOST_FLAGS) ; do \
29461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29462 done; \
29463 echo "Doing TAGS in libtermcap" ; \
29464 (cd $(HOST_SUBDIR)/libtermcap && \
29465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29467 "RANLIB=$${RANLIB}" \
29468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29469 TAGS) \
29470 || exit 1
29472 @endif libtermcap
29474 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
29475 maybe-install-info-libtermcap:
29476 @if libtermcap
29477 maybe-install-info-libtermcap: install-info-libtermcap
29479 install-info-libtermcap: \
29480 configure-libtermcap \
29481 info-libtermcap
29482 @: $(MAKE); $(unstage)
29483 @[ -f ./libtermcap/Makefile ] || exit 0; \
29484 r=`${PWD_COMMAND}`; export r; \
29485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29486 $(HOST_EXPORTS) \
29487 for flag in $(EXTRA_HOST_FLAGS) ; do \
29488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29489 done; \
29490 echo "Doing install-info in libtermcap" ; \
29491 (cd $(HOST_SUBDIR)/libtermcap && \
29492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29494 "RANLIB=$${RANLIB}" \
29495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29496 install-info) \
29497 || exit 1
29499 @endif libtermcap
29501 .PHONY: maybe-install-pdf-libtermcap install-pdf-libtermcap
29502 maybe-install-pdf-libtermcap:
29503 @if libtermcap
29504 maybe-install-pdf-libtermcap: install-pdf-libtermcap
29506 install-pdf-libtermcap: \
29507 configure-libtermcap \
29508 pdf-libtermcap
29509 @: $(MAKE); $(unstage)
29510 @[ -f ./libtermcap/Makefile ] || exit 0; \
29511 r=`${PWD_COMMAND}`; export r; \
29512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29513 $(HOST_EXPORTS) \
29514 for flag in $(EXTRA_HOST_FLAGS) ; do \
29515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29516 done; \
29517 echo "Doing install-pdf in libtermcap" ; \
29518 (cd $(HOST_SUBDIR)/libtermcap && \
29519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29521 "RANLIB=$${RANLIB}" \
29522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29523 install-pdf) \
29524 || exit 1
29526 @endif libtermcap
29528 .PHONY: maybe-install-html-libtermcap install-html-libtermcap
29529 maybe-install-html-libtermcap:
29530 @if libtermcap
29531 maybe-install-html-libtermcap: install-html-libtermcap
29533 install-html-libtermcap: \
29534 configure-libtermcap \
29535 html-libtermcap
29536 @: $(MAKE); $(unstage)
29537 @[ -f ./libtermcap/Makefile ] || exit 0; \
29538 r=`${PWD_COMMAND}`; export r; \
29539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29540 $(HOST_EXPORTS) \
29541 for flag in $(EXTRA_HOST_FLAGS) ; do \
29542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29543 done; \
29544 echo "Doing install-html in libtermcap" ; \
29545 (cd $(HOST_SUBDIR)/libtermcap && \
29546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29548 "RANLIB=$${RANLIB}" \
29549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29550 install-html) \
29551 || exit 1
29553 @endif libtermcap
29555 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
29556 maybe-installcheck-libtermcap:
29557 @if libtermcap
29558 maybe-installcheck-libtermcap: installcheck-libtermcap
29560 installcheck-libtermcap: \
29561 configure-libtermcap
29562 @: $(MAKE); $(unstage)
29563 @[ -f ./libtermcap/Makefile ] || exit 0; \
29564 r=`${PWD_COMMAND}`; export r; \
29565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29566 $(HOST_EXPORTS) \
29567 for flag in $(EXTRA_HOST_FLAGS) ; do \
29568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29569 done; \
29570 echo "Doing installcheck in libtermcap" ; \
29571 (cd $(HOST_SUBDIR)/libtermcap && \
29572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29574 "RANLIB=$${RANLIB}" \
29575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29576 installcheck) \
29577 || exit 1
29579 @endif libtermcap
29581 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
29582 maybe-mostlyclean-libtermcap:
29583 @if libtermcap
29584 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
29586 # libtermcap doesn't support mostlyclean.
29587 mostlyclean-libtermcap:
29589 @endif libtermcap
29591 .PHONY: maybe-clean-libtermcap clean-libtermcap
29592 maybe-clean-libtermcap:
29593 @if libtermcap
29594 maybe-clean-libtermcap: clean-libtermcap
29596 # libtermcap doesn't support clean.
29597 clean-libtermcap:
29599 @endif libtermcap
29601 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
29602 maybe-distclean-libtermcap:
29603 @if libtermcap
29604 maybe-distclean-libtermcap: distclean-libtermcap
29606 # libtermcap doesn't support distclean.
29607 distclean-libtermcap:
29609 @endif libtermcap
29611 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
29612 maybe-maintainer-clean-libtermcap:
29613 @if libtermcap
29614 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
29616 # libtermcap doesn't support maintainer-clean.
29617 maintainer-clean-libtermcap:
29619 @endif libtermcap
29623 .PHONY: configure-utils maybe-configure-utils
29624 maybe-configure-utils:
29625 @if gcc-bootstrap
29626 configure-utils: stage_current
29627 @endif gcc-bootstrap
29628 @if utils
29629 maybe-configure-utils: configure-utils
29630 configure-utils:
29631 @: $(MAKE); $(unstage)
29632 @r=`${PWD_COMMAND}`; export r; \
29633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29634 test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
29635 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils ; \
29636 $(HOST_EXPORTS) \
29637 echo Configuring in $(HOST_SUBDIR)/utils; \
29638 cd "$(HOST_SUBDIR)/utils" || exit 1; \
29639 case $(srcdir) in \
29640 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29641 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
29642 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29643 esac; \
29644 module_srcdir=utils; \
29645 $(SHELL) \
29646 $$s/$$module_srcdir/configure \
29647 --srcdir=$${topdir}/$$module_srcdir \
29648 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29649 --target=${target_alias} \
29650 || exit 1
29651 @endif utils
29657 .PHONY: all-utils maybe-all-utils
29658 maybe-all-utils:
29659 @if gcc-bootstrap
29660 all-utils: stage_current
29661 @endif gcc-bootstrap
29662 @if utils
29663 TARGET-utils=all
29664 maybe-all-utils: all-utils
29665 all-utils: configure-utils
29666 @: $(MAKE); $(unstage)
29667 @r=`${PWD_COMMAND}`; export r; \
29668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29669 $(HOST_EXPORTS) \
29670 (cd $(HOST_SUBDIR)/utils && \
29671 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
29672 $(TARGET-utils))
29673 @endif utils
29678 .PHONY: check-utils maybe-check-utils
29679 maybe-check-utils:
29680 @if utils
29681 maybe-check-utils: check-utils
29683 check-utils:
29685 @endif utils
29687 .PHONY: install-utils maybe-install-utils
29688 maybe-install-utils:
29689 @if utils
29690 maybe-install-utils: install-utils
29692 install-utils: installdirs
29693 @: $(MAKE); $(unstage)
29694 @r=`${PWD_COMMAND}`; export r; \
29695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29696 $(HOST_EXPORTS) \
29697 (cd $(HOST_SUBDIR)/utils && \
29698 $(MAKE) $(FLAGS_TO_PASS) install)
29700 @endif utils
29702 .PHONY: install-strip-utils maybe-install-strip-utils
29703 maybe-install-strip-utils:
29704 @if utils
29705 maybe-install-strip-utils: install-strip-utils
29707 install-strip-utils: installdirs
29708 @: $(MAKE); $(unstage)
29709 @r=`${PWD_COMMAND}`; export r; \
29710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29711 $(HOST_EXPORTS) \
29712 (cd $(HOST_SUBDIR)/utils && \
29713 $(MAKE) $(FLAGS_TO_PASS) install-strip)
29715 @endif utils
29717 # Other targets (info, dvi, pdf, etc.)
29719 .PHONY: maybe-info-utils info-utils
29720 maybe-info-utils:
29721 @if utils
29722 maybe-info-utils: info-utils
29724 info-utils: \
29725 configure-utils
29726 @: $(MAKE); $(unstage)
29727 @[ -f ./utils/Makefile ] || exit 0; \
29728 r=`${PWD_COMMAND}`; export r; \
29729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29730 $(HOST_EXPORTS) \
29731 for flag in $(EXTRA_HOST_FLAGS) ; do \
29732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29733 done; \
29734 echo "Doing info in utils" ; \
29735 (cd $(HOST_SUBDIR)/utils && \
29736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29738 "RANLIB=$${RANLIB}" \
29739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29740 info) \
29741 || exit 1
29743 @endif utils
29745 .PHONY: maybe-dvi-utils dvi-utils
29746 maybe-dvi-utils:
29747 @if utils
29748 maybe-dvi-utils: dvi-utils
29750 dvi-utils: \
29751 configure-utils
29752 @: $(MAKE); $(unstage)
29753 @[ -f ./utils/Makefile ] || exit 0; \
29754 r=`${PWD_COMMAND}`; export r; \
29755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29756 $(HOST_EXPORTS) \
29757 for flag in $(EXTRA_HOST_FLAGS) ; do \
29758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29759 done; \
29760 echo "Doing dvi in utils" ; \
29761 (cd $(HOST_SUBDIR)/utils && \
29762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29764 "RANLIB=$${RANLIB}" \
29765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29766 dvi) \
29767 || exit 1
29769 @endif utils
29771 .PHONY: maybe-pdf-utils pdf-utils
29772 maybe-pdf-utils:
29773 @if utils
29774 maybe-pdf-utils: pdf-utils
29776 pdf-utils: \
29777 configure-utils
29778 @: $(MAKE); $(unstage)
29779 @[ -f ./utils/Makefile ] || exit 0; \
29780 r=`${PWD_COMMAND}`; export r; \
29781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29782 $(HOST_EXPORTS) \
29783 for flag in $(EXTRA_HOST_FLAGS) ; do \
29784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29785 done; \
29786 echo "Doing pdf in utils" ; \
29787 (cd $(HOST_SUBDIR)/utils && \
29788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29790 "RANLIB=$${RANLIB}" \
29791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29792 pdf) \
29793 || exit 1
29795 @endif utils
29797 .PHONY: maybe-html-utils html-utils
29798 maybe-html-utils:
29799 @if utils
29800 maybe-html-utils: html-utils
29802 html-utils: \
29803 configure-utils
29804 @: $(MAKE); $(unstage)
29805 @[ -f ./utils/Makefile ] || exit 0; \
29806 r=`${PWD_COMMAND}`; export r; \
29807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29808 $(HOST_EXPORTS) \
29809 for flag in $(EXTRA_HOST_FLAGS) ; do \
29810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29811 done; \
29812 echo "Doing html in utils" ; \
29813 (cd $(HOST_SUBDIR)/utils && \
29814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29816 "RANLIB=$${RANLIB}" \
29817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29818 html) \
29819 || exit 1
29821 @endif utils
29823 .PHONY: maybe-TAGS-utils TAGS-utils
29824 maybe-TAGS-utils:
29825 @if utils
29826 maybe-TAGS-utils: TAGS-utils
29828 TAGS-utils: \
29829 configure-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 TAGS 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 TAGS) \
29845 || exit 1
29847 @endif utils
29849 .PHONY: maybe-install-info-utils install-info-utils
29850 maybe-install-info-utils:
29851 @if utils
29852 maybe-install-info-utils: install-info-utils
29854 install-info-utils: \
29855 configure-utils \
29856 info-utils
29857 @: $(MAKE); $(unstage)
29858 @[ -f ./utils/Makefile ] || exit 0; \
29859 r=`${PWD_COMMAND}`; export r; \
29860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29861 $(HOST_EXPORTS) \
29862 for flag in $(EXTRA_HOST_FLAGS) ; do \
29863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29864 done; \
29865 echo "Doing install-info in utils" ; \
29866 (cd $(HOST_SUBDIR)/utils && \
29867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29869 "RANLIB=$${RANLIB}" \
29870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29871 install-info) \
29872 || exit 1
29874 @endif utils
29876 .PHONY: maybe-install-pdf-utils install-pdf-utils
29877 maybe-install-pdf-utils:
29878 @if utils
29879 maybe-install-pdf-utils: install-pdf-utils
29881 install-pdf-utils: \
29882 configure-utils \
29883 pdf-utils
29884 @: $(MAKE); $(unstage)
29885 @[ -f ./utils/Makefile ] || exit 0; \
29886 r=`${PWD_COMMAND}`; export r; \
29887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29888 $(HOST_EXPORTS) \
29889 for flag in $(EXTRA_HOST_FLAGS) ; do \
29890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29891 done; \
29892 echo "Doing install-pdf in utils" ; \
29893 (cd $(HOST_SUBDIR)/utils && \
29894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29896 "RANLIB=$${RANLIB}" \
29897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29898 install-pdf) \
29899 || exit 1
29901 @endif utils
29903 .PHONY: maybe-install-html-utils install-html-utils
29904 maybe-install-html-utils:
29905 @if utils
29906 maybe-install-html-utils: install-html-utils
29908 install-html-utils: \
29909 configure-utils \
29910 html-utils
29911 @: $(MAKE); $(unstage)
29912 @[ -f ./utils/Makefile ] || exit 0; \
29913 r=`${PWD_COMMAND}`; export r; \
29914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29915 $(HOST_EXPORTS) \
29916 for flag in $(EXTRA_HOST_FLAGS) ; do \
29917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29918 done; \
29919 echo "Doing install-html in utils" ; \
29920 (cd $(HOST_SUBDIR)/utils && \
29921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29923 "RANLIB=$${RANLIB}" \
29924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29925 install-html) \
29926 || exit 1
29928 @endif utils
29930 .PHONY: maybe-installcheck-utils installcheck-utils
29931 maybe-installcheck-utils:
29932 @if utils
29933 maybe-installcheck-utils: installcheck-utils
29935 installcheck-utils: \
29936 configure-utils
29937 @: $(MAKE); $(unstage)
29938 @[ -f ./utils/Makefile ] || exit 0; \
29939 r=`${PWD_COMMAND}`; export r; \
29940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29941 $(HOST_EXPORTS) \
29942 for flag in $(EXTRA_HOST_FLAGS) ; do \
29943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29944 done; \
29945 echo "Doing installcheck in utils" ; \
29946 (cd $(HOST_SUBDIR)/utils && \
29947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29949 "RANLIB=$${RANLIB}" \
29950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29951 installcheck) \
29952 || exit 1
29954 @endif utils
29956 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
29957 maybe-mostlyclean-utils:
29958 @if utils
29959 maybe-mostlyclean-utils: mostlyclean-utils
29961 mostlyclean-utils:
29962 @: $(MAKE); $(unstage)
29963 @[ -f ./utils/Makefile ] || exit 0; \
29964 r=`${PWD_COMMAND}`; export r; \
29965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29966 $(HOST_EXPORTS) \
29967 for flag in $(EXTRA_HOST_FLAGS) ; do \
29968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29969 done; \
29970 echo "Doing mostlyclean in utils" ; \
29971 (cd $(HOST_SUBDIR)/utils && \
29972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29974 "RANLIB=$${RANLIB}" \
29975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29976 mostlyclean) \
29977 || exit 1
29979 @endif utils
29981 .PHONY: maybe-clean-utils clean-utils
29982 maybe-clean-utils:
29983 @if utils
29984 maybe-clean-utils: clean-utils
29986 clean-utils:
29987 @: $(MAKE); $(unstage)
29988 @[ -f ./utils/Makefile ] || exit 0; \
29989 r=`${PWD_COMMAND}`; export r; \
29990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29991 $(HOST_EXPORTS) \
29992 for flag in $(EXTRA_HOST_FLAGS) ; do \
29993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29994 done; \
29995 echo "Doing clean in utils" ; \
29996 (cd $(HOST_SUBDIR)/utils && \
29997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29999 "RANLIB=$${RANLIB}" \
30000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30001 clean) \
30002 || exit 1
30004 @endif utils
30006 .PHONY: maybe-distclean-utils distclean-utils
30007 maybe-distclean-utils:
30008 @if utils
30009 maybe-distclean-utils: distclean-utils
30011 distclean-utils:
30012 @: $(MAKE); $(unstage)
30013 @[ -f ./utils/Makefile ] || exit 0; \
30014 r=`${PWD_COMMAND}`; export r; \
30015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30016 $(HOST_EXPORTS) \
30017 for flag in $(EXTRA_HOST_FLAGS) ; do \
30018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30019 done; \
30020 echo "Doing distclean in utils" ; \
30021 (cd $(HOST_SUBDIR)/utils && \
30022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30024 "RANLIB=$${RANLIB}" \
30025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30026 distclean) \
30027 || exit 1
30029 @endif utils
30031 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
30032 maybe-maintainer-clean-utils:
30033 @if utils
30034 maybe-maintainer-clean-utils: maintainer-clean-utils
30036 maintainer-clean-utils:
30037 @: $(MAKE); $(unstage)
30038 @[ -f ./utils/Makefile ] || exit 0; \
30039 r=`${PWD_COMMAND}`; export r; \
30040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30041 $(HOST_EXPORTS) \
30042 for flag in $(EXTRA_HOST_FLAGS) ; do \
30043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30044 done; \
30045 echo "Doing maintainer-clean in utils" ; \
30046 (cd $(HOST_SUBDIR)/utils && \
30047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30049 "RANLIB=$${RANLIB}" \
30050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30051 maintainer-clean) \
30052 || exit 1
30054 @endif utils
30058 .PHONY: configure-gnattools maybe-configure-gnattools
30059 maybe-configure-gnattools:
30060 @if gcc-bootstrap
30061 configure-gnattools: stage_current
30062 @endif gcc-bootstrap
30063 @if gnattools
30064 maybe-configure-gnattools: configure-gnattools
30065 configure-gnattools:
30066 @: $(MAKE); $(unstage)
30067 @r=`${PWD_COMMAND}`; export r; \
30068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30069 test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
30070 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools ; \
30071 $(HOST_EXPORTS) \
30072 echo Configuring in $(HOST_SUBDIR)/gnattools; \
30073 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
30074 case $(srcdir) in \
30075 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30076 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
30077 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30078 esac; \
30079 module_srcdir=gnattools; \
30080 $(SHELL) \
30081 $$s/$$module_srcdir/configure \
30082 --srcdir=$${topdir}/$$module_srcdir \
30083 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30084 --target=${target_alias} \
30085 || exit 1
30086 @endif gnattools
30092 .PHONY: all-gnattools maybe-all-gnattools
30093 maybe-all-gnattools:
30094 @if gcc-bootstrap
30095 all-gnattools: stage_current
30096 @endif gcc-bootstrap
30097 @if gnattools
30098 TARGET-gnattools=all
30099 maybe-all-gnattools: all-gnattools
30100 all-gnattools: configure-gnattools
30101 @: $(MAKE); $(unstage)
30102 @r=`${PWD_COMMAND}`; export r; \
30103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30104 $(HOST_EXPORTS) \
30105 (cd $(HOST_SUBDIR)/gnattools && \
30106 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
30107 $(TARGET-gnattools))
30108 @endif gnattools
30113 .PHONY: check-gnattools maybe-check-gnattools
30114 maybe-check-gnattools:
30115 @if gnattools
30116 maybe-check-gnattools: check-gnattools
30118 check-gnattools:
30119 @: $(MAKE); $(unstage)
30120 @r=`${PWD_COMMAND}`; export r; \
30121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30122 $(HOST_EXPORTS) \
30123 (cd $(HOST_SUBDIR)/gnattools && \
30124 $(MAKE) $(FLAGS_TO_PASS) check)
30126 @endif gnattools
30128 .PHONY: install-gnattools maybe-install-gnattools
30129 maybe-install-gnattools:
30130 @if gnattools
30131 maybe-install-gnattools: install-gnattools
30133 install-gnattools: installdirs
30134 @: $(MAKE); $(unstage)
30135 @r=`${PWD_COMMAND}`; export r; \
30136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30137 $(HOST_EXPORTS) \
30138 (cd $(HOST_SUBDIR)/gnattools && \
30139 $(MAKE) $(FLAGS_TO_PASS) install)
30141 @endif gnattools
30143 .PHONY: install-strip-gnattools maybe-install-strip-gnattools
30144 maybe-install-strip-gnattools:
30145 @if gnattools
30146 maybe-install-strip-gnattools: install-strip-gnattools
30148 install-strip-gnattools: installdirs
30149 @: $(MAKE); $(unstage)
30150 @r=`${PWD_COMMAND}`; export r; \
30151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30152 $(HOST_EXPORTS) \
30153 (cd $(HOST_SUBDIR)/gnattools && \
30154 $(MAKE) $(FLAGS_TO_PASS) install-strip)
30156 @endif gnattools
30158 # Other targets (info, dvi, pdf, etc.)
30160 .PHONY: maybe-info-gnattools info-gnattools
30161 maybe-info-gnattools:
30162 @if gnattools
30163 maybe-info-gnattools: info-gnattools
30165 info-gnattools: \
30166 configure-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 info 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 info) \
30182 || exit 1
30184 @endif gnattools
30186 .PHONY: maybe-dvi-gnattools dvi-gnattools
30187 maybe-dvi-gnattools:
30188 @if gnattools
30189 maybe-dvi-gnattools: dvi-gnattools
30191 dvi-gnattools: \
30192 configure-gnattools
30193 @: $(MAKE); $(unstage)
30194 @[ -f ./gnattools/Makefile ] || exit 0; \
30195 r=`${PWD_COMMAND}`; export r; \
30196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30197 $(HOST_EXPORTS) \
30198 for flag in $(EXTRA_HOST_FLAGS) ; do \
30199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30200 done; \
30201 echo "Doing dvi in gnattools" ; \
30202 (cd $(HOST_SUBDIR)/gnattools && \
30203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30205 "RANLIB=$${RANLIB}" \
30206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30207 dvi) \
30208 || exit 1
30210 @endif gnattools
30212 .PHONY: maybe-pdf-gnattools pdf-gnattools
30213 maybe-pdf-gnattools:
30214 @if gnattools
30215 maybe-pdf-gnattools: pdf-gnattools
30217 pdf-gnattools: \
30218 configure-gnattools
30219 @: $(MAKE); $(unstage)
30220 @[ -f ./gnattools/Makefile ] || exit 0; \
30221 r=`${PWD_COMMAND}`; export r; \
30222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30223 $(HOST_EXPORTS) \
30224 for flag in $(EXTRA_HOST_FLAGS) ; do \
30225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30226 done; \
30227 echo "Doing pdf in gnattools" ; \
30228 (cd $(HOST_SUBDIR)/gnattools && \
30229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30231 "RANLIB=$${RANLIB}" \
30232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30233 pdf) \
30234 || exit 1
30236 @endif gnattools
30238 .PHONY: maybe-html-gnattools html-gnattools
30239 maybe-html-gnattools:
30240 @if gnattools
30241 maybe-html-gnattools: html-gnattools
30243 html-gnattools: \
30244 configure-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 html 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 html) \
30260 || exit 1
30262 @endif gnattools
30264 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
30265 maybe-TAGS-gnattools:
30266 @if gnattools
30267 maybe-TAGS-gnattools: TAGS-gnattools
30269 TAGS-gnattools: \
30270 configure-gnattools
30271 @: $(MAKE); $(unstage)
30272 @[ -f ./gnattools/Makefile ] || exit 0; \
30273 r=`${PWD_COMMAND}`; export r; \
30274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30275 $(HOST_EXPORTS) \
30276 for flag in $(EXTRA_HOST_FLAGS) ; do \
30277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30278 done; \
30279 echo "Doing TAGS in gnattools" ; \
30280 (cd $(HOST_SUBDIR)/gnattools && \
30281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30283 "RANLIB=$${RANLIB}" \
30284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30285 TAGS) \
30286 || exit 1
30288 @endif gnattools
30290 .PHONY: maybe-install-info-gnattools install-info-gnattools
30291 maybe-install-info-gnattools:
30292 @if gnattools
30293 maybe-install-info-gnattools: install-info-gnattools
30295 install-info-gnattools: \
30296 configure-gnattools \
30297 info-gnattools
30298 @: $(MAKE); $(unstage)
30299 @[ -f ./gnattools/Makefile ] || exit 0; \
30300 r=`${PWD_COMMAND}`; export r; \
30301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30302 $(HOST_EXPORTS) \
30303 for flag in $(EXTRA_HOST_FLAGS) ; do \
30304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30305 done; \
30306 echo "Doing install-info in gnattools" ; \
30307 (cd $(HOST_SUBDIR)/gnattools && \
30308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30310 "RANLIB=$${RANLIB}" \
30311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30312 install-info) \
30313 || exit 1
30315 @endif gnattools
30317 .PHONY: maybe-install-pdf-gnattools install-pdf-gnattools
30318 maybe-install-pdf-gnattools:
30319 @if gnattools
30320 maybe-install-pdf-gnattools: install-pdf-gnattools
30322 install-pdf-gnattools: \
30323 configure-gnattools \
30324 pdf-gnattools
30325 @: $(MAKE); $(unstage)
30326 @[ -f ./gnattools/Makefile ] || exit 0; \
30327 r=`${PWD_COMMAND}`; export r; \
30328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30329 $(HOST_EXPORTS) \
30330 for flag in $(EXTRA_HOST_FLAGS) ; do \
30331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30332 done; \
30333 echo "Doing install-pdf in gnattools" ; \
30334 (cd $(HOST_SUBDIR)/gnattools && \
30335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30337 "RANLIB=$${RANLIB}" \
30338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30339 install-pdf) \
30340 || exit 1
30342 @endif gnattools
30344 .PHONY: maybe-install-html-gnattools install-html-gnattools
30345 maybe-install-html-gnattools:
30346 @if gnattools
30347 maybe-install-html-gnattools: install-html-gnattools
30349 install-html-gnattools: \
30350 configure-gnattools \
30351 html-gnattools
30352 @: $(MAKE); $(unstage)
30353 @[ -f ./gnattools/Makefile ] || exit 0; \
30354 r=`${PWD_COMMAND}`; export r; \
30355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30356 $(HOST_EXPORTS) \
30357 for flag in $(EXTRA_HOST_FLAGS) ; do \
30358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30359 done; \
30360 echo "Doing install-html in gnattools" ; \
30361 (cd $(HOST_SUBDIR)/gnattools && \
30362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30364 "RANLIB=$${RANLIB}" \
30365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30366 install-html) \
30367 || exit 1
30369 @endif gnattools
30371 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
30372 maybe-installcheck-gnattools:
30373 @if gnattools
30374 maybe-installcheck-gnattools: installcheck-gnattools
30376 installcheck-gnattools: \
30377 configure-gnattools
30378 @: $(MAKE); $(unstage)
30379 @[ -f ./gnattools/Makefile ] || exit 0; \
30380 r=`${PWD_COMMAND}`; export r; \
30381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30382 $(HOST_EXPORTS) \
30383 for flag in $(EXTRA_HOST_FLAGS) ; do \
30384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30385 done; \
30386 echo "Doing installcheck in gnattools" ; \
30387 (cd $(HOST_SUBDIR)/gnattools && \
30388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30390 "RANLIB=$${RANLIB}" \
30391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30392 installcheck) \
30393 || exit 1
30395 @endif gnattools
30397 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
30398 maybe-mostlyclean-gnattools:
30399 @if gnattools
30400 maybe-mostlyclean-gnattools: mostlyclean-gnattools
30402 mostlyclean-gnattools:
30403 @: $(MAKE); $(unstage)
30404 @[ -f ./gnattools/Makefile ] || exit 0; \
30405 r=`${PWD_COMMAND}`; export r; \
30406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30407 $(HOST_EXPORTS) \
30408 for flag in $(EXTRA_HOST_FLAGS) ; do \
30409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30410 done; \
30411 echo "Doing mostlyclean in gnattools" ; \
30412 (cd $(HOST_SUBDIR)/gnattools && \
30413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30415 "RANLIB=$${RANLIB}" \
30416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30417 mostlyclean) \
30418 || exit 1
30420 @endif gnattools
30422 .PHONY: maybe-clean-gnattools clean-gnattools
30423 maybe-clean-gnattools:
30424 @if gnattools
30425 maybe-clean-gnattools: clean-gnattools
30427 clean-gnattools:
30428 @: $(MAKE); $(unstage)
30429 @[ -f ./gnattools/Makefile ] || exit 0; \
30430 r=`${PWD_COMMAND}`; export r; \
30431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30432 $(HOST_EXPORTS) \
30433 for flag in $(EXTRA_HOST_FLAGS) ; do \
30434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30435 done; \
30436 echo "Doing clean in gnattools" ; \
30437 (cd $(HOST_SUBDIR)/gnattools && \
30438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30440 "RANLIB=$${RANLIB}" \
30441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30442 clean) \
30443 || exit 1
30445 @endif gnattools
30447 .PHONY: maybe-distclean-gnattools distclean-gnattools
30448 maybe-distclean-gnattools:
30449 @if gnattools
30450 maybe-distclean-gnattools: distclean-gnattools
30452 distclean-gnattools:
30453 @: $(MAKE); $(unstage)
30454 @[ -f ./gnattools/Makefile ] || exit 0; \
30455 r=`${PWD_COMMAND}`; export r; \
30456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30457 $(HOST_EXPORTS) \
30458 for flag in $(EXTRA_HOST_FLAGS) ; do \
30459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30460 done; \
30461 echo "Doing distclean in gnattools" ; \
30462 (cd $(HOST_SUBDIR)/gnattools && \
30463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30465 "RANLIB=$${RANLIB}" \
30466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30467 distclean) \
30468 || exit 1
30470 @endif gnattools
30472 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
30473 maybe-maintainer-clean-gnattools:
30474 @if gnattools
30475 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
30477 maintainer-clean-gnattools:
30478 @: $(MAKE); $(unstage)
30479 @[ -f ./gnattools/Makefile ] || exit 0; \
30480 r=`${PWD_COMMAND}`; export r; \
30481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30482 $(HOST_EXPORTS) \
30483 for flag in $(EXTRA_HOST_FLAGS) ; do \
30484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30485 done; \
30486 echo "Doing maintainer-clean in gnattools" ; \
30487 (cd $(HOST_SUBDIR)/gnattools && \
30488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30490 "RANLIB=$${RANLIB}" \
30491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30492 maintainer-clean) \
30493 || exit 1
30495 @endif gnattools
30499 .PHONY: configure-lto-plugin maybe-configure-lto-plugin
30500 maybe-configure-lto-plugin:
30501 @if gcc-bootstrap
30502 configure-lto-plugin: stage_current
30503 @endif gcc-bootstrap
30504 @if lto-plugin
30505 maybe-configure-lto-plugin: configure-lto-plugin
30506 configure-lto-plugin:
30507 @r=`${PWD_COMMAND}`; export r; \
30508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30509 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
30510 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
30511 $(HOST_EXPORTS) \
30512 echo Configuring in $(HOST_SUBDIR)/lto-plugin; \
30513 cd "$(HOST_SUBDIR)/lto-plugin" || exit 1; \
30514 case $(srcdir) in \
30515 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30516 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
30517 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30518 esac; \
30519 module_srcdir=lto-plugin; \
30520 $(SHELL) \
30521 $$s/$$module_srcdir/configure \
30522 --srcdir=$${topdir}/$$module_srcdir \
30523 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30524 --target=${target_alias} --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@ \
30525 || exit 1
30526 @endif lto-plugin
30530 .PHONY: configure-stage1-lto-plugin maybe-configure-stage1-lto-plugin
30531 maybe-configure-stage1-lto-plugin:
30532 @if lto-plugin-bootstrap
30533 maybe-configure-stage1-lto-plugin: configure-stage1-lto-plugin
30534 configure-stage1-lto-plugin:
30535 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
30536 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
30537 @r=`${PWD_COMMAND}`; export r; \
30538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30539 TFLAGS="$(STAGE1_TFLAGS)"; \
30540 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
30541 $(HOST_EXPORTS) \
30542 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
30543 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
30544 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
30545 echo Configuring stage 1 in $(HOST_SUBDIR)/lto-plugin ; \
30546 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
30547 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
30548 case $(srcdir) in \
30549 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30550 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
30551 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30552 esac; \
30553 module_srcdir=lto-plugin; \
30554 $(SHELL) $$s/$$module_srcdir/configure \
30555 --srcdir=$${topdir}/$$module_srcdir \
30556 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30557 --target=${target_alias} \
30559 $(STAGE1_CONFIGURE_FLAGS) \
30560 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
30561 @endif lto-plugin-bootstrap
30563 .PHONY: configure-stage2-lto-plugin maybe-configure-stage2-lto-plugin
30564 maybe-configure-stage2-lto-plugin:
30565 @if lto-plugin-bootstrap
30566 maybe-configure-stage2-lto-plugin: configure-stage2-lto-plugin
30567 configure-stage2-lto-plugin:
30568 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
30569 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
30570 @r=`${PWD_COMMAND}`; export r; \
30571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30572 TFLAGS="$(STAGE2_TFLAGS)"; \
30573 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
30574 $(HOST_EXPORTS) \
30575 $(POSTSTAGE1_HOST_EXPORTS) \
30576 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
30577 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
30578 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
30579 echo Configuring stage 2 in $(HOST_SUBDIR)/lto-plugin ; \
30580 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
30581 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
30582 case $(srcdir) in \
30583 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30584 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
30585 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30586 esac; \
30587 module_srcdir=lto-plugin; \
30588 $(SHELL) $$s/$$module_srcdir/configure \
30589 --srcdir=$${topdir}/$$module_srcdir \
30590 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30591 --target=${target_alias} \
30592 --with-build-libsubdir=$(HOST_SUBDIR) \
30593 $(STAGE2_CONFIGURE_FLAGS) \
30594 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
30595 @endif lto-plugin-bootstrap
30597 .PHONY: configure-stage3-lto-plugin maybe-configure-stage3-lto-plugin
30598 maybe-configure-stage3-lto-plugin:
30599 @if lto-plugin-bootstrap
30600 maybe-configure-stage3-lto-plugin: configure-stage3-lto-plugin
30601 configure-stage3-lto-plugin:
30602 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
30603 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
30604 @r=`${PWD_COMMAND}`; export r; \
30605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30606 TFLAGS="$(STAGE3_TFLAGS)"; \
30607 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
30608 $(HOST_EXPORTS) \
30609 $(POSTSTAGE1_HOST_EXPORTS) \
30610 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
30611 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
30612 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
30613 echo Configuring stage 3 in $(HOST_SUBDIR)/lto-plugin ; \
30614 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
30615 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
30616 case $(srcdir) in \
30617 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30618 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
30619 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30620 esac; \
30621 module_srcdir=lto-plugin; \
30622 $(SHELL) $$s/$$module_srcdir/configure \
30623 --srcdir=$${topdir}/$$module_srcdir \
30624 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30625 --target=${target_alias} \
30626 --with-build-libsubdir=$(HOST_SUBDIR) \
30627 $(STAGE3_CONFIGURE_FLAGS) \
30628 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
30629 @endif lto-plugin-bootstrap
30631 .PHONY: configure-stage4-lto-plugin maybe-configure-stage4-lto-plugin
30632 maybe-configure-stage4-lto-plugin:
30633 @if lto-plugin-bootstrap
30634 maybe-configure-stage4-lto-plugin: configure-stage4-lto-plugin
30635 configure-stage4-lto-plugin:
30636 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
30637 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
30638 @r=`${PWD_COMMAND}`; export r; \
30639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30640 TFLAGS="$(STAGE4_TFLAGS)"; \
30641 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
30642 $(HOST_EXPORTS) \
30643 $(POSTSTAGE1_HOST_EXPORTS) \
30644 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
30645 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
30646 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
30647 echo Configuring stage 4 in $(HOST_SUBDIR)/lto-plugin ; \
30648 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
30649 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
30650 case $(srcdir) in \
30651 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30652 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
30653 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30654 esac; \
30655 module_srcdir=lto-plugin; \
30656 $(SHELL) $$s/$$module_srcdir/configure \
30657 --srcdir=$${topdir}/$$module_srcdir \
30658 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30659 --target=${target_alias} \
30660 --with-build-libsubdir=$(HOST_SUBDIR) \
30661 $(STAGE4_CONFIGURE_FLAGS) \
30662 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
30663 @endif lto-plugin-bootstrap
30665 .PHONY: configure-stageprofile-lto-plugin maybe-configure-stageprofile-lto-plugin
30666 maybe-configure-stageprofile-lto-plugin:
30667 @if lto-plugin-bootstrap
30668 maybe-configure-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
30669 configure-stageprofile-lto-plugin:
30670 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
30671 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
30672 @r=`${PWD_COMMAND}`; export r; \
30673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30674 TFLAGS="$(STAGEprofile_TFLAGS)"; \
30675 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
30676 $(HOST_EXPORTS) \
30677 $(POSTSTAGE1_HOST_EXPORTS) \
30678 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
30679 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
30680 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
30681 echo Configuring stage profile in $(HOST_SUBDIR)/lto-plugin ; \
30682 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
30683 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
30684 case $(srcdir) in \
30685 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30686 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
30687 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30688 esac; \
30689 module_srcdir=lto-plugin; \
30690 $(SHELL) $$s/$$module_srcdir/configure \
30691 --srcdir=$${topdir}/$$module_srcdir \
30692 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30693 --target=${target_alias} \
30694 --with-build-libsubdir=$(HOST_SUBDIR) \
30695 $(STAGEprofile_CONFIGURE_FLAGS) \
30696 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
30697 @endif lto-plugin-bootstrap
30699 .PHONY: configure-stagefeedback-lto-plugin maybe-configure-stagefeedback-lto-plugin
30700 maybe-configure-stagefeedback-lto-plugin:
30701 @if lto-plugin-bootstrap
30702 maybe-configure-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
30703 configure-stagefeedback-lto-plugin:
30704 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
30705 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
30706 @r=`${PWD_COMMAND}`; export r; \
30707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30708 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
30709 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
30710 $(HOST_EXPORTS) \
30711 $(POSTSTAGE1_HOST_EXPORTS) \
30712 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
30713 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
30714 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
30715 echo Configuring stage feedback in $(HOST_SUBDIR)/lto-plugin ; \
30716 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
30717 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
30718 case $(srcdir) in \
30719 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30720 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
30721 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30722 esac; \
30723 module_srcdir=lto-plugin; \
30724 $(SHELL) $$s/$$module_srcdir/configure \
30725 --srcdir=$${topdir}/$$module_srcdir \
30726 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30727 --target=${target_alias} \
30728 --with-build-libsubdir=$(HOST_SUBDIR) \
30729 $(STAGEfeedback_CONFIGURE_FLAGS) \
30730 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
30731 @endif lto-plugin-bootstrap
30737 .PHONY: all-lto-plugin maybe-all-lto-plugin
30738 maybe-all-lto-plugin:
30739 @if gcc-bootstrap
30740 all-lto-plugin: stage_current
30741 @endif gcc-bootstrap
30742 @if lto-plugin
30743 TARGET-lto-plugin=all
30744 maybe-all-lto-plugin: all-lto-plugin
30745 all-lto-plugin: configure-lto-plugin
30746 @r=`${PWD_COMMAND}`; export r; \
30747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30748 $(HOST_EXPORTS) \
30749 (cd $(HOST_SUBDIR)/lto-plugin && \
30750 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
30751 $(TARGET-lto-plugin))
30752 @endif lto-plugin
30756 .PHONY: all-stage1-lto-plugin maybe-all-stage1-lto-plugin
30757 .PHONY: clean-stage1-lto-plugin maybe-clean-stage1-lto-plugin
30758 maybe-all-stage1-lto-plugin:
30759 maybe-clean-stage1-lto-plugin:
30760 @if lto-plugin-bootstrap
30761 maybe-all-stage1-lto-plugin: all-stage1-lto-plugin
30762 all-stage1: all-stage1-lto-plugin
30763 TARGET-stage1-lto-plugin = $(TARGET-lto-plugin)
30764 all-stage1-lto-plugin: configure-stage1-lto-plugin
30765 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
30766 @r=`${PWD_COMMAND}`; export r; \
30767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30768 TFLAGS="$(STAGE1_TFLAGS)"; \
30769 $(HOST_EXPORTS) \
30770 cd $(HOST_SUBDIR)/lto-plugin && \
30771 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30772 CFLAGS="$(STAGE1_CFLAGS)" \
30773 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
30774 LIBCFLAGS="$(LIBCFLAGS)" \
30775 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30776 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30777 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30778 $(EXTRA_HOST_FLAGS) \
30779 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
30780 TFLAGS="$(STAGE1_TFLAGS)" \
30781 $(TARGET-stage1-lto-plugin)
30783 maybe-clean-stage1-lto-plugin: clean-stage1-lto-plugin
30784 clean-stage1: clean-stage1-lto-plugin
30785 clean-stage1-lto-plugin:
30786 @if [ $(current_stage) = stage1 ]; then \
30787 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
30788 else \
30789 [ -f $(HOST_SUBDIR)/stage1-lto-plugin/Makefile ] || exit 0; \
30790 $(MAKE) stage1-start; \
30791 fi; \
30792 cd $(HOST_SUBDIR)/lto-plugin && \
30793 $(MAKE) $(EXTRA_HOST_FLAGS) \
30794 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
30795 @endif lto-plugin-bootstrap
30798 .PHONY: all-stage2-lto-plugin maybe-all-stage2-lto-plugin
30799 .PHONY: clean-stage2-lto-plugin maybe-clean-stage2-lto-plugin
30800 maybe-all-stage2-lto-plugin:
30801 maybe-clean-stage2-lto-plugin:
30802 @if lto-plugin-bootstrap
30803 maybe-all-stage2-lto-plugin: all-stage2-lto-plugin
30804 all-stage2: all-stage2-lto-plugin
30805 TARGET-stage2-lto-plugin = $(TARGET-lto-plugin)
30806 all-stage2-lto-plugin: configure-stage2-lto-plugin
30807 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
30808 @r=`${PWD_COMMAND}`; export r; \
30809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30810 TFLAGS="$(STAGE2_TFLAGS)"; \
30811 $(HOST_EXPORTS) \
30812 $(POSTSTAGE1_HOST_EXPORTS) \
30813 cd $(HOST_SUBDIR)/lto-plugin && \
30814 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30815 CFLAGS="$(STAGE2_CFLAGS)" \
30816 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
30817 LIBCFLAGS="$(STAGE2_CFLAGS)" \
30818 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30819 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30820 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30821 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
30822 TFLAGS="$(STAGE2_TFLAGS)" \
30823 $(TARGET-stage2-lto-plugin)
30825 maybe-clean-stage2-lto-plugin: clean-stage2-lto-plugin
30826 clean-stage2: clean-stage2-lto-plugin
30827 clean-stage2-lto-plugin:
30828 @if [ $(current_stage) = stage2 ]; then \
30829 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
30830 else \
30831 [ -f $(HOST_SUBDIR)/stage2-lto-plugin/Makefile ] || exit 0; \
30832 $(MAKE) stage2-start; \
30833 fi; \
30834 cd $(HOST_SUBDIR)/lto-plugin && \
30835 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
30836 @endif lto-plugin-bootstrap
30839 .PHONY: all-stage3-lto-plugin maybe-all-stage3-lto-plugin
30840 .PHONY: clean-stage3-lto-plugin maybe-clean-stage3-lto-plugin
30841 maybe-all-stage3-lto-plugin:
30842 maybe-clean-stage3-lto-plugin:
30843 @if lto-plugin-bootstrap
30844 maybe-all-stage3-lto-plugin: all-stage3-lto-plugin
30845 all-stage3: all-stage3-lto-plugin
30846 TARGET-stage3-lto-plugin = $(TARGET-lto-plugin)
30847 all-stage3-lto-plugin: configure-stage3-lto-plugin
30848 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
30849 @r=`${PWD_COMMAND}`; export r; \
30850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30851 TFLAGS="$(STAGE3_TFLAGS)"; \
30852 $(HOST_EXPORTS) \
30853 $(POSTSTAGE1_HOST_EXPORTS) \
30854 cd $(HOST_SUBDIR)/lto-plugin && \
30855 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30856 CFLAGS="$(STAGE3_CFLAGS)" \
30857 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
30858 LIBCFLAGS="$(STAGE3_CFLAGS)" \
30859 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30860 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30861 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30862 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
30863 TFLAGS="$(STAGE3_TFLAGS)" \
30864 $(TARGET-stage3-lto-plugin)
30866 maybe-clean-stage3-lto-plugin: clean-stage3-lto-plugin
30867 clean-stage3: clean-stage3-lto-plugin
30868 clean-stage3-lto-plugin:
30869 @if [ $(current_stage) = stage3 ]; then \
30870 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
30871 else \
30872 [ -f $(HOST_SUBDIR)/stage3-lto-plugin/Makefile ] || exit 0; \
30873 $(MAKE) stage3-start; \
30874 fi; \
30875 cd $(HOST_SUBDIR)/lto-plugin && \
30876 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
30877 @endif lto-plugin-bootstrap
30880 .PHONY: all-stage4-lto-plugin maybe-all-stage4-lto-plugin
30881 .PHONY: clean-stage4-lto-plugin maybe-clean-stage4-lto-plugin
30882 maybe-all-stage4-lto-plugin:
30883 maybe-clean-stage4-lto-plugin:
30884 @if lto-plugin-bootstrap
30885 maybe-all-stage4-lto-plugin: all-stage4-lto-plugin
30886 all-stage4: all-stage4-lto-plugin
30887 TARGET-stage4-lto-plugin = $(TARGET-lto-plugin)
30888 all-stage4-lto-plugin: configure-stage4-lto-plugin
30889 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
30890 @r=`${PWD_COMMAND}`; export r; \
30891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30892 TFLAGS="$(STAGE4_TFLAGS)"; \
30893 $(HOST_EXPORTS) \
30894 $(POSTSTAGE1_HOST_EXPORTS) \
30895 cd $(HOST_SUBDIR)/lto-plugin && \
30896 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30897 CFLAGS="$(STAGE4_CFLAGS)" \
30898 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
30899 LIBCFLAGS="$(STAGE4_CFLAGS)" \
30900 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30901 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30902 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30903 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
30904 TFLAGS="$(STAGE4_TFLAGS)" \
30905 $(TARGET-stage4-lto-plugin)
30907 maybe-clean-stage4-lto-plugin: clean-stage4-lto-plugin
30908 clean-stage4: clean-stage4-lto-plugin
30909 clean-stage4-lto-plugin:
30910 @if [ $(current_stage) = stage4 ]; then \
30911 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
30912 else \
30913 [ -f $(HOST_SUBDIR)/stage4-lto-plugin/Makefile ] || exit 0; \
30914 $(MAKE) stage4-start; \
30915 fi; \
30916 cd $(HOST_SUBDIR)/lto-plugin && \
30917 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
30918 @endif lto-plugin-bootstrap
30921 .PHONY: all-stageprofile-lto-plugin maybe-all-stageprofile-lto-plugin
30922 .PHONY: clean-stageprofile-lto-plugin maybe-clean-stageprofile-lto-plugin
30923 maybe-all-stageprofile-lto-plugin:
30924 maybe-clean-stageprofile-lto-plugin:
30925 @if lto-plugin-bootstrap
30926 maybe-all-stageprofile-lto-plugin: all-stageprofile-lto-plugin
30927 all-stageprofile: all-stageprofile-lto-plugin
30928 TARGET-stageprofile-lto-plugin = $(TARGET-lto-plugin)
30929 all-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
30930 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
30931 @r=`${PWD_COMMAND}`; export r; \
30932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30933 TFLAGS="$(STAGEprofile_TFLAGS)"; \
30934 $(HOST_EXPORTS) \
30935 $(POSTSTAGE1_HOST_EXPORTS) \
30936 cd $(HOST_SUBDIR)/lto-plugin && \
30937 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30938 CFLAGS="$(STAGEprofile_CFLAGS)" \
30939 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
30940 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
30941 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30942 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30943 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30944 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
30945 TFLAGS="$(STAGEprofile_TFLAGS)" \
30946 $(TARGET-stageprofile-lto-plugin)
30948 maybe-clean-stageprofile-lto-plugin: clean-stageprofile-lto-plugin
30949 clean-stageprofile: clean-stageprofile-lto-plugin
30950 clean-stageprofile-lto-plugin:
30951 @if [ $(current_stage) = stageprofile ]; then \
30952 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
30953 else \
30954 [ -f $(HOST_SUBDIR)/stageprofile-lto-plugin/Makefile ] || exit 0; \
30955 $(MAKE) stageprofile-start; \
30956 fi; \
30957 cd $(HOST_SUBDIR)/lto-plugin && \
30958 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
30959 @endif lto-plugin-bootstrap
30962 .PHONY: all-stagefeedback-lto-plugin maybe-all-stagefeedback-lto-plugin
30963 .PHONY: clean-stagefeedback-lto-plugin maybe-clean-stagefeedback-lto-plugin
30964 maybe-all-stagefeedback-lto-plugin:
30965 maybe-clean-stagefeedback-lto-plugin:
30966 @if lto-plugin-bootstrap
30967 maybe-all-stagefeedback-lto-plugin: all-stagefeedback-lto-plugin
30968 all-stagefeedback: all-stagefeedback-lto-plugin
30969 TARGET-stagefeedback-lto-plugin = $(TARGET-lto-plugin)
30970 all-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
30971 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
30972 @r=`${PWD_COMMAND}`; export r; \
30973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30974 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
30975 $(HOST_EXPORTS) \
30976 $(POSTSTAGE1_HOST_EXPORTS) \
30977 cd $(HOST_SUBDIR)/lto-plugin && \
30978 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30979 CFLAGS="$(STAGEfeedback_CFLAGS)" \
30980 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
30981 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
30982 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30983 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30984 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30985 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
30986 TFLAGS="$(STAGEfeedback_TFLAGS)" \
30987 $(TARGET-stagefeedback-lto-plugin)
30989 maybe-clean-stagefeedback-lto-plugin: clean-stagefeedback-lto-plugin
30990 clean-stagefeedback: clean-stagefeedback-lto-plugin
30991 clean-stagefeedback-lto-plugin:
30992 @if [ $(current_stage) = stagefeedback ]; then \
30993 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
30994 else \
30995 [ -f $(HOST_SUBDIR)/stagefeedback-lto-plugin/Makefile ] || exit 0; \
30996 $(MAKE) stagefeedback-start; \
30997 fi; \
30998 cd $(HOST_SUBDIR)/lto-plugin && \
30999 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
31000 @endif lto-plugin-bootstrap
31006 .PHONY: check-lto-plugin maybe-check-lto-plugin
31007 maybe-check-lto-plugin:
31008 @if lto-plugin
31009 maybe-check-lto-plugin: check-lto-plugin
31011 check-lto-plugin:
31012 @: $(MAKE); $(unstage)
31013 @r=`${PWD_COMMAND}`; export r; \
31014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31015 $(HOST_EXPORTS) \
31016 (cd $(HOST_SUBDIR)/lto-plugin && \
31017 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ check)
31019 @endif lto-plugin
31021 .PHONY: install-lto-plugin maybe-install-lto-plugin
31022 maybe-install-lto-plugin:
31023 @if lto-plugin
31024 maybe-install-lto-plugin: install-lto-plugin
31026 install-lto-plugin: installdirs
31027 @: $(MAKE); $(unstage)
31028 @r=`${PWD_COMMAND}`; export r; \
31029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31030 $(HOST_EXPORTS) \
31031 (cd $(HOST_SUBDIR)/lto-plugin && \
31032 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install)
31034 @endif lto-plugin
31036 .PHONY: install-strip-lto-plugin maybe-install-strip-lto-plugin
31037 maybe-install-strip-lto-plugin:
31038 @if lto-plugin
31039 maybe-install-strip-lto-plugin: install-strip-lto-plugin
31041 install-strip-lto-plugin: installdirs
31042 @: $(MAKE); $(unstage)
31043 @r=`${PWD_COMMAND}`; export r; \
31044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31045 $(HOST_EXPORTS) \
31046 (cd $(HOST_SUBDIR)/lto-plugin && \
31047 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install-strip)
31049 @endif lto-plugin
31051 # Other targets (info, dvi, pdf, etc.)
31053 .PHONY: maybe-info-lto-plugin info-lto-plugin
31054 maybe-info-lto-plugin:
31055 @if lto-plugin
31056 maybe-info-lto-plugin: info-lto-plugin
31058 info-lto-plugin: \
31059 configure-lto-plugin
31060 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31061 r=`${PWD_COMMAND}`; export r; \
31062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31063 $(HOST_EXPORTS) \
31064 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31066 done; \
31067 echo "Doing info in lto-plugin" ; \
31068 (cd $(HOST_SUBDIR)/lto-plugin && \
31069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31071 "RANLIB=$${RANLIB}" \
31072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31073 info) \
31074 || exit 1
31076 @endif lto-plugin
31078 .PHONY: maybe-dvi-lto-plugin dvi-lto-plugin
31079 maybe-dvi-lto-plugin:
31080 @if lto-plugin
31081 maybe-dvi-lto-plugin: dvi-lto-plugin
31083 dvi-lto-plugin: \
31084 configure-lto-plugin
31085 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31086 r=`${PWD_COMMAND}`; export r; \
31087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31088 $(HOST_EXPORTS) \
31089 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31091 done; \
31092 echo "Doing dvi in lto-plugin" ; \
31093 (cd $(HOST_SUBDIR)/lto-plugin && \
31094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31096 "RANLIB=$${RANLIB}" \
31097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31098 dvi) \
31099 || exit 1
31101 @endif lto-plugin
31103 .PHONY: maybe-pdf-lto-plugin pdf-lto-plugin
31104 maybe-pdf-lto-plugin:
31105 @if lto-plugin
31106 maybe-pdf-lto-plugin: pdf-lto-plugin
31108 pdf-lto-plugin: \
31109 configure-lto-plugin
31110 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31111 r=`${PWD_COMMAND}`; export r; \
31112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31113 $(HOST_EXPORTS) \
31114 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31116 done; \
31117 echo "Doing pdf in lto-plugin" ; \
31118 (cd $(HOST_SUBDIR)/lto-plugin && \
31119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31121 "RANLIB=$${RANLIB}" \
31122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31123 pdf) \
31124 || exit 1
31126 @endif lto-plugin
31128 .PHONY: maybe-html-lto-plugin html-lto-plugin
31129 maybe-html-lto-plugin:
31130 @if lto-plugin
31131 maybe-html-lto-plugin: html-lto-plugin
31133 html-lto-plugin: \
31134 configure-lto-plugin
31135 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31136 r=`${PWD_COMMAND}`; export r; \
31137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31138 $(HOST_EXPORTS) \
31139 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31141 done; \
31142 echo "Doing html in lto-plugin" ; \
31143 (cd $(HOST_SUBDIR)/lto-plugin && \
31144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31146 "RANLIB=$${RANLIB}" \
31147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31148 html) \
31149 || exit 1
31151 @endif lto-plugin
31153 .PHONY: maybe-TAGS-lto-plugin TAGS-lto-plugin
31154 maybe-TAGS-lto-plugin:
31155 @if lto-plugin
31156 maybe-TAGS-lto-plugin: TAGS-lto-plugin
31158 TAGS-lto-plugin: \
31159 configure-lto-plugin
31160 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31161 r=`${PWD_COMMAND}`; export r; \
31162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31163 $(HOST_EXPORTS) \
31164 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31166 done; \
31167 echo "Doing TAGS in lto-plugin" ; \
31168 (cd $(HOST_SUBDIR)/lto-plugin && \
31169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31171 "RANLIB=$${RANLIB}" \
31172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31173 TAGS) \
31174 || exit 1
31176 @endif lto-plugin
31178 .PHONY: maybe-install-info-lto-plugin install-info-lto-plugin
31179 maybe-install-info-lto-plugin:
31180 @if lto-plugin
31181 maybe-install-info-lto-plugin: install-info-lto-plugin
31183 install-info-lto-plugin: \
31184 configure-lto-plugin \
31185 info-lto-plugin
31186 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31187 r=`${PWD_COMMAND}`; export r; \
31188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31189 $(HOST_EXPORTS) \
31190 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31192 done; \
31193 echo "Doing install-info in lto-plugin" ; \
31194 (cd $(HOST_SUBDIR)/lto-plugin && \
31195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31197 "RANLIB=$${RANLIB}" \
31198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31199 install-info) \
31200 || exit 1
31202 @endif lto-plugin
31204 .PHONY: maybe-install-pdf-lto-plugin install-pdf-lto-plugin
31205 maybe-install-pdf-lto-plugin:
31206 @if lto-plugin
31207 maybe-install-pdf-lto-plugin: install-pdf-lto-plugin
31209 install-pdf-lto-plugin: \
31210 configure-lto-plugin \
31211 pdf-lto-plugin
31212 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31213 r=`${PWD_COMMAND}`; export r; \
31214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31215 $(HOST_EXPORTS) \
31216 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31218 done; \
31219 echo "Doing install-pdf in lto-plugin" ; \
31220 (cd $(HOST_SUBDIR)/lto-plugin && \
31221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31223 "RANLIB=$${RANLIB}" \
31224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31225 install-pdf) \
31226 || exit 1
31228 @endif lto-plugin
31230 .PHONY: maybe-install-html-lto-plugin install-html-lto-plugin
31231 maybe-install-html-lto-plugin:
31232 @if lto-plugin
31233 maybe-install-html-lto-plugin: install-html-lto-plugin
31235 install-html-lto-plugin: \
31236 configure-lto-plugin \
31237 html-lto-plugin
31238 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31239 r=`${PWD_COMMAND}`; export r; \
31240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31241 $(HOST_EXPORTS) \
31242 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31244 done; \
31245 echo "Doing install-html in lto-plugin" ; \
31246 (cd $(HOST_SUBDIR)/lto-plugin && \
31247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31249 "RANLIB=$${RANLIB}" \
31250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31251 install-html) \
31252 || exit 1
31254 @endif lto-plugin
31256 .PHONY: maybe-installcheck-lto-plugin installcheck-lto-plugin
31257 maybe-installcheck-lto-plugin:
31258 @if lto-plugin
31259 maybe-installcheck-lto-plugin: installcheck-lto-plugin
31261 installcheck-lto-plugin: \
31262 configure-lto-plugin
31263 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31264 r=`${PWD_COMMAND}`; export r; \
31265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31266 $(HOST_EXPORTS) \
31267 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31268 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31269 done; \
31270 echo "Doing installcheck in lto-plugin" ; \
31271 (cd $(HOST_SUBDIR)/lto-plugin && \
31272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31274 "RANLIB=$${RANLIB}" \
31275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31276 installcheck) \
31277 || exit 1
31279 @endif lto-plugin
31281 .PHONY: maybe-mostlyclean-lto-plugin mostlyclean-lto-plugin
31282 maybe-mostlyclean-lto-plugin:
31283 @if lto-plugin
31284 maybe-mostlyclean-lto-plugin: mostlyclean-lto-plugin
31286 mostlyclean-lto-plugin:
31287 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31288 r=`${PWD_COMMAND}`; export r; \
31289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31290 $(HOST_EXPORTS) \
31291 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31293 done; \
31294 echo "Doing mostlyclean in lto-plugin" ; \
31295 (cd $(HOST_SUBDIR)/lto-plugin && \
31296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31298 "RANLIB=$${RANLIB}" \
31299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31300 mostlyclean) \
31301 || exit 1
31303 @endif lto-plugin
31305 .PHONY: maybe-clean-lto-plugin clean-lto-plugin
31306 maybe-clean-lto-plugin:
31307 @if lto-plugin
31308 maybe-clean-lto-plugin: clean-lto-plugin
31310 clean-lto-plugin:
31311 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31312 r=`${PWD_COMMAND}`; export r; \
31313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31314 $(HOST_EXPORTS) \
31315 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31317 done; \
31318 echo "Doing clean in lto-plugin" ; \
31319 (cd $(HOST_SUBDIR)/lto-plugin && \
31320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31322 "RANLIB=$${RANLIB}" \
31323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31324 clean) \
31325 || exit 1
31327 @endif lto-plugin
31329 .PHONY: maybe-distclean-lto-plugin distclean-lto-plugin
31330 maybe-distclean-lto-plugin:
31331 @if lto-plugin
31332 maybe-distclean-lto-plugin: distclean-lto-plugin
31334 distclean-lto-plugin:
31335 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31336 r=`${PWD_COMMAND}`; export r; \
31337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31338 $(HOST_EXPORTS) \
31339 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31341 done; \
31342 echo "Doing distclean in lto-plugin" ; \
31343 (cd $(HOST_SUBDIR)/lto-plugin && \
31344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31346 "RANLIB=$${RANLIB}" \
31347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31348 distclean) \
31349 || exit 1
31351 @endif lto-plugin
31353 .PHONY: maybe-maintainer-clean-lto-plugin maintainer-clean-lto-plugin
31354 maybe-maintainer-clean-lto-plugin:
31355 @if lto-plugin
31356 maybe-maintainer-clean-lto-plugin: maintainer-clean-lto-plugin
31358 maintainer-clean-lto-plugin:
31359 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31360 r=`${PWD_COMMAND}`; export r; \
31361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31362 $(HOST_EXPORTS) \
31363 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31365 done; \
31366 echo "Doing maintainer-clean in lto-plugin" ; \
31367 (cd $(HOST_SUBDIR)/lto-plugin && \
31368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31370 "RANLIB=$${RANLIB}" \
31371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31372 maintainer-clean) \
31373 || exit 1
31375 @endif lto-plugin
31379 .PHONY: configure-libcc1 maybe-configure-libcc1
31380 maybe-configure-libcc1:
31381 @if gcc-bootstrap
31382 configure-libcc1: stage_current
31383 @endif gcc-bootstrap
31384 @if libcc1
31385 maybe-configure-libcc1: configure-libcc1
31386 configure-libcc1:
31387 @: $(MAKE); $(unstage)
31388 @r=`${PWD_COMMAND}`; export r; \
31389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31390 test ! -f $(HOST_SUBDIR)/libcc1/Makefile || exit 0; \
31391 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcc1 ; \
31392 $(HOST_EXPORTS) \
31393 echo Configuring in $(HOST_SUBDIR)/libcc1; \
31394 cd "$(HOST_SUBDIR)/libcc1" || exit 1; \
31395 case $(srcdir) in \
31396 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31397 *) topdir=`echo $(HOST_SUBDIR)/libcc1/ | \
31398 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31399 esac; \
31400 module_srcdir=libcc1; \
31401 $(SHELL) \
31402 $$s/$$module_srcdir/configure \
31403 --srcdir=$${topdir}/$$module_srcdir \
31404 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31405 --target=${target_alias} --enable-shared \
31406 || exit 1
31407 @endif libcc1
31413 .PHONY: all-libcc1 maybe-all-libcc1
31414 maybe-all-libcc1:
31415 @if gcc-bootstrap
31416 all-libcc1: stage_current
31417 @endif gcc-bootstrap
31418 @if libcc1
31419 TARGET-libcc1=all
31420 maybe-all-libcc1: all-libcc1
31421 all-libcc1: configure-libcc1
31422 @: $(MAKE); $(unstage)
31423 @r=`${PWD_COMMAND}`; export r; \
31424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31425 $(HOST_EXPORTS) \
31426 (cd $(HOST_SUBDIR)/libcc1 && \
31427 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
31428 $(TARGET-libcc1))
31429 @endif libcc1
31434 .PHONY: check-libcc1 maybe-check-libcc1
31435 maybe-check-libcc1:
31436 @if libcc1
31437 maybe-check-libcc1: check-libcc1
31439 check-libcc1:
31440 @: $(MAKE); $(unstage)
31441 @r=`${PWD_COMMAND}`; export r; \
31442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31443 $(HOST_EXPORTS) \
31444 (cd $(HOST_SUBDIR)/libcc1 && \
31445 $(MAKE) $(FLAGS_TO_PASS) check)
31447 @endif libcc1
31449 .PHONY: install-libcc1 maybe-install-libcc1
31450 maybe-install-libcc1:
31451 @if libcc1
31452 maybe-install-libcc1: install-libcc1
31454 install-libcc1: installdirs
31455 @: $(MAKE); $(unstage)
31456 @r=`${PWD_COMMAND}`; export r; \
31457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31458 $(HOST_EXPORTS) \
31459 (cd $(HOST_SUBDIR)/libcc1 && \
31460 $(MAKE) $(FLAGS_TO_PASS) install)
31462 @endif libcc1
31464 .PHONY: install-strip-libcc1 maybe-install-strip-libcc1
31465 maybe-install-strip-libcc1:
31466 @if libcc1
31467 maybe-install-strip-libcc1: install-strip-libcc1
31469 install-strip-libcc1: installdirs
31470 @: $(MAKE); $(unstage)
31471 @r=`${PWD_COMMAND}`; export r; \
31472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31473 $(HOST_EXPORTS) \
31474 (cd $(HOST_SUBDIR)/libcc1 && \
31475 $(MAKE) $(FLAGS_TO_PASS) install-strip)
31477 @endif libcc1
31479 # Other targets (info, dvi, pdf, etc.)
31481 .PHONY: maybe-info-libcc1 info-libcc1
31482 maybe-info-libcc1:
31483 @if libcc1
31484 maybe-info-libcc1: info-libcc1
31486 info-libcc1: \
31487 configure-libcc1
31488 @: $(MAKE); $(unstage)
31489 @[ -f ./libcc1/Makefile ] || exit 0; \
31490 r=`${PWD_COMMAND}`; export r; \
31491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31492 $(HOST_EXPORTS) \
31493 for flag in $(EXTRA_HOST_FLAGS) ; do \
31494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31495 done; \
31496 echo "Doing info in libcc1" ; \
31497 (cd $(HOST_SUBDIR)/libcc1 && \
31498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31500 "RANLIB=$${RANLIB}" \
31501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31502 info) \
31503 || exit 1
31505 @endif libcc1
31507 .PHONY: maybe-dvi-libcc1 dvi-libcc1
31508 maybe-dvi-libcc1:
31509 @if libcc1
31510 maybe-dvi-libcc1: dvi-libcc1
31512 dvi-libcc1: \
31513 configure-libcc1
31514 @: $(MAKE); $(unstage)
31515 @[ -f ./libcc1/Makefile ] || exit 0; \
31516 r=`${PWD_COMMAND}`; export r; \
31517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31518 $(HOST_EXPORTS) \
31519 for flag in $(EXTRA_HOST_FLAGS) ; do \
31520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31521 done; \
31522 echo "Doing dvi in libcc1" ; \
31523 (cd $(HOST_SUBDIR)/libcc1 && \
31524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31526 "RANLIB=$${RANLIB}" \
31527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31528 dvi) \
31529 || exit 1
31531 @endif libcc1
31533 .PHONY: maybe-pdf-libcc1 pdf-libcc1
31534 maybe-pdf-libcc1:
31535 @if libcc1
31536 maybe-pdf-libcc1: pdf-libcc1
31538 pdf-libcc1: \
31539 configure-libcc1
31540 @: $(MAKE); $(unstage)
31541 @[ -f ./libcc1/Makefile ] || exit 0; \
31542 r=`${PWD_COMMAND}`; export r; \
31543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31544 $(HOST_EXPORTS) \
31545 for flag in $(EXTRA_HOST_FLAGS) ; do \
31546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31547 done; \
31548 echo "Doing pdf in libcc1" ; \
31549 (cd $(HOST_SUBDIR)/libcc1 && \
31550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31552 "RANLIB=$${RANLIB}" \
31553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31554 pdf) \
31555 || exit 1
31557 @endif libcc1
31559 .PHONY: maybe-html-libcc1 html-libcc1
31560 maybe-html-libcc1:
31561 @if libcc1
31562 maybe-html-libcc1: html-libcc1
31564 html-libcc1: \
31565 configure-libcc1
31566 @: $(MAKE); $(unstage)
31567 @[ -f ./libcc1/Makefile ] || exit 0; \
31568 r=`${PWD_COMMAND}`; export r; \
31569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31570 $(HOST_EXPORTS) \
31571 for flag in $(EXTRA_HOST_FLAGS) ; do \
31572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31573 done; \
31574 echo "Doing html in libcc1" ; \
31575 (cd $(HOST_SUBDIR)/libcc1 && \
31576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31578 "RANLIB=$${RANLIB}" \
31579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31580 html) \
31581 || exit 1
31583 @endif libcc1
31585 .PHONY: maybe-TAGS-libcc1 TAGS-libcc1
31586 maybe-TAGS-libcc1:
31587 @if libcc1
31588 maybe-TAGS-libcc1: TAGS-libcc1
31590 TAGS-libcc1: \
31591 configure-libcc1
31592 @: $(MAKE); $(unstage)
31593 @[ -f ./libcc1/Makefile ] || exit 0; \
31594 r=`${PWD_COMMAND}`; export r; \
31595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31596 $(HOST_EXPORTS) \
31597 for flag in $(EXTRA_HOST_FLAGS) ; do \
31598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31599 done; \
31600 echo "Doing TAGS in libcc1" ; \
31601 (cd $(HOST_SUBDIR)/libcc1 && \
31602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31604 "RANLIB=$${RANLIB}" \
31605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31606 TAGS) \
31607 || exit 1
31609 @endif libcc1
31611 .PHONY: maybe-install-info-libcc1 install-info-libcc1
31612 maybe-install-info-libcc1:
31613 @if libcc1
31614 maybe-install-info-libcc1: install-info-libcc1
31616 install-info-libcc1: \
31617 configure-libcc1 \
31618 info-libcc1
31619 @: $(MAKE); $(unstage)
31620 @[ -f ./libcc1/Makefile ] || exit 0; \
31621 r=`${PWD_COMMAND}`; export r; \
31622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31623 $(HOST_EXPORTS) \
31624 for flag in $(EXTRA_HOST_FLAGS) ; do \
31625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31626 done; \
31627 echo "Doing install-info in libcc1" ; \
31628 (cd $(HOST_SUBDIR)/libcc1 && \
31629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31631 "RANLIB=$${RANLIB}" \
31632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31633 install-info) \
31634 || exit 1
31636 @endif libcc1
31638 .PHONY: maybe-install-pdf-libcc1 install-pdf-libcc1
31639 maybe-install-pdf-libcc1:
31640 @if libcc1
31641 maybe-install-pdf-libcc1: install-pdf-libcc1
31643 install-pdf-libcc1: \
31644 configure-libcc1 \
31645 pdf-libcc1
31646 @: $(MAKE); $(unstage)
31647 @[ -f ./libcc1/Makefile ] || exit 0; \
31648 r=`${PWD_COMMAND}`; export r; \
31649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31650 $(HOST_EXPORTS) \
31651 for flag in $(EXTRA_HOST_FLAGS) ; do \
31652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31653 done; \
31654 echo "Doing install-pdf in libcc1" ; \
31655 (cd $(HOST_SUBDIR)/libcc1 && \
31656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31658 "RANLIB=$${RANLIB}" \
31659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31660 install-pdf) \
31661 || exit 1
31663 @endif libcc1
31665 .PHONY: maybe-install-html-libcc1 install-html-libcc1
31666 maybe-install-html-libcc1:
31667 @if libcc1
31668 maybe-install-html-libcc1: install-html-libcc1
31670 install-html-libcc1: \
31671 configure-libcc1 \
31672 html-libcc1
31673 @: $(MAKE); $(unstage)
31674 @[ -f ./libcc1/Makefile ] || exit 0; \
31675 r=`${PWD_COMMAND}`; export r; \
31676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31677 $(HOST_EXPORTS) \
31678 for flag in $(EXTRA_HOST_FLAGS) ; do \
31679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31680 done; \
31681 echo "Doing install-html in libcc1" ; \
31682 (cd $(HOST_SUBDIR)/libcc1 && \
31683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31685 "RANLIB=$${RANLIB}" \
31686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31687 install-html) \
31688 || exit 1
31690 @endif libcc1
31692 .PHONY: maybe-installcheck-libcc1 installcheck-libcc1
31693 maybe-installcheck-libcc1:
31694 @if libcc1
31695 maybe-installcheck-libcc1: installcheck-libcc1
31697 installcheck-libcc1: \
31698 configure-libcc1
31699 @: $(MAKE); $(unstage)
31700 @[ -f ./libcc1/Makefile ] || exit 0; \
31701 r=`${PWD_COMMAND}`; export r; \
31702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31703 $(HOST_EXPORTS) \
31704 for flag in $(EXTRA_HOST_FLAGS) ; do \
31705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31706 done; \
31707 echo "Doing installcheck in libcc1" ; \
31708 (cd $(HOST_SUBDIR)/libcc1 && \
31709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31711 "RANLIB=$${RANLIB}" \
31712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31713 installcheck) \
31714 || exit 1
31716 @endif libcc1
31718 .PHONY: maybe-mostlyclean-libcc1 mostlyclean-libcc1
31719 maybe-mostlyclean-libcc1:
31720 @if libcc1
31721 maybe-mostlyclean-libcc1: mostlyclean-libcc1
31723 mostlyclean-libcc1:
31724 @: $(MAKE); $(unstage)
31725 @[ -f ./libcc1/Makefile ] || exit 0; \
31726 r=`${PWD_COMMAND}`; export r; \
31727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31728 $(HOST_EXPORTS) \
31729 for flag in $(EXTRA_HOST_FLAGS) ; do \
31730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31731 done; \
31732 echo "Doing mostlyclean in libcc1" ; \
31733 (cd $(HOST_SUBDIR)/libcc1 && \
31734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31736 "RANLIB=$${RANLIB}" \
31737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31738 mostlyclean) \
31739 || exit 1
31741 @endif libcc1
31743 .PHONY: maybe-clean-libcc1 clean-libcc1
31744 maybe-clean-libcc1:
31745 @if libcc1
31746 maybe-clean-libcc1: clean-libcc1
31748 clean-libcc1:
31749 @: $(MAKE); $(unstage)
31750 @[ -f ./libcc1/Makefile ] || exit 0; \
31751 r=`${PWD_COMMAND}`; export r; \
31752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31753 $(HOST_EXPORTS) \
31754 for flag in $(EXTRA_HOST_FLAGS) ; do \
31755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31756 done; \
31757 echo "Doing clean in libcc1" ; \
31758 (cd $(HOST_SUBDIR)/libcc1 && \
31759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31761 "RANLIB=$${RANLIB}" \
31762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31763 clean) \
31764 || exit 1
31766 @endif libcc1
31768 .PHONY: maybe-distclean-libcc1 distclean-libcc1
31769 maybe-distclean-libcc1:
31770 @if libcc1
31771 maybe-distclean-libcc1: distclean-libcc1
31773 distclean-libcc1:
31774 @: $(MAKE); $(unstage)
31775 @[ -f ./libcc1/Makefile ] || exit 0; \
31776 r=`${PWD_COMMAND}`; export r; \
31777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31778 $(HOST_EXPORTS) \
31779 for flag in $(EXTRA_HOST_FLAGS) ; do \
31780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31781 done; \
31782 echo "Doing distclean in libcc1" ; \
31783 (cd $(HOST_SUBDIR)/libcc1 && \
31784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31786 "RANLIB=$${RANLIB}" \
31787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31788 distclean) \
31789 || exit 1
31791 @endif libcc1
31793 .PHONY: maybe-maintainer-clean-libcc1 maintainer-clean-libcc1
31794 maybe-maintainer-clean-libcc1:
31795 @if libcc1
31796 maybe-maintainer-clean-libcc1: maintainer-clean-libcc1
31798 maintainer-clean-libcc1:
31799 @: $(MAKE); $(unstage)
31800 @[ -f ./libcc1/Makefile ] || exit 0; \
31801 r=`${PWD_COMMAND}`; export r; \
31802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31803 $(HOST_EXPORTS) \
31804 for flag in $(EXTRA_HOST_FLAGS) ; do \
31805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31806 done; \
31807 echo "Doing maintainer-clean in libcc1" ; \
31808 (cd $(HOST_SUBDIR)/libcc1 && \
31809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31811 "RANLIB=$${RANLIB}" \
31812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31813 maintainer-clean) \
31814 || exit 1
31816 @endif libcc1
31820 # ---------------------------------------
31821 # Modules which run on the target machine
31822 # ---------------------------------------
31827 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
31828 maybe-configure-target-libstdc++-v3:
31829 @if gcc-bootstrap
31830 configure-target-libstdc++-v3: stage_current
31831 @endif gcc-bootstrap
31832 @if target-libstdc++-v3
31833 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
31834 configure-target-libstdc++-v3:
31835 @r=`${PWD_COMMAND}`; export r; \
31836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31837 echo "Checking multilib configuration for libstdc++-v3..."; \
31838 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
31839 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
31840 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
31841 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
31842 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
31843 else \
31844 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
31845 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
31846 fi; \
31847 else \
31848 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
31849 fi; \
31850 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
31851 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
31852 $(RAW_CXX_TARGET_EXPORTS) \
31853 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
31854 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
31855 case $(srcdir) in \
31856 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31857 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
31858 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31859 esac; \
31860 module_srcdir=libstdc++-v3; \
31861 rm -f no-such-file || : ; \
31862 CONFIG_SITE=no-such-file $(SHELL) \
31863 $$s/$$module_srcdir/configure \
31864 --srcdir=$${topdir}/$$module_srcdir \
31865 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
31866 --target=${target_alias} \
31867 || exit 1
31868 @endif target-libstdc++-v3
31872 .PHONY: configure-stage1-target-libstdc++-v3 maybe-configure-stage1-target-libstdc++-v3
31873 maybe-configure-stage1-target-libstdc++-v3:
31874 @if target-libstdc++-v3-bootstrap
31875 maybe-configure-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
31876 configure-stage1-target-libstdc++-v3:
31877 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
31878 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
31879 @r=`${PWD_COMMAND}`; export r; \
31880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31881 TFLAGS="$(STAGE1_TFLAGS)"; \
31882 echo "Checking multilib configuration for libstdc++-v3..."; \
31883 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
31884 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
31885 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
31886 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
31887 else \
31888 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
31889 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
31890 fi; \
31891 else \
31892 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
31893 fi; \
31894 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
31895 $(RAW_CXX_TARGET_EXPORTS) \
31896 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
31897 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
31898 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
31899 echo Configuring stage 1 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
31900 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
31901 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
31902 case $(srcdir) in \
31903 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31904 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
31905 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31906 esac; \
31907 module_srcdir=libstdc++-v3; \
31908 $(SHELL) $$s/$$module_srcdir/configure \
31909 --srcdir=$${topdir}/$$module_srcdir \
31910 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
31911 --target=${target_alias} \
31913 $(STAGE1_CONFIGURE_FLAGS)
31914 @endif target-libstdc++-v3-bootstrap
31916 .PHONY: configure-stage2-target-libstdc++-v3 maybe-configure-stage2-target-libstdc++-v3
31917 maybe-configure-stage2-target-libstdc++-v3:
31918 @if target-libstdc++-v3-bootstrap
31919 maybe-configure-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
31920 configure-stage2-target-libstdc++-v3:
31921 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
31922 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
31923 @r=`${PWD_COMMAND}`; export r; \
31924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31925 TFLAGS="$(STAGE2_TFLAGS)"; \
31926 echo "Checking multilib configuration for libstdc++-v3..."; \
31927 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
31928 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
31929 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
31930 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
31931 else \
31932 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
31933 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
31934 fi; \
31935 else \
31936 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
31937 fi; \
31938 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
31939 $(RAW_CXX_TARGET_EXPORTS) \
31941 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
31942 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
31943 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
31944 echo Configuring stage 2 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
31945 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
31946 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
31947 case $(srcdir) in \
31948 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31949 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
31950 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31951 esac; \
31952 module_srcdir=libstdc++-v3; \
31953 $(SHELL) $$s/$$module_srcdir/configure \
31954 --srcdir=$${topdir}/$$module_srcdir \
31955 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
31956 --target=${target_alias} \
31957 --with-build-libsubdir=$(HOST_SUBDIR) \
31958 $(STAGE2_CONFIGURE_FLAGS)
31959 @endif target-libstdc++-v3-bootstrap
31961 .PHONY: configure-stage3-target-libstdc++-v3 maybe-configure-stage3-target-libstdc++-v3
31962 maybe-configure-stage3-target-libstdc++-v3:
31963 @if target-libstdc++-v3-bootstrap
31964 maybe-configure-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
31965 configure-stage3-target-libstdc++-v3:
31966 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
31967 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
31968 @r=`${PWD_COMMAND}`; export r; \
31969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31970 TFLAGS="$(STAGE3_TFLAGS)"; \
31971 echo "Checking multilib configuration for libstdc++-v3..."; \
31972 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
31973 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
31974 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
31975 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
31976 else \
31977 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
31978 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
31979 fi; \
31980 else \
31981 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
31982 fi; \
31983 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
31984 $(RAW_CXX_TARGET_EXPORTS) \
31986 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
31987 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
31988 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
31989 echo Configuring stage 3 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
31990 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
31991 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
31992 case $(srcdir) in \
31993 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31994 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
31995 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31996 esac; \
31997 module_srcdir=libstdc++-v3; \
31998 $(SHELL) $$s/$$module_srcdir/configure \
31999 --srcdir=$${topdir}/$$module_srcdir \
32000 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32001 --target=${target_alias} \
32002 --with-build-libsubdir=$(HOST_SUBDIR) \
32003 $(STAGE3_CONFIGURE_FLAGS)
32004 @endif target-libstdc++-v3-bootstrap
32006 .PHONY: configure-stage4-target-libstdc++-v3 maybe-configure-stage4-target-libstdc++-v3
32007 maybe-configure-stage4-target-libstdc++-v3:
32008 @if target-libstdc++-v3-bootstrap
32009 maybe-configure-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
32010 configure-stage4-target-libstdc++-v3:
32011 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
32012 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
32013 @r=`${PWD_COMMAND}`; export r; \
32014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32015 TFLAGS="$(STAGE4_TFLAGS)"; \
32016 echo "Checking multilib configuration for libstdc++-v3..."; \
32017 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
32018 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32019 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32020 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
32021 else \
32022 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
32023 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32024 fi; \
32025 else \
32026 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32027 fi; \
32028 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
32029 $(RAW_CXX_TARGET_EXPORTS) \
32031 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32032 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32033 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32034 echo Configuring stage 4 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
32035 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
32036 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
32037 case $(srcdir) in \
32038 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32039 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
32040 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32041 esac; \
32042 module_srcdir=libstdc++-v3; \
32043 $(SHELL) $$s/$$module_srcdir/configure \
32044 --srcdir=$${topdir}/$$module_srcdir \
32045 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32046 --target=${target_alias} \
32047 --with-build-libsubdir=$(HOST_SUBDIR) \
32048 $(STAGE4_CONFIGURE_FLAGS)
32049 @endif target-libstdc++-v3-bootstrap
32051 .PHONY: configure-stageprofile-target-libstdc++-v3 maybe-configure-stageprofile-target-libstdc++-v3
32052 maybe-configure-stageprofile-target-libstdc++-v3:
32053 @if target-libstdc++-v3-bootstrap
32054 maybe-configure-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
32055 configure-stageprofile-target-libstdc++-v3:
32056 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
32057 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
32058 @r=`${PWD_COMMAND}`; export r; \
32059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32060 TFLAGS="$(STAGEprofile_TFLAGS)"; \
32061 echo "Checking multilib configuration for libstdc++-v3..."; \
32062 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
32063 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32064 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32065 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
32066 else \
32067 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
32068 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32069 fi; \
32070 else \
32071 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32072 fi; \
32073 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
32074 $(RAW_CXX_TARGET_EXPORTS) \
32076 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32077 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32078 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32079 echo Configuring stage profile in $(TARGET_SUBDIR)/libstdc++-v3 ; \
32080 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
32081 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
32082 case $(srcdir) in \
32083 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32084 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
32085 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32086 esac; \
32087 module_srcdir=libstdc++-v3; \
32088 $(SHELL) $$s/$$module_srcdir/configure \
32089 --srcdir=$${topdir}/$$module_srcdir \
32090 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32091 --target=${target_alias} \
32092 --with-build-libsubdir=$(HOST_SUBDIR) \
32093 $(STAGEprofile_CONFIGURE_FLAGS)
32094 @endif target-libstdc++-v3-bootstrap
32096 .PHONY: configure-stagefeedback-target-libstdc++-v3 maybe-configure-stagefeedback-target-libstdc++-v3
32097 maybe-configure-stagefeedback-target-libstdc++-v3:
32098 @if target-libstdc++-v3-bootstrap
32099 maybe-configure-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
32100 configure-stagefeedback-target-libstdc++-v3:
32101 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
32102 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
32103 @r=`${PWD_COMMAND}`; export r; \
32104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32105 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
32106 echo "Checking multilib configuration for libstdc++-v3..."; \
32107 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
32108 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32109 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32110 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
32111 else \
32112 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
32113 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32114 fi; \
32115 else \
32116 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32117 fi; \
32118 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
32119 $(RAW_CXX_TARGET_EXPORTS) \
32121 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32122 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32123 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32124 echo Configuring stage feedback in $(TARGET_SUBDIR)/libstdc++-v3 ; \
32125 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
32126 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
32127 case $(srcdir) in \
32128 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32129 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
32130 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32131 esac; \
32132 module_srcdir=libstdc++-v3; \
32133 $(SHELL) $$s/$$module_srcdir/configure \
32134 --srcdir=$${topdir}/$$module_srcdir \
32135 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32136 --target=${target_alias} \
32137 --with-build-libsubdir=$(HOST_SUBDIR) \
32138 $(STAGEfeedback_CONFIGURE_FLAGS)
32139 @endif target-libstdc++-v3-bootstrap
32145 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
32146 maybe-all-target-libstdc++-v3:
32147 @if gcc-bootstrap
32148 all-target-libstdc++-v3: stage_current
32149 @endif gcc-bootstrap
32150 @if target-libstdc++-v3
32151 TARGET-target-libstdc++-v3=all
32152 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
32153 all-target-libstdc++-v3: configure-target-libstdc++-v3
32154 @r=`${PWD_COMMAND}`; export r; \
32155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32156 $(RAW_CXX_TARGET_EXPORTS) \
32157 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32158 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32159 $(TARGET-target-libstdc++-v3))
32160 @endif target-libstdc++-v3
32164 .PHONY: all-stage1-target-libstdc++-v3 maybe-all-stage1-target-libstdc++-v3
32165 .PHONY: clean-stage1-target-libstdc++-v3 maybe-clean-stage1-target-libstdc++-v3
32166 maybe-all-stage1-target-libstdc++-v3:
32167 maybe-clean-stage1-target-libstdc++-v3:
32168 @if target-libstdc++-v3-bootstrap
32169 maybe-all-stage1-target-libstdc++-v3: all-stage1-target-libstdc++-v3
32170 all-stage1: all-stage1-target-libstdc++-v3
32171 TARGET-stage1-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
32172 all-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
32173 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
32174 @r=`${PWD_COMMAND}`; export r; \
32175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32176 TFLAGS="$(STAGE1_TFLAGS)"; \
32177 $(RAW_CXX_TARGET_EXPORTS) \
32178 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32179 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32180 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32181 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32182 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32183 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32184 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32185 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32186 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32188 TFLAGS="$(STAGE1_TFLAGS)" \
32189 $(TARGET-stage1-target-libstdc++-v3)
32191 maybe-clean-stage1-target-libstdc++-v3: clean-stage1-target-libstdc++-v3
32192 clean-stage1: clean-stage1-target-libstdc++-v3
32193 clean-stage1-target-libstdc++-v3:
32194 @if [ $(current_stage) = stage1 ]; then \
32195 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
32196 else \
32197 [ -f $(TARGET_SUBDIR)/stage1-libstdc++-v3/Makefile ] || exit 0; \
32198 $(MAKE) stage1-start; \
32199 fi; \
32200 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32201 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32202 clean
32203 @endif target-libstdc++-v3-bootstrap
32206 .PHONY: all-stage2-target-libstdc++-v3 maybe-all-stage2-target-libstdc++-v3
32207 .PHONY: clean-stage2-target-libstdc++-v3 maybe-clean-stage2-target-libstdc++-v3
32208 maybe-all-stage2-target-libstdc++-v3:
32209 maybe-clean-stage2-target-libstdc++-v3:
32210 @if target-libstdc++-v3-bootstrap
32211 maybe-all-stage2-target-libstdc++-v3: all-stage2-target-libstdc++-v3
32212 all-stage2: all-stage2-target-libstdc++-v3
32213 TARGET-stage2-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
32214 all-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
32215 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
32216 @r=`${PWD_COMMAND}`; export r; \
32217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32218 TFLAGS="$(STAGE2_TFLAGS)"; \
32219 $(RAW_CXX_TARGET_EXPORTS) \
32221 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32222 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32223 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32224 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32225 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32226 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32227 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32228 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32229 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32230 TFLAGS="$(STAGE2_TFLAGS)" \
32231 $(TARGET-stage2-target-libstdc++-v3)
32233 maybe-clean-stage2-target-libstdc++-v3: clean-stage2-target-libstdc++-v3
32234 clean-stage2: clean-stage2-target-libstdc++-v3
32235 clean-stage2-target-libstdc++-v3:
32236 @if [ $(current_stage) = stage2 ]; then \
32237 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
32238 else \
32239 [ -f $(TARGET_SUBDIR)/stage2-libstdc++-v3/Makefile ] || exit 0; \
32240 $(MAKE) stage2-start; \
32241 fi; \
32242 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32243 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
32244 @endif target-libstdc++-v3-bootstrap
32247 .PHONY: all-stage3-target-libstdc++-v3 maybe-all-stage3-target-libstdc++-v3
32248 .PHONY: clean-stage3-target-libstdc++-v3 maybe-clean-stage3-target-libstdc++-v3
32249 maybe-all-stage3-target-libstdc++-v3:
32250 maybe-clean-stage3-target-libstdc++-v3:
32251 @if target-libstdc++-v3-bootstrap
32252 maybe-all-stage3-target-libstdc++-v3: all-stage3-target-libstdc++-v3
32253 all-stage3: all-stage3-target-libstdc++-v3
32254 TARGET-stage3-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
32255 all-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
32256 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
32257 @r=`${PWD_COMMAND}`; export r; \
32258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32259 TFLAGS="$(STAGE3_TFLAGS)"; \
32260 $(RAW_CXX_TARGET_EXPORTS) \
32262 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32263 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32264 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32265 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32266 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32267 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32268 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32269 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32270 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32271 TFLAGS="$(STAGE3_TFLAGS)" \
32272 $(TARGET-stage3-target-libstdc++-v3)
32274 maybe-clean-stage3-target-libstdc++-v3: clean-stage3-target-libstdc++-v3
32275 clean-stage3: clean-stage3-target-libstdc++-v3
32276 clean-stage3-target-libstdc++-v3:
32277 @if [ $(current_stage) = stage3 ]; then \
32278 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
32279 else \
32280 [ -f $(TARGET_SUBDIR)/stage3-libstdc++-v3/Makefile ] || exit 0; \
32281 $(MAKE) stage3-start; \
32282 fi; \
32283 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32284 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
32285 @endif target-libstdc++-v3-bootstrap
32288 .PHONY: all-stage4-target-libstdc++-v3 maybe-all-stage4-target-libstdc++-v3
32289 .PHONY: clean-stage4-target-libstdc++-v3 maybe-clean-stage4-target-libstdc++-v3
32290 maybe-all-stage4-target-libstdc++-v3:
32291 maybe-clean-stage4-target-libstdc++-v3:
32292 @if target-libstdc++-v3-bootstrap
32293 maybe-all-stage4-target-libstdc++-v3: all-stage4-target-libstdc++-v3
32294 all-stage4: all-stage4-target-libstdc++-v3
32295 TARGET-stage4-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
32296 all-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
32297 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
32298 @r=`${PWD_COMMAND}`; export r; \
32299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32300 TFLAGS="$(STAGE4_TFLAGS)"; \
32301 $(RAW_CXX_TARGET_EXPORTS) \
32303 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32304 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32305 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32306 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32307 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32308 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32309 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32310 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32311 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32312 TFLAGS="$(STAGE4_TFLAGS)" \
32313 $(TARGET-stage4-target-libstdc++-v3)
32315 maybe-clean-stage4-target-libstdc++-v3: clean-stage4-target-libstdc++-v3
32316 clean-stage4: clean-stage4-target-libstdc++-v3
32317 clean-stage4-target-libstdc++-v3:
32318 @if [ $(current_stage) = stage4 ]; then \
32319 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
32320 else \
32321 [ -f $(TARGET_SUBDIR)/stage4-libstdc++-v3/Makefile ] || exit 0; \
32322 $(MAKE) stage4-start; \
32323 fi; \
32324 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32325 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
32326 @endif target-libstdc++-v3-bootstrap
32329 .PHONY: all-stageprofile-target-libstdc++-v3 maybe-all-stageprofile-target-libstdc++-v3
32330 .PHONY: clean-stageprofile-target-libstdc++-v3 maybe-clean-stageprofile-target-libstdc++-v3
32331 maybe-all-stageprofile-target-libstdc++-v3:
32332 maybe-clean-stageprofile-target-libstdc++-v3:
32333 @if target-libstdc++-v3-bootstrap
32334 maybe-all-stageprofile-target-libstdc++-v3: all-stageprofile-target-libstdc++-v3
32335 all-stageprofile: all-stageprofile-target-libstdc++-v3
32336 TARGET-stageprofile-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
32337 all-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
32338 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
32339 @r=`${PWD_COMMAND}`; export r; \
32340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32341 TFLAGS="$(STAGEprofile_TFLAGS)"; \
32342 $(RAW_CXX_TARGET_EXPORTS) \
32344 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32345 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32346 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32347 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32348 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32349 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32350 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32351 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32352 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32353 TFLAGS="$(STAGEprofile_TFLAGS)" \
32354 $(TARGET-stageprofile-target-libstdc++-v3)
32356 maybe-clean-stageprofile-target-libstdc++-v3: clean-stageprofile-target-libstdc++-v3
32357 clean-stageprofile: clean-stageprofile-target-libstdc++-v3
32358 clean-stageprofile-target-libstdc++-v3:
32359 @if [ $(current_stage) = stageprofile ]; then \
32360 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
32361 else \
32362 [ -f $(TARGET_SUBDIR)/stageprofile-libstdc++-v3/Makefile ] || exit 0; \
32363 $(MAKE) stageprofile-start; \
32364 fi; \
32365 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32366 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
32367 @endif target-libstdc++-v3-bootstrap
32370 .PHONY: all-stagefeedback-target-libstdc++-v3 maybe-all-stagefeedback-target-libstdc++-v3
32371 .PHONY: clean-stagefeedback-target-libstdc++-v3 maybe-clean-stagefeedback-target-libstdc++-v3
32372 maybe-all-stagefeedback-target-libstdc++-v3:
32373 maybe-clean-stagefeedback-target-libstdc++-v3:
32374 @if target-libstdc++-v3-bootstrap
32375 maybe-all-stagefeedback-target-libstdc++-v3: all-stagefeedback-target-libstdc++-v3
32376 all-stagefeedback: all-stagefeedback-target-libstdc++-v3
32377 TARGET-stagefeedback-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
32378 all-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
32379 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
32380 @r=`${PWD_COMMAND}`; export r; \
32381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32382 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
32383 $(RAW_CXX_TARGET_EXPORTS) \
32385 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32386 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32387 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32388 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32389 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32390 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32391 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32392 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32393 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32394 TFLAGS="$(STAGEfeedback_TFLAGS)" \
32395 $(TARGET-stagefeedback-target-libstdc++-v3)
32397 maybe-clean-stagefeedback-target-libstdc++-v3: clean-stagefeedback-target-libstdc++-v3
32398 clean-stagefeedback: clean-stagefeedback-target-libstdc++-v3
32399 clean-stagefeedback-target-libstdc++-v3:
32400 @if [ $(current_stage) = stagefeedback ]; then \
32401 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
32402 else \
32403 [ -f $(TARGET_SUBDIR)/stagefeedback-libstdc++-v3/Makefile ] || exit 0; \
32404 $(MAKE) stagefeedback-start; \
32405 fi; \
32406 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32407 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
32408 @endif target-libstdc++-v3-bootstrap
32415 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
32416 maybe-check-target-libstdc++-v3:
32417 @if target-libstdc++-v3
32418 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
32420 check-target-libstdc++-v3:
32421 @: $(MAKE); $(unstage)
32422 @r=`${PWD_COMMAND}`; export r; \
32423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32424 $(RAW_CXX_TARGET_EXPORTS) \
32425 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32426 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
32428 @endif target-libstdc++-v3
32430 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
32431 maybe-install-target-libstdc++-v3:
32432 @if target-libstdc++-v3
32433 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
32435 install-target-libstdc++-v3: installdirs
32436 @: $(MAKE); $(unstage)
32437 @r=`${PWD_COMMAND}`; export r; \
32438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32439 $(RAW_CXX_TARGET_EXPORTS) \
32440 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32441 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32443 @endif target-libstdc++-v3
32445 .PHONY: install-strip-target-libstdc++-v3 maybe-install-strip-target-libstdc++-v3
32446 maybe-install-strip-target-libstdc++-v3:
32447 @if target-libstdc++-v3
32448 maybe-install-strip-target-libstdc++-v3: install-strip-target-libstdc++-v3
32450 install-strip-target-libstdc++-v3: installdirs
32451 @: $(MAKE); $(unstage)
32452 @r=`${PWD_COMMAND}`; export r; \
32453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32454 $(RAW_CXX_TARGET_EXPORTS) \
32455 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32456 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
32458 @endif target-libstdc++-v3
32460 # Other targets (info, dvi, pdf, etc.)
32462 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
32463 maybe-info-target-libstdc++-v3:
32464 @if target-libstdc++-v3
32465 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
32467 info-target-libstdc++-v3: \
32468 configure-target-libstdc++-v3
32469 @: $(MAKE); $(unstage)
32470 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32471 r=`${PWD_COMMAND}`; export r; \
32472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32473 $(RAW_CXX_TARGET_EXPORTS) \
32474 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32475 for flag in $(EXTRA_TARGET_FLAGS); do \
32476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32477 done; \
32478 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32481 "RANLIB=$${RANLIB}" \
32482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32483 info) \
32484 || exit 1
32486 @endif target-libstdc++-v3
32488 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
32489 maybe-dvi-target-libstdc++-v3:
32490 @if target-libstdc++-v3
32491 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
32493 dvi-target-libstdc++-v3: \
32494 configure-target-libstdc++-v3
32495 @: $(MAKE); $(unstage)
32496 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32497 r=`${PWD_COMMAND}`; export r; \
32498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32499 $(RAW_CXX_TARGET_EXPORTS) \
32500 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32501 for flag in $(EXTRA_TARGET_FLAGS); do \
32502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32503 done; \
32504 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32507 "RANLIB=$${RANLIB}" \
32508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32509 dvi) \
32510 || exit 1
32512 @endif target-libstdc++-v3
32514 .PHONY: maybe-pdf-target-libstdc++-v3 pdf-target-libstdc++-v3
32515 maybe-pdf-target-libstdc++-v3:
32516 @if target-libstdc++-v3
32517 maybe-pdf-target-libstdc++-v3: pdf-target-libstdc++-v3
32519 pdf-target-libstdc++-v3: \
32520 configure-target-libstdc++-v3
32521 @: $(MAKE); $(unstage)
32522 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32523 r=`${PWD_COMMAND}`; export r; \
32524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32525 $(RAW_CXX_TARGET_EXPORTS) \
32526 echo "Doing pdf in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32527 for flag in $(EXTRA_TARGET_FLAGS); do \
32528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32529 done; \
32530 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32533 "RANLIB=$${RANLIB}" \
32534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32535 pdf) \
32536 || exit 1
32538 @endif target-libstdc++-v3
32540 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
32541 maybe-html-target-libstdc++-v3:
32542 @if target-libstdc++-v3
32543 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
32545 html-target-libstdc++-v3: \
32546 configure-target-libstdc++-v3
32547 @: $(MAKE); $(unstage)
32548 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32549 r=`${PWD_COMMAND}`; export r; \
32550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32551 $(RAW_CXX_TARGET_EXPORTS) \
32552 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32553 for flag in $(EXTRA_TARGET_FLAGS); do \
32554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32555 done; \
32556 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32559 "RANLIB=$${RANLIB}" \
32560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32561 html) \
32562 || exit 1
32564 @endif target-libstdc++-v3
32566 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
32567 maybe-TAGS-target-libstdc++-v3:
32568 @if target-libstdc++-v3
32569 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
32571 TAGS-target-libstdc++-v3: \
32572 configure-target-libstdc++-v3
32573 @: $(MAKE); $(unstage)
32574 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32575 r=`${PWD_COMMAND}`; export r; \
32576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32577 $(RAW_CXX_TARGET_EXPORTS) \
32578 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32579 for flag in $(EXTRA_TARGET_FLAGS); do \
32580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32581 done; \
32582 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32585 "RANLIB=$${RANLIB}" \
32586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32587 TAGS) \
32588 || exit 1
32590 @endif target-libstdc++-v3
32592 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
32593 maybe-install-info-target-libstdc++-v3:
32594 @if target-libstdc++-v3
32595 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
32597 install-info-target-libstdc++-v3: \
32598 configure-target-libstdc++-v3 \
32599 info-target-libstdc++-v3
32600 @: $(MAKE); $(unstage)
32601 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32602 r=`${PWD_COMMAND}`; export r; \
32603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32604 $(RAW_CXX_TARGET_EXPORTS) \
32605 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32606 for flag in $(EXTRA_TARGET_FLAGS); do \
32607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32608 done; \
32609 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32612 "RANLIB=$${RANLIB}" \
32613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32614 install-info) \
32615 || exit 1
32617 @endif target-libstdc++-v3
32619 .PHONY: maybe-install-pdf-target-libstdc++-v3 install-pdf-target-libstdc++-v3
32620 maybe-install-pdf-target-libstdc++-v3:
32621 @if target-libstdc++-v3
32622 maybe-install-pdf-target-libstdc++-v3: install-pdf-target-libstdc++-v3
32624 install-pdf-target-libstdc++-v3: \
32625 configure-target-libstdc++-v3 \
32626 pdf-target-libstdc++-v3
32627 @: $(MAKE); $(unstage)
32628 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32629 r=`${PWD_COMMAND}`; export r; \
32630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32631 $(RAW_CXX_TARGET_EXPORTS) \
32632 echo "Doing install-pdf in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32633 for flag in $(EXTRA_TARGET_FLAGS); do \
32634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32635 done; \
32636 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32639 "RANLIB=$${RANLIB}" \
32640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32641 install-pdf) \
32642 || exit 1
32644 @endif target-libstdc++-v3
32646 .PHONY: maybe-install-html-target-libstdc++-v3 install-html-target-libstdc++-v3
32647 maybe-install-html-target-libstdc++-v3:
32648 @if target-libstdc++-v3
32649 maybe-install-html-target-libstdc++-v3: install-html-target-libstdc++-v3
32651 install-html-target-libstdc++-v3: \
32652 configure-target-libstdc++-v3 \
32653 html-target-libstdc++-v3
32654 @: $(MAKE); $(unstage)
32655 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32656 r=`${PWD_COMMAND}`; export r; \
32657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32658 $(RAW_CXX_TARGET_EXPORTS) \
32659 echo "Doing install-html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32660 for flag in $(EXTRA_TARGET_FLAGS); do \
32661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32662 done; \
32663 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32666 "RANLIB=$${RANLIB}" \
32667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32668 install-html) \
32669 || exit 1
32671 @endif target-libstdc++-v3
32673 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
32674 maybe-installcheck-target-libstdc++-v3:
32675 @if target-libstdc++-v3
32676 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
32678 installcheck-target-libstdc++-v3: \
32679 configure-target-libstdc++-v3
32680 @: $(MAKE); $(unstage)
32681 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32682 r=`${PWD_COMMAND}`; export r; \
32683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32684 $(RAW_CXX_TARGET_EXPORTS) \
32685 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32686 for flag in $(EXTRA_TARGET_FLAGS); do \
32687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32688 done; \
32689 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32692 "RANLIB=$${RANLIB}" \
32693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32694 installcheck) \
32695 || exit 1
32697 @endif target-libstdc++-v3
32699 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
32700 maybe-mostlyclean-target-libstdc++-v3:
32701 @if target-libstdc++-v3
32702 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
32704 mostlyclean-target-libstdc++-v3:
32705 @: $(MAKE); $(unstage)
32706 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32707 r=`${PWD_COMMAND}`; export r; \
32708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32709 $(RAW_CXX_TARGET_EXPORTS) \
32710 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32711 for flag in $(EXTRA_TARGET_FLAGS); do \
32712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32713 done; \
32714 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32717 "RANLIB=$${RANLIB}" \
32718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32719 mostlyclean) \
32720 || exit 1
32722 @endif target-libstdc++-v3
32724 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
32725 maybe-clean-target-libstdc++-v3:
32726 @if target-libstdc++-v3
32727 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
32729 clean-target-libstdc++-v3:
32730 @: $(MAKE); $(unstage)
32731 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32732 r=`${PWD_COMMAND}`; export r; \
32733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32734 $(RAW_CXX_TARGET_EXPORTS) \
32735 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32736 for flag in $(EXTRA_TARGET_FLAGS); do \
32737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32738 done; \
32739 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32742 "RANLIB=$${RANLIB}" \
32743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32744 clean) \
32745 || exit 1
32747 @endif target-libstdc++-v3
32749 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
32750 maybe-distclean-target-libstdc++-v3:
32751 @if target-libstdc++-v3
32752 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
32754 distclean-target-libstdc++-v3:
32755 @: $(MAKE); $(unstage)
32756 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32757 r=`${PWD_COMMAND}`; export r; \
32758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32759 $(RAW_CXX_TARGET_EXPORTS) \
32760 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32761 for flag in $(EXTRA_TARGET_FLAGS); do \
32762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32763 done; \
32764 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32767 "RANLIB=$${RANLIB}" \
32768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32769 distclean) \
32770 || exit 1
32772 @endif target-libstdc++-v3
32774 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
32775 maybe-maintainer-clean-target-libstdc++-v3:
32776 @if target-libstdc++-v3
32777 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
32779 maintainer-clean-target-libstdc++-v3:
32780 @: $(MAKE); $(unstage)
32781 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32782 r=`${PWD_COMMAND}`; export r; \
32783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32784 $(RAW_CXX_TARGET_EXPORTS) \
32785 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32786 for flag in $(EXTRA_TARGET_FLAGS); do \
32787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32788 done; \
32789 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32792 "RANLIB=$${RANLIB}" \
32793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32794 maintainer-clean) \
32795 || exit 1
32797 @endif target-libstdc++-v3
32803 .PHONY: configure-target-libsanitizer maybe-configure-target-libsanitizer
32804 maybe-configure-target-libsanitizer:
32805 @if gcc-bootstrap
32806 configure-target-libsanitizer: stage_current
32807 @endif gcc-bootstrap
32808 @if target-libsanitizer
32809 maybe-configure-target-libsanitizer: configure-target-libsanitizer
32810 configure-target-libsanitizer:
32811 @r=`${PWD_COMMAND}`; export r; \
32812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32813 echo "Checking multilib configuration for libsanitizer..."; \
32814 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
32815 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
32816 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
32817 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
32818 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
32819 else \
32820 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
32821 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
32822 fi; \
32823 else \
32824 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
32825 fi; \
32826 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
32827 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
32828 $(RAW_CXX_TARGET_EXPORTS) \
32829 echo Configuring in $(TARGET_SUBDIR)/libsanitizer; \
32830 cd "$(TARGET_SUBDIR)/libsanitizer" || exit 1; \
32831 case $(srcdir) in \
32832 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32833 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
32834 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32835 esac; \
32836 module_srcdir=libsanitizer; \
32837 rm -f no-such-file || : ; \
32838 CONFIG_SITE=no-such-file $(SHELL) \
32839 $$s/$$module_srcdir/configure \
32840 --srcdir=$${topdir}/$$module_srcdir \
32841 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32842 --target=${target_alias} \
32843 || exit 1
32844 @endif target-libsanitizer
32848 .PHONY: configure-stage1-target-libsanitizer maybe-configure-stage1-target-libsanitizer
32849 maybe-configure-stage1-target-libsanitizer:
32850 @if target-libsanitizer-bootstrap
32851 maybe-configure-stage1-target-libsanitizer: configure-stage1-target-libsanitizer
32852 configure-stage1-target-libsanitizer:
32853 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
32854 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
32855 @r=`${PWD_COMMAND}`; export r; \
32856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32857 TFLAGS="$(STAGE1_TFLAGS)"; \
32858 echo "Checking multilib configuration for libsanitizer..."; \
32859 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
32860 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
32861 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
32862 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
32863 else \
32864 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
32865 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
32866 fi; \
32867 else \
32868 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
32869 fi; \
32870 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
32871 $(RAW_CXX_TARGET_EXPORTS) \
32872 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32873 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32874 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32875 echo Configuring stage 1 in $(TARGET_SUBDIR)/libsanitizer ; \
32876 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
32877 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
32878 case $(srcdir) in \
32879 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32880 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
32881 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32882 esac; \
32883 module_srcdir=libsanitizer; \
32884 $(SHELL) $$s/$$module_srcdir/configure \
32885 --srcdir=$${topdir}/$$module_srcdir \
32886 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32887 --target=${target_alias} \
32889 $(STAGE1_CONFIGURE_FLAGS)
32890 @endif target-libsanitizer-bootstrap
32892 .PHONY: configure-stage2-target-libsanitizer maybe-configure-stage2-target-libsanitizer
32893 maybe-configure-stage2-target-libsanitizer:
32894 @if target-libsanitizer-bootstrap
32895 maybe-configure-stage2-target-libsanitizer: configure-stage2-target-libsanitizer
32896 configure-stage2-target-libsanitizer:
32897 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
32898 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
32899 @r=`${PWD_COMMAND}`; export r; \
32900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32901 TFLAGS="$(STAGE2_TFLAGS)"; \
32902 echo "Checking multilib configuration for libsanitizer..."; \
32903 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
32904 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
32905 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
32906 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
32907 else \
32908 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
32909 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
32910 fi; \
32911 else \
32912 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
32913 fi; \
32914 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
32915 $(RAW_CXX_TARGET_EXPORTS) \
32917 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32918 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32919 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32920 echo Configuring stage 2 in $(TARGET_SUBDIR)/libsanitizer ; \
32921 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
32922 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
32923 case $(srcdir) in \
32924 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32925 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
32926 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32927 esac; \
32928 module_srcdir=libsanitizer; \
32929 $(SHELL) $$s/$$module_srcdir/configure \
32930 --srcdir=$${topdir}/$$module_srcdir \
32931 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32932 --target=${target_alias} \
32933 --with-build-libsubdir=$(HOST_SUBDIR) \
32934 $(STAGE2_CONFIGURE_FLAGS)
32935 @endif target-libsanitizer-bootstrap
32937 .PHONY: configure-stage3-target-libsanitizer maybe-configure-stage3-target-libsanitizer
32938 maybe-configure-stage3-target-libsanitizer:
32939 @if target-libsanitizer-bootstrap
32940 maybe-configure-stage3-target-libsanitizer: configure-stage3-target-libsanitizer
32941 configure-stage3-target-libsanitizer:
32942 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
32943 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
32944 @r=`${PWD_COMMAND}`; export r; \
32945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32946 TFLAGS="$(STAGE3_TFLAGS)"; \
32947 echo "Checking multilib configuration for libsanitizer..."; \
32948 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
32949 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
32950 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
32951 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
32952 else \
32953 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
32954 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
32955 fi; \
32956 else \
32957 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
32958 fi; \
32959 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
32960 $(RAW_CXX_TARGET_EXPORTS) \
32962 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32963 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32964 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32965 echo Configuring stage 3 in $(TARGET_SUBDIR)/libsanitizer ; \
32966 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
32967 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
32968 case $(srcdir) in \
32969 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32970 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
32971 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32972 esac; \
32973 module_srcdir=libsanitizer; \
32974 $(SHELL) $$s/$$module_srcdir/configure \
32975 --srcdir=$${topdir}/$$module_srcdir \
32976 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32977 --target=${target_alias} \
32978 --with-build-libsubdir=$(HOST_SUBDIR) \
32979 $(STAGE3_CONFIGURE_FLAGS)
32980 @endif target-libsanitizer-bootstrap
32982 .PHONY: configure-stage4-target-libsanitizer maybe-configure-stage4-target-libsanitizer
32983 maybe-configure-stage4-target-libsanitizer:
32984 @if target-libsanitizer-bootstrap
32985 maybe-configure-stage4-target-libsanitizer: configure-stage4-target-libsanitizer
32986 configure-stage4-target-libsanitizer:
32987 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
32988 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
32989 @r=`${PWD_COMMAND}`; export r; \
32990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32991 TFLAGS="$(STAGE4_TFLAGS)"; \
32992 echo "Checking multilib configuration for libsanitizer..."; \
32993 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
32994 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
32995 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
32996 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
32997 else \
32998 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
32999 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33000 fi; \
33001 else \
33002 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33003 fi; \
33004 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
33005 $(RAW_CXX_TARGET_EXPORTS) \
33007 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33008 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33009 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33010 echo Configuring stage 4 in $(TARGET_SUBDIR)/libsanitizer ; \
33011 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
33012 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
33013 case $(srcdir) in \
33014 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33015 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
33016 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33017 esac; \
33018 module_srcdir=libsanitizer; \
33019 $(SHELL) $$s/$$module_srcdir/configure \
33020 --srcdir=$${topdir}/$$module_srcdir \
33021 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33022 --target=${target_alias} \
33023 --with-build-libsubdir=$(HOST_SUBDIR) \
33024 $(STAGE4_CONFIGURE_FLAGS)
33025 @endif target-libsanitizer-bootstrap
33027 .PHONY: configure-stageprofile-target-libsanitizer maybe-configure-stageprofile-target-libsanitizer
33028 maybe-configure-stageprofile-target-libsanitizer:
33029 @if target-libsanitizer-bootstrap
33030 maybe-configure-stageprofile-target-libsanitizer: configure-stageprofile-target-libsanitizer
33031 configure-stageprofile-target-libsanitizer:
33032 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
33033 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
33034 @r=`${PWD_COMMAND}`; export r; \
33035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33036 TFLAGS="$(STAGEprofile_TFLAGS)"; \
33037 echo "Checking multilib configuration for libsanitizer..."; \
33038 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
33039 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33040 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33041 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
33042 else \
33043 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
33044 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33045 fi; \
33046 else \
33047 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33048 fi; \
33049 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
33050 $(RAW_CXX_TARGET_EXPORTS) \
33052 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33053 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33054 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33055 echo Configuring stage profile in $(TARGET_SUBDIR)/libsanitizer ; \
33056 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
33057 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
33058 case $(srcdir) in \
33059 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33060 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
33061 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33062 esac; \
33063 module_srcdir=libsanitizer; \
33064 $(SHELL) $$s/$$module_srcdir/configure \
33065 --srcdir=$${topdir}/$$module_srcdir \
33066 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33067 --target=${target_alias} \
33068 --with-build-libsubdir=$(HOST_SUBDIR) \
33069 $(STAGEprofile_CONFIGURE_FLAGS)
33070 @endif target-libsanitizer-bootstrap
33072 .PHONY: configure-stagefeedback-target-libsanitizer maybe-configure-stagefeedback-target-libsanitizer
33073 maybe-configure-stagefeedback-target-libsanitizer:
33074 @if target-libsanitizer-bootstrap
33075 maybe-configure-stagefeedback-target-libsanitizer: configure-stagefeedback-target-libsanitizer
33076 configure-stagefeedback-target-libsanitizer:
33077 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
33078 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
33079 @r=`${PWD_COMMAND}`; export r; \
33080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33081 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
33082 echo "Checking multilib configuration for libsanitizer..."; \
33083 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
33084 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33085 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33086 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
33087 else \
33088 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
33089 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33090 fi; \
33091 else \
33092 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33093 fi; \
33094 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
33095 $(RAW_CXX_TARGET_EXPORTS) \
33097 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33098 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33099 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33100 echo Configuring stage feedback in $(TARGET_SUBDIR)/libsanitizer ; \
33101 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
33102 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
33103 case $(srcdir) in \
33104 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33105 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
33106 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33107 esac; \
33108 module_srcdir=libsanitizer; \
33109 $(SHELL) $$s/$$module_srcdir/configure \
33110 --srcdir=$${topdir}/$$module_srcdir \
33111 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33112 --target=${target_alias} \
33113 --with-build-libsubdir=$(HOST_SUBDIR) \
33114 $(STAGEfeedback_CONFIGURE_FLAGS)
33115 @endif target-libsanitizer-bootstrap
33121 .PHONY: all-target-libsanitizer maybe-all-target-libsanitizer
33122 maybe-all-target-libsanitizer:
33123 @if gcc-bootstrap
33124 all-target-libsanitizer: stage_current
33125 @endif gcc-bootstrap
33126 @if target-libsanitizer
33127 TARGET-target-libsanitizer=all
33128 maybe-all-target-libsanitizer: all-target-libsanitizer
33129 all-target-libsanitizer: configure-target-libsanitizer
33130 @r=`${PWD_COMMAND}`; export r; \
33131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33132 $(RAW_CXX_TARGET_EXPORTS) \
33133 (cd $(TARGET_SUBDIR)/libsanitizer && \
33134 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33135 $(TARGET-target-libsanitizer))
33136 @endif target-libsanitizer
33140 .PHONY: all-stage1-target-libsanitizer maybe-all-stage1-target-libsanitizer
33141 .PHONY: clean-stage1-target-libsanitizer maybe-clean-stage1-target-libsanitizer
33142 maybe-all-stage1-target-libsanitizer:
33143 maybe-clean-stage1-target-libsanitizer:
33144 @if target-libsanitizer-bootstrap
33145 maybe-all-stage1-target-libsanitizer: all-stage1-target-libsanitizer
33146 all-stage1: all-stage1-target-libsanitizer
33147 TARGET-stage1-target-libsanitizer = $(TARGET-target-libsanitizer)
33148 all-stage1-target-libsanitizer: configure-stage1-target-libsanitizer
33149 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
33150 @r=`${PWD_COMMAND}`; export r; \
33151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33152 TFLAGS="$(STAGE1_TFLAGS)"; \
33153 $(RAW_CXX_TARGET_EXPORTS) \
33154 cd $(TARGET_SUBDIR)/libsanitizer && \
33155 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33156 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33157 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33158 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33159 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33160 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33161 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33162 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33164 TFLAGS="$(STAGE1_TFLAGS)" \
33165 $(TARGET-stage1-target-libsanitizer)
33167 maybe-clean-stage1-target-libsanitizer: clean-stage1-target-libsanitizer
33168 clean-stage1: clean-stage1-target-libsanitizer
33169 clean-stage1-target-libsanitizer:
33170 @if [ $(current_stage) = stage1 ]; then \
33171 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
33172 else \
33173 [ -f $(TARGET_SUBDIR)/stage1-libsanitizer/Makefile ] || exit 0; \
33174 $(MAKE) stage1-start; \
33175 fi; \
33176 cd $(TARGET_SUBDIR)/libsanitizer && \
33177 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33178 clean
33179 @endif target-libsanitizer-bootstrap
33182 .PHONY: all-stage2-target-libsanitizer maybe-all-stage2-target-libsanitizer
33183 .PHONY: clean-stage2-target-libsanitizer maybe-clean-stage2-target-libsanitizer
33184 maybe-all-stage2-target-libsanitizer:
33185 maybe-clean-stage2-target-libsanitizer:
33186 @if target-libsanitizer-bootstrap
33187 maybe-all-stage2-target-libsanitizer: all-stage2-target-libsanitizer
33188 all-stage2: all-stage2-target-libsanitizer
33189 TARGET-stage2-target-libsanitizer = $(TARGET-target-libsanitizer)
33190 all-stage2-target-libsanitizer: configure-stage2-target-libsanitizer
33191 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
33192 @r=`${PWD_COMMAND}`; export r; \
33193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33194 TFLAGS="$(STAGE2_TFLAGS)"; \
33195 $(RAW_CXX_TARGET_EXPORTS) \
33197 cd $(TARGET_SUBDIR)/libsanitizer && \
33198 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33199 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33200 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33201 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33202 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33203 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33204 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33205 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33206 TFLAGS="$(STAGE2_TFLAGS)" \
33207 $(TARGET-stage2-target-libsanitizer)
33209 maybe-clean-stage2-target-libsanitizer: clean-stage2-target-libsanitizer
33210 clean-stage2: clean-stage2-target-libsanitizer
33211 clean-stage2-target-libsanitizer:
33212 @if [ $(current_stage) = stage2 ]; then \
33213 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
33214 else \
33215 [ -f $(TARGET_SUBDIR)/stage2-libsanitizer/Makefile ] || exit 0; \
33216 $(MAKE) stage2-start; \
33217 fi; \
33218 cd $(TARGET_SUBDIR)/libsanitizer && \
33219 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
33220 @endif target-libsanitizer-bootstrap
33223 .PHONY: all-stage3-target-libsanitizer maybe-all-stage3-target-libsanitizer
33224 .PHONY: clean-stage3-target-libsanitizer maybe-clean-stage3-target-libsanitizer
33225 maybe-all-stage3-target-libsanitizer:
33226 maybe-clean-stage3-target-libsanitizer:
33227 @if target-libsanitizer-bootstrap
33228 maybe-all-stage3-target-libsanitizer: all-stage3-target-libsanitizer
33229 all-stage3: all-stage3-target-libsanitizer
33230 TARGET-stage3-target-libsanitizer = $(TARGET-target-libsanitizer)
33231 all-stage3-target-libsanitizer: configure-stage3-target-libsanitizer
33232 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
33233 @r=`${PWD_COMMAND}`; export r; \
33234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33235 TFLAGS="$(STAGE3_TFLAGS)"; \
33236 $(RAW_CXX_TARGET_EXPORTS) \
33238 cd $(TARGET_SUBDIR)/libsanitizer && \
33239 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33240 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33241 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33242 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33243 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33244 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33245 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33246 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33247 TFLAGS="$(STAGE3_TFLAGS)" \
33248 $(TARGET-stage3-target-libsanitizer)
33250 maybe-clean-stage3-target-libsanitizer: clean-stage3-target-libsanitizer
33251 clean-stage3: clean-stage3-target-libsanitizer
33252 clean-stage3-target-libsanitizer:
33253 @if [ $(current_stage) = stage3 ]; then \
33254 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
33255 else \
33256 [ -f $(TARGET_SUBDIR)/stage3-libsanitizer/Makefile ] || exit 0; \
33257 $(MAKE) stage3-start; \
33258 fi; \
33259 cd $(TARGET_SUBDIR)/libsanitizer && \
33260 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
33261 @endif target-libsanitizer-bootstrap
33264 .PHONY: all-stage4-target-libsanitizer maybe-all-stage4-target-libsanitizer
33265 .PHONY: clean-stage4-target-libsanitizer maybe-clean-stage4-target-libsanitizer
33266 maybe-all-stage4-target-libsanitizer:
33267 maybe-clean-stage4-target-libsanitizer:
33268 @if target-libsanitizer-bootstrap
33269 maybe-all-stage4-target-libsanitizer: all-stage4-target-libsanitizer
33270 all-stage4: all-stage4-target-libsanitizer
33271 TARGET-stage4-target-libsanitizer = $(TARGET-target-libsanitizer)
33272 all-stage4-target-libsanitizer: configure-stage4-target-libsanitizer
33273 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
33274 @r=`${PWD_COMMAND}`; export r; \
33275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33276 TFLAGS="$(STAGE4_TFLAGS)"; \
33277 $(RAW_CXX_TARGET_EXPORTS) \
33279 cd $(TARGET_SUBDIR)/libsanitizer && \
33280 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33281 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33282 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33283 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33284 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33285 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33286 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33287 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33288 TFLAGS="$(STAGE4_TFLAGS)" \
33289 $(TARGET-stage4-target-libsanitizer)
33291 maybe-clean-stage4-target-libsanitizer: clean-stage4-target-libsanitizer
33292 clean-stage4: clean-stage4-target-libsanitizer
33293 clean-stage4-target-libsanitizer:
33294 @if [ $(current_stage) = stage4 ]; then \
33295 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
33296 else \
33297 [ -f $(TARGET_SUBDIR)/stage4-libsanitizer/Makefile ] || exit 0; \
33298 $(MAKE) stage4-start; \
33299 fi; \
33300 cd $(TARGET_SUBDIR)/libsanitizer && \
33301 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
33302 @endif target-libsanitizer-bootstrap
33305 .PHONY: all-stageprofile-target-libsanitizer maybe-all-stageprofile-target-libsanitizer
33306 .PHONY: clean-stageprofile-target-libsanitizer maybe-clean-stageprofile-target-libsanitizer
33307 maybe-all-stageprofile-target-libsanitizer:
33308 maybe-clean-stageprofile-target-libsanitizer:
33309 @if target-libsanitizer-bootstrap
33310 maybe-all-stageprofile-target-libsanitizer: all-stageprofile-target-libsanitizer
33311 all-stageprofile: all-stageprofile-target-libsanitizer
33312 TARGET-stageprofile-target-libsanitizer = $(TARGET-target-libsanitizer)
33313 all-stageprofile-target-libsanitizer: configure-stageprofile-target-libsanitizer
33314 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
33315 @r=`${PWD_COMMAND}`; export r; \
33316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33317 TFLAGS="$(STAGEprofile_TFLAGS)"; \
33318 $(RAW_CXX_TARGET_EXPORTS) \
33320 cd $(TARGET_SUBDIR)/libsanitizer && \
33321 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33322 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33323 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33324 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33325 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33326 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33327 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33328 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33329 TFLAGS="$(STAGEprofile_TFLAGS)" \
33330 $(TARGET-stageprofile-target-libsanitizer)
33332 maybe-clean-stageprofile-target-libsanitizer: clean-stageprofile-target-libsanitizer
33333 clean-stageprofile: clean-stageprofile-target-libsanitizer
33334 clean-stageprofile-target-libsanitizer:
33335 @if [ $(current_stage) = stageprofile ]; then \
33336 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
33337 else \
33338 [ -f $(TARGET_SUBDIR)/stageprofile-libsanitizer/Makefile ] || exit 0; \
33339 $(MAKE) stageprofile-start; \
33340 fi; \
33341 cd $(TARGET_SUBDIR)/libsanitizer && \
33342 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
33343 @endif target-libsanitizer-bootstrap
33346 .PHONY: all-stagefeedback-target-libsanitizer maybe-all-stagefeedback-target-libsanitizer
33347 .PHONY: clean-stagefeedback-target-libsanitizer maybe-clean-stagefeedback-target-libsanitizer
33348 maybe-all-stagefeedback-target-libsanitizer:
33349 maybe-clean-stagefeedback-target-libsanitizer:
33350 @if target-libsanitizer-bootstrap
33351 maybe-all-stagefeedback-target-libsanitizer: all-stagefeedback-target-libsanitizer
33352 all-stagefeedback: all-stagefeedback-target-libsanitizer
33353 TARGET-stagefeedback-target-libsanitizer = $(TARGET-target-libsanitizer)
33354 all-stagefeedback-target-libsanitizer: configure-stagefeedback-target-libsanitizer
33355 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
33356 @r=`${PWD_COMMAND}`; export r; \
33357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33358 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
33359 $(RAW_CXX_TARGET_EXPORTS) \
33361 cd $(TARGET_SUBDIR)/libsanitizer && \
33362 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33363 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33364 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33365 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33366 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33367 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33368 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33369 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33370 TFLAGS="$(STAGEfeedback_TFLAGS)" \
33371 $(TARGET-stagefeedback-target-libsanitizer)
33373 maybe-clean-stagefeedback-target-libsanitizer: clean-stagefeedback-target-libsanitizer
33374 clean-stagefeedback: clean-stagefeedback-target-libsanitizer
33375 clean-stagefeedback-target-libsanitizer:
33376 @if [ $(current_stage) = stagefeedback ]; then \
33377 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
33378 else \
33379 [ -f $(TARGET_SUBDIR)/stagefeedback-libsanitizer/Makefile ] || exit 0; \
33380 $(MAKE) stagefeedback-start; \
33381 fi; \
33382 cd $(TARGET_SUBDIR)/libsanitizer && \
33383 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
33384 @endif target-libsanitizer-bootstrap
33391 .PHONY: check-target-libsanitizer maybe-check-target-libsanitizer
33392 maybe-check-target-libsanitizer:
33393 @if target-libsanitizer
33394 maybe-check-target-libsanitizer: check-target-libsanitizer
33396 check-target-libsanitizer:
33397 @: $(MAKE); $(unstage)
33398 @r=`${PWD_COMMAND}`; export r; \
33399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33400 $(RAW_CXX_TARGET_EXPORTS) \
33401 (cd $(TARGET_SUBDIR)/libsanitizer && \
33402 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
33404 @endif target-libsanitizer
33406 .PHONY: install-target-libsanitizer maybe-install-target-libsanitizer
33407 maybe-install-target-libsanitizer:
33408 @if target-libsanitizer
33409 maybe-install-target-libsanitizer: install-target-libsanitizer
33411 install-target-libsanitizer: installdirs
33412 @: $(MAKE); $(unstage)
33413 @r=`${PWD_COMMAND}`; export r; \
33414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33415 $(RAW_CXX_TARGET_EXPORTS) \
33416 (cd $(TARGET_SUBDIR)/libsanitizer && \
33417 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33419 @endif target-libsanitizer
33421 .PHONY: install-strip-target-libsanitizer maybe-install-strip-target-libsanitizer
33422 maybe-install-strip-target-libsanitizer:
33423 @if target-libsanitizer
33424 maybe-install-strip-target-libsanitizer: install-strip-target-libsanitizer
33426 install-strip-target-libsanitizer: installdirs
33427 @: $(MAKE); $(unstage)
33428 @r=`${PWD_COMMAND}`; export r; \
33429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33430 $(RAW_CXX_TARGET_EXPORTS) \
33431 (cd $(TARGET_SUBDIR)/libsanitizer && \
33432 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
33434 @endif target-libsanitizer
33436 # Other targets (info, dvi, pdf, etc.)
33438 .PHONY: maybe-info-target-libsanitizer info-target-libsanitizer
33439 maybe-info-target-libsanitizer:
33440 @if target-libsanitizer
33441 maybe-info-target-libsanitizer: info-target-libsanitizer
33443 info-target-libsanitizer: \
33444 configure-target-libsanitizer
33445 @: $(MAKE); $(unstage)
33446 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33447 r=`${PWD_COMMAND}`; export r; \
33448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33449 $(RAW_CXX_TARGET_EXPORTS) \
33450 echo "Doing info in $(TARGET_SUBDIR)/libsanitizer" ; \
33451 for flag in $(EXTRA_TARGET_FLAGS); do \
33452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33453 done; \
33454 (cd $(TARGET_SUBDIR)/libsanitizer && \
33455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33457 "RANLIB=$${RANLIB}" \
33458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33459 info) \
33460 || exit 1
33462 @endif target-libsanitizer
33464 .PHONY: maybe-dvi-target-libsanitizer dvi-target-libsanitizer
33465 maybe-dvi-target-libsanitizer:
33466 @if target-libsanitizer
33467 maybe-dvi-target-libsanitizer: dvi-target-libsanitizer
33469 dvi-target-libsanitizer: \
33470 configure-target-libsanitizer
33471 @: $(MAKE); $(unstage)
33472 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33473 r=`${PWD_COMMAND}`; export r; \
33474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33475 $(RAW_CXX_TARGET_EXPORTS) \
33476 echo "Doing dvi in $(TARGET_SUBDIR)/libsanitizer" ; \
33477 for flag in $(EXTRA_TARGET_FLAGS); do \
33478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33479 done; \
33480 (cd $(TARGET_SUBDIR)/libsanitizer && \
33481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33483 "RANLIB=$${RANLIB}" \
33484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33485 dvi) \
33486 || exit 1
33488 @endif target-libsanitizer
33490 .PHONY: maybe-pdf-target-libsanitizer pdf-target-libsanitizer
33491 maybe-pdf-target-libsanitizer:
33492 @if target-libsanitizer
33493 maybe-pdf-target-libsanitizer: pdf-target-libsanitizer
33495 pdf-target-libsanitizer: \
33496 configure-target-libsanitizer
33497 @: $(MAKE); $(unstage)
33498 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33499 r=`${PWD_COMMAND}`; export r; \
33500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33501 $(RAW_CXX_TARGET_EXPORTS) \
33502 echo "Doing pdf in $(TARGET_SUBDIR)/libsanitizer" ; \
33503 for flag in $(EXTRA_TARGET_FLAGS); do \
33504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33505 done; \
33506 (cd $(TARGET_SUBDIR)/libsanitizer && \
33507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33509 "RANLIB=$${RANLIB}" \
33510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33511 pdf) \
33512 || exit 1
33514 @endif target-libsanitizer
33516 .PHONY: maybe-html-target-libsanitizer html-target-libsanitizer
33517 maybe-html-target-libsanitizer:
33518 @if target-libsanitizer
33519 maybe-html-target-libsanitizer: html-target-libsanitizer
33521 html-target-libsanitizer: \
33522 configure-target-libsanitizer
33523 @: $(MAKE); $(unstage)
33524 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33525 r=`${PWD_COMMAND}`; export r; \
33526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33527 $(RAW_CXX_TARGET_EXPORTS) \
33528 echo "Doing html in $(TARGET_SUBDIR)/libsanitizer" ; \
33529 for flag in $(EXTRA_TARGET_FLAGS); do \
33530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33531 done; \
33532 (cd $(TARGET_SUBDIR)/libsanitizer && \
33533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33535 "RANLIB=$${RANLIB}" \
33536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33537 html) \
33538 || exit 1
33540 @endif target-libsanitizer
33542 .PHONY: maybe-TAGS-target-libsanitizer TAGS-target-libsanitizer
33543 maybe-TAGS-target-libsanitizer:
33544 @if target-libsanitizer
33545 maybe-TAGS-target-libsanitizer: TAGS-target-libsanitizer
33547 TAGS-target-libsanitizer: \
33548 configure-target-libsanitizer
33549 @: $(MAKE); $(unstage)
33550 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33551 r=`${PWD_COMMAND}`; export r; \
33552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33553 $(RAW_CXX_TARGET_EXPORTS) \
33554 echo "Doing TAGS in $(TARGET_SUBDIR)/libsanitizer" ; \
33555 for flag in $(EXTRA_TARGET_FLAGS); do \
33556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33557 done; \
33558 (cd $(TARGET_SUBDIR)/libsanitizer && \
33559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33561 "RANLIB=$${RANLIB}" \
33562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33563 TAGS) \
33564 || exit 1
33566 @endif target-libsanitizer
33568 .PHONY: maybe-install-info-target-libsanitizer install-info-target-libsanitizer
33569 maybe-install-info-target-libsanitizer:
33570 @if target-libsanitizer
33571 maybe-install-info-target-libsanitizer: install-info-target-libsanitizer
33573 install-info-target-libsanitizer: \
33574 configure-target-libsanitizer \
33575 info-target-libsanitizer
33576 @: $(MAKE); $(unstage)
33577 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33578 r=`${PWD_COMMAND}`; export r; \
33579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33580 $(RAW_CXX_TARGET_EXPORTS) \
33581 echo "Doing install-info in $(TARGET_SUBDIR)/libsanitizer" ; \
33582 for flag in $(EXTRA_TARGET_FLAGS); do \
33583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33584 done; \
33585 (cd $(TARGET_SUBDIR)/libsanitizer && \
33586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33588 "RANLIB=$${RANLIB}" \
33589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33590 install-info) \
33591 || exit 1
33593 @endif target-libsanitizer
33595 .PHONY: maybe-install-pdf-target-libsanitizer install-pdf-target-libsanitizer
33596 maybe-install-pdf-target-libsanitizer:
33597 @if target-libsanitizer
33598 maybe-install-pdf-target-libsanitizer: install-pdf-target-libsanitizer
33600 install-pdf-target-libsanitizer: \
33601 configure-target-libsanitizer \
33602 pdf-target-libsanitizer
33603 @: $(MAKE); $(unstage)
33604 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33605 r=`${PWD_COMMAND}`; export r; \
33606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33607 $(RAW_CXX_TARGET_EXPORTS) \
33608 echo "Doing install-pdf in $(TARGET_SUBDIR)/libsanitizer" ; \
33609 for flag in $(EXTRA_TARGET_FLAGS); do \
33610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33611 done; \
33612 (cd $(TARGET_SUBDIR)/libsanitizer && \
33613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33615 "RANLIB=$${RANLIB}" \
33616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33617 install-pdf) \
33618 || exit 1
33620 @endif target-libsanitizer
33622 .PHONY: maybe-install-html-target-libsanitizer install-html-target-libsanitizer
33623 maybe-install-html-target-libsanitizer:
33624 @if target-libsanitizer
33625 maybe-install-html-target-libsanitizer: install-html-target-libsanitizer
33627 install-html-target-libsanitizer: \
33628 configure-target-libsanitizer \
33629 html-target-libsanitizer
33630 @: $(MAKE); $(unstage)
33631 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33632 r=`${PWD_COMMAND}`; export r; \
33633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33634 $(RAW_CXX_TARGET_EXPORTS) \
33635 echo "Doing install-html in $(TARGET_SUBDIR)/libsanitizer" ; \
33636 for flag in $(EXTRA_TARGET_FLAGS); do \
33637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33638 done; \
33639 (cd $(TARGET_SUBDIR)/libsanitizer && \
33640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33642 "RANLIB=$${RANLIB}" \
33643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33644 install-html) \
33645 || exit 1
33647 @endif target-libsanitizer
33649 .PHONY: maybe-installcheck-target-libsanitizer installcheck-target-libsanitizer
33650 maybe-installcheck-target-libsanitizer:
33651 @if target-libsanitizer
33652 maybe-installcheck-target-libsanitizer: installcheck-target-libsanitizer
33654 installcheck-target-libsanitizer: \
33655 configure-target-libsanitizer
33656 @: $(MAKE); $(unstage)
33657 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33658 r=`${PWD_COMMAND}`; export r; \
33659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33660 $(RAW_CXX_TARGET_EXPORTS) \
33661 echo "Doing installcheck in $(TARGET_SUBDIR)/libsanitizer" ; \
33662 for flag in $(EXTRA_TARGET_FLAGS); do \
33663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33664 done; \
33665 (cd $(TARGET_SUBDIR)/libsanitizer && \
33666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33668 "RANLIB=$${RANLIB}" \
33669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33670 installcheck) \
33671 || exit 1
33673 @endif target-libsanitizer
33675 .PHONY: maybe-mostlyclean-target-libsanitizer mostlyclean-target-libsanitizer
33676 maybe-mostlyclean-target-libsanitizer:
33677 @if target-libsanitizer
33678 maybe-mostlyclean-target-libsanitizer: mostlyclean-target-libsanitizer
33680 mostlyclean-target-libsanitizer:
33681 @: $(MAKE); $(unstage)
33682 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33683 r=`${PWD_COMMAND}`; export r; \
33684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33685 $(RAW_CXX_TARGET_EXPORTS) \
33686 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libsanitizer" ; \
33687 for flag in $(EXTRA_TARGET_FLAGS); do \
33688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33689 done; \
33690 (cd $(TARGET_SUBDIR)/libsanitizer && \
33691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33693 "RANLIB=$${RANLIB}" \
33694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33695 mostlyclean) \
33696 || exit 1
33698 @endif target-libsanitizer
33700 .PHONY: maybe-clean-target-libsanitizer clean-target-libsanitizer
33701 maybe-clean-target-libsanitizer:
33702 @if target-libsanitizer
33703 maybe-clean-target-libsanitizer: clean-target-libsanitizer
33705 clean-target-libsanitizer:
33706 @: $(MAKE); $(unstage)
33707 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33708 r=`${PWD_COMMAND}`; export r; \
33709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33710 $(RAW_CXX_TARGET_EXPORTS) \
33711 echo "Doing clean in $(TARGET_SUBDIR)/libsanitizer" ; \
33712 for flag in $(EXTRA_TARGET_FLAGS); do \
33713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33714 done; \
33715 (cd $(TARGET_SUBDIR)/libsanitizer && \
33716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33718 "RANLIB=$${RANLIB}" \
33719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33720 clean) \
33721 || exit 1
33723 @endif target-libsanitizer
33725 .PHONY: maybe-distclean-target-libsanitizer distclean-target-libsanitizer
33726 maybe-distclean-target-libsanitizer:
33727 @if target-libsanitizer
33728 maybe-distclean-target-libsanitizer: distclean-target-libsanitizer
33730 distclean-target-libsanitizer:
33731 @: $(MAKE); $(unstage)
33732 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33733 r=`${PWD_COMMAND}`; export r; \
33734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33735 $(RAW_CXX_TARGET_EXPORTS) \
33736 echo "Doing distclean in $(TARGET_SUBDIR)/libsanitizer" ; \
33737 for flag in $(EXTRA_TARGET_FLAGS); do \
33738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33739 done; \
33740 (cd $(TARGET_SUBDIR)/libsanitizer && \
33741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33743 "RANLIB=$${RANLIB}" \
33744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33745 distclean) \
33746 || exit 1
33748 @endif target-libsanitizer
33750 .PHONY: maybe-maintainer-clean-target-libsanitizer maintainer-clean-target-libsanitizer
33751 maybe-maintainer-clean-target-libsanitizer:
33752 @if target-libsanitizer
33753 maybe-maintainer-clean-target-libsanitizer: maintainer-clean-target-libsanitizer
33755 maintainer-clean-target-libsanitizer:
33756 @: $(MAKE); $(unstage)
33757 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33758 r=`${PWD_COMMAND}`; export r; \
33759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33760 $(RAW_CXX_TARGET_EXPORTS) \
33761 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libsanitizer" ; \
33762 for flag in $(EXTRA_TARGET_FLAGS); do \
33763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33764 done; \
33765 (cd $(TARGET_SUBDIR)/libsanitizer && \
33766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33768 "RANLIB=$${RANLIB}" \
33769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33770 maintainer-clean) \
33771 || exit 1
33773 @endif target-libsanitizer
33779 .PHONY: configure-target-libvtv maybe-configure-target-libvtv
33780 maybe-configure-target-libvtv:
33781 @if gcc-bootstrap
33782 configure-target-libvtv: stage_current
33783 @endif gcc-bootstrap
33784 @if target-libvtv
33785 maybe-configure-target-libvtv: configure-target-libvtv
33786 configure-target-libvtv:
33787 @r=`${PWD_COMMAND}`; export r; \
33788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33789 echo "Checking multilib configuration for libvtv..."; \
33790 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
33791 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
33792 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
33793 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
33794 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
33795 else \
33796 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
33797 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
33798 fi; \
33799 else \
33800 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
33801 fi; \
33802 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
33803 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
33804 $(RAW_CXX_TARGET_EXPORTS) \
33805 echo Configuring in $(TARGET_SUBDIR)/libvtv; \
33806 cd "$(TARGET_SUBDIR)/libvtv" || exit 1; \
33807 case $(srcdir) in \
33808 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33809 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
33810 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33811 esac; \
33812 module_srcdir=libvtv; \
33813 rm -f no-such-file || : ; \
33814 CONFIG_SITE=no-such-file $(SHELL) \
33815 $$s/$$module_srcdir/configure \
33816 --srcdir=$${topdir}/$$module_srcdir \
33817 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33818 --target=${target_alias} \
33819 || exit 1
33820 @endif target-libvtv
33824 .PHONY: configure-stage1-target-libvtv maybe-configure-stage1-target-libvtv
33825 maybe-configure-stage1-target-libvtv:
33826 @if target-libvtv-bootstrap
33827 maybe-configure-stage1-target-libvtv: configure-stage1-target-libvtv
33828 configure-stage1-target-libvtv:
33829 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
33830 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
33831 @r=`${PWD_COMMAND}`; export r; \
33832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33833 TFLAGS="$(STAGE1_TFLAGS)"; \
33834 echo "Checking multilib configuration for libvtv..."; \
33835 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
33836 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
33837 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
33838 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
33839 else \
33840 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
33841 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
33842 fi; \
33843 else \
33844 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
33845 fi; \
33846 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
33847 $(RAW_CXX_TARGET_EXPORTS) \
33848 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33849 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33850 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33851 echo Configuring stage 1 in $(TARGET_SUBDIR)/libvtv ; \
33852 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
33853 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
33854 case $(srcdir) in \
33855 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33856 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
33857 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33858 esac; \
33859 module_srcdir=libvtv; \
33860 $(SHELL) $$s/$$module_srcdir/configure \
33861 --srcdir=$${topdir}/$$module_srcdir \
33862 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33863 --target=${target_alias} \
33865 $(STAGE1_CONFIGURE_FLAGS)
33866 @endif target-libvtv-bootstrap
33868 .PHONY: configure-stage2-target-libvtv maybe-configure-stage2-target-libvtv
33869 maybe-configure-stage2-target-libvtv:
33870 @if target-libvtv-bootstrap
33871 maybe-configure-stage2-target-libvtv: configure-stage2-target-libvtv
33872 configure-stage2-target-libvtv:
33873 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
33874 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
33875 @r=`${PWD_COMMAND}`; export r; \
33876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33877 TFLAGS="$(STAGE2_TFLAGS)"; \
33878 echo "Checking multilib configuration for libvtv..."; \
33879 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
33880 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
33881 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
33882 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
33883 else \
33884 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
33885 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
33886 fi; \
33887 else \
33888 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
33889 fi; \
33890 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
33891 $(RAW_CXX_TARGET_EXPORTS) \
33893 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33894 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33895 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33896 echo Configuring stage 2 in $(TARGET_SUBDIR)/libvtv ; \
33897 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
33898 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
33899 case $(srcdir) in \
33900 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33901 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
33902 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33903 esac; \
33904 module_srcdir=libvtv; \
33905 $(SHELL) $$s/$$module_srcdir/configure \
33906 --srcdir=$${topdir}/$$module_srcdir \
33907 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33908 --target=${target_alias} \
33909 --with-build-libsubdir=$(HOST_SUBDIR) \
33910 $(STAGE2_CONFIGURE_FLAGS)
33911 @endif target-libvtv-bootstrap
33913 .PHONY: configure-stage3-target-libvtv maybe-configure-stage3-target-libvtv
33914 maybe-configure-stage3-target-libvtv:
33915 @if target-libvtv-bootstrap
33916 maybe-configure-stage3-target-libvtv: configure-stage3-target-libvtv
33917 configure-stage3-target-libvtv:
33918 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
33919 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
33920 @r=`${PWD_COMMAND}`; export r; \
33921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33922 TFLAGS="$(STAGE3_TFLAGS)"; \
33923 echo "Checking multilib configuration for libvtv..."; \
33924 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
33925 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
33926 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
33927 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
33928 else \
33929 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
33930 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
33931 fi; \
33932 else \
33933 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
33934 fi; \
33935 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
33936 $(RAW_CXX_TARGET_EXPORTS) \
33938 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33939 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33940 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33941 echo Configuring stage 3 in $(TARGET_SUBDIR)/libvtv ; \
33942 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
33943 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
33944 case $(srcdir) in \
33945 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33946 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
33947 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33948 esac; \
33949 module_srcdir=libvtv; \
33950 $(SHELL) $$s/$$module_srcdir/configure \
33951 --srcdir=$${topdir}/$$module_srcdir \
33952 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33953 --target=${target_alias} \
33954 --with-build-libsubdir=$(HOST_SUBDIR) \
33955 $(STAGE3_CONFIGURE_FLAGS)
33956 @endif target-libvtv-bootstrap
33958 .PHONY: configure-stage4-target-libvtv maybe-configure-stage4-target-libvtv
33959 maybe-configure-stage4-target-libvtv:
33960 @if target-libvtv-bootstrap
33961 maybe-configure-stage4-target-libvtv: configure-stage4-target-libvtv
33962 configure-stage4-target-libvtv:
33963 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
33964 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
33965 @r=`${PWD_COMMAND}`; export r; \
33966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33967 TFLAGS="$(STAGE4_TFLAGS)"; \
33968 echo "Checking multilib configuration for libvtv..."; \
33969 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
33970 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
33971 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
33972 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
33973 else \
33974 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
33975 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
33976 fi; \
33977 else \
33978 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
33979 fi; \
33980 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
33981 $(RAW_CXX_TARGET_EXPORTS) \
33983 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33984 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33985 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33986 echo Configuring stage 4 in $(TARGET_SUBDIR)/libvtv ; \
33987 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
33988 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
33989 case $(srcdir) in \
33990 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33991 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
33992 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33993 esac; \
33994 module_srcdir=libvtv; \
33995 $(SHELL) $$s/$$module_srcdir/configure \
33996 --srcdir=$${topdir}/$$module_srcdir \
33997 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33998 --target=${target_alias} \
33999 --with-build-libsubdir=$(HOST_SUBDIR) \
34000 $(STAGE4_CONFIGURE_FLAGS)
34001 @endif target-libvtv-bootstrap
34003 .PHONY: configure-stageprofile-target-libvtv maybe-configure-stageprofile-target-libvtv
34004 maybe-configure-stageprofile-target-libvtv:
34005 @if target-libvtv-bootstrap
34006 maybe-configure-stageprofile-target-libvtv: configure-stageprofile-target-libvtv
34007 configure-stageprofile-target-libvtv:
34008 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
34009 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
34010 @r=`${PWD_COMMAND}`; export r; \
34011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34012 TFLAGS="$(STAGEprofile_TFLAGS)"; \
34013 echo "Checking multilib configuration for libvtv..."; \
34014 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
34015 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
34016 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
34017 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
34018 else \
34019 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
34020 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
34021 fi; \
34022 else \
34023 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
34024 fi; \
34025 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
34026 $(RAW_CXX_TARGET_EXPORTS) \
34028 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
34029 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
34030 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
34031 echo Configuring stage profile in $(TARGET_SUBDIR)/libvtv ; \
34032 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
34033 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
34034 case $(srcdir) in \
34035 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34036 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
34037 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34038 esac; \
34039 module_srcdir=libvtv; \
34040 $(SHELL) $$s/$$module_srcdir/configure \
34041 --srcdir=$${topdir}/$$module_srcdir \
34042 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34043 --target=${target_alias} \
34044 --with-build-libsubdir=$(HOST_SUBDIR) \
34045 $(STAGEprofile_CONFIGURE_FLAGS)
34046 @endif target-libvtv-bootstrap
34048 .PHONY: configure-stagefeedback-target-libvtv maybe-configure-stagefeedback-target-libvtv
34049 maybe-configure-stagefeedback-target-libvtv:
34050 @if target-libvtv-bootstrap
34051 maybe-configure-stagefeedback-target-libvtv: configure-stagefeedback-target-libvtv
34052 configure-stagefeedback-target-libvtv:
34053 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
34054 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
34055 @r=`${PWD_COMMAND}`; export r; \
34056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34057 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
34058 echo "Checking multilib configuration for libvtv..."; \
34059 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
34060 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
34061 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
34062 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
34063 else \
34064 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
34065 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
34066 fi; \
34067 else \
34068 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
34069 fi; \
34070 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
34071 $(RAW_CXX_TARGET_EXPORTS) \
34073 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
34074 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
34075 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
34076 echo Configuring stage feedback in $(TARGET_SUBDIR)/libvtv ; \
34077 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
34078 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
34079 case $(srcdir) in \
34080 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34081 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
34082 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34083 esac; \
34084 module_srcdir=libvtv; \
34085 $(SHELL) $$s/$$module_srcdir/configure \
34086 --srcdir=$${topdir}/$$module_srcdir \
34087 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34088 --target=${target_alias} \
34089 --with-build-libsubdir=$(HOST_SUBDIR) \
34090 $(STAGEfeedback_CONFIGURE_FLAGS)
34091 @endif target-libvtv-bootstrap
34097 .PHONY: all-target-libvtv maybe-all-target-libvtv
34098 maybe-all-target-libvtv:
34099 @if gcc-bootstrap
34100 all-target-libvtv: stage_current
34101 @endif gcc-bootstrap
34102 @if target-libvtv
34103 TARGET-target-libvtv=all
34104 maybe-all-target-libvtv: all-target-libvtv
34105 all-target-libvtv: configure-target-libvtv
34106 @r=`${PWD_COMMAND}`; export r; \
34107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34108 $(RAW_CXX_TARGET_EXPORTS) \
34109 (cd $(TARGET_SUBDIR)/libvtv && \
34110 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
34111 $(TARGET-target-libvtv))
34112 @endif target-libvtv
34116 .PHONY: all-stage1-target-libvtv maybe-all-stage1-target-libvtv
34117 .PHONY: clean-stage1-target-libvtv maybe-clean-stage1-target-libvtv
34118 maybe-all-stage1-target-libvtv:
34119 maybe-clean-stage1-target-libvtv:
34120 @if target-libvtv-bootstrap
34121 maybe-all-stage1-target-libvtv: all-stage1-target-libvtv
34122 all-stage1: all-stage1-target-libvtv
34123 TARGET-stage1-target-libvtv = $(TARGET-target-libvtv)
34124 all-stage1-target-libvtv: configure-stage1-target-libvtv
34125 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
34126 @r=`${PWD_COMMAND}`; export r; \
34127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34128 TFLAGS="$(STAGE1_TFLAGS)"; \
34129 $(RAW_CXX_TARGET_EXPORTS) \
34130 cd $(TARGET_SUBDIR)/libvtv && \
34131 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34132 CFLAGS="$(CFLAGS_FOR_TARGET)" \
34133 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
34134 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
34135 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34136 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34137 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34138 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
34140 TFLAGS="$(STAGE1_TFLAGS)" \
34141 $(TARGET-stage1-target-libvtv)
34143 maybe-clean-stage1-target-libvtv: clean-stage1-target-libvtv
34144 clean-stage1: clean-stage1-target-libvtv
34145 clean-stage1-target-libvtv:
34146 @if [ $(current_stage) = stage1 ]; then \
34147 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
34148 else \
34149 [ -f $(TARGET_SUBDIR)/stage1-libvtv/Makefile ] || exit 0; \
34150 $(MAKE) stage1-start; \
34151 fi; \
34152 cd $(TARGET_SUBDIR)/libvtv && \
34153 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
34154 clean
34155 @endif target-libvtv-bootstrap
34158 .PHONY: all-stage2-target-libvtv maybe-all-stage2-target-libvtv
34159 .PHONY: clean-stage2-target-libvtv maybe-clean-stage2-target-libvtv
34160 maybe-all-stage2-target-libvtv:
34161 maybe-clean-stage2-target-libvtv:
34162 @if target-libvtv-bootstrap
34163 maybe-all-stage2-target-libvtv: all-stage2-target-libvtv
34164 all-stage2: all-stage2-target-libvtv
34165 TARGET-stage2-target-libvtv = $(TARGET-target-libvtv)
34166 all-stage2-target-libvtv: configure-stage2-target-libvtv
34167 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
34168 @r=`${PWD_COMMAND}`; export r; \
34169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34170 TFLAGS="$(STAGE2_TFLAGS)"; \
34171 $(RAW_CXX_TARGET_EXPORTS) \
34173 cd $(TARGET_SUBDIR)/libvtv && \
34174 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34175 CFLAGS="$(CFLAGS_FOR_TARGET)" \
34176 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
34177 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
34178 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34179 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34180 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34181 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
34182 TFLAGS="$(STAGE2_TFLAGS)" \
34183 $(TARGET-stage2-target-libvtv)
34185 maybe-clean-stage2-target-libvtv: clean-stage2-target-libvtv
34186 clean-stage2: clean-stage2-target-libvtv
34187 clean-stage2-target-libvtv:
34188 @if [ $(current_stage) = stage2 ]; then \
34189 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
34190 else \
34191 [ -f $(TARGET_SUBDIR)/stage2-libvtv/Makefile ] || exit 0; \
34192 $(MAKE) stage2-start; \
34193 fi; \
34194 cd $(TARGET_SUBDIR)/libvtv && \
34195 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
34196 @endif target-libvtv-bootstrap
34199 .PHONY: all-stage3-target-libvtv maybe-all-stage3-target-libvtv
34200 .PHONY: clean-stage3-target-libvtv maybe-clean-stage3-target-libvtv
34201 maybe-all-stage3-target-libvtv:
34202 maybe-clean-stage3-target-libvtv:
34203 @if target-libvtv-bootstrap
34204 maybe-all-stage3-target-libvtv: all-stage3-target-libvtv
34205 all-stage3: all-stage3-target-libvtv
34206 TARGET-stage3-target-libvtv = $(TARGET-target-libvtv)
34207 all-stage3-target-libvtv: configure-stage3-target-libvtv
34208 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
34209 @r=`${PWD_COMMAND}`; export r; \
34210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34211 TFLAGS="$(STAGE3_TFLAGS)"; \
34212 $(RAW_CXX_TARGET_EXPORTS) \
34214 cd $(TARGET_SUBDIR)/libvtv && \
34215 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34216 CFLAGS="$(CFLAGS_FOR_TARGET)" \
34217 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
34218 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
34219 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34220 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34221 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34222 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
34223 TFLAGS="$(STAGE3_TFLAGS)" \
34224 $(TARGET-stage3-target-libvtv)
34226 maybe-clean-stage3-target-libvtv: clean-stage3-target-libvtv
34227 clean-stage3: clean-stage3-target-libvtv
34228 clean-stage3-target-libvtv:
34229 @if [ $(current_stage) = stage3 ]; then \
34230 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
34231 else \
34232 [ -f $(TARGET_SUBDIR)/stage3-libvtv/Makefile ] || exit 0; \
34233 $(MAKE) stage3-start; \
34234 fi; \
34235 cd $(TARGET_SUBDIR)/libvtv && \
34236 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
34237 @endif target-libvtv-bootstrap
34240 .PHONY: all-stage4-target-libvtv maybe-all-stage4-target-libvtv
34241 .PHONY: clean-stage4-target-libvtv maybe-clean-stage4-target-libvtv
34242 maybe-all-stage4-target-libvtv:
34243 maybe-clean-stage4-target-libvtv:
34244 @if target-libvtv-bootstrap
34245 maybe-all-stage4-target-libvtv: all-stage4-target-libvtv
34246 all-stage4: all-stage4-target-libvtv
34247 TARGET-stage4-target-libvtv = $(TARGET-target-libvtv)
34248 all-stage4-target-libvtv: configure-stage4-target-libvtv
34249 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
34250 @r=`${PWD_COMMAND}`; export r; \
34251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34252 TFLAGS="$(STAGE4_TFLAGS)"; \
34253 $(RAW_CXX_TARGET_EXPORTS) \
34255 cd $(TARGET_SUBDIR)/libvtv && \
34256 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34257 CFLAGS="$(CFLAGS_FOR_TARGET)" \
34258 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
34259 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
34260 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34261 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34262 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34263 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
34264 TFLAGS="$(STAGE4_TFLAGS)" \
34265 $(TARGET-stage4-target-libvtv)
34267 maybe-clean-stage4-target-libvtv: clean-stage4-target-libvtv
34268 clean-stage4: clean-stage4-target-libvtv
34269 clean-stage4-target-libvtv:
34270 @if [ $(current_stage) = stage4 ]; then \
34271 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
34272 else \
34273 [ -f $(TARGET_SUBDIR)/stage4-libvtv/Makefile ] || exit 0; \
34274 $(MAKE) stage4-start; \
34275 fi; \
34276 cd $(TARGET_SUBDIR)/libvtv && \
34277 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
34278 @endif target-libvtv-bootstrap
34281 .PHONY: all-stageprofile-target-libvtv maybe-all-stageprofile-target-libvtv
34282 .PHONY: clean-stageprofile-target-libvtv maybe-clean-stageprofile-target-libvtv
34283 maybe-all-stageprofile-target-libvtv:
34284 maybe-clean-stageprofile-target-libvtv:
34285 @if target-libvtv-bootstrap
34286 maybe-all-stageprofile-target-libvtv: all-stageprofile-target-libvtv
34287 all-stageprofile: all-stageprofile-target-libvtv
34288 TARGET-stageprofile-target-libvtv = $(TARGET-target-libvtv)
34289 all-stageprofile-target-libvtv: configure-stageprofile-target-libvtv
34290 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
34291 @r=`${PWD_COMMAND}`; export r; \
34292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34293 TFLAGS="$(STAGEprofile_TFLAGS)"; \
34294 $(RAW_CXX_TARGET_EXPORTS) \
34296 cd $(TARGET_SUBDIR)/libvtv && \
34297 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34298 CFLAGS="$(CFLAGS_FOR_TARGET)" \
34299 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
34300 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
34301 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34302 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34303 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34304 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
34305 TFLAGS="$(STAGEprofile_TFLAGS)" \
34306 $(TARGET-stageprofile-target-libvtv)
34308 maybe-clean-stageprofile-target-libvtv: clean-stageprofile-target-libvtv
34309 clean-stageprofile: clean-stageprofile-target-libvtv
34310 clean-stageprofile-target-libvtv:
34311 @if [ $(current_stage) = stageprofile ]; then \
34312 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
34313 else \
34314 [ -f $(TARGET_SUBDIR)/stageprofile-libvtv/Makefile ] || exit 0; \
34315 $(MAKE) stageprofile-start; \
34316 fi; \
34317 cd $(TARGET_SUBDIR)/libvtv && \
34318 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
34319 @endif target-libvtv-bootstrap
34322 .PHONY: all-stagefeedback-target-libvtv maybe-all-stagefeedback-target-libvtv
34323 .PHONY: clean-stagefeedback-target-libvtv maybe-clean-stagefeedback-target-libvtv
34324 maybe-all-stagefeedback-target-libvtv:
34325 maybe-clean-stagefeedback-target-libvtv:
34326 @if target-libvtv-bootstrap
34327 maybe-all-stagefeedback-target-libvtv: all-stagefeedback-target-libvtv
34328 all-stagefeedback: all-stagefeedback-target-libvtv
34329 TARGET-stagefeedback-target-libvtv = $(TARGET-target-libvtv)
34330 all-stagefeedback-target-libvtv: configure-stagefeedback-target-libvtv
34331 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
34332 @r=`${PWD_COMMAND}`; export r; \
34333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34334 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
34335 $(RAW_CXX_TARGET_EXPORTS) \
34337 cd $(TARGET_SUBDIR)/libvtv && \
34338 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34339 CFLAGS="$(CFLAGS_FOR_TARGET)" \
34340 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
34341 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
34342 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34343 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34344 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34345 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
34346 TFLAGS="$(STAGEfeedback_TFLAGS)" \
34347 $(TARGET-stagefeedback-target-libvtv)
34349 maybe-clean-stagefeedback-target-libvtv: clean-stagefeedback-target-libvtv
34350 clean-stagefeedback: clean-stagefeedback-target-libvtv
34351 clean-stagefeedback-target-libvtv:
34352 @if [ $(current_stage) = stagefeedback ]; then \
34353 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
34354 else \
34355 [ -f $(TARGET_SUBDIR)/stagefeedback-libvtv/Makefile ] || exit 0; \
34356 $(MAKE) stagefeedback-start; \
34357 fi; \
34358 cd $(TARGET_SUBDIR)/libvtv && \
34359 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
34360 @endif target-libvtv-bootstrap
34367 .PHONY: check-target-libvtv maybe-check-target-libvtv
34368 maybe-check-target-libvtv:
34369 @if target-libvtv
34370 maybe-check-target-libvtv: check-target-libvtv
34372 check-target-libvtv:
34373 @: $(MAKE); $(unstage)
34374 @r=`${PWD_COMMAND}`; export r; \
34375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34376 $(RAW_CXX_TARGET_EXPORTS) \
34377 (cd $(TARGET_SUBDIR)/libvtv && \
34378 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
34380 @endif target-libvtv
34382 .PHONY: install-target-libvtv maybe-install-target-libvtv
34383 maybe-install-target-libvtv:
34384 @if target-libvtv
34385 maybe-install-target-libvtv: install-target-libvtv
34387 install-target-libvtv: installdirs
34388 @: $(MAKE); $(unstage)
34389 @r=`${PWD_COMMAND}`; export r; \
34390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34391 $(RAW_CXX_TARGET_EXPORTS) \
34392 (cd $(TARGET_SUBDIR)/libvtv && \
34393 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34395 @endif target-libvtv
34397 .PHONY: install-strip-target-libvtv maybe-install-strip-target-libvtv
34398 maybe-install-strip-target-libvtv:
34399 @if target-libvtv
34400 maybe-install-strip-target-libvtv: install-strip-target-libvtv
34402 install-strip-target-libvtv: installdirs
34403 @: $(MAKE); $(unstage)
34404 @r=`${PWD_COMMAND}`; export r; \
34405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34406 $(RAW_CXX_TARGET_EXPORTS) \
34407 (cd $(TARGET_SUBDIR)/libvtv && \
34408 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
34410 @endif target-libvtv
34412 # Other targets (info, dvi, pdf, etc.)
34414 .PHONY: maybe-info-target-libvtv info-target-libvtv
34415 maybe-info-target-libvtv:
34416 @if target-libvtv
34417 maybe-info-target-libvtv: info-target-libvtv
34419 info-target-libvtv: \
34420 configure-target-libvtv
34421 @: $(MAKE); $(unstage)
34422 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34423 r=`${PWD_COMMAND}`; export r; \
34424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34425 $(RAW_CXX_TARGET_EXPORTS) \
34426 echo "Doing info in $(TARGET_SUBDIR)/libvtv" ; \
34427 for flag in $(EXTRA_TARGET_FLAGS); do \
34428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34429 done; \
34430 (cd $(TARGET_SUBDIR)/libvtv && \
34431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34433 "RANLIB=$${RANLIB}" \
34434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34435 info) \
34436 || exit 1
34438 @endif target-libvtv
34440 .PHONY: maybe-dvi-target-libvtv dvi-target-libvtv
34441 maybe-dvi-target-libvtv:
34442 @if target-libvtv
34443 maybe-dvi-target-libvtv: dvi-target-libvtv
34445 dvi-target-libvtv: \
34446 configure-target-libvtv
34447 @: $(MAKE); $(unstage)
34448 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34449 r=`${PWD_COMMAND}`; export r; \
34450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34451 $(RAW_CXX_TARGET_EXPORTS) \
34452 echo "Doing dvi in $(TARGET_SUBDIR)/libvtv" ; \
34453 for flag in $(EXTRA_TARGET_FLAGS); do \
34454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34455 done; \
34456 (cd $(TARGET_SUBDIR)/libvtv && \
34457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34459 "RANLIB=$${RANLIB}" \
34460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34461 dvi) \
34462 || exit 1
34464 @endif target-libvtv
34466 .PHONY: maybe-pdf-target-libvtv pdf-target-libvtv
34467 maybe-pdf-target-libvtv:
34468 @if target-libvtv
34469 maybe-pdf-target-libvtv: pdf-target-libvtv
34471 pdf-target-libvtv: \
34472 configure-target-libvtv
34473 @: $(MAKE); $(unstage)
34474 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34475 r=`${PWD_COMMAND}`; export r; \
34476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34477 $(RAW_CXX_TARGET_EXPORTS) \
34478 echo "Doing pdf in $(TARGET_SUBDIR)/libvtv" ; \
34479 for flag in $(EXTRA_TARGET_FLAGS); do \
34480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34481 done; \
34482 (cd $(TARGET_SUBDIR)/libvtv && \
34483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34485 "RANLIB=$${RANLIB}" \
34486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34487 pdf) \
34488 || exit 1
34490 @endif target-libvtv
34492 .PHONY: maybe-html-target-libvtv html-target-libvtv
34493 maybe-html-target-libvtv:
34494 @if target-libvtv
34495 maybe-html-target-libvtv: html-target-libvtv
34497 html-target-libvtv: \
34498 configure-target-libvtv
34499 @: $(MAKE); $(unstage)
34500 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34501 r=`${PWD_COMMAND}`; export r; \
34502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34503 $(RAW_CXX_TARGET_EXPORTS) \
34504 echo "Doing html in $(TARGET_SUBDIR)/libvtv" ; \
34505 for flag in $(EXTRA_TARGET_FLAGS); do \
34506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34507 done; \
34508 (cd $(TARGET_SUBDIR)/libvtv && \
34509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34511 "RANLIB=$${RANLIB}" \
34512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34513 html) \
34514 || exit 1
34516 @endif target-libvtv
34518 .PHONY: maybe-TAGS-target-libvtv TAGS-target-libvtv
34519 maybe-TAGS-target-libvtv:
34520 @if target-libvtv
34521 maybe-TAGS-target-libvtv: TAGS-target-libvtv
34523 TAGS-target-libvtv: \
34524 configure-target-libvtv
34525 @: $(MAKE); $(unstage)
34526 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34527 r=`${PWD_COMMAND}`; export r; \
34528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34529 $(RAW_CXX_TARGET_EXPORTS) \
34530 echo "Doing TAGS in $(TARGET_SUBDIR)/libvtv" ; \
34531 for flag in $(EXTRA_TARGET_FLAGS); do \
34532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34533 done; \
34534 (cd $(TARGET_SUBDIR)/libvtv && \
34535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34537 "RANLIB=$${RANLIB}" \
34538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34539 TAGS) \
34540 || exit 1
34542 @endif target-libvtv
34544 .PHONY: maybe-install-info-target-libvtv install-info-target-libvtv
34545 maybe-install-info-target-libvtv:
34546 @if target-libvtv
34547 maybe-install-info-target-libvtv: install-info-target-libvtv
34549 install-info-target-libvtv: \
34550 configure-target-libvtv \
34551 info-target-libvtv
34552 @: $(MAKE); $(unstage)
34553 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34554 r=`${PWD_COMMAND}`; export r; \
34555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34556 $(RAW_CXX_TARGET_EXPORTS) \
34557 echo "Doing install-info in $(TARGET_SUBDIR)/libvtv" ; \
34558 for flag in $(EXTRA_TARGET_FLAGS); do \
34559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34560 done; \
34561 (cd $(TARGET_SUBDIR)/libvtv && \
34562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34564 "RANLIB=$${RANLIB}" \
34565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34566 install-info) \
34567 || exit 1
34569 @endif target-libvtv
34571 .PHONY: maybe-install-pdf-target-libvtv install-pdf-target-libvtv
34572 maybe-install-pdf-target-libvtv:
34573 @if target-libvtv
34574 maybe-install-pdf-target-libvtv: install-pdf-target-libvtv
34576 install-pdf-target-libvtv: \
34577 configure-target-libvtv \
34578 pdf-target-libvtv
34579 @: $(MAKE); $(unstage)
34580 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34581 r=`${PWD_COMMAND}`; export r; \
34582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34583 $(RAW_CXX_TARGET_EXPORTS) \
34584 echo "Doing install-pdf in $(TARGET_SUBDIR)/libvtv" ; \
34585 for flag in $(EXTRA_TARGET_FLAGS); do \
34586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34587 done; \
34588 (cd $(TARGET_SUBDIR)/libvtv && \
34589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34591 "RANLIB=$${RANLIB}" \
34592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34593 install-pdf) \
34594 || exit 1
34596 @endif target-libvtv
34598 .PHONY: maybe-install-html-target-libvtv install-html-target-libvtv
34599 maybe-install-html-target-libvtv:
34600 @if target-libvtv
34601 maybe-install-html-target-libvtv: install-html-target-libvtv
34603 install-html-target-libvtv: \
34604 configure-target-libvtv \
34605 html-target-libvtv
34606 @: $(MAKE); $(unstage)
34607 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34608 r=`${PWD_COMMAND}`; export r; \
34609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34610 $(RAW_CXX_TARGET_EXPORTS) \
34611 echo "Doing install-html in $(TARGET_SUBDIR)/libvtv" ; \
34612 for flag in $(EXTRA_TARGET_FLAGS); do \
34613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34614 done; \
34615 (cd $(TARGET_SUBDIR)/libvtv && \
34616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34618 "RANLIB=$${RANLIB}" \
34619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34620 install-html) \
34621 || exit 1
34623 @endif target-libvtv
34625 .PHONY: maybe-installcheck-target-libvtv installcheck-target-libvtv
34626 maybe-installcheck-target-libvtv:
34627 @if target-libvtv
34628 maybe-installcheck-target-libvtv: installcheck-target-libvtv
34630 installcheck-target-libvtv: \
34631 configure-target-libvtv
34632 @: $(MAKE); $(unstage)
34633 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34634 r=`${PWD_COMMAND}`; export r; \
34635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34636 $(RAW_CXX_TARGET_EXPORTS) \
34637 echo "Doing installcheck in $(TARGET_SUBDIR)/libvtv" ; \
34638 for flag in $(EXTRA_TARGET_FLAGS); do \
34639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34640 done; \
34641 (cd $(TARGET_SUBDIR)/libvtv && \
34642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34644 "RANLIB=$${RANLIB}" \
34645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34646 installcheck) \
34647 || exit 1
34649 @endif target-libvtv
34651 .PHONY: maybe-mostlyclean-target-libvtv mostlyclean-target-libvtv
34652 maybe-mostlyclean-target-libvtv:
34653 @if target-libvtv
34654 maybe-mostlyclean-target-libvtv: mostlyclean-target-libvtv
34656 mostlyclean-target-libvtv:
34657 @: $(MAKE); $(unstage)
34658 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34659 r=`${PWD_COMMAND}`; export r; \
34660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34661 $(RAW_CXX_TARGET_EXPORTS) \
34662 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libvtv" ; \
34663 for flag in $(EXTRA_TARGET_FLAGS); do \
34664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34665 done; \
34666 (cd $(TARGET_SUBDIR)/libvtv && \
34667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34669 "RANLIB=$${RANLIB}" \
34670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34671 mostlyclean) \
34672 || exit 1
34674 @endif target-libvtv
34676 .PHONY: maybe-clean-target-libvtv clean-target-libvtv
34677 maybe-clean-target-libvtv:
34678 @if target-libvtv
34679 maybe-clean-target-libvtv: clean-target-libvtv
34681 clean-target-libvtv:
34682 @: $(MAKE); $(unstage)
34683 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34684 r=`${PWD_COMMAND}`; export r; \
34685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34686 $(RAW_CXX_TARGET_EXPORTS) \
34687 echo "Doing clean in $(TARGET_SUBDIR)/libvtv" ; \
34688 for flag in $(EXTRA_TARGET_FLAGS); do \
34689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34690 done; \
34691 (cd $(TARGET_SUBDIR)/libvtv && \
34692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34694 "RANLIB=$${RANLIB}" \
34695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34696 clean) \
34697 || exit 1
34699 @endif target-libvtv
34701 .PHONY: maybe-distclean-target-libvtv distclean-target-libvtv
34702 maybe-distclean-target-libvtv:
34703 @if target-libvtv
34704 maybe-distclean-target-libvtv: distclean-target-libvtv
34706 distclean-target-libvtv:
34707 @: $(MAKE); $(unstage)
34708 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34709 r=`${PWD_COMMAND}`; export r; \
34710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34711 $(RAW_CXX_TARGET_EXPORTS) \
34712 echo "Doing distclean in $(TARGET_SUBDIR)/libvtv" ; \
34713 for flag in $(EXTRA_TARGET_FLAGS); do \
34714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34715 done; \
34716 (cd $(TARGET_SUBDIR)/libvtv && \
34717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34719 "RANLIB=$${RANLIB}" \
34720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34721 distclean) \
34722 || exit 1
34724 @endif target-libvtv
34726 .PHONY: maybe-maintainer-clean-target-libvtv maintainer-clean-target-libvtv
34727 maybe-maintainer-clean-target-libvtv:
34728 @if target-libvtv
34729 maybe-maintainer-clean-target-libvtv: maintainer-clean-target-libvtv
34731 maintainer-clean-target-libvtv:
34732 @: $(MAKE); $(unstage)
34733 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34734 r=`${PWD_COMMAND}`; export r; \
34735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34736 $(RAW_CXX_TARGET_EXPORTS) \
34737 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libvtv" ; \
34738 for flag in $(EXTRA_TARGET_FLAGS); do \
34739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34740 done; \
34741 (cd $(TARGET_SUBDIR)/libvtv && \
34742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34744 "RANLIB=$${RANLIB}" \
34745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34746 maintainer-clean) \
34747 || exit 1
34749 @endif target-libvtv
34755 .PHONY: configure-target-libcilkrts maybe-configure-target-libcilkrts
34756 maybe-configure-target-libcilkrts:
34757 @if gcc-bootstrap
34758 configure-target-libcilkrts: stage_current
34759 @endif gcc-bootstrap
34760 @if target-libcilkrts
34761 maybe-configure-target-libcilkrts: configure-target-libcilkrts
34762 configure-target-libcilkrts:
34763 @: $(MAKE); $(unstage)
34764 @r=`${PWD_COMMAND}`; export r; \
34765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34766 echo "Checking multilib configuration for libcilkrts..."; \
34767 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libcilkrts ; \
34768 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libcilkrts/multilib.tmp 2> /dev/null ; \
34769 if test -r $(TARGET_SUBDIR)/libcilkrts/multilib.out; then \
34770 if cmp -s $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; then \
34771 rm -f $(TARGET_SUBDIR)/libcilkrts/multilib.tmp; \
34772 else \
34773 rm -f $(TARGET_SUBDIR)/libcilkrts/Makefile; \
34774 mv $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; \
34775 fi; \
34776 else \
34777 mv $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; \
34778 fi; \
34779 test ! -f $(TARGET_SUBDIR)/libcilkrts/Makefile || exit 0; \
34780 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libcilkrts ; \
34781 $(NORMAL_TARGET_EXPORTS) \
34782 echo Configuring in $(TARGET_SUBDIR)/libcilkrts; \
34783 cd "$(TARGET_SUBDIR)/libcilkrts" || exit 1; \
34784 case $(srcdir) in \
34785 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34786 *) topdir=`echo $(TARGET_SUBDIR)/libcilkrts/ | \
34787 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34788 esac; \
34789 module_srcdir=libcilkrts; \
34790 rm -f no-such-file || : ; \
34791 CONFIG_SITE=no-such-file $(SHELL) \
34792 $$s/$$module_srcdir/configure \
34793 --srcdir=$${topdir}/$$module_srcdir \
34794 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34795 --target=${target_alias} \
34796 || exit 1
34797 @endif target-libcilkrts
34803 .PHONY: all-target-libcilkrts maybe-all-target-libcilkrts
34804 maybe-all-target-libcilkrts:
34805 @if gcc-bootstrap
34806 all-target-libcilkrts: stage_current
34807 @endif gcc-bootstrap
34808 @if target-libcilkrts
34809 TARGET-target-libcilkrts=all
34810 maybe-all-target-libcilkrts: all-target-libcilkrts
34811 all-target-libcilkrts: configure-target-libcilkrts
34812 @: $(MAKE); $(unstage)
34813 @r=`${PWD_COMMAND}`; export r; \
34814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34815 $(NORMAL_TARGET_EXPORTS) \
34816 (cd $(TARGET_SUBDIR)/libcilkrts && \
34817 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
34818 $(TARGET-target-libcilkrts))
34819 @endif target-libcilkrts
34825 .PHONY: check-target-libcilkrts maybe-check-target-libcilkrts
34826 maybe-check-target-libcilkrts:
34827 @if target-libcilkrts
34828 maybe-check-target-libcilkrts: check-target-libcilkrts
34830 check-target-libcilkrts:
34831 @: $(MAKE); $(unstage)
34832 @r=`${PWD_COMMAND}`; export r; \
34833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34834 $(NORMAL_TARGET_EXPORTS) \
34835 (cd $(TARGET_SUBDIR)/libcilkrts && \
34836 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34838 @endif target-libcilkrts
34840 .PHONY: install-target-libcilkrts maybe-install-target-libcilkrts
34841 maybe-install-target-libcilkrts:
34842 @if target-libcilkrts
34843 maybe-install-target-libcilkrts: install-target-libcilkrts
34845 install-target-libcilkrts: installdirs
34846 @: $(MAKE); $(unstage)
34847 @r=`${PWD_COMMAND}`; export r; \
34848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34849 $(NORMAL_TARGET_EXPORTS) \
34850 (cd $(TARGET_SUBDIR)/libcilkrts && \
34851 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34853 @endif target-libcilkrts
34855 .PHONY: install-strip-target-libcilkrts maybe-install-strip-target-libcilkrts
34856 maybe-install-strip-target-libcilkrts:
34857 @if target-libcilkrts
34858 maybe-install-strip-target-libcilkrts: install-strip-target-libcilkrts
34860 install-strip-target-libcilkrts: installdirs
34861 @: $(MAKE); $(unstage)
34862 @r=`${PWD_COMMAND}`; export r; \
34863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34864 $(NORMAL_TARGET_EXPORTS) \
34865 (cd $(TARGET_SUBDIR)/libcilkrts && \
34866 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
34868 @endif target-libcilkrts
34870 # Other targets (info, dvi, pdf, etc.)
34872 .PHONY: maybe-info-target-libcilkrts info-target-libcilkrts
34873 maybe-info-target-libcilkrts:
34874 @if target-libcilkrts
34875 maybe-info-target-libcilkrts: info-target-libcilkrts
34877 info-target-libcilkrts: \
34878 configure-target-libcilkrts
34879 @: $(MAKE); $(unstage)
34880 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
34881 r=`${PWD_COMMAND}`; export r; \
34882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34883 $(NORMAL_TARGET_EXPORTS) \
34884 echo "Doing info in $(TARGET_SUBDIR)/libcilkrts" ; \
34885 for flag in $(EXTRA_TARGET_FLAGS); do \
34886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34887 done; \
34888 (cd $(TARGET_SUBDIR)/libcilkrts && \
34889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34891 "RANLIB=$${RANLIB}" \
34892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34893 info) \
34894 || exit 1
34896 @endif target-libcilkrts
34898 .PHONY: maybe-dvi-target-libcilkrts dvi-target-libcilkrts
34899 maybe-dvi-target-libcilkrts:
34900 @if target-libcilkrts
34901 maybe-dvi-target-libcilkrts: dvi-target-libcilkrts
34903 dvi-target-libcilkrts: \
34904 configure-target-libcilkrts
34905 @: $(MAKE); $(unstage)
34906 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
34907 r=`${PWD_COMMAND}`; export r; \
34908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34909 $(NORMAL_TARGET_EXPORTS) \
34910 echo "Doing dvi in $(TARGET_SUBDIR)/libcilkrts" ; \
34911 for flag in $(EXTRA_TARGET_FLAGS); do \
34912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34913 done; \
34914 (cd $(TARGET_SUBDIR)/libcilkrts && \
34915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34917 "RANLIB=$${RANLIB}" \
34918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34919 dvi) \
34920 || exit 1
34922 @endif target-libcilkrts
34924 .PHONY: maybe-pdf-target-libcilkrts pdf-target-libcilkrts
34925 maybe-pdf-target-libcilkrts:
34926 @if target-libcilkrts
34927 maybe-pdf-target-libcilkrts: pdf-target-libcilkrts
34929 pdf-target-libcilkrts: \
34930 configure-target-libcilkrts
34931 @: $(MAKE); $(unstage)
34932 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
34933 r=`${PWD_COMMAND}`; export r; \
34934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34935 $(NORMAL_TARGET_EXPORTS) \
34936 echo "Doing pdf in $(TARGET_SUBDIR)/libcilkrts" ; \
34937 for flag in $(EXTRA_TARGET_FLAGS); do \
34938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34939 done; \
34940 (cd $(TARGET_SUBDIR)/libcilkrts && \
34941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34943 "RANLIB=$${RANLIB}" \
34944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34945 pdf) \
34946 || exit 1
34948 @endif target-libcilkrts
34950 .PHONY: maybe-html-target-libcilkrts html-target-libcilkrts
34951 maybe-html-target-libcilkrts:
34952 @if target-libcilkrts
34953 maybe-html-target-libcilkrts: html-target-libcilkrts
34955 html-target-libcilkrts: \
34956 configure-target-libcilkrts
34957 @: $(MAKE); $(unstage)
34958 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
34959 r=`${PWD_COMMAND}`; export r; \
34960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34961 $(NORMAL_TARGET_EXPORTS) \
34962 echo "Doing html in $(TARGET_SUBDIR)/libcilkrts" ; \
34963 for flag in $(EXTRA_TARGET_FLAGS); do \
34964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34965 done; \
34966 (cd $(TARGET_SUBDIR)/libcilkrts && \
34967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34969 "RANLIB=$${RANLIB}" \
34970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34971 html) \
34972 || exit 1
34974 @endif target-libcilkrts
34976 .PHONY: maybe-TAGS-target-libcilkrts TAGS-target-libcilkrts
34977 maybe-TAGS-target-libcilkrts:
34978 @if target-libcilkrts
34979 maybe-TAGS-target-libcilkrts: TAGS-target-libcilkrts
34981 TAGS-target-libcilkrts: \
34982 configure-target-libcilkrts
34983 @: $(MAKE); $(unstage)
34984 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
34985 r=`${PWD_COMMAND}`; export r; \
34986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34987 $(NORMAL_TARGET_EXPORTS) \
34988 echo "Doing TAGS in $(TARGET_SUBDIR)/libcilkrts" ; \
34989 for flag in $(EXTRA_TARGET_FLAGS); do \
34990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34991 done; \
34992 (cd $(TARGET_SUBDIR)/libcilkrts && \
34993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34995 "RANLIB=$${RANLIB}" \
34996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34997 TAGS) \
34998 || exit 1
35000 @endif target-libcilkrts
35002 .PHONY: maybe-install-info-target-libcilkrts install-info-target-libcilkrts
35003 maybe-install-info-target-libcilkrts:
35004 @if target-libcilkrts
35005 maybe-install-info-target-libcilkrts: install-info-target-libcilkrts
35007 install-info-target-libcilkrts: \
35008 configure-target-libcilkrts \
35009 info-target-libcilkrts
35010 @: $(MAKE); $(unstage)
35011 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35012 r=`${PWD_COMMAND}`; export r; \
35013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35014 $(NORMAL_TARGET_EXPORTS) \
35015 echo "Doing install-info in $(TARGET_SUBDIR)/libcilkrts" ; \
35016 for flag in $(EXTRA_TARGET_FLAGS); do \
35017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35018 done; \
35019 (cd $(TARGET_SUBDIR)/libcilkrts && \
35020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35022 "RANLIB=$${RANLIB}" \
35023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35024 install-info) \
35025 || exit 1
35027 @endif target-libcilkrts
35029 .PHONY: maybe-install-pdf-target-libcilkrts install-pdf-target-libcilkrts
35030 maybe-install-pdf-target-libcilkrts:
35031 @if target-libcilkrts
35032 maybe-install-pdf-target-libcilkrts: install-pdf-target-libcilkrts
35034 install-pdf-target-libcilkrts: \
35035 configure-target-libcilkrts \
35036 pdf-target-libcilkrts
35037 @: $(MAKE); $(unstage)
35038 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35039 r=`${PWD_COMMAND}`; export r; \
35040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35041 $(NORMAL_TARGET_EXPORTS) \
35042 echo "Doing install-pdf in $(TARGET_SUBDIR)/libcilkrts" ; \
35043 for flag in $(EXTRA_TARGET_FLAGS); do \
35044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35045 done; \
35046 (cd $(TARGET_SUBDIR)/libcilkrts && \
35047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35049 "RANLIB=$${RANLIB}" \
35050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35051 install-pdf) \
35052 || exit 1
35054 @endif target-libcilkrts
35056 .PHONY: maybe-install-html-target-libcilkrts install-html-target-libcilkrts
35057 maybe-install-html-target-libcilkrts:
35058 @if target-libcilkrts
35059 maybe-install-html-target-libcilkrts: install-html-target-libcilkrts
35061 install-html-target-libcilkrts: \
35062 configure-target-libcilkrts \
35063 html-target-libcilkrts
35064 @: $(MAKE); $(unstage)
35065 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35066 r=`${PWD_COMMAND}`; export r; \
35067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35068 $(NORMAL_TARGET_EXPORTS) \
35069 echo "Doing install-html in $(TARGET_SUBDIR)/libcilkrts" ; \
35070 for flag in $(EXTRA_TARGET_FLAGS); do \
35071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35072 done; \
35073 (cd $(TARGET_SUBDIR)/libcilkrts && \
35074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35076 "RANLIB=$${RANLIB}" \
35077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35078 install-html) \
35079 || exit 1
35081 @endif target-libcilkrts
35083 .PHONY: maybe-installcheck-target-libcilkrts installcheck-target-libcilkrts
35084 maybe-installcheck-target-libcilkrts:
35085 @if target-libcilkrts
35086 maybe-installcheck-target-libcilkrts: installcheck-target-libcilkrts
35088 installcheck-target-libcilkrts: \
35089 configure-target-libcilkrts
35090 @: $(MAKE); $(unstage)
35091 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35092 r=`${PWD_COMMAND}`; export r; \
35093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35094 $(NORMAL_TARGET_EXPORTS) \
35095 echo "Doing installcheck in $(TARGET_SUBDIR)/libcilkrts" ; \
35096 for flag in $(EXTRA_TARGET_FLAGS); do \
35097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35098 done; \
35099 (cd $(TARGET_SUBDIR)/libcilkrts && \
35100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35102 "RANLIB=$${RANLIB}" \
35103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35104 installcheck) \
35105 || exit 1
35107 @endif target-libcilkrts
35109 .PHONY: maybe-mostlyclean-target-libcilkrts mostlyclean-target-libcilkrts
35110 maybe-mostlyclean-target-libcilkrts:
35111 @if target-libcilkrts
35112 maybe-mostlyclean-target-libcilkrts: mostlyclean-target-libcilkrts
35114 mostlyclean-target-libcilkrts:
35115 @: $(MAKE); $(unstage)
35116 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35117 r=`${PWD_COMMAND}`; export r; \
35118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35119 $(NORMAL_TARGET_EXPORTS) \
35120 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libcilkrts" ; \
35121 for flag in $(EXTRA_TARGET_FLAGS); do \
35122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35123 done; \
35124 (cd $(TARGET_SUBDIR)/libcilkrts && \
35125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35127 "RANLIB=$${RANLIB}" \
35128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35129 mostlyclean) \
35130 || exit 1
35132 @endif target-libcilkrts
35134 .PHONY: maybe-clean-target-libcilkrts clean-target-libcilkrts
35135 maybe-clean-target-libcilkrts:
35136 @if target-libcilkrts
35137 maybe-clean-target-libcilkrts: clean-target-libcilkrts
35139 clean-target-libcilkrts:
35140 @: $(MAKE); $(unstage)
35141 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35142 r=`${PWD_COMMAND}`; export r; \
35143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35144 $(NORMAL_TARGET_EXPORTS) \
35145 echo "Doing clean in $(TARGET_SUBDIR)/libcilkrts" ; \
35146 for flag in $(EXTRA_TARGET_FLAGS); do \
35147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35148 done; \
35149 (cd $(TARGET_SUBDIR)/libcilkrts && \
35150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35152 "RANLIB=$${RANLIB}" \
35153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35154 clean) \
35155 || exit 1
35157 @endif target-libcilkrts
35159 .PHONY: maybe-distclean-target-libcilkrts distclean-target-libcilkrts
35160 maybe-distclean-target-libcilkrts:
35161 @if target-libcilkrts
35162 maybe-distclean-target-libcilkrts: distclean-target-libcilkrts
35164 distclean-target-libcilkrts:
35165 @: $(MAKE); $(unstage)
35166 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35167 r=`${PWD_COMMAND}`; export r; \
35168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35169 $(NORMAL_TARGET_EXPORTS) \
35170 echo "Doing distclean in $(TARGET_SUBDIR)/libcilkrts" ; \
35171 for flag in $(EXTRA_TARGET_FLAGS); do \
35172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35173 done; \
35174 (cd $(TARGET_SUBDIR)/libcilkrts && \
35175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35177 "RANLIB=$${RANLIB}" \
35178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35179 distclean) \
35180 || exit 1
35182 @endif target-libcilkrts
35184 .PHONY: maybe-maintainer-clean-target-libcilkrts maintainer-clean-target-libcilkrts
35185 maybe-maintainer-clean-target-libcilkrts:
35186 @if target-libcilkrts
35187 maybe-maintainer-clean-target-libcilkrts: maintainer-clean-target-libcilkrts
35189 maintainer-clean-target-libcilkrts:
35190 @: $(MAKE); $(unstage)
35191 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35192 r=`${PWD_COMMAND}`; export r; \
35193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35194 $(NORMAL_TARGET_EXPORTS) \
35195 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libcilkrts" ; \
35196 for flag in $(EXTRA_TARGET_FLAGS); do \
35197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35198 done; \
35199 (cd $(TARGET_SUBDIR)/libcilkrts && \
35200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35202 "RANLIB=$${RANLIB}" \
35203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35204 maintainer-clean) \
35205 || exit 1
35207 @endif target-libcilkrts
35213 .PHONY: configure-target-liboffloadmic maybe-configure-target-liboffloadmic
35214 maybe-configure-target-liboffloadmic:
35215 @if gcc-bootstrap
35216 configure-target-liboffloadmic: stage_current
35217 @endif gcc-bootstrap
35218 @if target-liboffloadmic
35219 maybe-configure-target-liboffloadmic: configure-target-liboffloadmic
35220 configure-target-liboffloadmic:
35221 @: $(MAKE); $(unstage)
35222 @r=`${PWD_COMMAND}`; export r; \
35223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35224 echo "Checking multilib configuration for liboffloadmic..."; \
35225 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/liboffloadmic ; \
35226 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp 2> /dev/null ; \
35227 if test -r $(TARGET_SUBDIR)/liboffloadmic/multilib.out; then \
35228 if cmp -s $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp $(TARGET_SUBDIR)/liboffloadmic/multilib.out; then \
35229 rm -f $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp; \
35230 else \
35231 rm -f $(TARGET_SUBDIR)/liboffloadmic/Makefile; \
35232 mv $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp $(TARGET_SUBDIR)/liboffloadmic/multilib.out; \
35233 fi; \
35234 else \
35235 mv $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp $(TARGET_SUBDIR)/liboffloadmic/multilib.out; \
35236 fi; \
35237 test ! -f $(TARGET_SUBDIR)/liboffloadmic/Makefile || exit 0; \
35238 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/liboffloadmic ; \
35239 $(NORMAL_TARGET_EXPORTS) \
35240 echo Configuring in $(TARGET_SUBDIR)/liboffloadmic; \
35242 this_target="${target_alias}"; \
35244 cd "$(TARGET_SUBDIR)/liboffloadmic" || exit 1; \
35245 case $(srcdir) in \
35246 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35247 *) topdir=`echo $(TARGET_SUBDIR)/liboffloadmic/ | \
35248 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35249 esac; \
35250 module_srcdir=liboffloadmic; \
35251 srcdiroption="--srcdir=$${topdir}/liboffloadmic"; \
35252 libsrcdir="$$s/liboffloadmic"; \
35253 rm -f no-such-file || : ; \
35254 CONFIG_SITE=no-such-file $(SHELL) \
35255 $$s/$$module_srcdir/configure \
35256 --srcdir=$${topdir}/$$module_srcdir \
35257 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35258 --target=$${this_target} $${srcdiroption} @extra_liboffloadmic_configure_flags@ \
35259 || exit 1
35260 @endif target-liboffloadmic
35266 .PHONY: all-target-liboffloadmic maybe-all-target-liboffloadmic
35267 maybe-all-target-liboffloadmic:
35268 @if gcc-bootstrap
35269 all-target-liboffloadmic: stage_current
35270 @endif gcc-bootstrap
35271 @if target-liboffloadmic
35272 TARGET-target-liboffloadmic=all
35273 maybe-all-target-liboffloadmic: all-target-liboffloadmic
35274 all-target-liboffloadmic: configure-target-liboffloadmic
35275 @: $(MAKE); $(unstage)
35276 @r=`${PWD_COMMAND}`; export r; \
35277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35278 $(NORMAL_TARGET_EXPORTS) \
35279 (cd $(TARGET_SUBDIR)/liboffloadmic && \
35280 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
35281 $(TARGET-target-liboffloadmic))
35282 @endif target-liboffloadmic
35288 .PHONY: check-target-liboffloadmic maybe-check-target-liboffloadmic
35289 maybe-check-target-liboffloadmic:
35290 @if target-liboffloadmic
35291 maybe-check-target-liboffloadmic: check-target-liboffloadmic
35293 check-target-liboffloadmic:
35294 @: $(MAKE); $(unstage)
35295 @r=`${PWD_COMMAND}`; export r; \
35296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35297 $(NORMAL_TARGET_EXPORTS) \
35298 (cd $(TARGET_SUBDIR)/liboffloadmic && \
35299 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
35301 @endif target-liboffloadmic
35303 .PHONY: install-target-liboffloadmic maybe-install-target-liboffloadmic
35304 maybe-install-target-liboffloadmic:
35305 @if target-liboffloadmic
35306 maybe-install-target-liboffloadmic: install-target-liboffloadmic
35308 install-target-liboffloadmic: installdirs
35309 @: $(MAKE); $(unstage)
35310 @r=`${PWD_COMMAND}`; export r; \
35311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35312 $(NORMAL_TARGET_EXPORTS) \
35313 (cd $(TARGET_SUBDIR)/liboffloadmic && \
35314 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35316 @endif target-liboffloadmic
35318 .PHONY: install-strip-target-liboffloadmic maybe-install-strip-target-liboffloadmic
35319 maybe-install-strip-target-liboffloadmic:
35320 @if target-liboffloadmic
35321 maybe-install-strip-target-liboffloadmic: install-strip-target-liboffloadmic
35323 install-strip-target-liboffloadmic: installdirs
35324 @: $(MAKE); $(unstage)
35325 @r=`${PWD_COMMAND}`; export r; \
35326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35327 $(NORMAL_TARGET_EXPORTS) \
35328 (cd $(TARGET_SUBDIR)/liboffloadmic && \
35329 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
35331 @endif target-liboffloadmic
35333 # Other targets (info, dvi, pdf, etc.)
35335 .PHONY: maybe-info-target-liboffloadmic info-target-liboffloadmic
35336 maybe-info-target-liboffloadmic:
35337 @if target-liboffloadmic
35338 maybe-info-target-liboffloadmic: info-target-liboffloadmic
35340 info-target-liboffloadmic: \
35341 configure-target-liboffloadmic
35342 @: $(MAKE); $(unstage)
35343 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0 ; \
35344 r=`${PWD_COMMAND}`; export r; \
35345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35346 $(NORMAL_TARGET_EXPORTS) \
35347 echo "Doing info in $(TARGET_SUBDIR)/liboffloadmic" ; \
35348 for flag in $(EXTRA_TARGET_FLAGS); do \
35349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35350 done; \
35351 (cd $(TARGET_SUBDIR)/liboffloadmic && \
35352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35354 "RANLIB=$${RANLIB}" \
35355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35356 info) \
35357 || exit 1
35359 @endif target-liboffloadmic
35361 .PHONY: maybe-dvi-target-liboffloadmic dvi-target-liboffloadmic
35362 maybe-dvi-target-liboffloadmic:
35363 @if target-liboffloadmic
35364 maybe-dvi-target-liboffloadmic: dvi-target-liboffloadmic
35366 dvi-target-liboffloadmic: \
35367 configure-target-liboffloadmic
35368 @: $(MAKE); $(unstage)
35369 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0 ; \
35370 r=`${PWD_COMMAND}`; export r; \
35371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35372 $(NORMAL_TARGET_EXPORTS) \
35373 echo "Doing dvi in $(TARGET_SUBDIR)/liboffloadmic" ; \
35374 for flag in $(EXTRA_TARGET_FLAGS); do \
35375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35376 done; \
35377 (cd $(TARGET_SUBDIR)/liboffloadmic && \
35378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35380 "RANLIB=$${RANLIB}" \
35381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35382 dvi) \
35383 || exit 1
35385 @endif target-liboffloadmic
35387 .PHONY: maybe-pdf-target-liboffloadmic pdf-target-liboffloadmic
35388 maybe-pdf-target-liboffloadmic:
35389 @if target-liboffloadmic
35390 maybe-pdf-target-liboffloadmic: pdf-target-liboffloadmic
35392 pdf-target-liboffloadmic: \
35393 configure-target-liboffloadmic
35394 @: $(MAKE); $(unstage)
35395 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0 ; \
35396 r=`${PWD_COMMAND}`; export r; \
35397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35398 $(NORMAL_TARGET_EXPORTS) \
35399 echo "Doing pdf in $(TARGET_SUBDIR)/liboffloadmic" ; \
35400 for flag in $(EXTRA_TARGET_FLAGS); do \
35401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35402 done; \
35403 (cd $(TARGET_SUBDIR)/liboffloadmic && \
35404 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35405 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35406 "RANLIB=$${RANLIB}" \
35407 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35408 pdf) \
35409 || exit 1
35411 @endif target-liboffloadmic
35413 .PHONY: maybe-html-target-liboffloadmic html-target-liboffloadmic
35414 maybe-html-target-liboffloadmic:
35415 @if target-liboffloadmic
35416 maybe-html-target-liboffloadmic: html-target-liboffloadmic
35418 html-target-liboffloadmic: \
35419 configure-target-liboffloadmic
35420 @: $(MAKE); $(unstage)
35421 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0 ; \
35422 r=`${PWD_COMMAND}`; export r; \
35423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35424 $(NORMAL_TARGET_EXPORTS) \
35425 echo "Doing html in $(TARGET_SUBDIR)/liboffloadmic" ; \
35426 for flag in $(EXTRA_TARGET_FLAGS); do \
35427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35428 done; \
35429 (cd $(TARGET_SUBDIR)/liboffloadmic && \
35430 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35431 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35432 "RANLIB=$${RANLIB}" \
35433 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35434 html) \
35435 || exit 1
35437 @endif target-liboffloadmic
35439 .PHONY: maybe-TAGS-target-liboffloadmic TAGS-target-liboffloadmic
35440 maybe-TAGS-target-liboffloadmic:
35441 @if target-liboffloadmic
35442 maybe-TAGS-target-liboffloadmic: TAGS-target-liboffloadmic
35444 TAGS-target-liboffloadmic: \
35445 configure-target-liboffloadmic
35446 @: $(MAKE); $(unstage)
35447 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0 ; \
35448 r=`${PWD_COMMAND}`; export r; \
35449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35450 $(NORMAL_TARGET_EXPORTS) \
35451 echo "Doing TAGS in $(TARGET_SUBDIR)/liboffloadmic" ; \
35452 for flag in $(EXTRA_TARGET_FLAGS); do \
35453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35454 done; \
35455 (cd $(TARGET_SUBDIR)/liboffloadmic && \
35456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35458 "RANLIB=$${RANLIB}" \
35459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35460 TAGS) \
35461 || exit 1
35463 @endif target-liboffloadmic
35465 .PHONY: maybe-install-info-target-liboffloadmic install-info-target-liboffloadmic
35466 maybe-install-info-target-liboffloadmic:
35467 @if target-liboffloadmic
35468 maybe-install-info-target-liboffloadmic: install-info-target-liboffloadmic
35470 install-info-target-liboffloadmic: \
35471 configure-target-liboffloadmic \
35472 info-target-liboffloadmic
35473 @: $(MAKE); $(unstage)
35474 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0 ; \
35475 r=`${PWD_COMMAND}`; export r; \
35476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35477 $(NORMAL_TARGET_EXPORTS) \
35478 echo "Doing install-info in $(TARGET_SUBDIR)/liboffloadmic" ; \
35479 for flag in $(EXTRA_TARGET_FLAGS); do \
35480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35481 done; \
35482 (cd $(TARGET_SUBDIR)/liboffloadmic && \
35483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35485 "RANLIB=$${RANLIB}" \
35486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35487 install-info) \
35488 || exit 1
35490 @endif target-liboffloadmic
35492 .PHONY: maybe-install-pdf-target-liboffloadmic install-pdf-target-liboffloadmic
35493 maybe-install-pdf-target-liboffloadmic:
35494 @if target-liboffloadmic
35495 maybe-install-pdf-target-liboffloadmic: install-pdf-target-liboffloadmic
35497 install-pdf-target-liboffloadmic: \
35498 configure-target-liboffloadmic \
35499 pdf-target-liboffloadmic
35500 @: $(MAKE); $(unstage)
35501 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0 ; \
35502 r=`${PWD_COMMAND}`; export r; \
35503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35504 $(NORMAL_TARGET_EXPORTS) \
35505 echo "Doing install-pdf in $(TARGET_SUBDIR)/liboffloadmic" ; \
35506 for flag in $(EXTRA_TARGET_FLAGS); do \
35507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35508 done; \
35509 (cd $(TARGET_SUBDIR)/liboffloadmic && \
35510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35512 "RANLIB=$${RANLIB}" \
35513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35514 install-pdf) \
35515 || exit 1
35517 @endif target-liboffloadmic
35519 .PHONY: maybe-install-html-target-liboffloadmic install-html-target-liboffloadmic
35520 maybe-install-html-target-liboffloadmic:
35521 @if target-liboffloadmic
35522 maybe-install-html-target-liboffloadmic: install-html-target-liboffloadmic
35524 install-html-target-liboffloadmic: \
35525 configure-target-liboffloadmic \
35526 html-target-liboffloadmic
35527 @: $(MAKE); $(unstage)
35528 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0 ; \
35529 r=`${PWD_COMMAND}`; export r; \
35530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35531 $(NORMAL_TARGET_EXPORTS) \
35532 echo "Doing install-html in $(TARGET_SUBDIR)/liboffloadmic" ; \
35533 for flag in $(EXTRA_TARGET_FLAGS); do \
35534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35535 done; \
35536 (cd $(TARGET_SUBDIR)/liboffloadmic && \
35537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35539 "RANLIB=$${RANLIB}" \
35540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35541 install-html) \
35542 || exit 1
35544 @endif target-liboffloadmic
35546 .PHONY: maybe-installcheck-target-liboffloadmic installcheck-target-liboffloadmic
35547 maybe-installcheck-target-liboffloadmic:
35548 @if target-liboffloadmic
35549 maybe-installcheck-target-liboffloadmic: installcheck-target-liboffloadmic
35551 installcheck-target-liboffloadmic: \
35552 configure-target-liboffloadmic
35553 @: $(MAKE); $(unstage)
35554 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0 ; \
35555 r=`${PWD_COMMAND}`; export r; \
35556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35557 $(NORMAL_TARGET_EXPORTS) \
35558 echo "Doing installcheck in $(TARGET_SUBDIR)/liboffloadmic" ; \
35559 for flag in $(EXTRA_TARGET_FLAGS); do \
35560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35561 done; \
35562 (cd $(TARGET_SUBDIR)/liboffloadmic && \
35563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35565 "RANLIB=$${RANLIB}" \
35566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35567 installcheck) \
35568 || exit 1
35570 @endif target-liboffloadmic
35572 .PHONY: maybe-mostlyclean-target-liboffloadmic mostlyclean-target-liboffloadmic
35573 maybe-mostlyclean-target-liboffloadmic:
35574 @if target-liboffloadmic
35575 maybe-mostlyclean-target-liboffloadmic: mostlyclean-target-liboffloadmic
35577 mostlyclean-target-liboffloadmic:
35578 @: $(MAKE); $(unstage)
35579 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0 ; \
35580 r=`${PWD_COMMAND}`; export r; \
35581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35582 $(NORMAL_TARGET_EXPORTS) \
35583 echo "Doing mostlyclean in $(TARGET_SUBDIR)/liboffloadmic" ; \
35584 for flag in $(EXTRA_TARGET_FLAGS); do \
35585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35586 done; \
35587 (cd $(TARGET_SUBDIR)/liboffloadmic && \
35588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35590 "RANLIB=$${RANLIB}" \
35591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35592 mostlyclean) \
35593 || exit 1
35595 @endif target-liboffloadmic
35597 .PHONY: maybe-clean-target-liboffloadmic clean-target-liboffloadmic
35598 maybe-clean-target-liboffloadmic:
35599 @if target-liboffloadmic
35600 maybe-clean-target-liboffloadmic: clean-target-liboffloadmic
35602 clean-target-liboffloadmic:
35603 @: $(MAKE); $(unstage)
35604 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0 ; \
35605 r=`${PWD_COMMAND}`; export r; \
35606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35607 $(NORMAL_TARGET_EXPORTS) \
35608 echo "Doing clean in $(TARGET_SUBDIR)/liboffloadmic" ; \
35609 for flag in $(EXTRA_TARGET_FLAGS); do \
35610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35611 done; \
35612 (cd $(TARGET_SUBDIR)/liboffloadmic && \
35613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35615 "RANLIB=$${RANLIB}" \
35616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35617 clean) \
35618 || exit 1
35620 @endif target-liboffloadmic
35622 .PHONY: maybe-distclean-target-liboffloadmic distclean-target-liboffloadmic
35623 maybe-distclean-target-liboffloadmic:
35624 @if target-liboffloadmic
35625 maybe-distclean-target-liboffloadmic: distclean-target-liboffloadmic
35627 distclean-target-liboffloadmic:
35628 @: $(MAKE); $(unstage)
35629 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0 ; \
35630 r=`${PWD_COMMAND}`; export r; \
35631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35632 $(NORMAL_TARGET_EXPORTS) \
35633 echo "Doing distclean in $(TARGET_SUBDIR)/liboffloadmic" ; \
35634 for flag in $(EXTRA_TARGET_FLAGS); do \
35635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35636 done; \
35637 (cd $(TARGET_SUBDIR)/liboffloadmic && \
35638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35640 "RANLIB=$${RANLIB}" \
35641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35642 distclean) \
35643 || exit 1
35645 @endif target-liboffloadmic
35647 .PHONY: maybe-maintainer-clean-target-liboffloadmic maintainer-clean-target-liboffloadmic
35648 maybe-maintainer-clean-target-liboffloadmic:
35649 @if target-liboffloadmic
35650 maybe-maintainer-clean-target-liboffloadmic: maintainer-clean-target-liboffloadmic
35652 maintainer-clean-target-liboffloadmic:
35653 @: $(MAKE); $(unstage)
35654 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0 ; \
35655 r=`${PWD_COMMAND}`; export r; \
35656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35657 $(NORMAL_TARGET_EXPORTS) \
35658 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/liboffloadmic" ; \
35659 for flag in $(EXTRA_TARGET_FLAGS); do \
35660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35661 done; \
35662 (cd $(TARGET_SUBDIR)/liboffloadmic && \
35663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35665 "RANLIB=$${RANLIB}" \
35666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35667 maintainer-clean) \
35668 || exit 1
35670 @endif target-liboffloadmic
35676 .PHONY: configure-target-libssp maybe-configure-target-libssp
35677 maybe-configure-target-libssp:
35678 @if gcc-bootstrap
35679 configure-target-libssp: stage_current
35680 @endif gcc-bootstrap
35681 @if target-libssp
35682 maybe-configure-target-libssp: configure-target-libssp
35683 configure-target-libssp:
35684 @: $(MAKE); $(unstage)
35685 @r=`${PWD_COMMAND}`; export r; \
35686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35687 echo "Checking multilib configuration for libssp..."; \
35688 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
35689 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libssp/multilib.tmp 2> /dev/null ; \
35690 if test -r $(TARGET_SUBDIR)/libssp/multilib.out; then \
35691 if cmp -s $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; then \
35692 rm -f $(TARGET_SUBDIR)/libssp/multilib.tmp; \
35693 else \
35694 rm -f $(TARGET_SUBDIR)/libssp/Makefile; \
35695 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
35696 fi; \
35697 else \
35698 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
35699 fi; \
35700 test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
35701 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
35702 $(NORMAL_TARGET_EXPORTS) \
35703 echo Configuring in $(TARGET_SUBDIR)/libssp; \
35704 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
35705 case $(srcdir) in \
35706 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35707 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
35708 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35709 esac; \
35710 module_srcdir=libssp; \
35711 rm -f no-such-file || : ; \
35712 CONFIG_SITE=no-such-file $(SHELL) \
35713 $$s/$$module_srcdir/configure \
35714 --srcdir=$${topdir}/$$module_srcdir \
35715 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35716 --target=${target_alias} \
35717 || exit 1
35718 @endif target-libssp
35724 .PHONY: all-target-libssp maybe-all-target-libssp
35725 maybe-all-target-libssp:
35726 @if gcc-bootstrap
35727 all-target-libssp: stage_current
35728 @endif gcc-bootstrap
35729 @if target-libssp
35730 TARGET-target-libssp=all
35731 maybe-all-target-libssp: all-target-libssp
35732 all-target-libssp: configure-target-libssp
35733 @: $(MAKE); $(unstage)
35734 @r=`${PWD_COMMAND}`; export r; \
35735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35736 $(NORMAL_TARGET_EXPORTS) \
35737 (cd $(TARGET_SUBDIR)/libssp && \
35738 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
35739 $(TARGET-target-libssp))
35740 @endif target-libssp
35746 .PHONY: check-target-libssp maybe-check-target-libssp
35747 maybe-check-target-libssp:
35748 @if target-libssp
35749 maybe-check-target-libssp: check-target-libssp
35751 check-target-libssp:
35752 @: $(MAKE); $(unstage)
35753 @r=`${PWD_COMMAND}`; export r; \
35754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35755 $(NORMAL_TARGET_EXPORTS) \
35756 (cd $(TARGET_SUBDIR)/libssp && \
35757 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
35759 @endif target-libssp
35761 .PHONY: install-target-libssp maybe-install-target-libssp
35762 maybe-install-target-libssp:
35763 @if target-libssp
35764 maybe-install-target-libssp: install-target-libssp
35766 install-target-libssp: installdirs
35767 @: $(MAKE); $(unstage)
35768 @r=`${PWD_COMMAND}`; export r; \
35769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35770 $(NORMAL_TARGET_EXPORTS) \
35771 (cd $(TARGET_SUBDIR)/libssp && \
35772 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35774 @endif target-libssp
35776 .PHONY: install-strip-target-libssp maybe-install-strip-target-libssp
35777 maybe-install-strip-target-libssp:
35778 @if target-libssp
35779 maybe-install-strip-target-libssp: install-strip-target-libssp
35781 install-strip-target-libssp: installdirs
35782 @: $(MAKE); $(unstage)
35783 @r=`${PWD_COMMAND}`; export r; \
35784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35785 $(NORMAL_TARGET_EXPORTS) \
35786 (cd $(TARGET_SUBDIR)/libssp && \
35787 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
35789 @endif target-libssp
35791 # Other targets (info, dvi, pdf, etc.)
35793 .PHONY: maybe-info-target-libssp info-target-libssp
35794 maybe-info-target-libssp:
35795 @if target-libssp
35796 maybe-info-target-libssp: info-target-libssp
35798 info-target-libssp: \
35799 configure-target-libssp
35800 @: $(MAKE); $(unstage)
35801 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
35802 r=`${PWD_COMMAND}`; export r; \
35803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35804 $(NORMAL_TARGET_EXPORTS) \
35805 echo "Doing info in $(TARGET_SUBDIR)/libssp" ; \
35806 for flag in $(EXTRA_TARGET_FLAGS); do \
35807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35808 done; \
35809 (cd $(TARGET_SUBDIR)/libssp && \
35810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35812 "RANLIB=$${RANLIB}" \
35813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35814 info) \
35815 || exit 1
35817 @endif target-libssp
35819 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
35820 maybe-dvi-target-libssp:
35821 @if target-libssp
35822 maybe-dvi-target-libssp: dvi-target-libssp
35824 dvi-target-libssp: \
35825 configure-target-libssp
35826 @: $(MAKE); $(unstage)
35827 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
35828 r=`${PWD_COMMAND}`; export r; \
35829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35830 $(NORMAL_TARGET_EXPORTS) \
35831 echo "Doing dvi in $(TARGET_SUBDIR)/libssp" ; \
35832 for flag in $(EXTRA_TARGET_FLAGS); do \
35833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35834 done; \
35835 (cd $(TARGET_SUBDIR)/libssp && \
35836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35838 "RANLIB=$${RANLIB}" \
35839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35840 dvi) \
35841 || exit 1
35843 @endif target-libssp
35845 .PHONY: maybe-pdf-target-libssp pdf-target-libssp
35846 maybe-pdf-target-libssp:
35847 @if target-libssp
35848 maybe-pdf-target-libssp: pdf-target-libssp
35850 pdf-target-libssp: \
35851 configure-target-libssp
35852 @: $(MAKE); $(unstage)
35853 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
35854 r=`${PWD_COMMAND}`; export r; \
35855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35856 $(NORMAL_TARGET_EXPORTS) \
35857 echo "Doing pdf in $(TARGET_SUBDIR)/libssp" ; \
35858 for flag in $(EXTRA_TARGET_FLAGS); do \
35859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35860 done; \
35861 (cd $(TARGET_SUBDIR)/libssp && \
35862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35864 "RANLIB=$${RANLIB}" \
35865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35866 pdf) \
35867 || exit 1
35869 @endif target-libssp
35871 .PHONY: maybe-html-target-libssp html-target-libssp
35872 maybe-html-target-libssp:
35873 @if target-libssp
35874 maybe-html-target-libssp: html-target-libssp
35876 html-target-libssp: \
35877 configure-target-libssp
35878 @: $(MAKE); $(unstage)
35879 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
35880 r=`${PWD_COMMAND}`; export r; \
35881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35882 $(NORMAL_TARGET_EXPORTS) \
35883 echo "Doing html in $(TARGET_SUBDIR)/libssp" ; \
35884 for flag in $(EXTRA_TARGET_FLAGS); do \
35885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35886 done; \
35887 (cd $(TARGET_SUBDIR)/libssp && \
35888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35890 "RANLIB=$${RANLIB}" \
35891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35892 html) \
35893 || exit 1
35895 @endif target-libssp
35897 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
35898 maybe-TAGS-target-libssp:
35899 @if target-libssp
35900 maybe-TAGS-target-libssp: TAGS-target-libssp
35902 TAGS-target-libssp: \
35903 configure-target-libssp
35904 @: $(MAKE); $(unstage)
35905 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
35906 r=`${PWD_COMMAND}`; export r; \
35907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35908 $(NORMAL_TARGET_EXPORTS) \
35909 echo "Doing TAGS in $(TARGET_SUBDIR)/libssp" ; \
35910 for flag in $(EXTRA_TARGET_FLAGS); do \
35911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35912 done; \
35913 (cd $(TARGET_SUBDIR)/libssp && \
35914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35916 "RANLIB=$${RANLIB}" \
35917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35918 TAGS) \
35919 || exit 1
35921 @endif target-libssp
35923 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
35924 maybe-install-info-target-libssp:
35925 @if target-libssp
35926 maybe-install-info-target-libssp: install-info-target-libssp
35928 install-info-target-libssp: \
35929 configure-target-libssp \
35930 info-target-libssp
35931 @: $(MAKE); $(unstage)
35932 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
35933 r=`${PWD_COMMAND}`; export r; \
35934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35935 $(NORMAL_TARGET_EXPORTS) \
35936 echo "Doing install-info in $(TARGET_SUBDIR)/libssp" ; \
35937 for flag in $(EXTRA_TARGET_FLAGS); do \
35938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35939 done; \
35940 (cd $(TARGET_SUBDIR)/libssp && \
35941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35943 "RANLIB=$${RANLIB}" \
35944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35945 install-info) \
35946 || exit 1
35948 @endif target-libssp
35950 .PHONY: maybe-install-pdf-target-libssp install-pdf-target-libssp
35951 maybe-install-pdf-target-libssp:
35952 @if target-libssp
35953 maybe-install-pdf-target-libssp: install-pdf-target-libssp
35955 install-pdf-target-libssp: \
35956 configure-target-libssp \
35957 pdf-target-libssp
35958 @: $(MAKE); $(unstage)
35959 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
35960 r=`${PWD_COMMAND}`; export r; \
35961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35962 $(NORMAL_TARGET_EXPORTS) \
35963 echo "Doing install-pdf in $(TARGET_SUBDIR)/libssp" ; \
35964 for flag in $(EXTRA_TARGET_FLAGS); do \
35965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35966 done; \
35967 (cd $(TARGET_SUBDIR)/libssp && \
35968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35970 "RANLIB=$${RANLIB}" \
35971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35972 install-pdf) \
35973 || exit 1
35975 @endif target-libssp
35977 .PHONY: maybe-install-html-target-libssp install-html-target-libssp
35978 maybe-install-html-target-libssp:
35979 @if target-libssp
35980 maybe-install-html-target-libssp: install-html-target-libssp
35982 install-html-target-libssp: \
35983 configure-target-libssp \
35984 html-target-libssp
35985 @: $(MAKE); $(unstage)
35986 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
35987 r=`${PWD_COMMAND}`; export r; \
35988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35989 $(NORMAL_TARGET_EXPORTS) \
35990 echo "Doing install-html in $(TARGET_SUBDIR)/libssp" ; \
35991 for flag in $(EXTRA_TARGET_FLAGS); do \
35992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35993 done; \
35994 (cd $(TARGET_SUBDIR)/libssp && \
35995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35997 "RANLIB=$${RANLIB}" \
35998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35999 install-html) \
36000 || exit 1
36002 @endif target-libssp
36004 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
36005 maybe-installcheck-target-libssp:
36006 @if target-libssp
36007 maybe-installcheck-target-libssp: installcheck-target-libssp
36009 installcheck-target-libssp: \
36010 configure-target-libssp
36011 @: $(MAKE); $(unstage)
36012 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
36013 r=`${PWD_COMMAND}`; export r; \
36014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36015 $(NORMAL_TARGET_EXPORTS) \
36016 echo "Doing installcheck in $(TARGET_SUBDIR)/libssp" ; \
36017 for flag in $(EXTRA_TARGET_FLAGS); do \
36018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36019 done; \
36020 (cd $(TARGET_SUBDIR)/libssp && \
36021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36023 "RANLIB=$${RANLIB}" \
36024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36025 installcheck) \
36026 || exit 1
36028 @endif target-libssp
36030 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
36031 maybe-mostlyclean-target-libssp:
36032 @if target-libssp
36033 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
36035 mostlyclean-target-libssp:
36036 @: $(MAKE); $(unstage)
36037 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
36038 r=`${PWD_COMMAND}`; export r; \
36039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36040 $(NORMAL_TARGET_EXPORTS) \
36041 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp" ; \
36042 for flag in $(EXTRA_TARGET_FLAGS); do \
36043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36044 done; \
36045 (cd $(TARGET_SUBDIR)/libssp && \
36046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36048 "RANLIB=$${RANLIB}" \
36049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36050 mostlyclean) \
36051 || exit 1
36053 @endif target-libssp
36055 .PHONY: maybe-clean-target-libssp clean-target-libssp
36056 maybe-clean-target-libssp:
36057 @if target-libssp
36058 maybe-clean-target-libssp: clean-target-libssp
36060 clean-target-libssp:
36061 @: $(MAKE); $(unstage)
36062 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
36063 r=`${PWD_COMMAND}`; export r; \
36064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36065 $(NORMAL_TARGET_EXPORTS) \
36066 echo "Doing clean in $(TARGET_SUBDIR)/libssp" ; \
36067 for flag in $(EXTRA_TARGET_FLAGS); do \
36068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36069 done; \
36070 (cd $(TARGET_SUBDIR)/libssp && \
36071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36073 "RANLIB=$${RANLIB}" \
36074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36075 clean) \
36076 || exit 1
36078 @endif target-libssp
36080 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
36081 maybe-distclean-target-libssp:
36082 @if target-libssp
36083 maybe-distclean-target-libssp: distclean-target-libssp
36085 distclean-target-libssp:
36086 @: $(MAKE); $(unstage)
36087 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
36088 r=`${PWD_COMMAND}`; export r; \
36089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36090 $(NORMAL_TARGET_EXPORTS) \
36091 echo "Doing distclean in $(TARGET_SUBDIR)/libssp" ; \
36092 for flag in $(EXTRA_TARGET_FLAGS); do \
36093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36094 done; \
36095 (cd $(TARGET_SUBDIR)/libssp && \
36096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36098 "RANLIB=$${RANLIB}" \
36099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36100 distclean) \
36101 || exit 1
36103 @endif target-libssp
36105 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
36106 maybe-maintainer-clean-target-libssp:
36107 @if target-libssp
36108 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
36110 maintainer-clean-target-libssp:
36111 @: $(MAKE); $(unstage)
36112 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
36113 r=`${PWD_COMMAND}`; export r; \
36114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36115 $(NORMAL_TARGET_EXPORTS) \
36116 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp" ; \
36117 for flag in $(EXTRA_TARGET_FLAGS); do \
36118 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36119 done; \
36120 (cd $(TARGET_SUBDIR)/libssp && \
36121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36123 "RANLIB=$${RANLIB}" \
36124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36125 maintainer-clean) \
36126 || exit 1
36128 @endif target-libssp
36134 .PHONY: configure-target-newlib maybe-configure-target-newlib
36135 maybe-configure-target-newlib:
36136 @if gcc-bootstrap
36137 configure-target-newlib: stage_current
36138 @endif gcc-bootstrap
36139 @if target-newlib
36140 maybe-configure-target-newlib: configure-target-newlib
36141 configure-target-newlib:
36142 @: $(MAKE); $(unstage)
36143 @r=`${PWD_COMMAND}`; export r; \
36144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36145 echo "Checking multilib configuration for newlib..."; \
36146 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
36147 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/newlib/multilib.tmp 2> /dev/null ; \
36148 if test -r $(TARGET_SUBDIR)/newlib/multilib.out; then \
36149 if cmp -s $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; then \
36150 rm -f $(TARGET_SUBDIR)/newlib/multilib.tmp; \
36151 else \
36152 rm -f $(TARGET_SUBDIR)/newlib/Makefile; \
36153 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
36154 fi; \
36155 else \
36156 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
36157 fi; \
36158 test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
36159 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
36160 $(NORMAL_TARGET_EXPORTS) \
36161 echo Configuring in $(TARGET_SUBDIR)/newlib; \
36162 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
36163 case $(srcdir) in \
36164 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36165 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
36166 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36167 esac; \
36168 module_srcdir=newlib; \
36169 rm -f no-such-file || : ; \
36170 CONFIG_SITE=no-such-file $(SHELL) \
36171 $$s/$$module_srcdir/configure \
36172 --srcdir=$${topdir}/$$module_srcdir \
36173 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36174 --target=${target_alias} \
36175 || exit 1
36176 @endif target-newlib
36182 .PHONY: all-target-newlib maybe-all-target-newlib
36183 maybe-all-target-newlib:
36184 @if gcc-bootstrap
36185 all-target-newlib: stage_current
36186 @endif gcc-bootstrap
36187 @if target-newlib
36188 TARGET-target-newlib=all
36189 maybe-all-target-newlib: all-target-newlib
36190 all-target-newlib: configure-target-newlib
36191 @: $(MAKE); $(unstage)
36192 @r=`${PWD_COMMAND}`; export r; \
36193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36194 $(NORMAL_TARGET_EXPORTS) \
36195 (cd $(TARGET_SUBDIR)/newlib && \
36196 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
36197 $(TARGET-target-newlib))
36198 @endif target-newlib
36204 .PHONY: check-target-newlib maybe-check-target-newlib
36205 maybe-check-target-newlib:
36206 @if target-newlib
36207 maybe-check-target-newlib: check-target-newlib
36209 check-target-newlib:
36210 @: $(MAKE); $(unstage)
36211 @r=`${PWD_COMMAND}`; export r; \
36212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36213 $(NORMAL_TARGET_EXPORTS) \
36214 (cd $(TARGET_SUBDIR)/newlib && \
36215 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
36217 @endif target-newlib
36219 .PHONY: install-target-newlib maybe-install-target-newlib
36220 maybe-install-target-newlib:
36221 @if target-newlib
36222 maybe-install-target-newlib: install-target-newlib
36224 install-target-newlib: installdirs
36225 @: $(MAKE); $(unstage)
36226 @r=`${PWD_COMMAND}`; export r; \
36227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36228 $(NORMAL_TARGET_EXPORTS) \
36229 (cd $(TARGET_SUBDIR)/newlib && \
36230 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36232 @endif target-newlib
36234 .PHONY: install-strip-target-newlib maybe-install-strip-target-newlib
36235 maybe-install-strip-target-newlib:
36236 @if target-newlib
36237 maybe-install-strip-target-newlib: install-strip-target-newlib
36239 install-strip-target-newlib: installdirs
36240 @: $(MAKE); $(unstage)
36241 @r=`${PWD_COMMAND}`; export r; \
36242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36243 $(NORMAL_TARGET_EXPORTS) \
36244 (cd $(TARGET_SUBDIR)/newlib && \
36245 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
36247 @endif target-newlib
36249 # Other targets (info, dvi, pdf, etc.)
36251 .PHONY: maybe-info-target-newlib info-target-newlib
36252 maybe-info-target-newlib:
36253 @if target-newlib
36254 maybe-info-target-newlib: info-target-newlib
36256 info-target-newlib: \
36257 configure-target-newlib
36258 @: $(MAKE); $(unstage)
36259 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36260 r=`${PWD_COMMAND}`; export r; \
36261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36262 $(NORMAL_TARGET_EXPORTS) \
36263 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
36264 for flag in $(EXTRA_TARGET_FLAGS); do \
36265 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36266 done; \
36267 (cd $(TARGET_SUBDIR)/newlib && \
36268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36270 "RANLIB=$${RANLIB}" \
36271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36272 info) \
36273 || exit 1
36275 @endif target-newlib
36277 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
36278 maybe-dvi-target-newlib:
36279 @if target-newlib
36280 maybe-dvi-target-newlib: dvi-target-newlib
36282 dvi-target-newlib: \
36283 configure-target-newlib
36284 @: $(MAKE); $(unstage)
36285 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36286 r=`${PWD_COMMAND}`; export r; \
36287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36288 $(NORMAL_TARGET_EXPORTS) \
36289 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
36290 for flag in $(EXTRA_TARGET_FLAGS); do \
36291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36292 done; \
36293 (cd $(TARGET_SUBDIR)/newlib && \
36294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36296 "RANLIB=$${RANLIB}" \
36297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36298 dvi) \
36299 || exit 1
36301 @endif target-newlib
36303 .PHONY: maybe-pdf-target-newlib pdf-target-newlib
36304 maybe-pdf-target-newlib:
36305 @if target-newlib
36306 maybe-pdf-target-newlib: pdf-target-newlib
36308 pdf-target-newlib: \
36309 configure-target-newlib
36310 @: $(MAKE); $(unstage)
36311 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36312 r=`${PWD_COMMAND}`; export r; \
36313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36314 $(NORMAL_TARGET_EXPORTS) \
36315 echo "Doing pdf in $(TARGET_SUBDIR)/newlib" ; \
36316 for flag in $(EXTRA_TARGET_FLAGS); do \
36317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36318 done; \
36319 (cd $(TARGET_SUBDIR)/newlib && \
36320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36322 "RANLIB=$${RANLIB}" \
36323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36324 pdf) \
36325 || exit 1
36327 @endif target-newlib
36329 .PHONY: maybe-html-target-newlib html-target-newlib
36330 maybe-html-target-newlib:
36331 @if target-newlib
36332 maybe-html-target-newlib: html-target-newlib
36334 html-target-newlib: \
36335 configure-target-newlib
36336 @: $(MAKE); $(unstage)
36337 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36338 r=`${PWD_COMMAND}`; export r; \
36339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36340 $(NORMAL_TARGET_EXPORTS) \
36341 echo "Doing html in $(TARGET_SUBDIR)/newlib" ; \
36342 for flag in $(EXTRA_TARGET_FLAGS); do \
36343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36344 done; \
36345 (cd $(TARGET_SUBDIR)/newlib && \
36346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36348 "RANLIB=$${RANLIB}" \
36349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36350 html) \
36351 || exit 1
36353 @endif target-newlib
36355 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
36356 maybe-TAGS-target-newlib:
36357 @if target-newlib
36358 maybe-TAGS-target-newlib: TAGS-target-newlib
36360 TAGS-target-newlib: \
36361 configure-target-newlib
36362 @: $(MAKE); $(unstage)
36363 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36364 r=`${PWD_COMMAND}`; export r; \
36365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36366 $(NORMAL_TARGET_EXPORTS) \
36367 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
36368 for flag in $(EXTRA_TARGET_FLAGS); do \
36369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36370 done; \
36371 (cd $(TARGET_SUBDIR)/newlib && \
36372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36374 "RANLIB=$${RANLIB}" \
36375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36376 TAGS) \
36377 || exit 1
36379 @endif target-newlib
36381 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
36382 maybe-install-info-target-newlib:
36383 @if target-newlib
36384 maybe-install-info-target-newlib: install-info-target-newlib
36386 install-info-target-newlib: \
36387 configure-target-newlib \
36388 info-target-newlib
36389 @: $(MAKE); $(unstage)
36390 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36391 r=`${PWD_COMMAND}`; export r; \
36392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36393 $(NORMAL_TARGET_EXPORTS) \
36394 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
36395 for flag in $(EXTRA_TARGET_FLAGS); do \
36396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36397 done; \
36398 (cd $(TARGET_SUBDIR)/newlib && \
36399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36401 "RANLIB=$${RANLIB}" \
36402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36403 install-info) \
36404 || exit 1
36406 @endif target-newlib
36408 .PHONY: maybe-install-pdf-target-newlib install-pdf-target-newlib
36409 maybe-install-pdf-target-newlib:
36410 @if target-newlib
36411 maybe-install-pdf-target-newlib: install-pdf-target-newlib
36413 install-pdf-target-newlib: \
36414 configure-target-newlib \
36415 pdf-target-newlib
36416 @: $(MAKE); $(unstage)
36417 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36418 r=`${PWD_COMMAND}`; export r; \
36419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36420 $(NORMAL_TARGET_EXPORTS) \
36421 echo "Doing install-pdf in $(TARGET_SUBDIR)/newlib" ; \
36422 for flag in $(EXTRA_TARGET_FLAGS); do \
36423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36424 done; \
36425 (cd $(TARGET_SUBDIR)/newlib && \
36426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36428 "RANLIB=$${RANLIB}" \
36429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36430 install-pdf) \
36431 || exit 1
36433 @endif target-newlib
36435 .PHONY: maybe-install-html-target-newlib install-html-target-newlib
36436 maybe-install-html-target-newlib:
36437 @if target-newlib
36438 maybe-install-html-target-newlib: install-html-target-newlib
36440 install-html-target-newlib: \
36441 configure-target-newlib \
36442 html-target-newlib
36443 @: $(MAKE); $(unstage)
36444 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36445 r=`${PWD_COMMAND}`; export r; \
36446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36447 $(NORMAL_TARGET_EXPORTS) \
36448 echo "Doing install-html in $(TARGET_SUBDIR)/newlib" ; \
36449 for flag in $(EXTRA_TARGET_FLAGS); do \
36450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36451 done; \
36452 (cd $(TARGET_SUBDIR)/newlib && \
36453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36455 "RANLIB=$${RANLIB}" \
36456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36457 install-html) \
36458 || exit 1
36460 @endif target-newlib
36462 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
36463 maybe-installcheck-target-newlib:
36464 @if target-newlib
36465 maybe-installcheck-target-newlib: installcheck-target-newlib
36467 installcheck-target-newlib: \
36468 configure-target-newlib
36469 @: $(MAKE); $(unstage)
36470 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36471 r=`${PWD_COMMAND}`; export r; \
36472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36473 $(NORMAL_TARGET_EXPORTS) \
36474 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
36475 for flag in $(EXTRA_TARGET_FLAGS); do \
36476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36477 done; \
36478 (cd $(TARGET_SUBDIR)/newlib && \
36479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36481 "RANLIB=$${RANLIB}" \
36482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36483 installcheck) \
36484 || exit 1
36486 @endif target-newlib
36488 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
36489 maybe-mostlyclean-target-newlib:
36490 @if target-newlib
36491 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
36493 mostlyclean-target-newlib:
36494 @: $(MAKE); $(unstage)
36495 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36496 r=`${PWD_COMMAND}`; export r; \
36497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36498 $(NORMAL_TARGET_EXPORTS) \
36499 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
36500 for flag in $(EXTRA_TARGET_FLAGS); do \
36501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36502 done; \
36503 (cd $(TARGET_SUBDIR)/newlib && \
36504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36506 "RANLIB=$${RANLIB}" \
36507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36508 mostlyclean) \
36509 || exit 1
36511 @endif target-newlib
36513 .PHONY: maybe-clean-target-newlib clean-target-newlib
36514 maybe-clean-target-newlib:
36515 @if target-newlib
36516 maybe-clean-target-newlib: clean-target-newlib
36518 clean-target-newlib:
36519 @: $(MAKE); $(unstage)
36520 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36521 r=`${PWD_COMMAND}`; export r; \
36522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36523 $(NORMAL_TARGET_EXPORTS) \
36524 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
36525 for flag in $(EXTRA_TARGET_FLAGS); do \
36526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36527 done; \
36528 (cd $(TARGET_SUBDIR)/newlib && \
36529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36531 "RANLIB=$${RANLIB}" \
36532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36533 clean) \
36534 || exit 1
36536 @endif target-newlib
36538 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
36539 maybe-distclean-target-newlib:
36540 @if target-newlib
36541 maybe-distclean-target-newlib: distclean-target-newlib
36543 distclean-target-newlib:
36544 @: $(MAKE); $(unstage)
36545 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36546 r=`${PWD_COMMAND}`; export r; \
36547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36548 $(NORMAL_TARGET_EXPORTS) \
36549 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
36550 for flag in $(EXTRA_TARGET_FLAGS); do \
36551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36552 done; \
36553 (cd $(TARGET_SUBDIR)/newlib && \
36554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36556 "RANLIB=$${RANLIB}" \
36557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36558 distclean) \
36559 || exit 1
36561 @endif target-newlib
36563 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
36564 maybe-maintainer-clean-target-newlib:
36565 @if target-newlib
36566 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
36568 maintainer-clean-target-newlib:
36569 @: $(MAKE); $(unstage)
36570 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36571 r=`${PWD_COMMAND}`; export r; \
36572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36573 $(NORMAL_TARGET_EXPORTS) \
36574 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
36575 for flag in $(EXTRA_TARGET_FLAGS); do \
36576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36577 done; \
36578 (cd $(TARGET_SUBDIR)/newlib && \
36579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36581 "RANLIB=$${RANLIB}" \
36582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36583 maintainer-clean) \
36584 || exit 1
36586 @endif target-newlib
36592 .PHONY: configure-target-libgcc maybe-configure-target-libgcc
36593 maybe-configure-target-libgcc:
36594 @if gcc-bootstrap
36595 configure-target-libgcc: stage_current
36596 @endif gcc-bootstrap
36597 @if target-libgcc
36598 maybe-configure-target-libgcc: configure-target-libgcc
36599 configure-target-libgcc:
36600 @r=`${PWD_COMMAND}`; export r; \
36601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36602 echo "Checking multilib configuration for libgcc..."; \
36603 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
36604 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
36605 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36606 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36607 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
36608 else \
36609 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
36610 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36611 fi; \
36612 else \
36613 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36614 fi; \
36615 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
36616 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
36617 $(NORMAL_TARGET_EXPORTS) \
36618 echo Configuring in $(TARGET_SUBDIR)/libgcc; \
36619 cd "$(TARGET_SUBDIR)/libgcc" || exit 1; \
36620 case $(srcdir) in \
36621 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36622 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
36623 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36624 esac; \
36625 module_srcdir=libgcc; \
36626 rm -f no-such-file || : ; \
36627 CONFIG_SITE=no-such-file $(SHELL) \
36628 $$s/$$module_srcdir/configure \
36629 --srcdir=$${topdir}/$$module_srcdir \
36630 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36631 --target=${target_alias} \
36632 || exit 1
36633 @endif target-libgcc
36637 .PHONY: configure-stage1-target-libgcc maybe-configure-stage1-target-libgcc
36638 maybe-configure-stage1-target-libgcc:
36639 @if target-libgcc-bootstrap
36640 maybe-configure-stage1-target-libgcc: configure-stage1-target-libgcc
36641 configure-stage1-target-libgcc:
36642 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
36643 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
36644 @r=`${PWD_COMMAND}`; export r; \
36645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36646 TFLAGS="$(STAGE1_TFLAGS)"; \
36647 echo "Checking multilib configuration for libgcc..."; \
36648 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
36649 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36650 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36651 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
36652 else \
36653 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
36654 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36655 fi; \
36656 else \
36657 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36658 fi; \
36659 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
36660 $(NORMAL_TARGET_EXPORTS) \
36661 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
36662 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
36663 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
36664 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgcc ; \
36665 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
36666 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
36667 case $(srcdir) in \
36668 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36669 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
36670 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36671 esac; \
36672 module_srcdir=libgcc; \
36673 $(SHELL) $$s/$$module_srcdir/configure \
36674 --srcdir=$${topdir}/$$module_srcdir \
36675 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36676 --target=${target_alias} \
36678 $(STAGE1_CONFIGURE_FLAGS)
36679 @endif target-libgcc-bootstrap
36681 .PHONY: configure-stage2-target-libgcc maybe-configure-stage2-target-libgcc
36682 maybe-configure-stage2-target-libgcc:
36683 @if target-libgcc-bootstrap
36684 maybe-configure-stage2-target-libgcc: configure-stage2-target-libgcc
36685 configure-stage2-target-libgcc:
36686 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
36687 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
36688 @r=`${PWD_COMMAND}`; export r; \
36689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36690 TFLAGS="$(STAGE2_TFLAGS)"; \
36691 echo "Checking multilib configuration for libgcc..."; \
36692 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
36693 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36694 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36695 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
36696 else \
36697 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
36698 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36699 fi; \
36700 else \
36701 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36702 fi; \
36703 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
36704 $(NORMAL_TARGET_EXPORTS) \
36706 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
36707 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
36708 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
36709 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgcc ; \
36710 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
36711 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
36712 case $(srcdir) in \
36713 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36714 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
36715 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36716 esac; \
36717 module_srcdir=libgcc; \
36718 $(SHELL) $$s/$$module_srcdir/configure \
36719 --srcdir=$${topdir}/$$module_srcdir \
36720 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36721 --target=${target_alias} \
36722 --with-build-libsubdir=$(HOST_SUBDIR) \
36723 $(STAGE2_CONFIGURE_FLAGS)
36724 @endif target-libgcc-bootstrap
36726 .PHONY: configure-stage3-target-libgcc maybe-configure-stage3-target-libgcc
36727 maybe-configure-stage3-target-libgcc:
36728 @if target-libgcc-bootstrap
36729 maybe-configure-stage3-target-libgcc: configure-stage3-target-libgcc
36730 configure-stage3-target-libgcc:
36731 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
36732 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
36733 @r=`${PWD_COMMAND}`; export r; \
36734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36735 TFLAGS="$(STAGE3_TFLAGS)"; \
36736 echo "Checking multilib configuration for libgcc..."; \
36737 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
36738 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36739 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36740 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
36741 else \
36742 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
36743 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36744 fi; \
36745 else \
36746 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36747 fi; \
36748 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
36749 $(NORMAL_TARGET_EXPORTS) \
36751 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
36752 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
36753 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
36754 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgcc ; \
36755 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
36756 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
36757 case $(srcdir) in \
36758 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36759 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
36760 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36761 esac; \
36762 module_srcdir=libgcc; \
36763 $(SHELL) $$s/$$module_srcdir/configure \
36764 --srcdir=$${topdir}/$$module_srcdir \
36765 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36766 --target=${target_alias} \
36767 --with-build-libsubdir=$(HOST_SUBDIR) \
36768 $(STAGE3_CONFIGURE_FLAGS)
36769 @endif target-libgcc-bootstrap
36771 .PHONY: configure-stage4-target-libgcc maybe-configure-stage4-target-libgcc
36772 maybe-configure-stage4-target-libgcc:
36773 @if target-libgcc-bootstrap
36774 maybe-configure-stage4-target-libgcc: configure-stage4-target-libgcc
36775 configure-stage4-target-libgcc:
36776 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
36777 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
36778 @r=`${PWD_COMMAND}`; export r; \
36779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36780 TFLAGS="$(STAGE4_TFLAGS)"; \
36781 echo "Checking multilib configuration for libgcc..."; \
36782 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
36783 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36784 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36785 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
36786 else \
36787 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
36788 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36789 fi; \
36790 else \
36791 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36792 fi; \
36793 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
36794 $(NORMAL_TARGET_EXPORTS) \
36796 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
36797 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
36798 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
36799 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgcc ; \
36800 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
36801 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
36802 case $(srcdir) in \
36803 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36804 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
36805 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36806 esac; \
36807 module_srcdir=libgcc; \
36808 $(SHELL) $$s/$$module_srcdir/configure \
36809 --srcdir=$${topdir}/$$module_srcdir \
36810 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36811 --target=${target_alias} \
36812 --with-build-libsubdir=$(HOST_SUBDIR) \
36813 $(STAGE4_CONFIGURE_FLAGS)
36814 @endif target-libgcc-bootstrap
36816 .PHONY: configure-stageprofile-target-libgcc maybe-configure-stageprofile-target-libgcc
36817 maybe-configure-stageprofile-target-libgcc:
36818 @if target-libgcc-bootstrap
36819 maybe-configure-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
36820 configure-stageprofile-target-libgcc:
36821 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
36822 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
36823 @r=`${PWD_COMMAND}`; export r; \
36824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36825 TFLAGS="$(STAGEprofile_TFLAGS)"; \
36826 echo "Checking multilib configuration for libgcc..."; \
36827 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
36828 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36829 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36830 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
36831 else \
36832 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
36833 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36834 fi; \
36835 else \
36836 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36837 fi; \
36838 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
36839 $(NORMAL_TARGET_EXPORTS) \
36841 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
36842 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
36843 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
36844 echo Configuring stage profile in $(TARGET_SUBDIR)/libgcc ; \
36845 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
36846 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
36847 case $(srcdir) in \
36848 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36849 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
36850 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36851 esac; \
36852 module_srcdir=libgcc; \
36853 $(SHELL) $$s/$$module_srcdir/configure \
36854 --srcdir=$${topdir}/$$module_srcdir \
36855 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36856 --target=${target_alias} \
36857 --with-build-libsubdir=$(HOST_SUBDIR) \
36858 $(STAGEprofile_CONFIGURE_FLAGS)
36859 @endif target-libgcc-bootstrap
36861 .PHONY: configure-stagefeedback-target-libgcc maybe-configure-stagefeedback-target-libgcc
36862 maybe-configure-stagefeedback-target-libgcc:
36863 @if target-libgcc-bootstrap
36864 maybe-configure-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
36865 configure-stagefeedback-target-libgcc:
36866 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
36867 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
36868 @r=`${PWD_COMMAND}`; export r; \
36869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36870 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
36871 echo "Checking multilib configuration for libgcc..."; \
36872 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
36873 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36874 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
36875 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
36876 else \
36877 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
36878 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36879 fi; \
36880 else \
36881 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
36882 fi; \
36883 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
36884 $(NORMAL_TARGET_EXPORTS) \
36886 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
36887 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
36888 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
36889 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgcc ; \
36890 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
36891 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
36892 case $(srcdir) in \
36893 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36894 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
36895 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36896 esac; \
36897 module_srcdir=libgcc; \
36898 $(SHELL) $$s/$$module_srcdir/configure \
36899 --srcdir=$${topdir}/$$module_srcdir \
36900 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36901 --target=${target_alias} \
36902 --with-build-libsubdir=$(HOST_SUBDIR) \
36903 $(STAGEfeedback_CONFIGURE_FLAGS)
36904 @endif target-libgcc-bootstrap
36910 .PHONY: all-target-libgcc maybe-all-target-libgcc
36911 maybe-all-target-libgcc:
36912 @if gcc-bootstrap
36913 all-target-libgcc: stage_current
36914 @endif gcc-bootstrap
36915 @if target-libgcc
36916 TARGET-target-libgcc=all
36917 maybe-all-target-libgcc: all-target-libgcc
36918 all-target-libgcc: configure-target-libgcc
36919 @r=`${PWD_COMMAND}`; export r; \
36920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36921 $(NORMAL_TARGET_EXPORTS) \
36922 (cd $(TARGET_SUBDIR)/libgcc && \
36923 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
36924 $(TARGET-target-libgcc))
36925 @endif target-libgcc
36929 .PHONY: all-stage1-target-libgcc maybe-all-stage1-target-libgcc
36930 .PHONY: clean-stage1-target-libgcc maybe-clean-stage1-target-libgcc
36931 maybe-all-stage1-target-libgcc:
36932 maybe-clean-stage1-target-libgcc:
36933 @if target-libgcc-bootstrap
36934 maybe-all-stage1-target-libgcc: all-stage1-target-libgcc
36935 all-stage1: all-stage1-target-libgcc
36936 TARGET-stage1-target-libgcc = $(TARGET-target-libgcc)
36937 all-stage1-target-libgcc: configure-stage1-target-libgcc
36938 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
36939 @r=`${PWD_COMMAND}`; export r; \
36940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36941 TFLAGS="$(STAGE1_TFLAGS)"; \
36942 $(NORMAL_TARGET_EXPORTS) \
36943 cd $(TARGET_SUBDIR)/libgcc && \
36944 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36945 CFLAGS="$(CFLAGS_FOR_TARGET)" \
36946 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
36947 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
36948 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36949 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36950 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36951 $(EXTRA_TARGET_FLAGS) \
36953 TFLAGS="$(STAGE1_TFLAGS)" \
36954 $(TARGET-stage1-target-libgcc)
36956 maybe-clean-stage1-target-libgcc: clean-stage1-target-libgcc
36957 clean-stage1: clean-stage1-target-libgcc
36958 clean-stage1-target-libgcc:
36959 @if [ $(current_stage) = stage1 ]; then \
36960 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
36961 else \
36962 [ -f $(TARGET_SUBDIR)/stage1-libgcc/Makefile ] || exit 0; \
36963 $(MAKE) stage1-start; \
36964 fi; \
36965 cd $(TARGET_SUBDIR)/libgcc && \
36966 $(MAKE) $(EXTRA_TARGET_FLAGS) \
36967 clean
36968 @endif target-libgcc-bootstrap
36971 .PHONY: all-stage2-target-libgcc maybe-all-stage2-target-libgcc
36972 .PHONY: clean-stage2-target-libgcc maybe-clean-stage2-target-libgcc
36973 maybe-all-stage2-target-libgcc:
36974 maybe-clean-stage2-target-libgcc:
36975 @if target-libgcc-bootstrap
36976 maybe-all-stage2-target-libgcc: all-stage2-target-libgcc
36977 all-stage2: all-stage2-target-libgcc
36978 TARGET-stage2-target-libgcc = $(TARGET-target-libgcc)
36979 all-stage2-target-libgcc: configure-stage2-target-libgcc
36980 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
36981 @r=`${PWD_COMMAND}`; export r; \
36982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36983 TFLAGS="$(STAGE2_TFLAGS)"; \
36984 $(NORMAL_TARGET_EXPORTS) \
36986 cd $(TARGET_SUBDIR)/libgcc && \
36987 $(MAKE) $(BASE_FLAGS_TO_PASS) \
36988 CFLAGS="$(CFLAGS_FOR_TARGET)" \
36989 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
36990 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
36991 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
36992 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
36993 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
36994 $(EXTRA_TARGET_FLAGS) \
36995 TFLAGS="$(STAGE2_TFLAGS)" \
36996 $(TARGET-stage2-target-libgcc)
36998 maybe-clean-stage2-target-libgcc: clean-stage2-target-libgcc
36999 clean-stage2: clean-stage2-target-libgcc
37000 clean-stage2-target-libgcc:
37001 @if [ $(current_stage) = stage2 ]; then \
37002 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
37003 else \
37004 [ -f $(TARGET_SUBDIR)/stage2-libgcc/Makefile ] || exit 0; \
37005 $(MAKE) stage2-start; \
37006 fi; \
37007 cd $(TARGET_SUBDIR)/libgcc && \
37008 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
37009 @endif target-libgcc-bootstrap
37012 .PHONY: all-stage3-target-libgcc maybe-all-stage3-target-libgcc
37013 .PHONY: clean-stage3-target-libgcc maybe-clean-stage3-target-libgcc
37014 maybe-all-stage3-target-libgcc:
37015 maybe-clean-stage3-target-libgcc:
37016 @if target-libgcc-bootstrap
37017 maybe-all-stage3-target-libgcc: all-stage3-target-libgcc
37018 all-stage3: all-stage3-target-libgcc
37019 TARGET-stage3-target-libgcc = $(TARGET-target-libgcc)
37020 all-stage3-target-libgcc: configure-stage3-target-libgcc
37021 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
37022 @r=`${PWD_COMMAND}`; export r; \
37023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37024 TFLAGS="$(STAGE3_TFLAGS)"; \
37025 $(NORMAL_TARGET_EXPORTS) \
37027 cd $(TARGET_SUBDIR)/libgcc && \
37028 $(MAKE) $(BASE_FLAGS_TO_PASS) \
37029 CFLAGS="$(CFLAGS_FOR_TARGET)" \
37030 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
37031 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
37032 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
37033 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
37034 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
37035 $(EXTRA_TARGET_FLAGS) \
37036 TFLAGS="$(STAGE3_TFLAGS)" \
37037 $(TARGET-stage3-target-libgcc)
37039 maybe-clean-stage3-target-libgcc: clean-stage3-target-libgcc
37040 clean-stage3: clean-stage3-target-libgcc
37041 clean-stage3-target-libgcc:
37042 @if [ $(current_stage) = stage3 ]; then \
37043 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
37044 else \
37045 [ -f $(TARGET_SUBDIR)/stage3-libgcc/Makefile ] || exit 0; \
37046 $(MAKE) stage3-start; \
37047 fi; \
37048 cd $(TARGET_SUBDIR)/libgcc && \
37049 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
37050 @endif target-libgcc-bootstrap
37053 .PHONY: all-stage4-target-libgcc maybe-all-stage4-target-libgcc
37054 .PHONY: clean-stage4-target-libgcc maybe-clean-stage4-target-libgcc
37055 maybe-all-stage4-target-libgcc:
37056 maybe-clean-stage4-target-libgcc:
37057 @if target-libgcc-bootstrap
37058 maybe-all-stage4-target-libgcc: all-stage4-target-libgcc
37059 all-stage4: all-stage4-target-libgcc
37060 TARGET-stage4-target-libgcc = $(TARGET-target-libgcc)
37061 all-stage4-target-libgcc: configure-stage4-target-libgcc
37062 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
37063 @r=`${PWD_COMMAND}`; export r; \
37064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37065 TFLAGS="$(STAGE4_TFLAGS)"; \
37066 $(NORMAL_TARGET_EXPORTS) \
37068 cd $(TARGET_SUBDIR)/libgcc && \
37069 $(MAKE) $(BASE_FLAGS_TO_PASS) \
37070 CFLAGS="$(CFLAGS_FOR_TARGET)" \
37071 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
37072 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
37073 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
37074 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
37075 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
37076 $(EXTRA_TARGET_FLAGS) \
37077 TFLAGS="$(STAGE4_TFLAGS)" \
37078 $(TARGET-stage4-target-libgcc)
37080 maybe-clean-stage4-target-libgcc: clean-stage4-target-libgcc
37081 clean-stage4: clean-stage4-target-libgcc
37082 clean-stage4-target-libgcc:
37083 @if [ $(current_stage) = stage4 ]; then \
37084 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
37085 else \
37086 [ -f $(TARGET_SUBDIR)/stage4-libgcc/Makefile ] || exit 0; \
37087 $(MAKE) stage4-start; \
37088 fi; \
37089 cd $(TARGET_SUBDIR)/libgcc && \
37090 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
37091 @endif target-libgcc-bootstrap
37094 .PHONY: all-stageprofile-target-libgcc maybe-all-stageprofile-target-libgcc
37095 .PHONY: clean-stageprofile-target-libgcc maybe-clean-stageprofile-target-libgcc
37096 maybe-all-stageprofile-target-libgcc:
37097 maybe-clean-stageprofile-target-libgcc:
37098 @if target-libgcc-bootstrap
37099 maybe-all-stageprofile-target-libgcc: all-stageprofile-target-libgcc
37100 all-stageprofile: all-stageprofile-target-libgcc
37101 TARGET-stageprofile-target-libgcc = $(TARGET-target-libgcc)
37102 all-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
37103 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
37104 @r=`${PWD_COMMAND}`; export r; \
37105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37106 TFLAGS="$(STAGEprofile_TFLAGS)"; \
37107 $(NORMAL_TARGET_EXPORTS) \
37109 cd $(TARGET_SUBDIR)/libgcc && \
37110 $(MAKE) $(BASE_FLAGS_TO_PASS) \
37111 CFLAGS="$(CFLAGS_FOR_TARGET)" \
37112 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
37113 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
37114 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
37115 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
37116 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
37117 $(EXTRA_TARGET_FLAGS) \
37118 TFLAGS="$(STAGEprofile_TFLAGS)" \
37119 $(TARGET-stageprofile-target-libgcc)
37121 maybe-clean-stageprofile-target-libgcc: clean-stageprofile-target-libgcc
37122 clean-stageprofile: clean-stageprofile-target-libgcc
37123 clean-stageprofile-target-libgcc:
37124 @if [ $(current_stage) = stageprofile ]; then \
37125 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
37126 else \
37127 [ -f $(TARGET_SUBDIR)/stageprofile-libgcc/Makefile ] || exit 0; \
37128 $(MAKE) stageprofile-start; \
37129 fi; \
37130 cd $(TARGET_SUBDIR)/libgcc && \
37131 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
37132 @endif target-libgcc-bootstrap
37135 .PHONY: all-stagefeedback-target-libgcc maybe-all-stagefeedback-target-libgcc
37136 .PHONY: clean-stagefeedback-target-libgcc maybe-clean-stagefeedback-target-libgcc
37137 maybe-all-stagefeedback-target-libgcc:
37138 maybe-clean-stagefeedback-target-libgcc:
37139 @if target-libgcc-bootstrap
37140 maybe-all-stagefeedback-target-libgcc: all-stagefeedback-target-libgcc
37141 all-stagefeedback: all-stagefeedback-target-libgcc
37142 TARGET-stagefeedback-target-libgcc = $(TARGET-target-libgcc)
37143 all-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
37144 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
37145 @r=`${PWD_COMMAND}`; export r; \
37146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37147 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
37148 $(NORMAL_TARGET_EXPORTS) \
37150 cd $(TARGET_SUBDIR)/libgcc && \
37151 $(MAKE) $(BASE_FLAGS_TO_PASS) \
37152 CFLAGS="$(CFLAGS_FOR_TARGET)" \
37153 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
37154 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
37155 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
37156 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
37157 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
37158 $(EXTRA_TARGET_FLAGS) \
37159 TFLAGS="$(STAGEfeedback_TFLAGS)" \
37160 $(TARGET-stagefeedback-target-libgcc)
37162 maybe-clean-stagefeedback-target-libgcc: clean-stagefeedback-target-libgcc
37163 clean-stagefeedback: clean-stagefeedback-target-libgcc
37164 clean-stagefeedback-target-libgcc:
37165 @if [ $(current_stage) = stagefeedback ]; then \
37166 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
37167 else \
37168 [ -f $(TARGET_SUBDIR)/stagefeedback-libgcc/Makefile ] || exit 0; \
37169 $(MAKE) stagefeedback-start; \
37170 fi; \
37171 cd $(TARGET_SUBDIR)/libgcc && \
37172 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
37173 @endif target-libgcc-bootstrap
37180 .PHONY: check-target-libgcc maybe-check-target-libgcc
37181 maybe-check-target-libgcc:
37182 @if target-libgcc
37183 maybe-check-target-libgcc: check-target-libgcc
37185 # Dummy target for uncheckable module.
37186 check-target-libgcc:
37188 @endif target-libgcc
37190 .PHONY: install-target-libgcc maybe-install-target-libgcc
37191 maybe-install-target-libgcc:
37192 @if target-libgcc
37193 maybe-install-target-libgcc: install-target-libgcc
37195 install-target-libgcc: installdirs
37196 @: $(MAKE); $(unstage)
37197 @r=`${PWD_COMMAND}`; export r; \
37198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37199 $(NORMAL_TARGET_EXPORTS) \
37200 (cd $(TARGET_SUBDIR)/libgcc && \
37201 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37203 @endif target-libgcc
37205 .PHONY: install-strip-target-libgcc maybe-install-strip-target-libgcc
37206 maybe-install-strip-target-libgcc:
37207 @if target-libgcc
37208 maybe-install-strip-target-libgcc: install-strip-target-libgcc
37210 install-strip-target-libgcc: installdirs
37211 @: $(MAKE); $(unstage)
37212 @r=`${PWD_COMMAND}`; export r; \
37213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37214 $(NORMAL_TARGET_EXPORTS) \
37215 (cd $(TARGET_SUBDIR)/libgcc && \
37216 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
37218 @endif target-libgcc
37220 # Other targets (info, dvi, pdf, etc.)
37222 .PHONY: maybe-info-target-libgcc info-target-libgcc
37223 maybe-info-target-libgcc:
37224 @if target-libgcc
37225 maybe-info-target-libgcc: info-target-libgcc
37227 info-target-libgcc: \
37228 configure-target-libgcc
37229 @: $(MAKE); $(unstage)
37230 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37231 r=`${PWD_COMMAND}`; export r; \
37232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37233 $(NORMAL_TARGET_EXPORTS) \
37234 echo "Doing info in $(TARGET_SUBDIR)/libgcc" ; \
37235 for flag in $(EXTRA_TARGET_FLAGS); do \
37236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37237 done; \
37238 (cd $(TARGET_SUBDIR)/libgcc && \
37239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37241 "RANLIB=$${RANLIB}" \
37242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37243 info) \
37244 || exit 1
37246 @endif target-libgcc
37248 .PHONY: maybe-dvi-target-libgcc dvi-target-libgcc
37249 maybe-dvi-target-libgcc:
37250 @if target-libgcc
37251 maybe-dvi-target-libgcc: dvi-target-libgcc
37253 dvi-target-libgcc: \
37254 configure-target-libgcc
37255 @: $(MAKE); $(unstage)
37256 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37257 r=`${PWD_COMMAND}`; export r; \
37258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37259 $(NORMAL_TARGET_EXPORTS) \
37260 echo "Doing dvi in $(TARGET_SUBDIR)/libgcc" ; \
37261 for flag in $(EXTRA_TARGET_FLAGS); do \
37262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37263 done; \
37264 (cd $(TARGET_SUBDIR)/libgcc && \
37265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37267 "RANLIB=$${RANLIB}" \
37268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37269 dvi) \
37270 || exit 1
37272 @endif target-libgcc
37274 .PHONY: maybe-pdf-target-libgcc pdf-target-libgcc
37275 maybe-pdf-target-libgcc:
37276 @if target-libgcc
37277 maybe-pdf-target-libgcc: pdf-target-libgcc
37279 pdf-target-libgcc: \
37280 configure-target-libgcc
37281 @: $(MAKE); $(unstage)
37282 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37283 r=`${PWD_COMMAND}`; export r; \
37284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37285 $(NORMAL_TARGET_EXPORTS) \
37286 echo "Doing pdf in $(TARGET_SUBDIR)/libgcc" ; \
37287 for flag in $(EXTRA_TARGET_FLAGS); do \
37288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37289 done; \
37290 (cd $(TARGET_SUBDIR)/libgcc && \
37291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37293 "RANLIB=$${RANLIB}" \
37294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37295 pdf) \
37296 || exit 1
37298 @endif target-libgcc
37300 .PHONY: maybe-html-target-libgcc html-target-libgcc
37301 maybe-html-target-libgcc:
37302 @if target-libgcc
37303 maybe-html-target-libgcc: html-target-libgcc
37305 html-target-libgcc: \
37306 configure-target-libgcc
37307 @: $(MAKE); $(unstage)
37308 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37309 r=`${PWD_COMMAND}`; export r; \
37310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37311 $(NORMAL_TARGET_EXPORTS) \
37312 echo "Doing html in $(TARGET_SUBDIR)/libgcc" ; \
37313 for flag in $(EXTRA_TARGET_FLAGS); do \
37314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37315 done; \
37316 (cd $(TARGET_SUBDIR)/libgcc && \
37317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37319 "RANLIB=$${RANLIB}" \
37320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37321 html) \
37322 || exit 1
37324 @endif target-libgcc
37326 .PHONY: maybe-TAGS-target-libgcc TAGS-target-libgcc
37327 maybe-TAGS-target-libgcc:
37328 @if target-libgcc
37329 maybe-TAGS-target-libgcc: TAGS-target-libgcc
37331 TAGS-target-libgcc: \
37332 configure-target-libgcc
37333 @: $(MAKE); $(unstage)
37334 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37335 r=`${PWD_COMMAND}`; export r; \
37336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37337 $(NORMAL_TARGET_EXPORTS) \
37338 echo "Doing TAGS in $(TARGET_SUBDIR)/libgcc" ; \
37339 for flag in $(EXTRA_TARGET_FLAGS); do \
37340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37341 done; \
37342 (cd $(TARGET_SUBDIR)/libgcc && \
37343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37345 "RANLIB=$${RANLIB}" \
37346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37347 TAGS) \
37348 || exit 1
37350 @endif target-libgcc
37352 .PHONY: maybe-install-info-target-libgcc install-info-target-libgcc
37353 maybe-install-info-target-libgcc:
37354 @if target-libgcc
37355 maybe-install-info-target-libgcc: install-info-target-libgcc
37357 install-info-target-libgcc: \
37358 configure-target-libgcc \
37359 info-target-libgcc
37360 @: $(MAKE); $(unstage)
37361 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37362 r=`${PWD_COMMAND}`; export r; \
37363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37364 $(NORMAL_TARGET_EXPORTS) \
37365 echo "Doing install-info in $(TARGET_SUBDIR)/libgcc" ; \
37366 for flag in $(EXTRA_TARGET_FLAGS); do \
37367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37368 done; \
37369 (cd $(TARGET_SUBDIR)/libgcc && \
37370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37372 "RANLIB=$${RANLIB}" \
37373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37374 install-info) \
37375 || exit 1
37377 @endif target-libgcc
37379 .PHONY: maybe-install-pdf-target-libgcc install-pdf-target-libgcc
37380 maybe-install-pdf-target-libgcc:
37381 @if target-libgcc
37382 maybe-install-pdf-target-libgcc: install-pdf-target-libgcc
37384 install-pdf-target-libgcc: \
37385 configure-target-libgcc \
37386 pdf-target-libgcc
37387 @: $(MAKE); $(unstage)
37388 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37389 r=`${PWD_COMMAND}`; export r; \
37390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37391 $(NORMAL_TARGET_EXPORTS) \
37392 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgcc" ; \
37393 for flag in $(EXTRA_TARGET_FLAGS); do \
37394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37395 done; \
37396 (cd $(TARGET_SUBDIR)/libgcc && \
37397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37399 "RANLIB=$${RANLIB}" \
37400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37401 install-pdf) \
37402 || exit 1
37404 @endif target-libgcc
37406 .PHONY: maybe-install-html-target-libgcc install-html-target-libgcc
37407 maybe-install-html-target-libgcc:
37408 @if target-libgcc
37409 maybe-install-html-target-libgcc: install-html-target-libgcc
37411 install-html-target-libgcc: \
37412 configure-target-libgcc \
37413 html-target-libgcc
37414 @: $(MAKE); $(unstage)
37415 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37416 r=`${PWD_COMMAND}`; export r; \
37417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37418 $(NORMAL_TARGET_EXPORTS) \
37419 echo "Doing install-html in $(TARGET_SUBDIR)/libgcc" ; \
37420 for flag in $(EXTRA_TARGET_FLAGS); do \
37421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37422 done; \
37423 (cd $(TARGET_SUBDIR)/libgcc && \
37424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37426 "RANLIB=$${RANLIB}" \
37427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37428 install-html) \
37429 || exit 1
37431 @endif target-libgcc
37433 .PHONY: maybe-installcheck-target-libgcc installcheck-target-libgcc
37434 maybe-installcheck-target-libgcc:
37435 @if target-libgcc
37436 maybe-installcheck-target-libgcc: installcheck-target-libgcc
37438 installcheck-target-libgcc: \
37439 configure-target-libgcc
37440 @: $(MAKE); $(unstage)
37441 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37442 r=`${PWD_COMMAND}`; export r; \
37443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37444 $(NORMAL_TARGET_EXPORTS) \
37445 echo "Doing installcheck in $(TARGET_SUBDIR)/libgcc" ; \
37446 for flag in $(EXTRA_TARGET_FLAGS); do \
37447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37448 done; \
37449 (cd $(TARGET_SUBDIR)/libgcc && \
37450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37452 "RANLIB=$${RANLIB}" \
37453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37454 installcheck) \
37455 || exit 1
37457 @endif target-libgcc
37459 .PHONY: maybe-mostlyclean-target-libgcc mostlyclean-target-libgcc
37460 maybe-mostlyclean-target-libgcc:
37461 @if target-libgcc
37462 maybe-mostlyclean-target-libgcc: mostlyclean-target-libgcc
37464 mostlyclean-target-libgcc:
37465 @: $(MAKE); $(unstage)
37466 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37467 r=`${PWD_COMMAND}`; export r; \
37468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37469 $(NORMAL_TARGET_EXPORTS) \
37470 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgcc" ; \
37471 for flag in $(EXTRA_TARGET_FLAGS); do \
37472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37473 done; \
37474 (cd $(TARGET_SUBDIR)/libgcc && \
37475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37477 "RANLIB=$${RANLIB}" \
37478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37479 mostlyclean) \
37480 || exit 1
37482 @endif target-libgcc
37484 .PHONY: maybe-clean-target-libgcc clean-target-libgcc
37485 maybe-clean-target-libgcc:
37486 @if target-libgcc
37487 maybe-clean-target-libgcc: clean-target-libgcc
37489 clean-target-libgcc:
37490 @: $(MAKE); $(unstage)
37491 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37492 r=`${PWD_COMMAND}`; export r; \
37493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37494 $(NORMAL_TARGET_EXPORTS) \
37495 echo "Doing clean in $(TARGET_SUBDIR)/libgcc" ; \
37496 for flag in $(EXTRA_TARGET_FLAGS); do \
37497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37498 done; \
37499 (cd $(TARGET_SUBDIR)/libgcc && \
37500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37502 "RANLIB=$${RANLIB}" \
37503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37504 clean) \
37505 || exit 1
37507 @endif target-libgcc
37509 .PHONY: maybe-distclean-target-libgcc distclean-target-libgcc
37510 maybe-distclean-target-libgcc:
37511 @if target-libgcc
37512 maybe-distclean-target-libgcc: distclean-target-libgcc
37514 distclean-target-libgcc:
37515 @: $(MAKE); $(unstage)
37516 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37517 r=`${PWD_COMMAND}`; export r; \
37518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37519 $(NORMAL_TARGET_EXPORTS) \
37520 echo "Doing distclean in $(TARGET_SUBDIR)/libgcc" ; \
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)/libgcc && \
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 distclean) \
37530 || exit 1
37532 @endif target-libgcc
37534 .PHONY: maybe-maintainer-clean-target-libgcc maintainer-clean-target-libgcc
37535 maybe-maintainer-clean-target-libgcc:
37536 @if target-libgcc
37537 maybe-maintainer-clean-target-libgcc: maintainer-clean-target-libgcc
37539 maintainer-clean-target-libgcc:
37540 @: $(MAKE); $(unstage)
37541 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37542 r=`${PWD_COMMAND}`; export r; \
37543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37544 $(NORMAL_TARGET_EXPORTS) \
37545 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgcc" ; \
37546 for flag in $(EXTRA_TARGET_FLAGS); do \
37547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37548 done; \
37549 (cd $(TARGET_SUBDIR)/libgcc && \
37550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37552 "RANLIB=$${RANLIB}" \
37553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37554 maintainer-clean) \
37555 || exit 1
37557 @endif target-libgcc
37563 .PHONY: configure-target-libbacktrace maybe-configure-target-libbacktrace
37564 maybe-configure-target-libbacktrace:
37565 @if gcc-bootstrap
37566 configure-target-libbacktrace: stage_current
37567 @endif gcc-bootstrap
37568 @if target-libbacktrace
37569 maybe-configure-target-libbacktrace: configure-target-libbacktrace
37570 configure-target-libbacktrace:
37571 @: $(MAKE); $(unstage)
37572 @r=`${PWD_COMMAND}`; export r; \
37573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37574 echo "Checking multilib configuration for libbacktrace..."; \
37575 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace ; \
37576 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libbacktrace/multilib.tmp 2> /dev/null ; \
37577 if test -r $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
37578 if cmp -s $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
37579 rm -f $(TARGET_SUBDIR)/libbacktrace/multilib.tmp; \
37580 else \
37581 rm -f $(TARGET_SUBDIR)/libbacktrace/Makefile; \
37582 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
37583 fi; \
37584 else \
37585 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
37586 fi; \
37587 test ! -f $(TARGET_SUBDIR)/libbacktrace/Makefile || exit 0; \
37588 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace ; \
37589 $(NORMAL_TARGET_EXPORTS) \
37590 echo Configuring in $(TARGET_SUBDIR)/libbacktrace; \
37591 cd "$(TARGET_SUBDIR)/libbacktrace" || exit 1; \
37592 case $(srcdir) in \
37593 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37594 *) topdir=`echo $(TARGET_SUBDIR)/libbacktrace/ | \
37595 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37596 esac; \
37597 module_srcdir=libbacktrace; \
37598 rm -f no-such-file || : ; \
37599 CONFIG_SITE=no-such-file $(SHELL) \
37600 $$s/$$module_srcdir/configure \
37601 --srcdir=$${topdir}/$$module_srcdir \
37602 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37603 --target=${target_alias} \
37604 || exit 1
37605 @endif target-libbacktrace
37611 .PHONY: all-target-libbacktrace maybe-all-target-libbacktrace
37612 maybe-all-target-libbacktrace:
37613 @if gcc-bootstrap
37614 all-target-libbacktrace: stage_current
37615 @endif gcc-bootstrap
37616 @if target-libbacktrace
37617 TARGET-target-libbacktrace=all
37618 maybe-all-target-libbacktrace: all-target-libbacktrace
37619 all-target-libbacktrace: configure-target-libbacktrace
37620 @: $(MAKE); $(unstage)
37621 @r=`${PWD_COMMAND}`; export r; \
37622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37623 $(NORMAL_TARGET_EXPORTS) \
37624 (cd $(TARGET_SUBDIR)/libbacktrace && \
37625 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
37626 $(TARGET-target-libbacktrace))
37627 @endif target-libbacktrace
37633 .PHONY: check-target-libbacktrace maybe-check-target-libbacktrace
37634 maybe-check-target-libbacktrace:
37635 @if target-libbacktrace
37636 maybe-check-target-libbacktrace: check-target-libbacktrace
37638 check-target-libbacktrace:
37639 @: $(MAKE); $(unstage)
37640 @r=`${PWD_COMMAND}`; export r; \
37641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37642 $(NORMAL_TARGET_EXPORTS) \
37643 (cd $(TARGET_SUBDIR)/libbacktrace && \
37644 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
37646 @endif target-libbacktrace
37648 .PHONY: install-target-libbacktrace maybe-install-target-libbacktrace
37649 maybe-install-target-libbacktrace:
37650 @if target-libbacktrace
37651 maybe-install-target-libbacktrace: install-target-libbacktrace
37653 install-target-libbacktrace: installdirs
37654 @: $(MAKE); $(unstage)
37655 @r=`${PWD_COMMAND}`; export r; \
37656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37657 $(NORMAL_TARGET_EXPORTS) \
37658 (cd $(TARGET_SUBDIR)/libbacktrace && \
37659 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37661 @endif target-libbacktrace
37663 .PHONY: install-strip-target-libbacktrace maybe-install-strip-target-libbacktrace
37664 maybe-install-strip-target-libbacktrace:
37665 @if target-libbacktrace
37666 maybe-install-strip-target-libbacktrace: install-strip-target-libbacktrace
37668 install-strip-target-libbacktrace: installdirs
37669 @: $(MAKE); $(unstage)
37670 @r=`${PWD_COMMAND}`; export r; \
37671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37672 $(NORMAL_TARGET_EXPORTS) \
37673 (cd $(TARGET_SUBDIR)/libbacktrace && \
37674 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
37676 @endif target-libbacktrace
37678 # Other targets (info, dvi, pdf, etc.)
37680 .PHONY: maybe-info-target-libbacktrace info-target-libbacktrace
37681 maybe-info-target-libbacktrace:
37682 @if target-libbacktrace
37683 maybe-info-target-libbacktrace: info-target-libbacktrace
37685 info-target-libbacktrace: \
37686 configure-target-libbacktrace
37687 @: $(MAKE); $(unstage)
37688 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37689 r=`${PWD_COMMAND}`; export r; \
37690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37691 $(NORMAL_TARGET_EXPORTS) \
37692 echo "Doing info in $(TARGET_SUBDIR)/libbacktrace" ; \
37693 for flag in $(EXTRA_TARGET_FLAGS); do \
37694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37695 done; \
37696 (cd $(TARGET_SUBDIR)/libbacktrace && \
37697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37699 "RANLIB=$${RANLIB}" \
37700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37701 info) \
37702 || exit 1
37704 @endif target-libbacktrace
37706 .PHONY: maybe-dvi-target-libbacktrace dvi-target-libbacktrace
37707 maybe-dvi-target-libbacktrace:
37708 @if target-libbacktrace
37709 maybe-dvi-target-libbacktrace: dvi-target-libbacktrace
37711 dvi-target-libbacktrace: \
37712 configure-target-libbacktrace
37713 @: $(MAKE); $(unstage)
37714 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37715 r=`${PWD_COMMAND}`; export r; \
37716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37717 $(NORMAL_TARGET_EXPORTS) \
37718 echo "Doing dvi in $(TARGET_SUBDIR)/libbacktrace" ; \
37719 for flag in $(EXTRA_TARGET_FLAGS); do \
37720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37721 done; \
37722 (cd $(TARGET_SUBDIR)/libbacktrace && \
37723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37725 "RANLIB=$${RANLIB}" \
37726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37727 dvi) \
37728 || exit 1
37730 @endif target-libbacktrace
37732 .PHONY: maybe-pdf-target-libbacktrace pdf-target-libbacktrace
37733 maybe-pdf-target-libbacktrace:
37734 @if target-libbacktrace
37735 maybe-pdf-target-libbacktrace: pdf-target-libbacktrace
37737 pdf-target-libbacktrace: \
37738 configure-target-libbacktrace
37739 @: $(MAKE); $(unstage)
37740 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37741 r=`${PWD_COMMAND}`; export r; \
37742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37743 $(NORMAL_TARGET_EXPORTS) \
37744 echo "Doing pdf in $(TARGET_SUBDIR)/libbacktrace" ; \
37745 for flag in $(EXTRA_TARGET_FLAGS); do \
37746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37747 done; \
37748 (cd $(TARGET_SUBDIR)/libbacktrace && \
37749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37751 "RANLIB=$${RANLIB}" \
37752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37753 pdf) \
37754 || exit 1
37756 @endif target-libbacktrace
37758 .PHONY: maybe-html-target-libbacktrace html-target-libbacktrace
37759 maybe-html-target-libbacktrace:
37760 @if target-libbacktrace
37761 maybe-html-target-libbacktrace: html-target-libbacktrace
37763 html-target-libbacktrace: \
37764 configure-target-libbacktrace
37765 @: $(MAKE); $(unstage)
37766 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37767 r=`${PWD_COMMAND}`; export r; \
37768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37769 $(NORMAL_TARGET_EXPORTS) \
37770 echo "Doing html in $(TARGET_SUBDIR)/libbacktrace" ; \
37771 for flag in $(EXTRA_TARGET_FLAGS); do \
37772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37773 done; \
37774 (cd $(TARGET_SUBDIR)/libbacktrace && \
37775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37777 "RANLIB=$${RANLIB}" \
37778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37779 html) \
37780 || exit 1
37782 @endif target-libbacktrace
37784 .PHONY: maybe-TAGS-target-libbacktrace TAGS-target-libbacktrace
37785 maybe-TAGS-target-libbacktrace:
37786 @if target-libbacktrace
37787 maybe-TAGS-target-libbacktrace: TAGS-target-libbacktrace
37789 TAGS-target-libbacktrace: \
37790 configure-target-libbacktrace
37791 @: $(MAKE); $(unstage)
37792 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37793 r=`${PWD_COMMAND}`; export r; \
37794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37795 $(NORMAL_TARGET_EXPORTS) \
37796 echo "Doing TAGS in $(TARGET_SUBDIR)/libbacktrace" ; \
37797 for flag in $(EXTRA_TARGET_FLAGS); do \
37798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37799 done; \
37800 (cd $(TARGET_SUBDIR)/libbacktrace && \
37801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37803 "RANLIB=$${RANLIB}" \
37804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37805 TAGS) \
37806 || exit 1
37808 @endif target-libbacktrace
37810 .PHONY: maybe-install-info-target-libbacktrace install-info-target-libbacktrace
37811 maybe-install-info-target-libbacktrace:
37812 @if target-libbacktrace
37813 maybe-install-info-target-libbacktrace: install-info-target-libbacktrace
37815 install-info-target-libbacktrace: \
37816 configure-target-libbacktrace \
37817 info-target-libbacktrace
37818 @: $(MAKE); $(unstage)
37819 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37820 r=`${PWD_COMMAND}`; export r; \
37821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37822 $(NORMAL_TARGET_EXPORTS) \
37823 echo "Doing install-info in $(TARGET_SUBDIR)/libbacktrace" ; \
37824 for flag in $(EXTRA_TARGET_FLAGS); do \
37825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37826 done; \
37827 (cd $(TARGET_SUBDIR)/libbacktrace && \
37828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37830 "RANLIB=$${RANLIB}" \
37831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37832 install-info) \
37833 || exit 1
37835 @endif target-libbacktrace
37837 .PHONY: maybe-install-pdf-target-libbacktrace install-pdf-target-libbacktrace
37838 maybe-install-pdf-target-libbacktrace:
37839 @if target-libbacktrace
37840 maybe-install-pdf-target-libbacktrace: install-pdf-target-libbacktrace
37842 install-pdf-target-libbacktrace: \
37843 configure-target-libbacktrace \
37844 pdf-target-libbacktrace
37845 @: $(MAKE); $(unstage)
37846 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37847 r=`${PWD_COMMAND}`; export r; \
37848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37849 $(NORMAL_TARGET_EXPORTS) \
37850 echo "Doing install-pdf in $(TARGET_SUBDIR)/libbacktrace" ; \
37851 for flag in $(EXTRA_TARGET_FLAGS); do \
37852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37853 done; \
37854 (cd $(TARGET_SUBDIR)/libbacktrace && \
37855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37857 "RANLIB=$${RANLIB}" \
37858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37859 install-pdf) \
37860 || exit 1
37862 @endif target-libbacktrace
37864 .PHONY: maybe-install-html-target-libbacktrace install-html-target-libbacktrace
37865 maybe-install-html-target-libbacktrace:
37866 @if target-libbacktrace
37867 maybe-install-html-target-libbacktrace: install-html-target-libbacktrace
37869 install-html-target-libbacktrace: \
37870 configure-target-libbacktrace \
37871 html-target-libbacktrace
37872 @: $(MAKE); $(unstage)
37873 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37874 r=`${PWD_COMMAND}`; export r; \
37875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37876 $(NORMAL_TARGET_EXPORTS) \
37877 echo "Doing install-html in $(TARGET_SUBDIR)/libbacktrace" ; \
37878 for flag in $(EXTRA_TARGET_FLAGS); do \
37879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37880 done; \
37881 (cd $(TARGET_SUBDIR)/libbacktrace && \
37882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37884 "RANLIB=$${RANLIB}" \
37885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37886 install-html) \
37887 || exit 1
37889 @endif target-libbacktrace
37891 .PHONY: maybe-installcheck-target-libbacktrace installcheck-target-libbacktrace
37892 maybe-installcheck-target-libbacktrace:
37893 @if target-libbacktrace
37894 maybe-installcheck-target-libbacktrace: installcheck-target-libbacktrace
37896 installcheck-target-libbacktrace: \
37897 configure-target-libbacktrace
37898 @: $(MAKE); $(unstage)
37899 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37900 r=`${PWD_COMMAND}`; export r; \
37901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37902 $(NORMAL_TARGET_EXPORTS) \
37903 echo "Doing installcheck in $(TARGET_SUBDIR)/libbacktrace" ; \
37904 for flag in $(EXTRA_TARGET_FLAGS); do \
37905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37906 done; \
37907 (cd $(TARGET_SUBDIR)/libbacktrace && \
37908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37910 "RANLIB=$${RANLIB}" \
37911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37912 installcheck) \
37913 || exit 1
37915 @endif target-libbacktrace
37917 .PHONY: maybe-mostlyclean-target-libbacktrace mostlyclean-target-libbacktrace
37918 maybe-mostlyclean-target-libbacktrace:
37919 @if target-libbacktrace
37920 maybe-mostlyclean-target-libbacktrace: mostlyclean-target-libbacktrace
37922 mostlyclean-target-libbacktrace:
37923 @: $(MAKE); $(unstage)
37924 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37925 r=`${PWD_COMMAND}`; export r; \
37926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37927 $(NORMAL_TARGET_EXPORTS) \
37928 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libbacktrace" ; \
37929 for flag in $(EXTRA_TARGET_FLAGS); do \
37930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37931 done; \
37932 (cd $(TARGET_SUBDIR)/libbacktrace && \
37933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37935 "RANLIB=$${RANLIB}" \
37936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37937 mostlyclean) \
37938 || exit 1
37940 @endif target-libbacktrace
37942 .PHONY: maybe-clean-target-libbacktrace clean-target-libbacktrace
37943 maybe-clean-target-libbacktrace:
37944 @if target-libbacktrace
37945 maybe-clean-target-libbacktrace: clean-target-libbacktrace
37947 clean-target-libbacktrace:
37948 @: $(MAKE); $(unstage)
37949 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37950 r=`${PWD_COMMAND}`; export r; \
37951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37952 $(NORMAL_TARGET_EXPORTS) \
37953 echo "Doing clean in $(TARGET_SUBDIR)/libbacktrace" ; \
37954 for flag in $(EXTRA_TARGET_FLAGS); do \
37955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37956 done; \
37957 (cd $(TARGET_SUBDIR)/libbacktrace && \
37958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37960 "RANLIB=$${RANLIB}" \
37961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37962 clean) \
37963 || exit 1
37965 @endif target-libbacktrace
37967 .PHONY: maybe-distclean-target-libbacktrace distclean-target-libbacktrace
37968 maybe-distclean-target-libbacktrace:
37969 @if target-libbacktrace
37970 maybe-distclean-target-libbacktrace: distclean-target-libbacktrace
37972 distclean-target-libbacktrace:
37973 @: $(MAKE); $(unstage)
37974 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
37975 r=`${PWD_COMMAND}`; export r; \
37976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37977 $(NORMAL_TARGET_EXPORTS) \
37978 echo "Doing distclean in $(TARGET_SUBDIR)/libbacktrace" ; \
37979 for flag in $(EXTRA_TARGET_FLAGS); do \
37980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37981 done; \
37982 (cd $(TARGET_SUBDIR)/libbacktrace && \
37983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37985 "RANLIB=$${RANLIB}" \
37986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37987 distclean) \
37988 || exit 1
37990 @endif target-libbacktrace
37992 .PHONY: maybe-maintainer-clean-target-libbacktrace maintainer-clean-target-libbacktrace
37993 maybe-maintainer-clean-target-libbacktrace:
37994 @if target-libbacktrace
37995 maybe-maintainer-clean-target-libbacktrace: maintainer-clean-target-libbacktrace
37997 maintainer-clean-target-libbacktrace:
37998 @: $(MAKE); $(unstage)
37999 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
38000 r=`${PWD_COMMAND}`; export r; \
38001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38002 $(NORMAL_TARGET_EXPORTS) \
38003 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libbacktrace" ; \
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)/libbacktrace && \
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 maintainer-clean) \
38013 || exit 1
38015 @endif target-libbacktrace
38021 .PHONY: configure-target-libquadmath maybe-configure-target-libquadmath
38022 maybe-configure-target-libquadmath:
38023 @if gcc-bootstrap
38024 configure-target-libquadmath: stage_current
38025 @endif gcc-bootstrap
38026 @if target-libquadmath
38027 maybe-configure-target-libquadmath: configure-target-libquadmath
38028 configure-target-libquadmath:
38029 @: $(MAKE); $(unstage)
38030 @r=`${PWD_COMMAND}`; export r; \
38031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38032 echo "Checking multilib configuration for libquadmath..."; \
38033 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath ; \
38034 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libquadmath/multilib.tmp 2> /dev/null ; \
38035 if test -r $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
38036 if cmp -s $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
38037 rm -f $(TARGET_SUBDIR)/libquadmath/multilib.tmp; \
38038 else \
38039 rm -f $(TARGET_SUBDIR)/libquadmath/Makefile; \
38040 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
38041 fi; \
38042 else \
38043 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
38044 fi; \
38045 test ! -f $(TARGET_SUBDIR)/libquadmath/Makefile || exit 0; \
38046 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath ; \
38047 $(NORMAL_TARGET_EXPORTS) \
38048 echo Configuring in $(TARGET_SUBDIR)/libquadmath; \
38049 cd "$(TARGET_SUBDIR)/libquadmath" || exit 1; \
38050 case $(srcdir) in \
38051 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38052 *) topdir=`echo $(TARGET_SUBDIR)/libquadmath/ | \
38053 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38054 esac; \
38055 module_srcdir=libquadmath; \
38056 rm -f no-such-file || : ; \
38057 CONFIG_SITE=no-such-file $(SHELL) \
38058 $$s/$$module_srcdir/configure \
38059 --srcdir=$${topdir}/$$module_srcdir \
38060 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38061 --target=${target_alias} \
38062 || exit 1
38063 @endif target-libquadmath
38069 .PHONY: all-target-libquadmath maybe-all-target-libquadmath
38070 maybe-all-target-libquadmath:
38071 @if gcc-bootstrap
38072 all-target-libquadmath: stage_current
38073 @endif gcc-bootstrap
38074 @if target-libquadmath
38075 TARGET-target-libquadmath=all
38076 maybe-all-target-libquadmath: all-target-libquadmath
38077 all-target-libquadmath: configure-target-libquadmath
38078 @: $(MAKE); $(unstage)
38079 @r=`${PWD_COMMAND}`; export r; \
38080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38081 $(NORMAL_TARGET_EXPORTS) \
38082 (cd $(TARGET_SUBDIR)/libquadmath && \
38083 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
38084 $(TARGET-target-libquadmath))
38085 @endif target-libquadmath
38091 .PHONY: check-target-libquadmath maybe-check-target-libquadmath
38092 maybe-check-target-libquadmath:
38093 @if target-libquadmath
38094 maybe-check-target-libquadmath: check-target-libquadmath
38096 check-target-libquadmath:
38097 @: $(MAKE); $(unstage)
38098 @r=`${PWD_COMMAND}`; export r; \
38099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38100 $(NORMAL_TARGET_EXPORTS) \
38101 (cd $(TARGET_SUBDIR)/libquadmath && \
38102 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
38104 @endif target-libquadmath
38106 .PHONY: install-target-libquadmath maybe-install-target-libquadmath
38107 maybe-install-target-libquadmath:
38108 @if target-libquadmath
38109 maybe-install-target-libquadmath: install-target-libquadmath
38111 install-target-libquadmath: installdirs
38112 @: $(MAKE); $(unstage)
38113 @r=`${PWD_COMMAND}`; export r; \
38114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38115 $(NORMAL_TARGET_EXPORTS) \
38116 (cd $(TARGET_SUBDIR)/libquadmath && \
38117 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38119 @endif target-libquadmath
38121 .PHONY: install-strip-target-libquadmath maybe-install-strip-target-libquadmath
38122 maybe-install-strip-target-libquadmath:
38123 @if target-libquadmath
38124 maybe-install-strip-target-libquadmath: install-strip-target-libquadmath
38126 install-strip-target-libquadmath: installdirs
38127 @: $(MAKE); $(unstage)
38128 @r=`${PWD_COMMAND}`; export r; \
38129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38130 $(NORMAL_TARGET_EXPORTS) \
38131 (cd $(TARGET_SUBDIR)/libquadmath && \
38132 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
38134 @endif target-libquadmath
38136 # Other targets (info, dvi, pdf, etc.)
38138 .PHONY: maybe-info-target-libquadmath info-target-libquadmath
38139 maybe-info-target-libquadmath:
38140 @if target-libquadmath
38141 maybe-info-target-libquadmath: info-target-libquadmath
38143 info-target-libquadmath: \
38144 configure-target-libquadmath
38145 @: $(MAKE); $(unstage)
38146 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38147 r=`${PWD_COMMAND}`; export r; \
38148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38149 $(NORMAL_TARGET_EXPORTS) \
38150 echo "Doing info in $(TARGET_SUBDIR)/libquadmath" ; \
38151 for flag in $(EXTRA_TARGET_FLAGS); do \
38152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38153 done; \
38154 (cd $(TARGET_SUBDIR)/libquadmath && \
38155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38157 "RANLIB=$${RANLIB}" \
38158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38159 info) \
38160 || exit 1
38162 @endif target-libquadmath
38164 .PHONY: maybe-dvi-target-libquadmath dvi-target-libquadmath
38165 maybe-dvi-target-libquadmath:
38166 @if target-libquadmath
38167 maybe-dvi-target-libquadmath: dvi-target-libquadmath
38169 dvi-target-libquadmath: \
38170 configure-target-libquadmath
38171 @: $(MAKE); $(unstage)
38172 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38173 r=`${PWD_COMMAND}`; export r; \
38174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38175 $(NORMAL_TARGET_EXPORTS) \
38176 echo "Doing dvi in $(TARGET_SUBDIR)/libquadmath" ; \
38177 for flag in $(EXTRA_TARGET_FLAGS); do \
38178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38179 done; \
38180 (cd $(TARGET_SUBDIR)/libquadmath && \
38181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38183 "RANLIB=$${RANLIB}" \
38184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38185 dvi) \
38186 || exit 1
38188 @endif target-libquadmath
38190 .PHONY: maybe-pdf-target-libquadmath pdf-target-libquadmath
38191 maybe-pdf-target-libquadmath:
38192 @if target-libquadmath
38193 maybe-pdf-target-libquadmath: pdf-target-libquadmath
38195 pdf-target-libquadmath: \
38196 configure-target-libquadmath
38197 @: $(MAKE); $(unstage)
38198 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38199 r=`${PWD_COMMAND}`; export r; \
38200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38201 $(NORMAL_TARGET_EXPORTS) \
38202 echo "Doing pdf in $(TARGET_SUBDIR)/libquadmath" ; \
38203 for flag in $(EXTRA_TARGET_FLAGS); do \
38204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38205 done; \
38206 (cd $(TARGET_SUBDIR)/libquadmath && \
38207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38209 "RANLIB=$${RANLIB}" \
38210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38211 pdf) \
38212 || exit 1
38214 @endif target-libquadmath
38216 .PHONY: maybe-html-target-libquadmath html-target-libquadmath
38217 maybe-html-target-libquadmath:
38218 @if target-libquadmath
38219 maybe-html-target-libquadmath: html-target-libquadmath
38221 html-target-libquadmath: \
38222 configure-target-libquadmath
38223 @: $(MAKE); $(unstage)
38224 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38225 r=`${PWD_COMMAND}`; export r; \
38226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38227 $(NORMAL_TARGET_EXPORTS) \
38228 echo "Doing html in $(TARGET_SUBDIR)/libquadmath" ; \
38229 for flag in $(EXTRA_TARGET_FLAGS); do \
38230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38231 done; \
38232 (cd $(TARGET_SUBDIR)/libquadmath && \
38233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38235 "RANLIB=$${RANLIB}" \
38236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38237 html) \
38238 || exit 1
38240 @endif target-libquadmath
38242 .PHONY: maybe-TAGS-target-libquadmath TAGS-target-libquadmath
38243 maybe-TAGS-target-libquadmath:
38244 @if target-libquadmath
38245 maybe-TAGS-target-libquadmath: TAGS-target-libquadmath
38247 TAGS-target-libquadmath: \
38248 configure-target-libquadmath
38249 @: $(MAKE); $(unstage)
38250 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38251 r=`${PWD_COMMAND}`; export r; \
38252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38253 $(NORMAL_TARGET_EXPORTS) \
38254 echo "Doing TAGS in $(TARGET_SUBDIR)/libquadmath" ; \
38255 for flag in $(EXTRA_TARGET_FLAGS); do \
38256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38257 done; \
38258 (cd $(TARGET_SUBDIR)/libquadmath && \
38259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38261 "RANLIB=$${RANLIB}" \
38262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38263 TAGS) \
38264 || exit 1
38266 @endif target-libquadmath
38268 .PHONY: maybe-install-info-target-libquadmath install-info-target-libquadmath
38269 maybe-install-info-target-libquadmath:
38270 @if target-libquadmath
38271 maybe-install-info-target-libquadmath: install-info-target-libquadmath
38273 install-info-target-libquadmath: \
38274 configure-target-libquadmath \
38275 info-target-libquadmath
38276 @: $(MAKE); $(unstage)
38277 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38278 r=`${PWD_COMMAND}`; export r; \
38279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38280 $(NORMAL_TARGET_EXPORTS) \
38281 echo "Doing install-info in $(TARGET_SUBDIR)/libquadmath" ; \
38282 for flag in $(EXTRA_TARGET_FLAGS); do \
38283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38284 done; \
38285 (cd $(TARGET_SUBDIR)/libquadmath && \
38286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38288 "RANLIB=$${RANLIB}" \
38289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38290 install-info) \
38291 || exit 1
38293 @endif target-libquadmath
38295 .PHONY: maybe-install-pdf-target-libquadmath install-pdf-target-libquadmath
38296 maybe-install-pdf-target-libquadmath:
38297 @if target-libquadmath
38298 maybe-install-pdf-target-libquadmath: install-pdf-target-libquadmath
38300 install-pdf-target-libquadmath: \
38301 configure-target-libquadmath \
38302 pdf-target-libquadmath
38303 @: $(MAKE); $(unstage)
38304 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38305 r=`${PWD_COMMAND}`; export r; \
38306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38307 $(NORMAL_TARGET_EXPORTS) \
38308 echo "Doing install-pdf in $(TARGET_SUBDIR)/libquadmath" ; \
38309 for flag in $(EXTRA_TARGET_FLAGS); do \
38310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38311 done; \
38312 (cd $(TARGET_SUBDIR)/libquadmath && \
38313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38315 "RANLIB=$${RANLIB}" \
38316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38317 install-pdf) \
38318 || exit 1
38320 @endif target-libquadmath
38322 .PHONY: maybe-install-html-target-libquadmath install-html-target-libquadmath
38323 maybe-install-html-target-libquadmath:
38324 @if target-libquadmath
38325 maybe-install-html-target-libquadmath: install-html-target-libquadmath
38327 install-html-target-libquadmath: \
38328 configure-target-libquadmath \
38329 html-target-libquadmath
38330 @: $(MAKE); $(unstage)
38331 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38332 r=`${PWD_COMMAND}`; export r; \
38333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38334 $(NORMAL_TARGET_EXPORTS) \
38335 echo "Doing install-html in $(TARGET_SUBDIR)/libquadmath" ; \
38336 for flag in $(EXTRA_TARGET_FLAGS); do \
38337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38338 done; \
38339 (cd $(TARGET_SUBDIR)/libquadmath && \
38340 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38341 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38342 "RANLIB=$${RANLIB}" \
38343 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38344 install-html) \
38345 || exit 1
38347 @endif target-libquadmath
38349 .PHONY: maybe-installcheck-target-libquadmath installcheck-target-libquadmath
38350 maybe-installcheck-target-libquadmath:
38351 @if target-libquadmath
38352 maybe-installcheck-target-libquadmath: installcheck-target-libquadmath
38354 installcheck-target-libquadmath: \
38355 configure-target-libquadmath
38356 @: $(MAKE); $(unstage)
38357 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38358 r=`${PWD_COMMAND}`; export r; \
38359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38360 $(NORMAL_TARGET_EXPORTS) \
38361 echo "Doing installcheck in $(TARGET_SUBDIR)/libquadmath" ; \
38362 for flag in $(EXTRA_TARGET_FLAGS); do \
38363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38364 done; \
38365 (cd $(TARGET_SUBDIR)/libquadmath && \
38366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38368 "RANLIB=$${RANLIB}" \
38369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38370 installcheck) \
38371 || exit 1
38373 @endif target-libquadmath
38375 .PHONY: maybe-mostlyclean-target-libquadmath mostlyclean-target-libquadmath
38376 maybe-mostlyclean-target-libquadmath:
38377 @if target-libquadmath
38378 maybe-mostlyclean-target-libquadmath: mostlyclean-target-libquadmath
38380 mostlyclean-target-libquadmath:
38381 @: $(MAKE); $(unstage)
38382 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38383 r=`${PWD_COMMAND}`; export r; \
38384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38385 $(NORMAL_TARGET_EXPORTS) \
38386 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libquadmath" ; \
38387 for flag in $(EXTRA_TARGET_FLAGS); do \
38388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38389 done; \
38390 (cd $(TARGET_SUBDIR)/libquadmath && \
38391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38393 "RANLIB=$${RANLIB}" \
38394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38395 mostlyclean) \
38396 || exit 1
38398 @endif target-libquadmath
38400 .PHONY: maybe-clean-target-libquadmath clean-target-libquadmath
38401 maybe-clean-target-libquadmath:
38402 @if target-libquadmath
38403 maybe-clean-target-libquadmath: clean-target-libquadmath
38405 clean-target-libquadmath:
38406 @: $(MAKE); $(unstage)
38407 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38408 r=`${PWD_COMMAND}`; export r; \
38409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38410 $(NORMAL_TARGET_EXPORTS) \
38411 echo "Doing clean in $(TARGET_SUBDIR)/libquadmath" ; \
38412 for flag in $(EXTRA_TARGET_FLAGS); do \
38413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38414 done; \
38415 (cd $(TARGET_SUBDIR)/libquadmath && \
38416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38418 "RANLIB=$${RANLIB}" \
38419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38420 clean) \
38421 || exit 1
38423 @endif target-libquadmath
38425 .PHONY: maybe-distclean-target-libquadmath distclean-target-libquadmath
38426 maybe-distclean-target-libquadmath:
38427 @if target-libquadmath
38428 maybe-distclean-target-libquadmath: distclean-target-libquadmath
38430 distclean-target-libquadmath:
38431 @: $(MAKE); $(unstage)
38432 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38433 r=`${PWD_COMMAND}`; export r; \
38434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38435 $(NORMAL_TARGET_EXPORTS) \
38436 echo "Doing distclean in $(TARGET_SUBDIR)/libquadmath" ; \
38437 for flag in $(EXTRA_TARGET_FLAGS); do \
38438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38439 done; \
38440 (cd $(TARGET_SUBDIR)/libquadmath && \
38441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38443 "RANLIB=$${RANLIB}" \
38444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38445 distclean) \
38446 || exit 1
38448 @endif target-libquadmath
38450 .PHONY: maybe-maintainer-clean-target-libquadmath maintainer-clean-target-libquadmath
38451 maybe-maintainer-clean-target-libquadmath:
38452 @if target-libquadmath
38453 maybe-maintainer-clean-target-libquadmath: maintainer-clean-target-libquadmath
38455 maintainer-clean-target-libquadmath:
38456 @: $(MAKE); $(unstage)
38457 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38458 r=`${PWD_COMMAND}`; export r; \
38459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38460 $(NORMAL_TARGET_EXPORTS) \
38461 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libquadmath" ; \
38462 for flag in $(EXTRA_TARGET_FLAGS); do \
38463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38464 done; \
38465 (cd $(TARGET_SUBDIR)/libquadmath && \
38466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38468 "RANLIB=$${RANLIB}" \
38469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38470 maintainer-clean) \
38471 || exit 1
38473 @endif target-libquadmath
38479 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
38480 maybe-configure-target-libgfortran:
38481 @if gcc-bootstrap
38482 configure-target-libgfortran: stage_current
38483 @endif gcc-bootstrap
38484 @if target-libgfortran
38485 maybe-configure-target-libgfortran: configure-target-libgfortran
38486 configure-target-libgfortran:
38487 @: $(MAKE); $(unstage)
38488 @r=`${PWD_COMMAND}`; export r; \
38489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38490 echo "Checking multilib configuration for libgfortran..."; \
38491 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
38492 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgfortran/multilib.tmp 2> /dev/null ; \
38493 if test -r $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
38494 if cmp -s $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
38495 rm -f $(TARGET_SUBDIR)/libgfortran/multilib.tmp; \
38496 else \
38497 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile; \
38498 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
38499 fi; \
38500 else \
38501 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
38502 fi; \
38503 test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
38504 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
38505 $(NORMAL_TARGET_EXPORTS) \
38506 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
38507 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
38508 case $(srcdir) in \
38509 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38510 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
38511 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38512 esac; \
38513 module_srcdir=libgfortran; \
38514 rm -f no-such-file || : ; \
38515 CONFIG_SITE=no-such-file $(SHELL) \
38516 $$s/$$module_srcdir/configure \
38517 --srcdir=$${topdir}/$$module_srcdir \
38518 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38519 --target=${target_alias} \
38520 || exit 1
38521 @endif target-libgfortran
38527 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
38528 maybe-all-target-libgfortran:
38529 @if gcc-bootstrap
38530 all-target-libgfortran: stage_current
38531 @endif gcc-bootstrap
38532 @if target-libgfortran
38533 TARGET-target-libgfortran=all
38534 maybe-all-target-libgfortran: all-target-libgfortran
38535 all-target-libgfortran: configure-target-libgfortran
38536 @: $(MAKE); $(unstage)
38537 @r=`${PWD_COMMAND}`; export r; \
38538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38539 $(NORMAL_TARGET_EXPORTS) \
38540 (cd $(TARGET_SUBDIR)/libgfortran && \
38541 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
38542 $(TARGET-target-libgfortran))
38543 @endif target-libgfortran
38549 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
38550 maybe-check-target-libgfortran:
38551 @if target-libgfortran
38552 maybe-check-target-libgfortran: check-target-libgfortran
38554 check-target-libgfortran:
38555 @: $(MAKE); $(unstage)
38556 @r=`${PWD_COMMAND}`; export r; \
38557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38558 $(NORMAL_TARGET_EXPORTS) \
38559 (cd $(TARGET_SUBDIR)/libgfortran && \
38560 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
38562 @endif target-libgfortran
38564 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
38565 maybe-install-target-libgfortran:
38566 @if target-libgfortran
38567 maybe-install-target-libgfortran: install-target-libgfortran
38569 install-target-libgfortran: installdirs
38570 @: $(MAKE); $(unstage)
38571 @r=`${PWD_COMMAND}`; export r; \
38572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38573 $(NORMAL_TARGET_EXPORTS) \
38574 (cd $(TARGET_SUBDIR)/libgfortran && \
38575 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38577 @endif target-libgfortran
38579 .PHONY: install-strip-target-libgfortran maybe-install-strip-target-libgfortran
38580 maybe-install-strip-target-libgfortran:
38581 @if target-libgfortran
38582 maybe-install-strip-target-libgfortran: install-strip-target-libgfortran
38584 install-strip-target-libgfortran: installdirs
38585 @: $(MAKE); $(unstage)
38586 @r=`${PWD_COMMAND}`; export r; \
38587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38588 $(NORMAL_TARGET_EXPORTS) \
38589 (cd $(TARGET_SUBDIR)/libgfortran && \
38590 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
38592 @endif target-libgfortran
38594 # Other targets (info, dvi, pdf, etc.)
38596 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
38597 maybe-info-target-libgfortran:
38598 @if target-libgfortran
38599 maybe-info-target-libgfortran: info-target-libgfortran
38601 info-target-libgfortran: \
38602 configure-target-libgfortran
38603 @: $(MAKE); $(unstage)
38604 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38605 r=`${PWD_COMMAND}`; export r; \
38606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38607 $(NORMAL_TARGET_EXPORTS) \
38608 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
38609 for flag in $(EXTRA_TARGET_FLAGS); do \
38610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38611 done; \
38612 (cd $(TARGET_SUBDIR)/libgfortran && \
38613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38615 "RANLIB=$${RANLIB}" \
38616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38617 info) \
38618 || exit 1
38620 @endif target-libgfortran
38622 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
38623 maybe-dvi-target-libgfortran:
38624 @if target-libgfortran
38625 maybe-dvi-target-libgfortran: dvi-target-libgfortran
38627 dvi-target-libgfortran: \
38628 configure-target-libgfortran
38629 @: $(MAKE); $(unstage)
38630 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38631 r=`${PWD_COMMAND}`; export r; \
38632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38633 $(NORMAL_TARGET_EXPORTS) \
38634 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
38635 for flag in $(EXTRA_TARGET_FLAGS); do \
38636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38637 done; \
38638 (cd $(TARGET_SUBDIR)/libgfortran && \
38639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38641 "RANLIB=$${RANLIB}" \
38642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38643 dvi) \
38644 || exit 1
38646 @endif target-libgfortran
38648 .PHONY: maybe-pdf-target-libgfortran pdf-target-libgfortran
38649 maybe-pdf-target-libgfortran:
38650 @if target-libgfortran
38651 maybe-pdf-target-libgfortran: pdf-target-libgfortran
38653 pdf-target-libgfortran: \
38654 configure-target-libgfortran
38655 @: $(MAKE); $(unstage)
38656 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38657 r=`${PWD_COMMAND}`; export r; \
38658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38659 $(NORMAL_TARGET_EXPORTS) \
38660 echo "Doing pdf in $(TARGET_SUBDIR)/libgfortran" ; \
38661 for flag in $(EXTRA_TARGET_FLAGS); do \
38662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38663 done; \
38664 (cd $(TARGET_SUBDIR)/libgfortran && \
38665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38667 "RANLIB=$${RANLIB}" \
38668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38669 pdf) \
38670 || exit 1
38672 @endif target-libgfortran
38674 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
38675 maybe-html-target-libgfortran:
38676 @if target-libgfortran
38677 maybe-html-target-libgfortran: html-target-libgfortran
38679 html-target-libgfortran: \
38680 configure-target-libgfortran
38681 @: $(MAKE); $(unstage)
38682 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38683 r=`${PWD_COMMAND}`; export r; \
38684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38685 $(NORMAL_TARGET_EXPORTS) \
38686 echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \
38687 for flag in $(EXTRA_TARGET_FLAGS); do \
38688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38689 done; \
38690 (cd $(TARGET_SUBDIR)/libgfortran && \
38691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38693 "RANLIB=$${RANLIB}" \
38694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38695 html) \
38696 || exit 1
38698 @endif target-libgfortran
38700 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
38701 maybe-TAGS-target-libgfortran:
38702 @if target-libgfortran
38703 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
38705 TAGS-target-libgfortran: \
38706 configure-target-libgfortran
38707 @: $(MAKE); $(unstage)
38708 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38709 r=`${PWD_COMMAND}`; export r; \
38710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38711 $(NORMAL_TARGET_EXPORTS) \
38712 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
38713 for flag in $(EXTRA_TARGET_FLAGS); do \
38714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38715 done; \
38716 (cd $(TARGET_SUBDIR)/libgfortran && \
38717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38719 "RANLIB=$${RANLIB}" \
38720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38721 TAGS) \
38722 || exit 1
38724 @endif target-libgfortran
38726 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
38727 maybe-install-info-target-libgfortran:
38728 @if target-libgfortran
38729 maybe-install-info-target-libgfortran: install-info-target-libgfortran
38731 install-info-target-libgfortran: \
38732 configure-target-libgfortran \
38733 info-target-libgfortran
38734 @: $(MAKE); $(unstage)
38735 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38736 r=`${PWD_COMMAND}`; export r; \
38737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38738 $(NORMAL_TARGET_EXPORTS) \
38739 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
38740 for flag in $(EXTRA_TARGET_FLAGS); do \
38741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38742 done; \
38743 (cd $(TARGET_SUBDIR)/libgfortran && \
38744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38746 "RANLIB=$${RANLIB}" \
38747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38748 install-info) \
38749 || exit 1
38751 @endif target-libgfortran
38753 .PHONY: maybe-install-pdf-target-libgfortran install-pdf-target-libgfortran
38754 maybe-install-pdf-target-libgfortran:
38755 @if target-libgfortran
38756 maybe-install-pdf-target-libgfortran: install-pdf-target-libgfortran
38758 install-pdf-target-libgfortran: \
38759 configure-target-libgfortran \
38760 pdf-target-libgfortran
38761 @: $(MAKE); $(unstage)
38762 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38763 r=`${PWD_COMMAND}`; export r; \
38764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38765 $(NORMAL_TARGET_EXPORTS) \
38766 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgfortran" ; \
38767 for flag in $(EXTRA_TARGET_FLAGS); do \
38768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38769 done; \
38770 (cd $(TARGET_SUBDIR)/libgfortran && \
38771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38773 "RANLIB=$${RANLIB}" \
38774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38775 install-pdf) \
38776 || exit 1
38778 @endif target-libgfortran
38780 .PHONY: maybe-install-html-target-libgfortran install-html-target-libgfortran
38781 maybe-install-html-target-libgfortran:
38782 @if target-libgfortran
38783 maybe-install-html-target-libgfortran: install-html-target-libgfortran
38785 install-html-target-libgfortran: \
38786 configure-target-libgfortran \
38787 html-target-libgfortran
38788 @: $(MAKE); $(unstage)
38789 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38790 r=`${PWD_COMMAND}`; export r; \
38791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38792 $(NORMAL_TARGET_EXPORTS) \
38793 echo "Doing install-html in $(TARGET_SUBDIR)/libgfortran" ; \
38794 for flag in $(EXTRA_TARGET_FLAGS); do \
38795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38796 done; \
38797 (cd $(TARGET_SUBDIR)/libgfortran && \
38798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38800 "RANLIB=$${RANLIB}" \
38801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38802 install-html) \
38803 || exit 1
38805 @endif target-libgfortran
38807 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
38808 maybe-installcheck-target-libgfortran:
38809 @if target-libgfortran
38810 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
38812 installcheck-target-libgfortran: \
38813 configure-target-libgfortran
38814 @: $(MAKE); $(unstage)
38815 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38816 r=`${PWD_COMMAND}`; export r; \
38817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38818 $(NORMAL_TARGET_EXPORTS) \
38819 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
38820 for flag in $(EXTRA_TARGET_FLAGS); do \
38821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38822 done; \
38823 (cd $(TARGET_SUBDIR)/libgfortran && \
38824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38826 "RANLIB=$${RANLIB}" \
38827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38828 installcheck) \
38829 || exit 1
38831 @endif target-libgfortran
38833 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
38834 maybe-mostlyclean-target-libgfortran:
38835 @if target-libgfortran
38836 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
38838 mostlyclean-target-libgfortran:
38839 @: $(MAKE); $(unstage)
38840 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38841 r=`${PWD_COMMAND}`; export r; \
38842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38843 $(NORMAL_TARGET_EXPORTS) \
38844 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
38845 for flag in $(EXTRA_TARGET_FLAGS); do \
38846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38847 done; \
38848 (cd $(TARGET_SUBDIR)/libgfortran && \
38849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38851 "RANLIB=$${RANLIB}" \
38852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38853 mostlyclean) \
38854 || exit 1
38856 @endif target-libgfortran
38858 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
38859 maybe-clean-target-libgfortran:
38860 @if target-libgfortran
38861 maybe-clean-target-libgfortran: clean-target-libgfortran
38863 clean-target-libgfortran:
38864 @: $(MAKE); $(unstage)
38865 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38866 r=`${PWD_COMMAND}`; export r; \
38867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38868 $(NORMAL_TARGET_EXPORTS) \
38869 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
38870 for flag in $(EXTRA_TARGET_FLAGS); do \
38871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38872 done; \
38873 (cd $(TARGET_SUBDIR)/libgfortran && \
38874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38876 "RANLIB=$${RANLIB}" \
38877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38878 clean) \
38879 || exit 1
38881 @endif target-libgfortran
38883 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
38884 maybe-distclean-target-libgfortran:
38885 @if target-libgfortran
38886 maybe-distclean-target-libgfortran: distclean-target-libgfortran
38888 distclean-target-libgfortran:
38889 @: $(MAKE); $(unstage)
38890 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38891 r=`${PWD_COMMAND}`; export r; \
38892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38893 $(NORMAL_TARGET_EXPORTS) \
38894 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
38895 for flag in $(EXTRA_TARGET_FLAGS); do \
38896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38897 done; \
38898 (cd $(TARGET_SUBDIR)/libgfortran && \
38899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38901 "RANLIB=$${RANLIB}" \
38902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38903 distclean) \
38904 || exit 1
38906 @endif target-libgfortran
38908 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
38909 maybe-maintainer-clean-target-libgfortran:
38910 @if target-libgfortran
38911 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
38913 maintainer-clean-target-libgfortran:
38914 @: $(MAKE); $(unstage)
38915 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
38916 r=`${PWD_COMMAND}`; export r; \
38917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38918 $(NORMAL_TARGET_EXPORTS) \
38919 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
38920 for flag in $(EXTRA_TARGET_FLAGS); do \
38921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38922 done; \
38923 (cd $(TARGET_SUBDIR)/libgfortran && \
38924 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38925 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38926 "RANLIB=$${RANLIB}" \
38927 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38928 maintainer-clean) \
38929 || exit 1
38931 @endif target-libgfortran
38937 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
38938 maybe-configure-target-libobjc:
38939 @if gcc-bootstrap
38940 configure-target-libobjc: stage_current
38941 @endif gcc-bootstrap
38942 @if target-libobjc
38943 maybe-configure-target-libobjc: configure-target-libobjc
38944 configure-target-libobjc:
38945 @: $(MAKE); $(unstage)
38946 @r=`${PWD_COMMAND}`; export r; \
38947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38948 echo "Checking multilib configuration for libobjc..."; \
38949 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
38950 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libobjc/multilib.tmp 2> /dev/null ; \
38951 if test -r $(TARGET_SUBDIR)/libobjc/multilib.out; then \
38952 if cmp -s $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; then \
38953 rm -f $(TARGET_SUBDIR)/libobjc/multilib.tmp; \
38954 else \
38955 rm -f $(TARGET_SUBDIR)/libobjc/Makefile; \
38956 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
38957 fi; \
38958 else \
38959 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
38960 fi; \
38961 test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
38962 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
38963 $(NORMAL_TARGET_EXPORTS) \
38964 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
38965 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
38966 case $(srcdir) in \
38967 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38968 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
38969 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38970 esac; \
38971 module_srcdir=libobjc; \
38972 rm -f no-such-file || : ; \
38973 CONFIG_SITE=no-such-file $(SHELL) \
38974 $$s/$$module_srcdir/configure \
38975 --srcdir=$${topdir}/$$module_srcdir \
38976 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38977 --target=${target_alias} \
38978 || exit 1
38979 @endif target-libobjc
38985 .PHONY: all-target-libobjc maybe-all-target-libobjc
38986 maybe-all-target-libobjc:
38987 @if gcc-bootstrap
38988 all-target-libobjc: stage_current
38989 @endif gcc-bootstrap
38990 @if target-libobjc
38991 TARGET-target-libobjc=all
38992 maybe-all-target-libobjc: all-target-libobjc
38993 all-target-libobjc: configure-target-libobjc
38994 @: $(MAKE); $(unstage)
38995 @r=`${PWD_COMMAND}`; export r; \
38996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38997 $(NORMAL_TARGET_EXPORTS) \
38998 (cd $(TARGET_SUBDIR)/libobjc && \
38999 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
39000 $(TARGET-target-libobjc))
39001 @endif target-libobjc
39007 .PHONY: check-target-libobjc maybe-check-target-libobjc
39008 maybe-check-target-libobjc:
39009 @if target-libobjc
39010 maybe-check-target-libobjc: check-target-libobjc
39012 check-target-libobjc:
39013 @: $(MAKE); $(unstage)
39014 @r=`${PWD_COMMAND}`; export r; \
39015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39016 $(NORMAL_TARGET_EXPORTS) \
39017 (cd $(TARGET_SUBDIR)/libobjc && \
39018 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
39020 @endif target-libobjc
39022 .PHONY: install-target-libobjc maybe-install-target-libobjc
39023 maybe-install-target-libobjc:
39024 @if target-libobjc
39025 maybe-install-target-libobjc: install-target-libobjc
39027 install-target-libobjc: installdirs
39028 @: $(MAKE); $(unstage)
39029 @r=`${PWD_COMMAND}`; export r; \
39030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39031 $(NORMAL_TARGET_EXPORTS) \
39032 (cd $(TARGET_SUBDIR)/libobjc && \
39033 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
39035 @endif target-libobjc
39037 .PHONY: install-strip-target-libobjc maybe-install-strip-target-libobjc
39038 maybe-install-strip-target-libobjc:
39039 @if target-libobjc
39040 maybe-install-strip-target-libobjc: install-strip-target-libobjc
39042 install-strip-target-libobjc: installdirs
39043 @: $(MAKE); $(unstage)
39044 @r=`${PWD_COMMAND}`; export r; \
39045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39046 $(NORMAL_TARGET_EXPORTS) \
39047 (cd $(TARGET_SUBDIR)/libobjc && \
39048 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
39050 @endif target-libobjc
39052 # Other targets (info, dvi, pdf, etc.)
39054 .PHONY: maybe-info-target-libobjc info-target-libobjc
39055 maybe-info-target-libobjc:
39056 @if target-libobjc
39057 maybe-info-target-libobjc: info-target-libobjc
39059 info-target-libobjc: \
39060 configure-target-libobjc
39061 @: $(MAKE); $(unstage)
39062 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39063 r=`${PWD_COMMAND}`; export r; \
39064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39065 $(NORMAL_TARGET_EXPORTS) \
39066 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
39067 for flag in $(EXTRA_TARGET_FLAGS); do \
39068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39069 done; \
39070 (cd $(TARGET_SUBDIR)/libobjc && \
39071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39073 "RANLIB=$${RANLIB}" \
39074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39075 info) \
39076 || exit 1
39078 @endif target-libobjc
39080 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
39081 maybe-dvi-target-libobjc:
39082 @if target-libobjc
39083 maybe-dvi-target-libobjc: dvi-target-libobjc
39085 dvi-target-libobjc: \
39086 configure-target-libobjc
39087 @: $(MAKE); $(unstage)
39088 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39089 r=`${PWD_COMMAND}`; export r; \
39090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39091 $(NORMAL_TARGET_EXPORTS) \
39092 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
39093 for flag in $(EXTRA_TARGET_FLAGS); do \
39094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39095 done; \
39096 (cd $(TARGET_SUBDIR)/libobjc && \
39097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39099 "RANLIB=$${RANLIB}" \
39100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39101 dvi) \
39102 || exit 1
39104 @endif target-libobjc
39106 .PHONY: maybe-pdf-target-libobjc pdf-target-libobjc
39107 maybe-pdf-target-libobjc:
39108 @if target-libobjc
39109 maybe-pdf-target-libobjc: pdf-target-libobjc
39111 pdf-target-libobjc: \
39112 configure-target-libobjc
39113 @: $(MAKE); $(unstage)
39114 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39115 r=`${PWD_COMMAND}`; export r; \
39116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39117 $(NORMAL_TARGET_EXPORTS) \
39118 echo "Doing pdf in $(TARGET_SUBDIR)/libobjc" ; \
39119 for flag in $(EXTRA_TARGET_FLAGS); do \
39120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39121 done; \
39122 (cd $(TARGET_SUBDIR)/libobjc && \
39123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39125 "RANLIB=$${RANLIB}" \
39126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39127 pdf) \
39128 || exit 1
39130 @endif target-libobjc
39132 .PHONY: maybe-html-target-libobjc html-target-libobjc
39133 maybe-html-target-libobjc:
39134 @if target-libobjc
39135 maybe-html-target-libobjc: html-target-libobjc
39137 html-target-libobjc: \
39138 configure-target-libobjc
39139 @: $(MAKE); $(unstage)
39140 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39141 r=`${PWD_COMMAND}`; export r; \
39142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39143 $(NORMAL_TARGET_EXPORTS) \
39144 echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \
39145 for flag in $(EXTRA_TARGET_FLAGS); do \
39146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39147 done; \
39148 (cd $(TARGET_SUBDIR)/libobjc && \
39149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39151 "RANLIB=$${RANLIB}" \
39152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39153 html) \
39154 || exit 1
39156 @endif target-libobjc
39158 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
39159 maybe-TAGS-target-libobjc:
39160 @if target-libobjc
39161 maybe-TAGS-target-libobjc: TAGS-target-libobjc
39163 TAGS-target-libobjc: \
39164 configure-target-libobjc
39165 @: $(MAKE); $(unstage)
39166 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39167 r=`${PWD_COMMAND}`; export r; \
39168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39169 $(NORMAL_TARGET_EXPORTS) \
39170 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
39171 for flag in $(EXTRA_TARGET_FLAGS); do \
39172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39173 done; \
39174 (cd $(TARGET_SUBDIR)/libobjc && \
39175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39177 "RANLIB=$${RANLIB}" \
39178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39179 TAGS) \
39180 || exit 1
39182 @endif target-libobjc
39184 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
39185 maybe-install-info-target-libobjc:
39186 @if target-libobjc
39187 maybe-install-info-target-libobjc: install-info-target-libobjc
39189 install-info-target-libobjc: \
39190 configure-target-libobjc \
39191 info-target-libobjc
39192 @: $(MAKE); $(unstage)
39193 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39194 r=`${PWD_COMMAND}`; export r; \
39195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39196 $(NORMAL_TARGET_EXPORTS) \
39197 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
39198 for flag in $(EXTRA_TARGET_FLAGS); do \
39199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39200 done; \
39201 (cd $(TARGET_SUBDIR)/libobjc && \
39202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39204 "RANLIB=$${RANLIB}" \
39205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39206 install-info) \
39207 || exit 1
39209 @endif target-libobjc
39211 .PHONY: maybe-install-pdf-target-libobjc install-pdf-target-libobjc
39212 maybe-install-pdf-target-libobjc:
39213 @if target-libobjc
39214 maybe-install-pdf-target-libobjc: install-pdf-target-libobjc
39216 install-pdf-target-libobjc: \
39217 configure-target-libobjc \
39218 pdf-target-libobjc
39219 @: $(MAKE); $(unstage)
39220 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39221 r=`${PWD_COMMAND}`; export r; \
39222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39223 $(NORMAL_TARGET_EXPORTS) \
39224 echo "Doing install-pdf in $(TARGET_SUBDIR)/libobjc" ; \
39225 for flag in $(EXTRA_TARGET_FLAGS); do \
39226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39227 done; \
39228 (cd $(TARGET_SUBDIR)/libobjc && \
39229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39231 "RANLIB=$${RANLIB}" \
39232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39233 install-pdf) \
39234 || exit 1
39236 @endif target-libobjc
39238 .PHONY: maybe-install-html-target-libobjc install-html-target-libobjc
39239 maybe-install-html-target-libobjc:
39240 @if target-libobjc
39241 maybe-install-html-target-libobjc: install-html-target-libobjc
39243 install-html-target-libobjc: \
39244 configure-target-libobjc \
39245 html-target-libobjc
39246 @: $(MAKE); $(unstage)
39247 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39248 r=`${PWD_COMMAND}`; export r; \
39249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39250 $(NORMAL_TARGET_EXPORTS) \
39251 echo "Doing install-html in $(TARGET_SUBDIR)/libobjc" ; \
39252 for flag in $(EXTRA_TARGET_FLAGS); do \
39253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39254 done; \
39255 (cd $(TARGET_SUBDIR)/libobjc && \
39256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39258 "RANLIB=$${RANLIB}" \
39259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39260 install-html) \
39261 || exit 1
39263 @endif target-libobjc
39265 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
39266 maybe-installcheck-target-libobjc:
39267 @if target-libobjc
39268 maybe-installcheck-target-libobjc: installcheck-target-libobjc
39270 installcheck-target-libobjc: \
39271 configure-target-libobjc
39272 @: $(MAKE); $(unstage)
39273 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39274 r=`${PWD_COMMAND}`; export r; \
39275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39276 $(NORMAL_TARGET_EXPORTS) \
39277 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
39278 for flag in $(EXTRA_TARGET_FLAGS); do \
39279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39280 done; \
39281 (cd $(TARGET_SUBDIR)/libobjc && \
39282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39284 "RANLIB=$${RANLIB}" \
39285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39286 installcheck) \
39287 || exit 1
39289 @endif target-libobjc
39291 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
39292 maybe-mostlyclean-target-libobjc:
39293 @if target-libobjc
39294 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
39296 mostlyclean-target-libobjc:
39297 @: $(MAKE); $(unstage)
39298 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39299 r=`${PWD_COMMAND}`; export r; \
39300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39301 $(NORMAL_TARGET_EXPORTS) \
39302 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
39303 for flag in $(EXTRA_TARGET_FLAGS); do \
39304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39305 done; \
39306 (cd $(TARGET_SUBDIR)/libobjc && \
39307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39309 "RANLIB=$${RANLIB}" \
39310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39311 mostlyclean) \
39312 || exit 1
39314 @endif target-libobjc
39316 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
39317 maybe-clean-target-libobjc:
39318 @if target-libobjc
39319 maybe-clean-target-libobjc: clean-target-libobjc
39321 clean-target-libobjc:
39322 @: $(MAKE); $(unstage)
39323 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39324 r=`${PWD_COMMAND}`; export r; \
39325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39326 $(NORMAL_TARGET_EXPORTS) \
39327 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
39328 for flag in $(EXTRA_TARGET_FLAGS); do \
39329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39330 done; \
39331 (cd $(TARGET_SUBDIR)/libobjc && \
39332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39334 "RANLIB=$${RANLIB}" \
39335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39336 clean) \
39337 || exit 1
39339 @endif target-libobjc
39341 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
39342 maybe-distclean-target-libobjc:
39343 @if target-libobjc
39344 maybe-distclean-target-libobjc: distclean-target-libobjc
39346 distclean-target-libobjc:
39347 @: $(MAKE); $(unstage)
39348 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39349 r=`${PWD_COMMAND}`; export r; \
39350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39351 $(NORMAL_TARGET_EXPORTS) \
39352 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
39353 for flag in $(EXTRA_TARGET_FLAGS); do \
39354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39355 done; \
39356 (cd $(TARGET_SUBDIR)/libobjc && \
39357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39359 "RANLIB=$${RANLIB}" \
39360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39361 distclean) \
39362 || exit 1
39364 @endif target-libobjc
39366 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
39367 maybe-maintainer-clean-target-libobjc:
39368 @if target-libobjc
39369 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
39371 maintainer-clean-target-libobjc:
39372 @: $(MAKE); $(unstage)
39373 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39374 r=`${PWD_COMMAND}`; export r; \
39375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39376 $(NORMAL_TARGET_EXPORTS) \
39377 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
39378 for flag in $(EXTRA_TARGET_FLAGS); do \
39379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39380 done; \
39381 (cd $(TARGET_SUBDIR)/libobjc && \
39382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39384 "RANLIB=$${RANLIB}" \
39385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39386 maintainer-clean) \
39387 || exit 1
39389 @endif target-libobjc
39395 .PHONY: configure-target-libgo maybe-configure-target-libgo
39396 maybe-configure-target-libgo:
39397 @if gcc-bootstrap
39398 configure-target-libgo: stage_current
39399 @endif gcc-bootstrap
39400 @if target-libgo
39401 maybe-configure-target-libgo: configure-target-libgo
39402 configure-target-libgo:
39403 @: $(MAKE); $(unstage)
39404 @r=`${PWD_COMMAND}`; export r; \
39405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39406 echo "Checking multilib configuration for libgo..."; \
39407 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo ; \
39408 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgo/multilib.tmp 2> /dev/null ; \
39409 if test -r $(TARGET_SUBDIR)/libgo/multilib.out; then \
39410 if cmp -s $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; then \
39411 rm -f $(TARGET_SUBDIR)/libgo/multilib.tmp; \
39412 else \
39413 rm -f $(TARGET_SUBDIR)/libgo/Makefile; \
39414 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
39415 fi; \
39416 else \
39417 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
39418 fi; \
39419 test ! -f $(TARGET_SUBDIR)/libgo/Makefile || exit 0; \
39420 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo ; \
39421 $(NORMAL_TARGET_EXPORTS) \
39422 echo Configuring in $(TARGET_SUBDIR)/libgo; \
39423 cd "$(TARGET_SUBDIR)/libgo" || exit 1; \
39424 case $(srcdir) in \
39425 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39426 *) topdir=`echo $(TARGET_SUBDIR)/libgo/ | \
39427 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39428 esac; \
39429 module_srcdir=libgo; \
39430 rm -f no-such-file || : ; \
39431 CONFIG_SITE=no-such-file $(SHELL) \
39432 $$s/$$module_srcdir/configure \
39433 --srcdir=$${topdir}/$$module_srcdir \
39434 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39435 --target=${target_alias} \
39436 || exit 1
39437 @endif target-libgo
39443 .PHONY: all-target-libgo maybe-all-target-libgo
39444 maybe-all-target-libgo:
39445 @if gcc-bootstrap
39446 all-target-libgo: stage_current
39447 @endif gcc-bootstrap
39448 @if target-libgo
39449 TARGET-target-libgo=all
39450 maybe-all-target-libgo: all-target-libgo
39451 all-target-libgo: configure-target-libgo
39452 @: $(MAKE); $(unstage)
39453 @r=`${PWD_COMMAND}`; export r; \
39454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39455 $(NORMAL_TARGET_EXPORTS) \
39456 (cd $(TARGET_SUBDIR)/libgo && \
39457 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
39458 $(TARGET-target-libgo))
39459 @endif target-libgo
39465 .PHONY: check-target-libgo maybe-check-target-libgo
39466 maybe-check-target-libgo:
39467 @if target-libgo
39468 maybe-check-target-libgo: check-target-libgo
39470 check-target-libgo:
39471 @: $(MAKE); $(unstage)
39472 @r=`${PWD_COMMAND}`; export r; \
39473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39474 $(NORMAL_TARGET_EXPORTS) \
39475 (cd $(TARGET_SUBDIR)/libgo && \
39476 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
39478 @endif target-libgo
39480 .PHONY: install-target-libgo maybe-install-target-libgo
39481 maybe-install-target-libgo:
39482 @if target-libgo
39483 maybe-install-target-libgo: install-target-libgo
39485 install-target-libgo: installdirs
39486 @: $(MAKE); $(unstage)
39487 @r=`${PWD_COMMAND}`; export r; \
39488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39489 $(NORMAL_TARGET_EXPORTS) \
39490 (cd $(TARGET_SUBDIR)/libgo && \
39491 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
39493 @endif target-libgo
39495 .PHONY: install-strip-target-libgo maybe-install-strip-target-libgo
39496 maybe-install-strip-target-libgo:
39497 @if target-libgo
39498 maybe-install-strip-target-libgo: install-strip-target-libgo
39500 install-strip-target-libgo: installdirs
39501 @: $(MAKE); $(unstage)
39502 @r=`${PWD_COMMAND}`; export r; \
39503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39504 $(NORMAL_TARGET_EXPORTS) \
39505 (cd $(TARGET_SUBDIR)/libgo && \
39506 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
39508 @endif target-libgo
39510 # Other targets (info, dvi, pdf, etc.)
39512 .PHONY: maybe-info-target-libgo info-target-libgo
39513 maybe-info-target-libgo:
39514 @if target-libgo
39515 maybe-info-target-libgo: info-target-libgo
39517 info-target-libgo: \
39518 configure-target-libgo
39519 @: $(MAKE); $(unstage)
39520 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39521 r=`${PWD_COMMAND}`; export r; \
39522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39523 $(NORMAL_TARGET_EXPORTS) \
39524 echo "Doing info in $(TARGET_SUBDIR)/libgo" ; \
39525 for flag in $(EXTRA_TARGET_FLAGS); do \
39526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39527 done; \
39528 (cd $(TARGET_SUBDIR)/libgo && \
39529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39531 "RANLIB=$${RANLIB}" \
39532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39533 info) \
39534 || exit 1
39536 @endif target-libgo
39538 .PHONY: maybe-dvi-target-libgo dvi-target-libgo
39539 maybe-dvi-target-libgo:
39540 @if target-libgo
39541 maybe-dvi-target-libgo: dvi-target-libgo
39543 dvi-target-libgo: \
39544 configure-target-libgo
39545 @: $(MAKE); $(unstage)
39546 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39547 r=`${PWD_COMMAND}`; export r; \
39548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39549 $(NORMAL_TARGET_EXPORTS) \
39550 echo "Doing dvi in $(TARGET_SUBDIR)/libgo" ; \
39551 for flag in $(EXTRA_TARGET_FLAGS); do \
39552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39553 done; \
39554 (cd $(TARGET_SUBDIR)/libgo && \
39555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39557 "RANLIB=$${RANLIB}" \
39558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39559 dvi) \
39560 || exit 1
39562 @endif target-libgo
39564 .PHONY: maybe-pdf-target-libgo pdf-target-libgo
39565 maybe-pdf-target-libgo:
39566 @if target-libgo
39567 maybe-pdf-target-libgo: pdf-target-libgo
39569 pdf-target-libgo: \
39570 configure-target-libgo
39571 @: $(MAKE); $(unstage)
39572 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39573 r=`${PWD_COMMAND}`; export r; \
39574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39575 $(NORMAL_TARGET_EXPORTS) \
39576 echo "Doing pdf in $(TARGET_SUBDIR)/libgo" ; \
39577 for flag in $(EXTRA_TARGET_FLAGS); do \
39578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39579 done; \
39580 (cd $(TARGET_SUBDIR)/libgo && \
39581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39583 "RANLIB=$${RANLIB}" \
39584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39585 pdf) \
39586 || exit 1
39588 @endif target-libgo
39590 .PHONY: maybe-html-target-libgo html-target-libgo
39591 maybe-html-target-libgo:
39592 @if target-libgo
39593 maybe-html-target-libgo: html-target-libgo
39595 html-target-libgo: \
39596 configure-target-libgo
39597 @: $(MAKE); $(unstage)
39598 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39599 r=`${PWD_COMMAND}`; export r; \
39600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39601 $(NORMAL_TARGET_EXPORTS) \
39602 echo "Doing html in $(TARGET_SUBDIR)/libgo" ; \
39603 for flag in $(EXTRA_TARGET_FLAGS); do \
39604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39605 done; \
39606 (cd $(TARGET_SUBDIR)/libgo && \
39607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39609 "RANLIB=$${RANLIB}" \
39610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39611 html) \
39612 || exit 1
39614 @endif target-libgo
39616 .PHONY: maybe-TAGS-target-libgo TAGS-target-libgo
39617 maybe-TAGS-target-libgo:
39618 @if target-libgo
39619 maybe-TAGS-target-libgo: TAGS-target-libgo
39621 TAGS-target-libgo: \
39622 configure-target-libgo
39623 @: $(MAKE); $(unstage)
39624 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39625 r=`${PWD_COMMAND}`; export r; \
39626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39627 $(NORMAL_TARGET_EXPORTS) \
39628 echo "Doing TAGS in $(TARGET_SUBDIR)/libgo" ; \
39629 for flag in $(EXTRA_TARGET_FLAGS); do \
39630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39631 done; \
39632 (cd $(TARGET_SUBDIR)/libgo && \
39633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39635 "RANLIB=$${RANLIB}" \
39636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39637 TAGS) \
39638 || exit 1
39640 @endif target-libgo
39642 .PHONY: maybe-install-info-target-libgo install-info-target-libgo
39643 maybe-install-info-target-libgo:
39644 @if target-libgo
39645 maybe-install-info-target-libgo: install-info-target-libgo
39647 install-info-target-libgo: \
39648 configure-target-libgo \
39649 info-target-libgo
39650 @: $(MAKE); $(unstage)
39651 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39652 r=`${PWD_COMMAND}`; export r; \
39653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39654 $(NORMAL_TARGET_EXPORTS) \
39655 echo "Doing install-info in $(TARGET_SUBDIR)/libgo" ; \
39656 for flag in $(EXTRA_TARGET_FLAGS); do \
39657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39658 done; \
39659 (cd $(TARGET_SUBDIR)/libgo && \
39660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39662 "RANLIB=$${RANLIB}" \
39663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39664 install-info) \
39665 || exit 1
39667 @endif target-libgo
39669 .PHONY: maybe-install-pdf-target-libgo install-pdf-target-libgo
39670 maybe-install-pdf-target-libgo:
39671 @if target-libgo
39672 maybe-install-pdf-target-libgo: install-pdf-target-libgo
39674 install-pdf-target-libgo: \
39675 configure-target-libgo \
39676 pdf-target-libgo
39677 @: $(MAKE); $(unstage)
39678 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39679 r=`${PWD_COMMAND}`; export r; \
39680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39681 $(NORMAL_TARGET_EXPORTS) \
39682 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgo" ; \
39683 for flag in $(EXTRA_TARGET_FLAGS); do \
39684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39685 done; \
39686 (cd $(TARGET_SUBDIR)/libgo && \
39687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39689 "RANLIB=$${RANLIB}" \
39690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39691 install-pdf) \
39692 || exit 1
39694 @endif target-libgo
39696 .PHONY: maybe-install-html-target-libgo install-html-target-libgo
39697 maybe-install-html-target-libgo:
39698 @if target-libgo
39699 maybe-install-html-target-libgo: install-html-target-libgo
39701 install-html-target-libgo: \
39702 configure-target-libgo \
39703 html-target-libgo
39704 @: $(MAKE); $(unstage)
39705 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39706 r=`${PWD_COMMAND}`; export r; \
39707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39708 $(NORMAL_TARGET_EXPORTS) \
39709 echo "Doing install-html in $(TARGET_SUBDIR)/libgo" ; \
39710 for flag in $(EXTRA_TARGET_FLAGS); do \
39711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39712 done; \
39713 (cd $(TARGET_SUBDIR)/libgo && \
39714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39716 "RANLIB=$${RANLIB}" \
39717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39718 install-html) \
39719 || exit 1
39721 @endif target-libgo
39723 .PHONY: maybe-installcheck-target-libgo installcheck-target-libgo
39724 maybe-installcheck-target-libgo:
39725 @if target-libgo
39726 maybe-installcheck-target-libgo: installcheck-target-libgo
39728 installcheck-target-libgo: \
39729 configure-target-libgo
39730 @: $(MAKE); $(unstage)
39731 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39732 r=`${PWD_COMMAND}`; export r; \
39733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39734 $(NORMAL_TARGET_EXPORTS) \
39735 echo "Doing installcheck in $(TARGET_SUBDIR)/libgo" ; \
39736 for flag in $(EXTRA_TARGET_FLAGS); do \
39737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39738 done; \
39739 (cd $(TARGET_SUBDIR)/libgo && \
39740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39742 "RANLIB=$${RANLIB}" \
39743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39744 installcheck) \
39745 || exit 1
39747 @endif target-libgo
39749 .PHONY: maybe-mostlyclean-target-libgo mostlyclean-target-libgo
39750 maybe-mostlyclean-target-libgo:
39751 @if target-libgo
39752 maybe-mostlyclean-target-libgo: mostlyclean-target-libgo
39754 mostlyclean-target-libgo:
39755 @: $(MAKE); $(unstage)
39756 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39757 r=`${PWD_COMMAND}`; export r; \
39758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39759 $(NORMAL_TARGET_EXPORTS) \
39760 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgo" ; \
39761 for flag in $(EXTRA_TARGET_FLAGS); do \
39762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39763 done; \
39764 (cd $(TARGET_SUBDIR)/libgo && \
39765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39767 "RANLIB=$${RANLIB}" \
39768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39769 mostlyclean) \
39770 || exit 1
39772 @endif target-libgo
39774 .PHONY: maybe-clean-target-libgo clean-target-libgo
39775 maybe-clean-target-libgo:
39776 @if target-libgo
39777 maybe-clean-target-libgo: clean-target-libgo
39779 clean-target-libgo:
39780 @: $(MAKE); $(unstage)
39781 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39782 r=`${PWD_COMMAND}`; export r; \
39783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39784 $(NORMAL_TARGET_EXPORTS) \
39785 echo "Doing clean in $(TARGET_SUBDIR)/libgo" ; \
39786 for flag in $(EXTRA_TARGET_FLAGS); do \
39787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39788 done; \
39789 (cd $(TARGET_SUBDIR)/libgo && \
39790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39792 "RANLIB=$${RANLIB}" \
39793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39794 clean) \
39795 || exit 1
39797 @endif target-libgo
39799 .PHONY: maybe-distclean-target-libgo distclean-target-libgo
39800 maybe-distclean-target-libgo:
39801 @if target-libgo
39802 maybe-distclean-target-libgo: distclean-target-libgo
39804 distclean-target-libgo:
39805 @: $(MAKE); $(unstage)
39806 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39807 r=`${PWD_COMMAND}`; export r; \
39808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39809 $(NORMAL_TARGET_EXPORTS) \
39810 echo "Doing distclean in $(TARGET_SUBDIR)/libgo" ; \
39811 for flag in $(EXTRA_TARGET_FLAGS); do \
39812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39813 done; \
39814 (cd $(TARGET_SUBDIR)/libgo && \
39815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39817 "RANLIB=$${RANLIB}" \
39818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39819 distclean) \
39820 || exit 1
39822 @endif target-libgo
39824 .PHONY: maybe-maintainer-clean-target-libgo maintainer-clean-target-libgo
39825 maybe-maintainer-clean-target-libgo:
39826 @if target-libgo
39827 maybe-maintainer-clean-target-libgo: maintainer-clean-target-libgo
39829 maintainer-clean-target-libgo:
39830 @: $(MAKE); $(unstage)
39831 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39832 r=`${PWD_COMMAND}`; export r; \
39833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39834 $(NORMAL_TARGET_EXPORTS) \
39835 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgo" ; \
39836 for flag in $(EXTRA_TARGET_FLAGS); do \
39837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39838 done; \
39839 (cd $(TARGET_SUBDIR)/libgo && \
39840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39842 "RANLIB=$${RANLIB}" \
39843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39844 maintainer-clean) \
39845 || exit 1
39847 @endif target-libgo
39853 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
39854 maybe-configure-target-libtermcap:
39855 @if gcc-bootstrap
39856 configure-target-libtermcap: stage_current
39857 @endif gcc-bootstrap
39858 @if target-libtermcap
39859 maybe-configure-target-libtermcap: configure-target-libtermcap
39860 configure-target-libtermcap:
39861 @: $(MAKE); $(unstage)
39862 @r=`${PWD_COMMAND}`; export r; \
39863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39864 echo "Checking multilib configuration for libtermcap..."; \
39865 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
39866 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libtermcap/multilib.tmp 2> /dev/null ; \
39867 if test -r $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
39868 if cmp -s $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
39869 rm -f $(TARGET_SUBDIR)/libtermcap/multilib.tmp; \
39870 else \
39871 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile; \
39872 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
39873 fi; \
39874 else \
39875 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
39876 fi; \
39877 test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
39878 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
39879 $(NORMAL_TARGET_EXPORTS) \
39880 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
39881 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
39882 case $(srcdir) in \
39883 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39884 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
39885 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39886 esac; \
39887 module_srcdir=libtermcap; \
39888 rm -f no-such-file || : ; \
39889 CONFIG_SITE=no-such-file $(SHELL) \
39890 $$s/$$module_srcdir/configure \
39891 --srcdir=$${topdir}/$$module_srcdir \
39892 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39893 --target=${target_alias} \
39894 || exit 1
39895 @endif target-libtermcap
39901 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
39902 maybe-all-target-libtermcap:
39903 @if gcc-bootstrap
39904 all-target-libtermcap: stage_current
39905 @endif gcc-bootstrap
39906 @if target-libtermcap
39907 TARGET-target-libtermcap=all
39908 maybe-all-target-libtermcap: all-target-libtermcap
39909 all-target-libtermcap: configure-target-libtermcap
39910 @: $(MAKE); $(unstage)
39911 @r=`${PWD_COMMAND}`; export r; \
39912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39913 $(NORMAL_TARGET_EXPORTS) \
39914 (cd $(TARGET_SUBDIR)/libtermcap && \
39915 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
39916 $(TARGET-target-libtermcap))
39917 @endif target-libtermcap
39923 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
39924 maybe-check-target-libtermcap:
39925 @if target-libtermcap
39926 maybe-check-target-libtermcap: check-target-libtermcap
39928 # Dummy target for uncheckable module.
39929 check-target-libtermcap:
39931 @endif target-libtermcap
39933 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
39934 maybe-install-target-libtermcap:
39935 @if target-libtermcap
39936 maybe-install-target-libtermcap: install-target-libtermcap
39938 install-target-libtermcap: installdirs
39939 @: $(MAKE); $(unstage)
39940 @r=`${PWD_COMMAND}`; export r; \
39941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39942 $(NORMAL_TARGET_EXPORTS) \
39943 (cd $(TARGET_SUBDIR)/libtermcap && \
39944 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
39946 @endif target-libtermcap
39948 .PHONY: install-strip-target-libtermcap maybe-install-strip-target-libtermcap
39949 maybe-install-strip-target-libtermcap:
39950 @if target-libtermcap
39951 maybe-install-strip-target-libtermcap: install-strip-target-libtermcap
39953 install-strip-target-libtermcap: installdirs
39954 @: $(MAKE); $(unstage)
39955 @r=`${PWD_COMMAND}`; export r; \
39956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39957 $(NORMAL_TARGET_EXPORTS) \
39958 (cd $(TARGET_SUBDIR)/libtermcap && \
39959 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
39961 @endif target-libtermcap
39963 # Other targets (info, dvi, pdf, etc.)
39965 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
39966 maybe-info-target-libtermcap:
39967 @if target-libtermcap
39968 maybe-info-target-libtermcap: info-target-libtermcap
39970 info-target-libtermcap: \
39971 configure-target-libtermcap
39972 @: $(MAKE); $(unstage)
39973 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
39974 r=`${PWD_COMMAND}`; export r; \
39975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39976 $(NORMAL_TARGET_EXPORTS) \
39977 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
39978 for flag in $(EXTRA_TARGET_FLAGS); do \
39979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39980 done; \
39981 (cd $(TARGET_SUBDIR)/libtermcap && \
39982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39984 "RANLIB=$${RANLIB}" \
39985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39986 info) \
39987 || exit 1
39989 @endif target-libtermcap
39991 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
39992 maybe-dvi-target-libtermcap:
39993 @if target-libtermcap
39994 maybe-dvi-target-libtermcap: dvi-target-libtermcap
39996 dvi-target-libtermcap: \
39997 configure-target-libtermcap
39998 @: $(MAKE); $(unstage)
39999 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
40000 r=`${PWD_COMMAND}`; export r; \
40001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40002 $(NORMAL_TARGET_EXPORTS) \
40003 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
40004 for flag in $(EXTRA_TARGET_FLAGS); do \
40005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40006 done; \
40007 (cd $(TARGET_SUBDIR)/libtermcap && \
40008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40010 "RANLIB=$${RANLIB}" \
40011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40012 dvi) \
40013 || exit 1
40015 @endif target-libtermcap
40017 .PHONY: maybe-pdf-target-libtermcap pdf-target-libtermcap
40018 maybe-pdf-target-libtermcap:
40019 @if target-libtermcap
40020 maybe-pdf-target-libtermcap: pdf-target-libtermcap
40022 pdf-target-libtermcap: \
40023 configure-target-libtermcap
40024 @: $(MAKE); $(unstage)
40025 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
40026 r=`${PWD_COMMAND}`; export r; \
40027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40028 $(NORMAL_TARGET_EXPORTS) \
40029 echo "Doing pdf in $(TARGET_SUBDIR)/libtermcap" ; \
40030 for flag in $(EXTRA_TARGET_FLAGS); do \
40031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40032 done; \
40033 (cd $(TARGET_SUBDIR)/libtermcap && \
40034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40036 "RANLIB=$${RANLIB}" \
40037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40038 pdf) \
40039 || exit 1
40041 @endif target-libtermcap
40043 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
40044 maybe-html-target-libtermcap:
40045 @if target-libtermcap
40046 maybe-html-target-libtermcap: html-target-libtermcap
40048 html-target-libtermcap: \
40049 configure-target-libtermcap
40050 @: $(MAKE); $(unstage)
40051 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
40052 r=`${PWD_COMMAND}`; export r; \
40053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40054 $(NORMAL_TARGET_EXPORTS) \
40055 echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \
40056 for flag in $(EXTRA_TARGET_FLAGS); do \
40057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40058 done; \
40059 (cd $(TARGET_SUBDIR)/libtermcap && \
40060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40062 "RANLIB=$${RANLIB}" \
40063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40064 html) \
40065 || exit 1
40067 @endif target-libtermcap
40069 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
40070 maybe-TAGS-target-libtermcap:
40071 @if target-libtermcap
40072 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
40074 TAGS-target-libtermcap: \
40075 configure-target-libtermcap
40076 @: $(MAKE); $(unstage)
40077 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
40078 r=`${PWD_COMMAND}`; export r; \
40079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40080 $(NORMAL_TARGET_EXPORTS) \
40081 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
40082 for flag in $(EXTRA_TARGET_FLAGS); do \
40083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40084 done; \
40085 (cd $(TARGET_SUBDIR)/libtermcap && \
40086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40088 "RANLIB=$${RANLIB}" \
40089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40090 TAGS) \
40091 || exit 1
40093 @endif target-libtermcap
40095 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
40096 maybe-install-info-target-libtermcap:
40097 @if target-libtermcap
40098 maybe-install-info-target-libtermcap: install-info-target-libtermcap
40100 install-info-target-libtermcap: \
40101 configure-target-libtermcap \
40102 info-target-libtermcap
40103 @: $(MAKE); $(unstage)
40104 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
40105 r=`${PWD_COMMAND}`; export r; \
40106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40107 $(NORMAL_TARGET_EXPORTS) \
40108 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
40109 for flag in $(EXTRA_TARGET_FLAGS); do \
40110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40111 done; \
40112 (cd $(TARGET_SUBDIR)/libtermcap && \
40113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40115 "RANLIB=$${RANLIB}" \
40116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40117 install-info) \
40118 || exit 1
40120 @endif target-libtermcap
40122 .PHONY: maybe-install-pdf-target-libtermcap install-pdf-target-libtermcap
40123 maybe-install-pdf-target-libtermcap:
40124 @if target-libtermcap
40125 maybe-install-pdf-target-libtermcap: install-pdf-target-libtermcap
40127 install-pdf-target-libtermcap: \
40128 configure-target-libtermcap \
40129 pdf-target-libtermcap
40130 @: $(MAKE); $(unstage)
40131 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
40132 r=`${PWD_COMMAND}`; export r; \
40133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40134 $(NORMAL_TARGET_EXPORTS) \
40135 echo "Doing install-pdf in $(TARGET_SUBDIR)/libtermcap" ; \
40136 for flag in $(EXTRA_TARGET_FLAGS); do \
40137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40138 done; \
40139 (cd $(TARGET_SUBDIR)/libtermcap && \
40140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40142 "RANLIB=$${RANLIB}" \
40143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40144 install-pdf) \
40145 || exit 1
40147 @endif target-libtermcap
40149 .PHONY: maybe-install-html-target-libtermcap install-html-target-libtermcap
40150 maybe-install-html-target-libtermcap:
40151 @if target-libtermcap
40152 maybe-install-html-target-libtermcap: install-html-target-libtermcap
40154 install-html-target-libtermcap: \
40155 configure-target-libtermcap \
40156 html-target-libtermcap
40157 @: $(MAKE); $(unstage)
40158 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
40159 r=`${PWD_COMMAND}`; export r; \
40160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40161 $(NORMAL_TARGET_EXPORTS) \
40162 echo "Doing install-html in $(TARGET_SUBDIR)/libtermcap" ; \
40163 for flag in $(EXTRA_TARGET_FLAGS); do \
40164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40165 done; \
40166 (cd $(TARGET_SUBDIR)/libtermcap && \
40167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40169 "RANLIB=$${RANLIB}" \
40170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40171 install-html) \
40172 || exit 1
40174 @endif target-libtermcap
40176 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
40177 maybe-installcheck-target-libtermcap:
40178 @if target-libtermcap
40179 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
40181 installcheck-target-libtermcap: \
40182 configure-target-libtermcap
40183 @: $(MAKE); $(unstage)
40184 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
40185 r=`${PWD_COMMAND}`; export r; \
40186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40187 $(NORMAL_TARGET_EXPORTS) \
40188 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
40189 for flag in $(EXTRA_TARGET_FLAGS); do \
40190 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40191 done; \
40192 (cd $(TARGET_SUBDIR)/libtermcap && \
40193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40195 "RANLIB=$${RANLIB}" \
40196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40197 installcheck) \
40198 || exit 1
40200 @endif target-libtermcap
40202 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
40203 maybe-mostlyclean-target-libtermcap:
40204 @if target-libtermcap
40205 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
40207 # libtermcap doesn't support mostlyclean.
40208 mostlyclean-target-libtermcap:
40210 @endif target-libtermcap
40212 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
40213 maybe-clean-target-libtermcap:
40214 @if target-libtermcap
40215 maybe-clean-target-libtermcap: clean-target-libtermcap
40217 # libtermcap doesn't support clean.
40218 clean-target-libtermcap:
40220 @endif target-libtermcap
40222 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
40223 maybe-distclean-target-libtermcap:
40224 @if target-libtermcap
40225 maybe-distclean-target-libtermcap: distclean-target-libtermcap
40227 # libtermcap doesn't support distclean.
40228 distclean-target-libtermcap:
40230 @endif target-libtermcap
40232 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
40233 maybe-maintainer-clean-target-libtermcap:
40234 @if target-libtermcap
40235 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
40237 # libtermcap doesn't support maintainer-clean.
40238 maintainer-clean-target-libtermcap:
40240 @endif target-libtermcap
40246 .PHONY: configure-target-winsup maybe-configure-target-winsup
40247 maybe-configure-target-winsup:
40248 @if gcc-bootstrap
40249 configure-target-winsup: stage_current
40250 @endif gcc-bootstrap
40251 @if target-winsup
40252 maybe-configure-target-winsup: configure-target-winsup
40253 configure-target-winsup:
40254 @: $(MAKE); $(unstage)
40255 @r=`${PWD_COMMAND}`; export r; \
40256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40257 echo "Checking multilib configuration for winsup..."; \
40258 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
40259 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/winsup/multilib.tmp 2> /dev/null ; \
40260 if test -r $(TARGET_SUBDIR)/winsup/multilib.out; then \
40261 if cmp -s $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; then \
40262 rm -f $(TARGET_SUBDIR)/winsup/multilib.tmp; \
40263 else \
40264 rm -f $(TARGET_SUBDIR)/winsup/Makefile; \
40265 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
40266 fi; \
40267 else \
40268 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
40269 fi; \
40270 test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
40271 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
40272 $(NORMAL_TARGET_EXPORTS) \
40273 echo Configuring in $(TARGET_SUBDIR)/winsup; \
40274 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
40275 case $(srcdir) in \
40276 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40277 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
40278 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40279 esac; \
40280 module_srcdir=winsup; \
40281 rm -f no-such-file || : ; \
40282 CONFIG_SITE=no-such-file $(SHELL) \
40283 $$s/$$module_srcdir/configure \
40284 --srcdir=$${topdir}/$$module_srcdir \
40285 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40286 --target=${target_alias} \
40287 || exit 1
40288 @endif target-winsup
40294 .PHONY: all-target-winsup maybe-all-target-winsup
40295 maybe-all-target-winsup:
40296 @if gcc-bootstrap
40297 all-target-winsup: stage_current
40298 @endif gcc-bootstrap
40299 @if target-winsup
40300 TARGET-target-winsup=all
40301 maybe-all-target-winsup: all-target-winsup
40302 all-target-winsup: configure-target-winsup
40303 @: $(MAKE); $(unstage)
40304 @r=`${PWD_COMMAND}`; export r; \
40305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40306 $(NORMAL_TARGET_EXPORTS) \
40307 (cd $(TARGET_SUBDIR)/winsup && \
40308 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
40309 $(TARGET-target-winsup))
40310 @endif target-winsup
40316 .PHONY: check-target-winsup maybe-check-target-winsup
40317 maybe-check-target-winsup:
40318 @if target-winsup
40319 maybe-check-target-winsup: check-target-winsup
40321 check-target-winsup:
40322 @: $(MAKE); $(unstage)
40323 @r=`${PWD_COMMAND}`; export r; \
40324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40325 $(NORMAL_TARGET_EXPORTS) \
40326 (cd $(TARGET_SUBDIR)/winsup && \
40327 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
40329 @endif target-winsup
40331 .PHONY: install-target-winsup maybe-install-target-winsup
40332 maybe-install-target-winsup:
40333 @if target-winsup
40334 maybe-install-target-winsup: install-target-winsup
40336 install-target-winsup: installdirs
40337 @: $(MAKE); $(unstage)
40338 @r=`${PWD_COMMAND}`; export r; \
40339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40340 $(NORMAL_TARGET_EXPORTS) \
40341 (cd $(TARGET_SUBDIR)/winsup && \
40342 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40344 @endif target-winsup
40346 .PHONY: install-strip-target-winsup maybe-install-strip-target-winsup
40347 maybe-install-strip-target-winsup:
40348 @if target-winsup
40349 maybe-install-strip-target-winsup: install-strip-target-winsup
40351 install-strip-target-winsup: installdirs
40352 @: $(MAKE); $(unstage)
40353 @r=`${PWD_COMMAND}`; export r; \
40354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40355 $(NORMAL_TARGET_EXPORTS) \
40356 (cd $(TARGET_SUBDIR)/winsup && \
40357 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
40359 @endif target-winsup
40361 # Other targets (info, dvi, pdf, etc.)
40363 .PHONY: maybe-info-target-winsup info-target-winsup
40364 maybe-info-target-winsup:
40365 @if target-winsup
40366 maybe-info-target-winsup: info-target-winsup
40368 info-target-winsup: \
40369 configure-target-winsup
40370 @: $(MAKE); $(unstage)
40371 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40372 r=`${PWD_COMMAND}`; export r; \
40373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40374 $(NORMAL_TARGET_EXPORTS) \
40375 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
40376 for flag in $(EXTRA_TARGET_FLAGS); do \
40377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40378 done; \
40379 (cd $(TARGET_SUBDIR)/winsup && \
40380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40382 "RANLIB=$${RANLIB}" \
40383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40384 info) \
40385 || exit 1
40387 @endif target-winsup
40389 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
40390 maybe-dvi-target-winsup:
40391 @if target-winsup
40392 maybe-dvi-target-winsup: dvi-target-winsup
40394 dvi-target-winsup: \
40395 configure-target-winsup
40396 @: $(MAKE); $(unstage)
40397 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40398 r=`${PWD_COMMAND}`; export r; \
40399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40400 $(NORMAL_TARGET_EXPORTS) \
40401 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
40402 for flag in $(EXTRA_TARGET_FLAGS); do \
40403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40404 done; \
40405 (cd $(TARGET_SUBDIR)/winsup && \
40406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40408 "RANLIB=$${RANLIB}" \
40409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40410 dvi) \
40411 || exit 1
40413 @endif target-winsup
40415 .PHONY: maybe-pdf-target-winsup pdf-target-winsup
40416 maybe-pdf-target-winsup:
40417 @if target-winsup
40418 maybe-pdf-target-winsup: pdf-target-winsup
40420 pdf-target-winsup: \
40421 configure-target-winsup
40422 @: $(MAKE); $(unstage)
40423 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40424 r=`${PWD_COMMAND}`; export r; \
40425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40426 $(NORMAL_TARGET_EXPORTS) \
40427 echo "Doing pdf in $(TARGET_SUBDIR)/winsup" ; \
40428 for flag in $(EXTRA_TARGET_FLAGS); do \
40429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40430 done; \
40431 (cd $(TARGET_SUBDIR)/winsup && \
40432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40434 "RANLIB=$${RANLIB}" \
40435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40436 pdf) \
40437 || exit 1
40439 @endif target-winsup
40441 .PHONY: maybe-html-target-winsup html-target-winsup
40442 maybe-html-target-winsup:
40443 @if target-winsup
40444 maybe-html-target-winsup: html-target-winsup
40446 html-target-winsup: \
40447 configure-target-winsup
40448 @: $(MAKE); $(unstage)
40449 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40450 r=`${PWD_COMMAND}`; export r; \
40451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40452 $(NORMAL_TARGET_EXPORTS) \
40453 echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \
40454 for flag in $(EXTRA_TARGET_FLAGS); do \
40455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40456 done; \
40457 (cd $(TARGET_SUBDIR)/winsup && \
40458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40460 "RANLIB=$${RANLIB}" \
40461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40462 html) \
40463 || exit 1
40465 @endif target-winsup
40467 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
40468 maybe-TAGS-target-winsup:
40469 @if target-winsup
40470 maybe-TAGS-target-winsup: TAGS-target-winsup
40472 TAGS-target-winsup: \
40473 configure-target-winsup
40474 @: $(MAKE); $(unstage)
40475 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40476 r=`${PWD_COMMAND}`; export r; \
40477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40478 $(NORMAL_TARGET_EXPORTS) \
40479 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
40480 for flag in $(EXTRA_TARGET_FLAGS); do \
40481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40482 done; \
40483 (cd $(TARGET_SUBDIR)/winsup && \
40484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40486 "RANLIB=$${RANLIB}" \
40487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40488 TAGS) \
40489 || exit 1
40491 @endif target-winsup
40493 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
40494 maybe-install-info-target-winsup:
40495 @if target-winsup
40496 maybe-install-info-target-winsup: install-info-target-winsup
40498 install-info-target-winsup: \
40499 configure-target-winsup \
40500 info-target-winsup
40501 @: $(MAKE); $(unstage)
40502 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40503 r=`${PWD_COMMAND}`; export r; \
40504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40505 $(NORMAL_TARGET_EXPORTS) \
40506 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
40507 for flag in $(EXTRA_TARGET_FLAGS); do \
40508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40509 done; \
40510 (cd $(TARGET_SUBDIR)/winsup && \
40511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40513 "RANLIB=$${RANLIB}" \
40514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40515 install-info) \
40516 || exit 1
40518 @endif target-winsup
40520 .PHONY: maybe-install-pdf-target-winsup install-pdf-target-winsup
40521 maybe-install-pdf-target-winsup:
40522 @if target-winsup
40523 maybe-install-pdf-target-winsup: install-pdf-target-winsup
40525 install-pdf-target-winsup: \
40526 configure-target-winsup \
40527 pdf-target-winsup
40528 @: $(MAKE); $(unstage)
40529 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40530 r=`${PWD_COMMAND}`; export r; \
40531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40532 $(NORMAL_TARGET_EXPORTS) \
40533 echo "Doing install-pdf in $(TARGET_SUBDIR)/winsup" ; \
40534 for flag in $(EXTRA_TARGET_FLAGS); do \
40535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40536 done; \
40537 (cd $(TARGET_SUBDIR)/winsup && \
40538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40540 "RANLIB=$${RANLIB}" \
40541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40542 install-pdf) \
40543 || exit 1
40545 @endif target-winsup
40547 .PHONY: maybe-install-html-target-winsup install-html-target-winsup
40548 maybe-install-html-target-winsup:
40549 @if target-winsup
40550 maybe-install-html-target-winsup: install-html-target-winsup
40552 install-html-target-winsup: \
40553 configure-target-winsup \
40554 html-target-winsup
40555 @: $(MAKE); $(unstage)
40556 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40557 r=`${PWD_COMMAND}`; export r; \
40558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40559 $(NORMAL_TARGET_EXPORTS) \
40560 echo "Doing install-html in $(TARGET_SUBDIR)/winsup" ; \
40561 for flag in $(EXTRA_TARGET_FLAGS); do \
40562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40563 done; \
40564 (cd $(TARGET_SUBDIR)/winsup && \
40565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40567 "RANLIB=$${RANLIB}" \
40568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40569 install-html) \
40570 || exit 1
40572 @endif target-winsup
40574 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
40575 maybe-installcheck-target-winsup:
40576 @if target-winsup
40577 maybe-installcheck-target-winsup: installcheck-target-winsup
40579 installcheck-target-winsup: \
40580 configure-target-winsup
40581 @: $(MAKE); $(unstage)
40582 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40583 r=`${PWD_COMMAND}`; export r; \
40584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40585 $(NORMAL_TARGET_EXPORTS) \
40586 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
40587 for flag in $(EXTRA_TARGET_FLAGS); do \
40588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40589 done; \
40590 (cd $(TARGET_SUBDIR)/winsup && \
40591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40593 "RANLIB=$${RANLIB}" \
40594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40595 installcheck) \
40596 || exit 1
40598 @endif target-winsup
40600 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
40601 maybe-mostlyclean-target-winsup:
40602 @if target-winsup
40603 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
40605 mostlyclean-target-winsup:
40606 @: $(MAKE); $(unstage)
40607 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40608 r=`${PWD_COMMAND}`; export r; \
40609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40610 $(NORMAL_TARGET_EXPORTS) \
40611 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
40612 for flag in $(EXTRA_TARGET_FLAGS); do \
40613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40614 done; \
40615 (cd $(TARGET_SUBDIR)/winsup && \
40616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40618 "RANLIB=$${RANLIB}" \
40619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40620 mostlyclean) \
40621 || exit 1
40623 @endif target-winsup
40625 .PHONY: maybe-clean-target-winsup clean-target-winsup
40626 maybe-clean-target-winsup:
40627 @if target-winsup
40628 maybe-clean-target-winsup: clean-target-winsup
40630 clean-target-winsup:
40631 @: $(MAKE); $(unstage)
40632 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40633 r=`${PWD_COMMAND}`; export r; \
40634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40635 $(NORMAL_TARGET_EXPORTS) \
40636 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
40637 for flag in $(EXTRA_TARGET_FLAGS); do \
40638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40639 done; \
40640 (cd $(TARGET_SUBDIR)/winsup && \
40641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40643 "RANLIB=$${RANLIB}" \
40644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40645 clean) \
40646 || exit 1
40648 @endif target-winsup
40650 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
40651 maybe-distclean-target-winsup:
40652 @if target-winsup
40653 maybe-distclean-target-winsup: distclean-target-winsup
40655 distclean-target-winsup:
40656 @: $(MAKE); $(unstage)
40657 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40658 r=`${PWD_COMMAND}`; export r; \
40659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40660 $(NORMAL_TARGET_EXPORTS) \
40661 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
40662 for flag in $(EXTRA_TARGET_FLAGS); do \
40663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40664 done; \
40665 (cd $(TARGET_SUBDIR)/winsup && \
40666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40668 "RANLIB=$${RANLIB}" \
40669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40670 distclean) \
40671 || exit 1
40673 @endif target-winsup
40675 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
40676 maybe-maintainer-clean-target-winsup:
40677 @if target-winsup
40678 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
40680 maintainer-clean-target-winsup:
40681 @: $(MAKE); $(unstage)
40682 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40683 r=`${PWD_COMMAND}`; export r; \
40684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40685 $(NORMAL_TARGET_EXPORTS) \
40686 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
40687 for flag in $(EXTRA_TARGET_FLAGS); do \
40688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40689 done; \
40690 (cd $(TARGET_SUBDIR)/winsup && \
40691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40693 "RANLIB=$${RANLIB}" \
40694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40695 maintainer-clean) \
40696 || exit 1
40698 @endif target-winsup
40704 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
40705 maybe-configure-target-libgloss:
40706 @if gcc-bootstrap
40707 configure-target-libgloss: stage_current
40708 @endif gcc-bootstrap
40709 @if target-libgloss
40710 maybe-configure-target-libgloss: configure-target-libgloss
40711 configure-target-libgloss:
40712 @: $(MAKE); $(unstage)
40713 @r=`${PWD_COMMAND}`; export r; \
40714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40715 echo "Checking multilib configuration for libgloss..."; \
40716 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
40717 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgloss/multilib.tmp 2> /dev/null ; \
40718 if test -r $(TARGET_SUBDIR)/libgloss/multilib.out; then \
40719 if cmp -s $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; then \
40720 rm -f $(TARGET_SUBDIR)/libgloss/multilib.tmp; \
40721 else \
40722 rm -f $(TARGET_SUBDIR)/libgloss/Makefile; \
40723 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
40724 fi; \
40725 else \
40726 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
40727 fi; \
40728 test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
40729 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
40730 $(NORMAL_TARGET_EXPORTS) \
40731 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
40732 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
40733 case $(srcdir) in \
40734 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40735 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
40736 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40737 esac; \
40738 module_srcdir=libgloss; \
40739 rm -f no-such-file || : ; \
40740 CONFIG_SITE=no-such-file $(SHELL) \
40741 $$s/$$module_srcdir/configure \
40742 --srcdir=$${topdir}/$$module_srcdir \
40743 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40744 --target=${target_alias} \
40745 || exit 1
40746 @endif target-libgloss
40752 .PHONY: all-target-libgloss maybe-all-target-libgloss
40753 maybe-all-target-libgloss:
40754 @if gcc-bootstrap
40755 all-target-libgloss: stage_current
40756 @endif gcc-bootstrap
40757 @if target-libgloss
40758 TARGET-target-libgloss=all
40759 maybe-all-target-libgloss: all-target-libgloss
40760 all-target-libgloss: configure-target-libgloss
40761 @: $(MAKE); $(unstage)
40762 @r=`${PWD_COMMAND}`; export r; \
40763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40764 $(NORMAL_TARGET_EXPORTS) \
40765 (cd $(TARGET_SUBDIR)/libgloss && \
40766 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
40767 $(TARGET-target-libgloss))
40768 @endif target-libgloss
40774 .PHONY: check-target-libgloss maybe-check-target-libgloss
40775 maybe-check-target-libgloss:
40776 @if target-libgloss
40777 maybe-check-target-libgloss: check-target-libgloss
40779 # Dummy target for uncheckable module.
40780 check-target-libgloss:
40782 @endif target-libgloss
40784 .PHONY: install-target-libgloss maybe-install-target-libgloss
40785 maybe-install-target-libgloss:
40786 @if target-libgloss
40787 maybe-install-target-libgloss: install-target-libgloss
40789 install-target-libgloss: installdirs
40790 @: $(MAKE); $(unstage)
40791 @r=`${PWD_COMMAND}`; export r; \
40792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40793 $(NORMAL_TARGET_EXPORTS) \
40794 (cd $(TARGET_SUBDIR)/libgloss && \
40795 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40797 @endif target-libgloss
40799 .PHONY: install-strip-target-libgloss maybe-install-strip-target-libgloss
40800 maybe-install-strip-target-libgloss:
40801 @if target-libgloss
40802 maybe-install-strip-target-libgloss: install-strip-target-libgloss
40804 install-strip-target-libgloss: installdirs
40805 @: $(MAKE); $(unstage)
40806 @r=`${PWD_COMMAND}`; export r; \
40807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40808 $(NORMAL_TARGET_EXPORTS) \
40809 (cd $(TARGET_SUBDIR)/libgloss && \
40810 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
40812 @endif target-libgloss
40814 # Other targets (info, dvi, pdf, etc.)
40816 .PHONY: maybe-info-target-libgloss info-target-libgloss
40817 maybe-info-target-libgloss:
40818 @if target-libgloss
40819 maybe-info-target-libgloss: info-target-libgloss
40821 info-target-libgloss: \
40822 configure-target-libgloss
40823 @: $(MAKE); $(unstage)
40824 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
40825 r=`${PWD_COMMAND}`; export r; \
40826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40827 $(NORMAL_TARGET_EXPORTS) \
40828 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
40829 for flag in $(EXTRA_TARGET_FLAGS); do \
40830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40831 done; \
40832 (cd $(TARGET_SUBDIR)/libgloss && \
40833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40835 "RANLIB=$${RANLIB}" \
40836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40837 info) \
40838 || exit 1
40840 @endif target-libgloss
40842 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
40843 maybe-dvi-target-libgloss:
40844 @if target-libgloss
40845 maybe-dvi-target-libgloss: dvi-target-libgloss
40847 dvi-target-libgloss: \
40848 configure-target-libgloss
40849 @: $(MAKE); $(unstage)
40850 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
40851 r=`${PWD_COMMAND}`; export r; \
40852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40853 $(NORMAL_TARGET_EXPORTS) \
40854 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
40855 for flag in $(EXTRA_TARGET_FLAGS); do \
40856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40857 done; \
40858 (cd $(TARGET_SUBDIR)/libgloss && \
40859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40861 "RANLIB=$${RANLIB}" \
40862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40863 dvi) \
40864 || exit 1
40866 @endif target-libgloss
40868 .PHONY: maybe-pdf-target-libgloss pdf-target-libgloss
40869 maybe-pdf-target-libgloss:
40870 @if target-libgloss
40871 maybe-pdf-target-libgloss: pdf-target-libgloss
40873 pdf-target-libgloss: \
40874 configure-target-libgloss
40875 @: $(MAKE); $(unstage)
40876 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
40877 r=`${PWD_COMMAND}`; export r; \
40878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40879 $(NORMAL_TARGET_EXPORTS) \
40880 echo "Doing pdf in $(TARGET_SUBDIR)/libgloss" ; \
40881 for flag in $(EXTRA_TARGET_FLAGS); do \
40882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40883 done; \
40884 (cd $(TARGET_SUBDIR)/libgloss && \
40885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40887 "RANLIB=$${RANLIB}" \
40888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40889 pdf) \
40890 || exit 1
40892 @endif target-libgloss
40894 .PHONY: maybe-html-target-libgloss html-target-libgloss
40895 maybe-html-target-libgloss:
40896 @if target-libgloss
40897 maybe-html-target-libgloss: html-target-libgloss
40899 html-target-libgloss: \
40900 configure-target-libgloss
40901 @: $(MAKE); $(unstage)
40902 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
40903 r=`${PWD_COMMAND}`; export r; \
40904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40905 $(NORMAL_TARGET_EXPORTS) \
40906 echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \
40907 for flag in $(EXTRA_TARGET_FLAGS); do \
40908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40909 done; \
40910 (cd $(TARGET_SUBDIR)/libgloss && \
40911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40913 "RANLIB=$${RANLIB}" \
40914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40915 html) \
40916 || exit 1
40918 @endif target-libgloss
40920 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
40921 maybe-TAGS-target-libgloss:
40922 @if target-libgloss
40923 maybe-TAGS-target-libgloss: TAGS-target-libgloss
40925 TAGS-target-libgloss: \
40926 configure-target-libgloss
40927 @: $(MAKE); $(unstage)
40928 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
40929 r=`${PWD_COMMAND}`; export r; \
40930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40931 $(NORMAL_TARGET_EXPORTS) \
40932 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
40933 for flag in $(EXTRA_TARGET_FLAGS); do \
40934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40935 done; \
40936 (cd $(TARGET_SUBDIR)/libgloss && \
40937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40939 "RANLIB=$${RANLIB}" \
40940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40941 TAGS) \
40942 || exit 1
40944 @endif target-libgloss
40946 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
40947 maybe-install-info-target-libgloss:
40948 @if target-libgloss
40949 maybe-install-info-target-libgloss: install-info-target-libgloss
40951 install-info-target-libgloss: \
40952 configure-target-libgloss \
40953 info-target-libgloss
40954 @: $(MAKE); $(unstage)
40955 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
40956 r=`${PWD_COMMAND}`; export r; \
40957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40958 $(NORMAL_TARGET_EXPORTS) \
40959 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
40960 for flag in $(EXTRA_TARGET_FLAGS); do \
40961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40962 done; \
40963 (cd $(TARGET_SUBDIR)/libgloss && \
40964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40966 "RANLIB=$${RANLIB}" \
40967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40968 install-info) \
40969 || exit 1
40971 @endif target-libgloss
40973 .PHONY: maybe-install-pdf-target-libgloss install-pdf-target-libgloss
40974 maybe-install-pdf-target-libgloss:
40975 @if target-libgloss
40976 maybe-install-pdf-target-libgloss: install-pdf-target-libgloss
40978 install-pdf-target-libgloss: \
40979 configure-target-libgloss \
40980 pdf-target-libgloss
40981 @: $(MAKE); $(unstage)
40982 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
40983 r=`${PWD_COMMAND}`; export r; \
40984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40985 $(NORMAL_TARGET_EXPORTS) \
40986 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgloss" ; \
40987 for flag in $(EXTRA_TARGET_FLAGS); do \
40988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40989 done; \
40990 (cd $(TARGET_SUBDIR)/libgloss && \
40991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40993 "RANLIB=$${RANLIB}" \
40994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40995 install-pdf) \
40996 || exit 1
40998 @endif target-libgloss
41000 .PHONY: maybe-install-html-target-libgloss install-html-target-libgloss
41001 maybe-install-html-target-libgloss:
41002 @if target-libgloss
41003 maybe-install-html-target-libgloss: install-html-target-libgloss
41005 install-html-target-libgloss: \
41006 configure-target-libgloss \
41007 html-target-libgloss
41008 @: $(MAKE); $(unstage)
41009 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
41010 r=`${PWD_COMMAND}`; export r; \
41011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41012 $(NORMAL_TARGET_EXPORTS) \
41013 echo "Doing install-html in $(TARGET_SUBDIR)/libgloss" ; \
41014 for flag in $(EXTRA_TARGET_FLAGS); do \
41015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41016 done; \
41017 (cd $(TARGET_SUBDIR)/libgloss && \
41018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41020 "RANLIB=$${RANLIB}" \
41021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41022 install-html) \
41023 || exit 1
41025 @endif target-libgloss
41027 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
41028 maybe-installcheck-target-libgloss:
41029 @if target-libgloss
41030 maybe-installcheck-target-libgloss: installcheck-target-libgloss
41032 installcheck-target-libgloss: \
41033 configure-target-libgloss
41034 @: $(MAKE); $(unstage)
41035 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
41036 r=`${PWD_COMMAND}`; export r; \
41037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41038 $(NORMAL_TARGET_EXPORTS) \
41039 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
41040 for flag in $(EXTRA_TARGET_FLAGS); do \
41041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41042 done; \
41043 (cd $(TARGET_SUBDIR)/libgloss && \
41044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41046 "RANLIB=$${RANLIB}" \
41047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41048 installcheck) \
41049 || exit 1
41051 @endif target-libgloss
41053 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
41054 maybe-mostlyclean-target-libgloss:
41055 @if target-libgloss
41056 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
41058 mostlyclean-target-libgloss:
41059 @: $(MAKE); $(unstage)
41060 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
41061 r=`${PWD_COMMAND}`; export r; \
41062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41063 $(NORMAL_TARGET_EXPORTS) \
41064 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
41065 for flag in $(EXTRA_TARGET_FLAGS); do \
41066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41067 done; \
41068 (cd $(TARGET_SUBDIR)/libgloss && \
41069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41071 "RANLIB=$${RANLIB}" \
41072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41073 mostlyclean) \
41074 || exit 1
41076 @endif target-libgloss
41078 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
41079 maybe-clean-target-libgloss:
41080 @if target-libgloss
41081 maybe-clean-target-libgloss: clean-target-libgloss
41083 clean-target-libgloss:
41084 @: $(MAKE); $(unstage)
41085 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
41086 r=`${PWD_COMMAND}`; export r; \
41087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41088 $(NORMAL_TARGET_EXPORTS) \
41089 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
41090 for flag in $(EXTRA_TARGET_FLAGS); do \
41091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41092 done; \
41093 (cd $(TARGET_SUBDIR)/libgloss && \
41094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41096 "RANLIB=$${RANLIB}" \
41097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41098 clean) \
41099 || exit 1
41101 @endif target-libgloss
41103 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
41104 maybe-distclean-target-libgloss:
41105 @if target-libgloss
41106 maybe-distclean-target-libgloss: distclean-target-libgloss
41108 distclean-target-libgloss:
41109 @: $(MAKE); $(unstage)
41110 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
41111 r=`${PWD_COMMAND}`; export r; \
41112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41113 $(NORMAL_TARGET_EXPORTS) \
41114 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
41115 for flag in $(EXTRA_TARGET_FLAGS); do \
41116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41117 done; \
41118 (cd $(TARGET_SUBDIR)/libgloss && \
41119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41121 "RANLIB=$${RANLIB}" \
41122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41123 distclean) \
41124 || exit 1
41126 @endif target-libgloss
41128 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
41129 maybe-maintainer-clean-target-libgloss:
41130 @if target-libgloss
41131 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
41133 maintainer-clean-target-libgloss:
41134 @: $(MAKE); $(unstage)
41135 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
41136 r=`${PWD_COMMAND}`; export r; \
41137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41138 $(NORMAL_TARGET_EXPORTS) \
41139 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
41140 for flag in $(EXTRA_TARGET_FLAGS); do \
41141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41142 done; \
41143 (cd $(TARGET_SUBDIR)/libgloss && \
41144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41146 "RANLIB=$${RANLIB}" \
41147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41148 maintainer-clean) \
41149 || exit 1
41151 @endif target-libgloss
41157 .PHONY: configure-target-libffi maybe-configure-target-libffi
41158 maybe-configure-target-libffi:
41159 @if gcc-bootstrap
41160 configure-target-libffi: stage_current
41161 @endif gcc-bootstrap
41162 @if target-libffi
41163 maybe-configure-target-libffi: configure-target-libffi
41164 configure-target-libffi:
41165 @: $(MAKE); $(unstage)
41166 @r=`${PWD_COMMAND}`; export r; \
41167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41168 echo "Checking multilib configuration for libffi..."; \
41169 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
41170 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libffi/multilib.tmp 2> /dev/null ; \
41171 if test -r $(TARGET_SUBDIR)/libffi/multilib.out; then \
41172 if cmp -s $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; then \
41173 rm -f $(TARGET_SUBDIR)/libffi/multilib.tmp; \
41174 else \
41175 rm -f $(TARGET_SUBDIR)/libffi/Makefile; \
41176 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
41177 fi; \
41178 else \
41179 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
41180 fi; \
41181 test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
41182 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
41183 $(NORMAL_TARGET_EXPORTS) \
41184 echo Configuring in $(TARGET_SUBDIR)/libffi; \
41185 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
41186 case $(srcdir) in \
41187 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41188 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
41189 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41190 esac; \
41191 module_srcdir=libffi; \
41192 rm -f no-such-file || : ; \
41193 CONFIG_SITE=no-such-file $(SHELL) \
41194 $$s/$$module_srcdir/configure \
41195 --srcdir=$${topdir}/$$module_srcdir \
41196 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41197 --target=${target_alias} \
41198 || exit 1
41199 @endif target-libffi
41205 .PHONY: all-target-libffi maybe-all-target-libffi
41206 maybe-all-target-libffi:
41207 @if gcc-bootstrap
41208 all-target-libffi: stage_current
41209 @endif gcc-bootstrap
41210 @if target-libffi
41211 TARGET-target-libffi=all
41212 maybe-all-target-libffi: all-target-libffi
41213 all-target-libffi: configure-target-libffi
41214 @: $(MAKE); $(unstage)
41215 @r=`${PWD_COMMAND}`; export r; \
41216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41217 $(NORMAL_TARGET_EXPORTS) \
41218 (cd $(TARGET_SUBDIR)/libffi && \
41219 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
41220 $(TARGET-target-libffi))
41221 @endif target-libffi
41227 .PHONY: check-target-libffi maybe-check-target-libffi
41228 maybe-check-target-libffi:
41229 @if target-libffi
41230 maybe-check-target-libffi: check-target-libffi
41232 check-target-libffi:
41233 @: $(MAKE); $(unstage)
41234 @r=`${PWD_COMMAND}`; export r; \
41235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41236 $(NORMAL_TARGET_EXPORTS) \
41237 (cd $(TARGET_SUBDIR)/libffi && \
41238 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
41240 @endif target-libffi
41242 .PHONY: install-target-libffi maybe-install-target-libffi
41243 maybe-install-target-libffi:
41244 @if target-libffi
41245 maybe-install-target-libffi: install-target-libffi
41247 # Dummy target for uninstallable.
41248 install-target-libffi:
41250 @endif target-libffi
41252 .PHONY: install-strip-target-libffi maybe-install-strip-target-libffi
41253 maybe-install-strip-target-libffi:
41254 @if target-libffi
41255 maybe-install-strip-target-libffi: install-strip-target-libffi
41257 # Dummy target for uninstallable.
41258 install-strip-target-libffi:
41260 @endif target-libffi
41262 # Other targets (info, dvi, pdf, etc.)
41264 .PHONY: maybe-info-target-libffi info-target-libffi
41265 maybe-info-target-libffi:
41266 @if target-libffi
41267 maybe-info-target-libffi: info-target-libffi
41269 info-target-libffi: \
41270 configure-target-libffi
41271 @: $(MAKE); $(unstage)
41272 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41273 r=`${PWD_COMMAND}`; export r; \
41274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41275 $(NORMAL_TARGET_EXPORTS) \
41276 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
41277 for flag in $(EXTRA_TARGET_FLAGS); do \
41278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41279 done; \
41280 (cd $(TARGET_SUBDIR)/libffi && \
41281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41283 "RANLIB=$${RANLIB}" \
41284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41285 info) \
41286 || exit 1
41288 @endif target-libffi
41290 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
41291 maybe-dvi-target-libffi:
41292 @if target-libffi
41293 maybe-dvi-target-libffi: dvi-target-libffi
41295 dvi-target-libffi: \
41296 configure-target-libffi
41297 @: $(MAKE); $(unstage)
41298 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41299 r=`${PWD_COMMAND}`; export r; \
41300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41301 $(NORMAL_TARGET_EXPORTS) \
41302 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
41303 for flag in $(EXTRA_TARGET_FLAGS); do \
41304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41305 done; \
41306 (cd $(TARGET_SUBDIR)/libffi && \
41307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41309 "RANLIB=$${RANLIB}" \
41310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41311 dvi) \
41312 || exit 1
41314 @endif target-libffi
41316 .PHONY: maybe-pdf-target-libffi pdf-target-libffi
41317 maybe-pdf-target-libffi:
41318 @if target-libffi
41319 maybe-pdf-target-libffi: pdf-target-libffi
41321 pdf-target-libffi: \
41322 configure-target-libffi
41323 @: $(MAKE); $(unstage)
41324 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41325 r=`${PWD_COMMAND}`; export r; \
41326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41327 $(NORMAL_TARGET_EXPORTS) \
41328 echo "Doing pdf in $(TARGET_SUBDIR)/libffi" ; \
41329 for flag in $(EXTRA_TARGET_FLAGS); do \
41330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41331 done; \
41332 (cd $(TARGET_SUBDIR)/libffi && \
41333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41335 "RANLIB=$${RANLIB}" \
41336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41337 pdf) \
41338 || exit 1
41340 @endif target-libffi
41342 .PHONY: maybe-html-target-libffi html-target-libffi
41343 maybe-html-target-libffi:
41344 @if target-libffi
41345 maybe-html-target-libffi: html-target-libffi
41347 html-target-libffi: \
41348 configure-target-libffi
41349 @: $(MAKE); $(unstage)
41350 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41351 r=`${PWD_COMMAND}`; export r; \
41352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41353 $(NORMAL_TARGET_EXPORTS) \
41354 echo "Doing html in $(TARGET_SUBDIR)/libffi" ; \
41355 for flag in $(EXTRA_TARGET_FLAGS); do \
41356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41357 done; \
41358 (cd $(TARGET_SUBDIR)/libffi && \
41359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41361 "RANLIB=$${RANLIB}" \
41362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41363 html) \
41364 || exit 1
41366 @endif target-libffi
41368 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
41369 maybe-TAGS-target-libffi:
41370 @if target-libffi
41371 maybe-TAGS-target-libffi: TAGS-target-libffi
41373 TAGS-target-libffi: \
41374 configure-target-libffi
41375 @: $(MAKE); $(unstage)
41376 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41377 r=`${PWD_COMMAND}`; export r; \
41378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41379 $(NORMAL_TARGET_EXPORTS) \
41380 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
41381 for flag in $(EXTRA_TARGET_FLAGS); do \
41382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41383 done; \
41384 (cd $(TARGET_SUBDIR)/libffi && \
41385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41387 "RANLIB=$${RANLIB}" \
41388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41389 TAGS) \
41390 || exit 1
41392 @endif target-libffi
41394 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
41395 maybe-install-info-target-libffi:
41396 @if target-libffi
41397 maybe-install-info-target-libffi: install-info-target-libffi
41399 install-info-target-libffi: \
41400 configure-target-libffi \
41401 info-target-libffi
41402 @: $(MAKE); $(unstage)
41403 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41404 r=`${PWD_COMMAND}`; export r; \
41405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41406 $(NORMAL_TARGET_EXPORTS) \
41407 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
41408 for flag in $(EXTRA_TARGET_FLAGS); do \
41409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41410 done; \
41411 (cd $(TARGET_SUBDIR)/libffi && \
41412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41414 "RANLIB=$${RANLIB}" \
41415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41416 install-info) \
41417 || exit 1
41419 @endif target-libffi
41421 .PHONY: maybe-install-pdf-target-libffi install-pdf-target-libffi
41422 maybe-install-pdf-target-libffi:
41423 @if target-libffi
41424 maybe-install-pdf-target-libffi: install-pdf-target-libffi
41426 install-pdf-target-libffi: \
41427 configure-target-libffi \
41428 pdf-target-libffi
41429 @: $(MAKE); $(unstage)
41430 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41431 r=`${PWD_COMMAND}`; export r; \
41432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41433 $(NORMAL_TARGET_EXPORTS) \
41434 echo "Doing install-pdf in $(TARGET_SUBDIR)/libffi" ; \
41435 for flag in $(EXTRA_TARGET_FLAGS); do \
41436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41437 done; \
41438 (cd $(TARGET_SUBDIR)/libffi && \
41439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41441 "RANLIB=$${RANLIB}" \
41442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41443 install-pdf) \
41444 || exit 1
41446 @endif target-libffi
41448 .PHONY: maybe-install-html-target-libffi install-html-target-libffi
41449 maybe-install-html-target-libffi:
41450 @if target-libffi
41451 maybe-install-html-target-libffi: install-html-target-libffi
41453 install-html-target-libffi: \
41454 configure-target-libffi \
41455 html-target-libffi
41456 @: $(MAKE); $(unstage)
41457 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41458 r=`${PWD_COMMAND}`; export r; \
41459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41460 $(NORMAL_TARGET_EXPORTS) \
41461 echo "Doing install-html in $(TARGET_SUBDIR)/libffi" ; \
41462 for flag in $(EXTRA_TARGET_FLAGS); do \
41463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41464 done; \
41465 (cd $(TARGET_SUBDIR)/libffi && \
41466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41468 "RANLIB=$${RANLIB}" \
41469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41470 install-html) \
41471 || exit 1
41473 @endif target-libffi
41475 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
41476 maybe-installcheck-target-libffi:
41477 @if target-libffi
41478 maybe-installcheck-target-libffi: installcheck-target-libffi
41480 installcheck-target-libffi: \
41481 configure-target-libffi
41482 @: $(MAKE); $(unstage)
41483 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41484 r=`${PWD_COMMAND}`; export r; \
41485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41486 $(NORMAL_TARGET_EXPORTS) \
41487 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
41488 for flag in $(EXTRA_TARGET_FLAGS); do \
41489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41490 done; \
41491 (cd $(TARGET_SUBDIR)/libffi && \
41492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41494 "RANLIB=$${RANLIB}" \
41495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41496 installcheck) \
41497 || exit 1
41499 @endif target-libffi
41501 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
41502 maybe-mostlyclean-target-libffi:
41503 @if target-libffi
41504 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
41506 mostlyclean-target-libffi:
41507 @: $(MAKE); $(unstage)
41508 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41509 r=`${PWD_COMMAND}`; export r; \
41510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41511 $(NORMAL_TARGET_EXPORTS) \
41512 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
41513 for flag in $(EXTRA_TARGET_FLAGS); do \
41514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41515 done; \
41516 (cd $(TARGET_SUBDIR)/libffi && \
41517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41519 "RANLIB=$${RANLIB}" \
41520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41521 mostlyclean) \
41522 || exit 1
41524 @endif target-libffi
41526 .PHONY: maybe-clean-target-libffi clean-target-libffi
41527 maybe-clean-target-libffi:
41528 @if target-libffi
41529 maybe-clean-target-libffi: clean-target-libffi
41531 clean-target-libffi:
41532 @: $(MAKE); $(unstage)
41533 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41534 r=`${PWD_COMMAND}`; export r; \
41535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41536 $(NORMAL_TARGET_EXPORTS) \
41537 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
41538 for flag in $(EXTRA_TARGET_FLAGS); do \
41539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41540 done; \
41541 (cd $(TARGET_SUBDIR)/libffi && \
41542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41544 "RANLIB=$${RANLIB}" \
41545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41546 clean) \
41547 || exit 1
41549 @endif target-libffi
41551 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
41552 maybe-distclean-target-libffi:
41553 @if target-libffi
41554 maybe-distclean-target-libffi: distclean-target-libffi
41556 distclean-target-libffi:
41557 @: $(MAKE); $(unstage)
41558 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41559 r=`${PWD_COMMAND}`; export r; \
41560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41561 $(NORMAL_TARGET_EXPORTS) \
41562 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
41563 for flag in $(EXTRA_TARGET_FLAGS); do \
41564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41565 done; \
41566 (cd $(TARGET_SUBDIR)/libffi && \
41567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41569 "RANLIB=$${RANLIB}" \
41570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41571 distclean) \
41572 || exit 1
41574 @endif target-libffi
41576 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
41577 maybe-maintainer-clean-target-libffi:
41578 @if target-libffi
41579 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
41581 maintainer-clean-target-libffi:
41582 @: $(MAKE); $(unstage)
41583 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41584 r=`${PWD_COMMAND}`; export r; \
41585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41586 $(NORMAL_TARGET_EXPORTS) \
41587 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
41588 for flag in $(EXTRA_TARGET_FLAGS); do \
41589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41590 done; \
41591 (cd $(TARGET_SUBDIR)/libffi && \
41592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41594 "RANLIB=$${RANLIB}" \
41595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41596 maintainer-clean) \
41597 || exit 1
41599 @endif target-libffi
41605 .PHONY: configure-target-libjava maybe-configure-target-libjava
41606 maybe-configure-target-libjava:
41607 @if gcc-bootstrap
41608 configure-target-libjava: stage_current
41609 @endif gcc-bootstrap
41610 @if target-libjava
41611 maybe-configure-target-libjava: configure-target-libjava
41612 configure-target-libjava:
41613 @: $(MAKE); $(unstage)
41614 @r=`${PWD_COMMAND}`; export r; \
41615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41616 echo "Checking multilib configuration for libjava..."; \
41617 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
41618 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libjava/multilib.tmp 2> /dev/null ; \
41619 if test -r $(TARGET_SUBDIR)/libjava/multilib.out; then \
41620 if cmp -s $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; then \
41621 rm -f $(TARGET_SUBDIR)/libjava/multilib.tmp; \
41622 else \
41623 rm -f $(TARGET_SUBDIR)/libjava/Makefile; \
41624 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
41625 fi; \
41626 else \
41627 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
41628 fi; \
41629 test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
41630 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
41631 $(RAW_CXX_TARGET_EXPORTS) \
41632 echo Configuring in $(TARGET_SUBDIR)/libjava; \
41633 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
41634 case $(srcdir) in \
41635 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41636 *) topdir=`echo $(TARGET_SUBDIR)/libjava/ | \
41637 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41638 esac; \
41639 module_srcdir=libjava; \
41640 rm -f no-such-file || : ; \
41641 CONFIG_SITE=no-such-file $(SHELL) \
41642 $$s/$$module_srcdir/configure \
41643 --srcdir=$${topdir}/$$module_srcdir \
41644 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41645 --target=${target_alias} $(EXTRA_CONFIGARGS_LIBJAVA) \
41646 || exit 1
41647 @endif target-libjava
41653 .PHONY: all-target-libjava maybe-all-target-libjava
41654 maybe-all-target-libjava:
41655 @if gcc-bootstrap
41656 all-target-libjava: stage_current
41657 @endif gcc-bootstrap
41658 @if target-libjava
41659 TARGET-target-libjava=all
41660 maybe-all-target-libjava: all-target-libjava
41661 all-target-libjava: configure-target-libjava
41662 @: $(MAKE); $(unstage)
41663 @r=`${PWD_COMMAND}`; export r; \
41664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41665 $(RAW_CXX_TARGET_EXPORTS) \
41666 (cd $(TARGET_SUBDIR)/libjava && \
41667 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
41668 $(TARGET-target-libjava))
41669 @endif target-libjava
41675 .PHONY: check-target-libjava maybe-check-target-libjava
41676 maybe-check-target-libjava:
41677 @if target-libjava
41678 maybe-check-target-libjava: check-target-libjava
41680 check-target-libjava:
41681 @: $(MAKE); $(unstage)
41682 @r=`${PWD_COMMAND}`; export r; \
41683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41684 $(RAW_CXX_TARGET_EXPORTS) \
41685 (cd $(TARGET_SUBDIR)/libjava && \
41686 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
41688 @endif target-libjava
41690 .PHONY: install-target-libjava maybe-install-target-libjava
41691 maybe-install-target-libjava:
41692 @if target-libjava
41693 maybe-install-target-libjava: install-target-libjava
41695 install-target-libjava: installdirs
41696 @: $(MAKE); $(unstage)
41697 @r=`${PWD_COMMAND}`; export r; \
41698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41699 $(RAW_CXX_TARGET_EXPORTS) \
41700 (cd $(TARGET_SUBDIR)/libjava && \
41701 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
41703 @endif target-libjava
41705 .PHONY: install-strip-target-libjava maybe-install-strip-target-libjava
41706 maybe-install-strip-target-libjava:
41707 @if target-libjava
41708 maybe-install-strip-target-libjava: install-strip-target-libjava
41710 install-strip-target-libjava: installdirs
41711 @: $(MAKE); $(unstage)
41712 @r=`${PWD_COMMAND}`; export r; \
41713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41714 $(RAW_CXX_TARGET_EXPORTS) \
41715 (cd $(TARGET_SUBDIR)/libjava && \
41716 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
41718 @endif target-libjava
41720 # Other targets (info, dvi, pdf, etc.)
41722 .PHONY: maybe-info-target-libjava info-target-libjava
41723 maybe-info-target-libjava:
41724 @if target-libjava
41725 maybe-info-target-libjava: info-target-libjava
41727 info-target-libjava: \
41728 configure-target-libjava
41729 @: $(MAKE); $(unstage)
41730 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41731 r=`${PWD_COMMAND}`; export r; \
41732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41733 $(RAW_CXX_TARGET_EXPORTS) \
41734 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
41735 for flag in $(EXTRA_TARGET_FLAGS); do \
41736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41737 done; \
41738 (cd $(TARGET_SUBDIR)/libjava && \
41739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41741 "RANLIB=$${RANLIB}" \
41742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41743 info) \
41744 || exit 1
41746 @endif target-libjava
41748 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
41749 maybe-dvi-target-libjava:
41750 @if target-libjava
41751 maybe-dvi-target-libjava: dvi-target-libjava
41753 dvi-target-libjava: \
41754 configure-target-libjava
41755 @: $(MAKE); $(unstage)
41756 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41757 r=`${PWD_COMMAND}`; export r; \
41758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41759 $(RAW_CXX_TARGET_EXPORTS) \
41760 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
41761 for flag in $(EXTRA_TARGET_FLAGS); do \
41762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41763 done; \
41764 (cd $(TARGET_SUBDIR)/libjava && \
41765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41767 "RANLIB=$${RANLIB}" \
41768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41769 dvi) \
41770 || exit 1
41772 @endif target-libjava
41774 .PHONY: maybe-pdf-target-libjava pdf-target-libjava
41775 maybe-pdf-target-libjava:
41776 @if target-libjava
41777 maybe-pdf-target-libjava: pdf-target-libjava
41779 pdf-target-libjava: \
41780 configure-target-libjava
41781 @: $(MAKE); $(unstage)
41782 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41783 r=`${PWD_COMMAND}`; export r; \
41784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41785 $(RAW_CXX_TARGET_EXPORTS) \
41786 echo "Doing pdf in $(TARGET_SUBDIR)/libjava" ; \
41787 for flag in $(EXTRA_TARGET_FLAGS); do \
41788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41789 done; \
41790 (cd $(TARGET_SUBDIR)/libjava && \
41791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41793 "RANLIB=$${RANLIB}" \
41794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41795 pdf) \
41796 || exit 1
41798 @endif target-libjava
41800 .PHONY: maybe-html-target-libjava html-target-libjava
41801 maybe-html-target-libjava:
41802 @if target-libjava
41803 maybe-html-target-libjava: html-target-libjava
41805 html-target-libjava: \
41806 configure-target-libjava
41807 @: $(MAKE); $(unstage)
41808 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41809 r=`${PWD_COMMAND}`; export r; \
41810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41811 $(RAW_CXX_TARGET_EXPORTS) \
41812 echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \
41813 for flag in $(EXTRA_TARGET_FLAGS); do \
41814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41815 done; \
41816 (cd $(TARGET_SUBDIR)/libjava && \
41817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41819 "RANLIB=$${RANLIB}" \
41820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41821 html) \
41822 || exit 1
41824 @endif target-libjava
41826 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
41827 maybe-TAGS-target-libjava:
41828 @if target-libjava
41829 maybe-TAGS-target-libjava: TAGS-target-libjava
41831 TAGS-target-libjava: \
41832 configure-target-libjava
41833 @: $(MAKE); $(unstage)
41834 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41835 r=`${PWD_COMMAND}`; export r; \
41836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41837 $(RAW_CXX_TARGET_EXPORTS) \
41838 echo "Doing TAGS 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 TAGS) \
41848 || exit 1
41850 @endif target-libjava
41852 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
41853 maybe-install-info-target-libjava:
41854 @if target-libjava
41855 maybe-install-info-target-libjava: install-info-target-libjava
41857 install-info-target-libjava: \
41858 configure-target-libjava \
41859 info-target-libjava
41860 @: $(MAKE); $(unstage)
41861 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41862 r=`${PWD_COMMAND}`; export r; \
41863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41864 $(RAW_CXX_TARGET_EXPORTS) \
41865 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
41866 for flag in $(EXTRA_TARGET_FLAGS); do \
41867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41868 done; \
41869 (cd $(TARGET_SUBDIR)/libjava && \
41870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41872 "RANLIB=$${RANLIB}" \
41873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41874 install-info) \
41875 || exit 1
41877 @endif target-libjava
41879 .PHONY: maybe-install-pdf-target-libjava install-pdf-target-libjava
41880 maybe-install-pdf-target-libjava:
41881 @if target-libjava
41882 maybe-install-pdf-target-libjava: install-pdf-target-libjava
41884 install-pdf-target-libjava: \
41885 configure-target-libjava \
41886 pdf-target-libjava
41887 @: $(MAKE); $(unstage)
41888 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41889 r=`${PWD_COMMAND}`; export r; \
41890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41891 $(RAW_CXX_TARGET_EXPORTS) \
41892 echo "Doing install-pdf in $(TARGET_SUBDIR)/libjava" ; \
41893 for flag in $(EXTRA_TARGET_FLAGS); do \
41894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41895 done; \
41896 (cd $(TARGET_SUBDIR)/libjava && \
41897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41899 "RANLIB=$${RANLIB}" \
41900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41901 install-pdf) \
41902 || exit 1
41904 @endif target-libjava
41906 .PHONY: maybe-install-html-target-libjava install-html-target-libjava
41907 maybe-install-html-target-libjava:
41908 @if target-libjava
41909 maybe-install-html-target-libjava: install-html-target-libjava
41911 install-html-target-libjava: \
41912 configure-target-libjava \
41913 html-target-libjava
41914 @: $(MAKE); $(unstage)
41915 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41916 r=`${PWD_COMMAND}`; export r; \
41917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41918 $(RAW_CXX_TARGET_EXPORTS) \
41919 echo "Doing install-html in $(TARGET_SUBDIR)/libjava" ; \
41920 for flag in $(EXTRA_TARGET_FLAGS); do \
41921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41922 done; \
41923 (cd $(TARGET_SUBDIR)/libjava && \
41924 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41925 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41926 "RANLIB=$${RANLIB}" \
41927 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41928 install-html) \
41929 || exit 1
41931 @endif target-libjava
41933 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
41934 maybe-installcheck-target-libjava:
41935 @if target-libjava
41936 maybe-installcheck-target-libjava: installcheck-target-libjava
41938 installcheck-target-libjava: \
41939 configure-target-libjava
41940 @: $(MAKE); $(unstage)
41941 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41942 r=`${PWD_COMMAND}`; export r; \
41943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41944 $(RAW_CXX_TARGET_EXPORTS) \
41945 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
41946 for flag in $(EXTRA_TARGET_FLAGS); do \
41947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41948 done; \
41949 (cd $(TARGET_SUBDIR)/libjava && \
41950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41952 "RANLIB=$${RANLIB}" \
41953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41954 installcheck) \
41955 || exit 1
41957 @endif target-libjava
41959 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
41960 maybe-mostlyclean-target-libjava:
41961 @if target-libjava
41962 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
41964 mostlyclean-target-libjava:
41965 @: $(MAKE); $(unstage)
41966 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41967 r=`${PWD_COMMAND}`; export r; \
41968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41969 $(RAW_CXX_TARGET_EXPORTS) \
41970 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
41971 for flag in $(EXTRA_TARGET_FLAGS); do \
41972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41973 done; \
41974 (cd $(TARGET_SUBDIR)/libjava && \
41975 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41977 "RANLIB=$${RANLIB}" \
41978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41979 mostlyclean) \
41980 || exit 1
41982 @endif target-libjava
41984 .PHONY: maybe-clean-target-libjava clean-target-libjava
41985 maybe-clean-target-libjava:
41986 @if target-libjava
41987 maybe-clean-target-libjava: clean-target-libjava
41989 clean-target-libjava:
41990 @: $(MAKE); $(unstage)
41991 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
41992 r=`${PWD_COMMAND}`; export r; \
41993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41994 $(RAW_CXX_TARGET_EXPORTS) \
41995 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
41996 for flag in $(EXTRA_TARGET_FLAGS); do \
41997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41998 done; \
41999 (cd $(TARGET_SUBDIR)/libjava && \
42000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42002 "RANLIB=$${RANLIB}" \
42003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42004 clean) \
42005 || exit 1
42007 @endif target-libjava
42009 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
42010 maybe-distclean-target-libjava:
42011 @if target-libjava
42012 maybe-distclean-target-libjava: distclean-target-libjava
42014 distclean-target-libjava:
42015 @: $(MAKE); $(unstage)
42016 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
42017 r=`${PWD_COMMAND}`; export r; \
42018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42019 $(RAW_CXX_TARGET_EXPORTS) \
42020 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
42021 for flag in $(EXTRA_TARGET_FLAGS); do \
42022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42023 done; \
42024 (cd $(TARGET_SUBDIR)/libjava && \
42025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42027 "RANLIB=$${RANLIB}" \
42028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42029 distclean) \
42030 || exit 1
42032 @endif target-libjava
42034 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
42035 maybe-maintainer-clean-target-libjava:
42036 @if target-libjava
42037 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
42039 maintainer-clean-target-libjava:
42040 @: $(MAKE); $(unstage)
42041 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
42042 r=`${PWD_COMMAND}`; export r; \
42043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42044 $(RAW_CXX_TARGET_EXPORTS) \
42045 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
42046 for flag in $(EXTRA_TARGET_FLAGS); do \
42047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42048 done; \
42049 (cd $(TARGET_SUBDIR)/libjava && \
42050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42052 "RANLIB=$${RANLIB}" \
42053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42054 maintainer-clean) \
42055 || exit 1
42057 @endif target-libjava
42063 .PHONY: configure-target-zlib maybe-configure-target-zlib
42064 maybe-configure-target-zlib:
42065 @if gcc-bootstrap
42066 configure-target-zlib: stage_current
42067 @endif gcc-bootstrap
42068 @if target-zlib
42069 maybe-configure-target-zlib: configure-target-zlib
42070 configure-target-zlib:
42071 @: $(MAKE); $(unstage)
42072 @r=`${PWD_COMMAND}`; export r; \
42073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42074 echo "Checking multilib configuration for zlib..."; \
42075 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
42076 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null ; \
42077 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
42078 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
42079 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
42080 else \
42081 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
42082 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
42083 fi; \
42084 else \
42085 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
42086 fi; \
42087 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
42088 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
42089 $(NORMAL_TARGET_EXPORTS) \
42090 echo Configuring in $(TARGET_SUBDIR)/zlib; \
42091 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
42092 case $(srcdir) in \
42093 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42094 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
42095 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42096 esac; \
42097 module_srcdir=zlib; \
42098 rm -f no-such-file || : ; \
42099 CONFIG_SITE=no-such-file $(SHELL) \
42100 $$s/$$module_srcdir/configure \
42101 --srcdir=$${topdir}/$$module_srcdir \
42102 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42103 --target=${target_alias} \
42104 || exit 1
42105 @endif target-zlib
42111 .PHONY: all-target-zlib maybe-all-target-zlib
42112 maybe-all-target-zlib:
42113 @if gcc-bootstrap
42114 all-target-zlib: stage_current
42115 @endif gcc-bootstrap
42116 @if target-zlib
42117 TARGET-target-zlib=all
42118 maybe-all-target-zlib: all-target-zlib
42119 all-target-zlib: configure-target-zlib
42120 @: $(MAKE); $(unstage)
42121 @r=`${PWD_COMMAND}`; export r; \
42122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42123 $(NORMAL_TARGET_EXPORTS) \
42124 (cd $(TARGET_SUBDIR)/zlib && \
42125 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
42126 $(TARGET-target-zlib))
42127 @endif target-zlib
42133 .PHONY: check-target-zlib maybe-check-target-zlib
42134 maybe-check-target-zlib:
42135 @if target-zlib
42136 maybe-check-target-zlib: check-target-zlib
42138 check-target-zlib:
42139 @: $(MAKE); $(unstage)
42140 @r=`${PWD_COMMAND}`; export r; \
42141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42142 $(NORMAL_TARGET_EXPORTS) \
42143 (cd $(TARGET_SUBDIR)/zlib && \
42144 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
42146 @endif target-zlib
42148 .PHONY: install-target-zlib maybe-install-target-zlib
42149 maybe-install-target-zlib:
42150 @if target-zlib
42151 maybe-install-target-zlib: install-target-zlib
42153 install-target-zlib: installdirs
42154 @: $(MAKE); $(unstage)
42155 @r=`${PWD_COMMAND}`; export r; \
42156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42157 $(NORMAL_TARGET_EXPORTS) \
42158 (cd $(TARGET_SUBDIR)/zlib && \
42159 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
42161 @endif target-zlib
42163 .PHONY: install-strip-target-zlib maybe-install-strip-target-zlib
42164 maybe-install-strip-target-zlib:
42165 @if target-zlib
42166 maybe-install-strip-target-zlib: install-strip-target-zlib
42168 install-strip-target-zlib: installdirs
42169 @: $(MAKE); $(unstage)
42170 @r=`${PWD_COMMAND}`; export r; \
42171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42172 $(NORMAL_TARGET_EXPORTS) \
42173 (cd $(TARGET_SUBDIR)/zlib && \
42174 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
42176 @endif target-zlib
42178 # Other targets (info, dvi, pdf, etc.)
42180 .PHONY: maybe-info-target-zlib info-target-zlib
42181 maybe-info-target-zlib:
42182 @if target-zlib
42183 maybe-info-target-zlib: info-target-zlib
42185 info-target-zlib: \
42186 configure-target-zlib
42187 @: $(MAKE); $(unstage)
42188 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42189 r=`${PWD_COMMAND}`; export r; \
42190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42191 $(NORMAL_TARGET_EXPORTS) \
42192 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
42193 for flag in $(EXTRA_TARGET_FLAGS); do \
42194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42195 done; \
42196 (cd $(TARGET_SUBDIR)/zlib && \
42197 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42198 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42199 "RANLIB=$${RANLIB}" \
42200 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42201 info) \
42202 || exit 1
42204 @endif target-zlib
42206 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
42207 maybe-dvi-target-zlib:
42208 @if target-zlib
42209 maybe-dvi-target-zlib: dvi-target-zlib
42211 dvi-target-zlib: \
42212 configure-target-zlib
42213 @: $(MAKE); $(unstage)
42214 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42215 r=`${PWD_COMMAND}`; export r; \
42216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42217 $(NORMAL_TARGET_EXPORTS) \
42218 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
42219 for flag in $(EXTRA_TARGET_FLAGS); do \
42220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42221 done; \
42222 (cd $(TARGET_SUBDIR)/zlib && \
42223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42225 "RANLIB=$${RANLIB}" \
42226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42227 dvi) \
42228 || exit 1
42230 @endif target-zlib
42232 .PHONY: maybe-pdf-target-zlib pdf-target-zlib
42233 maybe-pdf-target-zlib:
42234 @if target-zlib
42235 maybe-pdf-target-zlib: pdf-target-zlib
42237 pdf-target-zlib: \
42238 configure-target-zlib
42239 @: $(MAKE); $(unstage)
42240 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42241 r=`${PWD_COMMAND}`; export r; \
42242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42243 $(NORMAL_TARGET_EXPORTS) \
42244 echo "Doing pdf in $(TARGET_SUBDIR)/zlib" ; \
42245 for flag in $(EXTRA_TARGET_FLAGS); do \
42246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42247 done; \
42248 (cd $(TARGET_SUBDIR)/zlib && \
42249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42251 "RANLIB=$${RANLIB}" \
42252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42253 pdf) \
42254 || exit 1
42256 @endif target-zlib
42258 .PHONY: maybe-html-target-zlib html-target-zlib
42259 maybe-html-target-zlib:
42260 @if target-zlib
42261 maybe-html-target-zlib: html-target-zlib
42263 html-target-zlib: \
42264 configure-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 html in $(TARGET_SUBDIR)/zlib" ; \
42271 for flag in $(EXTRA_TARGET_FLAGS); do \
42272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42273 done; \
42274 (cd $(TARGET_SUBDIR)/zlib && \
42275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42277 "RANLIB=$${RANLIB}" \
42278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42279 html) \
42280 || exit 1
42282 @endif target-zlib
42284 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
42285 maybe-TAGS-target-zlib:
42286 @if target-zlib
42287 maybe-TAGS-target-zlib: TAGS-target-zlib
42289 TAGS-target-zlib: \
42290 configure-target-zlib
42291 @: $(MAKE); $(unstage)
42292 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42293 r=`${PWD_COMMAND}`; export r; \
42294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42295 $(NORMAL_TARGET_EXPORTS) \
42296 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
42297 for flag in $(EXTRA_TARGET_FLAGS); do \
42298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42299 done; \
42300 (cd $(TARGET_SUBDIR)/zlib && \
42301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42303 "RANLIB=$${RANLIB}" \
42304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42305 TAGS) \
42306 || exit 1
42308 @endif target-zlib
42310 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
42311 maybe-install-info-target-zlib:
42312 @if target-zlib
42313 maybe-install-info-target-zlib: install-info-target-zlib
42315 install-info-target-zlib: \
42316 configure-target-zlib \
42317 info-target-zlib
42318 @: $(MAKE); $(unstage)
42319 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42320 r=`${PWD_COMMAND}`; export r; \
42321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42322 $(NORMAL_TARGET_EXPORTS) \
42323 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
42324 for flag in $(EXTRA_TARGET_FLAGS); do \
42325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42326 done; \
42327 (cd $(TARGET_SUBDIR)/zlib && \
42328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42330 "RANLIB=$${RANLIB}" \
42331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42332 install-info) \
42333 || exit 1
42335 @endif target-zlib
42337 .PHONY: maybe-install-pdf-target-zlib install-pdf-target-zlib
42338 maybe-install-pdf-target-zlib:
42339 @if target-zlib
42340 maybe-install-pdf-target-zlib: install-pdf-target-zlib
42342 install-pdf-target-zlib: \
42343 configure-target-zlib \
42344 pdf-target-zlib
42345 @: $(MAKE); $(unstage)
42346 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42347 r=`${PWD_COMMAND}`; export r; \
42348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42349 $(NORMAL_TARGET_EXPORTS) \
42350 echo "Doing install-pdf in $(TARGET_SUBDIR)/zlib" ; \
42351 for flag in $(EXTRA_TARGET_FLAGS); do \
42352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42353 done; \
42354 (cd $(TARGET_SUBDIR)/zlib && \
42355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42357 "RANLIB=$${RANLIB}" \
42358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42359 install-pdf) \
42360 || exit 1
42362 @endif target-zlib
42364 .PHONY: maybe-install-html-target-zlib install-html-target-zlib
42365 maybe-install-html-target-zlib:
42366 @if target-zlib
42367 maybe-install-html-target-zlib: install-html-target-zlib
42369 install-html-target-zlib: \
42370 configure-target-zlib \
42371 html-target-zlib
42372 @: $(MAKE); $(unstage)
42373 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42374 r=`${PWD_COMMAND}`; export r; \
42375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42376 $(NORMAL_TARGET_EXPORTS) \
42377 echo "Doing install-html in $(TARGET_SUBDIR)/zlib" ; \
42378 for flag in $(EXTRA_TARGET_FLAGS); do \
42379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42380 done; \
42381 (cd $(TARGET_SUBDIR)/zlib && \
42382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42384 "RANLIB=$${RANLIB}" \
42385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42386 install-html) \
42387 || exit 1
42389 @endif target-zlib
42391 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
42392 maybe-installcheck-target-zlib:
42393 @if target-zlib
42394 maybe-installcheck-target-zlib: installcheck-target-zlib
42396 installcheck-target-zlib: \
42397 configure-target-zlib
42398 @: $(MAKE); $(unstage)
42399 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42400 r=`${PWD_COMMAND}`; export r; \
42401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42402 $(NORMAL_TARGET_EXPORTS) \
42403 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
42404 for flag in $(EXTRA_TARGET_FLAGS); do \
42405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42406 done; \
42407 (cd $(TARGET_SUBDIR)/zlib && \
42408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42410 "RANLIB=$${RANLIB}" \
42411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42412 installcheck) \
42413 || exit 1
42415 @endif target-zlib
42417 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
42418 maybe-mostlyclean-target-zlib:
42419 @if target-zlib
42420 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
42422 mostlyclean-target-zlib:
42423 @: $(MAKE); $(unstage)
42424 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42425 r=`${PWD_COMMAND}`; export r; \
42426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42427 $(NORMAL_TARGET_EXPORTS) \
42428 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
42429 for flag in $(EXTRA_TARGET_FLAGS); do \
42430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42431 done; \
42432 (cd $(TARGET_SUBDIR)/zlib && \
42433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42435 "RANLIB=$${RANLIB}" \
42436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42437 mostlyclean) \
42438 || exit 1
42440 @endif target-zlib
42442 .PHONY: maybe-clean-target-zlib clean-target-zlib
42443 maybe-clean-target-zlib:
42444 @if target-zlib
42445 maybe-clean-target-zlib: clean-target-zlib
42447 clean-target-zlib:
42448 @: $(MAKE); $(unstage)
42449 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42450 r=`${PWD_COMMAND}`; export r; \
42451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42452 $(NORMAL_TARGET_EXPORTS) \
42453 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
42454 for flag in $(EXTRA_TARGET_FLAGS); do \
42455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42456 done; \
42457 (cd $(TARGET_SUBDIR)/zlib && \
42458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42460 "RANLIB=$${RANLIB}" \
42461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42462 clean) \
42463 || exit 1
42465 @endif target-zlib
42467 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
42468 maybe-distclean-target-zlib:
42469 @if target-zlib
42470 maybe-distclean-target-zlib: distclean-target-zlib
42472 distclean-target-zlib:
42473 @: $(MAKE); $(unstage)
42474 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42475 r=`${PWD_COMMAND}`; export r; \
42476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42477 $(NORMAL_TARGET_EXPORTS) \
42478 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
42479 for flag in $(EXTRA_TARGET_FLAGS); do \
42480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42481 done; \
42482 (cd $(TARGET_SUBDIR)/zlib && \
42483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42485 "RANLIB=$${RANLIB}" \
42486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42487 distclean) \
42488 || exit 1
42490 @endif target-zlib
42492 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
42493 maybe-maintainer-clean-target-zlib:
42494 @if target-zlib
42495 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
42497 maintainer-clean-target-zlib:
42498 @: $(MAKE); $(unstage)
42499 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42500 r=`${PWD_COMMAND}`; export r; \
42501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42502 $(NORMAL_TARGET_EXPORTS) \
42503 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
42504 for flag in $(EXTRA_TARGET_FLAGS); do \
42505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42506 done; \
42507 (cd $(TARGET_SUBDIR)/zlib && \
42508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42510 "RANLIB=$${RANLIB}" \
42511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42512 maintainer-clean) \
42513 || exit 1
42515 @endif target-zlib
42521 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
42522 maybe-configure-target-boehm-gc:
42523 @if gcc-bootstrap
42524 configure-target-boehm-gc: stage_current
42525 @endif gcc-bootstrap
42526 @if target-boehm-gc
42527 maybe-configure-target-boehm-gc: configure-target-boehm-gc
42528 configure-target-boehm-gc:
42529 @: $(MAKE); $(unstage)
42530 @r=`${PWD_COMMAND}`; export r; \
42531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42532 echo "Checking multilib configuration for boehm-gc..."; \
42533 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
42534 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/boehm-gc/multilib.tmp 2> /dev/null ; \
42535 if test -r $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
42536 if cmp -s $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
42537 rm -f $(TARGET_SUBDIR)/boehm-gc/multilib.tmp; \
42538 else \
42539 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile; \
42540 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
42541 fi; \
42542 else \
42543 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
42544 fi; \
42545 test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
42546 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
42547 $(NORMAL_TARGET_EXPORTS) \
42548 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
42549 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
42550 case $(srcdir) in \
42551 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42552 *) topdir=`echo $(TARGET_SUBDIR)/boehm-gc/ | \
42553 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42554 esac; \
42555 module_srcdir=boehm-gc; \
42556 rm -f no-such-file || : ; \
42557 CONFIG_SITE=no-such-file $(SHELL) \
42558 $$s/$$module_srcdir/configure \
42559 --srcdir=$${topdir}/$$module_srcdir \
42560 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42561 --target=${target_alias} \
42562 || exit 1
42563 @endif target-boehm-gc
42569 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
42570 maybe-all-target-boehm-gc:
42571 @if gcc-bootstrap
42572 all-target-boehm-gc: stage_current
42573 @endif gcc-bootstrap
42574 @if target-boehm-gc
42575 TARGET-target-boehm-gc=all
42576 maybe-all-target-boehm-gc: all-target-boehm-gc
42577 all-target-boehm-gc: configure-target-boehm-gc
42578 @: $(MAKE); $(unstage)
42579 @r=`${PWD_COMMAND}`; export r; \
42580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42581 $(NORMAL_TARGET_EXPORTS) \
42582 (cd $(TARGET_SUBDIR)/boehm-gc && \
42583 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
42584 $(TARGET-target-boehm-gc))
42585 @endif target-boehm-gc
42591 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
42592 maybe-check-target-boehm-gc:
42593 @if target-boehm-gc
42594 maybe-check-target-boehm-gc: check-target-boehm-gc
42596 check-target-boehm-gc:
42597 @: $(MAKE); $(unstage)
42598 @r=`${PWD_COMMAND}`; export r; \
42599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42600 $(NORMAL_TARGET_EXPORTS) \
42601 (cd $(TARGET_SUBDIR)/boehm-gc && \
42602 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
42604 @endif target-boehm-gc
42606 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
42607 maybe-install-target-boehm-gc:
42608 @if target-boehm-gc
42609 maybe-install-target-boehm-gc: install-target-boehm-gc
42611 install-target-boehm-gc: installdirs
42612 @: $(MAKE); $(unstage)
42613 @r=`${PWD_COMMAND}`; export r; \
42614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42615 $(NORMAL_TARGET_EXPORTS) \
42616 (cd $(TARGET_SUBDIR)/boehm-gc && \
42617 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
42619 @endif target-boehm-gc
42621 .PHONY: install-strip-target-boehm-gc maybe-install-strip-target-boehm-gc
42622 maybe-install-strip-target-boehm-gc:
42623 @if target-boehm-gc
42624 maybe-install-strip-target-boehm-gc: install-strip-target-boehm-gc
42626 install-strip-target-boehm-gc: installdirs
42627 @: $(MAKE); $(unstage)
42628 @r=`${PWD_COMMAND}`; export r; \
42629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42630 $(NORMAL_TARGET_EXPORTS) \
42631 (cd $(TARGET_SUBDIR)/boehm-gc && \
42632 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
42634 @endif target-boehm-gc
42636 # Other targets (info, dvi, pdf, etc.)
42638 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
42639 maybe-info-target-boehm-gc:
42640 @if target-boehm-gc
42641 maybe-info-target-boehm-gc: info-target-boehm-gc
42643 info-target-boehm-gc: \
42644 configure-target-boehm-gc
42645 @: $(MAKE); $(unstage)
42646 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42647 r=`${PWD_COMMAND}`; export r; \
42648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42649 $(NORMAL_TARGET_EXPORTS) \
42650 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
42651 for flag in $(EXTRA_TARGET_FLAGS); do \
42652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42653 done; \
42654 (cd $(TARGET_SUBDIR)/boehm-gc && \
42655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42657 "RANLIB=$${RANLIB}" \
42658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42659 info) \
42660 || exit 1
42662 @endif target-boehm-gc
42664 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
42665 maybe-dvi-target-boehm-gc:
42666 @if target-boehm-gc
42667 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
42669 dvi-target-boehm-gc: \
42670 configure-target-boehm-gc
42671 @: $(MAKE); $(unstage)
42672 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42673 r=`${PWD_COMMAND}`; export r; \
42674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42675 $(NORMAL_TARGET_EXPORTS) \
42676 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
42677 for flag in $(EXTRA_TARGET_FLAGS); do \
42678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42679 done; \
42680 (cd $(TARGET_SUBDIR)/boehm-gc && \
42681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42683 "RANLIB=$${RANLIB}" \
42684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42685 dvi) \
42686 || exit 1
42688 @endif target-boehm-gc
42690 .PHONY: maybe-pdf-target-boehm-gc pdf-target-boehm-gc
42691 maybe-pdf-target-boehm-gc:
42692 @if target-boehm-gc
42693 maybe-pdf-target-boehm-gc: pdf-target-boehm-gc
42695 pdf-target-boehm-gc: \
42696 configure-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 pdf 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 pdf) \
42712 || exit 1
42714 @endif target-boehm-gc
42716 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
42717 maybe-html-target-boehm-gc:
42718 @if target-boehm-gc
42719 maybe-html-target-boehm-gc: html-target-boehm-gc
42721 html-target-boehm-gc: \
42722 configure-target-boehm-gc
42723 @: $(MAKE); $(unstage)
42724 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42725 r=`${PWD_COMMAND}`; export r; \
42726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42727 $(NORMAL_TARGET_EXPORTS) \
42728 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
42729 for flag in $(EXTRA_TARGET_FLAGS); do \
42730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42731 done; \
42732 (cd $(TARGET_SUBDIR)/boehm-gc && \
42733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42735 "RANLIB=$${RANLIB}" \
42736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42737 html) \
42738 || exit 1
42740 @endif target-boehm-gc
42742 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
42743 maybe-TAGS-target-boehm-gc:
42744 @if target-boehm-gc
42745 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
42747 TAGS-target-boehm-gc: \
42748 configure-target-boehm-gc
42749 @: $(MAKE); $(unstage)
42750 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42751 r=`${PWD_COMMAND}`; export r; \
42752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42753 $(NORMAL_TARGET_EXPORTS) \
42754 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
42755 for flag in $(EXTRA_TARGET_FLAGS); do \
42756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42757 done; \
42758 (cd $(TARGET_SUBDIR)/boehm-gc && \
42759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42761 "RANLIB=$${RANLIB}" \
42762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42763 TAGS) \
42764 || exit 1
42766 @endif target-boehm-gc
42768 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
42769 maybe-install-info-target-boehm-gc:
42770 @if target-boehm-gc
42771 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
42773 install-info-target-boehm-gc: \
42774 configure-target-boehm-gc \
42775 info-target-boehm-gc
42776 @: $(MAKE); $(unstage)
42777 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42778 r=`${PWD_COMMAND}`; export r; \
42779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42780 $(NORMAL_TARGET_EXPORTS) \
42781 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
42782 for flag in $(EXTRA_TARGET_FLAGS); do \
42783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42784 done; \
42785 (cd $(TARGET_SUBDIR)/boehm-gc && \
42786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42788 "RANLIB=$${RANLIB}" \
42789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42790 install-info) \
42791 || exit 1
42793 @endif target-boehm-gc
42795 .PHONY: maybe-install-pdf-target-boehm-gc install-pdf-target-boehm-gc
42796 maybe-install-pdf-target-boehm-gc:
42797 @if target-boehm-gc
42798 maybe-install-pdf-target-boehm-gc: install-pdf-target-boehm-gc
42800 install-pdf-target-boehm-gc: \
42801 configure-target-boehm-gc \
42802 pdf-target-boehm-gc
42803 @: $(MAKE); $(unstage)
42804 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42805 r=`${PWD_COMMAND}`; export r; \
42806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42807 $(NORMAL_TARGET_EXPORTS) \
42808 echo "Doing install-pdf in $(TARGET_SUBDIR)/boehm-gc" ; \
42809 for flag in $(EXTRA_TARGET_FLAGS); do \
42810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42811 done; \
42812 (cd $(TARGET_SUBDIR)/boehm-gc && \
42813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42815 "RANLIB=$${RANLIB}" \
42816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42817 install-pdf) \
42818 || exit 1
42820 @endif target-boehm-gc
42822 .PHONY: maybe-install-html-target-boehm-gc install-html-target-boehm-gc
42823 maybe-install-html-target-boehm-gc:
42824 @if target-boehm-gc
42825 maybe-install-html-target-boehm-gc: install-html-target-boehm-gc
42827 install-html-target-boehm-gc: \
42828 configure-target-boehm-gc \
42829 html-target-boehm-gc
42830 @: $(MAKE); $(unstage)
42831 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42832 r=`${PWD_COMMAND}`; export r; \
42833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42834 $(NORMAL_TARGET_EXPORTS) \
42835 echo "Doing install-html in $(TARGET_SUBDIR)/boehm-gc" ; \
42836 for flag in $(EXTRA_TARGET_FLAGS); do \
42837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42838 done; \
42839 (cd $(TARGET_SUBDIR)/boehm-gc && \
42840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42842 "RANLIB=$${RANLIB}" \
42843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42844 install-html) \
42845 || exit 1
42847 @endif target-boehm-gc
42849 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
42850 maybe-installcheck-target-boehm-gc:
42851 @if target-boehm-gc
42852 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
42854 installcheck-target-boehm-gc: \
42855 configure-target-boehm-gc
42856 @: $(MAKE); $(unstage)
42857 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42858 r=`${PWD_COMMAND}`; export r; \
42859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42860 $(NORMAL_TARGET_EXPORTS) \
42861 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
42862 for flag in $(EXTRA_TARGET_FLAGS); do \
42863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42864 done; \
42865 (cd $(TARGET_SUBDIR)/boehm-gc && \
42866 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42867 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42868 "RANLIB=$${RANLIB}" \
42869 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42870 installcheck) \
42871 || exit 1
42873 @endif target-boehm-gc
42875 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
42876 maybe-mostlyclean-target-boehm-gc:
42877 @if target-boehm-gc
42878 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
42880 mostlyclean-target-boehm-gc:
42881 @: $(MAKE); $(unstage)
42882 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42883 r=`${PWD_COMMAND}`; export r; \
42884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42885 $(NORMAL_TARGET_EXPORTS) \
42886 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
42887 for flag in $(EXTRA_TARGET_FLAGS); do \
42888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42889 done; \
42890 (cd $(TARGET_SUBDIR)/boehm-gc && \
42891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42893 "RANLIB=$${RANLIB}" \
42894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42895 mostlyclean) \
42896 || exit 1
42898 @endif target-boehm-gc
42900 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
42901 maybe-clean-target-boehm-gc:
42902 @if target-boehm-gc
42903 maybe-clean-target-boehm-gc: clean-target-boehm-gc
42905 clean-target-boehm-gc:
42906 @: $(MAKE); $(unstage)
42907 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42908 r=`${PWD_COMMAND}`; export r; \
42909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42910 $(NORMAL_TARGET_EXPORTS) \
42911 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
42912 for flag in $(EXTRA_TARGET_FLAGS); do \
42913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42914 done; \
42915 (cd $(TARGET_SUBDIR)/boehm-gc && \
42916 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42917 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42918 "RANLIB=$${RANLIB}" \
42919 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42920 clean) \
42921 || exit 1
42923 @endif target-boehm-gc
42925 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
42926 maybe-distclean-target-boehm-gc:
42927 @if target-boehm-gc
42928 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
42930 distclean-target-boehm-gc:
42931 @: $(MAKE); $(unstage)
42932 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42933 r=`${PWD_COMMAND}`; export r; \
42934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42935 $(NORMAL_TARGET_EXPORTS) \
42936 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
42937 for flag in $(EXTRA_TARGET_FLAGS); do \
42938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42939 done; \
42940 (cd $(TARGET_SUBDIR)/boehm-gc && \
42941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42943 "RANLIB=$${RANLIB}" \
42944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42945 distclean) \
42946 || exit 1
42948 @endif target-boehm-gc
42950 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
42951 maybe-maintainer-clean-target-boehm-gc:
42952 @if target-boehm-gc
42953 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
42955 maintainer-clean-target-boehm-gc:
42956 @: $(MAKE); $(unstage)
42957 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
42958 r=`${PWD_COMMAND}`; export r; \
42959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42960 $(NORMAL_TARGET_EXPORTS) \
42961 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
42962 for flag in $(EXTRA_TARGET_FLAGS); do \
42963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42964 done; \
42965 (cd $(TARGET_SUBDIR)/boehm-gc && \
42966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42968 "RANLIB=$${RANLIB}" \
42969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42970 maintainer-clean) \
42971 || exit 1
42973 @endif target-boehm-gc
42979 .PHONY: configure-target-rda maybe-configure-target-rda
42980 maybe-configure-target-rda:
42981 @if gcc-bootstrap
42982 configure-target-rda: stage_current
42983 @endif gcc-bootstrap
42984 @if target-rda
42985 maybe-configure-target-rda: configure-target-rda
42986 configure-target-rda:
42987 @: $(MAKE); $(unstage)
42988 @r=`${PWD_COMMAND}`; export r; \
42989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42990 echo "Checking multilib configuration for rda..."; \
42991 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
42992 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/rda/multilib.tmp 2> /dev/null ; \
42993 if test -r $(TARGET_SUBDIR)/rda/multilib.out; then \
42994 if cmp -s $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; then \
42995 rm -f $(TARGET_SUBDIR)/rda/multilib.tmp; \
42996 else \
42997 rm -f $(TARGET_SUBDIR)/rda/Makefile; \
42998 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
42999 fi; \
43000 else \
43001 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
43002 fi; \
43003 test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
43004 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
43005 $(NORMAL_TARGET_EXPORTS) \
43006 echo Configuring in $(TARGET_SUBDIR)/rda; \
43007 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
43008 case $(srcdir) in \
43009 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43010 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
43011 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43012 esac; \
43013 module_srcdir=rda; \
43014 rm -f no-such-file || : ; \
43015 CONFIG_SITE=no-such-file $(SHELL) \
43016 $$s/$$module_srcdir/configure \
43017 --srcdir=$${topdir}/$$module_srcdir \
43018 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43019 --target=${target_alias} \
43020 || exit 1
43021 @endif target-rda
43027 .PHONY: all-target-rda maybe-all-target-rda
43028 maybe-all-target-rda:
43029 @if gcc-bootstrap
43030 all-target-rda: stage_current
43031 @endif gcc-bootstrap
43032 @if target-rda
43033 TARGET-target-rda=all
43034 maybe-all-target-rda: all-target-rda
43035 all-target-rda: configure-target-rda
43036 @: $(MAKE); $(unstage)
43037 @r=`${PWD_COMMAND}`; export r; \
43038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43039 $(NORMAL_TARGET_EXPORTS) \
43040 (cd $(TARGET_SUBDIR)/rda && \
43041 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
43042 $(TARGET-target-rda))
43043 @endif target-rda
43049 .PHONY: check-target-rda maybe-check-target-rda
43050 maybe-check-target-rda:
43051 @if target-rda
43052 maybe-check-target-rda: check-target-rda
43054 check-target-rda:
43055 @: $(MAKE); $(unstage)
43056 @r=`${PWD_COMMAND}`; export r; \
43057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43058 $(NORMAL_TARGET_EXPORTS) \
43059 (cd $(TARGET_SUBDIR)/rda && \
43060 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
43062 @endif target-rda
43064 .PHONY: install-target-rda maybe-install-target-rda
43065 maybe-install-target-rda:
43066 @if target-rda
43067 maybe-install-target-rda: install-target-rda
43069 install-target-rda: installdirs
43070 @: $(MAKE); $(unstage)
43071 @r=`${PWD_COMMAND}`; export r; \
43072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43073 $(NORMAL_TARGET_EXPORTS) \
43074 (cd $(TARGET_SUBDIR)/rda && \
43075 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
43077 @endif target-rda
43079 .PHONY: install-strip-target-rda maybe-install-strip-target-rda
43080 maybe-install-strip-target-rda:
43081 @if target-rda
43082 maybe-install-strip-target-rda: install-strip-target-rda
43084 install-strip-target-rda: installdirs
43085 @: $(MAKE); $(unstage)
43086 @r=`${PWD_COMMAND}`; export r; \
43087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43088 $(NORMAL_TARGET_EXPORTS) \
43089 (cd $(TARGET_SUBDIR)/rda && \
43090 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
43092 @endif target-rda
43094 # Other targets (info, dvi, pdf, etc.)
43096 .PHONY: maybe-info-target-rda info-target-rda
43097 maybe-info-target-rda:
43098 @if target-rda
43099 maybe-info-target-rda: info-target-rda
43101 info-target-rda: \
43102 configure-target-rda
43103 @: $(MAKE); $(unstage)
43104 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43105 r=`${PWD_COMMAND}`; export r; \
43106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43107 $(NORMAL_TARGET_EXPORTS) \
43108 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
43109 for flag in $(EXTRA_TARGET_FLAGS); do \
43110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43111 done; \
43112 (cd $(TARGET_SUBDIR)/rda && \
43113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43115 "RANLIB=$${RANLIB}" \
43116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43117 info) \
43118 || exit 1
43120 @endif target-rda
43122 .PHONY: maybe-dvi-target-rda dvi-target-rda
43123 maybe-dvi-target-rda:
43124 @if target-rda
43125 maybe-dvi-target-rda: dvi-target-rda
43127 dvi-target-rda: \
43128 configure-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 dvi 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 dvi) \
43144 || exit 1
43146 @endif target-rda
43148 .PHONY: maybe-pdf-target-rda pdf-target-rda
43149 maybe-pdf-target-rda:
43150 @if target-rda
43151 maybe-pdf-target-rda: pdf-target-rda
43153 pdf-target-rda: \
43154 configure-target-rda
43155 @: $(MAKE); $(unstage)
43156 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43157 r=`${PWD_COMMAND}`; export r; \
43158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43159 $(NORMAL_TARGET_EXPORTS) \
43160 echo "Doing pdf in $(TARGET_SUBDIR)/rda" ; \
43161 for flag in $(EXTRA_TARGET_FLAGS); do \
43162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43163 done; \
43164 (cd $(TARGET_SUBDIR)/rda && \
43165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43167 "RANLIB=$${RANLIB}" \
43168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43169 pdf) \
43170 || exit 1
43172 @endif target-rda
43174 .PHONY: maybe-html-target-rda html-target-rda
43175 maybe-html-target-rda:
43176 @if target-rda
43177 maybe-html-target-rda: html-target-rda
43179 html-target-rda: \
43180 configure-target-rda
43181 @: $(MAKE); $(unstage)
43182 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43183 r=`${PWD_COMMAND}`; export r; \
43184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43185 $(NORMAL_TARGET_EXPORTS) \
43186 echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
43187 for flag in $(EXTRA_TARGET_FLAGS); do \
43188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43189 done; \
43190 (cd $(TARGET_SUBDIR)/rda && \
43191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43193 "RANLIB=$${RANLIB}" \
43194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43195 html) \
43196 || exit 1
43198 @endif target-rda
43200 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
43201 maybe-TAGS-target-rda:
43202 @if target-rda
43203 maybe-TAGS-target-rda: TAGS-target-rda
43205 TAGS-target-rda: \
43206 configure-target-rda
43207 @: $(MAKE); $(unstage)
43208 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43209 r=`${PWD_COMMAND}`; export r; \
43210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43211 $(NORMAL_TARGET_EXPORTS) \
43212 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
43213 for flag in $(EXTRA_TARGET_FLAGS); do \
43214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43215 done; \
43216 (cd $(TARGET_SUBDIR)/rda && \
43217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43219 "RANLIB=$${RANLIB}" \
43220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43221 TAGS) \
43222 || exit 1
43224 @endif target-rda
43226 .PHONY: maybe-install-info-target-rda install-info-target-rda
43227 maybe-install-info-target-rda:
43228 @if target-rda
43229 maybe-install-info-target-rda: install-info-target-rda
43231 install-info-target-rda: \
43232 configure-target-rda \
43233 info-target-rda
43234 @: $(MAKE); $(unstage)
43235 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43236 r=`${PWD_COMMAND}`; export r; \
43237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43238 $(NORMAL_TARGET_EXPORTS) \
43239 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
43240 for flag in $(EXTRA_TARGET_FLAGS); do \
43241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43242 done; \
43243 (cd $(TARGET_SUBDIR)/rda && \
43244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43246 "RANLIB=$${RANLIB}" \
43247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43248 install-info) \
43249 || exit 1
43251 @endif target-rda
43253 .PHONY: maybe-install-pdf-target-rda install-pdf-target-rda
43254 maybe-install-pdf-target-rda:
43255 @if target-rda
43256 maybe-install-pdf-target-rda: install-pdf-target-rda
43258 install-pdf-target-rda: \
43259 configure-target-rda \
43260 pdf-target-rda
43261 @: $(MAKE); $(unstage)
43262 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43263 r=`${PWD_COMMAND}`; export r; \
43264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43265 $(NORMAL_TARGET_EXPORTS) \
43266 echo "Doing install-pdf in $(TARGET_SUBDIR)/rda" ; \
43267 for flag in $(EXTRA_TARGET_FLAGS); do \
43268 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43269 done; \
43270 (cd $(TARGET_SUBDIR)/rda && \
43271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43273 "RANLIB=$${RANLIB}" \
43274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43275 install-pdf) \
43276 || exit 1
43278 @endif target-rda
43280 .PHONY: maybe-install-html-target-rda install-html-target-rda
43281 maybe-install-html-target-rda:
43282 @if target-rda
43283 maybe-install-html-target-rda: install-html-target-rda
43285 install-html-target-rda: \
43286 configure-target-rda \
43287 html-target-rda
43288 @: $(MAKE); $(unstage)
43289 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43290 r=`${PWD_COMMAND}`; export r; \
43291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43292 $(NORMAL_TARGET_EXPORTS) \
43293 echo "Doing install-html in $(TARGET_SUBDIR)/rda" ; \
43294 for flag in $(EXTRA_TARGET_FLAGS); do \
43295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43296 done; \
43297 (cd $(TARGET_SUBDIR)/rda && \
43298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43300 "RANLIB=$${RANLIB}" \
43301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43302 install-html) \
43303 || exit 1
43305 @endif target-rda
43307 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
43308 maybe-installcheck-target-rda:
43309 @if target-rda
43310 maybe-installcheck-target-rda: installcheck-target-rda
43312 installcheck-target-rda: \
43313 configure-target-rda
43314 @: $(MAKE); $(unstage)
43315 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43316 r=`${PWD_COMMAND}`; export r; \
43317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43318 $(NORMAL_TARGET_EXPORTS) \
43319 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
43320 for flag in $(EXTRA_TARGET_FLAGS); do \
43321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43322 done; \
43323 (cd $(TARGET_SUBDIR)/rda && \
43324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43326 "RANLIB=$${RANLIB}" \
43327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43328 installcheck) \
43329 || exit 1
43331 @endif target-rda
43333 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
43334 maybe-mostlyclean-target-rda:
43335 @if target-rda
43336 maybe-mostlyclean-target-rda: mostlyclean-target-rda
43338 mostlyclean-target-rda:
43339 @: $(MAKE); $(unstage)
43340 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43341 r=`${PWD_COMMAND}`; export r; \
43342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43343 $(NORMAL_TARGET_EXPORTS) \
43344 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
43345 for flag in $(EXTRA_TARGET_FLAGS); do \
43346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43347 done; \
43348 (cd $(TARGET_SUBDIR)/rda && \
43349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43351 "RANLIB=$${RANLIB}" \
43352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43353 mostlyclean) \
43354 || exit 1
43356 @endif target-rda
43358 .PHONY: maybe-clean-target-rda clean-target-rda
43359 maybe-clean-target-rda:
43360 @if target-rda
43361 maybe-clean-target-rda: clean-target-rda
43363 clean-target-rda:
43364 @: $(MAKE); $(unstage)
43365 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43366 r=`${PWD_COMMAND}`; export r; \
43367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43368 $(NORMAL_TARGET_EXPORTS) \
43369 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
43370 for flag in $(EXTRA_TARGET_FLAGS); do \
43371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43372 done; \
43373 (cd $(TARGET_SUBDIR)/rda && \
43374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43376 "RANLIB=$${RANLIB}" \
43377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43378 clean) \
43379 || exit 1
43381 @endif target-rda
43383 .PHONY: maybe-distclean-target-rda distclean-target-rda
43384 maybe-distclean-target-rda:
43385 @if target-rda
43386 maybe-distclean-target-rda: distclean-target-rda
43388 distclean-target-rda:
43389 @: $(MAKE); $(unstage)
43390 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43391 r=`${PWD_COMMAND}`; export r; \
43392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43393 $(NORMAL_TARGET_EXPORTS) \
43394 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
43395 for flag in $(EXTRA_TARGET_FLAGS); do \
43396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43397 done; \
43398 (cd $(TARGET_SUBDIR)/rda && \
43399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43401 "RANLIB=$${RANLIB}" \
43402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43403 distclean) \
43404 || exit 1
43406 @endif target-rda
43408 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
43409 maybe-maintainer-clean-target-rda:
43410 @if target-rda
43411 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
43413 maintainer-clean-target-rda:
43414 @: $(MAKE); $(unstage)
43415 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43416 r=`${PWD_COMMAND}`; export r; \
43417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43418 $(NORMAL_TARGET_EXPORTS) \
43419 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
43420 for flag in $(EXTRA_TARGET_FLAGS); do \
43421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43422 done; \
43423 (cd $(TARGET_SUBDIR)/rda && \
43424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43426 "RANLIB=$${RANLIB}" \
43427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43428 maintainer-clean) \
43429 || exit 1
43431 @endif target-rda
43437 .PHONY: configure-target-libada maybe-configure-target-libada
43438 maybe-configure-target-libada:
43439 @if gcc-bootstrap
43440 configure-target-libada: stage_current
43441 @endif gcc-bootstrap
43442 @if target-libada
43443 maybe-configure-target-libada: configure-target-libada
43444 configure-target-libada:
43445 @: $(MAKE); $(unstage)
43446 @r=`${PWD_COMMAND}`; export r; \
43447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43448 echo "Checking multilib configuration for libada..."; \
43449 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
43450 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libada/multilib.tmp 2> /dev/null ; \
43451 if test -r $(TARGET_SUBDIR)/libada/multilib.out; then \
43452 if cmp -s $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; then \
43453 rm -f $(TARGET_SUBDIR)/libada/multilib.tmp; \
43454 else \
43455 rm -f $(TARGET_SUBDIR)/libada/Makefile; \
43456 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
43457 fi; \
43458 else \
43459 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
43460 fi; \
43461 test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
43462 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
43463 $(NORMAL_TARGET_EXPORTS) \
43464 echo Configuring in $(TARGET_SUBDIR)/libada; \
43465 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
43466 case $(srcdir) in \
43467 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43468 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
43469 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43470 esac; \
43471 module_srcdir=libada; \
43472 rm -f no-such-file || : ; \
43473 CONFIG_SITE=no-such-file $(SHELL) \
43474 $$s/$$module_srcdir/configure \
43475 --srcdir=$${topdir}/$$module_srcdir \
43476 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43477 --target=${target_alias} \
43478 || exit 1
43479 @endif target-libada
43485 .PHONY: all-target-libada maybe-all-target-libada
43486 maybe-all-target-libada:
43487 @if gcc-bootstrap
43488 all-target-libada: stage_current
43489 @endif gcc-bootstrap
43490 @if target-libada
43491 TARGET-target-libada=all
43492 maybe-all-target-libada: all-target-libada
43493 all-target-libada: configure-target-libada
43494 @: $(MAKE); $(unstage)
43495 @r=`${PWD_COMMAND}`; export r; \
43496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43497 $(NORMAL_TARGET_EXPORTS) \
43498 (cd $(TARGET_SUBDIR)/libada && \
43499 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
43500 $(TARGET-target-libada))
43501 @endif target-libada
43507 .PHONY: check-target-libada maybe-check-target-libada
43508 maybe-check-target-libada:
43509 @if target-libada
43510 maybe-check-target-libada: check-target-libada
43512 check-target-libada:
43513 @: $(MAKE); $(unstage)
43514 @r=`${PWD_COMMAND}`; export r; \
43515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43516 $(NORMAL_TARGET_EXPORTS) \
43517 (cd $(TARGET_SUBDIR)/libada && \
43518 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
43520 @endif target-libada
43522 .PHONY: install-target-libada maybe-install-target-libada
43523 maybe-install-target-libada:
43524 @if target-libada
43525 maybe-install-target-libada: install-target-libada
43527 install-target-libada: installdirs
43528 @: $(MAKE); $(unstage)
43529 @r=`${PWD_COMMAND}`; export r; \
43530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43531 $(NORMAL_TARGET_EXPORTS) \
43532 (cd $(TARGET_SUBDIR)/libada && \
43533 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
43535 @endif target-libada
43537 .PHONY: install-strip-target-libada maybe-install-strip-target-libada
43538 maybe-install-strip-target-libada:
43539 @if target-libada
43540 maybe-install-strip-target-libada: install-strip-target-libada
43542 install-strip-target-libada: installdirs
43543 @: $(MAKE); $(unstage)
43544 @r=`${PWD_COMMAND}`; export r; \
43545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43546 $(NORMAL_TARGET_EXPORTS) \
43547 (cd $(TARGET_SUBDIR)/libada && \
43548 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
43550 @endif target-libada
43552 # Other targets (info, dvi, pdf, etc.)
43554 .PHONY: maybe-info-target-libada info-target-libada
43555 maybe-info-target-libada:
43556 @if target-libada
43557 maybe-info-target-libada: info-target-libada
43559 info-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 info 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 info) \
43576 || exit 1
43578 @endif target-libada
43580 .PHONY: maybe-dvi-target-libada dvi-target-libada
43581 maybe-dvi-target-libada:
43582 @if target-libada
43583 maybe-dvi-target-libada: dvi-target-libada
43585 dvi-target-libada: \
43586 configure-target-libada
43587 @: $(MAKE); $(unstage)
43588 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43589 r=`${PWD_COMMAND}`; export r; \
43590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43591 $(NORMAL_TARGET_EXPORTS) \
43592 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
43593 for flag in $(EXTRA_TARGET_FLAGS); do \
43594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43595 done; \
43596 (cd $(TARGET_SUBDIR)/libada && \
43597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43599 "RANLIB=$${RANLIB}" \
43600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43601 dvi) \
43602 || exit 1
43604 @endif target-libada
43606 .PHONY: maybe-pdf-target-libada pdf-target-libada
43607 maybe-pdf-target-libada:
43608 @if target-libada
43609 maybe-pdf-target-libada: pdf-target-libada
43611 pdf-target-libada: \
43612 configure-target-libada
43613 @: $(MAKE); $(unstage)
43614 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43615 r=`${PWD_COMMAND}`; export r; \
43616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43617 $(NORMAL_TARGET_EXPORTS) \
43618 echo "Doing pdf in $(TARGET_SUBDIR)/libada" ; \
43619 for flag in $(EXTRA_TARGET_FLAGS); do \
43620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43621 done; \
43622 (cd $(TARGET_SUBDIR)/libada && \
43623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43625 "RANLIB=$${RANLIB}" \
43626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43627 pdf) \
43628 || exit 1
43630 @endif target-libada
43632 .PHONY: maybe-html-target-libada html-target-libada
43633 maybe-html-target-libada:
43634 @if target-libada
43635 maybe-html-target-libada: html-target-libada
43637 html-target-libada: \
43638 configure-target-libada
43639 @: $(MAKE); $(unstage)
43640 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43641 r=`${PWD_COMMAND}`; export r; \
43642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43643 $(NORMAL_TARGET_EXPORTS) \
43644 echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
43645 for flag in $(EXTRA_TARGET_FLAGS); do \
43646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43647 done; \
43648 (cd $(TARGET_SUBDIR)/libada && \
43649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43651 "RANLIB=$${RANLIB}" \
43652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43653 html) \
43654 || exit 1
43656 @endif target-libada
43658 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
43659 maybe-TAGS-target-libada:
43660 @if target-libada
43661 maybe-TAGS-target-libada: TAGS-target-libada
43663 TAGS-target-libada: \
43664 configure-target-libada
43665 @: $(MAKE); $(unstage)
43666 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43667 r=`${PWD_COMMAND}`; export r; \
43668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43669 $(NORMAL_TARGET_EXPORTS) \
43670 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
43671 for flag in $(EXTRA_TARGET_FLAGS); do \
43672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43673 done; \
43674 (cd $(TARGET_SUBDIR)/libada && \
43675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43677 "RANLIB=$${RANLIB}" \
43678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43679 TAGS) \
43680 || exit 1
43682 @endif target-libada
43684 .PHONY: maybe-install-info-target-libada install-info-target-libada
43685 maybe-install-info-target-libada:
43686 @if target-libada
43687 maybe-install-info-target-libada: install-info-target-libada
43689 install-info-target-libada: \
43690 configure-target-libada \
43691 info-target-libada
43692 @: $(MAKE); $(unstage)
43693 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43694 r=`${PWD_COMMAND}`; export r; \
43695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43696 $(NORMAL_TARGET_EXPORTS) \
43697 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
43698 for flag in $(EXTRA_TARGET_FLAGS); do \
43699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43700 done; \
43701 (cd $(TARGET_SUBDIR)/libada && \
43702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43704 "RANLIB=$${RANLIB}" \
43705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43706 install-info) \
43707 || exit 1
43709 @endif target-libada
43711 .PHONY: maybe-install-pdf-target-libada install-pdf-target-libada
43712 maybe-install-pdf-target-libada:
43713 @if target-libada
43714 maybe-install-pdf-target-libada: install-pdf-target-libada
43716 install-pdf-target-libada: \
43717 configure-target-libada \
43718 pdf-target-libada
43719 @: $(MAKE); $(unstage)
43720 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43721 r=`${PWD_COMMAND}`; export r; \
43722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43723 $(NORMAL_TARGET_EXPORTS) \
43724 echo "Doing install-pdf in $(TARGET_SUBDIR)/libada" ; \
43725 for flag in $(EXTRA_TARGET_FLAGS); do \
43726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43727 done; \
43728 (cd $(TARGET_SUBDIR)/libada && \
43729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43731 "RANLIB=$${RANLIB}" \
43732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43733 install-pdf) \
43734 || exit 1
43736 @endif target-libada
43738 .PHONY: maybe-install-html-target-libada install-html-target-libada
43739 maybe-install-html-target-libada:
43740 @if target-libada
43741 maybe-install-html-target-libada: install-html-target-libada
43743 install-html-target-libada: \
43744 configure-target-libada \
43745 html-target-libada
43746 @: $(MAKE); $(unstage)
43747 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43748 r=`${PWD_COMMAND}`; export r; \
43749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43750 $(NORMAL_TARGET_EXPORTS) \
43751 echo "Doing install-html in $(TARGET_SUBDIR)/libada" ; \
43752 for flag in $(EXTRA_TARGET_FLAGS); do \
43753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43754 done; \
43755 (cd $(TARGET_SUBDIR)/libada && \
43756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43758 "RANLIB=$${RANLIB}" \
43759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43760 install-html) \
43761 || exit 1
43763 @endif target-libada
43765 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
43766 maybe-installcheck-target-libada:
43767 @if target-libada
43768 maybe-installcheck-target-libada: installcheck-target-libada
43770 installcheck-target-libada: \
43771 configure-target-libada
43772 @: $(MAKE); $(unstage)
43773 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43774 r=`${PWD_COMMAND}`; export r; \
43775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43776 $(NORMAL_TARGET_EXPORTS) \
43777 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
43778 for flag in $(EXTRA_TARGET_FLAGS); do \
43779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43780 done; \
43781 (cd $(TARGET_SUBDIR)/libada && \
43782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43784 "RANLIB=$${RANLIB}" \
43785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43786 installcheck) \
43787 || exit 1
43789 @endif target-libada
43791 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
43792 maybe-mostlyclean-target-libada:
43793 @if target-libada
43794 maybe-mostlyclean-target-libada: mostlyclean-target-libada
43796 mostlyclean-target-libada:
43797 @: $(MAKE); $(unstage)
43798 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43799 r=`${PWD_COMMAND}`; export r; \
43800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43801 $(NORMAL_TARGET_EXPORTS) \
43802 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
43803 for flag in $(EXTRA_TARGET_FLAGS); do \
43804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43805 done; \
43806 (cd $(TARGET_SUBDIR)/libada && \
43807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43809 "RANLIB=$${RANLIB}" \
43810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43811 mostlyclean) \
43812 || exit 1
43814 @endif target-libada
43816 .PHONY: maybe-clean-target-libada clean-target-libada
43817 maybe-clean-target-libada:
43818 @if target-libada
43819 maybe-clean-target-libada: clean-target-libada
43821 clean-target-libada:
43822 @: $(MAKE); $(unstage)
43823 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43824 r=`${PWD_COMMAND}`; export r; \
43825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43826 $(NORMAL_TARGET_EXPORTS) \
43827 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
43828 for flag in $(EXTRA_TARGET_FLAGS); do \
43829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43830 done; \
43831 (cd $(TARGET_SUBDIR)/libada && \
43832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43834 "RANLIB=$${RANLIB}" \
43835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43836 clean) \
43837 || exit 1
43839 @endif target-libada
43841 .PHONY: maybe-distclean-target-libada distclean-target-libada
43842 maybe-distclean-target-libada:
43843 @if target-libada
43844 maybe-distclean-target-libada: distclean-target-libada
43846 distclean-target-libada:
43847 @: $(MAKE); $(unstage)
43848 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43849 r=`${PWD_COMMAND}`; export r; \
43850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43851 $(NORMAL_TARGET_EXPORTS) \
43852 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
43853 for flag in $(EXTRA_TARGET_FLAGS); do \
43854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43855 done; \
43856 (cd $(TARGET_SUBDIR)/libada && \
43857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43859 "RANLIB=$${RANLIB}" \
43860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43861 distclean) \
43862 || exit 1
43864 @endif target-libada
43866 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
43867 maybe-maintainer-clean-target-libada:
43868 @if target-libada
43869 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
43871 maintainer-clean-target-libada:
43872 @: $(MAKE); $(unstage)
43873 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
43874 r=`${PWD_COMMAND}`; export r; \
43875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43876 $(NORMAL_TARGET_EXPORTS) \
43877 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
43878 for flag in $(EXTRA_TARGET_FLAGS); do \
43879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43880 done; \
43881 (cd $(TARGET_SUBDIR)/libada && \
43882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43884 "RANLIB=$${RANLIB}" \
43885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43886 maintainer-clean) \
43887 || exit 1
43889 @endif target-libada
43895 .PHONY: configure-target-libgomp maybe-configure-target-libgomp
43896 maybe-configure-target-libgomp:
43897 @if gcc-bootstrap
43898 configure-target-libgomp: stage_current
43899 @endif gcc-bootstrap
43900 @if target-libgomp
43901 maybe-configure-target-libgomp: configure-target-libgomp
43902 configure-target-libgomp:
43903 @r=`${PWD_COMMAND}`; export r; \
43904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43905 echo "Checking multilib configuration for libgomp..."; \
43906 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
43907 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
43908 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
43909 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
43910 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
43911 else \
43912 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
43913 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
43914 fi; \
43915 else \
43916 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
43917 fi; \
43918 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
43919 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
43920 $(NORMAL_TARGET_EXPORTS) \
43921 echo Configuring in $(TARGET_SUBDIR)/libgomp; \
43922 cd "$(TARGET_SUBDIR)/libgomp" || exit 1; \
43923 case $(srcdir) in \
43924 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43925 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
43926 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43927 esac; \
43928 module_srcdir=libgomp; \
43929 rm -f no-such-file || : ; \
43930 CONFIG_SITE=no-such-file $(SHELL) \
43931 $$s/$$module_srcdir/configure \
43932 --srcdir=$${topdir}/$$module_srcdir \
43933 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43934 --target=${target_alias} \
43935 || exit 1
43936 @endif target-libgomp
43940 .PHONY: configure-stage1-target-libgomp maybe-configure-stage1-target-libgomp
43941 maybe-configure-stage1-target-libgomp:
43942 @if target-libgomp-bootstrap
43943 maybe-configure-stage1-target-libgomp: configure-stage1-target-libgomp
43944 configure-stage1-target-libgomp:
43945 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
43946 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
43947 @r=`${PWD_COMMAND}`; export r; \
43948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43949 TFLAGS="$(STAGE1_TFLAGS)"; \
43950 echo "Checking multilib configuration for libgomp..."; \
43951 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
43952 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
43953 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
43954 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
43955 else \
43956 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
43957 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
43958 fi; \
43959 else \
43960 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
43961 fi; \
43962 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
43963 $(NORMAL_TARGET_EXPORTS) \
43964 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
43965 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
43966 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
43967 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgomp ; \
43968 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
43969 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
43970 case $(srcdir) in \
43971 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43972 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
43973 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43974 esac; \
43975 module_srcdir=libgomp; \
43976 $(SHELL) $$s/$$module_srcdir/configure \
43977 --srcdir=$${topdir}/$$module_srcdir \
43978 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43979 --target=${target_alias} \
43981 $(STAGE1_CONFIGURE_FLAGS)
43982 @endif target-libgomp-bootstrap
43984 .PHONY: configure-stage2-target-libgomp maybe-configure-stage2-target-libgomp
43985 maybe-configure-stage2-target-libgomp:
43986 @if target-libgomp-bootstrap
43987 maybe-configure-stage2-target-libgomp: configure-stage2-target-libgomp
43988 configure-stage2-target-libgomp:
43989 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
43990 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
43991 @r=`${PWD_COMMAND}`; export r; \
43992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43993 TFLAGS="$(STAGE2_TFLAGS)"; \
43994 echo "Checking multilib configuration for libgomp..."; \
43995 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
43996 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
43997 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
43998 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
43999 else \
44000 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
44001 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
44002 fi; \
44003 else \
44004 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
44005 fi; \
44006 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
44007 $(NORMAL_TARGET_EXPORTS) \
44009 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44010 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44011 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44012 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgomp ; \
44013 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
44014 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
44015 case $(srcdir) in \
44016 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44017 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
44018 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44019 esac; \
44020 module_srcdir=libgomp; \
44021 $(SHELL) $$s/$$module_srcdir/configure \
44022 --srcdir=$${topdir}/$$module_srcdir \
44023 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44024 --target=${target_alias} \
44025 --with-build-libsubdir=$(HOST_SUBDIR) \
44026 $(STAGE2_CONFIGURE_FLAGS)
44027 @endif target-libgomp-bootstrap
44029 .PHONY: configure-stage3-target-libgomp maybe-configure-stage3-target-libgomp
44030 maybe-configure-stage3-target-libgomp:
44031 @if target-libgomp-bootstrap
44032 maybe-configure-stage3-target-libgomp: configure-stage3-target-libgomp
44033 configure-stage3-target-libgomp:
44034 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
44035 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
44036 @r=`${PWD_COMMAND}`; export r; \
44037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44038 TFLAGS="$(STAGE3_TFLAGS)"; \
44039 echo "Checking multilib configuration for libgomp..."; \
44040 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
44041 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
44042 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
44043 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
44044 else \
44045 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
44046 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
44047 fi; \
44048 else \
44049 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
44050 fi; \
44051 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
44052 $(NORMAL_TARGET_EXPORTS) \
44054 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44055 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44056 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44057 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgomp ; \
44058 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
44059 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
44060 case $(srcdir) in \
44061 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44062 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
44063 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44064 esac; \
44065 module_srcdir=libgomp; \
44066 $(SHELL) $$s/$$module_srcdir/configure \
44067 --srcdir=$${topdir}/$$module_srcdir \
44068 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44069 --target=${target_alias} \
44070 --with-build-libsubdir=$(HOST_SUBDIR) \
44071 $(STAGE3_CONFIGURE_FLAGS)
44072 @endif target-libgomp-bootstrap
44074 .PHONY: configure-stage4-target-libgomp maybe-configure-stage4-target-libgomp
44075 maybe-configure-stage4-target-libgomp:
44076 @if target-libgomp-bootstrap
44077 maybe-configure-stage4-target-libgomp: configure-stage4-target-libgomp
44078 configure-stage4-target-libgomp:
44079 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
44080 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
44081 @r=`${PWD_COMMAND}`; export r; \
44082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44083 TFLAGS="$(STAGE4_TFLAGS)"; \
44084 echo "Checking multilib configuration for libgomp..."; \
44085 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
44086 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
44087 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
44088 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
44089 else \
44090 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
44091 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
44092 fi; \
44093 else \
44094 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
44095 fi; \
44096 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
44097 $(NORMAL_TARGET_EXPORTS) \
44099 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44100 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44101 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44102 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgomp ; \
44103 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
44104 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
44105 case $(srcdir) in \
44106 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44107 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
44108 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44109 esac; \
44110 module_srcdir=libgomp; \
44111 $(SHELL) $$s/$$module_srcdir/configure \
44112 --srcdir=$${topdir}/$$module_srcdir \
44113 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44114 --target=${target_alias} \
44115 --with-build-libsubdir=$(HOST_SUBDIR) \
44116 $(STAGE4_CONFIGURE_FLAGS)
44117 @endif target-libgomp-bootstrap
44119 .PHONY: configure-stageprofile-target-libgomp maybe-configure-stageprofile-target-libgomp
44120 maybe-configure-stageprofile-target-libgomp:
44121 @if target-libgomp-bootstrap
44122 maybe-configure-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
44123 configure-stageprofile-target-libgomp:
44124 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
44125 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
44126 @r=`${PWD_COMMAND}`; export r; \
44127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44128 TFLAGS="$(STAGEprofile_TFLAGS)"; \
44129 echo "Checking multilib configuration for libgomp..."; \
44130 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
44131 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
44132 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
44133 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
44134 else \
44135 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
44136 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
44137 fi; \
44138 else \
44139 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
44140 fi; \
44141 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
44142 $(NORMAL_TARGET_EXPORTS) \
44144 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44145 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44146 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44147 echo Configuring stage profile in $(TARGET_SUBDIR)/libgomp ; \
44148 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
44149 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
44150 case $(srcdir) in \
44151 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44152 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
44153 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44154 esac; \
44155 module_srcdir=libgomp; \
44156 $(SHELL) $$s/$$module_srcdir/configure \
44157 --srcdir=$${topdir}/$$module_srcdir \
44158 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44159 --target=${target_alias} \
44160 --with-build-libsubdir=$(HOST_SUBDIR) \
44161 $(STAGEprofile_CONFIGURE_FLAGS)
44162 @endif target-libgomp-bootstrap
44164 .PHONY: configure-stagefeedback-target-libgomp maybe-configure-stagefeedback-target-libgomp
44165 maybe-configure-stagefeedback-target-libgomp:
44166 @if target-libgomp-bootstrap
44167 maybe-configure-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
44168 configure-stagefeedback-target-libgomp:
44169 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
44170 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
44171 @r=`${PWD_COMMAND}`; export r; \
44172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44173 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
44174 echo "Checking multilib configuration for libgomp..."; \
44175 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
44176 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
44177 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
44178 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
44179 else \
44180 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
44181 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
44182 fi; \
44183 else \
44184 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
44185 fi; \
44186 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
44187 $(NORMAL_TARGET_EXPORTS) \
44189 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44190 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44191 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44192 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgomp ; \
44193 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
44194 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
44195 case $(srcdir) in \
44196 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44197 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
44198 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44199 esac; \
44200 module_srcdir=libgomp; \
44201 $(SHELL) $$s/$$module_srcdir/configure \
44202 --srcdir=$${topdir}/$$module_srcdir \
44203 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44204 --target=${target_alias} \
44205 --with-build-libsubdir=$(HOST_SUBDIR) \
44206 $(STAGEfeedback_CONFIGURE_FLAGS)
44207 @endif target-libgomp-bootstrap
44213 .PHONY: all-target-libgomp maybe-all-target-libgomp
44214 maybe-all-target-libgomp:
44215 @if gcc-bootstrap
44216 all-target-libgomp: stage_current
44217 @endif gcc-bootstrap
44218 @if target-libgomp
44219 TARGET-target-libgomp=all
44220 maybe-all-target-libgomp: all-target-libgomp
44221 all-target-libgomp: configure-target-libgomp
44222 @r=`${PWD_COMMAND}`; export r; \
44223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44224 $(NORMAL_TARGET_EXPORTS) \
44225 (cd $(TARGET_SUBDIR)/libgomp && \
44226 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
44227 $(TARGET-target-libgomp))
44228 @endif target-libgomp
44232 .PHONY: all-stage1-target-libgomp maybe-all-stage1-target-libgomp
44233 .PHONY: clean-stage1-target-libgomp maybe-clean-stage1-target-libgomp
44234 maybe-all-stage1-target-libgomp:
44235 maybe-clean-stage1-target-libgomp:
44236 @if target-libgomp-bootstrap
44237 maybe-all-stage1-target-libgomp: all-stage1-target-libgomp
44238 all-stage1: all-stage1-target-libgomp
44239 TARGET-stage1-target-libgomp = $(TARGET-target-libgomp)
44240 all-stage1-target-libgomp: configure-stage1-target-libgomp
44241 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
44242 @r=`${PWD_COMMAND}`; export r; \
44243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44244 TFLAGS="$(STAGE1_TFLAGS)"; \
44245 $(NORMAL_TARGET_EXPORTS) \
44246 cd $(TARGET_SUBDIR)/libgomp && \
44247 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44248 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44249 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44250 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44251 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44252 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44253 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44254 $(EXTRA_TARGET_FLAGS) \
44256 TFLAGS="$(STAGE1_TFLAGS)" \
44257 $(TARGET-stage1-target-libgomp)
44259 maybe-clean-stage1-target-libgomp: clean-stage1-target-libgomp
44260 clean-stage1: clean-stage1-target-libgomp
44261 clean-stage1-target-libgomp:
44262 @if [ $(current_stage) = stage1 ]; then \
44263 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
44264 else \
44265 [ -f $(TARGET_SUBDIR)/stage1-libgomp/Makefile ] || exit 0; \
44266 $(MAKE) stage1-start; \
44267 fi; \
44268 cd $(TARGET_SUBDIR)/libgomp && \
44269 $(MAKE) $(EXTRA_TARGET_FLAGS) \
44270 clean
44271 @endif target-libgomp-bootstrap
44274 .PHONY: all-stage2-target-libgomp maybe-all-stage2-target-libgomp
44275 .PHONY: clean-stage2-target-libgomp maybe-clean-stage2-target-libgomp
44276 maybe-all-stage2-target-libgomp:
44277 maybe-clean-stage2-target-libgomp:
44278 @if target-libgomp-bootstrap
44279 maybe-all-stage2-target-libgomp: all-stage2-target-libgomp
44280 all-stage2: all-stage2-target-libgomp
44281 TARGET-stage2-target-libgomp = $(TARGET-target-libgomp)
44282 all-stage2-target-libgomp: configure-stage2-target-libgomp
44283 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
44284 @r=`${PWD_COMMAND}`; export r; \
44285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44286 TFLAGS="$(STAGE2_TFLAGS)"; \
44287 $(NORMAL_TARGET_EXPORTS) \
44289 cd $(TARGET_SUBDIR)/libgomp && \
44290 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44291 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44292 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44293 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44294 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44295 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44296 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44297 $(EXTRA_TARGET_FLAGS) \
44298 TFLAGS="$(STAGE2_TFLAGS)" \
44299 $(TARGET-stage2-target-libgomp)
44301 maybe-clean-stage2-target-libgomp: clean-stage2-target-libgomp
44302 clean-stage2: clean-stage2-target-libgomp
44303 clean-stage2-target-libgomp:
44304 @if [ $(current_stage) = stage2 ]; then \
44305 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
44306 else \
44307 [ -f $(TARGET_SUBDIR)/stage2-libgomp/Makefile ] || exit 0; \
44308 $(MAKE) stage2-start; \
44309 fi; \
44310 cd $(TARGET_SUBDIR)/libgomp && \
44311 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
44312 @endif target-libgomp-bootstrap
44315 .PHONY: all-stage3-target-libgomp maybe-all-stage3-target-libgomp
44316 .PHONY: clean-stage3-target-libgomp maybe-clean-stage3-target-libgomp
44317 maybe-all-stage3-target-libgomp:
44318 maybe-clean-stage3-target-libgomp:
44319 @if target-libgomp-bootstrap
44320 maybe-all-stage3-target-libgomp: all-stage3-target-libgomp
44321 all-stage3: all-stage3-target-libgomp
44322 TARGET-stage3-target-libgomp = $(TARGET-target-libgomp)
44323 all-stage3-target-libgomp: configure-stage3-target-libgomp
44324 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
44325 @r=`${PWD_COMMAND}`; export r; \
44326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44327 TFLAGS="$(STAGE3_TFLAGS)"; \
44328 $(NORMAL_TARGET_EXPORTS) \
44330 cd $(TARGET_SUBDIR)/libgomp && \
44331 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44332 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44333 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44334 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44335 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44336 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44337 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44338 $(EXTRA_TARGET_FLAGS) \
44339 TFLAGS="$(STAGE3_TFLAGS)" \
44340 $(TARGET-stage3-target-libgomp)
44342 maybe-clean-stage3-target-libgomp: clean-stage3-target-libgomp
44343 clean-stage3: clean-stage3-target-libgomp
44344 clean-stage3-target-libgomp:
44345 @if [ $(current_stage) = stage3 ]; then \
44346 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
44347 else \
44348 [ -f $(TARGET_SUBDIR)/stage3-libgomp/Makefile ] || exit 0; \
44349 $(MAKE) stage3-start; \
44350 fi; \
44351 cd $(TARGET_SUBDIR)/libgomp && \
44352 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
44353 @endif target-libgomp-bootstrap
44356 .PHONY: all-stage4-target-libgomp maybe-all-stage4-target-libgomp
44357 .PHONY: clean-stage4-target-libgomp maybe-clean-stage4-target-libgomp
44358 maybe-all-stage4-target-libgomp:
44359 maybe-clean-stage4-target-libgomp:
44360 @if target-libgomp-bootstrap
44361 maybe-all-stage4-target-libgomp: all-stage4-target-libgomp
44362 all-stage4: all-stage4-target-libgomp
44363 TARGET-stage4-target-libgomp = $(TARGET-target-libgomp)
44364 all-stage4-target-libgomp: configure-stage4-target-libgomp
44365 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
44366 @r=`${PWD_COMMAND}`; export r; \
44367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44368 TFLAGS="$(STAGE4_TFLAGS)"; \
44369 $(NORMAL_TARGET_EXPORTS) \
44371 cd $(TARGET_SUBDIR)/libgomp && \
44372 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44373 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44374 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44375 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44376 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44377 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44378 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44379 $(EXTRA_TARGET_FLAGS) \
44380 TFLAGS="$(STAGE4_TFLAGS)" \
44381 $(TARGET-stage4-target-libgomp)
44383 maybe-clean-stage4-target-libgomp: clean-stage4-target-libgomp
44384 clean-stage4: clean-stage4-target-libgomp
44385 clean-stage4-target-libgomp:
44386 @if [ $(current_stage) = stage4 ]; then \
44387 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
44388 else \
44389 [ -f $(TARGET_SUBDIR)/stage4-libgomp/Makefile ] || exit 0; \
44390 $(MAKE) stage4-start; \
44391 fi; \
44392 cd $(TARGET_SUBDIR)/libgomp && \
44393 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
44394 @endif target-libgomp-bootstrap
44397 .PHONY: all-stageprofile-target-libgomp maybe-all-stageprofile-target-libgomp
44398 .PHONY: clean-stageprofile-target-libgomp maybe-clean-stageprofile-target-libgomp
44399 maybe-all-stageprofile-target-libgomp:
44400 maybe-clean-stageprofile-target-libgomp:
44401 @if target-libgomp-bootstrap
44402 maybe-all-stageprofile-target-libgomp: all-stageprofile-target-libgomp
44403 all-stageprofile: all-stageprofile-target-libgomp
44404 TARGET-stageprofile-target-libgomp = $(TARGET-target-libgomp)
44405 all-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
44406 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
44407 @r=`${PWD_COMMAND}`; export r; \
44408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44409 TFLAGS="$(STAGEprofile_TFLAGS)"; \
44410 $(NORMAL_TARGET_EXPORTS) \
44412 cd $(TARGET_SUBDIR)/libgomp && \
44413 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44414 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44415 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44416 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44417 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44418 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44419 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44420 $(EXTRA_TARGET_FLAGS) \
44421 TFLAGS="$(STAGEprofile_TFLAGS)" \
44422 $(TARGET-stageprofile-target-libgomp)
44424 maybe-clean-stageprofile-target-libgomp: clean-stageprofile-target-libgomp
44425 clean-stageprofile: clean-stageprofile-target-libgomp
44426 clean-stageprofile-target-libgomp:
44427 @if [ $(current_stage) = stageprofile ]; then \
44428 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
44429 else \
44430 [ -f $(TARGET_SUBDIR)/stageprofile-libgomp/Makefile ] || exit 0; \
44431 $(MAKE) stageprofile-start; \
44432 fi; \
44433 cd $(TARGET_SUBDIR)/libgomp && \
44434 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
44435 @endif target-libgomp-bootstrap
44438 .PHONY: all-stagefeedback-target-libgomp maybe-all-stagefeedback-target-libgomp
44439 .PHONY: clean-stagefeedback-target-libgomp maybe-clean-stagefeedback-target-libgomp
44440 maybe-all-stagefeedback-target-libgomp:
44441 maybe-clean-stagefeedback-target-libgomp:
44442 @if target-libgomp-bootstrap
44443 maybe-all-stagefeedback-target-libgomp: all-stagefeedback-target-libgomp
44444 all-stagefeedback: all-stagefeedback-target-libgomp
44445 TARGET-stagefeedback-target-libgomp = $(TARGET-target-libgomp)
44446 all-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
44447 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
44448 @r=`${PWD_COMMAND}`; export r; \
44449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44450 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
44451 $(NORMAL_TARGET_EXPORTS) \
44453 cd $(TARGET_SUBDIR)/libgomp && \
44454 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44455 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44456 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44457 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44458 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44459 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44460 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44461 $(EXTRA_TARGET_FLAGS) \
44462 TFLAGS="$(STAGEfeedback_TFLAGS)" \
44463 $(TARGET-stagefeedback-target-libgomp)
44465 maybe-clean-stagefeedback-target-libgomp: clean-stagefeedback-target-libgomp
44466 clean-stagefeedback: clean-stagefeedback-target-libgomp
44467 clean-stagefeedback-target-libgomp:
44468 @if [ $(current_stage) = stagefeedback ]; then \
44469 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
44470 else \
44471 [ -f $(TARGET_SUBDIR)/stagefeedback-libgomp/Makefile ] || exit 0; \
44472 $(MAKE) stagefeedback-start; \
44473 fi; \
44474 cd $(TARGET_SUBDIR)/libgomp && \
44475 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
44476 @endif target-libgomp-bootstrap
44483 .PHONY: check-target-libgomp maybe-check-target-libgomp
44484 maybe-check-target-libgomp:
44485 @if target-libgomp
44486 maybe-check-target-libgomp: check-target-libgomp
44488 check-target-libgomp:
44489 @: $(MAKE); $(unstage)
44490 @r=`${PWD_COMMAND}`; export r; \
44491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44492 $(NORMAL_TARGET_EXPORTS) \
44493 (cd $(TARGET_SUBDIR)/libgomp && \
44494 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
44496 @endif target-libgomp
44498 .PHONY: install-target-libgomp maybe-install-target-libgomp
44499 maybe-install-target-libgomp:
44500 @if target-libgomp
44501 maybe-install-target-libgomp: install-target-libgomp
44503 install-target-libgomp: installdirs
44504 @: $(MAKE); $(unstage)
44505 @r=`${PWD_COMMAND}`; export r; \
44506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44507 $(NORMAL_TARGET_EXPORTS) \
44508 (cd $(TARGET_SUBDIR)/libgomp && \
44509 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
44511 @endif target-libgomp
44513 .PHONY: install-strip-target-libgomp maybe-install-strip-target-libgomp
44514 maybe-install-strip-target-libgomp:
44515 @if target-libgomp
44516 maybe-install-strip-target-libgomp: install-strip-target-libgomp
44518 install-strip-target-libgomp: installdirs
44519 @: $(MAKE); $(unstage)
44520 @r=`${PWD_COMMAND}`; export r; \
44521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44522 $(NORMAL_TARGET_EXPORTS) \
44523 (cd $(TARGET_SUBDIR)/libgomp && \
44524 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
44526 @endif target-libgomp
44528 # Other targets (info, dvi, pdf, etc.)
44530 .PHONY: maybe-info-target-libgomp info-target-libgomp
44531 maybe-info-target-libgomp:
44532 @if target-libgomp
44533 maybe-info-target-libgomp: info-target-libgomp
44535 info-target-libgomp: \
44536 configure-target-libgomp
44537 @: $(MAKE); $(unstage)
44538 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44539 r=`${PWD_COMMAND}`; export r; \
44540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44541 $(NORMAL_TARGET_EXPORTS) \
44542 echo "Doing info in $(TARGET_SUBDIR)/libgomp" ; \
44543 for flag in $(EXTRA_TARGET_FLAGS); do \
44544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44545 done; \
44546 (cd $(TARGET_SUBDIR)/libgomp && \
44547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44549 "RANLIB=$${RANLIB}" \
44550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44551 info) \
44552 || exit 1
44554 @endif target-libgomp
44556 .PHONY: maybe-dvi-target-libgomp dvi-target-libgomp
44557 maybe-dvi-target-libgomp:
44558 @if target-libgomp
44559 maybe-dvi-target-libgomp: dvi-target-libgomp
44561 dvi-target-libgomp: \
44562 configure-target-libgomp
44563 @: $(MAKE); $(unstage)
44564 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44565 r=`${PWD_COMMAND}`; export r; \
44566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44567 $(NORMAL_TARGET_EXPORTS) \
44568 echo "Doing dvi in $(TARGET_SUBDIR)/libgomp" ; \
44569 for flag in $(EXTRA_TARGET_FLAGS); do \
44570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44571 done; \
44572 (cd $(TARGET_SUBDIR)/libgomp && \
44573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44575 "RANLIB=$${RANLIB}" \
44576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44577 dvi) \
44578 || exit 1
44580 @endif target-libgomp
44582 .PHONY: maybe-pdf-target-libgomp pdf-target-libgomp
44583 maybe-pdf-target-libgomp:
44584 @if target-libgomp
44585 maybe-pdf-target-libgomp: pdf-target-libgomp
44587 pdf-target-libgomp: \
44588 configure-target-libgomp
44589 @: $(MAKE); $(unstage)
44590 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44591 r=`${PWD_COMMAND}`; export r; \
44592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44593 $(NORMAL_TARGET_EXPORTS) \
44594 echo "Doing pdf in $(TARGET_SUBDIR)/libgomp" ; \
44595 for flag in $(EXTRA_TARGET_FLAGS); do \
44596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44597 done; \
44598 (cd $(TARGET_SUBDIR)/libgomp && \
44599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44601 "RANLIB=$${RANLIB}" \
44602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44603 pdf) \
44604 || exit 1
44606 @endif target-libgomp
44608 .PHONY: maybe-html-target-libgomp html-target-libgomp
44609 maybe-html-target-libgomp:
44610 @if target-libgomp
44611 maybe-html-target-libgomp: html-target-libgomp
44613 html-target-libgomp: \
44614 configure-target-libgomp
44615 @: $(MAKE); $(unstage)
44616 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44617 r=`${PWD_COMMAND}`; export r; \
44618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44619 $(NORMAL_TARGET_EXPORTS) \
44620 echo "Doing html in $(TARGET_SUBDIR)/libgomp" ; \
44621 for flag in $(EXTRA_TARGET_FLAGS); do \
44622 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44623 done; \
44624 (cd $(TARGET_SUBDIR)/libgomp && \
44625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44627 "RANLIB=$${RANLIB}" \
44628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44629 html) \
44630 || exit 1
44632 @endif target-libgomp
44634 .PHONY: maybe-TAGS-target-libgomp TAGS-target-libgomp
44635 maybe-TAGS-target-libgomp:
44636 @if target-libgomp
44637 maybe-TAGS-target-libgomp: TAGS-target-libgomp
44639 TAGS-target-libgomp: \
44640 configure-target-libgomp
44641 @: $(MAKE); $(unstage)
44642 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44643 r=`${PWD_COMMAND}`; export r; \
44644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44645 $(NORMAL_TARGET_EXPORTS) \
44646 echo "Doing TAGS in $(TARGET_SUBDIR)/libgomp" ; \
44647 for flag in $(EXTRA_TARGET_FLAGS); do \
44648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44649 done; \
44650 (cd $(TARGET_SUBDIR)/libgomp && \
44651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44653 "RANLIB=$${RANLIB}" \
44654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44655 TAGS) \
44656 || exit 1
44658 @endif target-libgomp
44660 .PHONY: maybe-install-info-target-libgomp install-info-target-libgomp
44661 maybe-install-info-target-libgomp:
44662 @if target-libgomp
44663 maybe-install-info-target-libgomp: install-info-target-libgomp
44665 install-info-target-libgomp: \
44666 configure-target-libgomp \
44667 info-target-libgomp
44668 @: $(MAKE); $(unstage)
44669 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44670 r=`${PWD_COMMAND}`; export r; \
44671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44672 $(NORMAL_TARGET_EXPORTS) \
44673 echo "Doing install-info in $(TARGET_SUBDIR)/libgomp" ; \
44674 for flag in $(EXTRA_TARGET_FLAGS); do \
44675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44676 done; \
44677 (cd $(TARGET_SUBDIR)/libgomp && \
44678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44680 "RANLIB=$${RANLIB}" \
44681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44682 install-info) \
44683 || exit 1
44685 @endif target-libgomp
44687 .PHONY: maybe-install-pdf-target-libgomp install-pdf-target-libgomp
44688 maybe-install-pdf-target-libgomp:
44689 @if target-libgomp
44690 maybe-install-pdf-target-libgomp: install-pdf-target-libgomp
44692 install-pdf-target-libgomp: \
44693 configure-target-libgomp \
44694 pdf-target-libgomp
44695 @: $(MAKE); $(unstage)
44696 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44697 r=`${PWD_COMMAND}`; export r; \
44698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44699 $(NORMAL_TARGET_EXPORTS) \
44700 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgomp" ; \
44701 for flag in $(EXTRA_TARGET_FLAGS); do \
44702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44703 done; \
44704 (cd $(TARGET_SUBDIR)/libgomp && \
44705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44707 "RANLIB=$${RANLIB}" \
44708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44709 install-pdf) \
44710 || exit 1
44712 @endif target-libgomp
44714 .PHONY: maybe-install-html-target-libgomp install-html-target-libgomp
44715 maybe-install-html-target-libgomp:
44716 @if target-libgomp
44717 maybe-install-html-target-libgomp: install-html-target-libgomp
44719 install-html-target-libgomp: \
44720 configure-target-libgomp \
44721 html-target-libgomp
44722 @: $(MAKE); $(unstage)
44723 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44724 r=`${PWD_COMMAND}`; export r; \
44725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44726 $(NORMAL_TARGET_EXPORTS) \
44727 echo "Doing install-html in $(TARGET_SUBDIR)/libgomp" ; \
44728 for flag in $(EXTRA_TARGET_FLAGS); do \
44729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44730 done; \
44731 (cd $(TARGET_SUBDIR)/libgomp && \
44732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44734 "RANLIB=$${RANLIB}" \
44735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44736 install-html) \
44737 || exit 1
44739 @endif target-libgomp
44741 .PHONY: maybe-installcheck-target-libgomp installcheck-target-libgomp
44742 maybe-installcheck-target-libgomp:
44743 @if target-libgomp
44744 maybe-installcheck-target-libgomp: installcheck-target-libgomp
44746 installcheck-target-libgomp: \
44747 configure-target-libgomp
44748 @: $(MAKE); $(unstage)
44749 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44750 r=`${PWD_COMMAND}`; export r; \
44751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44752 $(NORMAL_TARGET_EXPORTS) \
44753 echo "Doing installcheck in $(TARGET_SUBDIR)/libgomp" ; \
44754 for flag in $(EXTRA_TARGET_FLAGS); do \
44755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44756 done; \
44757 (cd $(TARGET_SUBDIR)/libgomp && \
44758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44760 "RANLIB=$${RANLIB}" \
44761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44762 installcheck) \
44763 || exit 1
44765 @endif target-libgomp
44767 .PHONY: maybe-mostlyclean-target-libgomp mostlyclean-target-libgomp
44768 maybe-mostlyclean-target-libgomp:
44769 @if target-libgomp
44770 maybe-mostlyclean-target-libgomp: mostlyclean-target-libgomp
44772 mostlyclean-target-libgomp:
44773 @: $(MAKE); $(unstage)
44774 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44775 r=`${PWD_COMMAND}`; export r; \
44776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44777 $(NORMAL_TARGET_EXPORTS) \
44778 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgomp" ; \
44779 for flag in $(EXTRA_TARGET_FLAGS); do \
44780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44781 done; \
44782 (cd $(TARGET_SUBDIR)/libgomp && \
44783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44785 "RANLIB=$${RANLIB}" \
44786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44787 mostlyclean) \
44788 || exit 1
44790 @endif target-libgomp
44792 .PHONY: maybe-clean-target-libgomp clean-target-libgomp
44793 maybe-clean-target-libgomp:
44794 @if target-libgomp
44795 maybe-clean-target-libgomp: clean-target-libgomp
44797 clean-target-libgomp:
44798 @: $(MAKE); $(unstage)
44799 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44800 r=`${PWD_COMMAND}`; export r; \
44801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44802 $(NORMAL_TARGET_EXPORTS) \
44803 echo "Doing clean in $(TARGET_SUBDIR)/libgomp" ; \
44804 for flag in $(EXTRA_TARGET_FLAGS); do \
44805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44806 done; \
44807 (cd $(TARGET_SUBDIR)/libgomp && \
44808 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44809 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44810 "RANLIB=$${RANLIB}" \
44811 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44812 clean) \
44813 || exit 1
44815 @endif target-libgomp
44817 .PHONY: maybe-distclean-target-libgomp distclean-target-libgomp
44818 maybe-distclean-target-libgomp:
44819 @if target-libgomp
44820 maybe-distclean-target-libgomp: distclean-target-libgomp
44822 distclean-target-libgomp:
44823 @: $(MAKE); $(unstage)
44824 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44825 r=`${PWD_COMMAND}`; export r; \
44826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44827 $(NORMAL_TARGET_EXPORTS) \
44828 echo "Doing distclean in $(TARGET_SUBDIR)/libgomp" ; \
44829 for flag in $(EXTRA_TARGET_FLAGS); do \
44830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44831 done; \
44832 (cd $(TARGET_SUBDIR)/libgomp && \
44833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44835 "RANLIB=$${RANLIB}" \
44836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44837 distclean) \
44838 || exit 1
44840 @endif target-libgomp
44842 .PHONY: maybe-maintainer-clean-target-libgomp maintainer-clean-target-libgomp
44843 maybe-maintainer-clean-target-libgomp:
44844 @if target-libgomp
44845 maybe-maintainer-clean-target-libgomp: maintainer-clean-target-libgomp
44847 maintainer-clean-target-libgomp:
44848 @: $(MAKE); $(unstage)
44849 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
44850 r=`${PWD_COMMAND}`; export r; \
44851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44852 $(NORMAL_TARGET_EXPORTS) \
44853 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgomp" ; \
44854 for flag in $(EXTRA_TARGET_FLAGS); do \
44855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44856 done; \
44857 (cd $(TARGET_SUBDIR)/libgomp && \
44858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44860 "RANLIB=$${RANLIB}" \
44861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44862 maintainer-clean) \
44863 || exit 1
44865 @endif target-libgomp
44871 .PHONY: configure-target-libitm maybe-configure-target-libitm
44872 maybe-configure-target-libitm:
44873 @if gcc-bootstrap
44874 configure-target-libitm: stage_current
44875 @endif gcc-bootstrap
44876 @if target-libitm
44877 maybe-configure-target-libitm: configure-target-libitm
44878 configure-target-libitm:
44879 @: $(MAKE); $(unstage)
44880 @r=`${PWD_COMMAND}`; export r; \
44881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44882 echo "Checking multilib configuration for libitm..."; \
44883 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm ; \
44884 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libitm/multilib.tmp 2> /dev/null ; \
44885 if test -r $(TARGET_SUBDIR)/libitm/multilib.out; then \
44886 if cmp -s $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; then \
44887 rm -f $(TARGET_SUBDIR)/libitm/multilib.tmp; \
44888 else \
44889 rm -f $(TARGET_SUBDIR)/libitm/Makefile; \
44890 mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \
44891 fi; \
44892 else \
44893 mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \
44894 fi; \
44895 test ! -f $(TARGET_SUBDIR)/libitm/Makefile || exit 0; \
44896 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm ; \
44897 $(NORMAL_TARGET_EXPORTS) \
44898 echo Configuring in $(TARGET_SUBDIR)/libitm; \
44899 cd "$(TARGET_SUBDIR)/libitm" || exit 1; \
44900 case $(srcdir) in \
44901 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44902 *) topdir=`echo $(TARGET_SUBDIR)/libitm/ | \
44903 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44904 esac; \
44905 module_srcdir=libitm; \
44906 rm -f no-such-file || : ; \
44907 CONFIG_SITE=no-such-file $(SHELL) \
44908 $$s/$$module_srcdir/configure \
44909 --srcdir=$${topdir}/$$module_srcdir \
44910 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44911 --target=${target_alias} \
44912 || exit 1
44913 @endif target-libitm
44919 .PHONY: all-target-libitm maybe-all-target-libitm
44920 maybe-all-target-libitm:
44921 @if gcc-bootstrap
44922 all-target-libitm: stage_current
44923 @endif gcc-bootstrap
44924 @if target-libitm
44925 TARGET-target-libitm=all
44926 maybe-all-target-libitm: all-target-libitm
44927 all-target-libitm: configure-target-libitm
44928 @: $(MAKE); $(unstage)
44929 @r=`${PWD_COMMAND}`; export r; \
44930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44931 $(NORMAL_TARGET_EXPORTS) \
44932 (cd $(TARGET_SUBDIR)/libitm && \
44933 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
44934 $(TARGET-target-libitm))
44935 @endif target-libitm
44941 .PHONY: check-target-libitm maybe-check-target-libitm
44942 maybe-check-target-libitm:
44943 @if target-libitm
44944 maybe-check-target-libitm: check-target-libitm
44946 check-target-libitm:
44947 @: $(MAKE); $(unstage)
44948 @r=`${PWD_COMMAND}`; export r; \
44949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44950 $(NORMAL_TARGET_EXPORTS) \
44951 (cd $(TARGET_SUBDIR)/libitm && \
44952 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
44954 @endif target-libitm
44956 .PHONY: install-target-libitm maybe-install-target-libitm
44957 maybe-install-target-libitm:
44958 @if target-libitm
44959 maybe-install-target-libitm: install-target-libitm
44961 install-target-libitm: installdirs
44962 @: $(MAKE); $(unstage)
44963 @r=`${PWD_COMMAND}`; export r; \
44964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44965 $(NORMAL_TARGET_EXPORTS) \
44966 (cd $(TARGET_SUBDIR)/libitm && \
44967 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
44969 @endif target-libitm
44971 .PHONY: install-strip-target-libitm maybe-install-strip-target-libitm
44972 maybe-install-strip-target-libitm:
44973 @if target-libitm
44974 maybe-install-strip-target-libitm: install-strip-target-libitm
44976 install-strip-target-libitm: installdirs
44977 @: $(MAKE); $(unstage)
44978 @r=`${PWD_COMMAND}`; export r; \
44979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44980 $(NORMAL_TARGET_EXPORTS) \
44981 (cd $(TARGET_SUBDIR)/libitm && \
44982 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
44984 @endif target-libitm
44986 # Other targets (info, dvi, pdf, etc.)
44988 .PHONY: maybe-info-target-libitm info-target-libitm
44989 maybe-info-target-libitm:
44990 @if target-libitm
44991 maybe-info-target-libitm: info-target-libitm
44993 info-target-libitm: \
44994 configure-target-libitm
44995 @: $(MAKE); $(unstage)
44996 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
44997 r=`${PWD_COMMAND}`; export r; \
44998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44999 $(NORMAL_TARGET_EXPORTS) \
45000 echo "Doing info in $(TARGET_SUBDIR)/libitm" ; \
45001 for flag in $(EXTRA_TARGET_FLAGS); do \
45002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45003 done; \
45004 (cd $(TARGET_SUBDIR)/libitm && \
45005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45007 "RANLIB=$${RANLIB}" \
45008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45009 info) \
45010 || exit 1
45012 @endif target-libitm
45014 .PHONY: maybe-dvi-target-libitm dvi-target-libitm
45015 maybe-dvi-target-libitm:
45016 @if target-libitm
45017 maybe-dvi-target-libitm: dvi-target-libitm
45019 dvi-target-libitm: \
45020 configure-target-libitm
45021 @: $(MAKE); $(unstage)
45022 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
45023 r=`${PWD_COMMAND}`; export r; \
45024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45025 $(NORMAL_TARGET_EXPORTS) \
45026 echo "Doing dvi in $(TARGET_SUBDIR)/libitm" ; \
45027 for flag in $(EXTRA_TARGET_FLAGS); do \
45028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45029 done; \
45030 (cd $(TARGET_SUBDIR)/libitm && \
45031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45033 "RANLIB=$${RANLIB}" \
45034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45035 dvi) \
45036 || exit 1
45038 @endif target-libitm
45040 .PHONY: maybe-pdf-target-libitm pdf-target-libitm
45041 maybe-pdf-target-libitm:
45042 @if target-libitm
45043 maybe-pdf-target-libitm: pdf-target-libitm
45045 pdf-target-libitm: \
45046 configure-target-libitm
45047 @: $(MAKE); $(unstage)
45048 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
45049 r=`${PWD_COMMAND}`; export r; \
45050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45051 $(NORMAL_TARGET_EXPORTS) \
45052 echo "Doing pdf in $(TARGET_SUBDIR)/libitm" ; \
45053 for flag in $(EXTRA_TARGET_FLAGS); do \
45054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45055 done; \
45056 (cd $(TARGET_SUBDIR)/libitm && \
45057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45059 "RANLIB=$${RANLIB}" \
45060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45061 pdf) \
45062 || exit 1
45064 @endif target-libitm
45066 .PHONY: maybe-html-target-libitm html-target-libitm
45067 maybe-html-target-libitm:
45068 @if target-libitm
45069 maybe-html-target-libitm: html-target-libitm
45071 html-target-libitm: \
45072 configure-target-libitm
45073 @: $(MAKE); $(unstage)
45074 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
45075 r=`${PWD_COMMAND}`; export r; \
45076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45077 $(NORMAL_TARGET_EXPORTS) \
45078 echo "Doing html in $(TARGET_SUBDIR)/libitm" ; \
45079 for flag in $(EXTRA_TARGET_FLAGS); do \
45080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45081 done; \
45082 (cd $(TARGET_SUBDIR)/libitm && \
45083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45085 "RANLIB=$${RANLIB}" \
45086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45087 html) \
45088 || exit 1
45090 @endif target-libitm
45092 .PHONY: maybe-TAGS-target-libitm TAGS-target-libitm
45093 maybe-TAGS-target-libitm:
45094 @if target-libitm
45095 maybe-TAGS-target-libitm: TAGS-target-libitm
45097 TAGS-target-libitm: \
45098 configure-target-libitm
45099 @: $(MAKE); $(unstage)
45100 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
45101 r=`${PWD_COMMAND}`; export r; \
45102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45103 $(NORMAL_TARGET_EXPORTS) \
45104 echo "Doing TAGS in $(TARGET_SUBDIR)/libitm" ; \
45105 for flag in $(EXTRA_TARGET_FLAGS); do \
45106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45107 done; \
45108 (cd $(TARGET_SUBDIR)/libitm && \
45109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45111 "RANLIB=$${RANLIB}" \
45112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45113 TAGS) \
45114 || exit 1
45116 @endif target-libitm
45118 .PHONY: maybe-install-info-target-libitm install-info-target-libitm
45119 maybe-install-info-target-libitm:
45120 @if target-libitm
45121 maybe-install-info-target-libitm: install-info-target-libitm
45123 install-info-target-libitm: \
45124 configure-target-libitm \
45125 info-target-libitm
45126 @: $(MAKE); $(unstage)
45127 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
45128 r=`${PWD_COMMAND}`; export r; \
45129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45130 $(NORMAL_TARGET_EXPORTS) \
45131 echo "Doing install-info in $(TARGET_SUBDIR)/libitm" ; \
45132 for flag in $(EXTRA_TARGET_FLAGS); do \
45133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45134 done; \
45135 (cd $(TARGET_SUBDIR)/libitm && \
45136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45138 "RANLIB=$${RANLIB}" \
45139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45140 install-info) \
45141 || exit 1
45143 @endif target-libitm
45145 .PHONY: maybe-install-pdf-target-libitm install-pdf-target-libitm
45146 maybe-install-pdf-target-libitm:
45147 @if target-libitm
45148 maybe-install-pdf-target-libitm: install-pdf-target-libitm
45150 install-pdf-target-libitm: \
45151 configure-target-libitm \
45152 pdf-target-libitm
45153 @: $(MAKE); $(unstage)
45154 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
45155 r=`${PWD_COMMAND}`; export r; \
45156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45157 $(NORMAL_TARGET_EXPORTS) \
45158 echo "Doing install-pdf in $(TARGET_SUBDIR)/libitm" ; \
45159 for flag in $(EXTRA_TARGET_FLAGS); do \
45160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45161 done; \
45162 (cd $(TARGET_SUBDIR)/libitm && \
45163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45165 "RANLIB=$${RANLIB}" \
45166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45167 install-pdf) \
45168 || exit 1
45170 @endif target-libitm
45172 .PHONY: maybe-install-html-target-libitm install-html-target-libitm
45173 maybe-install-html-target-libitm:
45174 @if target-libitm
45175 maybe-install-html-target-libitm: install-html-target-libitm
45177 install-html-target-libitm: \
45178 configure-target-libitm \
45179 html-target-libitm
45180 @: $(MAKE); $(unstage)
45181 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
45182 r=`${PWD_COMMAND}`; export r; \
45183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45184 $(NORMAL_TARGET_EXPORTS) \
45185 echo "Doing install-html in $(TARGET_SUBDIR)/libitm" ; \
45186 for flag in $(EXTRA_TARGET_FLAGS); do \
45187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45188 done; \
45189 (cd $(TARGET_SUBDIR)/libitm && \
45190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45192 "RANLIB=$${RANLIB}" \
45193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45194 install-html) \
45195 || exit 1
45197 @endif target-libitm
45199 .PHONY: maybe-installcheck-target-libitm installcheck-target-libitm
45200 maybe-installcheck-target-libitm:
45201 @if target-libitm
45202 maybe-installcheck-target-libitm: installcheck-target-libitm
45204 installcheck-target-libitm: \
45205 configure-target-libitm
45206 @: $(MAKE); $(unstage)
45207 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
45208 r=`${PWD_COMMAND}`; export r; \
45209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45210 $(NORMAL_TARGET_EXPORTS) \
45211 echo "Doing installcheck in $(TARGET_SUBDIR)/libitm" ; \
45212 for flag in $(EXTRA_TARGET_FLAGS); do \
45213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45214 done; \
45215 (cd $(TARGET_SUBDIR)/libitm && \
45216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45218 "RANLIB=$${RANLIB}" \
45219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45220 installcheck) \
45221 || exit 1
45223 @endif target-libitm
45225 .PHONY: maybe-mostlyclean-target-libitm mostlyclean-target-libitm
45226 maybe-mostlyclean-target-libitm:
45227 @if target-libitm
45228 maybe-mostlyclean-target-libitm: mostlyclean-target-libitm
45230 mostlyclean-target-libitm:
45231 @: $(MAKE); $(unstage)
45232 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
45233 r=`${PWD_COMMAND}`; export r; \
45234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45235 $(NORMAL_TARGET_EXPORTS) \
45236 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libitm" ; \
45237 for flag in $(EXTRA_TARGET_FLAGS); do \
45238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45239 done; \
45240 (cd $(TARGET_SUBDIR)/libitm && \
45241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45243 "RANLIB=$${RANLIB}" \
45244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45245 mostlyclean) \
45246 || exit 1
45248 @endif target-libitm
45250 .PHONY: maybe-clean-target-libitm clean-target-libitm
45251 maybe-clean-target-libitm:
45252 @if target-libitm
45253 maybe-clean-target-libitm: clean-target-libitm
45255 clean-target-libitm:
45256 @: $(MAKE); $(unstage)
45257 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
45258 r=`${PWD_COMMAND}`; export r; \
45259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45260 $(NORMAL_TARGET_EXPORTS) \
45261 echo "Doing clean in $(TARGET_SUBDIR)/libitm" ; \
45262 for flag in $(EXTRA_TARGET_FLAGS); do \
45263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45264 done; \
45265 (cd $(TARGET_SUBDIR)/libitm && \
45266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45268 "RANLIB=$${RANLIB}" \
45269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45270 clean) \
45271 || exit 1
45273 @endif target-libitm
45275 .PHONY: maybe-distclean-target-libitm distclean-target-libitm
45276 maybe-distclean-target-libitm:
45277 @if target-libitm
45278 maybe-distclean-target-libitm: distclean-target-libitm
45280 distclean-target-libitm:
45281 @: $(MAKE); $(unstage)
45282 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
45283 r=`${PWD_COMMAND}`; export r; \
45284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45285 $(NORMAL_TARGET_EXPORTS) \
45286 echo "Doing distclean in $(TARGET_SUBDIR)/libitm" ; \
45287 for flag in $(EXTRA_TARGET_FLAGS); do \
45288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45289 done; \
45290 (cd $(TARGET_SUBDIR)/libitm && \
45291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45293 "RANLIB=$${RANLIB}" \
45294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45295 distclean) \
45296 || exit 1
45298 @endif target-libitm
45300 .PHONY: maybe-maintainer-clean-target-libitm maintainer-clean-target-libitm
45301 maybe-maintainer-clean-target-libitm:
45302 @if target-libitm
45303 maybe-maintainer-clean-target-libitm: maintainer-clean-target-libitm
45305 maintainer-clean-target-libitm:
45306 @: $(MAKE); $(unstage)
45307 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
45308 r=`${PWD_COMMAND}`; export r; \
45309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45310 $(NORMAL_TARGET_EXPORTS) \
45311 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libitm" ; \
45312 for flag in $(EXTRA_TARGET_FLAGS); do \
45313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45314 done; \
45315 (cd $(TARGET_SUBDIR)/libitm && \
45316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45318 "RANLIB=$${RANLIB}" \
45319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45320 maintainer-clean) \
45321 || exit 1
45323 @endif target-libitm
45329 .PHONY: configure-target-libatomic maybe-configure-target-libatomic
45330 maybe-configure-target-libatomic:
45331 @if gcc-bootstrap
45332 configure-target-libatomic: stage_current
45333 @endif gcc-bootstrap
45334 @if target-libatomic
45335 maybe-configure-target-libatomic: configure-target-libatomic
45336 configure-target-libatomic:
45337 @: $(MAKE); $(unstage)
45338 @r=`${PWD_COMMAND}`; export r; \
45339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45340 echo "Checking multilib configuration for libatomic..."; \
45341 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic ; \
45342 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libatomic/multilib.tmp 2> /dev/null ; \
45343 if test -r $(TARGET_SUBDIR)/libatomic/multilib.out; then \
45344 if cmp -s $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; then \
45345 rm -f $(TARGET_SUBDIR)/libatomic/multilib.tmp; \
45346 else \
45347 rm -f $(TARGET_SUBDIR)/libatomic/Makefile; \
45348 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
45349 fi; \
45350 else \
45351 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
45352 fi; \
45353 test ! -f $(TARGET_SUBDIR)/libatomic/Makefile || exit 0; \
45354 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic ; \
45355 $(NORMAL_TARGET_EXPORTS) \
45356 echo Configuring in $(TARGET_SUBDIR)/libatomic; \
45357 cd "$(TARGET_SUBDIR)/libatomic" || exit 1; \
45358 case $(srcdir) in \
45359 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45360 *) topdir=`echo $(TARGET_SUBDIR)/libatomic/ | \
45361 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45362 esac; \
45363 module_srcdir=libatomic; \
45364 rm -f no-such-file || : ; \
45365 CONFIG_SITE=no-such-file $(SHELL) \
45366 $$s/$$module_srcdir/configure \
45367 --srcdir=$${topdir}/$$module_srcdir \
45368 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45369 --target=${target_alias} \
45370 || exit 1
45371 @endif target-libatomic
45377 .PHONY: all-target-libatomic maybe-all-target-libatomic
45378 maybe-all-target-libatomic:
45379 @if gcc-bootstrap
45380 all-target-libatomic: stage_current
45381 @endif gcc-bootstrap
45382 @if target-libatomic
45383 TARGET-target-libatomic=all
45384 maybe-all-target-libatomic: all-target-libatomic
45385 all-target-libatomic: configure-target-libatomic
45386 @: $(MAKE); $(unstage)
45387 @r=`${PWD_COMMAND}`; export r; \
45388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45389 $(NORMAL_TARGET_EXPORTS) \
45390 (cd $(TARGET_SUBDIR)/libatomic && \
45391 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
45392 $(TARGET-target-libatomic))
45393 @endif target-libatomic
45399 .PHONY: check-target-libatomic maybe-check-target-libatomic
45400 maybe-check-target-libatomic:
45401 @if target-libatomic
45402 maybe-check-target-libatomic: check-target-libatomic
45404 check-target-libatomic:
45405 @: $(MAKE); $(unstage)
45406 @r=`${PWD_COMMAND}`; export r; \
45407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45408 $(NORMAL_TARGET_EXPORTS) \
45409 (cd $(TARGET_SUBDIR)/libatomic && \
45410 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
45412 @endif target-libatomic
45414 .PHONY: install-target-libatomic maybe-install-target-libatomic
45415 maybe-install-target-libatomic:
45416 @if target-libatomic
45417 maybe-install-target-libatomic: install-target-libatomic
45419 install-target-libatomic: installdirs
45420 @: $(MAKE); $(unstage)
45421 @r=`${PWD_COMMAND}`; export r; \
45422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45423 $(NORMAL_TARGET_EXPORTS) \
45424 (cd $(TARGET_SUBDIR)/libatomic && \
45425 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
45427 @endif target-libatomic
45429 .PHONY: install-strip-target-libatomic maybe-install-strip-target-libatomic
45430 maybe-install-strip-target-libatomic:
45431 @if target-libatomic
45432 maybe-install-strip-target-libatomic: install-strip-target-libatomic
45434 install-strip-target-libatomic: installdirs
45435 @: $(MAKE); $(unstage)
45436 @r=`${PWD_COMMAND}`; export r; \
45437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45438 $(NORMAL_TARGET_EXPORTS) \
45439 (cd $(TARGET_SUBDIR)/libatomic && \
45440 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
45442 @endif target-libatomic
45444 # Other targets (info, dvi, pdf, etc.)
45446 .PHONY: maybe-info-target-libatomic info-target-libatomic
45447 maybe-info-target-libatomic:
45448 @if target-libatomic
45449 maybe-info-target-libatomic: info-target-libatomic
45451 info-target-libatomic: \
45452 configure-target-libatomic
45453 @: $(MAKE); $(unstage)
45454 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45455 r=`${PWD_COMMAND}`; export r; \
45456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45457 $(NORMAL_TARGET_EXPORTS) \
45458 echo "Doing info in $(TARGET_SUBDIR)/libatomic" ; \
45459 for flag in $(EXTRA_TARGET_FLAGS); do \
45460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45461 done; \
45462 (cd $(TARGET_SUBDIR)/libatomic && \
45463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45465 "RANLIB=$${RANLIB}" \
45466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45467 info) \
45468 || exit 1
45470 @endif target-libatomic
45472 .PHONY: maybe-dvi-target-libatomic dvi-target-libatomic
45473 maybe-dvi-target-libatomic:
45474 @if target-libatomic
45475 maybe-dvi-target-libatomic: dvi-target-libatomic
45477 dvi-target-libatomic: \
45478 configure-target-libatomic
45479 @: $(MAKE); $(unstage)
45480 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45481 r=`${PWD_COMMAND}`; export r; \
45482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45483 $(NORMAL_TARGET_EXPORTS) \
45484 echo "Doing dvi in $(TARGET_SUBDIR)/libatomic" ; \
45485 for flag in $(EXTRA_TARGET_FLAGS); do \
45486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45487 done; \
45488 (cd $(TARGET_SUBDIR)/libatomic && \
45489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45491 "RANLIB=$${RANLIB}" \
45492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45493 dvi) \
45494 || exit 1
45496 @endif target-libatomic
45498 .PHONY: maybe-pdf-target-libatomic pdf-target-libatomic
45499 maybe-pdf-target-libatomic:
45500 @if target-libatomic
45501 maybe-pdf-target-libatomic: pdf-target-libatomic
45503 pdf-target-libatomic: \
45504 configure-target-libatomic
45505 @: $(MAKE); $(unstage)
45506 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45507 r=`${PWD_COMMAND}`; export r; \
45508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45509 $(NORMAL_TARGET_EXPORTS) \
45510 echo "Doing pdf in $(TARGET_SUBDIR)/libatomic" ; \
45511 for flag in $(EXTRA_TARGET_FLAGS); do \
45512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45513 done; \
45514 (cd $(TARGET_SUBDIR)/libatomic && \
45515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45517 "RANLIB=$${RANLIB}" \
45518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45519 pdf) \
45520 || exit 1
45522 @endif target-libatomic
45524 .PHONY: maybe-html-target-libatomic html-target-libatomic
45525 maybe-html-target-libatomic:
45526 @if target-libatomic
45527 maybe-html-target-libatomic: html-target-libatomic
45529 html-target-libatomic: \
45530 configure-target-libatomic
45531 @: $(MAKE); $(unstage)
45532 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45533 r=`${PWD_COMMAND}`; export r; \
45534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45535 $(NORMAL_TARGET_EXPORTS) \
45536 echo "Doing html in $(TARGET_SUBDIR)/libatomic" ; \
45537 for flag in $(EXTRA_TARGET_FLAGS); do \
45538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45539 done; \
45540 (cd $(TARGET_SUBDIR)/libatomic && \
45541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45543 "RANLIB=$${RANLIB}" \
45544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45545 html) \
45546 || exit 1
45548 @endif target-libatomic
45550 .PHONY: maybe-TAGS-target-libatomic TAGS-target-libatomic
45551 maybe-TAGS-target-libatomic:
45552 @if target-libatomic
45553 maybe-TAGS-target-libatomic: TAGS-target-libatomic
45555 TAGS-target-libatomic: \
45556 configure-target-libatomic
45557 @: $(MAKE); $(unstage)
45558 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45559 r=`${PWD_COMMAND}`; export r; \
45560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45561 $(NORMAL_TARGET_EXPORTS) \
45562 echo "Doing TAGS in $(TARGET_SUBDIR)/libatomic" ; \
45563 for flag in $(EXTRA_TARGET_FLAGS); do \
45564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45565 done; \
45566 (cd $(TARGET_SUBDIR)/libatomic && \
45567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45569 "RANLIB=$${RANLIB}" \
45570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45571 TAGS) \
45572 || exit 1
45574 @endif target-libatomic
45576 .PHONY: maybe-install-info-target-libatomic install-info-target-libatomic
45577 maybe-install-info-target-libatomic:
45578 @if target-libatomic
45579 maybe-install-info-target-libatomic: install-info-target-libatomic
45581 install-info-target-libatomic: \
45582 configure-target-libatomic \
45583 info-target-libatomic
45584 @: $(MAKE); $(unstage)
45585 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45586 r=`${PWD_COMMAND}`; export r; \
45587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45588 $(NORMAL_TARGET_EXPORTS) \
45589 echo "Doing install-info in $(TARGET_SUBDIR)/libatomic" ; \
45590 for flag in $(EXTRA_TARGET_FLAGS); do \
45591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45592 done; \
45593 (cd $(TARGET_SUBDIR)/libatomic && \
45594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45596 "RANLIB=$${RANLIB}" \
45597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45598 install-info) \
45599 || exit 1
45601 @endif target-libatomic
45603 .PHONY: maybe-install-pdf-target-libatomic install-pdf-target-libatomic
45604 maybe-install-pdf-target-libatomic:
45605 @if target-libatomic
45606 maybe-install-pdf-target-libatomic: install-pdf-target-libatomic
45608 install-pdf-target-libatomic: \
45609 configure-target-libatomic \
45610 pdf-target-libatomic
45611 @: $(MAKE); $(unstage)
45612 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45613 r=`${PWD_COMMAND}`; export r; \
45614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45615 $(NORMAL_TARGET_EXPORTS) \
45616 echo "Doing install-pdf in $(TARGET_SUBDIR)/libatomic" ; \
45617 for flag in $(EXTRA_TARGET_FLAGS); do \
45618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45619 done; \
45620 (cd $(TARGET_SUBDIR)/libatomic && \
45621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45623 "RANLIB=$${RANLIB}" \
45624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45625 install-pdf) \
45626 || exit 1
45628 @endif target-libatomic
45630 .PHONY: maybe-install-html-target-libatomic install-html-target-libatomic
45631 maybe-install-html-target-libatomic:
45632 @if target-libatomic
45633 maybe-install-html-target-libatomic: install-html-target-libatomic
45635 install-html-target-libatomic: \
45636 configure-target-libatomic \
45637 html-target-libatomic
45638 @: $(MAKE); $(unstage)
45639 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45640 r=`${PWD_COMMAND}`; export r; \
45641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45642 $(NORMAL_TARGET_EXPORTS) \
45643 echo "Doing install-html in $(TARGET_SUBDIR)/libatomic" ; \
45644 for flag in $(EXTRA_TARGET_FLAGS); do \
45645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45646 done; \
45647 (cd $(TARGET_SUBDIR)/libatomic && \
45648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45650 "RANLIB=$${RANLIB}" \
45651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45652 install-html) \
45653 || exit 1
45655 @endif target-libatomic
45657 .PHONY: maybe-installcheck-target-libatomic installcheck-target-libatomic
45658 maybe-installcheck-target-libatomic:
45659 @if target-libatomic
45660 maybe-installcheck-target-libatomic: installcheck-target-libatomic
45662 installcheck-target-libatomic: \
45663 configure-target-libatomic
45664 @: $(MAKE); $(unstage)
45665 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45666 r=`${PWD_COMMAND}`; export r; \
45667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45668 $(NORMAL_TARGET_EXPORTS) \
45669 echo "Doing installcheck in $(TARGET_SUBDIR)/libatomic" ; \
45670 for flag in $(EXTRA_TARGET_FLAGS); do \
45671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45672 done; \
45673 (cd $(TARGET_SUBDIR)/libatomic && \
45674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45676 "RANLIB=$${RANLIB}" \
45677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45678 installcheck) \
45679 || exit 1
45681 @endif target-libatomic
45683 .PHONY: maybe-mostlyclean-target-libatomic mostlyclean-target-libatomic
45684 maybe-mostlyclean-target-libatomic:
45685 @if target-libatomic
45686 maybe-mostlyclean-target-libatomic: mostlyclean-target-libatomic
45688 mostlyclean-target-libatomic:
45689 @: $(MAKE); $(unstage)
45690 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45691 r=`${PWD_COMMAND}`; export r; \
45692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45693 $(NORMAL_TARGET_EXPORTS) \
45694 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libatomic" ; \
45695 for flag in $(EXTRA_TARGET_FLAGS); do \
45696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45697 done; \
45698 (cd $(TARGET_SUBDIR)/libatomic && \
45699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45701 "RANLIB=$${RANLIB}" \
45702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45703 mostlyclean) \
45704 || exit 1
45706 @endif target-libatomic
45708 .PHONY: maybe-clean-target-libatomic clean-target-libatomic
45709 maybe-clean-target-libatomic:
45710 @if target-libatomic
45711 maybe-clean-target-libatomic: clean-target-libatomic
45713 clean-target-libatomic:
45714 @: $(MAKE); $(unstage)
45715 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45716 r=`${PWD_COMMAND}`; export r; \
45717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45718 $(NORMAL_TARGET_EXPORTS) \
45719 echo "Doing clean in $(TARGET_SUBDIR)/libatomic" ; \
45720 for flag in $(EXTRA_TARGET_FLAGS); do \
45721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45722 done; \
45723 (cd $(TARGET_SUBDIR)/libatomic && \
45724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45726 "RANLIB=$${RANLIB}" \
45727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45728 clean) \
45729 || exit 1
45731 @endif target-libatomic
45733 .PHONY: maybe-distclean-target-libatomic distclean-target-libatomic
45734 maybe-distclean-target-libatomic:
45735 @if target-libatomic
45736 maybe-distclean-target-libatomic: distclean-target-libatomic
45738 distclean-target-libatomic:
45739 @: $(MAKE); $(unstage)
45740 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45741 r=`${PWD_COMMAND}`; export r; \
45742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45743 $(NORMAL_TARGET_EXPORTS) \
45744 echo "Doing distclean in $(TARGET_SUBDIR)/libatomic" ; \
45745 for flag in $(EXTRA_TARGET_FLAGS); do \
45746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45747 done; \
45748 (cd $(TARGET_SUBDIR)/libatomic && \
45749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45751 "RANLIB=$${RANLIB}" \
45752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45753 distclean) \
45754 || exit 1
45756 @endif target-libatomic
45758 .PHONY: maybe-maintainer-clean-target-libatomic maintainer-clean-target-libatomic
45759 maybe-maintainer-clean-target-libatomic:
45760 @if target-libatomic
45761 maybe-maintainer-clean-target-libatomic: maintainer-clean-target-libatomic
45763 maintainer-clean-target-libatomic:
45764 @: $(MAKE); $(unstage)
45765 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45766 r=`${PWD_COMMAND}`; export r; \
45767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45768 $(NORMAL_TARGET_EXPORTS) \
45769 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libatomic" ; \
45770 for flag in $(EXTRA_TARGET_FLAGS); do \
45771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45772 done; \
45773 (cd $(TARGET_SUBDIR)/libatomic && \
45774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45776 "RANLIB=$${RANLIB}" \
45777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45778 maintainer-clean) \
45779 || exit 1
45781 @endif target-libatomic
45785 @if target-libgomp
45786 .PHONY: check-target-libgomp-c++
45787 check-target-libgomp-c++:
45788 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libgomp
45790 @endif target-libgomp
45792 @if target-libitm
45793 .PHONY: check-target-libitm-c++
45794 check-target-libitm-c++:
45795 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libitm
45797 @endif target-libitm
45799 # ----------
45800 # GCC module
45801 # ----------
45803 @if gcc-no-bootstrap
45804 .PHONY: cross
45805 cross: all-build all-gas all-ld
45806 @r=`${PWD_COMMAND}`; export r; \
45807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45808 $(HOST_EXPORTS) \
45809 echo "Building the C and C++ compiler"; \
45810 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
45811 @r=`${PWD_COMMAND}`; export r; \
45812 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
45813 echo "Building runtime libraries"; \
45814 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
45815 @endif gcc-no-bootstrap
45817 @if gcc
45819 .PHONY: check-gcc-c check-c
45820 check-gcc-c:
45821 r=`${PWD_COMMAND}`; export r; \
45822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45823 $(HOST_EXPORTS) \
45824 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-gcc);
45825 check-c: check-gcc-c
45827 .PHONY: check-gcc-c++ check-c++
45828 check-gcc-c++:
45829 r=`${PWD_COMMAND}`; export r; \
45830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45831 $(HOST_EXPORTS) \
45832 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++);
45833 check-c++: check-gcc-c++ check-target-libstdc++-v3 check-target-libitm-c++ check-target-libgomp-c++
45835 .PHONY: check-gcc-fortran check-fortran
45836 check-gcc-fortran:
45837 r=`${PWD_COMMAND}`; export r; \
45838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45839 $(HOST_EXPORTS) \
45840 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-fortran);
45841 check-fortran: check-gcc-fortran check-target-libquadmath check-target-libgfortran
45843 .PHONY: check-gcc-java check-java
45844 check-gcc-java:
45845 r=`${PWD_COMMAND}`; export r; \
45846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45847 $(HOST_EXPORTS) \
45848 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-java);
45849 check-java: check-gcc-java check-target-libjava
45851 .PHONY: check-gcc-ada check-ada
45852 check-gcc-ada:
45853 r=`${PWD_COMMAND}`; export r; \
45854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45855 $(HOST_EXPORTS) \
45856 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-ada);
45857 check-ada: check-gcc-ada check-target-libada
45859 .PHONY: check-gcc-objc check-objc
45860 check-gcc-objc:
45861 r=`${PWD_COMMAND}`; export r; \
45862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45863 $(HOST_EXPORTS) \
45864 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-objc);
45865 check-objc: check-gcc-objc check-target-libobjc
45867 .PHONY: check-gcc-obj-c++ check-obj-c++
45868 check-gcc-obj-c++:
45869 r=`${PWD_COMMAND}`; export r; \
45870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45871 $(HOST_EXPORTS) \
45872 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-obj-c++);
45873 check-obj-c++: check-gcc-obj-c++
45875 .PHONY: check-gcc-go check-go
45876 check-gcc-go:
45877 r=`${PWD_COMMAND}`; export r; \
45878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45879 $(HOST_EXPORTS) \
45880 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-go);
45881 check-go: check-gcc-go check-target-libgo
45884 # The gcc part of install-no-fixedincludes, which relies on an intimate
45885 # knowledge of how a number of gcc internal targets (inter)operate. Delegate.
45886 .PHONY: gcc-install-no-fixedincludes
45887 gcc-install-no-fixedincludes:
45888 @if [ -f ./gcc/Makefile ]; then \
45889 r=`${PWD_COMMAND}`; export r; \
45890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45891 $(HOST_EXPORTS) \
45892 (cd ./gcc \
45893 && $(MAKE) $(GCC_FLAGS_TO_PASS) install-no-fixedincludes); \
45894 else true; fi
45895 @endif gcc
45897 # ---------------------
45898 # GCC bootstrap support
45899 # ---------------------
45901 # We track the current stage (the one in 'gcc') in the stage_current file.
45902 # stage_last instead tracks the stage that was built last. These targets
45903 # are dummy when toplevel bootstrap is not active.
45905 # While making host and target tools, symlinks to the final stage must be
45906 # there, so $(unstage) should be run at various points. To avoid excessive
45907 # recursive invocations of make, we "inline" them using a variable. These
45908 # must be referenced as ": $(MAKE) ; $(unstage)" rather than "$(unstage)"
45909 # to avoid warnings from the GNU Make job server.
45911 unstage = :
45912 stage = :
45913 current_stage = ""
45915 @if gcc-bootstrap
45916 unstage = if [ -f stage_last ]; then [ -f stage_current ] || $(MAKE) `cat stage_last`-start || exit 1; else :; fi
45917 stage = if [ -f stage_current ]; then $(MAKE) `cat stage_current`-end || exit 1; else :; fi
45918 current_stage = "`cat stage_current 2> /dev/null`"
45919 @endif gcc-bootstrap
45921 .PHONY: unstage stage
45922 unstage:
45923 @: $(MAKE); $(unstage)
45924 stage:
45925 @: $(MAKE); $(stage)
45927 # Disable commands for lean bootstrap.
45928 LEAN = false
45930 # We name the build directories for the various stages "stage1-gcc",
45931 # "stage2-gcc","stage3-gcc", etc.
45933 # Since the 'compare' process will fail (on debugging information) if any
45934 # directory names are different, we need to link the gcc directory for
45935 # the previous stage to a constant name ('prev-gcc'), and to make the name of
45936 # the build directories constant as well. For the latter, we use naked names
45937 # like 'gcc', because the scripts in that directory assume it. We use
45938 # mv on platforms where symlinks to directories do not work or are not
45939 # reliable.
45941 # 'touch' doesn't work right on some platforms.
45942 STAMP = echo timestamp >
45944 # We only want to compare .o files, so set this!
45945 objext = .o
45948 .PHONY: stage1-start stage1-end
45950 stage1-start::
45951 @: $(MAKE); $(stage); \
45952 echo stage1 > stage_current ; \
45953 echo stage1 > stage_last; \
45954 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
45955 @if bfd
45956 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
45957 mkdir stage1-bfd; \
45958 mv stage1-bfd bfd
45959 @endif bfd
45960 @if opcodes
45961 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
45962 mkdir stage1-opcodes; \
45963 mv stage1-opcodes opcodes
45964 @endif opcodes
45965 @if binutils
45966 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
45967 mkdir stage1-binutils; \
45968 mv stage1-binutils binutils
45969 @endif binutils
45970 @if fixincludes
45971 @cd $(HOST_SUBDIR); [ -d stage1-fixincludes ] || \
45972 mkdir stage1-fixincludes; \
45973 mv stage1-fixincludes fixincludes
45974 @endif fixincludes
45975 @if gas
45976 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
45977 mkdir stage1-gas; \
45978 mv stage1-gas gas
45979 @endif gas
45980 @if gcc
45981 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
45982 mkdir stage1-gcc; \
45983 mv stage1-gcc gcc
45984 @endif gcc
45985 @if gmp
45986 @cd $(HOST_SUBDIR); [ -d stage1-gmp ] || \
45987 mkdir stage1-gmp; \
45988 mv stage1-gmp gmp
45989 @endif gmp
45990 @if mpfr
45991 @cd $(HOST_SUBDIR); [ -d stage1-mpfr ] || \
45992 mkdir stage1-mpfr; \
45993 mv stage1-mpfr mpfr
45994 @endif mpfr
45995 @if mpc
45996 @cd $(HOST_SUBDIR); [ -d stage1-mpc ] || \
45997 mkdir stage1-mpc; \
45998 mv stage1-mpc mpc
45999 @endif mpc
46000 @if isl
46001 @cd $(HOST_SUBDIR); [ -d stage1-isl ] || \
46002 mkdir stage1-isl; \
46003 mv stage1-isl isl
46004 @endif isl
46005 @if libelf
46006 @cd $(HOST_SUBDIR); [ -d stage1-libelf ] || \
46007 mkdir stage1-libelf; \
46008 mv stage1-libelf libelf
46009 @endif libelf
46010 @if gold
46011 @cd $(HOST_SUBDIR); [ -d stage1-gold ] || \
46012 mkdir stage1-gold; \
46013 mv stage1-gold gold
46014 @endif gold
46015 @if intl
46016 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
46017 mkdir stage1-intl; \
46018 mv stage1-intl intl
46019 @endif intl
46020 @if ld
46021 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
46022 mkdir stage1-ld; \
46023 mv stage1-ld ld
46024 @endif ld
46025 @if libbacktrace
46026 @cd $(HOST_SUBDIR); [ -d stage1-libbacktrace ] || \
46027 mkdir stage1-libbacktrace; \
46028 mv stage1-libbacktrace libbacktrace
46029 @endif libbacktrace
46030 @if libcpp
46031 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
46032 mkdir stage1-libcpp; \
46033 mv stage1-libcpp libcpp
46034 @endif libcpp
46035 @if libdecnumber
46036 @cd $(HOST_SUBDIR); [ -d stage1-libdecnumber ] || \
46037 mkdir stage1-libdecnumber; \
46038 mv stage1-libdecnumber libdecnumber
46039 @endif libdecnumber
46040 @if libiberty
46041 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
46042 mkdir stage1-libiberty; \
46043 mv stage1-libiberty libiberty
46044 @endif libiberty
46045 @if libiberty-linker-plugin
46046 @cd $(HOST_SUBDIR); [ -d stage1-libiberty-linker-plugin ] || \
46047 mkdir stage1-libiberty-linker-plugin; \
46048 mv stage1-libiberty-linker-plugin libiberty-linker-plugin
46049 @endif libiberty-linker-plugin
46050 @if zlib
46051 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
46052 mkdir stage1-zlib; \
46053 mv stage1-zlib zlib
46054 @endif zlib
46055 @if lto-plugin
46056 @cd $(HOST_SUBDIR); [ -d stage1-lto-plugin ] || \
46057 mkdir stage1-lto-plugin; \
46058 mv stage1-lto-plugin lto-plugin
46059 @endif lto-plugin
46060 @[ -d stage1-$(TARGET_SUBDIR) ] || \
46061 mkdir stage1-$(TARGET_SUBDIR); \
46062 mv stage1-$(TARGET_SUBDIR) $(TARGET_SUBDIR)
46064 stage1-end::
46065 @if bfd
46066 @if test -d $(HOST_SUBDIR)/bfd ; then \
46067 cd $(HOST_SUBDIR); mv bfd stage1-bfd ; \
46069 @endif bfd
46070 @if opcodes
46071 @if test -d $(HOST_SUBDIR)/opcodes ; then \
46072 cd $(HOST_SUBDIR); mv opcodes stage1-opcodes ; \
46074 @endif opcodes
46075 @if binutils
46076 @if test -d $(HOST_SUBDIR)/binutils ; then \
46077 cd $(HOST_SUBDIR); mv binutils stage1-binutils ; \
46079 @endif binutils
46080 @if fixincludes
46081 @if test -d $(HOST_SUBDIR)/fixincludes ; then \
46082 cd $(HOST_SUBDIR); mv fixincludes stage1-fixincludes ; \
46084 @endif fixincludes
46085 @if gas
46086 @if test -d $(HOST_SUBDIR)/gas ; then \
46087 cd $(HOST_SUBDIR); mv gas stage1-gas ; \
46089 @endif gas
46090 @if gcc
46091 @if test -d $(HOST_SUBDIR)/gcc ; then \
46092 cd $(HOST_SUBDIR); mv gcc stage1-gcc ; \
46094 @endif gcc
46095 @if gmp
46096 @if test -d $(HOST_SUBDIR)/gmp ; then \
46097 cd $(HOST_SUBDIR); mv gmp stage1-gmp ; \
46099 @endif gmp
46100 @if mpfr
46101 @if test -d $(HOST_SUBDIR)/mpfr ; then \
46102 cd $(HOST_SUBDIR); mv mpfr stage1-mpfr ; \
46104 @endif mpfr
46105 @if mpc
46106 @if test -d $(HOST_SUBDIR)/mpc ; then \
46107 cd $(HOST_SUBDIR); mv mpc stage1-mpc ; \
46109 @endif mpc
46110 @if isl
46111 @if test -d $(HOST_SUBDIR)/isl ; then \
46112 cd $(HOST_SUBDIR); mv isl stage1-isl ; \
46114 @endif isl
46115 @if libelf
46116 @if test -d $(HOST_SUBDIR)/libelf ; then \
46117 cd $(HOST_SUBDIR); mv libelf stage1-libelf ; \
46119 @endif libelf
46120 @if gold
46121 @if test -d $(HOST_SUBDIR)/gold ; then \
46122 cd $(HOST_SUBDIR); mv gold stage1-gold ; \
46124 @endif gold
46125 @if intl
46126 @if test -d $(HOST_SUBDIR)/intl ; then \
46127 cd $(HOST_SUBDIR); mv intl stage1-intl ; \
46129 @endif intl
46130 @if ld
46131 @if test -d $(HOST_SUBDIR)/ld ; then \
46132 cd $(HOST_SUBDIR); mv ld stage1-ld ; \
46134 @endif ld
46135 @if libbacktrace
46136 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
46137 cd $(HOST_SUBDIR); mv libbacktrace stage1-libbacktrace ; \
46139 @endif libbacktrace
46140 @if libcpp
46141 @if test -d $(HOST_SUBDIR)/libcpp ; then \
46142 cd $(HOST_SUBDIR); mv libcpp stage1-libcpp ; \
46144 @endif libcpp
46145 @if libdecnumber
46146 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
46147 cd $(HOST_SUBDIR); mv libdecnumber stage1-libdecnumber ; \
46149 @endif libdecnumber
46150 @if libiberty
46151 @if test -d $(HOST_SUBDIR)/libiberty ; then \
46152 cd $(HOST_SUBDIR); mv libiberty stage1-libiberty ; \
46154 @endif libiberty
46155 @if libiberty-linker-plugin
46156 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin ; then \
46157 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage1-libiberty-linker-plugin ; \
46159 @endif libiberty-linker-plugin
46160 @if zlib
46161 @if test -d $(HOST_SUBDIR)/zlib ; then \
46162 cd $(HOST_SUBDIR); mv zlib stage1-zlib ; \
46164 @endif zlib
46165 @if lto-plugin
46166 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
46167 cd $(HOST_SUBDIR); mv lto-plugin stage1-lto-plugin ; \
46169 @endif lto-plugin
46170 @if test -d $(TARGET_SUBDIR) ; then \
46171 mv $(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; \
46173 rm -f stage_current
46175 # Bubble a bug fix through all the stages up to stage 1. They are
46176 # remade, but not reconfigured. The next stage (if any) will not be
46177 # reconfigured either.
46178 .PHONY: stage1-bubble
46179 stage1-bubble::
46180 @r=`${PWD_COMMAND}`; export r; \
46181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46182 if test -f stage1-lean ; then \
46183 echo Skipping rebuild of stage1 ; \
46184 else \
46185 $(MAKE) stage1-start; \
46186 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1; \
46189 .PHONY: all-stage1 clean-stage1
46190 do-clean: clean-stage1
46192 # FIXME: Will not need to be conditional when toplevel bootstrap is the
46193 # only possibility, but now it conflicts with no-bootstrap rules
46194 @if gcc-bootstrap
46199 # Rules to wipe a stage and all the following ones, also used for cleanstrap
46201 .PHONY: distclean-stage1
46202 distclean-stage1::
46203 @: $(MAKE); $(stage)
46204 @test "`cat stage_last`" != stage1 || rm -f stage_last
46205 rm -rf stage1-*
46208 @endif gcc-bootstrap
46211 .PHONY: stage2-start stage2-end
46213 stage2-start::
46214 @: $(MAKE); $(stage); \
46215 echo stage2 > stage_current ; \
46216 echo stage2 > stage_last; \
46217 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
46218 @if bfd
46219 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
46220 mkdir stage2-bfd; \
46221 mv stage2-bfd bfd ; \
46222 mv stage1-bfd prev-bfd || test -f stage1-lean
46223 @endif bfd
46224 @if opcodes
46225 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
46226 mkdir stage2-opcodes; \
46227 mv stage2-opcodes opcodes ; \
46228 mv stage1-opcodes prev-opcodes || test -f stage1-lean
46229 @endif opcodes
46230 @if binutils
46231 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
46232 mkdir stage2-binutils; \
46233 mv stage2-binutils binutils ; \
46234 mv stage1-binutils prev-binutils || test -f stage1-lean
46235 @endif binutils
46236 @if fixincludes
46237 @cd $(HOST_SUBDIR); [ -d stage2-fixincludes ] || \
46238 mkdir stage2-fixincludes; \
46239 mv stage2-fixincludes fixincludes ; \
46240 mv stage1-fixincludes prev-fixincludes || test -f stage1-lean
46241 @endif fixincludes
46242 @if gas
46243 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
46244 mkdir stage2-gas; \
46245 mv stage2-gas gas ; \
46246 mv stage1-gas prev-gas || test -f stage1-lean
46247 @endif gas
46248 @if gcc
46249 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
46250 mkdir stage2-gcc; \
46251 mv stage2-gcc gcc ; \
46252 mv stage1-gcc prev-gcc || test -f stage1-lean
46253 @endif gcc
46254 @if gmp
46255 @cd $(HOST_SUBDIR); [ -d stage2-gmp ] || \
46256 mkdir stage2-gmp; \
46257 mv stage2-gmp gmp ; \
46258 mv stage1-gmp prev-gmp || test -f stage1-lean
46259 @endif gmp
46260 @if mpfr
46261 @cd $(HOST_SUBDIR); [ -d stage2-mpfr ] || \
46262 mkdir stage2-mpfr; \
46263 mv stage2-mpfr mpfr ; \
46264 mv stage1-mpfr prev-mpfr || test -f stage1-lean
46265 @endif mpfr
46266 @if mpc
46267 @cd $(HOST_SUBDIR); [ -d stage2-mpc ] || \
46268 mkdir stage2-mpc; \
46269 mv stage2-mpc mpc ; \
46270 mv stage1-mpc prev-mpc || test -f stage1-lean
46271 @endif mpc
46272 @if isl
46273 @cd $(HOST_SUBDIR); [ -d stage2-isl ] || \
46274 mkdir stage2-isl; \
46275 mv stage2-isl isl ; \
46276 mv stage1-isl prev-isl || test -f stage1-lean
46277 @endif isl
46278 @if libelf
46279 @cd $(HOST_SUBDIR); [ -d stage2-libelf ] || \
46280 mkdir stage2-libelf; \
46281 mv stage2-libelf libelf ; \
46282 mv stage1-libelf prev-libelf || test -f stage1-lean
46283 @endif libelf
46284 @if gold
46285 @cd $(HOST_SUBDIR); [ -d stage2-gold ] || \
46286 mkdir stage2-gold; \
46287 mv stage2-gold gold ; \
46288 mv stage1-gold prev-gold || test -f stage1-lean
46289 @endif gold
46290 @if intl
46291 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
46292 mkdir stage2-intl; \
46293 mv stage2-intl intl ; \
46294 mv stage1-intl prev-intl || test -f stage1-lean
46295 @endif intl
46296 @if ld
46297 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
46298 mkdir stage2-ld; \
46299 mv stage2-ld ld ; \
46300 mv stage1-ld prev-ld || test -f stage1-lean
46301 @endif ld
46302 @if libbacktrace
46303 @cd $(HOST_SUBDIR); [ -d stage2-libbacktrace ] || \
46304 mkdir stage2-libbacktrace; \
46305 mv stage2-libbacktrace libbacktrace ; \
46306 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
46307 @endif libbacktrace
46308 @if libcpp
46309 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
46310 mkdir stage2-libcpp; \
46311 mv stage2-libcpp libcpp ; \
46312 mv stage1-libcpp prev-libcpp || test -f stage1-lean
46313 @endif libcpp
46314 @if libdecnumber
46315 @cd $(HOST_SUBDIR); [ -d stage2-libdecnumber ] || \
46316 mkdir stage2-libdecnumber; \
46317 mv stage2-libdecnumber libdecnumber ; \
46318 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
46319 @endif libdecnumber
46320 @if libiberty
46321 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
46322 mkdir stage2-libiberty; \
46323 mv stage2-libiberty libiberty ; \
46324 mv stage1-libiberty prev-libiberty || test -f stage1-lean
46325 @endif libiberty
46326 @if libiberty-linker-plugin
46327 @cd $(HOST_SUBDIR); [ -d stage2-libiberty-linker-plugin ] || \
46328 mkdir stage2-libiberty-linker-plugin; \
46329 mv stage2-libiberty-linker-plugin libiberty-linker-plugin ; \
46330 mv stage1-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage1-lean
46331 @endif libiberty-linker-plugin
46332 @if zlib
46333 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
46334 mkdir stage2-zlib; \
46335 mv stage2-zlib zlib ; \
46336 mv stage1-zlib prev-zlib || test -f stage1-lean
46337 @endif zlib
46338 @if lto-plugin
46339 @cd $(HOST_SUBDIR); [ -d stage2-lto-plugin ] || \
46340 mkdir stage2-lto-plugin; \
46341 mv stage2-lto-plugin lto-plugin ; \
46342 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
46343 @endif lto-plugin
46344 @[ -d stage2-$(TARGET_SUBDIR) ] || \
46345 mkdir stage2-$(TARGET_SUBDIR); \
46346 mv stage2-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
46347 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
46349 stage2-end::
46350 @if bfd
46351 @if test -d $(HOST_SUBDIR)/bfd ; then \
46352 cd $(HOST_SUBDIR); mv bfd stage2-bfd ; \
46353 mv prev-bfd stage1-bfd ; : ; \
46355 @endif bfd
46356 @if opcodes
46357 @if test -d $(HOST_SUBDIR)/opcodes ; then \
46358 cd $(HOST_SUBDIR); mv opcodes stage2-opcodes ; \
46359 mv prev-opcodes stage1-opcodes ; : ; \
46361 @endif opcodes
46362 @if binutils
46363 @if test -d $(HOST_SUBDIR)/binutils ; then \
46364 cd $(HOST_SUBDIR); mv binutils stage2-binutils ; \
46365 mv prev-binutils stage1-binutils ; : ; \
46367 @endif binutils
46368 @if fixincludes
46369 @if test -d $(HOST_SUBDIR)/fixincludes ; then \
46370 cd $(HOST_SUBDIR); mv fixincludes stage2-fixincludes ; \
46371 mv prev-fixincludes stage1-fixincludes ; : ; \
46373 @endif fixincludes
46374 @if gas
46375 @if test -d $(HOST_SUBDIR)/gas ; then \
46376 cd $(HOST_SUBDIR); mv gas stage2-gas ; \
46377 mv prev-gas stage1-gas ; : ; \
46379 @endif gas
46380 @if gcc
46381 @if test -d $(HOST_SUBDIR)/gcc ; then \
46382 cd $(HOST_SUBDIR); mv gcc stage2-gcc ; \
46383 mv prev-gcc stage1-gcc ; : ; \
46385 @endif gcc
46386 @if gmp
46387 @if test -d $(HOST_SUBDIR)/gmp ; then \
46388 cd $(HOST_SUBDIR); mv gmp stage2-gmp ; \
46389 mv prev-gmp stage1-gmp ; : ; \
46391 @endif gmp
46392 @if mpfr
46393 @if test -d $(HOST_SUBDIR)/mpfr ; then \
46394 cd $(HOST_SUBDIR); mv mpfr stage2-mpfr ; \
46395 mv prev-mpfr stage1-mpfr ; : ; \
46397 @endif mpfr
46398 @if mpc
46399 @if test -d $(HOST_SUBDIR)/mpc ; then \
46400 cd $(HOST_SUBDIR); mv mpc stage2-mpc ; \
46401 mv prev-mpc stage1-mpc ; : ; \
46403 @endif mpc
46404 @if isl
46405 @if test -d $(HOST_SUBDIR)/isl ; then \
46406 cd $(HOST_SUBDIR); mv isl stage2-isl ; \
46407 mv prev-isl stage1-isl ; : ; \
46409 @endif isl
46410 @if libelf
46411 @if test -d $(HOST_SUBDIR)/libelf ; then \
46412 cd $(HOST_SUBDIR); mv libelf stage2-libelf ; \
46413 mv prev-libelf stage1-libelf ; : ; \
46415 @endif libelf
46416 @if gold
46417 @if test -d $(HOST_SUBDIR)/gold ; then \
46418 cd $(HOST_SUBDIR); mv gold stage2-gold ; \
46419 mv prev-gold stage1-gold ; : ; \
46421 @endif gold
46422 @if intl
46423 @if test -d $(HOST_SUBDIR)/intl ; then \
46424 cd $(HOST_SUBDIR); mv intl stage2-intl ; \
46425 mv prev-intl stage1-intl ; : ; \
46427 @endif intl
46428 @if ld
46429 @if test -d $(HOST_SUBDIR)/ld ; then \
46430 cd $(HOST_SUBDIR); mv ld stage2-ld ; \
46431 mv prev-ld stage1-ld ; : ; \
46433 @endif ld
46434 @if libbacktrace
46435 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
46436 cd $(HOST_SUBDIR); mv libbacktrace stage2-libbacktrace ; \
46437 mv prev-libbacktrace stage1-libbacktrace ; : ; \
46439 @endif libbacktrace
46440 @if libcpp
46441 @if test -d $(HOST_SUBDIR)/libcpp ; then \
46442 cd $(HOST_SUBDIR); mv libcpp stage2-libcpp ; \
46443 mv prev-libcpp stage1-libcpp ; : ; \
46445 @endif libcpp
46446 @if libdecnumber
46447 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
46448 cd $(HOST_SUBDIR); mv libdecnumber stage2-libdecnumber ; \
46449 mv prev-libdecnumber stage1-libdecnumber ; : ; \
46451 @endif libdecnumber
46452 @if libiberty
46453 @if test -d $(HOST_SUBDIR)/libiberty ; then \
46454 cd $(HOST_SUBDIR); mv libiberty stage2-libiberty ; \
46455 mv prev-libiberty stage1-libiberty ; : ; \
46457 @endif libiberty
46458 @if libiberty-linker-plugin
46459 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin ; then \
46460 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage2-libiberty-linker-plugin ; \
46461 mv prev-libiberty-linker-plugin stage1-libiberty-linker-plugin ; : ; \
46463 @endif libiberty-linker-plugin
46464 @if zlib
46465 @if test -d $(HOST_SUBDIR)/zlib ; then \
46466 cd $(HOST_SUBDIR); mv zlib stage2-zlib ; \
46467 mv prev-zlib stage1-zlib ; : ; \
46469 @endif zlib
46470 @if lto-plugin
46471 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
46472 cd $(HOST_SUBDIR); mv lto-plugin stage2-lto-plugin ; \
46473 mv prev-lto-plugin stage1-lto-plugin ; : ; \
46475 @endif lto-plugin
46476 @if test -d $(TARGET_SUBDIR) ; then \
46477 mv $(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; \
46478 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
46480 rm -f stage_current
46482 # Bubble a bug fix through all the stages up to stage 2. They are
46483 # remade, but not reconfigured. The next stage (if any) will not be
46484 # reconfigured either.
46485 .PHONY: stage2-bubble
46486 stage2-bubble:: stage1-bubble
46487 @r=`${PWD_COMMAND}`; export r; \
46488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46489 if test -f stage2-lean || test -f stage1-lean ; then \
46490 echo Skipping rebuild of stage2 ; \
46491 else \
46492 $(MAKE) stage2-start; \
46493 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2; \
46496 .PHONY: all-stage2 clean-stage2
46497 do-clean: clean-stage2
46499 # FIXME: Will not need to be conditional when toplevel bootstrap is the
46500 # only possibility, but now it conflicts with no-bootstrap rules
46501 @if gcc-bootstrap
46505 .PHONY: bootstrap2 bootstrap2-lean
46506 bootstrap2:
46507 echo stage2 > stage_final
46508 @r=`${PWD_COMMAND}`; export r; \
46509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46510 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble
46511 @: $(MAKE); $(unstage)
46512 @r=`${PWD_COMMAND}`; export r; \
46513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46514 TFLAGS="$(STAGE2_TFLAGS)"; \
46515 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
46517 bootstrap2-lean:
46518 echo stage2 > stage_final
46519 @r=`${PWD_COMMAND}`; export r; \
46520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46521 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage2-bubble
46522 @: $(MAKE); $(unstage)
46523 @r=`${PWD_COMMAND}`; export r; \
46524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46525 TFLAGS="$(STAGE2_TFLAGS)"; \
46526 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
46529 # Rules to wipe a stage and all the following ones, also used for cleanstrap
46530 distclean-stage1:: distclean-stage2
46531 .PHONY: distclean-stage2
46532 distclean-stage2::
46533 @: $(MAKE); $(stage)
46534 @test "`cat stage_last`" != stage2 || rm -f stage_last
46535 rm -rf stage2-*
46538 @endif gcc-bootstrap
46541 .PHONY: stage3-start stage3-end
46543 stage3-start::
46544 @: $(MAKE); $(stage); \
46545 echo stage3 > stage_current ; \
46546 echo stage3 > stage_last; \
46547 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
46548 @if bfd
46549 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
46550 mkdir stage3-bfd; \
46551 mv stage3-bfd bfd ; \
46552 mv stage2-bfd prev-bfd || test -f stage2-lean
46553 @endif bfd
46554 @if opcodes
46555 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
46556 mkdir stage3-opcodes; \
46557 mv stage3-opcodes opcodes ; \
46558 mv stage2-opcodes prev-opcodes || test -f stage2-lean
46559 @endif opcodes
46560 @if binutils
46561 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
46562 mkdir stage3-binutils; \
46563 mv stage3-binutils binutils ; \
46564 mv stage2-binutils prev-binutils || test -f stage2-lean
46565 @endif binutils
46566 @if fixincludes
46567 @cd $(HOST_SUBDIR); [ -d stage3-fixincludes ] || \
46568 mkdir stage3-fixincludes; \
46569 mv stage3-fixincludes fixincludes ; \
46570 mv stage2-fixincludes prev-fixincludes || test -f stage2-lean
46571 @endif fixincludes
46572 @if gas
46573 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
46574 mkdir stage3-gas; \
46575 mv stage3-gas gas ; \
46576 mv stage2-gas prev-gas || test -f stage2-lean
46577 @endif gas
46578 @if gcc
46579 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
46580 mkdir stage3-gcc; \
46581 mv stage3-gcc gcc ; \
46582 mv stage2-gcc prev-gcc || test -f stage2-lean
46583 @endif gcc
46584 @if gmp
46585 @cd $(HOST_SUBDIR); [ -d stage3-gmp ] || \
46586 mkdir stage3-gmp; \
46587 mv stage3-gmp gmp ; \
46588 mv stage2-gmp prev-gmp || test -f stage2-lean
46589 @endif gmp
46590 @if mpfr
46591 @cd $(HOST_SUBDIR); [ -d stage3-mpfr ] || \
46592 mkdir stage3-mpfr; \
46593 mv stage3-mpfr mpfr ; \
46594 mv stage2-mpfr prev-mpfr || test -f stage2-lean
46595 @endif mpfr
46596 @if mpc
46597 @cd $(HOST_SUBDIR); [ -d stage3-mpc ] || \
46598 mkdir stage3-mpc; \
46599 mv stage3-mpc mpc ; \
46600 mv stage2-mpc prev-mpc || test -f stage2-lean
46601 @endif mpc
46602 @if isl
46603 @cd $(HOST_SUBDIR); [ -d stage3-isl ] || \
46604 mkdir stage3-isl; \
46605 mv stage3-isl isl ; \
46606 mv stage2-isl prev-isl || test -f stage2-lean
46607 @endif isl
46608 @if libelf
46609 @cd $(HOST_SUBDIR); [ -d stage3-libelf ] || \
46610 mkdir stage3-libelf; \
46611 mv stage3-libelf libelf ; \
46612 mv stage2-libelf prev-libelf || test -f stage2-lean
46613 @endif libelf
46614 @if gold
46615 @cd $(HOST_SUBDIR); [ -d stage3-gold ] || \
46616 mkdir stage3-gold; \
46617 mv stage3-gold gold ; \
46618 mv stage2-gold prev-gold || test -f stage2-lean
46619 @endif gold
46620 @if intl
46621 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
46622 mkdir stage3-intl; \
46623 mv stage3-intl intl ; \
46624 mv stage2-intl prev-intl || test -f stage2-lean
46625 @endif intl
46626 @if ld
46627 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
46628 mkdir stage3-ld; \
46629 mv stage3-ld ld ; \
46630 mv stage2-ld prev-ld || test -f stage2-lean
46631 @endif ld
46632 @if libbacktrace
46633 @cd $(HOST_SUBDIR); [ -d stage3-libbacktrace ] || \
46634 mkdir stage3-libbacktrace; \
46635 mv stage3-libbacktrace libbacktrace ; \
46636 mv stage2-libbacktrace prev-libbacktrace || test -f stage2-lean
46637 @endif libbacktrace
46638 @if libcpp
46639 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
46640 mkdir stage3-libcpp; \
46641 mv stage3-libcpp libcpp ; \
46642 mv stage2-libcpp prev-libcpp || test -f stage2-lean
46643 @endif libcpp
46644 @if libdecnumber
46645 @cd $(HOST_SUBDIR); [ -d stage3-libdecnumber ] || \
46646 mkdir stage3-libdecnumber; \
46647 mv stage3-libdecnumber libdecnumber ; \
46648 mv stage2-libdecnumber prev-libdecnumber || test -f stage2-lean
46649 @endif libdecnumber
46650 @if libiberty
46651 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
46652 mkdir stage3-libiberty; \
46653 mv stage3-libiberty libiberty ; \
46654 mv stage2-libiberty prev-libiberty || test -f stage2-lean
46655 @endif libiberty
46656 @if libiberty-linker-plugin
46657 @cd $(HOST_SUBDIR); [ -d stage3-libiberty-linker-plugin ] || \
46658 mkdir stage3-libiberty-linker-plugin; \
46659 mv stage3-libiberty-linker-plugin libiberty-linker-plugin ; \
46660 mv stage2-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage2-lean
46661 @endif libiberty-linker-plugin
46662 @if zlib
46663 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
46664 mkdir stage3-zlib; \
46665 mv stage3-zlib zlib ; \
46666 mv stage2-zlib prev-zlib || test -f stage2-lean
46667 @endif zlib
46668 @if lto-plugin
46669 @cd $(HOST_SUBDIR); [ -d stage3-lto-plugin ] || \
46670 mkdir stage3-lto-plugin; \
46671 mv stage3-lto-plugin lto-plugin ; \
46672 mv stage2-lto-plugin prev-lto-plugin || test -f stage2-lean
46673 @endif lto-plugin
46674 @[ -d stage3-$(TARGET_SUBDIR) ] || \
46675 mkdir stage3-$(TARGET_SUBDIR); \
46676 mv stage3-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
46677 mv stage2-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage2-lean
46679 stage3-end::
46680 @if bfd
46681 @if test -d $(HOST_SUBDIR)/bfd ; then \
46682 cd $(HOST_SUBDIR); mv bfd stage3-bfd ; \
46683 mv prev-bfd stage2-bfd ; : ; \
46685 @endif bfd
46686 @if opcodes
46687 @if test -d $(HOST_SUBDIR)/opcodes ; then \
46688 cd $(HOST_SUBDIR); mv opcodes stage3-opcodes ; \
46689 mv prev-opcodes stage2-opcodes ; : ; \
46691 @endif opcodes
46692 @if binutils
46693 @if test -d $(HOST_SUBDIR)/binutils ; then \
46694 cd $(HOST_SUBDIR); mv binutils stage3-binutils ; \
46695 mv prev-binutils stage2-binutils ; : ; \
46697 @endif binutils
46698 @if fixincludes
46699 @if test -d $(HOST_SUBDIR)/fixincludes ; then \
46700 cd $(HOST_SUBDIR); mv fixincludes stage3-fixincludes ; \
46701 mv prev-fixincludes stage2-fixincludes ; : ; \
46703 @endif fixincludes
46704 @if gas
46705 @if test -d $(HOST_SUBDIR)/gas ; then \
46706 cd $(HOST_SUBDIR); mv gas stage3-gas ; \
46707 mv prev-gas stage2-gas ; : ; \
46709 @endif gas
46710 @if gcc
46711 @if test -d $(HOST_SUBDIR)/gcc ; then \
46712 cd $(HOST_SUBDIR); mv gcc stage3-gcc ; \
46713 mv prev-gcc stage2-gcc ; : ; \
46715 @endif gcc
46716 @if gmp
46717 @if test -d $(HOST_SUBDIR)/gmp ; then \
46718 cd $(HOST_SUBDIR); mv gmp stage3-gmp ; \
46719 mv prev-gmp stage2-gmp ; : ; \
46721 @endif gmp
46722 @if mpfr
46723 @if test -d $(HOST_SUBDIR)/mpfr ; then \
46724 cd $(HOST_SUBDIR); mv mpfr stage3-mpfr ; \
46725 mv prev-mpfr stage2-mpfr ; : ; \
46727 @endif mpfr
46728 @if mpc
46729 @if test -d $(HOST_SUBDIR)/mpc ; then \
46730 cd $(HOST_SUBDIR); mv mpc stage3-mpc ; \
46731 mv prev-mpc stage2-mpc ; : ; \
46733 @endif mpc
46734 @if isl
46735 @if test -d $(HOST_SUBDIR)/isl ; then \
46736 cd $(HOST_SUBDIR); mv isl stage3-isl ; \
46737 mv prev-isl stage2-isl ; : ; \
46739 @endif isl
46740 @if libelf
46741 @if test -d $(HOST_SUBDIR)/libelf ; then \
46742 cd $(HOST_SUBDIR); mv libelf stage3-libelf ; \
46743 mv prev-libelf stage2-libelf ; : ; \
46745 @endif libelf
46746 @if gold
46747 @if test -d $(HOST_SUBDIR)/gold ; then \
46748 cd $(HOST_SUBDIR); mv gold stage3-gold ; \
46749 mv prev-gold stage2-gold ; : ; \
46751 @endif gold
46752 @if intl
46753 @if test -d $(HOST_SUBDIR)/intl ; then \
46754 cd $(HOST_SUBDIR); mv intl stage3-intl ; \
46755 mv prev-intl stage2-intl ; : ; \
46757 @endif intl
46758 @if ld
46759 @if test -d $(HOST_SUBDIR)/ld ; then \
46760 cd $(HOST_SUBDIR); mv ld stage3-ld ; \
46761 mv prev-ld stage2-ld ; : ; \
46763 @endif ld
46764 @if libbacktrace
46765 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
46766 cd $(HOST_SUBDIR); mv libbacktrace stage3-libbacktrace ; \
46767 mv prev-libbacktrace stage2-libbacktrace ; : ; \
46769 @endif libbacktrace
46770 @if libcpp
46771 @if test -d $(HOST_SUBDIR)/libcpp ; then \
46772 cd $(HOST_SUBDIR); mv libcpp stage3-libcpp ; \
46773 mv prev-libcpp stage2-libcpp ; : ; \
46775 @endif libcpp
46776 @if libdecnumber
46777 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
46778 cd $(HOST_SUBDIR); mv libdecnumber stage3-libdecnumber ; \
46779 mv prev-libdecnumber stage2-libdecnumber ; : ; \
46781 @endif libdecnumber
46782 @if libiberty
46783 @if test -d $(HOST_SUBDIR)/libiberty ; then \
46784 cd $(HOST_SUBDIR); mv libiberty stage3-libiberty ; \
46785 mv prev-libiberty stage2-libiberty ; : ; \
46787 @endif libiberty
46788 @if libiberty-linker-plugin
46789 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin ; then \
46790 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage3-libiberty-linker-plugin ; \
46791 mv prev-libiberty-linker-plugin stage2-libiberty-linker-plugin ; : ; \
46793 @endif libiberty-linker-plugin
46794 @if zlib
46795 @if test -d $(HOST_SUBDIR)/zlib ; then \
46796 cd $(HOST_SUBDIR); mv zlib stage3-zlib ; \
46797 mv prev-zlib stage2-zlib ; : ; \
46799 @endif zlib
46800 @if lto-plugin
46801 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
46802 cd $(HOST_SUBDIR); mv lto-plugin stage3-lto-plugin ; \
46803 mv prev-lto-plugin stage2-lto-plugin ; : ; \
46805 @endif lto-plugin
46806 @if test -d $(TARGET_SUBDIR) ; then \
46807 mv $(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; \
46808 mv prev-$(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; : ; \
46810 rm -f stage_current
46812 # Bubble a bug fix through all the stages up to stage 3. They are
46813 # remade, but not reconfigured. The next stage (if any) will not be
46814 # reconfigured either.
46815 .PHONY: stage3-bubble
46816 stage3-bubble:: stage2-bubble
46817 @r=`${PWD_COMMAND}`; export r; \
46818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46819 if test -f stage3-lean || test -f stage2-lean ; then \
46820 echo Skipping rebuild of stage3 ; \
46821 else \
46822 $(MAKE) stage3-start; \
46823 if $(LEAN); then \
46824 rm -rf stage1-* ; \
46825 $(STAMP) stage1-lean ; \
46826 fi; \
46827 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3; \
46829 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare
46831 .PHONY: all-stage3 clean-stage3
46832 do-clean: clean-stage3
46834 # FIXME: Will not need to be conditional when toplevel bootstrap is the
46835 # only possibility, but now it conflicts with no-bootstrap rules
46836 @if gcc-bootstrap
46838 compare:
46839 @r=`${PWD_COMMAND}`; export r; \
46840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46841 if test -f stage2-lean; then \
46842 echo Cannot compare object files as stage 2 was deleted. ; \
46843 exit 0 ; \
46844 fi; \
46845 : $(MAKE); $(stage); \
46846 rm -f .bad_compare ; \
46847 echo Comparing stages 2 and 3 ; \
46848 sed=`echo stage3 | sed 's,^stage,,;s,.,.,g'`; \
46849 files=`find stage3-* -name "*$(objext)" -print | \
46850 sed -n s,^stage$$sed-,,p` ; \
46851 for file in $${files} ; do \
46852 f1=$$r/stage2-$$file; f2=$$r/stage3-$$file; \
46853 if test ! -f $$f1; then continue; fi; \
46854 $(do-compare) > /dev/null 2>&1; \
46855 if test $$? -eq 1; then \
46856 case $$file in \
46857 @compare_exclusions@) \
46858 echo warning: $$file differs ;; \
46859 *) \
46860 echo $$file differs >> .bad_compare ;; \
46861 esac ; \
46862 fi ; \
46863 done ; \
46864 if [ -f .bad_compare ]; then \
46865 echo "Bootstrap comparison failure!"; \
46866 cat .bad_compare; \
46867 exit 1; \
46868 else \
46869 echo Comparison successful.; \
46870 fi ; \
46871 $(STAMP) compare
46872 if $(LEAN); then \
46873 rm -rf stage2-*; \
46874 $(STAMP) stage2-lean; \
46879 .PHONY: bootstrap bootstrap-lean
46880 bootstrap:
46881 echo stage3 > stage_final
46882 @r=`${PWD_COMMAND}`; export r; \
46883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46884 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
46885 @: $(MAKE); $(unstage)
46886 @r=`${PWD_COMMAND}`; export r; \
46887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46888 TFLAGS="$(STAGE3_TFLAGS)"; \
46889 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
46891 bootstrap-lean:
46892 echo stage3 > stage_final
46893 @r=`${PWD_COMMAND}`; export r; \
46894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46895 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage3-bubble
46896 @: $(MAKE); $(unstage)
46897 @r=`${PWD_COMMAND}`; export r; \
46898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46899 TFLAGS="$(STAGE3_TFLAGS)"; \
46900 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
46903 # Rules to wipe a stage and all the following ones, also used for cleanstrap
46904 distclean-stage2:: distclean-stage3
46905 .PHONY: distclean-stage3
46906 distclean-stage3::
46907 @: $(MAKE); $(stage)
46908 @test "`cat stage_last`" != stage3 || rm -f stage_last
46909 rm -rf stage3-* compare
46912 .PHONY: cleanstrap
46913 cleanstrap: do-distclean local-clean
46914 echo stage3 > stage_final
46915 @r=`${PWD_COMMAND}`; export r; \
46916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46917 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
46918 @: $(MAKE); $(unstage)
46919 @r=`${PWD_COMMAND}`; export r; \
46920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46921 TFLAGS="$(STAGE3_TFLAGS)"; \
46922 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
46924 @endif gcc-bootstrap
46927 .PHONY: stage4-start stage4-end
46929 stage4-start::
46930 @: $(MAKE); $(stage); \
46931 echo stage4 > stage_current ; \
46932 echo stage4 > stage_last; \
46933 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
46934 @if bfd
46935 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
46936 mkdir stage4-bfd; \
46937 mv stage4-bfd bfd ; \
46938 mv stage3-bfd prev-bfd || test -f stage3-lean
46939 @endif bfd
46940 @if opcodes
46941 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
46942 mkdir stage4-opcodes; \
46943 mv stage4-opcodes opcodes ; \
46944 mv stage3-opcodes prev-opcodes || test -f stage3-lean
46945 @endif opcodes
46946 @if binutils
46947 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
46948 mkdir stage4-binutils; \
46949 mv stage4-binutils binutils ; \
46950 mv stage3-binutils prev-binutils || test -f stage3-lean
46951 @endif binutils
46952 @if fixincludes
46953 @cd $(HOST_SUBDIR); [ -d stage4-fixincludes ] || \
46954 mkdir stage4-fixincludes; \
46955 mv stage4-fixincludes fixincludes ; \
46956 mv stage3-fixincludes prev-fixincludes || test -f stage3-lean
46957 @endif fixincludes
46958 @if gas
46959 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
46960 mkdir stage4-gas; \
46961 mv stage4-gas gas ; \
46962 mv stage3-gas prev-gas || test -f stage3-lean
46963 @endif gas
46964 @if gcc
46965 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
46966 mkdir stage4-gcc; \
46967 mv stage4-gcc gcc ; \
46968 mv stage3-gcc prev-gcc || test -f stage3-lean
46969 @endif gcc
46970 @if gmp
46971 @cd $(HOST_SUBDIR); [ -d stage4-gmp ] || \
46972 mkdir stage4-gmp; \
46973 mv stage4-gmp gmp ; \
46974 mv stage3-gmp prev-gmp || test -f stage3-lean
46975 @endif gmp
46976 @if mpfr
46977 @cd $(HOST_SUBDIR); [ -d stage4-mpfr ] || \
46978 mkdir stage4-mpfr; \
46979 mv stage4-mpfr mpfr ; \
46980 mv stage3-mpfr prev-mpfr || test -f stage3-lean
46981 @endif mpfr
46982 @if mpc
46983 @cd $(HOST_SUBDIR); [ -d stage4-mpc ] || \
46984 mkdir stage4-mpc; \
46985 mv stage4-mpc mpc ; \
46986 mv stage3-mpc prev-mpc || test -f stage3-lean
46987 @endif mpc
46988 @if isl
46989 @cd $(HOST_SUBDIR); [ -d stage4-isl ] || \
46990 mkdir stage4-isl; \
46991 mv stage4-isl isl ; \
46992 mv stage3-isl prev-isl || test -f stage3-lean
46993 @endif isl
46994 @if libelf
46995 @cd $(HOST_SUBDIR); [ -d stage4-libelf ] || \
46996 mkdir stage4-libelf; \
46997 mv stage4-libelf libelf ; \
46998 mv stage3-libelf prev-libelf || test -f stage3-lean
46999 @endif libelf
47000 @if gold
47001 @cd $(HOST_SUBDIR); [ -d stage4-gold ] || \
47002 mkdir stage4-gold; \
47003 mv stage4-gold gold ; \
47004 mv stage3-gold prev-gold || test -f stage3-lean
47005 @endif gold
47006 @if intl
47007 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
47008 mkdir stage4-intl; \
47009 mv stage4-intl intl ; \
47010 mv stage3-intl prev-intl || test -f stage3-lean
47011 @endif intl
47012 @if ld
47013 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
47014 mkdir stage4-ld; \
47015 mv stage4-ld ld ; \
47016 mv stage3-ld prev-ld || test -f stage3-lean
47017 @endif ld
47018 @if libbacktrace
47019 @cd $(HOST_SUBDIR); [ -d stage4-libbacktrace ] || \
47020 mkdir stage4-libbacktrace; \
47021 mv stage4-libbacktrace libbacktrace ; \
47022 mv stage3-libbacktrace prev-libbacktrace || test -f stage3-lean
47023 @endif libbacktrace
47024 @if libcpp
47025 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
47026 mkdir stage4-libcpp; \
47027 mv stage4-libcpp libcpp ; \
47028 mv stage3-libcpp prev-libcpp || test -f stage3-lean
47029 @endif libcpp
47030 @if libdecnumber
47031 @cd $(HOST_SUBDIR); [ -d stage4-libdecnumber ] || \
47032 mkdir stage4-libdecnumber; \
47033 mv stage4-libdecnumber libdecnumber ; \
47034 mv stage3-libdecnumber prev-libdecnumber || test -f stage3-lean
47035 @endif libdecnumber
47036 @if libiberty
47037 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
47038 mkdir stage4-libiberty; \
47039 mv stage4-libiberty libiberty ; \
47040 mv stage3-libiberty prev-libiberty || test -f stage3-lean
47041 @endif libiberty
47042 @if libiberty-linker-plugin
47043 @cd $(HOST_SUBDIR); [ -d stage4-libiberty-linker-plugin ] || \
47044 mkdir stage4-libiberty-linker-plugin; \
47045 mv stage4-libiberty-linker-plugin libiberty-linker-plugin ; \
47046 mv stage3-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage3-lean
47047 @endif libiberty-linker-plugin
47048 @if zlib
47049 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
47050 mkdir stage4-zlib; \
47051 mv stage4-zlib zlib ; \
47052 mv stage3-zlib prev-zlib || test -f stage3-lean
47053 @endif zlib
47054 @if lto-plugin
47055 @cd $(HOST_SUBDIR); [ -d stage4-lto-plugin ] || \
47056 mkdir stage4-lto-plugin; \
47057 mv stage4-lto-plugin lto-plugin ; \
47058 mv stage3-lto-plugin prev-lto-plugin || test -f stage3-lean
47059 @endif lto-plugin
47060 @[ -d stage4-$(TARGET_SUBDIR) ] || \
47061 mkdir stage4-$(TARGET_SUBDIR); \
47062 mv stage4-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
47063 mv stage3-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage3-lean
47065 stage4-end::
47066 @if bfd
47067 @if test -d $(HOST_SUBDIR)/bfd ; then \
47068 cd $(HOST_SUBDIR); mv bfd stage4-bfd ; \
47069 mv prev-bfd stage3-bfd ; : ; \
47071 @endif bfd
47072 @if opcodes
47073 @if test -d $(HOST_SUBDIR)/opcodes ; then \
47074 cd $(HOST_SUBDIR); mv opcodes stage4-opcodes ; \
47075 mv prev-opcodes stage3-opcodes ; : ; \
47077 @endif opcodes
47078 @if binutils
47079 @if test -d $(HOST_SUBDIR)/binutils ; then \
47080 cd $(HOST_SUBDIR); mv binutils stage4-binutils ; \
47081 mv prev-binutils stage3-binutils ; : ; \
47083 @endif binutils
47084 @if fixincludes
47085 @if test -d $(HOST_SUBDIR)/fixincludes ; then \
47086 cd $(HOST_SUBDIR); mv fixincludes stage4-fixincludes ; \
47087 mv prev-fixincludes stage3-fixincludes ; : ; \
47089 @endif fixincludes
47090 @if gas
47091 @if test -d $(HOST_SUBDIR)/gas ; then \
47092 cd $(HOST_SUBDIR); mv gas stage4-gas ; \
47093 mv prev-gas stage3-gas ; : ; \
47095 @endif gas
47096 @if gcc
47097 @if test -d $(HOST_SUBDIR)/gcc ; then \
47098 cd $(HOST_SUBDIR); mv gcc stage4-gcc ; \
47099 mv prev-gcc stage3-gcc ; : ; \
47101 @endif gcc
47102 @if gmp
47103 @if test -d $(HOST_SUBDIR)/gmp ; then \
47104 cd $(HOST_SUBDIR); mv gmp stage4-gmp ; \
47105 mv prev-gmp stage3-gmp ; : ; \
47107 @endif gmp
47108 @if mpfr
47109 @if test -d $(HOST_SUBDIR)/mpfr ; then \
47110 cd $(HOST_SUBDIR); mv mpfr stage4-mpfr ; \
47111 mv prev-mpfr stage3-mpfr ; : ; \
47113 @endif mpfr
47114 @if mpc
47115 @if test -d $(HOST_SUBDIR)/mpc ; then \
47116 cd $(HOST_SUBDIR); mv mpc stage4-mpc ; \
47117 mv prev-mpc stage3-mpc ; : ; \
47119 @endif mpc
47120 @if isl
47121 @if test -d $(HOST_SUBDIR)/isl ; then \
47122 cd $(HOST_SUBDIR); mv isl stage4-isl ; \
47123 mv prev-isl stage3-isl ; : ; \
47125 @endif isl
47126 @if libelf
47127 @if test -d $(HOST_SUBDIR)/libelf ; then \
47128 cd $(HOST_SUBDIR); mv libelf stage4-libelf ; \
47129 mv prev-libelf stage3-libelf ; : ; \
47131 @endif libelf
47132 @if gold
47133 @if test -d $(HOST_SUBDIR)/gold ; then \
47134 cd $(HOST_SUBDIR); mv gold stage4-gold ; \
47135 mv prev-gold stage3-gold ; : ; \
47137 @endif gold
47138 @if intl
47139 @if test -d $(HOST_SUBDIR)/intl ; then \
47140 cd $(HOST_SUBDIR); mv intl stage4-intl ; \
47141 mv prev-intl stage3-intl ; : ; \
47143 @endif intl
47144 @if ld
47145 @if test -d $(HOST_SUBDIR)/ld ; then \
47146 cd $(HOST_SUBDIR); mv ld stage4-ld ; \
47147 mv prev-ld stage3-ld ; : ; \
47149 @endif ld
47150 @if libbacktrace
47151 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
47152 cd $(HOST_SUBDIR); mv libbacktrace stage4-libbacktrace ; \
47153 mv prev-libbacktrace stage3-libbacktrace ; : ; \
47155 @endif libbacktrace
47156 @if libcpp
47157 @if test -d $(HOST_SUBDIR)/libcpp ; then \
47158 cd $(HOST_SUBDIR); mv libcpp stage4-libcpp ; \
47159 mv prev-libcpp stage3-libcpp ; : ; \
47161 @endif libcpp
47162 @if libdecnumber
47163 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
47164 cd $(HOST_SUBDIR); mv libdecnumber stage4-libdecnumber ; \
47165 mv prev-libdecnumber stage3-libdecnumber ; : ; \
47167 @endif libdecnumber
47168 @if libiberty
47169 @if test -d $(HOST_SUBDIR)/libiberty ; then \
47170 cd $(HOST_SUBDIR); mv libiberty stage4-libiberty ; \
47171 mv prev-libiberty stage3-libiberty ; : ; \
47173 @endif libiberty
47174 @if libiberty-linker-plugin
47175 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin ; then \
47176 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage4-libiberty-linker-plugin ; \
47177 mv prev-libiberty-linker-plugin stage3-libiberty-linker-plugin ; : ; \
47179 @endif libiberty-linker-plugin
47180 @if zlib
47181 @if test -d $(HOST_SUBDIR)/zlib ; then \
47182 cd $(HOST_SUBDIR); mv zlib stage4-zlib ; \
47183 mv prev-zlib stage3-zlib ; : ; \
47185 @endif zlib
47186 @if lto-plugin
47187 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
47188 cd $(HOST_SUBDIR); mv lto-plugin stage4-lto-plugin ; \
47189 mv prev-lto-plugin stage3-lto-plugin ; : ; \
47191 @endif lto-plugin
47192 @if test -d $(TARGET_SUBDIR) ; then \
47193 mv $(TARGET_SUBDIR) stage4-$(TARGET_SUBDIR) ; \
47194 mv prev-$(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; : ; \
47196 rm -f stage_current
47198 # Bubble a bug fix through all the stages up to stage 4. They are
47199 # remade, but not reconfigured. The next stage (if any) will not be
47200 # reconfigured either.
47201 .PHONY: stage4-bubble
47202 stage4-bubble:: stage3-bubble
47203 @r=`${PWD_COMMAND}`; export r; \
47204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47205 if test -f stage4-lean || test -f stage3-lean ; then \
47206 echo Skipping rebuild of stage4 ; \
47207 else \
47208 $(MAKE) stage4-start; \
47209 if $(LEAN); then \
47210 rm -rf stage2-* ; \
47211 $(STAMP) stage2-lean ; \
47212 fi; \
47213 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4; \
47215 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3
47217 .PHONY: all-stage4 clean-stage4
47218 do-clean: clean-stage4
47220 # FIXME: Will not need to be conditional when toplevel bootstrap is the
47221 # only possibility, but now it conflicts with no-bootstrap rules
47222 @if gcc-bootstrap
47224 compare3:
47225 @r=`${PWD_COMMAND}`; export r; \
47226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47227 if test -f stage3-lean; then \
47228 echo Cannot compare object files as stage 3 was deleted. ; \
47229 exit 0 ; \
47230 fi; \
47231 : $(MAKE); $(stage); \
47232 rm -f .bad_compare ; \
47233 echo Comparing stages 3 and 4 ; \
47234 sed=`echo stage4 | sed 's,^stage,,;s,.,.,g'`; \
47235 files=`find stage4-* -name "*$(objext)" -print | \
47236 sed -n s,^stage$$sed-,,p` ; \
47237 for file in $${files} ; do \
47238 f1=$$r/stage3-$$file; f2=$$r/stage4-$$file; \
47239 if test ! -f $$f1; then continue; fi; \
47240 $(do-compare3) > /dev/null 2>&1; \
47241 if test $$? -eq 1; then \
47242 case $$file in \
47243 @compare_exclusions@) \
47244 echo warning: $$file differs ;; \
47245 *) \
47246 echo $$file differs >> .bad_compare ;; \
47247 esac ; \
47248 fi ; \
47249 done ; \
47250 if [ -f .bad_compare ]; then \
47251 echo "Bootstrap comparison failure!"; \
47252 cat .bad_compare; \
47253 exit 1; \
47254 else \
47255 echo Comparison successful.; \
47256 fi ; \
47257 $(STAMP) compare3
47258 if $(LEAN); then \
47259 rm -rf stage3-*; \
47260 $(STAMP) stage3-lean; \
47265 .PHONY: bootstrap4 bootstrap4-lean
47266 bootstrap4:
47267 echo stage4 > stage_final
47268 @r=`${PWD_COMMAND}`; export r; \
47269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47270 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble
47271 @: $(MAKE); $(unstage)
47272 @r=`${PWD_COMMAND}`; export r; \
47273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47274 TFLAGS="$(STAGE4_TFLAGS)"; \
47275 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
47277 bootstrap4-lean:
47278 echo stage4 > stage_final
47279 @r=`${PWD_COMMAND}`; export r; \
47280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47281 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage4-bubble
47282 @: $(MAKE); $(unstage)
47283 @r=`${PWD_COMMAND}`; export r; \
47284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47285 TFLAGS="$(STAGE4_TFLAGS)"; \
47286 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
47289 # Rules to wipe a stage and all the following ones, also used for cleanstrap
47290 distclean-stage3:: distclean-stage4
47291 .PHONY: distclean-stage4
47292 distclean-stage4::
47293 @: $(MAKE); $(stage)
47294 @test "`cat stage_last`" != stage4 || rm -f stage_last
47295 rm -rf stage4-* compare3
47298 @endif gcc-bootstrap
47301 .PHONY: stageprofile-start stageprofile-end
47303 stageprofile-start::
47304 @: $(MAKE); $(stage); \
47305 echo stageprofile > stage_current ; \
47306 echo stageprofile > stage_last; \
47307 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
47308 @if bfd
47309 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
47310 mkdir stageprofile-bfd; \
47311 mv stageprofile-bfd bfd ; \
47312 mv stage1-bfd prev-bfd || test -f stage1-lean
47313 @endif bfd
47314 @if opcodes
47315 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
47316 mkdir stageprofile-opcodes; \
47317 mv stageprofile-opcodes opcodes ; \
47318 mv stage1-opcodes prev-opcodes || test -f stage1-lean
47319 @endif opcodes
47320 @if binutils
47321 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
47322 mkdir stageprofile-binutils; \
47323 mv stageprofile-binutils binutils ; \
47324 mv stage1-binutils prev-binutils || test -f stage1-lean
47325 @endif binutils
47326 @if fixincludes
47327 @cd $(HOST_SUBDIR); [ -d stageprofile-fixincludes ] || \
47328 mkdir stageprofile-fixincludes; \
47329 mv stageprofile-fixincludes fixincludes ; \
47330 mv stage1-fixincludes prev-fixincludes || test -f stage1-lean
47331 @endif fixincludes
47332 @if gas
47333 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
47334 mkdir stageprofile-gas; \
47335 mv stageprofile-gas gas ; \
47336 mv stage1-gas prev-gas || test -f stage1-lean
47337 @endif gas
47338 @if gcc
47339 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
47340 mkdir stageprofile-gcc; \
47341 mv stageprofile-gcc gcc ; \
47342 mv stage1-gcc prev-gcc || test -f stage1-lean
47343 @endif gcc
47344 @if gmp
47345 @cd $(HOST_SUBDIR); [ -d stageprofile-gmp ] || \
47346 mkdir stageprofile-gmp; \
47347 mv stageprofile-gmp gmp ; \
47348 mv stage1-gmp prev-gmp || test -f stage1-lean
47349 @endif gmp
47350 @if mpfr
47351 @cd $(HOST_SUBDIR); [ -d stageprofile-mpfr ] || \
47352 mkdir stageprofile-mpfr; \
47353 mv stageprofile-mpfr mpfr ; \
47354 mv stage1-mpfr prev-mpfr || test -f stage1-lean
47355 @endif mpfr
47356 @if mpc
47357 @cd $(HOST_SUBDIR); [ -d stageprofile-mpc ] || \
47358 mkdir stageprofile-mpc; \
47359 mv stageprofile-mpc mpc ; \
47360 mv stage1-mpc prev-mpc || test -f stage1-lean
47361 @endif mpc
47362 @if isl
47363 @cd $(HOST_SUBDIR); [ -d stageprofile-isl ] || \
47364 mkdir stageprofile-isl; \
47365 mv stageprofile-isl isl ; \
47366 mv stage1-isl prev-isl || test -f stage1-lean
47367 @endif isl
47368 @if libelf
47369 @cd $(HOST_SUBDIR); [ -d stageprofile-libelf ] || \
47370 mkdir stageprofile-libelf; \
47371 mv stageprofile-libelf libelf ; \
47372 mv stage1-libelf prev-libelf || test -f stage1-lean
47373 @endif libelf
47374 @if gold
47375 @cd $(HOST_SUBDIR); [ -d stageprofile-gold ] || \
47376 mkdir stageprofile-gold; \
47377 mv stageprofile-gold gold ; \
47378 mv stage1-gold prev-gold || test -f stage1-lean
47379 @endif gold
47380 @if intl
47381 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
47382 mkdir stageprofile-intl; \
47383 mv stageprofile-intl intl ; \
47384 mv stage1-intl prev-intl || test -f stage1-lean
47385 @endif intl
47386 @if ld
47387 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
47388 mkdir stageprofile-ld; \
47389 mv stageprofile-ld ld ; \
47390 mv stage1-ld prev-ld || test -f stage1-lean
47391 @endif ld
47392 @if libbacktrace
47393 @cd $(HOST_SUBDIR); [ -d stageprofile-libbacktrace ] || \
47394 mkdir stageprofile-libbacktrace; \
47395 mv stageprofile-libbacktrace libbacktrace ; \
47396 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
47397 @endif libbacktrace
47398 @if libcpp
47399 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
47400 mkdir stageprofile-libcpp; \
47401 mv stageprofile-libcpp libcpp ; \
47402 mv stage1-libcpp prev-libcpp || test -f stage1-lean
47403 @endif libcpp
47404 @if libdecnumber
47405 @cd $(HOST_SUBDIR); [ -d stageprofile-libdecnumber ] || \
47406 mkdir stageprofile-libdecnumber; \
47407 mv stageprofile-libdecnumber libdecnumber ; \
47408 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
47409 @endif libdecnumber
47410 @if libiberty
47411 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
47412 mkdir stageprofile-libiberty; \
47413 mv stageprofile-libiberty libiberty ; \
47414 mv stage1-libiberty prev-libiberty || test -f stage1-lean
47415 @endif libiberty
47416 @if libiberty-linker-plugin
47417 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty-linker-plugin ] || \
47418 mkdir stageprofile-libiberty-linker-plugin; \
47419 mv stageprofile-libiberty-linker-plugin libiberty-linker-plugin ; \
47420 mv stage1-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage1-lean
47421 @endif libiberty-linker-plugin
47422 @if zlib
47423 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
47424 mkdir stageprofile-zlib; \
47425 mv stageprofile-zlib zlib ; \
47426 mv stage1-zlib prev-zlib || test -f stage1-lean
47427 @endif zlib
47428 @if lto-plugin
47429 @cd $(HOST_SUBDIR); [ -d stageprofile-lto-plugin ] || \
47430 mkdir stageprofile-lto-plugin; \
47431 mv stageprofile-lto-plugin lto-plugin ; \
47432 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
47433 @endif lto-plugin
47434 @[ -d stageprofile-$(TARGET_SUBDIR) ] || \
47435 mkdir stageprofile-$(TARGET_SUBDIR); \
47436 mv stageprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
47437 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
47439 stageprofile-end::
47440 @if bfd
47441 @if test -d $(HOST_SUBDIR)/bfd ; then \
47442 cd $(HOST_SUBDIR); mv bfd stageprofile-bfd ; \
47443 mv prev-bfd stage1-bfd ; : ; \
47445 @endif bfd
47446 @if opcodes
47447 @if test -d $(HOST_SUBDIR)/opcodes ; then \
47448 cd $(HOST_SUBDIR); mv opcodes stageprofile-opcodes ; \
47449 mv prev-opcodes stage1-opcodes ; : ; \
47451 @endif opcodes
47452 @if binutils
47453 @if test -d $(HOST_SUBDIR)/binutils ; then \
47454 cd $(HOST_SUBDIR); mv binutils stageprofile-binutils ; \
47455 mv prev-binutils stage1-binutils ; : ; \
47457 @endif binutils
47458 @if fixincludes
47459 @if test -d $(HOST_SUBDIR)/fixincludes ; then \
47460 cd $(HOST_SUBDIR); mv fixincludes stageprofile-fixincludes ; \
47461 mv prev-fixincludes stage1-fixincludes ; : ; \
47463 @endif fixincludes
47464 @if gas
47465 @if test -d $(HOST_SUBDIR)/gas ; then \
47466 cd $(HOST_SUBDIR); mv gas stageprofile-gas ; \
47467 mv prev-gas stage1-gas ; : ; \
47469 @endif gas
47470 @if gcc
47471 @if test -d $(HOST_SUBDIR)/gcc ; then \
47472 cd $(HOST_SUBDIR); mv gcc stageprofile-gcc ; \
47473 mv prev-gcc stage1-gcc ; : ; \
47475 @endif gcc
47476 @if gmp
47477 @if test -d $(HOST_SUBDIR)/gmp ; then \
47478 cd $(HOST_SUBDIR); mv gmp stageprofile-gmp ; \
47479 mv prev-gmp stage1-gmp ; : ; \
47481 @endif gmp
47482 @if mpfr
47483 @if test -d $(HOST_SUBDIR)/mpfr ; then \
47484 cd $(HOST_SUBDIR); mv mpfr stageprofile-mpfr ; \
47485 mv prev-mpfr stage1-mpfr ; : ; \
47487 @endif mpfr
47488 @if mpc
47489 @if test -d $(HOST_SUBDIR)/mpc ; then \
47490 cd $(HOST_SUBDIR); mv mpc stageprofile-mpc ; \
47491 mv prev-mpc stage1-mpc ; : ; \
47493 @endif mpc
47494 @if isl
47495 @if test -d $(HOST_SUBDIR)/isl ; then \
47496 cd $(HOST_SUBDIR); mv isl stageprofile-isl ; \
47497 mv prev-isl stage1-isl ; : ; \
47499 @endif isl
47500 @if libelf
47501 @if test -d $(HOST_SUBDIR)/libelf ; then \
47502 cd $(HOST_SUBDIR); mv libelf stageprofile-libelf ; \
47503 mv prev-libelf stage1-libelf ; : ; \
47505 @endif libelf
47506 @if gold
47507 @if test -d $(HOST_SUBDIR)/gold ; then \
47508 cd $(HOST_SUBDIR); mv gold stageprofile-gold ; \
47509 mv prev-gold stage1-gold ; : ; \
47511 @endif gold
47512 @if intl
47513 @if test -d $(HOST_SUBDIR)/intl ; then \
47514 cd $(HOST_SUBDIR); mv intl stageprofile-intl ; \
47515 mv prev-intl stage1-intl ; : ; \
47517 @endif intl
47518 @if ld
47519 @if test -d $(HOST_SUBDIR)/ld ; then \
47520 cd $(HOST_SUBDIR); mv ld stageprofile-ld ; \
47521 mv prev-ld stage1-ld ; : ; \
47523 @endif ld
47524 @if libbacktrace
47525 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
47526 cd $(HOST_SUBDIR); mv libbacktrace stageprofile-libbacktrace ; \
47527 mv prev-libbacktrace stage1-libbacktrace ; : ; \
47529 @endif libbacktrace
47530 @if libcpp
47531 @if test -d $(HOST_SUBDIR)/libcpp ; then \
47532 cd $(HOST_SUBDIR); mv libcpp stageprofile-libcpp ; \
47533 mv prev-libcpp stage1-libcpp ; : ; \
47535 @endif libcpp
47536 @if libdecnumber
47537 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
47538 cd $(HOST_SUBDIR); mv libdecnumber stageprofile-libdecnumber ; \
47539 mv prev-libdecnumber stage1-libdecnumber ; : ; \
47541 @endif libdecnumber
47542 @if libiberty
47543 @if test -d $(HOST_SUBDIR)/libiberty ; then \
47544 cd $(HOST_SUBDIR); mv libiberty stageprofile-libiberty ; \
47545 mv prev-libiberty stage1-libiberty ; : ; \
47547 @endif libiberty
47548 @if libiberty-linker-plugin
47549 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin ; then \
47550 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stageprofile-libiberty-linker-plugin ; \
47551 mv prev-libiberty-linker-plugin stage1-libiberty-linker-plugin ; : ; \
47553 @endif libiberty-linker-plugin
47554 @if zlib
47555 @if test -d $(HOST_SUBDIR)/zlib ; then \
47556 cd $(HOST_SUBDIR); mv zlib stageprofile-zlib ; \
47557 mv prev-zlib stage1-zlib ; : ; \
47559 @endif zlib
47560 @if lto-plugin
47561 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
47562 cd $(HOST_SUBDIR); mv lto-plugin stageprofile-lto-plugin ; \
47563 mv prev-lto-plugin stage1-lto-plugin ; : ; \
47565 @endif lto-plugin
47566 @if test -d $(TARGET_SUBDIR) ; then \
47567 mv $(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; \
47568 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
47570 rm -f stage_current
47572 # Bubble a bug fix through all the stages up to stage profile. They are
47573 # remade, but not reconfigured. The next stage (if any) will not be
47574 # reconfigured either.
47575 .PHONY: stageprofile-bubble
47576 stageprofile-bubble:: stage1-bubble
47577 @r=`${PWD_COMMAND}`; export r; \
47578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47579 if test -f stageprofile-lean || test -f stage1-lean ; then \
47580 echo Skipping rebuild of stageprofile ; \
47581 else \
47582 $(MAKE) stageprofile-start; \
47583 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile; \
47586 .PHONY: all-stageprofile clean-stageprofile
47587 do-clean: clean-stageprofile
47589 # FIXME: Will not need to be conditional when toplevel bootstrap is the
47590 # only possibility, but now it conflicts with no-bootstrap rules
47591 @if gcc-bootstrap
47596 # Rules to wipe a stage and all the following ones, also used for cleanstrap
47597 distclean-stage1:: distclean-stageprofile
47598 .PHONY: distclean-stageprofile
47599 distclean-stageprofile::
47600 @: $(MAKE); $(stage)
47601 @test "`cat stage_last`" != stageprofile || rm -f stage_last
47602 rm -rf stageprofile-*
47605 @endif gcc-bootstrap
47608 .PHONY: stagefeedback-start stagefeedback-end
47610 stagefeedback-start::
47611 @: $(MAKE); $(stage); \
47612 echo stagefeedback > stage_current ; \
47613 echo stagefeedback > stage_last; \
47614 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
47615 @if bfd
47616 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
47617 mkdir stagefeedback-bfd; \
47618 mv stagefeedback-bfd bfd ; \
47619 mv stageprofile-bfd prev-bfd || test -f stageprofile-lean
47620 @endif bfd
47621 @if opcodes
47622 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
47623 mkdir stagefeedback-opcodes; \
47624 mv stagefeedback-opcodes opcodes ; \
47625 mv stageprofile-opcodes prev-opcodes || test -f stageprofile-lean
47626 @endif opcodes
47627 @if binutils
47628 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
47629 mkdir stagefeedback-binutils; \
47630 mv stagefeedback-binutils binutils ; \
47631 mv stageprofile-binutils prev-binutils || test -f stageprofile-lean
47632 @endif binutils
47633 @if fixincludes
47634 @cd $(HOST_SUBDIR); [ -d stagefeedback-fixincludes ] || \
47635 mkdir stagefeedback-fixincludes; \
47636 mv stagefeedback-fixincludes fixincludes ; \
47637 mv stageprofile-fixincludes prev-fixincludes || test -f stageprofile-lean
47638 @endif fixincludes
47639 @if gas
47640 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
47641 mkdir stagefeedback-gas; \
47642 mv stagefeedback-gas gas ; \
47643 mv stageprofile-gas prev-gas || test -f stageprofile-lean
47644 @endif gas
47645 @if gcc
47646 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
47647 mkdir stagefeedback-gcc; \
47648 mv stagefeedback-gcc gcc ; \
47649 mv stageprofile-gcc prev-gcc || test -f stageprofile-lean
47650 @endif gcc
47651 @if gmp
47652 @cd $(HOST_SUBDIR); [ -d stagefeedback-gmp ] || \
47653 mkdir stagefeedback-gmp; \
47654 mv stagefeedback-gmp gmp ; \
47655 mv stageprofile-gmp prev-gmp || test -f stageprofile-lean
47656 @endif gmp
47657 @if mpfr
47658 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpfr ] || \
47659 mkdir stagefeedback-mpfr; \
47660 mv stagefeedback-mpfr mpfr ; \
47661 mv stageprofile-mpfr prev-mpfr || test -f stageprofile-lean
47662 @endif mpfr
47663 @if mpc
47664 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpc ] || \
47665 mkdir stagefeedback-mpc; \
47666 mv stagefeedback-mpc mpc ; \
47667 mv stageprofile-mpc prev-mpc || test -f stageprofile-lean
47668 @endif mpc
47669 @if isl
47670 @cd $(HOST_SUBDIR); [ -d stagefeedback-isl ] || \
47671 mkdir stagefeedback-isl; \
47672 mv stagefeedback-isl isl ; \
47673 mv stageprofile-isl prev-isl || test -f stageprofile-lean
47674 @endif isl
47675 @if libelf
47676 @cd $(HOST_SUBDIR); [ -d stagefeedback-libelf ] || \
47677 mkdir stagefeedback-libelf; \
47678 mv stagefeedback-libelf libelf ; \
47679 mv stageprofile-libelf prev-libelf || test -f stageprofile-lean
47680 @endif libelf
47681 @if gold
47682 @cd $(HOST_SUBDIR); [ -d stagefeedback-gold ] || \
47683 mkdir stagefeedback-gold; \
47684 mv stagefeedback-gold gold ; \
47685 mv stageprofile-gold prev-gold || test -f stageprofile-lean
47686 @endif gold
47687 @if intl
47688 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
47689 mkdir stagefeedback-intl; \
47690 mv stagefeedback-intl intl ; \
47691 mv stageprofile-intl prev-intl || test -f stageprofile-lean
47692 @endif intl
47693 @if ld
47694 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
47695 mkdir stagefeedback-ld; \
47696 mv stagefeedback-ld ld ; \
47697 mv stageprofile-ld prev-ld || test -f stageprofile-lean
47698 @endif ld
47699 @if libbacktrace
47700 @cd $(HOST_SUBDIR); [ -d stagefeedback-libbacktrace ] || \
47701 mkdir stagefeedback-libbacktrace; \
47702 mv stagefeedback-libbacktrace libbacktrace ; \
47703 mv stageprofile-libbacktrace prev-libbacktrace || test -f stageprofile-lean
47704 @endif libbacktrace
47705 @if libcpp
47706 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
47707 mkdir stagefeedback-libcpp; \
47708 mv stagefeedback-libcpp libcpp ; \
47709 mv stageprofile-libcpp prev-libcpp || test -f stageprofile-lean
47710 @endif libcpp
47711 @if libdecnumber
47712 @cd $(HOST_SUBDIR); [ -d stagefeedback-libdecnumber ] || \
47713 mkdir stagefeedback-libdecnumber; \
47714 mv stagefeedback-libdecnumber libdecnumber ; \
47715 mv stageprofile-libdecnumber prev-libdecnumber || test -f stageprofile-lean
47716 @endif libdecnumber
47717 @if libiberty
47718 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
47719 mkdir stagefeedback-libiberty; \
47720 mv stagefeedback-libiberty libiberty ; \
47721 mv stageprofile-libiberty prev-libiberty || test -f stageprofile-lean
47722 @endif libiberty
47723 @if libiberty-linker-plugin
47724 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty-linker-plugin ] || \
47725 mkdir stagefeedback-libiberty-linker-plugin; \
47726 mv stagefeedback-libiberty-linker-plugin libiberty-linker-plugin ; \
47727 mv stageprofile-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stageprofile-lean
47728 @endif libiberty-linker-plugin
47729 @if zlib
47730 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
47731 mkdir stagefeedback-zlib; \
47732 mv stagefeedback-zlib zlib ; \
47733 mv stageprofile-zlib prev-zlib || test -f stageprofile-lean
47734 @endif zlib
47735 @if lto-plugin
47736 @cd $(HOST_SUBDIR); [ -d stagefeedback-lto-plugin ] || \
47737 mkdir stagefeedback-lto-plugin; \
47738 mv stagefeedback-lto-plugin lto-plugin ; \
47739 mv stageprofile-lto-plugin prev-lto-plugin || test -f stageprofile-lean
47740 @endif lto-plugin
47741 @[ -d stagefeedback-$(TARGET_SUBDIR) ] || \
47742 mkdir stagefeedback-$(TARGET_SUBDIR); \
47743 mv stagefeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
47744 mv stageprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageprofile-lean
47746 stagefeedback-end::
47747 @if bfd
47748 @if test -d $(HOST_SUBDIR)/bfd ; then \
47749 cd $(HOST_SUBDIR); mv bfd stagefeedback-bfd ; \
47750 mv prev-bfd stageprofile-bfd ; : ; \
47752 @endif bfd
47753 @if opcodes
47754 @if test -d $(HOST_SUBDIR)/opcodes ; then \
47755 cd $(HOST_SUBDIR); mv opcodes stagefeedback-opcodes ; \
47756 mv prev-opcodes stageprofile-opcodes ; : ; \
47758 @endif opcodes
47759 @if binutils
47760 @if test -d $(HOST_SUBDIR)/binutils ; then \
47761 cd $(HOST_SUBDIR); mv binutils stagefeedback-binutils ; \
47762 mv prev-binutils stageprofile-binutils ; : ; \
47764 @endif binutils
47765 @if fixincludes
47766 @if test -d $(HOST_SUBDIR)/fixincludes ; then \
47767 cd $(HOST_SUBDIR); mv fixincludes stagefeedback-fixincludes ; \
47768 mv prev-fixincludes stageprofile-fixincludes ; : ; \
47770 @endif fixincludes
47771 @if gas
47772 @if test -d $(HOST_SUBDIR)/gas ; then \
47773 cd $(HOST_SUBDIR); mv gas stagefeedback-gas ; \
47774 mv prev-gas stageprofile-gas ; : ; \
47776 @endif gas
47777 @if gcc
47778 @if test -d $(HOST_SUBDIR)/gcc ; then \
47779 cd $(HOST_SUBDIR); mv gcc stagefeedback-gcc ; \
47780 mv prev-gcc stageprofile-gcc ; : ; \
47782 @endif gcc
47783 @if gmp
47784 @if test -d $(HOST_SUBDIR)/gmp ; then \
47785 cd $(HOST_SUBDIR); mv gmp stagefeedback-gmp ; \
47786 mv prev-gmp stageprofile-gmp ; : ; \
47788 @endif gmp
47789 @if mpfr
47790 @if test -d $(HOST_SUBDIR)/mpfr ; then \
47791 cd $(HOST_SUBDIR); mv mpfr stagefeedback-mpfr ; \
47792 mv prev-mpfr stageprofile-mpfr ; : ; \
47794 @endif mpfr
47795 @if mpc
47796 @if test -d $(HOST_SUBDIR)/mpc ; then \
47797 cd $(HOST_SUBDIR); mv mpc stagefeedback-mpc ; \
47798 mv prev-mpc stageprofile-mpc ; : ; \
47800 @endif mpc
47801 @if isl
47802 @if test -d $(HOST_SUBDIR)/isl ; then \
47803 cd $(HOST_SUBDIR); mv isl stagefeedback-isl ; \
47804 mv prev-isl stageprofile-isl ; : ; \
47806 @endif isl
47807 @if libelf
47808 @if test -d $(HOST_SUBDIR)/libelf ; then \
47809 cd $(HOST_SUBDIR); mv libelf stagefeedback-libelf ; \
47810 mv prev-libelf stageprofile-libelf ; : ; \
47812 @endif libelf
47813 @if gold
47814 @if test -d $(HOST_SUBDIR)/gold ; then \
47815 cd $(HOST_SUBDIR); mv gold stagefeedback-gold ; \
47816 mv prev-gold stageprofile-gold ; : ; \
47818 @endif gold
47819 @if intl
47820 @if test -d $(HOST_SUBDIR)/intl ; then \
47821 cd $(HOST_SUBDIR); mv intl stagefeedback-intl ; \
47822 mv prev-intl stageprofile-intl ; : ; \
47824 @endif intl
47825 @if ld
47826 @if test -d $(HOST_SUBDIR)/ld ; then \
47827 cd $(HOST_SUBDIR); mv ld stagefeedback-ld ; \
47828 mv prev-ld stageprofile-ld ; : ; \
47830 @endif ld
47831 @if libbacktrace
47832 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
47833 cd $(HOST_SUBDIR); mv libbacktrace stagefeedback-libbacktrace ; \
47834 mv prev-libbacktrace stageprofile-libbacktrace ; : ; \
47836 @endif libbacktrace
47837 @if libcpp
47838 @if test -d $(HOST_SUBDIR)/libcpp ; then \
47839 cd $(HOST_SUBDIR); mv libcpp stagefeedback-libcpp ; \
47840 mv prev-libcpp stageprofile-libcpp ; : ; \
47842 @endif libcpp
47843 @if libdecnumber
47844 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
47845 cd $(HOST_SUBDIR); mv libdecnumber stagefeedback-libdecnumber ; \
47846 mv prev-libdecnumber stageprofile-libdecnumber ; : ; \
47848 @endif libdecnumber
47849 @if libiberty
47850 @if test -d $(HOST_SUBDIR)/libiberty ; then \
47851 cd $(HOST_SUBDIR); mv libiberty stagefeedback-libiberty ; \
47852 mv prev-libiberty stageprofile-libiberty ; : ; \
47854 @endif libiberty
47855 @if libiberty-linker-plugin
47856 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin ; then \
47857 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stagefeedback-libiberty-linker-plugin ; \
47858 mv prev-libiberty-linker-plugin stageprofile-libiberty-linker-plugin ; : ; \
47860 @endif libiberty-linker-plugin
47861 @if zlib
47862 @if test -d $(HOST_SUBDIR)/zlib ; then \
47863 cd $(HOST_SUBDIR); mv zlib stagefeedback-zlib ; \
47864 mv prev-zlib stageprofile-zlib ; : ; \
47866 @endif zlib
47867 @if lto-plugin
47868 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
47869 cd $(HOST_SUBDIR); mv lto-plugin stagefeedback-lto-plugin ; \
47870 mv prev-lto-plugin stageprofile-lto-plugin ; : ; \
47872 @endif lto-plugin
47873 @if test -d $(TARGET_SUBDIR) ; then \
47874 mv $(TARGET_SUBDIR) stagefeedback-$(TARGET_SUBDIR) ; \
47875 mv prev-$(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; : ; \
47877 rm -f stage_current
47879 # Bubble a bug fix through all the stages up to stage feedback. They are
47880 # remade, but not reconfigured. The next stage (if any) will not be
47881 # reconfigured either.
47882 .PHONY: stagefeedback-bubble
47883 stagefeedback-bubble:: stageprofile-bubble
47884 @r=`${PWD_COMMAND}`; export r; \
47885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47886 if test -f stagefeedback-lean || test -f stageprofile-lean ; then \
47887 echo Skipping rebuild of stagefeedback ; \
47888 else \
47889 $(MAKE) stagefeedback-start; \
47890 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback; \
47893 .PHONY: all-stagefeedback clean-stagefeedback
47894 do-clean: clean-stagefeedback
47896 # FIXME: Will not need to be conditional when toplevel bootstrap is the
47897 # only possibility, but now it conflicts with no-bootstrap rules
47898 @if gcc-bootstrap
47902 .PHONY: profiledbootstrap profiledbootstrap-lean
47903 profiledbootstrap:
47904 echo stagefeedback > stage_final
47905 @r=`${PWD_COMMAND}`; export r; \
47906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47907 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stagefeedback-bubble
47908 @: $(MAKE); $(unstage)
47909 @r=`${PWD_COMMAND}`; export r; \
47910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47911 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
47912 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
47914 profiledbootstrap-lean:
47915 echo stagefeedback > stage_final
47916 @r=`${PWD_COMMAND}`; export r; \
47917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47918 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stagefeedback-bubble
47919 @: $(MAKE); $(unstage)
47920 @r=`${PWD_COMMAND}`; export r; \
47921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47922 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
47923 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
47926 # Rules to wipe a stage and all the following ones, also used for cleanstrap
47927 distclean-stageprofile:: distclean-stagefeedback
47928 .PHONY: distclean-stagefeedback
47929 distclean-stagefeedback::
47930 @: $(MAKE); $(stage)
47931 @test "`cat stage_last`" != stagefeedback || rm -f stage_last
47932 rm -rf stagefeedback-*
47935 @endif gcc-bootstrap
47939 stageprofile-end::
47940 $(MAKE) distclean-stagefeedback
47942 stagefeedback-start::
47943 @r=`${PWD_COMMAND}`; export r; \
47944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47945 for i in prev-*; do \
47946 j=`echo $$i | sed s/^prev-//` ; \
47947 cd $$r/$$i && \
47948 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL) ; } && \
47949 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL) ; } ; \
47950 done
47952 @if gcc-bootstrap
47953 do-distclean: distclean-stage1
47955 # Provide a GCC build when we're building target libraries. This does
47956 # not work as a dependency, just as the minimum necessary to avoid errors.
47957 stage_last:
47958 @r=`${PWD_COMMAND}`; export r; \
47959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47960 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage1-bubble
47962 # Same as unstage, but not phony and defaulting to stage1-start. We place
47963 # it in the dependency so that for example `make -j3 all-gcc' works.
47964 stage_current:
47965 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
47967 .PHONY: restrap
47968 restrap::
47969 @: $(MAKE); $(stage)
47970 rm -rf stage1-$(TARGET_SUBDIR) stage2-* stage3-* stage4-* stageprofile-* stagefeedback-*
47971 restrap:: all
47972 @endif gcc-bootstrap
47974 # --------------------------------------
47975 # Dependencies between different modules
47976 # --------------------------------------
47978 # Generic dependencies for target modules on host stuff, especially gcc
47979 @if gcc-bootstrap
47980 configure-stage1-target-libstdc++-v3: maybe-all-stage1-gcc
47981 configure-stage2-target-libstdc++-v3: maybe-all-stage2-gcc
47982 configure-stage3-target-libstdc++-v3: maybe-all-stage3-gcc
47983 configure-stage4-target-libstdc++-v3: maybe-all-stage4-gcc
47984 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-gcc
47985 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-gcc
47986 configure-stage1-target-libsanitizer: maybe-all-stage1-gcc
47987 configure-stage2-target-libsanitizer: maybe-all-stage2-gcc
47988 configure-stage3-target-libsanitizer: maybe-all-stage3-gcc
47989 configure-stage4-target-libsanitizer: maybe-all-stage4-gcc
47990 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-gcc
47991 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-gcc
47992 configure-stage1-target-libvtv: maybe-all-stage1-gcc
47993 configure-stage2-target-libvtv: maybe-all-stage2-gcc
47994 configure-stage3-target-libvtv: maybe-all-stage3-gcc
47995 configure-stage4-target-libvtv: maybe-all-stage4-gcc
47996 configure-stageprofile-target-libvtv: maybe-all-stageprofile-gcc
47997 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-gcc
47998 configure-target-libcilkrts: stage_last
47999 configure-target-liboffloadmic: stage_last
48000 configure-target-libssp: stage_last
48001 configure-target-newlib: stage_last
48002 configure-stage1-target-libgcc: maybe-all-stage1-gcc
48003 configure-stage2-target-libgcc: maybe-all-stage2-gcc
48004 configure-stage3-target-libgcc: maybe-all-stage3-gcc
48005 configure-stage4-target-libgcc: maybe-all-stage4-gcc
48006 configure-stageprofile-target-libgcc: maybe-all-stageprofile-gcc
48007 configure-stagefeedback-target-libgcc: maybe-all-stagefeedback-gcc
48008 configure-target-libbacktrace: stage_last
48009 configure-target-libquadmath: stage_last
48010 configure-target-libgfortran: stage_last
48011 configure-target-libobjc: stage_last
48012 configure-target-libgo: stage_last
48013 configure-target-libtermcap: stage_last
48014 configure-target-winsup: stage_last
48015 configure-target-libgloss: stage_last
48016 configure-target-libffi: stage_last
48017 configure-target-libjava: stage_last
48018 configure-target-zlib: stage_last
48019 configure-target-boehm-gc: stage_last
48020 configure-target-rda: stage_last
48021 configure-target-libada: stage_last
48022 configure-stage1-target-libgomp: maybe-all-stage1-gcc
48023 configure-stage2-target-libgomp: maybe-all-stage2-gcc
48024 configure-stage3-target-libgomp: maybe-all-stage3-gcc
48025 configure-stage4-target-libgomp: maybe-all-stage4-gcc
48026 configure-stageprofile-target-libgomp: maybe-all-stageprofile-gcc
48027 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-gcc
48028 configure-target-libitm: stage_last
48029 configure-target-libatomic: stage_last
48030 @endif gcc-bootstrap
48032 @if gcc-no-bootstrap
48033 configure-target-libstdc++-v3: maybe-all-gcc
48034 configure-target-libsanitizer: maybe-all-gcc
48035 configure-target-libvtv: maybe-all-gcc
48036 configure-target-libcilkrts: maybe-all-gcc
48037 configure-target-liboffloadmic: maybe-all-gcc
48038 configure-target-libssp: maybe-all-gcc
48039 configure-target-newlib: maybe-all-gcc
48040 configure-target-libgcc: maybe-all-gcc
48041 configure-target-libbacktrace: maybe-all-gcc
48042 configure-target-libquadmath: maybe-all-gcc
48043 configure-target-libgfortran: maybe-all-gcc
48044 configure-target-libobjc: maybe-all-gcc
48045 configure-target-libgo: maybe-all-gcc
48046 configure-target-libtermcap: maybe-all-gcc
48047 configure-target-winsup: maybe-all-gcc
48048 configure-target-libgloss: maybe-all-gcc
48049 configure-target-libffi: maybe-all-gcc
48050 configure-target-libjava: maybe-all-gcc
48051 configure-target-zlib: maybe-all-gcc
48052 configure-target-boehm-gc: maybe-all-gcc
48053 configure-target-rda: maybe-all-gcc
48054 configure-target-libada: maybe-all-gcc
48055 configure-target-libgomp: maybe-all-gcc
48056 configure-target-libitm: maybe-all-gcc
48057 configure-target-libatomic: maybe-all-gcc
48058 @endif gcc-no-bootstrap
48061 # There are two types of dependencies here: 'hard' dependencies, where one
48062 # module simply won't build without the other; and 'soft' dependencies, where
48063 # if the depended-on module is missing, the depending module will do without
48064 # or find a substitute somewhere (perhaps installed). Soft dependencies
48065 # are made here to depend on a 'maybe-' target. If you're not sure,
48066 # it's safer to use a soft dependency.
48073 # With all the machinery above in place, it is pretty easy to generate
48074 # dependencies. Host dependencies are a bit more complex because we have
48075 # to check for bootstrap/prebootstrap dependencies. To resolve
48076 # prebootstrap dependencies, prebootstrap modules are gathered in
48077 # a hash table.
48078 all-build-bison: maybe-all-build-texinfo
48079 all-build-flex: maybe-all-build-texinfo
48080 all-build-flex: maybe-all-build-bison
48081 all-build-flex: maybe-all-build-m4
48082 all-build-libiberty: maybe-all-build-texinfo
48083 all-build-m4: maybe-all-build-texinfo
48084 all-build-fixincludes: maybe-all-build-libiberty
48085 all-build-libcpp: maybe-all-build-libiberty
48086 configure-gcc: maybe-configure-intl
48088 configure-stage1-gcc: maybe-configure-stage1-intl
48089 configure-stage2-gcc: maybe-configure-stage2-intl
48090 configure-stage3-gcc: maybe-configure-stage3-intl
48091 configure-stage4-gcc: maybe-configure-stage4-intl
48092 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
48093 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
48094 configure-gcc: maybe-all-gmp
48096 configure-stage1-gcc: maybe-all-stage1-gmp
48097 configure-stage2-gcc: maybe-all-stage2-gmp
48098 configure-stage3-gcc: maybe-all-stage3-gmp
48099 configure-stage4-gcc: maybe-all-stage4-gmp
48100 configure-stageprofile-gcc: maybe-all-stageprofile-gmp
48101 configure-stagefeedback-gcc: maybe-all-stagefeedback-gmp
48102 configure-gcc: maybe-all-lto-plugin
48104 configure-stage1-gcc: maybe-all-stage1-lto-plugin
48105 configure-stage2-gcc: maybe-all-stage2-lto-plugin
48106 configure-stage3-gcc: maybe-all-stage3-lto-plugin
48107 configure-stage4-gcc: maybe-all-stage4-lto-plugin
48108 configure-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
48109 configure-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
48110 configure-gcc: maybe-all-binutils
48112 configure-stage1-gcc: maybe-all-stage1-binutils
48113 configure-stage2-gcc: maybe-all-stage2-binutils
48114 configure-stage3-gcc: maybe-all-stage3-binutils
48115 configure-stage4-gcc: maybe-all-stage4-binutils
48116 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
48117 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
48118 configure-gcc: maybe-all-gas
48120 configure-stage1-gcc: maybe-all-stage1-gas
48121 configure-stage2-gcc: maybe-all-stage2-gas
48122 configure-stage3-gcc: maybe-all-stage3-gas
48123 configure-stage4-gcc: maybe-all-stage4-gas
48124 configure-stageprofile-gcc: maybe-all-stageprofile-gas
48125 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
48126 configure-gcc: maybe-all-ld
48128 configure-stage1-gcc: maybe-all-stage1-ld
48129 configure-stage2-gcc: maybe-all-stage2-ld
48130 configure-stage3-gcc: maybe-all-stage3-ld
48131 configure-stage4-gcc: maybe-all-stage4-ld
48132 configure-stageprofile-gcc: maybe-all-stageprofile-ld
48133 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
48134 configure-gcc: maybe-all-gold
48136 configure-stage1-gcc: maybe-all-stage1-gold
48137 configure-stage2-gcc: maybe-all-stage2-gold
48138 configure-stage3-gcc: maybe-all-stage3-gold
48139 configure-stage4-gcc: maybe-all-stage4-gold
48140 configure-stageprofile-gcc: maybe-all-stageprofile-gold
48141 configure-stagefeedback-gcc: maybe-all-stagefeedback-gold
48142 configure-gcc: maybe-all-libelf
48144 configure-stage1-gcc: maybe-all-stage1-libelf
48145 configure-stage2-gcc: maybe-all-stage2-libelf
48146 configure-stage3-gcc: maybe-all-stage3-libelf
48147 configure-stage4-gcc: maybe-all-stage4-libelf
48148 configure-stageprofile-gcc: maybe-all-stageprofile-libelf
48149 configure-stagefeedback-gcc: maybe-all-stagefeedback-libelf
48150 all-gcc: all-libiberty
48152 all-stage1-gcc: all-stage1-libiberty
48153 all-stage2-gcc: all-stage2-libiberty
48154 all-stage3-gcc: all-stage3-libiberty
48155 all-stage4-gcc: all-stage4-libiberty
48156 all-stageprofile-gcc: all-stageprofile-libiberty
48157 all-stagefeedback-gcc: all-stagefeedback-libiberty
48158 all-gcc: maybe-all-intl
48160 all-stage1-gcc: maybe-all-stage1-intl
48161 all-stage2-gcc: maybe-all-stage2-intl
48162 all-stage3-gcc: maybe-all-stage3-intl
48163 all-stage4-gcc: maybe-all-stage4-intl
48164 all-stageprofile-gcc: maybe-all-stageprofile-intl
48165 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
48166 all-gcc: maybe-all-mpfr
48168 all-stage1-gcc: maybe-all-stage1-mpfr
48169 all-stage2-gcc: maybe-all-stage2-mpfr
48170 all-stage3-gcc: maybe-all-stage3-mpfr
48171 all-stage4-gcc: maybe-all-stage4-mpfr
48172 all-stageprofile-gcc: maybe-all-stageprofile-mpfr
48173 all-stagefeedback-gcc: maybe-all-stagefeedback-mpfr
48174 all-gcc: maybe-all-mpc
48176 all-stage1-gcc: maybe-all-stage1-mpc
48177 all-stage2-gcc: maybe-all-stage2-mpc
48178 all-stage3-gcc: maybe-all-stage3-mpc
48179 all-stage4-gcc: maybe-all-stage4-mpc
48180 all-stageprofile-gcc: maybe-all-stageprofile-mpc
48181 all-stagefeedback-gcc: maybe-all-stagefeedback-mpc
48182 all-gcc: maybe-all-isl
48184 all-stage1-gcc: maybe-all-stage1-isl
48185 all-stage2-gcc: maybe-all-stage2-isl
48186 all-stage3-gcc: maybe-all-stage3-isl
48187 all-stage4-gcc: maybe-all-stage4-isl
48188 all-stageprofile-gcc: maybe-all-stageprofile-isl
48189 all-stagefeedback-gcc: maybe-all-stagefeedback-isl
48190 all-gcc: maybe-all-build-texinfo
48192 all-stage1-gcc: maybe-all-build-texinfo
48193 all-stage2-gcc: maybe-all-build-texinfo
48194 all-stage3-gcc: maybe-all-build-texinfo
48195 all-stage4-gcc: maybe-all-build-texinfo
48196 all-stageprofile-gcc: maybe-all-build-texinfo
48197 all-stagefeedback-gcc: maybe-all-build-texinfo
48198 all-gcc: maybe-all-build-bison
48200 all-stage1-gcc: maybe-all-build-bison
48201 all-stage2-gcc: maybe-all-build-bison
48202 all-stage3-gcc: maybe-all-build-bison
48203 all-stage4-gcc: maybe-all-build-bison
48204 all-stageprofile-gcc: maybe-all-build-bison
48205 all-stagefeedback-gcc: maybe-all-build-bison
48206 all-gcc: maybe-all-build-flex
48208 all-stage1-gcc: maybe-all-build-flex
48209 all-stage2-gcc: maybe-all-build-flex
48210 all-stage3-gcc: maybe-all-build-flex
48211 all-stage4-gcc: maybe-all-build-flex
48212 all-stageprofile-gcc: maybe-all-build-flex
48213 all-stagefeedback-gcc: maybe-all-build-flex
48214 all-gcc: maybe-all-build-libiberty
48216 all-stage1-gcc: maybe-all-build-libiberty
48217 all-stage2-gcc: maybe-all-build-libiberty
48218 all-stage3-gcc: maybe-all-build-libiberty
48219 all-stage4-gcc: maybe-all-build-libiberty
48220 all-stageprofile-gcc: maybe-all-build-libiberty
48221 all-stagefeedback-gcc: maybe-all-build-libiberty
48222 all-gcc: maybe-all-build-fixincludes
48224 all-stage1-gcc: maybe-all-build-fixincludes
48225 all-stage2-gcc: maybe-all-build-fixincludes
48226 all-stage3-gcc: maybe-all-build-fixincludes
48227 all-stage4-gcc: maybe-all-build-fixincludes
48228 all-stageprofile-gcc: maybe-all-build-fixincludes
48229 all-stagefeedback-gcc: maybe-all-build-fixincludes
48230 all-gcc: maybe-all-build-libcpp
48232 all-stage1-gcc: maybe-all-build-libcpp
48233 all-stage2-gcc: maybe-all-build-libcpp
48234 all-stage3-gcc: maybe-all-build-libcpp
48235 all-stage4-gcc: maybe-all-build-libcpp
48236 all-stageprofile-gcc: maybe-all-build-libcpp
48237 all-stagefeedback-gcc: maybe-all-build-libcpp
48238 all-gcc: maybe-all-zlib
48240 all-stage1-gcc: maybe-all-stage1-zlib
48241 all-stage2-gcc: maybe-all-stage2-zlib
48242 all-stage3-gcc: maybe-all-stage3-zlib
48243 all-stage4-gcc: maybe-all-stage4-zlib
48244 all-stageprofile-gcc: maybe-all-stageprofile-zlib
48245 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
48246 all-gcc: all-libbacktrace
48248 all-stage1-gcc: all-stage1-libbacktrace
48249 all-stage2-gcc: all-stage2-libbacktrace
48250 all-stage3-gcc: all-stage3-libbacktrace
48251 all-stage4-gcc: all-stage4-libbacktrace
48252 all-stageprofile-gcc: all-stageprofile-libbacktrace
48253 all-stagefeedback-gcc: all-stagefeedback-libbacktrace
48254 all-gcc: all-libcpp
48256 all-stage1-gcc: all-stage1-libcpp
48257 all-stage2-gcc: all-stage2-libcpp
48258 all-stage3-gcc: all-stage3-libcpp
48259 all-stage4-gcc: all-stage4-libcpp
48260 all-stageprofile-gcc: all-stageprofile-libcpp
48261 all-stagefeedback-gcc: all-stagefeedback-libcpp
48262 all-gcc: all-libdecnumber
48264 all-stage1-gcc: all-stage1-libdecnumber
48265 all-stage2-gcc: all-stage2-libdecnumber
48266 all-stage3-gcc: all-stage3-libdecnumber
48267 all-stage4-gcc: all-stage4-libdecnumber
48268 all-stageprofile-gcc: all-stageprofile-libdecnumber
48269 all-stagefeedback-gcc: all-stagefeedback-libdecnumber
48270 all-gcc: maybe-all-libiberty
48272 all-stage1-gcc: maybe-all-stage1-libiberty
48273 all-stage2-gcc: maybe-all-stage2-libiberty
48274 all-stage3-gcc: maybe-all-stage3-libiberty
48275 all-stage4-gcc: maybe-all-stage4-libiberty
48276 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
48277 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
48278 all-gcc: maybe-all-fixincludes
48280 all-stage1-gcc: maybe-all-stage1-fixincludes
48281 all-stage2-gcc: maybe-all-stage2-fixincludes
48282 all-stage3-gcc: maybe-all-stage3-fixincludes
48283 all-stage4-gcc: maybe-all-stage4-fixincludes
48284 all-stageprofile-gcc: maybe-all-stageprofile-fixincludes
48285 all-stagefeedback-gcc: maybe-all-stagefeedback-fixincludes
48286 all-gcc: maybe-all-lto-plugin
48288 all-stage1-gcc: maybe-all-stage1-lto-plugin
48289 all-stage2-gcc: maybe-all-stage2-lto-plugin
48290 all-stage3-gcc: maybe-all-stage3-lto-plugin
48291 all-stage4-gcc: maybe-all-stage4-lto-plugin
48292 all-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
48293 all-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
48294 info-gcc: maybe-all-build-libiberty
48296 info-stage1-gcc: maybe-all-build-libiberty
48297 info-stage2-gcc: maybe-all-build-libiberty
48298 info-stage3-gcc: maybe-all-build-libiberty
48299 info-stage4-gcc: maybe-all-build-libiberty
48300 info-stageprofile-gcc: maybe-all-build-libiberty
48301 info-stagefeedback-gcc: maybe-all-build-libiberty
48302 dvi-gcc: maybe-all-build-libiberty
48304 dvi-stage1-gcc: maybe-all-build-libiberty
48305 dvi-stage2-gcc: maybe-all-build-libiberty
48306 dvi-stage3-gcc: maybe-all-build-libiberty
48307 dvi-stage4-gcc: maybe-all-build-libiberty
48308 dvi-stageprofile-gcc: maybe-all-build-libiberty
48309 dvi-stagefeedback-gcc: maybe-all-build-libiberty
48310 pdf-gcc: maybe-all-build-libiberty
48312 pdf-stage1-gcc: maybe-all-build-libiberty
48313 pdf-stage2-gcc: maybe-all-build-libiberty
48314 pdf-stage3-gcc: maybe-all-build-libiberty
48315 pdf-stage4-gcc: maybe-all-build-libiberty
48316 pdf-stageprofile-gcc: maybe-all-build-libiberty
48317 pdf-stagefeedback-gcc: maybe-all-build-libiberty
48318 html-gcc: maybe-all-build-libiberty
48320 html-stage1-gcc: maybe-all-build-libiberty
48321 html-stage2-gcc: maybe-all-build-libiberty
48322 html-stage3-gcc: maybe-all-build-libiberty
48323 html-stage4-gcc: maybe-all-build-libiberty
48324 html-stageprofile-gcc: maybe-all-build-libiberty
48325 html-stagefeedback-gcc: maybe-all-build-libiberty
48326 install-gcc: maybe-install-fixincludes
48327 install-gcc: maybe-install-lto-plugin
48328 install-strip-gcc: maybe-install-strip-fixincludes
48329 install-strip-gcc: maybe-install-strip-lto-plugin
48330 configure-libcpp: configure-libiberty
48332 configure-stage1-libcpp: configure-stage1-libiberty
48333 configure-stage2-libcpp: configure-stage2-libiberty
48334 configure-stage3-libcpp: configure-stage3-libiberty
48335 configure-stage4-libcpp: configure-stage4-libiberty
48336 configure-stageprofile-libcpp: configure-stageprofile-libiberty
48337 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
48338 configure-libcpp: maybe-configure-intl
48340 configure-stage1-libcpp: maybe-configure-stage1-intl
48341 configure-stage2-libcpp: maybe-configure-stage2-intl
48342 configure-stage3-libcpp: maybe-configure-stage3-intl
48343 configure-stage4-libcpp: maybe-configure-stage4-intl
48344 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
48345 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
48346 all-libcpp: all-libiberty
48348 all-stage1-libcpp: all-stage1-libiberty
48349 all-stage2-libcpp: all-stage2-libiberty
48350 all-stage3-libcpp: all-stage3-libiberty
48351 all-stage4-libcpp: all-stage4-libiberty
48352 all-stageprofile-libcpp: all-stageprofile-libiberty
48353 all-stagefeedback-libcpp: all-stagefeedback-libiberty
48354 all-libcpp: maybe-all-intl
48356 all-stage1-libcpp: maybe-all-stage1-intl
48357 all-stage2-libcpp: maybe-all-stage2-intl
48358 all-stage3-libcpp: maybe-all-stage3-intl
48359 all-stage4-libcpp: maybe-all-stage4-intl
48360 all-stageprofile-libcpp: maybe-all-stageprofile-intl
48361 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
48362 all-fixincludes: maybe-all-libiberty
48364 all-stage1-fixincludes: maybe-all-stage1-libiberty
48365 all-stage2-fixincludes: maybe-all-stage2-libiberty
48366 all-stage3-fixincludes: maybe-all-stage3-libiberty
48367 all-stage4-fixincludes: maybe-all-stage4-libiberty
48368 all-stageprofile-fixincludes: maybe-all-stageprofile-libiberty
48369 all-stagefeedback-fixincludes: maybe-all-stagefeedback-libiberty
48370 all-gnattools: maybe-all-target-libada
48371 all-gnattools: maybe-all-target-libstdc++-v3
48372 all-lto-plugin: maybe-all-libiberty
48374 all-stage1-lto-plugin: maybe-all-stage1-libiberty
48375 all-stage2-lto-plugin: maybe-all-stage2-libiberty
48376 all-stage3-lto-plugin: maybe-all-stage3-libiberty
48377 all-stage4-lto-plugin: maybe-all-stage4-libiberty
48378 all-stageprofile-lto-plugin: maybe-all-stageprofile-libiberty
48379 all-stagefeedback-lto-plugin: maybe-all-stagefeedback-libiberty
48380 all-lto-plugin: maybe-all-libiberty-linker-plugin
48382 all-stage1-lto-plugin: maybe-all-stage1-libiberty-linker-plugin
48383 all-stage2-lto-plugin: maybe-all-stage2-libiberty-linker-plugin
48384 all-stage3-lto-plugin: maybe-all-stage3-libiberty-linker-plugin
48385 all-stage4-lto-plugin: maybe-all-stage4-libiberty-linker-plugin
48386 all-stageprofile-lto-plugin: maybe-all-stageprofile-libiberty-linker-plugin
48387 all-stagefeedback-lto-plugin: maybe-all-stagefeedback-libiberty-linker-plugin
48388 configure-libcc1: maybe-configure-gcc
48389 all-libcc1: maybe-all-gcc
48390 all-utils: maybe-all-libiberty
48391 configure-mpfr: maybe-all-gmp
48393 configure-stage1-mpfr: maybe-all-stage1-gmp
48394 configure-stage2-mpfr: maybe-all-stage2-gmp
48395 configure-stage3-mpfr: maybe-all-stage3-gmp
48396 configure-stage4-mpfr: maybe-all-stage4-gmp
48397 configure-stageprofile-mpfr: maybe-all-stageprofile-gmp
48398 configure-stagefeedback-mpfr: maybe-all-stagefeedback-gmp
48399 configure-mpc: maybe-all-mpfr
48401 configure-stage1-mpc: maybe-all-stage1-mpfr
48402 configure-stage2-mpc: maybe-all-stage2-mpfr
48403 configure-stage3-mpc: maybe-all-stage3-mpfr
48404 configure-stage4-mpc: maybe-all-stage4-mpfr
48405 configure-stageprofile-mpc: maybe-all-stageprofile-mpfr
48406 configure-stagefeedback-mpc: maybe-all-stagefeedback-mpfr
48407 configure-isl: maybe-all-gmp
48409 configure-stage1-isl: maybe-all-stage1-gmp
48410 configure-stage2-isl: maybe-all-stage2-gmp
48411 configure-stage3-isl: maybe-all-stage3-gmp
48412 configure-stage4-isl: maybe-all-stage4-gmp
48413 configure-stageprofile-isl: maybe-all-stageprofile-gmp
48414 configure-stagefeedback-isl: maybe-all-stagefeedback-gmp
48415 configure-gdb: maybe-all-intl
48416 configure-gdb: maybe-configure-sim
48417 configure-gdb: maybe-all-bfd
48418 configure-gdb: maybe-all-libiconv
48419 all-gdb: maybe-all-libiberty
48420 all-gdb: maybe-all-libiconv
48421 all-gdb: maybe-all-opcodes
48422 all-gdb: maybe-all-readline
48423 all-gdb: maybe-all-build-bison
48424 all-gdb: maybe-all-sim
48425 all-gdb: maybe-all-libdecnumber
48426 all-gdb: maybe-all-libtermcap
48427 configure-libgui: maybe-configure-tcl
48428 configure-libgui: maybe-configure-tk
48429 all-libgui: maybe-all-tcl
48430 all-libgui: maybe-all-tk
48431 all-libgui: maybe-all-itcl
48432 configure-bfd: configure-libiberty
48434 configure-stage1-bfd: configure-stage1-libiberty
48435 configure-stage2-bfd: configure-stage2-libiberty
48436 configure-stage3-bfd: configure-stage3-libiberty
48437 configure-stage4-bfd: configure-stage4-libiberty
48438 configure-stageprofile-bfd: configure-stageprofile-libiberty
48439 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
48440 configure-bfd: maybe-configure-intl
48442 configure-stage1-bfd: maybe-configure-stage1-intl
48443 configure-stage2-bfd: maybe-configure-stage2-intl
48444 configure-stage3-bfd: maybe-configure-stage3-intl
48445 configure-stage4-bfd: maybe-configure-stage4-intl
48446 configure-stageprofile-bfd: maybe-configure-stageprofile-intl
48447 configure-stagefeedback-bfd: maybe-configure-stagefeedback-intl
48448 all-bfd: maybe-all-libiberty
48450 all-stage1-bfd: maybe-all-stage1-libiberty
48451 all-stage2-bfd: maybe-all-stage2-libiberty
48452 all-stage3-bfd: maybe-all-stage3-libiberty
48453 all-stage4-bfd: maybe-all-stage4-libiberty
48454 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
48455 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
48456 all-bfd: maybe-all-intl
48458 all-stage1-bfd: maybe-all-stage1-intl
48459 all-stage2-bfd: maybe-all-stage2-intl
48460 all-stage3-bfd: maybe-all-stage3-intl
48461 all-stage4-bfd: maybe-all-stage4-intl
48462 all-stageprofile-bfd: maybe-all-stageprofile-intl
48463 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
48464 configure-opcodes: configure-libiberty
48466 configure-stage1-opcodes: configure-stage1-libiberty
48467 configure-stage2-opcodes: configure-stage2-libiberty
48468 configure-stage3-opcodes: configure-stage3-libiberty
48469 configure-stage4-opcodes: configure-stage4-libiberty
48470 configure-stageprofile-opcodes: configure-stageprofile-libiberty
48471 configure-stagefeedback-opcodes: configure-stagefeedback-libiberty
48472 all-opcodes: maybe-all-libiberty
48474 all-stage1-opcodes: maybe-all-stage1-libiberty
48475 all-stage2-opcodes: maybe-all-stage2-libiberty
48476 all-stage3-opcodes: maybe-all-stage3-libiberty
48477 all-stage4-opcodes: maybe-all-stage4-libiberty
48478 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
48479 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
48480 configure-binutils: maybe-configure-intl
48482 configure-stage1-binutils: maybe-configure-stage1-intl
48483 configure-stage2-binutils: maybe-configure-stage2-intl
48484 configure-stage3-binutils: maybe-configure-stage3-intl
48485 configure-stage4-binutils: maybe-configure-stage4-intl
48486 configure-stageprofile-binutils: maybe-configure-stageprofile-intl
48487 configure-stagefeedback-binutils: maybe-configure-stagefeedback-intl
48488 all-binutils: maybe-all-libiberty
48490 all-stage1-binutils: maybe-all-stage1-libiberty
48491 all-stage2-binutils: maybe-all-stage2-libiberty
48492 all-stage3-binutils: maybe-all-stage3-libiberty
48493 all-stage4-binutils: maybe-all-stage4-libiberty
48494 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
48495 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
48496 all-binutils: maybe-all-opcodes
48498 all-stage1-binutils: maybe-all-stage1-opcodes
48499 all-stage2-binutils: maybe-all-stage2-opcodes
48500 all-stage3-binutils: maybe-all-stage3-opcodes
48501 all-stage4-binutils: maybe-all-stage4-opcodes
48502 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
48503 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
48504 all-binutils: maybe-all-bfd
48506 all-stage1-binutils: maybe-all-stage1-bfd
48507 all-stage2-binutils: maybe-all-stage2-bfd
48508 all-stage3-binutils: maybe-all-stage3-bfd
48509 all-stage4-binutils: maybe-all-stage4-bfd
48510 all-stageprofile-binutils: maybe-all-stageprofile-bfd
48511 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
48512 all-binutils: maybe-all-build-flex
48514 all-stage1-binutils: maybe-all-build-flex
48515 all-stage2-binutils: maybe-all-build-flex
48516 all-stage3-binutils: maybe-all-build-flex
48517 all-stage4-binutils: maybe-all-build-flex
48518 all-stageprofile-binutils: maybe-all-build-flex
48519 all-stagefeedback-binutils: maybe-all-build-flex
48520 all-binutils: maybe-all-build-bison
48522 all-stage1-binutils: maybe-all-build-bison
48523 all-stage2-binutils: maybe-all-build-bison
48524 all-stage3-binutils: maybe-all-build-bison
48525 all-stage4-binutils: maybe-all-build-bison
48526 all-stageprofile-binutils: maybe-all-build-bison
48527 all-stagefeedback-binutils: maybe-all-build-bison
48528 all-binutils: maybe-all-intl
48530 all-stage1-binutils: maybe-all-stage1-intl
48531 all-stage2-binutils: maybe-all-stage2-intl
48532 all-stage3-binutils: maybe-all-stage3-intl
48533 all-stage4-binutils: maybe-all-stage4-intl
48534 all-stageprofile-binutils: maybe-all-stageprofile-intl
48535 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
48536 all-binutils: maybe-all-gas
48538 all-stage1-binutils: maybe-all-stage1-gas
48539 all-stage2-binutils: maybe-all-stage2-gas
48540 all-stage3-binutils: maybe-all-stage3-gas
48541 all-stage4-binutils: maybe-all-stage4-gas
48542 all-stageprofile-binutils: maybe-all-stageprofile-gas
48543 all-stagefeedback-binutils: maybe-all-stagefeedback-gas
48544 install-binutils: maybe-install-opcodes
48545 install-strip-binutils: maybe-install-strip-opcodes
48546 install-opcodes: maybe-install-bfd
48547 install-strip-opcodes: maybe-install-strip-bfd
48548 configure-gas: maybe-configure-intl
48550 configure-stage1-gas: maybe-configure-stage1-intl
48551 configure-stage2-gas: maybe-configure-stage2-intl
48552 configure-stage3-gas: maybe-configure-stage3-intl
48553 configure-stage4-gas: maybe-configure-stage4-intl
48554 configure-stageprofile-gas: maybe-configure-stageprofile-intl
48555 configure-stagefeedback-gas: maybe-configure-stagefeedback-intl
48556 all-gas: maybe-all-libiberty
48558 all-stage1-gas: maybe-all-stage1-libiberty
48559 all-stage2-gas: maybe-all-stage2-libiberty
48560 all-stage3-gas: maybe-all-stage3-libiberty
48561 all-stage4-gas: maybe-all-stage4-libiberty
48562 all-stageprofile-gas: maybe-all-stageprofile-libiberty
48563 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
48564 all-gas: maybe-all-opcodes
48566 all-stage1-gas: maybe-all-stage1-opcodes
48567 all-stage2-gas: maybe-all-stage2-opcodes
48568 all-stage3-gas: maybe-all-stage3-opcodes
48569 all-stage4-gas: maybe-all-stage4-opcodes
48570 all-stageprofile-gas: maybe-all-stageprofile-opcodes
48571 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
48572 all-gas: maybe-all-bfd
48574 all-stage1-gas: maybe-all-stage1-bfd
48575 all-stage2-gas: maybe-all-stage2-bfd
48576 all-stage3-gas: maybe-all-stage3-bfd
48577 all-stage4-gas: maybe-all-stage4-bfd
48578 all-stageprofile-gas: maybe-all-stageprofile-bfd
48579 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
48580 all-gas: maybe-all-intl
48582 all-stage1-gas: maybe-all-stage1-intl
48583 all-stage2-gas: maybe-all-stage2-intl
48584 all-stage3-gas: maybe-all-stage3-intl
48585 all-stage4-gas: maybe-all-stage4-intl
48586 all-stageprofile-gas: maybe-all-stageprofile-intl
48587 all-stagefeedback-gas: maybe-all-stagefeedback-intl
48588 configure-gprof: maybe-configure-intl
48589 all-gprof: maybe-all-libiberty
48590 all-gprof: maybe-all-bfd
48591 all-gprof: maybe-all-opcodes
48592 all-gprof: maybe-all-intl
48593 all-gprof: maybe-all-gas
48594 configure-ld: maybe-configure-intl
48596 configure-stage1-ld: maybe-configure-stage1-intl
48597 configure-stage2-ld: maybe-configure-stage2-intl
48598 configure-stage3-ld: maybe-configure-stage3-intl
48599 configure-stage4-ld: maybe-configure-stage4-intl
48600 configure-stageprofile-ld: maybe-configure-stageprofile-intl
48601 configure-stagefeedback-ld: maybe-configure-stagefeedback-intl
48602 all-ld: maybe-all-libiberty
48604 all-stage1-ld: maybe-all-stage1-libiberty
48605 all-stage2-ld: maybe-all-stage2-libiberty
48606 all-stage3-ld: maybe-all-stage3-libiberty
48607 all-stage4-ld: maybe-all-stage4-libiberty
48608 all-stageprofile-ld: maybe-all-stageprofile-libiberty
48609 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
48610 all-ld: maybe-all-bfd
48612 all-stage1-ld: maybe-all-stage1-bfd
48613 all-stage2-ld: maybe-all-stage2-bfd
48614 all-stage3-ld: maybe-all-stage3-bfd
48615 all-stage4-ld: maybe-all-stage4-bfd
48616 all-stageprofile-ld: maybe-all-stageprofile-bfd
48617 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
48618 all-ld: maybe-all-opcodes
48620 all-stage1-ld: maybe-all-stage1-opcodes
48621 all-stage2-ld: maybe-all-stage2-opcodes
48622 all-stage3-ld: maybe-all-stage3-opcodes
48623 all-stage4-ld: maybe-all-stage4-opcodes
48624 all-stageprofile-ld: maybe-all-stageprofile-opcodes
48625 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
48626 all-ld: maybe-all-build-bison
48628 all-stage1-ld: maybe-all-build-bison
48629 all-stage2-ld: maybe-all-build-bison
48630 all-stage3-ld: maybe-all-build-bison
48631 all-stage4-ld: maybe-all-build-bison
48632 all-stageprofile-ld: maybe-all-build-bison
48633 all-stagefeedback-ld: maybe-all-build-bison
48634 all-ld: maybe-all-build-flex
48636 all-stage1-ld: maybe-all-build-flex
48637 all-stage2-ld: maybe-all-build-flex
48638 all-stage3-ld: maybe-all-build-flex
48639 all-stage4-ld: maybe-all-build-flex
48640 all-stageprofile-ld: maybe-all-build-flex
48641 all-stagefeedback-ld: maybe-all-build-flex
48642 all-ld: maybe-all-intl
48644 all-stage1-ld: maybe-all-stage1-intl
48645 all-stage2-ld: maybe-all-stage2-intl
48646 all-stage3-ld: maybe-all-stage3-intl
48647 all-stage4-ld: maybe-all-stage4-intl
48648 all-stageprofile-ld: maybe-all-stageprofile-intl
48649 all-stagefeedback-ld: maybe-all-stagefeedback-intl
48650 all-ld: maybe-all-gas
48652 all-stage1-ld: maybe-all-stage1-gas
48653 all-stage2-ld: maybe-all-stage2-gas
48654 all-stage3-ld: maybe-all-stage3-gas
48655 all-stage4-ld: maybe-all-stage4-gas
48656 all-stageprofile-ld: maybe-all-stageprofile-gas
48657 all-stagefeedback-ld: maybe-all-stagefeedback-gas
48658 all-ld: maybe-all-binutils
48660 all-stage1-ld: maybe-all-stage1-binutils
48661 all-stage2-ld: maybe-all-stage2-binutils
48662 all-stage3-ld: maybe-all-stage3-binutils
48663 all-stage4-ld: maybe-all-stage4-binutils
48664 all-stageprofile-ld: maybe-all-stageprofile-binutils
48665 all-stagefeedback-ld: maybe-all-stagefeedback-binutils
48666 install-ld: maybe-install-gold
48667 install-strip-ld: maybe-install-strip-gold
48668 configure-gold: maybe-configure-intl
48670 configure-stage1-gold: maybe-configure-stage1-intl
48671 configure-stage2-gold: maybe-configure-stage2-intl
48672 configure-stage3-gold: maybe-configure-stage3-intl
48673 configure-stage4-gold: maybe-configure-stage4-intl
48674 configure-stageprofile-gold: maybe-configure-stageprofile-intl
48675 configure-stagefeedback-gold: maybe-configure-stagefeedback-intl
48676 all-gold: maybe-all-libiberty
48678 all-stage1-gold: maybe-all-stage1-libiberty
48679 all-stage2-gold: maybe-all-stage2-libiberty
48680 all-stage3-gold: maybe-all-stage3-libiberty
48681 all-stage4-gold: maybe-all-stage4-libiberty
48682 all-stageprofile-gold: maybe-all-stageprofile-libiberty
48683 all-stagefeedback-gold: maybe-all-stagefeedback-libiberty
48684 all-gold: maybe-all-intl
48686 all-stage1-gold: maybe-all-stage1-intl
48687 all-stage2-gold: maybe-all-stage2-intl
48688 all-stage3-gold: maybe-all-stage3-intl
48689 all-stage4-gold: maybe-all-stage4-intl
48690 all-stageprofile-gold: maybe-all-stageprofile-intl
48691 all-stagefeedback-gold: maybe-all-stagefeedback-intl
48692 all-gold: maybe-all-bfd
48694 all-stage1-gold: maybe-all-stage1-bfd
48695 all-stage2-gold: maybe-all-stage2-bfd
48696 all-stage3-gold: maybe-all-stage3-bfd
48697 all-stage4-gold: maybe-all-stage4-bfd
48698 all-stageprofile-gold: maybe-all-stageprofile-bfd
48699 all-stagefeedback-gold: maybe-all-stagefeedback-bfd
48700 all-gold: maybe-all-build-bison
48702 all-stage1-gold: maybe-all-build-bison
48703 all-stage2-gold: maybe-all-build-bison
48704 all-stage3-gold: maybe-all-build-bison
48705 all-stage4-gold: maybe-all-build-bison
48706 all-stageprofile-gold: maybe-all-build-bison
48707 all-stagefeedback-gold: maybe-all-build-bison
48708 all-gold: maybe-all-gas
48710 all-stage1-gold: maybe-all-stage1-gas
48711 all-stage2-gold: maybe-all-stage2-gas
48712 all-stage3-gold: maybe-all-stage3-gas
48713 all-stage4-gold: maybe-all-stage4-gas
48714 all-stageprofile-gold: maybe-all-stageprofile-gas
48715 all-stagefeedback-gold: maybe-all-stagefeedback-gas
48716 check-gold: maybe-all-binutils
48718 check-stage1-gold: maybe-all-stage1-binutils
48719 check-stage2-gold: maybe-all-stage2-binutils
48720 check-stage3-gold: maybe-all-stage3-binutils
48721 check-stage4-gold: maybe-all-stage4-binutils
48722 check-stageprofile-gold: maybe-all-stageprofile-binutils
48723 check-stagefeedback-gold: maybe-all-stagefeedback-binutils
48724 check-gold: maybe-all-gas
48726 check-stage1-gold: maybe-all-stage1-gas
48727 check-stage2-gold: maybe-all-stage2-gas
48728 check-stage3-gold: maybe-all-stage3-gas
48729 check-stage4-gold: maybe-all-stage4-gas
48730 check-stageprofile-gold: maybe-all-stageprofile-gas
48731 check-stagefeedback-gold: maybe-all-stagefeedback-gas
48732 configure-opcodes: maybe-configure-intl
48734 configure-stage1-opcodes: maybe-configure-stage1-intl
48735 configure-stage2-opcodes: maybe-configure-stage2-intl
48736 configure-stage3-opcodes: maybe-configure-stage3-intl
48737 configure-stage4-opcodes: maybe-configure-stage4-intl
48738 configure-stageprofile-opcodes: maybe-configure-stageprofile-intl
48739 configure-stagefeedback-opcodes: maybe-configure-stagefeedback-intl
48740 all-opcodes: maybe-all-bfd
48742 all-stage1-opcodes: maybe-all-stage1-bfd
48743 all-stage2-opcodes: maybe-all-stage2-bfd
48744 all-stage3-opcodes: maybe-all-stage3-bfd
48745 all-stage4-opcodes: maybe-all-stage4-bfd
48746 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
48747 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
48748 all-opcodes: maybe-all-libiberty
48750 all-stage1-opcodes: maybe-all-stage1-libiberty
48751 all-stage2-opcodes: maybe-all-stage2-libiberty
48752 all-stage3-opcodes: maybe-all-stage3-libiberty
48753 all-stage4-opcodes: maybe-all-stage4-libiberty
48754 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
48755 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
48756 all-opcodes: maybe-all-intl
48758 all-stage1-opcodes: maybe-all-stage1-intl
48759 all-stage2-opcodes: maybe-all-stage2-intl
48760 all-stage3-opcodes: maybe-all-stage3-intl
48761 all-stage4-opcodes: maybe-all-stage4-intl
48762 all-stageprofile-opcodes: maybe-all-stageprofile-intl
48763 all-stagefeedback-opcodes: maybe-all-stagefeedback-intl
48764 all-dejagnu: maybe-all-tcl
48765 all-dejagnu: maybe-all-expect
48766 all-dejagnu: maybe-all-tk
48767 configure-expect: maybe-configure-tcl
48768 configure-expect: maybe-configure-tk
48769 all-expect: maybe-all-tcl
48770 all-expect: maybe-all-tk
48771 configure-itcl: maybe-configure-tcl
48772 configure-itcl: maybe-configure-tk
48773 all-itcl: maybe-all-tcl
48774 all-itcl: maybe-all-tk
48775 install-itcl: maybe-install-tcl
48776 install-strip-itcl: maybe-install-strip-tcl
48777 configure-tk: maybe-configure-tcl
48778 all-tk: maybe-all-tcl
48779 all-sid: maybe-all-libiberty
48780 all-sid: maybe-all-bfd
48781 all-sid: maybe-all-opcodes
48782 all-sid: maybe-all-tcl
48783 all-sid: maybe-all-tk
48784 install-sid: maybe-install-tcl
48785 install-strip-sid: maybe-install-strip-tcl
48786 install-sid: maybe-install-tk
48787 install-strip-sid: maybe-install-strip-tk
48788 configure-sim: maybe-configure-intl
48789 all-sim: maybe-all-intl
48790 all-sim: maybe-all-libiberty
48791 all-sim: maybe-all-bfd
48792 all-sim: maybe-all-opcodes
48793 all-sim: maybe-all-readline
48794 all-sim: maybe-configure-gdb
48795 all-fastjar: maybe-all-zlib
48796 all-fastjar: maybe-all-build-texinfo
48797 all-fastjar: maybe-all-libiberty
48798 all-bison: maybe-all-intl
48799 all-bison: maybe-all-build-texinfo
48800 all-flex: maybe-all-build-bison
48801 all-flex: maybe-all-intl
48802 all-flex: maybe-all-m4
48803 all-flex: maybe-all-build-texinfo
48804 all-m4: maybe-all-intl
48805 all-m4: maybe-all-build-texinfo
48806 configure-target-boehm-gc: maybe-all-target-libstdc++-v3
48807 configure-target-fastjar: maybe-configure-target-zlib
48808 all-target-fastjar: maybe-all-target-zlib
48809 configure-target-libgo: maybe-configure-target-libffi
48810 configure-target-libgo: maybe-all-target-libstdc++-v3
48811 all-target-libgo: maybe-all-target-libbacktrace
48812 all-target-libgo: maybe-all-target-libffi
48813 all-target-libgo: maybe-all-target-libatomic
48814 configure-target-libjava: maybe-configure-target-zlib
48815 configure-target-libjava: maybe-configure-target-boehm-gc
48816 configure-target-libjava: maybe-configure-target-libffi
48817 all-target-libjava: maybe-all-fastjar
48818 all-target-libjava: maybe-all-target-zlib
48819 all-target-libjava: maybe-all-target-boehm-gc
48820 all-target-libjava: maybe-all-target-libffi
48821 configure-target-libobjc: maybe-configure-target-boehm-gc
48822 all-target-libobjc: maybe-all-target-boehm-gc
48823 configure-target-libstdc++-v3: maybe-configure-target-libgomp
48825 configure-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
48826 configure-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
48827 configure-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
48828 configure-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
48829 configure-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
48830 configure-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
48831 configure-target-liboffloadmic: maybe-configure-target-libgomp
48832 configure-target-libsanitizer: maybe-all-target-libstdc++-v3
48834 configure-stage1-target-libsanitizer: maybe-all-stage1-target-libstdc++-v3
48835 configure-stage2-target-libsanitizer: maybe-all-stage2-target-libstdc++-v3
48836 configure-stage3-target-libsanitizer: maybe-all-stage3-target-libstdc++-v3
48837 configure-stage4-target-libsanitizer: maybe-all-stage4-target-libstdc++-v3
48838 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-target-libstdc++-v3
48839 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-target-libstdc++-v3
48840 configure-target-libvtv: maybe-all-target-libstdc++-v3
48842 configure-stage1-target-libvtv: maybe-all-stage1-target-libstdc++-v3
48843 configure-stage2-target-libvtv: maybe-all-stage2-target-libstdc++-v3
48844 configure-stage3-target-libvtv: maybe-all-stage3-target-libstdc++-v3
48845 configure-stage4-target-libvtv: maybe-all-stage4-target-libstdc++-v3
48846 configure-stageprofile-target-libvtv: maybe-all-stageprofile-target-libstdc++-v3
48847 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-target-libstdc++-v3
48848 all-target-libstdc++-v3: maybe-configure-target-libgomp
48850 all-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
48851 all-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
48852 all-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
48853 all-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
48854 all-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
48855 all-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
48856 all-target-liboffloadmic: maybe-configure-target-libgomp
48857 install-target-libgo: maybe-install-target-libatomic
48858 install-target-libgfortran: maybe-install-target-libquadmath
48859 install-target-libgfortran: maybe-install-target-libgcc
48860 install-target-libsanitizer: maybe-install-target-libstdc++-v3
48861 install-target-libsanitizer: maybe-install-target-libgcc
48862 install-target-libvtv: maybe-install-target-libstdc++-v3
48863 install-target-libvtv: maybe-install-target-libgcc
48864 install-target-libcilkrts: maybe-install-target-libstdc++-v3
48865 install-target-libcilkrts: maybe-install-target-libgcc
48866 install-target-liboffloadmic: maybe-install-target-libstdc++-v3
48867 install-target-liboffloadmic: maybe-install-target-libgcc
48868 install-target-libjava: maybe-install-target-libgcc
48869 install-target-libitm: maybe-install-target-libgcc
48870 install-target-libobjc: maybe-install-target-libgcc
48871 install-target-libstdc++-v3: maybe-install-target-libgcc
48872 all-target-libgloss: maybe-all-target-newlib
48873 all-target-winsup: maybe-all-target-libtermcap
48874 configure-target-newlib: maybe-all-binutils
48875 configure-target-newlib: maybe-all-ld
48876 configure-target-libgfortran: maybe-all-target-libquadmath
48879 # Dependencies for target modules on other target modules are
48880 # described by lang_env_dependencies; the defaults apply to anything
48881 # not mentioned there.
48884 @if gcc-bootstrap
48885 configure-stage1-target-libstdc++-v3: maybe-all-stage1-target-libgcc
48886 configure-stage2-target-libstdc++-v3: maybe-all-stage2-target-libgcc
48887 configure-stage3-target-libstdc++-v3: maybe-all-stage3-target-libgcc
48888 configure-stage4-target-libstdc++-v3: maybe-all-stage4-target-libgcc
48889 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-target-libgcc
48890 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-target-libgcc
48891 configure-stage1-target-libsanitizer: maybe-all-stage1-target-libgcc
48892 configure-stage2-target-libsanitizer: maybe-all-stage2-target-libgcc
48893 configure-stage3-target-libsanitizer: maybe-all-stage3-target-libgcc
48894 configure-stage4-target-libsanitizer: maybe-all-stage4-target-libgcc
48895 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-target-libgcc
48896 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-target-libgcc
48897 configure-stage1-target-libvtv: maybe-all-stage1-target-libgcc
48898 configure-stage2-target-libvtv: maybe-all-stage2-target-libgcc
48899 configure-stage3-target-libvtv: maybe-all-stage3-target-libgcc
48900 configure-stage4-target-libvtv: maybe-all-stage4-target-libgcc
48901 configure-stageprofile-target-libvtv: maybe-all-stageprofile-target-libgcc
48902 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-target-libgcc
48903 configure-stage1-target-libgomp: maybe-all-stage1-target-libgcc
48904 configure-stage2-target-libgomp: maybe-all-stage2-target-libgcc
48905 configure-stage3-target-libgomp: maybe-all-stage3-target-libgcc
48906 configure-stage4-target-libgomp: maybe-all-stage4-target-libgcc
48907 configure-stageprofile-target-libgomp: maybe-all-stageprofile-target-libgcc
48908 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-target-libgcc
48909 @endif gcc-bootstrap
48911 @if gcc-no-bootstrap
48912 configure-target-libstdc++-v3: maybe-all-target-libgcc
48913 configure-target-libsanitizer: maybe-all-target-libgcc
48914 configure-target-libvtv: maybe-all-target-libgcc
48915 configure-target-libcilkrts: maybe-all-target-libgcc
48916 configure-target-liboffloadmic: maybe-all-target-libgcc
48917 configure-target-libssp: maybe-all-target-libgcc
48918 configure-target-newlib: maybe-all-target-libgcc
48919 configure-target-libbacktrace: maybe-all-target-libgcc
48920 configure-target-libquadmath: maybe-all-target-libgcc
48921 configure-target-libgfortran: maybe-all-target-libgcc
48922 configure-target-libobjc: maybe-all-target-libgcc
48923 configure-target-libgo: maybe-all-target-libgcc
48924 configure-target-libtermcap: maybe-all-target-libgcc
48925 configure-target-winsup: maybe-all-target-libgcc
48926 configure-target-libgloss: maybe-all-target-libgcc
48927 configure-target-libffi: maybe-all-target-libgcc
48928 configure-target-libjava: maybe-all-target-libgcc
48929 configure-target-zlib: maybe-all-target-libgcc
48930 configure-target-boehm-gc: maybe-all-target-libgcc
48931 configure-target-rda: maybe-all-target-libgcc
48932 configure-target-libada: maybe-all-target-libgcc
48933 configure-target-libgomp: maybe-all-target-libgcc
48934 configure-target-libitm: maybe-all-target-libgcc
48935 configure-target-libatomic: maybe-all-target-libgcc
48936 @endif gcc-no-bootstrap
48939 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
48941 configure-target-libsanitizer: maybe-all-target-newlib maybe-all-target-libgloss
48943 configure-target-libvtv: maybe-all-target-newlib maybe-all-target-libgloss
48945 configure-target-libcilkrts: maybe-all-target-newlib maybe-all-target-libgloss
48946 configure-target-libcilkrts: maybe-all-target-libstdc++-v3
48948 configure-target-liboffloadmic: maybe-all-target-newlib maybe-all-target-libgloss
48949 configure-target-liboffloadmic: maybe-all-target-libstdc++-v3
48951 configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
48955 configure-target-libbacktrace: maybe-all-target-newlib maybe-all-target-libgloss
48957 configure-target-libquadmath: maybe-all-target-newlib maybe-all-target-libgloss
48959 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
48961 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
48963 configure-target-libgo: maybe-all-target-newlib maybe-all-target-libgloss
48965 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
48967 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
48970 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
48972 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
48973 configure-target-libjava: maybe-all-target-libstdc++-v3
48975 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
48977 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
48979 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
48981 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
48983 configure-target-libgomp: maybe-all-target-newlib maybe-all-target-libgloss
48985 configure-target-libitm: maybe-all-target-newlib maybe-all-target-libgloss
48986 configure-target-libitm: maybe-all-target-libstdc++-v3
48988 configure-target-libatomic: maybe-all-target-newlib maybe-all-target-libgloss
48991 CONFIGURE_GDB_TK = @CONFIGURE_GDB_TK@
48992 GDB_TK = @GDB_TK@
48993 INSTALL_GDB_TK = @INSTALL_GDB_TK@
48994 configure-gdb: $(CONFIGURE_GDB_TK)
48995 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
48996 install-gdb: $(INSTALL_GDB_TK)
48998 # Serialization dependencies. Host configures don't work well in parallel to
48999 # each other, due to contention over config.cache. Target configures and
49000 # build configures are similar.
49001 @serialization_dependencies@
49003 # --------------------------------
49004 # Regenerating top level configury
49005 # --------------------------------
49007 # Rebuilding Makefile.in, using autogen.
49008 AUTOGEN = autogen
49009 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
49010 cd $(srcdir) && $(AUTOGEN) Makefile.def
49012 # Rebuilding Makefile.
49013 Makefile: $(srcdir)/Makefile.in config.status
49014 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
49016 config.status: configure
49017 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
49019 # Rebuilding configure.
49020 AUTOCONF = autoconf
49021 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac $(srcdir)/config/acx.m4 \
49022 $(srcdir)/config/override.m4 $(srcdir)/config/proginstall.m4
49023 cd $(srcdir) && $(AUTOCONF)
49025 # ------------------------------
49026 # Special directives to GNU Make
49027 # ------------------------------
49029 # Don't pass command-line variables to submakes.
49030 .NOEXPORT:
49031 MAKEOVERRIDES=
49033 # end of Makefile.in