re PR ipa/63967 (r217633 caused internal compiler error: in estimate_edge_growth...
[official-gcc.git] / Makefile.in
blob94ef538379075dcfe9b0804709a80d830d5d06a0
2 # Makefile.in is generated from Makefile.tpl by 'autogen Makefile.def'.
4 # Makefile for directory with subdirs to build.
5 # Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
6 # 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
7 # Free Software Foundation
9 # This file is free software; you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License as published by
11 # the Free Software Foundation; either version 3 of the License, or
12 # (at your option) any later version.
14 # This program is distributed in the hope that it will be useful,
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 # GNU General Public License for more details.
19 # You should have received a copy of the GNU General Public License
20 # along with this program; see the file COPYING3. If not see
21 # <http://www.gnu.org/licenses/>.
24 # First, test for a proper version of make, but only where one is required.
26 @if gcc
27 ifeq (,$(.VARIABLES)) # The variable .VARIABLES, new with 3.80, is never empty.
28 $(error GNU make version 3.80 or newer is required.)
29 endif
30 @endif gcc
32 # -------------------------------
33 # Standard Autoconf-set variables
34 # -------------------------------
35 VPATH=@srcdir@
37 build_alias=@build_noncanonical@
38 build_vendor=@build_vendor@
39 build_os=@build_os@
40 build=@build@
41 host_alias=@host_noncanonical@
42 host_vendor=@host_vendor@
43 host_os=@host_os@
44 host=@host@
45 target_alias=@target_noncanonical@
46 target_vendor=@target_vendor@
47 target_os=@target_os@
48 target=@target@
50 program_transform_name = @program_transform_name@
52 prefix = @prefix@
53 exec_prefix = @exec_prefix@
55 srcdir = @srcdir@
57 bindir = @bindir@
58 sbindir = @sbindir@
59 libexecdir = @libexecdir@
60 datadir = @datadir@
61 sysconfdir = @sysconfdir@
62 sharedstatedir = @sharedstatedir@
63 localstatedir = @localstatedir@
64 libdir = @libdir@
65 includedir = @includedir@
66 oldincludedir = @oldincludedir@
67 infodir = @infodir@
68 datarootdir = @datarootdir@
69 docdir = @docdir@
70 pdfdir = @pdfdir@
71 htmldir = @htmldir@
72 mandir = @mandir@
73 man1dir = $(mandir)/man1
74 man2dir = $(mandir)/man2
75 man3dir = $(mandir)/man3
76 man4dir = $(mandir)/man4
77 man5dir = $(mandir)/man5
78 man6dir = $(mandir)/man6
79 man7dir = $(mandir)/man7
80 man8dir = $(mandir)/man8
81 man9dir = $(mandir)/man9
83 INSTALL = @INSTALL@
84 INSTALL_PROGRAM = @INSTALL_PROGRAM@
85 INSTALL_SCRIPT = @INSTALL_SCRIPT@
86 INSTALL_DATA = @INSTALL_DATA@
87 LN = @LN@
88 LN_S = @LN_S@
89 MAINT = @MAINT@
90 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
91 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
93 # -------------------------------------------------
94 # Miscellaneous non-standard autoconf-set variables
95 # -------------------------------------------------
97 # The gcc driver likes to know the arguments it was configured with.
98 TOPLEVEL_CONFIGURE_ARGUMENTS=@TOPLEVEL_CONFIGURE_ARGUMENTS@
100 tooldir = @tooldir@
101 build_tooldir = @build_tooldir@
103 # This is the name of the environment variable used for the path to
104 # the libraries.
105 RPATH_ENVVAR = @RPATH_ENVVAR@
107 # On targets where RPATH_ENVVAR is PATH, a subdirectory of the GCC build path
108 # is used instead of the directory itself to avoid including built
109 # executables in PATH.
110 GCC_SHLIB_SUBDIR = @GCC_SHLIB_SUBDIR@
112 # Build programs are put under this directory.
113 BUILD_SUBDIR = @build_subdir@
114 # This is set by the configure script to the arguments to use when configuring
115 # directories built for the build system.
116 BUILD_CONFIGARGS = @build_configargs@ --with-build-subdir="$(BUILD_SUBDIR)"
118 # Linker flags to use on the host, for stage1 or when not
119 # bootstrapping.
120 STAGE1_LDFLAGS = @stage1_ldflags@
122 # Libraries to use on the host, for stage1 or when not bootstrapping.
123 STAGE1_LIBS = @stage1_libs@
125 # Linker flags to use for stage2 and later.
126 POSTSTAGE1_LDFLAGS = @poststage1_ldflags@
128 # Libraries to use for stage2 and later.
129 POSTSTAGE1_LIBS = @poststage1_libs@
131 # This is the list of variables to export in the environment when
132 # configuring any subdirectory. It must also be exported whenever
133 # recursing into a build directory in case that directory's Makefile
134 # re-runs configure.
135 BASE_EXPORTS = \
136 FLEX="$(FLEX)"; export FLEX; \
137 LEX="$(LEX)"; export LEX; \
138 BISON="$(BISON)"; export BISON; \
139 YACC="$(YACC)"; export YACC; \
140 M4="$(M4)"; export M4; \
141 SED="$(SED)"; export SED; \
142 AWK="$(AWK)"; export AWK; \
143 MAKEINFO="$(MAKEINFO)"; export MAKEINFO;
145 # This is the list of variables to export in the environment when
146 # configuring subdirectories for the build system.
147 BUILD_EXPORTS = \
148 $(BASE_EXPORTS) \
149 AR="$(AR_FOR_BUILD)"; export AR; \
150 AS="$(AS_FOR_BUILD)"; export AS; \
151 CC="$(CC_FOR_BUILD)"; export CC; \
152 CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
153 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
154 CXX="$(CXX_FOR_BUILD)"; export CXX; \
155 CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
156 GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
157 GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
158 GOC="$(GOC_FOR_BUILD)"; export GOC; \
159 GOCFLAGS="$(GOCFLAGS_FOR_BUILD)"; export GOCFLAGS; \
160 DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
161 LD="$(LD_FOR_BUILD)"; export LD; \
162 LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
163 NM="$(NM_FOR_BUILD)"; export NM; \
164 RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
165 WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES; \
166 WINDMC="$(WINDMC_FOR_BUILD)"; export WINDMC;
168 # These variables must be set on the make command line for directories
169 # built for the build system to override those in BASE_FLAGS_TO_PASS.
170 EXTRA_BUILD_FLAGS = \
171 CFLAGS="$(CFLAGS_FOR_BUILD)" \
172 LDFLAGS="$(LDFLAGS_FOR_BUILD)"
174 # This is the list of directories to built for the host system.
175 SUBDIRS = @configdirs@
176 TARGET_CONFIGDIRS = @target_configdirs@
177 # This is set by the configure script to the arguments to use when configuring
178 # directories built for the host system.
179 HOST_CONFIGARGS = @host_configargs@
180 # Host programs are put under this directory, which is . except if building
181 # with srcdir=..
182 HOST_SUBDIR = @host_subdir@
183 # This is the list of variables to export in the environment when
184 # configuring subdirectories for the host system. We need to pass
185 # some to the GCC configure because of its hybrid host/target nature.
186 HOST_EXPORTS = \
187 $(BASE_EXPORTS) \
188 CC="$(CC)"; export CC; \
189 ADA_CFLAGS="$(ADA_CFLAGS)"; export ADA_CFLAGS; \
190 CFLAGS="$(CFLAGS)"; export CFLAGS; \
191 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
192 CXX="$(CXX)"; export CXX; \
193 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
194 GCJ="$(GCJ)"; export GCJ; \
195 GFORTRAN="$(GFORTRAN)"; export GFORTRAN; \
196 GOC="$(GOC)"; export GOC; \
197 AR="$(AR)"; export AR; \
198 AS="$(AS)"; export AS; \
199 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
200 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
201 LD="$(LD)"; export LD; \
202 LDFLAGS="$(STAGE1_LDFLAGS) $(LDFLAGS)"; export LDFLAGS; \
203 NM="$(NM)"; export NM; \
204 RANLIB="$(RANLIB)"; export RANLIB; \
205 WINDRES="$(WINDRES)"; export WINDRES; \
206 WINDMC="$(WINDMC)"; export WINDMC; \
207 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
208 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
209 READELF="$(READELF)"; export READELF; \
210 AR_FOR_TARGET="$(AR_FOR_TARGET)"; export AR_FOR_TARGET; \
211 AS_FOR_TARGET="$(AS_FOR_TARGET)"; export AS_FOR_TARGET; \
212 GCC_FOR_TARGET="$(GCC_FOR_TARGET)"; export GCC_FOR_TARGET; \
213 LD_FOR_TARGET="$(LD_FOR_TARGET)"; export LD_FOR_TARGET; \
214 NM_FOR_TARGET="$(NM_FOR_TARGET)"; export NM_FOR_TARGET; \
215 OBJDUMP_FOR_TARGET="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP_FOR_TARGET; \
216 OBJCOPY_FOR_TARGET="$(OBJCOPY_FOR_TARGET)"; export OBJCOPY_FOR_TARGET; \
217 RANLIB_FOR_TARGET="$(RANLIB_FOR_TARGET)"; export RANLIB_FOR_TARGET; \
218 READELF_FOR_TARGET="$(READELF_FOR_TARGET)"; export READELF_FOR_TARGET; \
219 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
220 HOST_LIBS="$(STAGE1_LIBS)"; export HOST_LIBS; \
221 GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
222 GMPINC="$(HOST_GMPINC)"; export GMPINC; \
223 ISLLIBS="$(HOST_ISLLIBS)"; export ISLLIBS; \
224 ISLINC="$(HOST_ISLINC)"; export ISLINC; \
225 LIBELFLIBS="$(HOST_LIBELFLIBS)" ; export LIBELFLIBS; \
226 LIBELFINC="$(HOST_LIBELFINC)" ; export LIBELFINC; \
227 @if gcc-bootstrap
228 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
229 @endif gcc-bootstrap
230 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
232 POSTSTAGE1_CXX_EXPORT = \
233 CXX='$(CXX)'; export CXX; \
234 CXX_FOR_BUILD='$(CXX_FOR_BUILD)'; export CXX_FOR_BUILD;
235 @if target-libstdc++-v3-bootstrap
236 # Override the above if we're bootstrapping C++.
237 POSTSTAGE1_CXX_EXPORT = \
238 CXX="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xg++$(exeext) \
239 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ -nostdinc++ \
240 -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
241 -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs \
242 `if $(LEAN); then echo ' -isystem '; else echo ' -I'; fi`$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include/$(TARGET_SUBDIR) \
243 `if $(LEAN); then echo ' -isystem '; else echo ' -I'; fi`$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include \
244 `if $(LEAN); then echo ' -isystem '; else echo ' -I'; fi`$$s/libstdc++-v3/libsupc++ \
245 -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
246 -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs"; \
247 export CXX; \
248 CXX_FOR_BUILD="$$CXX"; export CXX_FOR_BUILD;
249 @endif target-libstdc++-v3-bootstrap
251 # Similar, for later GCC stages.
252 POSTSTAGE1_HOST_EXPORTS = \
253 $(HOST_EXPORTS) \
254 CC="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
255 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ \
256 $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \
257 CC_FOR_BUILD="$$CC"; export CC_FOR_BUILD; \
258 $(POSTSTAGE1_CXX_EXPORT) \
259 $(LTO_EXPORTS) \
260 GNATBIND="$$r/$(HOST_SUBDIR)/prev-gcc/gnatbind"; export GNATBIND; \
261 LDFLAGS="$(POSTSTAGE1_LDFLAGS) $(BOOT_LDFLAGS)"; export LDFLAGS; \
262 HOST_LIBS="$(POSTSTAGE1_LIBS)"; export HOST_LIBS;
264 # Target libraries are put under this directory:
265 TARGET_SUBDIR = @target_subdir@
266 # This is set by the configure script to the arguments to use when configuring
267 # directories built for the target.
268 TARGET_CONFIGARGS = @target_configargs@ --with-target-subdir="$(TARGET_SUBDIR)"
269 # This is the list of variables to export in the environment when
270 # configuring subdirectories for the target system.
271 BASE_TARGET_EXPORTS = \
272 $(BASE_EXPORTS) \
273 AR="$(AR_FOR_TARGET)"; export AR; \
274 AS="$(COMPILER_AS_FOR_TARGET)"; export AS; \
275 CC="$(CC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \
276 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
277 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
278 CPPFLAGS="$(CPPFLAGS_FOR_TARGET)"; export CPPFLAGS; \
279 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
280 GCJ="$(GCJ_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GCJ; \
281 GFORTRAN="$(GFORTRAN_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GFORTRAN; \
282 GOC="$(GOC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GOC; \
283 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
284 LD="$(COMPILER_LD_FOR_TARGET)"; export LD; \
285 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
286 LIPO="$(LIPO_FOR_TARGET)"; export LIPO; \
287 NM="$(COMPILER_NM_FOR_TARGET)"; export NM; \
288 OBJDUMP="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP; \
289 OBJCOPY="$(OBJCOPY_FOR_TARGET)"; export OBJCOPY; \
290 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
291 READELF="$(READELF_FOR_TARGET)"; export READELF; \
292 STRIP="$(STRIP_FOR_TARGET)"; export STRIP; \
293 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
294 WINDMC="$(WINDMC_FOR_TARGET)"; export WINDMC; \
295 @if gcc-bootstrap
296 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
297 @endif gcc-bootstrap
298 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
299 TARGET_CONFIGDIRS="$(TARGET_CONFIGDIRS)"; export TARGET_CONFIGDIRS;
301 RAW_CXX_TARGET_EXPORTS = \
302 $(BASE_TARGET_EXPORTS) \
303 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
304 CXX="$(RAW_CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX;
306 NORMAL_TARGET_EXPORTS = \
307 $(BASE_TARGET_EXPORTS) \
308 CXX="$(CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX;
310 # Where to find GMP
311 HOST_GMPLIBS = @gmplibs@
312 HOST_GMPINC = @gmpinc@
314 # Where to find ISL
315 HOST_ISLLIBS = @isllibs@
316 HOST_ISLINC = @islinc@
318 # Where to find libelf
319 HOST_LIBELFLIBS = @libelflibs@
320 HOST_LIBELFINC = @libelfinc@
322 EXTRA_CONFIGARGS_LIBJAVA = @EXTRA_CONFIGARGS_LIBJAVA@
324 # ----------------------------------------------
325 # Programs producing files for the BUILD machine
326 # ----------------------------------------------
328 SHELL = @SHELL@
330 # pwd command to use. Allow user to override default by setting PWDCMD in
331 # the environment to account for automounters. The make variable must not
332 # be called PWDCMD, otherwise the value set here is passed to make
333 # subprocesses and overrides the setting from the user's environment.
334 # Don't use PWD since it is a common shell environment variable and we
335 # don't want to corrupt it.
336 PWD_COMMAND = $${PWDCMD-pwd}
338 # compilers to use to create programs which must be run in the build
339 # environment.
340 AR_FOR_BUILD = @AR_FOR_BUILD@
341 AS_FOR_BUILD = @AS_FOR_BUILD@
342 CC_FOR_BUILD = @CC_FOR_BUILD@
343 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
344 CXXFLAGS_FOR_BUILD = @CXXFLAGS_FOR_BUILD@
345 CXX_FOR_BUILD = @CXX_FOR_BUILD@
346 DLLTOOL_FOR_BUILD = @DLLTOOL_FOR_BUILD@
347 GCJ_FOR_BUILD = @GCJ_FOR_BUILD@
348 GFORTRAN_FOR_BUILD = @GFORTRAN_FOR_BUILD@
349 GOC_FOR_BUILD = @GOC_FOR_BUILD@
350 LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
351 LD_FOR_BUILD = @LD_FOR_BUILD@
352 NM_FOR_BUILD = @NM_FOR_BUILD@
353 RANLIB_FOR_BUILD = @RANLIB_FOR_BUILD@
354 WINDMC_FOR_BUILD = @WINDMC_FOR_BUILD@
355 WINDRES_FOR_BUILD = @WINDRES_FOR_BUILD@
357 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
358 # here so that they can be overridden by Makefile fragments.
359 BUILD_PREFIX = @BUILD_PREFIX@
360 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
362 # Flags to pass to stage2 and later makes. They are defined
363 # here so that they can be overridden by Makefile fragments.
364 BOOT_CFLAGS= -g -O2
365 BOOT_LDFLAGS=
366 BOOT_ADAFLAGS= -gnatpg
368 AWK = @AWK@
369 SED = @SED@
370 BISON = @BISON@
371 YACC = @YACC@
372 FLEX = @FLEX@
373 LEX = @LEX@
374 M4 = @M4@
375 MAKEINFO = @MAKEINFO@
376 EXPECT = @EXPECT@
377 RUNTEST = @RUNTEST@
379 # This just becomes part of the MAKEINFO definition passed down to
380 # sub-makes. It lets flags be given on the command line while still
381 # using the makeinfo from the object tree.
382 # (Default to avoid splitting info files by setting the threshold high.)
383 MAKEINFOFLAGS = --split-size=5000000
385 # ---------------------------------------------
386 # Programs producing files for the HOST machine
387 # ---------------------------------------------
389 AS = @AS@
390 AR = @AR@
391 AR_FLAGS = rc
392 CC = @CC@
393 CXX = @CXX@
394 DLLTOOL = @DLLTOOL@
395 LD = @LD@
396 LIPO = @LIPO@
397 NM = @NM@
398 OBJDUMP = @OBJDUMP@
399 RANLIB = @RANLIB@
400 READELF = @READELF@
401 STRIP = @STRIP@
402 WINDRES = @WINDRES@
403 WINDMC = @WINDMC@
405 GNATBIND = @GNATBIND@
406 GNATMAKE = @GNATMAKE@
408 CFLAGS = @CFLAGS@
409 LDFLAGS = @LDFLAGS@
410 LIBCFLAGS = $(CFLAGS)
411 CXXFLAGS = @CXXFLAGS@
412 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
413 GOCFLAGS = $(CFLAGS)
415 TFLAGS =
417 # Defaults for all stages; some are overridden below.
419 STAGE_CFLAGS = $(BOOT_CFLAGS)
420 STAGE_TFLAGS = $(TFLAGS)
421 STAGE_CONFIGURE_FLAGS=@stage2_werror_flag@
424 # Defaults for stage 1; some are overridden below.
425 STAGE1_CFLAGS = $(STAGE_CFLAGS)
426 STAGE1_CXXFLAGS = $(CXXFLAGS)
427 @if target-libstdc++-v3-bootstrap
428 # Override the above if we're bootstrapping C++.
429 STAGE1_CXXFLAGS = $(STAGE1_CFLAGS)
430 @endif target-libstdc++-v3-bootstrap
431 STAGE1_TFLAGS = $(STAGE_TFLAGS)
432 STAGE1_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
434 # Defaults for stage 2; some are overridden below.
435 STAGE2_CFLAGS = $(STAGE_CFLAGS)
436 STAGE2_CXXFLAGS = $(CXXFLAGS)
437 @if target-libstdc++-v3-bootstrap
438 # Override the above if we're bootstrapping C++.
439 STAGE2_CXXFLAGS = $(STAGE2_CFLAGS)
440 @endif target-libstdc++-v3-bootstrap
441 STAGE2_TFLAGS = $(STAGE_TFLAGS)
442 STAGE2_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
444 # Defaults for stage 3; some are overridden below.
445 STAGE3_CFLAGS = $(STAGE_CFLAGS)
446 STAGE3_CXXFLAGS = $(CXXFLAGS)
447 @if target-libstdc++-v3-bootstrap
448 # Override the above if we're bootstrapping C++.
449 STAGE3_CXXFLAGS = $(STAGE3_CFLAGS)
450 @endif target-libstdc++-v3-bootstrap
451 STAGE3_TFLAGS = $(STAGE_TFLAGS)
452 STAGE3_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
454 # Defaults for stage 4; some are overridden below.
455 STAGE4_CFLAGS = $(STAGE_CFLAGS)
456 STAGE4_CXXFLAGS = $(CXXFLAGS)
457 @if target-libstdc++-v3-bootstrap
458 # Override the above if we're bootstrapping C++.
459 STAGE4_CXXFLAGS = $(STAGE4_CFLAGS)
460 @endif target-libstdc++-v3-bootstrap
461 STAGE4_TFLAGS = $(STAGE_TFLAGS)
462 STAGE4_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
464 # Defaults for stage profile; some are overridden below.
465 STAGEprofile_CFLAGS = $(STAGE_CFLAGS)
466 STAGEprofile_CXXFLAGS = $(CXXFLAGS)
467 @if target-libstdc++-v3-bootstrap
468 # Override the above if we're bootstrapping C++.
469 STAGEprofile_CXXFLAGS = $(STAGEprofile_CFLAGS)
470 @endif target-libstdc++-v3-bootstrap
471 STAGEprofile_TFLAGS = $(STAGE_TFLAGS)
472 STAGEprofile_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
474 # Defaults for stage feedback; some are overridden below.
475 STAGEfeedback_CFLAGS = $(STAGE_CFLAGS)
476 STAGEfeedback_CXXFLAGS = $(CXXFLAGS)
477 @if target-libstdc++-v3-bootstrap
478 # Override the above if we're bootstrapping C++.
479 STAGEfeedback_CXXFLAGS = $(STAGEfeedback_CFLAGS)
480 @endif target-libstdc++-v3-bootstrap
481 STAGEfeedback_TFLAGS = $(STAGE_TFLAGS)
482 STAGEfeedback_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
485 # Only build the C compiler for stage1, because that is the only one that
486 # we can guarantee will build with the native compiler, and also it is the
487 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
488 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
489 # overrideable (for a bootstrap build stage1 also builds gcc.info).
491 STAGE1_CFLAGS = @stage1_cflags@
492 STAGE1_CHECKING = @stage1_checking@
493 STAGE1_LANGUAGES = @stage1_languages@
494 # * We force-disable intermodule optimizations, even if
495 # --enable-intermodule was passed, since the installed compiler
496 # probably can't handle them. Luckily, autoconf always respects
497 # the last argument when conflicting --enable arguments are passed.
498 # * Likewise, we force-disable coverage flags, since the installed
499 # compiler probably has never heard of them.
500 # * We also disable -Wformat, since older GCCs don't understand newer %s.
501 STAGE1_CONFIGURE_FLAGS = --disable-intermodule $(STAGE1_CHECKING) \
502 --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" \
503 --disable-build-format-warnings
505 STAGEprofile_CFLAGS = $(STAGE2_CFLAGS) -fprofile-generate
506 STAGEprofile_TFLAGS = $(STAGE2_TFLAGS)
508 STAGEfeedback_CFLAGS = $(STAGE3_CFLAGS) -fprofile-use
509 STAGEfeedback_TFLAGS = $(STAGE3_TFLAGS)
511 do-compare = @do_compare@
512 do-compare3 = $(do-compare)
514 # -----------------------------------------------
515 # Programs producing files for the TARGET machine
516 # -----------------------------------------------
518 AR_FOR_TARGET=@AR_FOR_TARGET@
519 AS_FOR_TARGET=@AS_FOR_TARGET@
520 CC_FOR_TARGET=$(STAGE_CC_WRAPPER) @CC_FOR_TARGET@
522 # If GCC_FOR_TARGET is not overriden on the command line, then this
523 # variable is passed down to the gcc Makefile, where it is used to
524 # build libgcc2.a. We define it here so that it can itself be
525 # overridden on the command line.
526 GCC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCC_FOR_TARGET@
527 CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @CXX_FOR_TARGET@
528 RAW_CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @RAW_CXX_FOR_TARGET@
529 GCJ_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCJ_FOR_TARGET@
530 GFORTRAN_FOR_TARGET=$(STAGE_CC_WRAPPER) @GFORTRAN_FOR_TARGET@
531 GOC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GOC_FOR_TARGET@
532 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
533 LD_FOR_TARGET=@LD_FOR_TARGET@
535 LIPO_FOR_TARGET=@LIPO_FOR_TARGET@
536 NM_FOR_TARGET=@NM_FOR_TARGET@
537 OBJDUMP_FOR_TARGET=@OBJDUMP_FOR_TARGET@
538 OBJCOPY_FOR_TARGET=@OBJCOPY_FOR_TARGET@
539 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
540 READELF_FOR_TARGET=@READELF_FOR_TARGET@
541 STRIP_FOR_TARGET=@STRIP_FOR_TARGET@
542 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
543 WINDMC_FOR_TARGET=@WINDMC_FOR_TARGET@
545 COMPILER_AS_FOR_TARGET=@COMPILER_AS_FOR_TARGET@
546 COMPILER_LD_FOR_TARGET=@COMPILER_LD_FOR_TARGET@
547 COMPILER_NM_FOR_TARGET=@COMPILER_NM_FOR_TARGET@
549 CFLAGS_FOR_TARGET = @CFLAGS_FOR_TARGET@
550 CXXFLAGS_FOR_TARGET = @CXXFLAGS_FOR_TARGET@
552 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
553 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
554 LDFLAGS_FOR_TARGET = @LDFLAGS_FOR_TARGET@
555 GOCFLAGS_FOR_TARGET = -O2 -g
557 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
558 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
559 DEBUG_PREFIX_CFLAGS_FOR_TARGET = @DEBUG_PREFIX_CFLAGS_FOR_TARGET@
561 XGCC_FLAGS_FOR_TARGET = $(FLAGS_FOR_TARGET) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)
563 # ------------------------------------
564 # Miscellaneous targets and flag lists
565 # ------------------------------------
567 # The first rule in the file had better be this one. Don't put any above it.
568 # This lives here to allow makefile fragments to contain dependencies.
569 all:
571 #### host and target specific makefile fragments come in here.
572 @target_makefile_frag@
573 @alphaieee_frag@
574 @ospace_frag@
575 @host_makefile_frag@
578 # This is the list of directories that may be needed in RPATH_ENVVAR
579 # so that programs built for the target machine work.
580 TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libsanitizer)$(TARGET_LIB_PATH_libvtv)$(TARGET_LIB_PATH_libcilkrts)$(TARGET_LIB_PATH_liboffloadmic)$(TARGET_LIB_PATH_libssp)$(TARGET_LIB_PATH_libgomp)$(TARGET_LIB_PATH_libitm)$(TARGET_LIB_PATH_libatomic)$(HOST_LIB_PATH_gcc)
582 @if target-libstdc++-v3
583 TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs:
584 @endif target-libstdc++-v3
586 @if target-libsanitizer
587 TARGET_LIB_PATH_libsanitizer = $$r/$(TARGET_SUBDIR)/libsanitizer/.libs:
588 @endif target-libsanitizer
590 @if target-libvtv
591 TARGET_LIB_PATH_libvtv = $$r/$(TARGET_SUBDIR)/libvtv/.libs:
592 @endif target-libvtv
594 @if target-libcilkrts
595 TARGET_LIB_PATH_libcilkrts = $$r/$(TARGET_SUBDIR)/libcilkrts/.libs:
596 @endif target-libcilkrts
598 @if target-liboffloadmic
599 TARGET_LIB_PATH_liboffloadmic = $$r/$(TARGET_SUBDIR)/liboffloadmic/.libs:
600 @endif target-liboffloadmic
602 @if target-libssp
603 TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
604 @endif target-libssp
606 @if target-libgomp
607 TARGET_LIB_PATH_libgomp = $$r/$(TARGET_SUBDIR)/libgomp/.libs:
608 @endif target-libgomp
610 @if target-libitm
611 TARGET_LIB_PATH_libitm = $$r/$(TARGET_SUBDIR)/libitm/.libs:
612 @endif target-libitm
614 @if target-libatomic
615 TARGET_LIB_PATH_libatomic = $$r/$(TARGET_SUBDIR)/libatomic/.libs:
616 @endif target-libatomic
620 # This is the list of directories that may be needed in RPATH_ENVVAR
621 # so that programs built for the host machine work.
622 HOST_LIB_PATH = $(HOST_LIB_PATH_gmp)$(HOST_LIB_PATH_mpfr)$(HOST_LIB_PATH_mpc)$(HOST_LIB_PATH_isl)$(HOST_LIB_PATH_libelf)
624 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
625 @if gcc
626 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc$(GCC_SHLIB_SUBDIR):$$r/$(HOST_SUBDIR)/prev-gcc$(GCC_SHLIB_SUBDIR):
627 @endif gcc
630 @if gmp
631 HOST_LIB_PATH_gmp = \
632 $$r/$(HOST_SUBDIR)/gmp/.libs:$$r/$(HOST_SUBDIR)/prev-gmp/.libs:
633 @endif gmp
635 @if mpfr
636 HOST_LIB_PATH_mpfr = \
637 $$r/$(HOST_SUBDIR)/mpfr/.libs:$$r/$(HOST_SUBDIR)/prev-mpfr/.libs:
638 @endif mpfr
640 @if mpc
641 HOST_LIB_PATH_mpc = \
642 $$r/$(HOST_SUBDIR)/mpc/.libs:$$r/$(HOST_SUBDIR)/prev-mpc/.libs:
643 @endif mpc
645 @if isl
646 HOST_LIB_PATH_isl = \
647 $$r/$(HOST_SUBDIR)/isl/.libs:$$r/$(HOST_SUBDIR)/prev-isl/.libs:
648 @endif isl
650 @if libelf
651 HOST_LIB_PATH_libelf = \
652 $$r/$(HOST_SUBDIR)/libelf/.libs:$$r/$(HOST_SUBDIR)/prev-libelf/.libs:
653 @endif libelf
656 CXX_FOR_TARGET_FLAG_TO_PASS = \
657 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)"
658 @if target-libstdc++-v3
659 # CXX_FOR_TARGET is tricky to get right for target libs that require a
660 # functional C++ compiler. When we recurse, if we expand
661 # CXX_FOR_TARGET before configuring libstdc++-v3, we won't get
662 # libstdc++ include flags from the script. Instead, we get an
663 # -funconfigured-* word, so that we'll get errors if this invalid C++
664 # command line is used for anything, but also so that we can use the
665 # word to decide whether or not to pass on this CXX_FOR_TARGET. If we
666 # don't pass it on, sub-make will use the default definition, that
667 # re-expands it at the time of use, so we'll get it right when we need
668 # it. One potential exception is the expansion of CXX_FOR_TARGET
669 # passed down as part of CXX within TARGET_FLAGS, but this wouldn't
670 # really work, for C++ host programs can't depend on the current-stage
671 # C++ target library.
672 CXX_FOR_TARGET_FLAG_TO_PASS = \
673 $(shell if echo "$(CXX_FOR_TARGET)" | grep " -funconfigured-" > /dev/null; then :; else echo '"CXX_FOR_TARGET=$(CXX_FOR_TARGET)"'; fi)
674 @endif target-libstdc++-v3
676 # Flags to pass down to all sub-makes.
677 BASE_FLAGS_TO_PASS = \
678 "DESTDIR=$(DESTDIR)" \
679 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
680 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
681 "bindir=$(bindir)" \
682 "datadir=$(datadir)" \
683 "exec_prefix=$(exec_prefix)" \
684 "includedir=$(includedir)" \
685 "datarootdir=$(datarootdir)" \
686 "docdir=$(docdir)" \
687 "infodir=$(infodir)" \
688 "pdfdir=$(pdfdir)" \
689 "htmldir=$(htmldir)" \
690 "libdir=$(libdir)" \
691 "libexecdir=$(libexecdir)" \
692 "lispdir=$(lispdir)" \
693 "localstatedir=$(localstatedir)" \
694 "mandir=$(mandir)" \
695 "oldincludedir=$(oldincludedir)" \
696 "prefix=$(prefix)" \
697 "sbindir=$(sbindir)" \
698 "sharedstatedir=$(sharedstatedir)" \
699 "sysconfdir=$(sysconfdir)" \
700 "tooldir=$(tooldir)" \
701 "build_tooldir=$(build_tooldir)" \
702 "target_alias=$(target_alias)" \
703 "AWK=$(AWK)" \
704 "BISON=$(BISON)" \
705 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
706 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
707 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
708 "EXPECT=$(EXPECT)" \
709 "FLEX=$(FLEX)" \
710 "INSTALL=$(INSTALL)" \
711 "INSTALL_DATA=$(INSTALL_DATA)" \
712 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
713 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
714 "LDFLAGS_FOR_BUILD=$(LDFLAGS_FOR_BUILD)" \
715 "LEX=$(LEX)" \
716 "M4=$(M4)" \
717 "MAKE=$(MAKE)" \
718 "RUNTEST=$(RUNTEST)" \
719 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
720 "SED=$(SED)" \
721 "SHELL=$(SHELL)" \
722 "YACC=$(YACC)" \
723 "`echo 'ADAFLAGS=$(ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
724 "ADA_CFLAGS=$(ADA_CFLAGS)" \
725 "AR_FLAGS=$(AR_FLAGS)" \
726 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
727 "BOOT_CFLAGS=$(BOOT_CFLAGS)" \
728 "BOOT_LDFLAGS=$(BOOT_LDFLAGS)" \
729 "CFLAGS=$(CFLAGS)" \
730 "CXXFLAGS=$(CXXFLAGS)" \
731 "LDFLAGS=$(LDFLAGS)" \
732 "LIBCFLAGS=$(LIBCFLAGS)" \
733 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
734 "STAGE1_CHECKING=$(STAGE1_CHECKING)" \
735 "STAGE1_LANGUAGES=$(STAGE1_LANGUAGES)" \
736 "GNATBIND=$(GNATBIND)" \
737 "GNATMAKE=$(GNATMAKE)" \
738 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
739 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
740 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
741 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
742 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
743 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
744 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
745 "FLAGS_FOR_TARGET=$(FLAGS_FOR_TARGET)" \
746 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
747 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
748 "GOC_FOR_TARGET=$(GOC_FOR_TARGET)" \
749 "GOCFLAGS_FOR_TARGET=$(GOCFLAGS_FOR_TARGET)" \
750 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
751 "LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \
752 "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \
753 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
754 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
755 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
756 "OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \
757 "OBJCOPY_FOR_TARGET=$(OBJCOPY_FOR_TARGET)" \
758 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
759 "READELF_FOR_TARGET=$(READELF_FOR_TARGET)" \
760 "STRIP_FOR_TARGET=$(STRIP_FOR_TARGET)" \
761 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
762 "WINDMC_FOR_TARGET=$(WINDMC_FOR_TARGET)" \
763 "BUILD_CONFIG=$(BUILD_CONFIG)" \
764 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
765 "LEAN=$(LEAN)" \
766 "STAGE1_CFLAGS=$(STAGE1_CFLAGS)" \
767 "STAGE1_CXXFLAGS=$(STAGE1_CXXFLAGS)" \
768 "STAGE1_TFLAGS=$(STAGE1_TFLAGS)" \
769 "STAGE2_CFLAGS=$(STAGE2_CFLAGS)" \
770 "STAGE2_CXXFLAGS=$(STAGE2_CXXFLAGS)" \
771 "STAGE2_TFLAGS=$(STAGE2_TFLAGS)" \
772 "STAGE3_CFLAGS=$(STAGE3_CFLAGS)" \
773 "STAGE3_CXXFLAGS=$(STAGE3_CXXFLAGS)" \
774 "STAGE3_TFLAGS=$(STAGE3_TFLAGS)" \
775 "STAGE4_CFLAGS=$(STAGE4_CFLAGS)" \
776 "STAGE4_CXXFLAGS=$(STAGE4_CXXFLAGS)" \
777 "STAGE4_TFLAGS=$(STAGE4_TFLAGS)" \
778 "STAGEprofile_CFLAGS=$(STAGEprofile_CFLAGS)" \
779 "STAGEprofile_CXXFLAGS=$(STAGEprofile_CXXFLAGS)" \
780 "STAGEprofile_TFLAGS=$(STAGEprofile_TFLAGS)" \
781 "STAGEfeedback_CFLAGS=$(STAGEfeedback_CFLAGS)" \
782 "STAGEfeedback_CXXFLAGS=$(STAGEfeedback_CXXFLAGS)" \
783 "STAGEfeedback_TFLAGS=$(STAGEfeedback_TFLAGS)" \
784 $(CXX_FOR_TARGET_FLAG_TO_PASS) \
785 "TFLAGS=$(TFLAGS)" \
786 "CONFIG_SHELL=$(SHELL)" \
787 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
789 # We leave this in just in case, but it is not needed anymore.
790 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS)
792 # Flags to pass down to most sub-makes, in which we're building with
793 # the host environment.
794 EXTRA_HOST_FLAGS = \
795 'AR=$(AR)' \
796 'AS=$(AS)' \
797 'CC=$(CC)' \
798 'CXX=$(CXX)' \
799 'DLLTOOL=$(DLLTOOL)' \
800 'GCJ=$(GCJ)' \
801 'GFORTRAN=$(GFORTRAN)' \
802 'GOC=$(GOC)' \
803 'LD=$(LD)' \
804 'LIPO=$(LIPO)' \
805 'NM=$(NM)' \
806 'OBJDUMP=$(OBJDUMP)' \
807 'RANLIB=$(RANLIB)' \
808 'READELF=$(READELF)' \
809 'STRIP=$(STRIP)' \
810 'WINDRES=$(WINDRES)' \
811 'WINDMC=$(WINDMC)'
813 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
815 # Flags to pass to stage1 or when not bootstrapping.
817 STAGE1_FLAGS_TO_PASS = \
818 LDFLAGS="$${LDFLAGS}" \
819 HOST_LIBS="$${HOST_LIBS}"
821 # Flags to pass to stage2 and later makes.
823 POSTSTAGE1_FLAGS_TO_PASS = \
824 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
825 CXX="$${CXX}" CXX_FOR_BUILD="$${CXX_FOR_BUILD}" \
826 GNATBIND="$${GNATBIND}" \
827 LDFLAGS="$${LDFLAGS}" \
828 HOST_LIBS="$${HOST_LIBS}" \
829 $(LTO_FLAGS_TO_PASS) \
830 "`echo 'ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
832 # Flags to pass down to makes which are built with the target environment.
833 # The double $ decreases the length of the command line; those variables
834 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them. The
835 # *_CFLAGS_FOR_TARGET variables are not passed down and most often empty,
836 # so we expand them here.
837 EXTRA_TARGET_FLAGS = \
838 'AR=$$(AR_FOR_TARGET)' \
839 'AS=$(COMPILER_AS_FOR_TARGET)' \
840 'CC=$$(CC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
841 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
842 'CXX=$$(CXX_FOR_TARGET) -B$$r/$$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
843 -B$$r/$$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs \
844 $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
845 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
846 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
847 'GCJ=$$(GCJ_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
848 'GFORTRAN=$$(GFORTRAN_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
849 'GOC=$$(GOC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
850 'GOCFLAGS=$$(GOCFLAGS_FOR_TARGET)' \
851 'LD=$(COMPILER_LD_FOR_TARGET)' \
852 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
853 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
854 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
855 'NM=$(COMPILER_NM_FOR_TARGET)' \
856 'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \
857 'OBJCOPY=$$(OBJCOPY_FOR_TARGET)' \
858 'RANLIB=$$(RANLIB_FOR_TARGET)' \
859 'READELF=$$(READELF_FOR_TARGET)' \
860 'WINDRES=$$(WINDRES_FOR_TARGET)' \
861 'WINDMC=$$(WINDMC_FOR_TARGET)' \
862 'XGCC_FLAGS_FOR_TARGET=$(XGCC_FLAGS_FOR_TARGET)' \
863 'STAGE1_LDFLAGS=$$(POSTSTAGE1_LDFLAGS)' \
864 'STAGE1_LIBS=$$(POSTSTAGE1_LIBS)' \
865 "TFLAGS=$$TFLAGS"
867 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
869 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
870 # unfortunately needs the native compiler and the target ar and
871 # ranlib.
872 # If any variables are added here, they must be added to do-*, below.
873 # The BUILD_* variables are a special case, which are used for the gcc
874 # cross-building scheme.
875 EXTRA_GCC_FLAGS = \
876 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
877 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
878 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
880 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
882 @if gcc
883 BUILD_CONFIG = @BUILD_CONFIG@
884 ifneq ($(BUILD_CONFIG),)
885 include $(foreach CONFIG, $(BUILD_CONFIG), $(srcdir)/config/$(CONFIG).mk)
886 endif
887 @endif gcc
889 .PHONY: configure-host
890 configure-host: \
891 maybe-configure-bfd \
892 maybe-configure-opcodes \
893 maybe-configure-binutils \
894 maybe-configure-bison \
895 maybe-configure-cgen \
896 maybe-configure-dejagnu \
897 maybe-configure-etc \
898 maybe-configure-fastjar \
899 maybe-configure-fixincludes \
900 maybe-configure-flex \
901 maybe-configure-gas \
902 maybe-configure-gcc \
903 maybe-configure-gmp \
904 maybe-configure-mpfr \
905 maybe-configure-mpc \
906 maybe-configure-isl \
907 maybe-configure-libelf \
908 maybe-configure-gold \
909 maybe-configure-gprof \
910 maybe-configure-intl \
911 maybe-configure-tcl \
912 maybe-configure-itcl \
913 maybe-configure-ld \
914 maybe-configure-libbacktrace \
915 maybe-configure-libcpp \
916 maybe-configure-libdecnumber \
917 maybe-configure-libgui \
918 maybe-configure-libiberty \
919 maybe-configure-libiberty-linker-plugin \
920 maybe-configure-libiconv \
921 maybe-configure-m4 \
922 maybe-configure-readline \
923 maybe-configure-sid \
924 maybe-configure-sim \
925 maybe-configure-texinfo \
926 maybe-configure-zlib \
927 maybe-configure-gdb \
928 maybe-configure-expect \
929 maybe-configure-guile \
930 maybe-configure-tk \
931 maybe-configure-libtermcap \
932 maybe-configure-utils \
933 maybe-configure-gnattools \
934 maybe-configure-lto-plugin \
935 maybe-configure-libcc1 \
936 maybe-configure-gotools
937 .PHONY: configure-target
938 configure-target: \
939 maybe-configure-target-libstdc++-v3 \
940 maybe-configure-target-libsanitizer \
941 maybe-configure-target-libvtv \
942 maybe-configure-target-libcilkrts \
943 maybe-configure-target-liboffloadmic \
944 maybe-configure-target-libssp \
945 maybe-configure-target-newlib \
946 maybe-configure-target-libgcc \
947 maybe-configure-target-libbacktrace \
948 maybe-configure-target-libquadmath \
949 maybe-configure-target-libgfortran \
950 maybe-configure-target-libobjc \
951 maybe-configure-target-libgo \
952 maybe-configure-target-libtermcap \
953 maybe-configure-target-winsup \
954 maybe-configure-target-libgloss \
955 maybe-configure-target-libffi \
956 maybe-configure-target-libjava \
957 maybe-configure-target-zlib \
958 maybe-configure-target-boehm-gc \
959 maybe-configure-target-rda \
960 maybe-configure-target-libada \
961 maybe-configure-target-libgomp \
962 maybe-configure-target-libitm \
963 maybe-configure-target-libatomic
965 # The target built for a native non-bootstrap build.
966 .PHONY: all
967 all:
968 @if gcc-bootstrap
969 [ -f stage_final ] || echo stage3 > stage_final
970 @r=`${PWD_COMMAND}`; export r; \
971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
972 $(MAKE) $(RECURSE_FLAGS_TO_PASS) `cat stage_final`-bubble
973 @endif gcc-bootstrap
974 @: $(MAKE); $(unstage)
975 @r=`${PWD_COMMAND}`; export r; \
976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
977 @if gcc-bootstrap
978 if [ -f stage_last ]; then \
979 TFLAGS="$(STAGE$(shell test ! -f stage_last || sed s,^stage,, stage_last)_TFLAGS)"; \
980 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \
981 else \
982 @endif gcc-bootstrap
983 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target \
984 @if gcc-bootstrap
986 fi \
987 @endif gcc-bootstrap
988 && :
990 .PHONY: all-build
992 all-build: maybe-all-build-libiberty
993 all-build: maybe-all-build-bison
994 all-build: maybe-all-build-flex
995 all-build: maybe-all-build-m4
996 all-build: maybe-all-build-texinfo
997 all-build: maybe-all-build-fixincludes
998 all-build: maybe-all-build-libcpp
1000 .PHONY: all-host
1002 @if bfd-no-bootstrap
1003 all-host: maybe-all-bfd
1004 @endif bfd-no-bootstrap
1005 @if opcodes-no-bootstrap
1006 all-host: maybe-all-opcodes
1007 @endif opcodes-no-bootstrap
1008 @if binutils-no-bootstrap
1009 all-host: maybe-all-binutils
1010 @endif binutils-no-bootstrap
1011 all-host: maybe-all-bison
1012 all-host: maybe-all-cgen
1013 all-host: maybe-all-dejagnu
1014 all-host: maybe-all-etc
1015 all-host: maybe-all-fastjar
1016 @if fixincludes-no-bootstrap
1017 all-host: maybe-all-fixincludes
1018 @endif fixincludes-no-bootstrap
1019 all-host: maybe-all-flex
1020 @if gas-no-bootstrap
1021 all-host: maybe-all-gas
1022 @endif gas-no-bootstrap
1023 @if gcc-no-bootstrap
1024 all-host: maybe-all-gcc
1025 @endif gcc-no-bootstrap
1026 @if gmp-no-bootstrap
1027 all-host: maybe-all-gmp
1028 @endif gmp-no-bootstrap
1029 @if mpfr-no-bootstrap
1030 all-host: maybe-all-mpfr
1031 @endif mpfr-no-bootstrap
1032 @if mpc-no-bootstrap
1033 all-host: maybe-all-mpc
1034 @endif mpc-no-bootstrap
1035 @if isl-no-bootstrap
1036 all-host: maybe-all-isl
1037 @endif isl-no-bootstrap
1038 @if libelf-no-bootstrap
1039 all-host: maybe-all-libelf
1040 @endif libelf-no-bootstrap
1041 @if gold-no-bootstrap
1042 all-host: maybe-all-gold
1043 @endif gold-no-bootstrap
1044 all-host: maybe-all-gprof
1045 @if intl-no-bootstrap
1046 all-host: maybe-all-intl
1047 @endif intl-no-bootstrap
1048 all-host: maybe-all-tcl
1049 all-host: maybe-all-itcl
1050 @if ld-no-bootstrap
1051 all-host: maybe-all-ld
1052 @endif ld-no-bootstrap
1053 @if libbacktrace-no-bootstrap
1054 all-host: maybe-all-libbacktrace
1055 @endif libbacktrace-no-bootstrap
1056 @if libcpp-no-bootstrap
1057 all-host: maybe-all-libcpp
1058 @endif libcpp-no-bootstrap
1059 @if libdecnumber-no-bootstrap
1060 all-host: maybe-all-libdecnumber
1061 @endif libdecnumber-no-bootstrap
1062 all-host: maybe-all-libgui
1063 @if libiberty-no-bootstrap
1064 all-host: maybe-all-libiberty
1065 @endif libiberty-no-bootstrap
1066 @if libiberty-linker-plugin-no-bootstrap
1067 all-host: maybe-all-libiberty-linker-plugin
1068 @endif libiberty-linker-plugin-no-bootstrap
1069 all-host: maybe-all-libiconv
1070 all-host: maybe-all-m4
1071 all-host: maybe-all-readline
1072 all-host: maybe-all-sid
1073 all-host: maybe-all-sim
1074 all-host: maybe-all-texinfo
1075 @if zlib-no-bootstrap
1076 all-host: maybe-all-zlib
1077 @endif zlib-no-bootstrap
1078 all-host: maybe-all-gdb
1079 all-host: maybe-all-expect
1080 all-host: maybe-all-guile
1081 all-host: maybe-all-tk
1082 all-host: maybe-all-libtermcap
1083 all-host: maybe-all-utils
1084 all-host: maybe-all-gnattools
1085 @if lto-plugin-no-bootstrap
1086 all-host: maybe-all-lto-plugin
1087 @endif lto-plugin-no-bootstrap
1088 all-host: maybe-all-libcc1
1089 all-host: maybe-all-gotools
1091 .PHONY: all-target
1093 @if target-libstdc++-v3-no-bootstrap
1094 all-target: maybe-all-target-libstdc++-v3
1095 @endif target-libstdc++-v3-no-bootstrap
1096 @if target-libsanitizer-no-bootstrap
1097 all-target: maybe-all-target-libsanitizer
1098 @endif target-libsanitizer-no-bootstrap
1099 @if target-libvtv-no-bootstrap
1100 all-target: maybe-all-target-libvtv
1101 @endif target-libvtv-no-bootstrap
1102 all-target: maybe-all-target-libcilkrts
1103 all-target: maybe-all-target-liboffloadmic
1104 all-target: maybe-all-target-libssp
1105 all-target: maybe-all-target-newlib
1106 @if target-libgcc-no-bootstrap
1107 all-target: maybe-all-target-libgcc
1108 @endif target-libgcc-no-bootstrap
1109 all-target: maybe-all-target-libbacktrace
1110 all-target: maybe-all-target-libquadmath
1111 all-target: maybe-all-target-libgfortran
1112 all-target: maybe-all-target-libobjc
1113 all-target: maybe-all-target-libgo
1114 all-target: maybe-all-target-libtermcap
1115 all-target: maybe-all-target-winsup
1116 all-target: maybe-all-target-libgloss
1117 all-target: maybe-all-target-libffi
1118 all-target: maybe-all-target-libjava
1119 all-target: maybe-all-target-zlib
1120 all-target: maybe-all-target-boehm-gc
1121 all-target: maybe-all-target-rda
1122 all-target: maybe-all-target-libada
1123 @if target-libgomp-no-bootstrap
1124 all-target: maybe-all-target-libgomp
1125 @endif target-libgomp-no-bootstrap
1126 all-target: maybe-all-target-libitm
1127 all-target: maybe-all-target-libatomic
1129 # Do a target for all the subdirectories. A ``make do-X'' will do a
1130 # ``make X'' in all subdirectories (because, in general, there is a
1131 # dependency (below) of X upon do-X, a ``make X'' will also do this,
1132 # but it may do additional work as well).
1134 .PHONY: do-info
1135 do-info:
1136 @: $(MAKE); $(unstage)
1137 @r=`${PWD_COMMAND}`; export r; \
1138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1139 $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
1140 info-target
1143 .PHONY: info-host
1145 info-host: maybe-info-bfd
1146 info-host: maybe-info-opcodes
1147 info-host: maybe-info-binutils
1148 info-host: maybe-info-bison
1149 info-host: maybe-info-cgen
1150 info-host: maybe-info-dejagnu
1151 info-host: maybe-info-etc
1152 info-host: maybe-info-fastjar
1153 info-host: maybe-info-fixincludes
1154 info-host: maybe-info-flex
1155 info-host: maybe-info-gas
1156 info-host: maybe-info-gcc
1157 info-host: maybe-info-gmp
1158 info-host: maybe-info-mpfr
1159 info-host: maybe-info-mpc
1160 info-host: maybe-info-isl
1161 info-host: maybe-info-libelf
1162 info-host: maybe-info-gold
1163 info-host: maybe-info-gprof
1164 info-host: maybe-info-intl
1165 info-host: maybe-info-tcl
1166 info-host: maybe-info-itcl
1167 info-host: maybe-info-ld
1168 info-host: maybe-info-libbacktrace
1169 info-host: maybe-info-libcpp
1170 info-host: maybe-info-libdecnumber
1171 info-host: maybe-info-libgui
1172 info-host: maybe-info-libiberty
1173 info-host: maybe-info-libiberty-linker-plugin
1174 info-host: maybe-info-libiconv
1175 info-host: maybe-info-m4
1176 info-host: maybe-info-readline
1177 info-host: maybe-info-sid
1178 info-host: maybe-info-sim
1179 info-host: maybe-info-texinfo
1180 info-host: maybe-info-zlib
1181 info-host: maybe-info-gdb
1182 info-host: maybe-info-expect
1183 info-host: maybe-info-guile
1184 info-host: maybe-info-tk
1185 info-host: maybe-info-libtermcap
1186 info-host: maybe-info-utils
1187 info-host: maybe-info-gnattools
1188 info-host: maybe-info-lto-plugin
1189 info-host: maybe-info-libcc1
1190 info-host: maybe-info-gotools
1192 .PHONY: info-target
1194 info-target: maybe-info-target-libstdc++-v3
1195 info-target: maybe-info-target-libsanitizer
1196 info-target: maybe-info-target-libvtv
1197 info-target: maybe-info-target-libcilkrts
1198 info-target: maybe-info-target-liboffloadmic
1199 info-target: maybe-info-target-libssp
1200 info-target: maybe-info-target-newlib
1201 info-target: maybe-info-target-libgcc
1202 info-target: maybe-info-target-libbacktrace
1203 info-target: maybe-info-target-libquadmath
1204 info-target: maybe-info-target-libgfortran
1205 info-target: maybe-info-target-libobjc
1206 info-target: maybe-info-target-libgo
1207 info-target: maybe-info-target-libtermcap
1208 info-target: maybe-info-target-winsup
1209 info-target: maybe-info-target-libgloss
1210 info-target: maybe-info-target-libffi
1211 info-target: maybe-info-target-libjava
1212 info-target: maybe-info-target-zlib
1213 info-target: maybe-info-target-boehm-gc
1214 info-target: maybe-info-target-rda
1215 info-target: maybe-info-target-libada
1216 info-target: maybe-info-target-libgomp
1217 info-target: maybe-info-target-libitm
1218 info-target: maybe-info-target-libatomic
1220 .PHONY: do-dvi
1221 do-dvi:
1222 @: $(MAKE); $(unstage)
1223 @r=`${PWD_COMMAND}`; export r; \
1224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1225 $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
1226 dvi-target
1229 .PHONY: dvi-host
1231 dvi-host: maybe-dvi-bfd
1232 dvi-host: maybe-dvi-opcodes
1233 dvi-host: maybe-dvi-binutils
1234 dvi-host: maybe-dvi-bison
1235 dvi-host: maybe-dvi-cgen
1236 dvi-host: maybe-dvi-dejagnu
1237 dvi-host: maybe-dvi-etc
1238 dvi-host: maybe-dvi-fastjar
1239 dvi-host: maybe-dvi-fixincludes
1240 dvi-host: maybe-dvi-flex
1241 dvi-host: maybe-dvi-gas
1242 dvi-host: maybe-dvi-gcc
1243 dvi-host: maybe-dvi-gmp
1244 dvi-host: maybe-dvi-mpfr
1245 dvi-host: maybe-dvi-mpc
1246 dvi-host: maybe-dvi-isl
1247 dvi-host: maybe-dvi-libelf
1248 dvi-host: maybe-dvi-gold
1249 dvi-host: maybe-dvi-gprof
1250 dvi-host: maybe-dvi-intl
1251 dvi-host: maybe-dvi-tcl
1252 dvi-host: maybe-dvi-itcl
1253 dvi-host: maybe-dvi-ld
1254 dvi-host: maybe-dvi-libbacktrace
1255 dvi-host: maybe-dvi-libcpp
1256 dvi-host: maybe-dvi-libdecnumber
1257 dvi-host: maybe-dvi-libgui
1258 dvi-host: maybe-dvi-libiberty
1259 dvi-host: maybe-dvi-libiberty-linker-plugin
1260 dvi-host: maybe-dvi-libiconv
1261 dvi-host: maybe-dvi-m4
1262 dvi-host: maybe-dvi-readline
1263 dvi-host: maybe-dvi-sid
1264 dvi-host: maybe-dvi-sim
1265 dvi-host: maybe-dvi-texinfo
1266 dvi-host: maybe-dvi-zlib
1267 dvi-host: maybe-dvi-gdb
1268 dvi-host: maybe-dvi-expect
1269 dvi-host: maybe-dvi-guile
1270 dvi-host: maybe-dvi-tk
1271 dvi-host: maybe-dvi-libtermcap
1272 dvi-host: maybe-dvi-utils
1273 dvi-host: maybe-dvi-gnattools
1274 dvi-host: maybe-dvi-lto-plugin
1275 dvi-host: maybe-dvi-libcc1
1276 dvi-host: maybe-dvi-gotools
1278 .PHONY: dvi-target
1280 dvi-target: maybe-dvi-target-libstdc++-v3
1281 dvi-target: maybe-dvi-target-libsanitizer
1282 dvi-target: maybe-dvi-target-libvtv
1283 dvi-target: maybe-dvi-target-libcilkrts
1284 dvi-target: maybe-dvi-target-liboffloadmic
1285 dvi-target: maybe-dvi-target-libssp
1286 dvi-target: maybe-dvi-target-newlib
1287 dvi-target: maybe-dvi-target-libgcc
1288 dvi-target: maybe-dvi-target-libbacktrace
1289 dvi-target: maybe-dvi-target-libquadmath
1290 dvi-target: maybe-dvi-target-libgfortran
1291 dvi-target: maybe-dvi-target-libobjc
1292 dvi-target: maybe-dvi-target-libgo
1293 dvi-target: maybe-dvi-target-libtermcap
1294 dvi-target: maybe-dvi-target-winsup
1295 dvi-target: maybe-dvi-target-libgloss
1296 dvi-target: maybe-dvi-target-libffi
1297 dvi-target: maybe-dvi-target-libjava
1298 dvi-target: maybe-dvi-target-zlib
1299 dvi-target: maybe-dvi-target-boehm-gc
1300 dvi-target: maybe-dvi-target-rda
1301 dvi-target: maybe-dvi-target-libada
1302 dvi-target: maybe-dvi-target-libgomp
1303 dvi-target: maybe-dvi-target-libitm
1304 dvi-target: maybe-dvi-target-libatomic
1306 .PHONY: do-pdf
1307 do-pdf:
1308 @: $(MAKE); $(unstage)
1309 @r=`${PWD_COMMAND}`; export r; \
1310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1311 $(MAKE) $(RECURSE_FLAGS_TO_PASS) pdf-host \
1312 pdf-target
1315 .PHONY: pdf-host
1317 pdf-host: maybe-pdf-bfd
1318 pdf-host: maybe-pdf-opcodes
1319 pdf-host: maybe-pdf-binutils
1320 pdf-host: maybe-pdf-bison
1321 pdf-host: maybe-pdf-cgen
1322 pdf-host: maybe-pdf-dejagnu
1323 pdf-host: maybe-pdf-etc
1324 pdf-host: maybe-pdf-fastjar
1325 pdf-host: maybe-pdf-fixincludes
1326 pdf-host: maybe-pdf-flex
1327 pdf-host: maybe-pdf-gas
1328 pdf-host: maybe-pdf-gcc
1329 pdf-host: maybe-pdf-gmp
1330 pdf-host: maybe-pdf-mpfr
1331 pdf-host: maybe-pdf-mpc
1332 pdf-host: maybe-pdf-isl
1333 pdf-host: maybe-pdf-libelf
1334 pdf-host: maybe-pdf-gold
1335 pdf-host: maybe-pdf-gprof
1336 pdf-host: maybe-pdf-intl
1337 pdf-host: maybe-pdf-tcl
1338 pdf-host: maybe-pdf-itcl
1339 pdf-host: maybe-pdf-ld
1340 pdf-host: maybe-pdf-libbacktrace
1341 pdf-host: maybe-pdf-libcpp
1342 pdf-host: maybe-pdf-libdecnumber
1343 pdf-host: maybe-pdf-libgui
1344 pdf-host: maybe-pdf-libiberty
1345 pdf-host: maybe-pdf-libiberty-linker-plugin
1346 pdf-host: maybe-pdf-libiconv
1347 pdf-host: maybe-pdf-m4
1348 pdf-host: maybe-pdf-readline
1349 pdf-host: maybe-pdf-sid
1350 pdf-host: maybe-pdf-sim
1351 pdf-host: maybe-pdf-texinfo
1352 pdf-host: maybe-pdf-zlib
1353 pdf-host: maybe-pdf-gdb
1354 pdf-host: maybe-pdf-expect
1355 pdf-host: maybe-pdf-guile
1356 pdf-host: maybe-pdf-tk
1357 pdf-host: maybe-pdf-libtermcap
1358 pdf-host: maybe-pdf-utils
1359 pdf-host: maybe-pdf-gnattools
1360 pdf-host: maybe-pdf-lto-plugin
1361 pdf-host: maybe-pdf-libcc1
1362 pdf-host: maybe-pdf-gotools
1364 .PHONY: pdf-target
1366 pdf-target: maybe-pdf-target-libstdc++-v3
1367 pdf-target: maybe-pdf-target-libsanitizer
1368 pdf-target: maybe-pdf-target-libvtv
1369 pdf-target: maybe-pdf-target-libcilkrts
1370 pdf-target: maybe-pdf-target-liboffloadmic
1371 pdf-target: maybe-pdf-target-libssp
1372 pdf-target: maybe-pdf-target-newlib
1373 pdf-target: maybe-pdf-target-libgcc
1374 pdf-target: maybe-pdf-target-libbacktrace
1375 pdf-target: maybe-pdf-target-libquadmath
1376 pdf-target: maybe-pdf-target-libgfortran
1377 pdf-target: maybe-pdf-target-libobjc
1378 pdf-target: maybe-pdf-target-libgo
1379 pdf-target: maybe-pdf-target-libtermcap
1380 pdf-target: maybe-pdf-target-winsup
1381 pdf-target: maybe-pdf-target-libgloss
1382 pdf-target: maybe-pdf-target-libffi
1383 pdf-target: maybe-pdf-target-libjava
1384 pdf-target: maybe-pdf-target-zlib
1385 pdf-target: maybe-pdf-target-boehm-gc
1386 pdf-target: maybe-pdf-target-rda
1387 pdf-target: maybe-pdf-target-libada
1388 pdf-target: maybe-pdf-target-libgomp
1389 pdf-target: maybe-pdf-target-libitm
1390 pdf-target: maybe-pdf-target-libatomic
1392 .PHONY: do-html
1393 do-html:
1394 @: $(MAKE); $(unstage)
1395 @r=`${PWD_COMMAND}`; export r; \
1396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1397 $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
1398 html-target
1401 .PHONY: html-host
1403 html-host: maybe-html-bfd
1404 html-host: maybe-html-opcodes
1405 html-host: maybe-html-binutils
1406 html-host: maybe-html-bison
1407 html-host: maybe-html-cgen
1408 html-host: maybe-html-dejagnu
1409 html-host: maybe-html-etc
1410 html-host: maybe-html-fastjar
1411 html-host: maybe-html-fixincludes
1412 html-host: maybe-html-flex
1413 html-host: maybe-html-gas
1414 html-host: maybe-html-gcc
1415 html-host: maybe-html-gmp
1416 html-host: maybe-html-mpfr
1417 html-host: maybe-html-mpc
1418 html-host: maybe-html-isl
1419 html-host: maybe-html-libelf
1420 html-host: maybe-html-gold
1421 html-host: maybe-html-gprof
1422 html-host: maybe-html-intl
1423 html-host: maybe-html-tcl
1424 html-host: maybe-html-itcl
1425 html-host: maybe-html-ld
1426 html-host: maybe-html-libbacktrace
1427 html-host: maybe-html-libcpp
1428 html-host: maybe-html-libdecnumber
1429 html-host: maybe-html-libgui
1430 html-host: maybe-html-libiberty
1431 html-host: maybe-html-libiberty-linker-plugin
1432 html-host: maybe-html-libiconv
1433 html-host: maybe-html-m4
1434 html-host: maybe-html-readline
1435 html-host: maybe-html-sid
1436 html-host: maybe-html-sim
1437 html-host: maybe-html-texinfo
1438 html-host: maybe-html-zlib
1439 html-host: maybe-html-gdb
1440 html-host: maybe-html-expect
1441 html-host: maybe-html-guile
1442 html-host: maybe-html-tk
1443 html-host: maybe-html-libtermcap
1444 html-host: maybe-html-utils
1445 html-host: maybe-html-gnattools
1446 html-host: maybe-html-lto-plugin
1447 html-host: maybe-html-libcc1
1448 html-host: maybe-html-gotools
1450 .PHONY: html-target
1452 html-target: maybe-html-target-libstdc++-v3
1453 html-target: maybe-html-target-libsanitizer
1454 html-target: maybe-html-target-libvtv
1455 html-target: maybe-html-target-libcilkrts
1456 html-target: maybe-html-target-liboffloadmic
1457 html-target: maybe-html-target-libssp
1458 html-target: maybe-html-target-newlib
1459 html-target: maybe-html-target-libgcc
1460 html-target: maybe-html-target-libbacktrace
1461 html-target: maybe-html-target-libquadmath
1462 html-target: maybe-html-target-libgfortran
1463 html-target: maybe-html-target-libobjc
1464 html-target: maybe-html-target-libgo
1465 html-target: maybe-html-target-libtermcap
1466 html-target: maybe-html-target-winsup
1467 html-target: maybe-html-target-libgloss
1468 html-target: maybe-html-target-libffi
1469 html-target: maybe-html-target-libjava
1470 html-target: maybe-html-target-zlib
1471 html-target: maybe-html-target-boehm-gc
1472 html-target: maybe-html-target-rda
1473 html-target: maybe-html-target-libada
1474 html-target: maybe-html-target-libgomp
1475 html-target: maybe-html-target-libitm
1476 html-target: maybe-html-target-libatomic
1478 .PHONY: do-TAGS
1479 do-TAGS:
1480 @: $(MAKE); $(unstage)
1481 @r=`${PWD_COMMAND}`; export r; \
1482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1483 $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
1484 TAGS-target
1487 .PHONY: TAGS-host
1489 TAGS-host: maybe-TAGS-bfd
1490 TAGS-host: maybe-TAGS-opcodes
1491 TAGS-host: maybe-TAGS-binutils
1492 TAGS-host: maybe-TAGS-bison
1493 TAGS-host: maybe-TAGS-cgen
1494 TAGS-host: maybe-TAGS-dejagnu
1495 TAGS-host: maybe-TAGS-etc
1496 TAGS-host: maybe-TAGS-fastjar
1497 TAGS-host: maybe-TAGS-fixincludes
1498 TAGS-host: maybe-TAGS-flex
1499 TAGS-host: maybe-TAGS-gas
1500 TAGS-host: maybe-TAGS-gcc
1501 TAGS-host: maybe-TAGS-gmp
1502 TAGS-host: maybe-TAGS-mpfr
1503 TAGS-host: maybe-TAGS-mpc
1504 TAGS-host: maybe-TAGS-isl
1505 TAGS-host: maybe-TAGS-libelf
1506 TAGS-host: maybe-TAGS-gold
1507 TAGS-host: maybe-TAGS-gprof
1508 TAGS-host: maybe-TAGS-intl
1509 TAGS-host: maybe-TAGS-tcl
1510 TAGS-host: maybe-TAGS-itcl
1511 TAGS-host: maybe-TAGS-ld
1512 TAGS-host: maybe-TAGS-libbacktrace
1513 TAGS-host: maybe-TAGS-libcpp
1514 TAGS-host: maybe-TAGS-libdecnumber
1515 TAGS-host: maybe-TAGS-libgui
1516 TAGS-host: maybe-TAGS-libiberty
1517 TAGS-host: maybe-TAGS-libiberty-linker-plugin
1518 TAGS-host: maybe-TAGS-libiconv
1519 TAGS-host: maybe-TAGS-m4
1520 TAGS-host: maybe-TAGS-readline
1521 TAGS-host: maybe-TAGS-sid
1522 TAGS-host: maybe-TAGS-sim
1523 TAGS-host: maybe-TAGS-texinfo
1524 TAGS-host: maybe-TAGS-zlib
1525 TAGS-host: maybe-TAGS-gdb
1526 TAGS-host: maybe-TAGS-expect
1527 TAGS-host: maybe-TAGS-guile
1528 TAGS-host: maybe-TAGS-tk
1529 TAGS-host: maybe-TAGS-libtermcap
1530 TAGS-host: maybe-TAGS-utils
1531 TAGS-host: maybe-TAGS-gnattools
1532 TAGS-host: maybe-TAGS-lto-plugin
1533 TAGS-host: maybe-TAGS-libcc1
1534 TAGS-host: maybe-TAGS-gotools
1536 .PHONY: TAGS-target
1538 TAGS-target: maybe-TAGS-target-libstdc++-v3
1539 TAGS-target: maybe-TAGS-target-libsanitizer
1540 TAGS-target: maybe-TAGS-target-libvtv
1541 TAGS-target: maybe-TAGS-target-libcilkrts
1542 TAGS-target: maybe-TAGS-target-liboffloadmic
1543 TAGS-target: maybe-TAGS-target-libssp
1544 TAGS-target: maybe-TAGS-target-newlib
1545 TAGS-target: maybe-TAGS-target-libgcc
1546 TAGS-target: maybe-TAGS-target-libbacktrace
1547 TAGS-target: maybe-TAGS-target-libquadmath
1548 TAGS-target: maybe-TAGS-target-libgfortran
1549 TAGS-target: maybe-TAGS-target-libobjc
1550 TAGS-target: maybe-TAGS-target-libgo
1551 TAGS-target: maybe-TAGS-target-libtermcap
1552 TAGS-target: maybe-TAGS-target-winsup
1553 TAGS-target: maybe-TAGS-target-libgloss
1554 TAGS-target: maybe-TAGS-target-libffi
1555 TAGS-target: maybe-TAGS-target-libjava
1556 TAGS-target: maybe-TAGS-target-zlib
1557 TAGS-target: maybe-TAGS-target-boehm-gc
1558 TAGS-target: maybe-TAGS-target-rda
1559 TAGS-target: maybe-TAGS-target-libada
1560 TAGS-target: maybe-TAGS-target-libgomp
1561 TAGS-target: maybe-TAGS-target-libitm
1562 TAGS-target: maybe-TAGS-target-libatomic
1564 .PHONY: do-install-info
1565 do-install-info:
1566 @: $(MAKE); $(unstage)
1567 @r=`${PWD_COMMAND}`; export r; \
1568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1569 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
1570 install-info-target
1573 .PHONY: install-info-host
1575 install-info-host: maybe-install-info-bfd
1576 install-info-host: maybe-install-info-opcodes
1577 install-info-host: maybe-install-info-binutils
1578 install-info-host: maybe-install-info-bison
1579 install-info-host: maybe-install-info-cgen
1580 install-info-host: maybe-install-info-dejagnu
1581 install-info-host: maybe-install-info-etc
1582 install-info-host: maybe-install-info-fastjar
1583 install-info-host: maybe-install-info-fixincludes
1584 install-info-host: maybe-install-info-flex
1585 install-info-host: maybe-install-info-gas
1586 install-info-host: maybe-install-info-gcc
1587 install-info-host: maybe-install-info-gmp
1588 install-info-host: maybe-install-info-mpfr
1589 install-info-host: maybe-install-info-mpc
1590 install-info-host: maybe-install-info-isl
1591 install-info-host: maybe-install-info-libelf
1592 install-info-host: maybe-install-info-gold
1593 install-info-host: maybe-install-info-gprof
1594 install-info-host: maybe-install-info-intl
1595 install-info-host: maybe-install-info-tcl
1596 install-info-host: maybe-install-info-itcl
1597 install-info-host: maybe-install-info-ld
1598 install-info-host: maybe-install-info-libbacktrace
1599 install-info-host: maybe-install-info-libcpp
1600 install-info-host: maybe-install-info-libdecnumber
1601 install-info-host: maybe-install-info-libgui
1602 install-info-host: maybe-install-info-libiberty
1603 install-info-host: maybe-install-info-libiberty-linker-plugin
1604 install-info-host: maybe-install-info-libiconv
1605 install-info-host: maybe-install-info-m4
1606 install-info-host: maybe-install-info-readline
1607 install-info-host: maybe-install-info-sid
1608 install-info-host: maybe-install-info-sim
1609 install-info-host: maybe-install-info-texinfo
1610 install-info-host: maybe-install-info-zlib
1611 install-info-host: maybe-install-info-gdb
1612 install-info-host: maybe-install-info-expect
1613 install-info-host: maybe-install-info-guile
1614 install-info-host: maybe-install-info-tk
1615 install-info-host: maybe-install-info-libtermcap
1616 install-info-host: maybe-install-info-utils
1617 install-info-host: maybe-install-info-gnattools
1618 install-info-host: maybe-install-info-lto-plugin
1619 install-info-host: maybe-install-info-libcc1
1620 install-info-host: maybe-install-info-gotools
1622 .PHONY: install-info-target
1624 install-info-target: maybe-install-info-target-libstdc++-v3
1625 install-info-target: maybe-install-info-target-libsanitizer
1626 install-info-target: maybe-install-info-target-libvtv
1627 install-info-target: maybe-install-info-target-libcilkrts
1628 install-info-target: maybe-install-info-target-liboffloadmic
1629 install-info-target: maybe-install-info-target-libssp
1630 install-info-target: maybe-install-info-target-newlib
1631 install-info-target: maybe-install-info-target-libgcc
1632 install-info-target: maybe-install-info-target-libbacktrace
1633 install-info-target: maybe-install-info-target-libquadmath
1634 install-info-target: maybe-install-info-target-libgfortran
1635 install-info-target: maybe-install-info-target-libobjc
1636 install-info-target: maybe-install-info-target-libgo
1637 install-info-target: maybe-install-info-target-libtermcap
1638 install-info-target: maybe-install-info-target-winsup
1639 install-info-target: maybe-install-info-target-libgloss
1640 install-info-target: maybe-install-info-target-libffi
1641 install-info-target: maybe-install-info-target-libjava
1642 install-info-target: maybe-install-info-target-zlib
1643 install-info-target: maybe-install-info-target-boehm-gc
1644 install-info-target: maybe-install-info-target-rda
1645 install-info-target: maybe-install-info-target-libada
1646 install-info-target: maybe-install-info-target-libgomp
1647 install-info-target: maybe-install-info-target-libitm
1648 install-info-target: maybe-install-info-target-libatomic
1650 .PHONY: do-install-pdf
1651 do-install-pdf:
1652 @: $(MAKE); $(unstage)
1653 @r=`${PWD_COMMAND}`; export r; \
1654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1655 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-pdf-host \
1656 install-pdf-target
1659 .PHONY: install-pdf-host
1661 install-pdf-host: maybe-install-pdf-bfd
1662 install-pdf-host: maybe-install-pdf-opcodes
1663 install-pdf-host: maybe-install-pdf-binutils
1664 install-pdf-host: maybe-install-pdf-bison
1665 install-pdf-host: maybe-install-pdf-cgen
1666 install-pdf-host: maybe-install-pdf-dejagnu
1667 install-pdf-host: maybe-install-pdf-etc
1668 install-pdf-host: maybe-install-pdf-fastjar
1669 install-pdf-host: maybe-install-pdf-fixincludes
1670 install-pdf-host: maybe-install-pdf-flex
1671 install-pdf-host: maybe-install-pdf-gas
1672 install-pdf-host: maybe-install-pdf-gcc
1673 install-pdf-host: maybe-install-pdf-gmp
1674 install-pdf-host: maybe-install-pdf-mpfr
1675 install-pdf-host: maybe-install-pdf-mpc
1676 install-pdf-host: maybe-install-pdf-isl
1677 install-pdf-host: maybe-install-pdf-libelf
1678 install-pdf-host: maybe-install-pdf-gold
1679 install-pdf-host: maybe-install-pdf-gprof
1680 install-pdf-host: maybe-install-pdf-intl
1681 install-pdf-host: maybe-install-pdf-tcl
1682 install-pdf-host: maybe-install-pdf-itcl
1683 install-pdf-host: maybe-install-pdf-ld
1684 install-pdf-host: maybe-install-pdf-libbacktrace
1685 install-pdf-host: maybe-install-pdf-libcpp
1686 install-pdf-host: maybe-install-pdf-libdecnumber
1687 install-pdf-host: maybe-install-pdf-libgui
1688 install-pdf-host: maybe-install-pdf-libiberty
1689 install-pdf-host: maybe-install-pdf-libiberty-linker-plugin
1690 install-pdf-host: maybe-install-pdf-libiconv
1691 install-pdf-host: maybe-install-pdf-m4
1692 install-pdf-host: maybe-install-pdf-readline
1693 install-pdf-host: maybe-install-pdf-sid
1694 install-pdf-host: maybe-install-pdf-sim
1695 install-pdf-host: maybe-install-pdf-texinfo
1696 install-pdf-host: maybe-install-pdf-zlib
1697 install-pdf-host: maybe-install-pdf-gdb
1698 install-pdf-host: maybe-install-pdf-expect
1699 install-pdf-host: maybe-install-pdf-guile
1700 install-pdf-host: maybe-install-pdf-tk
1701 install-pdf-host: maybe-install-pdf-libtermcap
1702 install-pdf-host: maybe-install-pdf-utils
1703 install-pdf-host: maybe-install-pdf-gnattools
1704 install-pdf-host: maybe-install-pdf-lto-plugin
1705 install-pdf-host: maybe-install-pdf-libcc1
1706 install-pdf-host: maybe-install-pdf-gotools
1708 .PHONY: install-pdf-target
1710 install-pdf-target: maybe-install-pdf-target-libstdc++-v3
1711 install-pdf-target: maybe-install-pdf-target-libsanitizer
1712 install-pdf-target: maybe-install-pdf-target-libvtv
1713 install-pdf-target: maybe-install-pdf-target-libcilkrts
1714 install-pdf-target: maybe-install-pdf-target-liboffloadmic
1715 install-pdf-target: maybe-install-pdf-target-libssp
1716 install-pdf-target: maybe-install-pdf-target-newlib
1717 install-pdf-target: maybe-install-pdf-target-libgcc
1718 install-pdf-target: maybe-install-pdf-target-libbacktrace
1719 install-pdf-target: maybe-install-pdf-target-libquadmath
1720 install-pdf-target: maybe-install-pdf-target-libgfortran
1721 install-pdf-target: maybe-install-pdf-target-libobjc
1722 install-pdf-target: maybe-install-pdf-target-libgo
1723 install-pdf-target: maybe-install-pdf-target-libtermcap
1724 install-pdf-target: maybe-install-pdf-target-winsup
1725 install-pdf-target: maybe-install-pdf-target-libgloss
1726 install-pdf-target: maybe-install-pdf-target-libffi
1727 install-pdf-target: maybe-install-pdf-target-libjava
1728 install-pdf-target: maybe-install-pdf-target-zlib
1729 install-pdf-target: maybe-install-pdf-target-boehm-gc
1730 install-pdf-target: maybe-install-pdf-target-rda
1731 install-pdf-target: maybe-install-pdf-target-libada
1732 install-pdf-target: maybe-install-pdf-target-libgomp
1733 install-pdf-target: maybe-install-pdf-target-libitm
1734 install-pdf-target: maybe-install-pdf-target-libatomic
1736 .PHONY: do-install-html
1737 do-install-html:
1738 @: $(MAKE); $(unstage)
1739 @r=`${PWD_COMMAND}`; export r; \
1740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1741 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-html-host \
1742 install-html-target
1745 .PHONY: install-html-host
1747 install-html-host: maybe-install-html-bfd
1748 install-html-host: maybe-install-html-opcodes
1749 install-html-host: maybe-install-html-binutils
1750 install-html-host: maybe-install-html-bison
1751 install-html-host: maybe-install-html-cgen
1752 install-html-host: maybe-install-html-dejagnu
1753 install-html-host: maybe-install-html-etc
1754 install-html-host: maybe-install-html-fastjar
1755 install-html-host: maybe-install-html-fixincludes
1756 install-html-host: maybe-install-html-flex
1757 install-html-host: maybe-install-html-gas
1758 install-html-host: maybe-install-html-gcc
1759 install-html-host: maybe-install-html-gmp
1760 install-html-host: maybe-install-html-mpfr
1761 install-html-host: maybe-install-html-mpc
1762 install-html-host: maybe-install-html-isl
1763 install-html-host: maybe-install-html-libelf
1764 install-html-host: maybe-install-html-gold
1765 install-html-host: maybe-install-html-gprof
1766 install-html-host: maybe-install-html-intl
1767 install-html-host: maybe-install-html-tcl
1768 install-html-host: maybe-install-html-itcl
1769 install-html-host: maybe-install-html-ld
1770 install-html-host: maybe-install-html-libbacktrace
1771 install-html-host: maybe-install-html-libcpp
1772 install-html-host: maybe-install-html-libdecnumber
1773 install-html-host: maybe-install-html-libgui
1774 install-html-host: maybe-install-html-libiberty
1775 install-html-host: maybe-install-html-libiberty-linker-plugin
1776 install-html-host: maybe-install-html-libiconv
1777 install-html-host: maybe-install-html-m4
1778 install-html-host: maybe-install-html-readline
1779 install-html-host: maybe-install-html-sid
1780 install-html-host: maybe-install-html-sim
1781 install-html-host: maybe-install-html-texinfo
1782 install-html-host: maybe-install-html-zlib
1783 install-html-host: maybe-install-html-gdb
1784 install-html-host: maybe-install-html-expect
1785 install-html-host: maybe-install-html-guile
1786 install-html-host: maybe-install-html-tk
1787 install-html-host: maybe-install-html-libtermcap
1788 install-html-host: maybe-install-html-utils
1789 install-html-host: maybe-install-html-gnattools
1790 install-html-host: maybe-install-html-lto-plugin
1791 install-html-host: maybe-install-html-libcc1
1792 install-html-host: maybe-install-html-gotools
1794 .PHONY: install-html-target
1796 install-html-target: maybe-install-html-target-libstdc++-v3
1797 install-html-target: maybe-install-html-target-libsanitizer
1798 install-html-target: maybe-install-html-target-libvtv
1799 install-html-target: maybe-install-html-target-libcilkrts
1800 install-html-target: maybe-install-html-target-liboffloadmic
1801 install-html-target: maybe-install-html-target-libssp
1802 install-html-target: maybe-install-html-target-newlib
1803 install-html-target: maybe-install-html-target-libgcc
1804 install-html-target: maybe-install-html-target-libbacktrace
1805 install-html-target: maybe-install-html-target-libquadmath
1806 install-html-target: maybe-install-html-target-libgfortran
1807 install-html-target: maybe-install-html-target-libobjc
1808 install-html-target: maybe-install-html-target-libgo
1809 install-html-target: maybe-install-html-target-libtermcap
1810 install-html-target: maybe-install-html-target-winsup
1811 install-html-target: maybe-install-html-target-libgloss
1812 install-html-target: maybe-install-html-target-libffi
1813 install-html-target: maybe-install-html-target-libjava
1814 install-html-target: maybe-install-html-target-zlib
1815 install-html-target: maybe-install-html-target-boehm-gc
1816 install-html-target: maybe-install-html-target-rda
1817 install-html-target: maybe-install-html-target-libada
1818 install-html-target: maybe-install-html-target-libgomp
1819 install-html-target: maybe-install-html-target-libitm
1820 install-html-target: maybe-install-html-target-libatomic
1822 .PHONY: do-installcheck
1823 do-installcheck:
1824 @: $(MAKE); $(unstage)
1825 @r=`${PWD_COMMAND}`; export r; \
1826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1827 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
1828 installcheck-target
1831 .PHONY: installcheck-host
1833 installcheck-host: maybe-installcheck-bfd
1834 installcheck-host: maybe-installcheck-opcodes
1835 installcheck-host: maybe-installcheck-binutils
1836 installcheck-host: maybe-installcheck-bison
1837 installcheck-host: maybe-installcheck-cgen
1838 installcheck-host: maybe-installcheck-dejagnu
1839 installcheck-host: maybe-installcheck-etc
1840 installcheck-host: maybe-installcheck-fastjar
1841 installcheck-host: maybe-installcheck-fixincludes
1842 installcheck-host: maybe-installcheck-flex
1843 installcheck-host: maybe-installcheck-gas
1844 installcheck-host: maybe-installcheck-gcc
1845 installcheck-host: maybe-installcheck-gmp
1846 installcheck-host: maybe-installcheck-mpfr
1847 installcheck-host: maybe-installcheck-mpc
1848 installcheck-host: maybe-installcheck-isl
1849 installcheck-host: maybe-installcheck-libelf
1850 installcheck-host: maybe-installcheck-gold
1851 installcheck-host: maybe-installcheck-gprof
1852 installcheck-host: maybe-installcheck-intl
1853 installcheck-host: maybe-installcheck-tcl
1854 installcheck-host: maybe-installcheck-itcl
1855 installcheck-host: maybe-installcheck-ld
1856 installcheck-host: maybe-installcheck-libbacktrace
1857 installcheck-host: maybe-installcheck-libcpp
1858 installcheck-host: maybe-installcheck-libdecnumber
1859 installcheck-host: maybe-installcheck-libgui
1860 installcheck-host: maybe-installcheck-libiberty
1861 installcheck-host: maybe-installcheck-libiberty-linker-plugin
1862 installcheck-host: maybe-installcheck-libiconv
1863 installcheck-host: maybe-installcheck-m4
1864 installcheck-host: maybe-installcheck-readline
1865 installcheck-host: maybe-installcheck-sid
1866 installcheck-host: maybe-installcheck-sim
1867 installcheck-host: maybe-installcheck-texinfo
1868 installcheck-host: maybe-installcheck-zlib
1869 installcheck-host: maybe-installcheck-gdb
1870 installcheck-host: maybe-installcheck-expect
1871 installcheck-host: maybe-installcheck-guile
1872 installcheck-host: maybe-installcheck-tk
1873 installcheck-host: maybe-installcheck-libtermcap
1874 installcheck-host: maybe-installcheck-utils
1875 installcheck-host: maybe-installcheck-gnattools
1876 installcheck-host: maybe-installcheck-lto-plugin
1877 installcheck-host: maybe-installcheck-libcc1
1878 installcheck-host: maybe-installcheck-gotools
1880 .PHONY: installcheck-target
1882 installcheck-target: maybe-installcheck-target-libstdc++-v3
1883 installcheck-target: maybe-installcheck-target-libsanitizer
1884 installcheck-target: maybe-installcheck-target-libvtv
1885 installcheck-target: maybe-installcheck-target-libcilkrts
1886 installcheck-target: maybe-installcheck-target-liboffloadmic
1887 installcheck-target: maybe-installcheck-target-libssp
1888 installcheck-target: maybe-installcheck-target-newlib
1889 installcheck-target: maybe-installcheck-target-libgcc
1890 installcheck-target: maybe-installcheck-target-libbacktrace
1891 installcheck-target: maybe-installcheck-target-libquadmath
1892 installcheck-target: maybe-installcheck-target-libgfortran
1893 installcheck-target: maybe-installcheck-target-libobjc
1894 installcheck-target: maybe-installcheck-target-libgo
1895 installcheck-target: maybe-installcheck-target-libtermcap
1896 installcheck-target: maybe-installcheck-target-winsup
1897 installcheck-target: maybe-installcheck-target-libgloss
1898 installcheck-target: maybe-installcheck-target-libffi
1899 installcheck-target: maybe-installcheck-target-libjava
1900 installcheck-target: maybe-installcheck-target-zlib
1901 installcheck-target: maybe-installcheck-target-boehm-gc
1902 installcheck-target: maybe-installcheck-target-rda
1903 installcheck-target: maybe-installcheck-target-libada
1904 installcheck-target: maybe-installcheck-target-libgomp
1905 installcheck-target: maybe-installcheck-target-libitm
1906 installcheck-target: maybe-installcheck-target-libatomic
1908 .PHONY: do-mostlyclean
1909 do-mostlyclean:
1910 @: $(MAKE); $(unstage)
1911 @r=`${PWD_COMMAND}`; export r; \
1912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1913 $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
1914 mostlyclean-target
1917 .PHONY: mostlyclean-host
1919 mostlyclean-host: maybe-mostlyclean-bfd
1920 mostlyclean-host: maybe-mostlyclean-opcodes
1921 mostlyclean-host: maybe-mostlyclean-binutils
1922 mostlyclean-host: maybe-mostlyclean-bison
1923 mostlyclean-host: maybe-mostlyclean-cgen
1924 mostlyclean-host: maybe-mostlyclean-dejagnu
1925 mostlyclean-host: maybe-mostlyclean-etc
1926 mostlyclean-host: maybe-mostlyclean-fastjar
1927 mostlyclean-host: maybe-mostlyclean-fixincludes
1928 mostlyclean-host: maybe-mostlyclean-flex
1929 mostlyclean-host: maybe-mostlyclean-gas
1930 mostlyclean-host: maybe-mostlyclean-gcc
1931 mostlyclean-host: maybe-mostlyclean-gmp
1932 mostlyclean-host: maybe-mostlyclean-mpfr
1933 mostlyclean-host: maybe-mostlyclean-mpc
1934 mostlyclean-host: maybe-mostlyclean-isl
1935 mostlyclean-host: maybe-mostlyclean-libelf
1936 mostlyclean-host: maybe-mostlyclean-gold
1937 mostlyclean-host: maybe-mostlyclean-gprof
1938 mostlyclean-host: maybe-mostlyclean-intl
1939 mostlyclean-host: maybe-mostlyclean-tcl
1940 mostlyclean-host: maybe-mostlyclean-itcl
1941 mostlyclean-host: maybe-mostlyclean-ld
1942 mostlyclean-host: maybe-mostlyclean-libbacktrace
1943 mostlyclean-host: maybe-mostlyclean-libcpp
1944 mostlyclean-host: maybe-mostlyclean-libdecnumber
1945 mostlyclean-host: maybe-mostlyclean-libgui
1946 mostlyclean-host: maybe-mostlyclean-libiberty
1947 mostlyclean-host: maybe-mostlyclean-libiberty-linker-plugin
1948 mostlyclean-host: maybe-mostlyclean-libiconv
1949 mostlyclean-host: maybe-mostlyclean-m4
1950 mostlyclean-host: maybe-mostlyclean-readline
1951 mostlyclean-host: maybe-mostlyclean-sid
1952 mostlyclean-host: maybe-mostlyclean-sim
1953 mostlyclean-host: maybe-mostlyclean-texinfo
1954 mostlyclean-host: maybe-mostlyclean-zlib
1955 mostlyclean-host: maybe-mostlyclean-gdb
1956 mostlyclean-host: maybe-mostlyclean-expect
1957 mostlyclean-host: maybe-mostlyclean-guile
1958 mostlyclean-host: maybe-mostlyclean-tk
1959 mostlyclean-host: maybe-mostlyclean-libtermcap
1960 mostlyclean-host: maybe-mostlyclean-utils
1961 mostlyclean-host: maybe-mostlyclean-gnattools
1962 mostlyclean-host: maybe-mostlyclean-lto-plugin
1963 mostlyclean-host: maybe-mostlyclean-libcc1
1964 mostlyclean-host: maybe-mostlyclean-gotools
1966 .PHONY: mostlyclean-target
1968 mostlyclean-target: maybe-mostlyclean-target-libstdc++-v3
1969 mostlyclean-target: maybe-mostlyclean-target-libsanitizer
1970 mostlyclean-target: maybe-mostlyclean-target-libvtv
1971 mostlyclean-target: maybe-mostlyclean-target-libcilkrts
1972 mostlyclean-target: maybe-mostlyclean-target-liboffloadmic
1973 mostlyclean-target: maybe-mostlyclean-target-libssp
1974 mostlyclean-target: maybe-mostlyclean-target-newlib
1975 mostlyclean-target: maybe-mostlyclean-target-libgcc
1976 mostlyclean-target: maybe-mostlyclean-target-libbacktrace
1977 mostlyclean-target: maybe-mostlyclean-target-libquadmath
1978 mostlyclean-target: maybe-mostlyclean-target-libgfortran
1979 mostlyclean-target: maybe-mostlyclean-target-libobjc
1980 mostlyclean-target: maybe-mostlyclean-target-libgo
1981 mostlyclean-target: maybe-mostlyclean-target-libtermcap
1982 mostlyclean-target: maybe-mostlyclean-target-winsup
1983 mostlyclean-target: maybe-mostlyclean-target-libgloss
1984 mostlyclean-target: maybe-mostlyclean-target-libffi
1985 mostlyclean-target: maybe-mostlyclean-target-libjava
1986 mostlyclean-target: maybe-mostlyclean-target-zlib
1987 mostlyclean-target: maybe-mostlyclean-target-boehm-gc
1988 mostlyclean-target: maybe-mostlyclean-target-rda
1989 mostlyclean-target: maybe-mostlyclean-target-libada
1990 mostlyclean-target: maybe-mostlyclean-target-libgomp
1991 mostlyclean-target: maybe-mostlyclean-target-libitm
1992 mostlyclean-target: maybe-mostlyclean-target-libatomic
1994 .PHONY: do-clean
1995 do-clean:
1996 @: $(MAKE); $(unstage)
1997 @r=`${PWD_COMMAND}`; export r; \
1998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1999 $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
2000 clean-target
2003 .PHONY: clean-host
2005 clean-host: maybe-clean-bfd
2006 clean-host: maybe-clean-opcodes
2007 clean-host: maybe-clean-binutils
2008 clean-host: maybe-clean-bison
2009 clean-host: maybe-clean-cgen
2010 clean-host: maybe-clean-dejagnu
2011 clean-host: maybe-clean-etc
2012 clean-host: maybe-clean-fastjar
2013 clean-host: maybe-clean-fixincludes
2014 clean-host: maybe-clean-flex
2015 clean-host: maybe-clean-gas
2016 clean-host: maybe-clean-gcc
2017 clean-host: maybe-clean-gmp
2018 clean-host: maybe-clean-mpfr
2019 clean-host: maybe-clean-mpc
2020 clean-host: maybe-clean-isl
2021 clean-host: maybe-clean-libelf
2022 clean-host: maybe-clean-gold
2023 clean-host: maybe-clean-gprof
2024 clean-host: maybe-clean-intl
2025 clean-host: maybe-clean-tcl
2026 clean-host: maybe-clean-itcl
2027 clean-host: maybe-clean-ld
2028 clean-host: maybe-clean-libbacktrace
2029 clean-host: maybe-clean-libcpp
2030 clean-host: maybe-clean-libdecnumber
2031 clean-host: maybe-clean-libgui
2032 clean-host: maybe-clean-libiberty
2033 clean-host: maybe-clean-libiberty-linker-plugin
2034 clean-host: maybe-clean-libiconv
2035 clean-host: maybe-clean-m4
2036 clean-host: maybe-clean-readline
2037 clean-host: maybe-clean-sid
2038 clean-host: maybe-clean-sim
2039 clean-host: maybe-clean-texinfo
2040 clean-host: maybe-clean-zlib
2041 clean-host: maybe-clean-gdb
2042 clean-host: maybe-clean-expect
2043 clean-host: maybe-clean-guile
2044 clean-host: maybe-clean-tk
2045 clean-host: maybe-clean-libtermcap
2046 clean-host: maybe-clean-utils
2047 clean-host: maybe-clean-gnattools
2048 clean-host: maybe-clean-lto-plugin
2049 clean-host: maybe-clean-libcc1
2050 clean-host: maybe-clean-gotools
2052 .PHONY: clean-target
2054 clean-target: maybe-clean-target-libstdc++-v3
2055 clean-target: maybe-clean-target-libsanitizer
2056 clean-target: maybe-clean-target-libvtv
2057 clean-target: maybe-clean-target-libcilkrts
2058 clean-target: maybe-clean-target-liboffloadmic
2059 clean-target: maybe-clean-target-libssp
2060 clean-target: maybe-clean-target-newlib
2061 clean-target: maybe-clean-target-libgcc
2062 clean-target: maybe-clean-target-libbacktrace
2063 clean-target: maybe-clean-target-libquadmath
2064 clean-target: maybe-clean-target-libgfortran
2065 clean-target: maybe-clean-target-libobjc
2066 clean-target: maybe-clean-target-libgo
2067 clean-target: maybe-clean-target-libtermcap
2068 clean-target: maybe-clean-target-winsup
2069 clean-target: maybe-clean-target-libgloss
2070 clean-target: maybe-clean-target-libffi
2071 clean-target: maybe-clean-target-libjava
2072 clean-target: maybe-clean-target-zlib
2073 clean-target: maybe-clean-target-boehm-gc
2074 clean-target: maybe-clean-target-rda
2075 clean-target: maybe-clean-target-libada
2076 clean-target: maybe-clean-target-libgomp
2077 clean-target: maybe-clean-target-libitm
2078 clean-target: maybe-clean-target-libatomic
2080 .PHONY: do-distclean
2081 do-distclean:
2082 @: $(MAKE); $(unstage)
2083 @r=`${PWD_COMMAND}`; export r; \
2084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2085 $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
2086 distclean-target
2089 .PHONY: distclean-host
2091 distclean-host: maybe-distclean-bfd
2092 distclean-host: maybe-distclean-opcodes
2093 distclean-host: maybe-distclean-binutils
2094 distclean-host: maybe-distclean-bison
2095 distclean-host: maybe-distclean-cgen
2096 distclean-host: maybe-distclean-dejagnu
2097 distclean-host: maybe-distclean-etc
2098 distclean-host: maybe-distclean-fastjar
2099 distclean-host: maybe-distclean-fixincludes
2100 distclean-host: maybe-distclean-flex
2101 distclean-host: maybe-distclean-gas
2102 distclean-host: maybe-distclean-gcc
2103 distclean-host: maybe-distclean-gmp
2104 distclean-host: maybe-distclean-mpfr
2105 distclean-host: maybe-distclean-mpc
2106 distclean-host: maybe-distclean-isl
2107 distclean-host: maybe-distclean-libelf
2108 distclean-host: maybe-distclean-gold
2109 distclean-host: maybe-distclean-gprof
2110 distclean-host: maybe-distclean-intl
2111 distclean-host: maybe-distclean-tcl
2112 distclean-host: maybe-distclean-itcl
2113 distclean-host: maybe-distclean-ld
2114 distclean-host: maybe-distclean-libbacktrace
2115 distclean-host: maybe-distclean-libcpp
2116 distclean-host: maybe-distclean-libdecnumber
2117 distclean-host: maybe-distclean-libgui
2118 distclean-host: maybe-distclean-libiberty
2119 distclean-host: maybe-distclean-libiberty-linker-plugin
2120 distclean-host: maybe-distclean-libiconv
2121 distclean-host: maybe-distclean-m4
2122 distclean-host: maybe-distclean-readline
2123 distclean-host: maybe-distclean-sid
2124 distclean-host: maybe-distclean-sim
2125 distclean-host: maybe-distclean-texinfo
2126 distclean-host: maybe-distclean-zlib
2127 distclean-host: maybe-distclean-gdb
2128 distclean-host: maybe-distclean-expect
2129 distclean-host: maybe-distclean-guile
2130 distclean-host: maybe-distclean-tk
2131 distclean-host: maybe-distclean-libtermcap
2132 distclean-host: maybe-distclean-utils
2133 distclean-host: maybe-distclean-gnattools
2134 distclean-host: maybe-distclean-lto-plugin
2135 distclean-host: maybe-distclean-libcc1
2136 distclean-host: maybe-distclean-gotools
2138 .PHONY: distclean-target
2140 distclean-target: maybe-distclean-target-libstdc++-v3
2141 distclean-target: maybe-distclean-target-libsanitizer
2142 distclean-target: maybe-distclean-target-libvtv
2143 distclean-target: maybe-distclean-target-libcilkrts
2144 distclean-target: maybe-distclean-target-liboffloadmic
2145 distclean-target: maybe-distclean-target-libssp
2146 distclean-target: maybe-distclean-target-newlib
2147 distclean-target: maybe-distclean-target-libgcc
2148 distclean-target: maybe-distclean-target-libbacktrace
2149 distclean-target: maybe-distclean-target-libquadmath
2150 distclean-target: maybe-distclean-target-libgfortran
2151 distclean-target: maybe-distclean-target-libobjc
2152 distclean-target: maybe-distclean-target-libgo
2153 distclean-target: maybe-distclean-target-libtermcap
2154 distclean-target: maybe-distclean-target-winsup
2155 distclean-target: maybe-distclean-target-libgloss
2156 distclean-target: maybe-distclean-target-libffi
2157 distclean-target: maybe-distclean-target-libjava
2158 distclean-target: maybe-distclean-target-zlib
2159 distclean-target: maybe-distclean-target-boehm-gc
2160 distclean-target: maybe-distclean-target-rda
2161 distclean-target: maybe-distclean-target-libada
2162 distclean-target: maybe-distclean-target-libgomp
2163 distclean-target: maybe-distclean-target-libitm
2164 distclean-target: maybe-distclean-target-libatomic
2166 .PHONY: do-maintainer-clean
2167 do-maintainer-clean:
2168 @: $(MAKE); $(unstage)
2169 @r=`${PWD_COMMAND}`; export r; \
2170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2171 $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
2172 maintainer-clean-target
2175 .PHONY: maintainer-clean-host
2177 maintainer-clean-host: maybe-maintainer-clean-bfd
2178 maintainer-clean-host: maybe-maintainer-clean-opcodes
2179 maintainer-clean-host: maybe-maintainer-clean-binutils
2180 maintainer-clean-host: maybe-maintainer-clean-bison
2181 maintainer-clean-host: maybe-maintainer-clean-cgen
2182 maintainer-clean-host: maybe-maintainer-clean-dejagnu
2183 maintainer-clean-host: maybe-maintainer-clean-etc
2184 maintainer-clean-host: maybe-maintainer-clean-fastjar
2185 maintainer-clean-host: maybe-maintainer-clean-fixincludes
2186 maintainer-clean-host: maybe-maintainer-clean-flex
2187 maintainer-clean-host: maybe-maintainer-clean-gas
2188 maintainer-clean-host: maybe-maintainer-clean-gcc
2189 maintainer-clean-host: maybe-maintainer-clean-gmp
2190 maintainer-clean-host: maybe-maintainer-clean-mpfr
2191 maintainer-clean-host: maybe-maintainer-clean-mpc
2192 maintainer-clean-host: maybe-maintainer-clean-isl
2193 maintainer-clean-host: maybe-maintainer-clean-libelf
2194 maintainer-clean-host: maybe-maintainer-clean-gold
2195 maintainer-clean-host: maybe-maintainer-clean-gprof
2196 maintainer-clean-host: maybe-maintainer-clean-intl
2197 maintainer-clean-host: maybe-maintainer-clean-tcl
2198 maintainer-clean-host: maybe-maintainer-clean-itcl
2199 maintainer-clean-host: maybe-maintainer-clean-ld
2200 maintainer-clean-host: maybe-maintainer-clean-libbacktrace
2201 maintainer-clean-host: maybe-maintainer-clean-libcpp
2202 maintainer-clean-host: maybe-maintainer-clean-libdecnumber
2203 maintainer-clean-host: maybe-maintainer-clean-libgui
2204 maintainer-clean-host: maybe-maintainer-clean-libiberty
2205 maintainer-clean-host: maybe-maintainer-clean-libiberty-linker-plugin
2206 maintainer-clean-host: maybe-maintainer-clean-libiconv
2207 maintainer-clean-host: maybe-maintainer-clean-m4
2208 maintainer-clean-host: maybe-maintainer-clean-readline
2209 maintainer-clean-host: maybe-maintainer-clean-sid
2210 maintainer-clean-host: maybe-maintainer-clean-sim
2211 maintainer-clean-host: maybe-maintainer-clean-texinfo
2212 maintainer-clean-host: maybe-maintainer-clean-zlib
2213 maintainer-clean-host: maybe-maintainer-clean-gdb
2214 maintainer-clean-host: maybe-maintainer-clean-expect
2215 maintainer-clean-host: maybe-maintainer-clean-guile
2216 maintainer-clean-host: maybe-maintainer-clean-tk
2217 maintainer-clean-host: maybe-maintainer-clean-libtermcap
2218 maintainer-clean-host: maybe-maintainer-clean-utils
2219 maintainer-clean-host: maybe-maintainer-clean-gnattools
2220 maintainer-clean-host: maybe-maintainer-clean-lto-plugin
2221 maintainer-clean-host: maybe-maintainer-clean-libcc1
2222 maintainer-clean-host: maybe-maintainer-clean-gotools
2224 .PHONY: maintainer-clean-target
2226 maintainer-clean-target: maybe-maintainer-clean-target-libstdc++-v3
2227 maintainer-clean-target: maybe-maintainer-clean-target-libsanitizer
2228 maintainer-clean-target: maybe-maintainer-clean-target-libvtv
2229 maintainer-clean-target: maybe-maintainer-clean-target-libcilkrts
2230 maintainer-clean-target: maybe-maintainer-clean-target-liboffloadmic
2231 maintainer-clean-target: maybe-maintainer-clean-target-libssp
2232 maintainer-clean-target: maybe-maintainer-clean-target-newlib
2233 maintainer-clean-target: maybe-maintainer-clean-target-libgcc
2234 maintainer-clean-target: maybe-maintainer-clean-target-libbacktrace
2235 maintainer-clean-target: maybe-maintainer-clean-target-libquadmath
2236 maintainer-clean-target: maybe-maintainer-clean-target-libgfortran
2237 maintainer-clean-target: maybe-maintainer-clean-target-libobjc
2238 maintainer-clean-target: maybe-maintainer-clean-target-libgo
2239 maintainer-clean-target: maybe-maintainer-clean-target-libtermcap
2240 maintainer-clean-target: maybe-maintainer-clean-target-winsup
2241 maintainer-clean-target: maybe-maintainer-clean-target-libgloss
2242 maintainer-clean-target: maybe-maintainer-clean-target-libffi
2243 maintainer-clean-target: maybe-maintainer-clean-target-libjava
2244 maintainer-clean-target: maybe-maintainer-clean-target-zlib
2245 maintainer-clean-target: maybe-maintainer-clean-target-boehm-gc
2246 maintainer-clean-target: maybe-maintainer-clean-target-rda
2247 maintainer-clean-target: maybe-maintainer-clean-target-libada
2248 maintainer-clean-target: maybe-maintainer-clean-target-libgomp
2249 maintainer-clean-target: maybe-maintainer-clean-target-libitm
2250 maintainer-clean-target: maybe-maintainer-clean-target-libatomic
2253 # Here are the targets which correspond to the do-X targets.
2255 .PHONY: info installcheck dvi pdf html
2256 .PHONY: install-info install-pdf install-html
2257 .PHONY: clean distclean mostlyclean maintainer-clean realclean
2258 .PHONY: local-clean local-distclean local-maintainer-clean
2259 info: do-info
2260 installcheck: do-installcheck
2261 dvi: do-dvi
2262 pdf: do-pdf
2263 html: do-html
2265 # Make sure makeinfo is built before we do a `make info', if we're
2266 # in fact building texinfo.
2267 do-info: maybe-all-texinfo
2269 install-info: do-install-info dir.info
2270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2271 if [ -f dir.info ] ; then \
2272 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
2273 else true ; fi
2275 install-pdf: do-install-pdf
2277 install-html: do-install-html
2279 local-clean:
2280 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
2282 local-distclean:
2283 -rm -f Makefile config.status config.cache mh-frag mt-frag
2284 -rm -f maybedep.tmp serdep.tmp
2285 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
2286 rm -rf $(TARGET_SUBDIR); \
2287 else true; fi
2288 -rm -rf $(BUILD_SUBDIR)
2289 -if [ "$(HOST_SUBDIR)" != "." ]; then \
2290 rm -rf $(HOST_SUBDIR); \
2291 else true; fi
2292 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
2293 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
2294 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
2295 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
2296 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
2297 -find . -name config.cache -exec rm -f {} \; \; 2>/dev/null
2299 local-maintainer-clean:
2300 @echo "This command is intended for maintainers to use;"
2301 @echo "it deletes files that may require special tools to rebuild."
2303 clean: do-clean local-clean
2304 mostlyclean: do-mostlyclean local-clean
2305 distclean: do-distclean local-clean local-distclean
2306 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
2307 maintainer-clean: local-distclean
2308 realclean: maintainer-clean
2310 # Check target.
2312 .PHONY: check do-check
2313 check: do-check
2315 # Only include modules actually being configured and built.
2316 .PHONY: check-host
2317 check-host: \
2318 maybe-check-bfd \
2319 maybe-check-opcodes \
2320 maybe-check-binutils \
2321 maybe-check-bison \
2322 maybe-check-cgen \
2323 maybe-check-dejagnu \
2324 maybe-check-etc \
2325 maybe-check-fastjar \
2326 maybe-check-fixincludes \
2327 maybe-check-flex \
2328 maybe-check-gas \
2329 maybe-check-gcc \
2330 maybe-check-gmp \
2331 maybe-check-mpfr \
2332 maybe-check-mpc \
2333 maybe-check-isl \
2334 maybe-check-libelf \
2335 maybe-check-gold \
2336 maybe-check-gprof \
2337 maybe-check-intl \
2338 maybe-check-tcl \
2339 maybe-check-itcl \
2340 maybe-check-ld \
2341 maybe-check-libbacktrace \
2342 maybe-check-libcpp \
2343 maybe-check-libdecnumber \
2344 maybe-check-libgui \
2345 maybe-check-libiberty \
2346 maybe-check-libiberty-linker-plugin \
2347 maybe-check-libiconv \
2348 maybe-check-m4 \
2349 maybe-check-readline \
2350 maybe-check-sid \
2351 maybe-check-sim \
2352 maybe-check-texinfo \
2353 maybe-check-zlib \
2354 maybe-check-gdb \
2355 maybe-check-expect \
2356 maybe-check-guile \
2357 maybe-check-tk \
2358 maybe-check-libtermcap \
2359 maybe-check-utils \
2360 maybe-check-gnattools \
2361 maybe-check-lto-plugin \
2362 maybe-check-libcc1 \
2363 maybe-check-gotools
2365 .PHONY: check-target
2366 check-target: \
2367 maybe-check-target-libstdc++-v3 \
2368 maybe-check-target-libsanitizer \
2369 maybe-check-target-libvtv \
2370 maybe-check-target-libcilkrts \
2371 maybe-check-target-liboffloadmic \
2372 maybe-check-target-libssp \
2373 maybe-check-target-newlib \
2374 maybe-check-target-libgcc \
2375 maybe-check-target-libbacktrace \
2376 maybe-check-target-libquadmath \
2377 maybe-check-target-libgfortran \
2378 maybe-check-target-libobjc \
2379 maybe-check-target-libgo \
2380 maybe-check-target-libtermcap \
2381 maybe-check-target-winsup \
2382 maybe-check-target-libgloss \
2383 maybe-check-target-libffi \
2384 maybe-check-target-libjava \
2385 maybe-check-target-zlib \
2386 maybe-check-target-boehm-gc \
2387 maybe-check-target-rda \
2388 maybe-check-target-libada \
2389 maybe-check-target-libgomp \
2390 maybe-check-target-libitm \
2391 maybe-check-target-libatomic
2393 do-check:
2394 @: $(MAKE); $(unstage)
2395 @r=`${PWD_COMMAND}`; export r; \
2396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2397 $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
2399 # Automated reporting of test results.
2401 warning.log: build.log
2402 $(srcdir)/contrib/warn_summary build.log > $@
2404 mail-report.log:
2405 if test x'$(BOOT_CFLAGS)' != x''; then \
2406 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2407 fi; \
2408 $(srcdir)/contrib/test_summary -t >$@
2409 chmod +x $@
2410 echo If you really want to send e-mail, run ./$@ now
2412 mail-report-with-warnings.log: warning.log
2413 if test x'$(BOOT_CFLAGS)' != x''; then \
2414 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2415 fi; \
2416 $(srcdir)/contrib/test_summary -t -i warning.log >$@
2417 chmod +x $@
2418 echo If you really want to send e-mail, run ./$@ now
2420 # Local Vim config
2422 $(srcdir)/.local.vimrc:
2423 $(LN_S) $(srcdir)/contrib/vimrc $@
2425 $(srcdir)/.lvimrc:
2426 $(LN_S) $(srcdir)/contrib/vimrc $@
2428 vimrc: $(srcdir)/.local.vimrc $(srcdir)/.lvimrc
2430 .PHONY: vimrc
2432 # Installation targets.
2434 .PHONY: install uninstall
2435 install:
2436 @: $(MAKE); $(unstage)
2437 @r=`${PWD_COMMAND}`; export r; \
2438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2439 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
2441 .PHONY: install-host-nogcc
2442 install-host-nogcc: \
2443 maybe-install-bfd \
2444 maybe-install-opcodes \
2445 maybe-install-binutils \
2446 maybe-install-bison \
2447 maybe-install-cgen \
2448 maybe-install-dejagnu \
2449 maybe-install-etc \
2450 maybe-install-fastjar \
2451 maybe-install-fixincludes \
2452 maybe-install-flex \
2453 maybe-install-gas \
2454 maybe-install-gmp \
2455 maybe-install-mpfr \
2456 maybe-install-mpc \
2457 maybe-install-isl \
2458 maybe-install-libelf \
2459 maybe-install-gold \
2460 maybe-install-gprof \
2461 maybe-install-intl \
2462 maybe-install-tcl \
2463 maybe-install-itcl \
2464 maybe-install-ld \
2465 maybe-install-libbacktrace \
2466 maybe-install-libcpp \
2467 maybe-install-libdecnumber \
2468 maybe-install-libgui \
2469 maybe-install-libiberty \
2470 maybe-install-libiberty-linker-plugin \
2471 maybe-install-libiconv \
2472 maybe-install-m4 \
2473 maybe-install-readline \
2474 maybe-install-sid \
2475 maybe-install-sim \
2476 maybe-install-texinfo \
2477 maybe-install-zlib \
2478 maybe-install-gdb \
2479 maybe-install-expect \
2480 maybe-install-guile \
2481 maybe-install-tk \
2482 maybe-install-libtermcap \
2483 maybe-install-utils \
2484 maybe-install-gnattools \
2485 maybe-install-lto-plugin \
2486 maybe-install-libcc1 \
2487 maybe-install-gotools
2489 .PHONY: install-host
2490 install-host: \
2491 maybe-install-bfd \
2492 maybe-install-opcodes \
2493 maybe-install-binutils \
2494 maybe-install-bison \
2495 maybe-install-cgen \
2496 maybe-install-dejagnu \
2497 maybe-install-etc \
2498 maybe-install-fastjar \
2499 maybe-install-fixincludes \
2500 maybe-install-flex \
2501 maybe-install-gas \
2502 maybe-install-gcc \
2503 maybe-install-gmp \
2504 maybe-install-mpfr \
2505 maybe-install-mpc \
2506 maybe-install-isl \
2507 maybe-install-libelf \
2508 maybe-install-gold \
2509 maybe-install-gprof \
2510 maybe-install-intl \
2511 maybe-install-tcl \
2512 maybe-install-itcl \
2513 maybe-install-ld \
2514 maybe-install-libbacktrace \
2515 maybe-install-libcpp \
2516 maybe-install-libdecnumber \
2517 maybe-install-libgui \
2518 maybe-install-libiberty \
2519 maybe-install-libiberty-linker-plugin \
2520 maybe-install-libiconv \
2521 maybe-install-m4 \
2522 maybe-install-readline \
2523 maybe-install-sid \
2524 maybe-install-sim \
2525 maybe-install-texinfo \
2526 maybe-install-zlib \
2527 maybe-install-gdb \
2528 maybe-install-expect \
2529 maybe-install-guile \
2530 maybe-install-tk \
2531 maybe-install-libtermcap \
2532 maybe-install-utils \
2533 maybe-install-gnattools \
2534 maybe-install-lto-plugin \
2535 maybe-install-libcc1 \
2536 maybe-install-gotools
2538 .PHONY: install-target
2539 install-target: \
2540 maybe-install-target-libstdc++-v3 \
2541 maybe-install-target-libsanitizer \
2542 maybe-install-target-libvtv \
2543 maybe-install-target-libcilkrts \
2544 maybe-install-target-liboffloadmic \
2545 maybe-install-target-libssp \
2546 maybe-install-target-newlib \
2547 maybe-install-target-libgcc \
2548 maybe-install-target-libbacktrace \
2549 maybe-install-target-libquadmath \
2550 maybe-install-target-libgfortran \
2551 maybe-install-target-libobjc \
2552 maybe-install-target-libgo \
2553 maybe-install-target-libtermcap \
2554 maybe-install-target-winsup \
2555 maybe-install-target-libgloss \
2556 maybe-install-target-libffi \
2557 maybe-install-target-libjava \
2558 maybe-install-target-zlib \
2559 maybe-install-target-boehm-gc \
2560 maybe-install-target-rda \
2561 maybe-install-target-libada \
2562 maybe-install-target-libgomp \
2563 maybe-install-target-libitm \
2564 maybe-install-target-libatomic
2566 uninstall:
2567 @echo "the uninstall target is not supported in this tree"
2569 .PHONY: install.all
2570 install.all: install-no-fixedincludes
2571 @if [ -f ./gcc/Makefile ] ; then \
2572 r=`${PWD_COMMAND}` ; export r ; \
2573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2574 $(HOST_EXPORTS) \
2575 (cd ./gcc && \
2576 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2577 else \
2578 true ; \
2581 # install-no-fixedincludes is used to allow the elaboration of binary packages
2582 # suitable for distribution, where we cannot include the fixed system header
2583 # files.
2584 .PHONY: install-no-fixedincludes
2585 install-no-fixedincludes: installdirs install-host-nogcc \
2586 install-target gcc-install-no-fixedincludes
2588 .PHONY: install-strip
2589 install-strip:
2590 @: $(MAKE); $(unstage)
2591 @r=`${PWD_COMMAND}`; export r; \
2592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2593 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-strip-host install-strip-target
2595 .PHONY: install-strip-host
2596 install-strip-host: \
2597 maybe-install-strip-bfd \
2598 maybe-install-strip-opcodes \
2599 maybe-install-strip-binutils \
2600 maybe-install-strip-bison \
2601 maybe-install-strip-cgen \
2602 maybe-install-strip-dejagnu \
2603 maybe-install-strip-etc \
2604 maybe-install-strip-fastjar \
2605 maybe-install-strip-fixincludes \
2606 maybe-install-strip-flex \
2607 maybe-install-strip-gas \
2608 maybe-install-strip-gcc \
2609 maybe-install-strip-gmp \
2610 maybe-install-strip-mpfr \
2611 maybe-install-strip-mpc \
2612 maybe-install-strip-isl \
2613 maybe-install-strip-libelf \
2614 maybe-install-strip-gold \
2615 maybe-install-strip-gprof \
2616 maybe-install-strip-intl \
2617 maybe-install-strip-tcl \
2618 maybe-install-strip-itcl \
2619 maybe-install-strip-ld \
2620 maybe-install-strip-libbacktrace \
2621 maybe-install-strip-libcpp \
2622 maybe-install-strip-libdecnumber \
2623 maybe-install-strip-libgui \
2624 maybe-install-strip-libiberty \
2625 maybe-install-strip-libiberty-linker-plugin \
2626 maybe-install-strip-libiconv \
2627 maybe-install-strip-m4 \
2628 maybe-install-strip-readline \
2629 maybe-install-strip-sid \
2630 maybe-install-strip-sim \
2631 maybe-install-strip-texinfo \
2632 maybe-install-strip-zlib \
2633 maybe-install-strip-gdb \
2634 maybe-install-strip-expect \
2635 maybe-install-strip-guile \
2636 maybe-install-strip-tk \
2637 maybe-install-strip-libtermcap \
2638 maybe-install-strip-utils \
2639 maybe-install-strip-gnattools \
2640 maybe-install-strip-lto-plugin \
2641 maybe-install-strip-libcc1 \
2642 maybe-install-strip-gotools
2644 .PHONY: install-strip-target
2645 install-strip-target: \
2646 maybe-install-strip-target-libstdc++-v3 \
2647 maybe-install-strip-target-libsanitizer \
2648 maybe-install-strip-target-libvtv \
2649 maybe-install-strip-target-libcilkrts \
2650 maybe-install-strip-target-liboffloadmic \
2651 maybe-install-strip-target-libssp \
2652 maybe-install-strip-target-newlib \
2653 maybe-install-strip-target-libgcc \
2654 maybe-install-strip-target-libbacktrace \
2655 maybe-install-strip-target-libquadmath \
2656 maybe-install-strip-target-libgfortran \
2657 maybe-install-strip-target-libobjc \
2658 maybe-install-strip-target-libgo \
2659 maybe-install-strip-target-libtermcap \
2660 maybe-install-strip-target-winsup \
2661 maybe-install-strip-target-libgloss \
2662 maybe-install-strip-target-libffi \
2663 maybe-install-strip-target-libjava \
2664 maybe-install-strip-target-zlib \
2665 maybe-install-strip-target-boehm-gc \
2666 maybe-install-strip-target-rda \
2667 maybe-install-strip-target-libada \
2668 maybe-install-strip-target-libgomp \
2669 maybe-install-strip-target-libitm \
2670 maybe-install-strip-target-libatomic
2673 ### other supporting targets
2675 MAKEDIRS= \
2676 $(DESTDIR)$(prefix) \
2677 $(DESTDIR)$(exec_prefix)
2678 .PHONY: installdirs
2679 installdirs: mkinstalldirs
2680 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2682 dir.info: do-install-info
2683 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2684 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2685 mv -f dir.info.new dir.info ; \
2686 else true ; \
2689 dist:
2690 @echo "Building a full distribution of this tree isn't done"
2691 @echo "via 'make dist'. Check out the etc/ subdirectory"
2693 etags tags: TAGS
2695 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2696 # ability to use several tags files at once, so there is probably no need
2697 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2698 # (if we felt like it) have this Makefile write a piece of elisp which
2699 # the user could load to tell emacs19 where all the TAGS files we just
2700 # built are.
2701 TAGS: do-TAGS
2703 # ------------------------------------
2704 # Macros for configure and all targets
2705 # ------------------------------------
2711 # --------------------------------------
2712 # Modules which run on the build machine
2713 # --------------------------------------
2716 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2717 maybe-configure-build-libiberty:
2718 @if gcc-bootstrap
2719 configure-build-libiberty: stage_current
2720 @endif gcc-bootstrap
2721 @if build-libiberty
2722 maybe-configure-build-libiberty: configure-build-libiberty
2723 configure-build-libiberty:
2724 @: $(MAKE); $(unstage)
2725 @r=`${PWD_COMMAND}`; export r; \
2726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2727 test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2728 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2729 $(BUILD_EXPORTS) \
2730 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2731 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2732 case $(srcdir) in \
2733 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2734 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2735 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2736 esac; \
2737 module_srcdir=libiberty; \
2738 rm -f no-such-file || : ; \
2739 CONFIG_SITE=no-such-file $(SHELL) \
2740 $$s/$$module_srcdir/configure \
2741 --srcdir=$${topdir}/$$module_srcdir \
2742 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2743 --target=${target_alias} \
2744 || exit 1
2745 @endif build-libiberty
2751 .PHONY: all-build-libiberty maybe-all-build-libiberty
2752 maybe-all-build-libiberty:
2753 @if gcc-bootstrap
2754 all-build-libiberty: stage_current
2755 @endif gcc-bootstrap
2756 @if build-libiberty
2757 TARGET-build-libiberty=all
2758 maybe-all-build-libiberty: all-build-libiberty
2759 all-build-libiberty: configure-build-libiberty
2760 @: $(MAKE); $(unstage)
2761 @r=`${PWD_COMMAND}`; export r; \
2762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2763 $(BUILD_EXPORTS) \
2764 (cd $(BUILD_SUBDIR)/libiberty && \
2765 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2766 $(TARGET-build-libiberty))
2767 @endif build-libiberty
2773 .PHONY: configure-build-bison maybe-configure-build-bison
2774 maybe-configure-build-bison:
2775 @if gcc-bootstrap
2776 configure-build-bison: stage_current
2777 @endif gcc-bootstrap
2778 @if build-bison
2779 maybe-configure-build-bison: configure-build-bison
2780 configure-build-bison:
2781 @: $(MAKE); $(unstage)
2782 @r=`${PWD_COMMAND}`; export r; \
2783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2784 test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2785 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2786 $(BUILD_EXPORTS) \
2787 echo Configuring in $(BUILD_SUBDIR)/bison; \
2788 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2789 case $(srcdir) in \
2790 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2791 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2792 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2793 esac; \
2794 module_srcdir=bison; \
2795 rm -f no-such-file || : ; \
2796 CONFIG_SITE=no-such-file $(SHELL) \
2797 $$s/$$module_srcdir/configure \
2798 --srcdir=$${topdir}/$$module_srcdir \
2799 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2800 --target=${target_alias} \
2801 || exit 1
2802 @endif build-bison
2808 .PHONY: all-build-bison maybe-all-build-bison
2809 maybe-all-build-bison:
2810 @if gcc-bootstrap
2811 all-build-bison: stage_current
2812 @endif gcc-bootstrap
2813 @if build-bison
2814 TARGET-build-bison=all
2815 maybe-all-build-bison: all-build-bison
2816 all-build-bison: configure-build-bison
2817 @: $(MAKE); $(unstage)
2818 @r=`${PWD_COMMAND}`; export r; \
2819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2820 $(BUILD_EXPORTS) \
2821 (cd $(BUILD_SUBDIR)/bison && \
2822 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2823 $(TARGET-build-bison))
2824 @endif build-bison
2830 .PHONY: configure-build-flex maybe-configure-build-flex
2831 maybe-configure-build-flex:
2832 @if gcc-bootstrap
2833 configure-build-flex: stage_current
2834 @endif gcc-bootstrap
2835 @if build-flex
2836 maybe-configure-build-flex: configure-build-flex
2837 configure-build-flex:
2838 @: $(MAKE); $(unstage)
2839 @r=`${PWD_COMMAND}`; export r; \
2840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2841 test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2842 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2843 $(BUILD_EXPORTS) \
2844 echo Configuring in $(BUILD_SUBDIR)/flex; \
2845 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2846 case $(srcdir) in \
2847 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2848 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2849 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2850 esac; \
2851 module_srcdir=flex; \
2852 rm -f no-such-file || : ; \
2853 CONFIG_SITE=no-such-file $(SHELL) \
2854 $$s/$$module_srcdir/configure \
2855 --srcdir=$${topdir}/$$module_srcdir \
2856 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2857 --target=${target_alias} \
2858 || exit 1
2859 @endif build-flex
2865 .PHONY: all-build-flex maybe-all-build-flex
2866 maybe-all-build-flex:
2867 @if gcc-bootstrap
2868 all-build-flex: stage_current
2869 @endif gcc-bootstrap
2870 @if build-flex
2871 TARGET-build-flex=all
2872 maybe-all-build-flex: all-build-flex
2873 all-build-flex: configure-build-flex
2874 @: $(MAKE); $(unstage)
2875 @r=`${PWD_COMMAND}`; export r; \
2876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2877 $(BUILD_EXPORTS) \
2878 (cd $(BUILD_SUBDIR)/flex && \
2879 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2880 $(TARGET-build-flex))
2881 @endif build-flex
2887 .PHONY: configure-build-m4 maybe-configure-build-m4
2888 maybe-configure-build-m4:
2889 @if gcc-bootstrap
2890 configure-build-m4: stage_current
2891 @endif gcc-bootstrap
2892 @if build-m4
2893 maybe-configure-build-m4: configure-build-m4
2894 configure-build-m4:
2895 @: $(MAKE); $(unstage)
2896 @r=`${PWD_COMMAND}`; export r; \
2897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2898 test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2899 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2900 $(BUILD_EXPORTS) \
2901 echo Configuring in $(BUILD_SUBDIR)/m4; \
2902 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2903 case $(srcdir) in \
2904 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2905 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
2906 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2907 esac; \
2908 module_srcdir=m4; \
2909 rm -f no-such-file || : ; \
2910 CONFIG_SITE=no-such-file $(SHELL) \
2911 $$s/$$module_srcdir/configure \
2912 --srcdir=$${topdir}/$$module_srcdir \
2913 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2914 --target=${target_alias} \
2915 || exit 1
2916 @endif build-m4
2922 .PHONY: all-build-m4 maybe-all-build-m4
2923 maybe-all-build-m4:
2924 @if gcc-bootstrap
2925 all-build-m4: stage_current
2926 @endif gcc-bootstrap
2927 @if build-m4
2928 TARGET-build-m4=all
2929 maybe-all-build-m4: all-build-m4
2930 all-build-m4: configure-build-m4
2931 @: $(MAKE); $(unstage)
2932 @r=`${PWD_COMMAND}`; export r; \
2933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2934 $(BUILD_EXPORTS) \
2935 (cd $(BUILD_SUBDIR)/m4 && \
2936 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2937 $(TARGET-build-m4))
2938 @endif build-m4
2944 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2945 maybe-configure-build-texinfo:
2946 @if gcc-bootstrap
2947 configure-build-texinfo: stage_current
2948 @endif gcc-bootstrap
2949 @if build-texinfo
2950 maybe-configure-build-texinfo: configure-build-texinfo
2951 configure-build-texinfo:
2952 @: $(MAKE); $(unstage)
2953 @r=`${PWD_COMMAND}`; export r; \
2954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2955 test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2956 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2957 $(BUILD_EXPORTS) \
2958 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2959 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2960 case $(srcdir) in \
2961 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2962 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
2963 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2964 esac; \
2965 module_srcdir=texinfo; \
2966 rm -f no-such-file || : ; \
2967 CONFIG_SITE=no-such-file $(SHELL) \
2968 $$s/$$module_srcdir/configure \
2969 --srcdir=$${topdir}/$$module_srcdir \
2970 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
2971 --target=${target_alias} \
2972 || exit 1
2973 @endif build-texinfo
2979 .PHONY: all-build-texinfo maybe-all-build-texinfo
2980 maybe-all-build-texinfo:
2981 @if gcc-bootstrap
2982 all-build-texinfo: stage_current
2983 @endif gcc-bootstrap
2984 @if build-texinfo
2985 TARGET-build-texinfo=all
2986 maybe-all-build-texinfo: all-build-texinfo
2987 all-build-texinfo: configure-build-texinfo
2988 @: $(MAKE); $(unstage)
2989 @r=`${PWD_COMMAND}`; export r; \
2990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2991 $(BUILD_EXPORTS) \
2992 (cd $(BUILD_SUBDIR)/texinfo && \
2993 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
2994 $(TARGET-build-texinfo))
2995 @endif build-texinfo
3001 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
3002 maybe-configure-build-fixincludes:
3003 @if gcc-bootstrap
3004 configure-build-fixincludes: stage_current
3005 @endif gcc-bootstrap
3006 @if build-fixincludes
3007 maybe-configure-build-fixincludes: configure-build-fixincludes
3008 configure-build-fixincludes:
3009 @: $(MAKE); $(unstage)
3010 @r=`${PWD_COMMAND}`; export r; \
3011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3012 test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
3013 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
3014 $(BUILD_EXPORTS) \
3015 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
3016 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
3017 case $(srcdir) in \
3018 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3019 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
3020 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3021 esac; \
3022 module_srcdir=fixincludes; \
3023 rm -f no-such-file || : ; \
3024 CONFIG_SITE=no-such-file $(SHELL) \
3025 $$s/$$module_srcdir/configure \
3026 --srcdir=$${topdir}/$$module_srcdir \
3027 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3028 --target=${target_alias} \
3029 || exit 1
3030 @endif build-fixincludes
3036 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
3037 maybe-all-build-fixincludes:
3038 @if gcc-bootstrap
3039 all-build-fixincludes: stage_current
3040 @endif gcc-bootstrap
3041 @if build-fixincludes
3042 TARGET-build-fixincludes=all
3043 maybe-all-build-fixincludes: all-build-fixincludes
3044 all-build-fixincludes: configure-build-fixincludes
3045 @: $(MAKE); $(unstage)
3046 @r=`${PWD_COMMAND}`; export r; \
3047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3048 $(BUILD_EXPORTS) \
3049 (cd $(BUILD_SUBDIR)/fixincludes && \
3050 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3051 $(TARGET-build-fixincludes))
3052 @endif build-fixincludes
3058 .PHONY: configure-build-libcpp maybe-configure-build-libcpp
3059 maybe-configure-build-libcpp:
3060 @if gcc-bootstrap
3061 configure-build-libcpp: stage_current
3062 @endif gcc-bootstrap
3063 @if build-libcpp
3064 maybe-configure-build-libcpp: configure-build-libcpp
3065 configure-build-libcpp:
3066 @: $(MAKE); $(unstage)
3067 @r=`${PWD_COMMAND}`; export r; \
3068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3069 test ! -f $(BUILD_SUBDIR)/libcpp/Makefile || exit 0; \
3070 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libcpp ; \
3071 $(BUILD_EXPORTS) \
3072 echo Configuring in $(BUILD_SUBDIR)/libcpp; \
3073 cd "$(BUILD_SUBDIR)/libcpp" || exit 1; \
3074 case $(srcdir) in \
3075 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3076 *) topdir=`echo $(BUILD_SUBDIR)/libcpp/ | \
3077 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3078 esac; \
3079 module_srcdir=libcpp; \
3080 rm -f no-such-file || : ; \
3081 CONFIG_SITE=no-such-file $(SHELL) \
3082 $$s/$$module_srcdir/configure \
3083 --srcdir=$${topdir}/$$module_srcdir \
3084 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
3085 --target=${target_alias} --disable-nls am_cv_func_iconv=no \
3086 || exit 1
3087 @endif build-libcpp
3093 .PHONY: all-build-libcpp maybe-all-build-libcpp
3094 maybe-all-build-libcpp:
3095 @if gcc-bootstrap
3096 all-build-libcpp: stage_current
3097 @endif gcc-bootstrap
3098 @if build-libcpp
3099 TARGET-build-libcpp=all
3100 maybe-all-build-libcpp: all-build-libcpp
3101 all-build-libcpp: configure-build-libcpp
3102 @: $(MAKE); $(unstage)
3103 @r=`${PWD_COMMAND}`; export r; \
3104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3105 $(BUILD_EXPORTS) \
3106 (cd $(BUILD_SUBDIR)/libcpp && \
3107 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
3108 $(TARGET-build-libcpp))
3109 @endif build-libcpp
3115 # --------------------------------------
3116 # Modules which run on the host machine
3117 # --------------------------------------
3120 .PHONY: configure-bfd maybe-configure-bfd
3121 maybe-configure-bfd:
3122 @if gcc-bootstrap
3123 configure-bfd: stage_current
3124 @endif gcc-bootstrap
3125 @if bfd
3126 maybe-configure-bfd: configure-bfd
3127 configure-bfd:
3128 @r=`${PWD_COMMAND}`; export r; \
3129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3130 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3131 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3132 $(HOST_EXPORTS) \
3133 echo Configuring in $(HOST_SUBDIR)/bfd; \
3134 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
3135 case $(srcdir) in \
3136 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3137 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3138 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3139 esac; \
3140 module_srcdir=bfd; \
3141 $(SHELL) \
3142 $$s/$$module_srcdir/configure \
3143 --srcdir=$${topdir}/$$module_srcdir \
3144 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3145 --target=${target_alias} \
3146 || exit 1
3147 @endif bfd
3151 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
3152 maybe-configure-stage1-bfd:
3153 @if bfd-bootstrap
3154 maybe-configure-stage1-bfd: configure-stage1-bfd
3155 configure-stage1-bfd:
3156 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3157 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3158 @r=`${PWD_COMMAND}`; export r; \
3159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3160 TFLAGS="$(STAGE1_TFLAGS)"; \
3161 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3162 $(HOST_EXPORTS) \
3163 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
3164 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
3165 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
3166 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd ; \
3167 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3168 cd $(HOST_SUBDIR)/bfd || exit 1; \
3169 case $(srcdir) in \
3170 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3171 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3172 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3173 esac; \
3174 module_srcdir=bfd; \
3175 $(SHELL) $$s/$$module_srcdir/configure \
3176 --srcdir=$${topdir}/$$module_srcdir \
3177 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3178 --target=${target_alias} \
3180 $(STAGE1_CONFIGURE_FLAGS)
3181 @endif bfd-bootstrap
3183 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
3184 maybe-configure-stage2-bfd:
3185 @if bfd-bootstrap
3186 maybe-configure-stage2-bfd: configure-stage2-bfd
3187 configure-stage2-bfd:
3188 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3189 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3190 @r=`${PWD_COMMAND}`; export r; \
3191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3192 TFLAGS="$(STAGE2_TFLAGS)"; \
3193 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3194 $(HOST_EXPORTS) \
3195 $(POSTSTAGE1_HOST_EXPORTS) \
3196 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
3197 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
3198 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
3199 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd ; \
3200 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3201 cd $(HOST_SUBDIR)/bfd || exit 1; \
3202 case $(srcdir) in \
3203 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3204 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3205 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3206 esac; \
3207 module_srcdir=bfd; \
3208 $(SHELL) $$s/$$module_srcdir/configure \
3209 --srcdir=$${topdir}/$$module_srcdir \
3210 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3211 --target=${target_alias} \
3212 --with-build-libsubdir=$(HOST_SUBDIR) \
3213 $(STAGE2_CONFIGURE_FLAGS)
3214 @endif bfd-bootstrap
3216 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
3217 maybe-configure-stage3-bfd:
3218 @if bfd-bootstrap
3219 maybe-configure-stage3-bfd: configure-stage3-bfd
3220 configure-stage3-bfd:
3221 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3222 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3223 @r=`${PWD_COMMAND}`; export r; \
3224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3225 TFLAGS="$(STAGE3_TFLAGS)"; \
3226 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3227 $(HOST_EXPORTS) \
3228 $(POSTSTAGE1_HOST_EXPORTS) \
3229 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
3230 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
3231 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
3232 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd ; \
3233 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3234 cd $(HOST_SUBDIR)/bfd || exit 1; \
3235 case $(srcdir) in \
3236 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3237 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3238 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3239 esac; \
3240 module_srcdir=bfd; \
3241 $(SHELL) $$s/$$module_srcdir/configure \
3242 --srcdir=$${topdir}/$$module_srcdir \
3243 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3244 --target=${target_alias} \
3245 --with-build-libsubdir=$(HOST_SUBDIR) \
3246 $(STAGE3_CONFIGURE_FLAGS)
3247 @endif bfd-bootstrap
3249 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
3250 maybe-configure-stage4-bfd:
3251 @if bfd-bootstrap
3252 maybe-configure-stage4-bfd: configure-stage4-bfd
3253 configure-stage4-bfd:
3254 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3255 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3256 @r=`${PWD_COMMAND}`; export r; \
3257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3258 TFLAGS="$(STAGE4_TFLAGS)"; \
3259 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3260 $(HOST_EXPORTS) \
3261 $(POSTSTAGE1_HOST_EXPORTS) \
3262 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
3263 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
3264 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
3265 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd ; \
3266 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3267 cd $(HOST_SUBDIR)/bfd || exit 1; \
3268 case $(srcdir) in \
3269 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3270 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3271 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3272 esac; \
3273 module_srcdir=bfd; \
3274 $(SHELL) $$s/$$module_srcdir/configure \
3275 --srcdir=$${topdir}/$$module_srcdir \
3276 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3277 --target=${target_alias} \
3278 --with-build-libsubdir=$(HOST_SUBDIR) \
3279 $(STAGE4_CONFIGURE_FLAGS)
3280 @endif bfd-bootstrap
3282 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
3283 maybe-configure-stageprofile-bfd:
3284 @if bfd-bootstrap
3285 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
3286 configure-stageprofile-bfd:
3287 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3288 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3289 @r=`${PWD_COMMAND}`; export r; \
3290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3291 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3292 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3293 $(HOST_EXPORTS) \
3294 $(POSTSTAGE1_HOST_EXPORTS) \
3295 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
3296 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
3297 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
3298 echo Configuring stage profile in $(HOST_SUBDIR)/bfd ; \
3299 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3300 cd $(HOST_SUBDIR)/bfd || exit 1; \
3301 case $(srcdir) in \
3302 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3303 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3304 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3305 esac; \
3306 module_srcdir=bfd; \
3307 $(SHELL) $$s/$$module_srcdir/configure \
3308 --srcdir=$${topdir}/$$module_srcdir \
3309 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3310 --target=${target_alias} \
3311 --with-build-libsubdir=$(HOST_SUBDIR) \
3312 $(STAGEprofile_CONFIGURE_FLAGS)
3313 @endif bfd-bootstrap
3315 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
3316 maybe-configure-stagefeedback-bfd:
3317 @if bfd-bootstrap
3318 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
3319 configure-stagefeedback-bfd:
3320 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3321 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
3322 @r=`${PWD_COMMAND}`; export r; \
3323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3324 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3325 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3326 $(HOST_EXPORTS) \
3327 $(POSTSTAGE1_HOST_EXPORTS) \
3328 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
3329 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
3330 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
3331 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd ; \
3332 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3333 cd $(HOST_SUBDIR)/bfd || exit 1; \
3334 case $(srcdir) in \
3335 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3336 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3337 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3338 esac; \
3339 module_srcdir=bfd; \
3340 $(SHELL) $$s/$$module_srcdir/configure \
3341 --srcdir=$${topdir}/$$module_srcdir \
3342 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
3343 --target=${target_alias} \
3344 --with-build-libsubdir=$(HOST_SUBDIR) \
3345 $(STAGEfeedback_CONFIGURE_FLAGS)
3346 @endif bfd-bootstrap
3352 .PHONY: all-bfd maybe-all-bfd
3353 maybe-all-bfd:
3354 @if gcc-bootstrap
3355 all-bfd: stage_current
3356 @endif gcc-bootstrap
3357 @if bfd
3358 TARGET-bfd=all
3359 maybe-all-bfd: all-bfd
3360 all-bfd: configure-bfd
3361 @r=`${PWD_COMMAND}`; export r; \
3362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3363 $(HOST_EXPORTS) \
3364 (cd $(HOST_SUBDIR)/bfd && \
3365 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
3366 $(TARGET-bfd))
3367 @endif bfd
3371 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
3372 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
3373 maybe-all-stage1-bfd:
3374 maybe-clean-stage1-bfd:
3375 @if bfd-bootstrap
3376 maybe-all-stage1-bfd: all-stage1-bfd
3377 all-stage1: all-stage1-bfd
3378 TARGET-stage1-bfd = $(TARGET-bfd)
3379 all-stage1-bfd: configure-stage1-bfd
3380 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
3381 @r=`${PWD_COMMAND}`; export r; \
3382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3383 TFLAGS="$(STAGE1_TFLAGS)"; \
3384 $(HOST_EXPORTS) \
3385 cd $(HOST_SUBDIR)/bfd && \
3386 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3387 CFLAGS="$(STAGE1_CFLAGS)" \
3388 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
3389 LIBCFLAGS="$(LIBCFLAGS)" \
3390 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3391 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3392 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3393 $(EXTRA_HOST_FLAGS) \
3394 $(STAGE1_FLAGS_TO_PASS) \
3395 TFLAGS="$(STAGE1_TFLAGS)" \
3396 $(TARGET-stage1-bfd)
3398 maybe-clean-stage1-bfd: clean-stage1-bfd
3399 clean-stage1: clean-stage1-bfd
3400 clean-stage1-bfd:
3401 @if [ $(current_stage) = stage1 ]; then \
3402 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3403 else \
3404 [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] || exit 0; \
3405 $(MAKE) stage1-start; \
3406 fi; \
3407 cd $(HOST_SUBDIR)/bfd && \
3408 $(MAKE) $(EXTRA_HOST_FLAGS) \
3409 $(STAGE1_FLAGS_TO_PASS) clean
3410 @endif bfd-bootstrap
3413 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
3414 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
3415 maybe-all-stage2-bfd:
3416 maybe-clean-stage2-bfd:
3417 @if bfd-bootstrap
3418 maybe-all-stage2-bfd: all-stage2-bfd
3419 all-stage2: all-stage2-bfd
3420 TARGET-stage2-bfd = $(TARGET-bfd)
3421 all-stage2-bfd: configure-stage2-bfd
3422 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
3423 @r=`${PWD_COMMAND}`; export r; \
3424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3425 TFLAGS="$(STAGE2_TFLAGS)"; \
3426 $(HOST_EXPORTS) \
3427 $(POSTSTAGE1_HOST_EXPORTS) \
3428 cd $(HOST_SUBDIR)/bfd && \
3429 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3430 CFLAGS="$(STAGE2_CFLAGS)" \
3431 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
3432 LIBCFLAGS="$(STAGE2_CFLAGS)" \
3433 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3434 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3435 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3436 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3437 TFLAGS="$(STAGE2_TFLAGS)" \
3438 $(TARGET-stage2-bfd)
3440 maybe-clean-stage2-bfd: clean-stage2-bfd
3441 clean-stage2: clean-stage2-bfd
3442 clean-stage2-bfd:
3443 @if [ $(current_stage) = stage2 ]; then \
3444 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3445 else \
3446 [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] || exit 0; \
3447 $(MAKE) stage2-start; \
3448 fi; \
3449 cd $(HOST_SUBDIR)/bfd && \
3450 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3451 @endif bfd-bootstrap
3454 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
3455 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
3456 maybe-all-stage3-bfd:
3457 maybe-clean-stage3-bfd:
3458 @if bfd-bootstrap
3459 maybe-all-stage3-bfd: all-stage3-bfd
3460 all-stage3: all-stage3-bfd
3461 TARGET-stage3-bfd = $(TARGET-bfd)
3462 all-stage3-bfd: configure-stage3-bfd
3463 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
3464 @r=`${PWD_COMMAND}`; export r; \
3465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3466 TFLAGS="$(STAGE3_TFLAGS)"; \
3467 $(HOST_EXPORTS) \
3468 $(POSTSTAGE1_HOST_EXPORTS) \
3469 cd $(HOST_SUBDIR)/bfd && \
3470 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3471 CFLAGS="$(STAGE3_CFLAGS)" \
3472 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
3473 LIBCFLAGS="$(STAGE3_CFLAGS)" \
3474 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3475 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3476 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3477 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3478 TFLAGS="$(STAGE3_TFLAGS)" \
3479 $(TARGET-stage3-bfd)
3481 maybe-clean-stage3-bfd: clean-stage3-bfd
3482 clean-stage3: clean-stage3-bfd
3483 clean-stage3-bfd:
3484 @if [ $(current_stage) = stage3 ]; then \
3485 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3486 else \
3487 [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] || exit 0; \
3488 $(MAKE) stage3-start; \
3489 fi; \
3490 cd $(HOST_SUBDIR)/bfd && \
3491 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3492 @endif bfd-bootstrap
3495 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
3496 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
3497 maybe-all-stage4-bfd:
3498 maybe-clean-stage4-bfd:
3499 @if bfd-bootstrap
3500 maybe-all-stage4-bfd: all-stage4-bfd
3501 all-stage4: all-stage4-bfd
3502 TARGET-stage4-bfd = $(TARGET-bfd)
3503 all-stage4-bfd: configure-stage4-bfd
3504 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
3505 @r=`${PWD_COMMAND}`; export r; \
3506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3507 TFLAGS="$(STAGE4_TFLAGS)"; \
3508 $(HOST_EXPORTS) \
3509 $(POSTSTAGE1_HOST_EXPORTS) \
3510 cd $(HOST_SUBDIR)/bfd && \
3511 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3512 CFLAGS="$(STAGE4_CFLAGS)" \
3513 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
3514 LIBCFLAGS="$(STAGE4_CFLAGS)" \
3515 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3516 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3517 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3518 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3519 TFLAGS="$(STAGE4_TFLAGS)" \
3520 $(TARGET-stage4-bfd)
3522 maybe-clean-stage4-bfd: clean-stage4-bfd
3523 clean-stage4: clean-stage4-bfd
3524 clean-stage4-bfd:
3525 @if [ $(current_stage) = stage4 ]; then \
3526 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3527 else \
3528 [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] || exit 0; \
3529 $(MAKE) stage4-start; \
3530 fi; \
3531 cd $(HOST_SUBDIR)/bfd && \
3532 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3533 @endif bfd-bootstrap
3536 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
3537 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
3538 maybe-all-stageprofile-bfd:
3539 maybe-clean-stageprofile-bfd:
3540 @if bfd-bootstrap
3541 maybe-all-stageprofile-bfd: all-stageprofile-bfd
3542 all-stageprofile: all-stageprofile-bfd
3543 TARGET-stageprofile-bfd = $(TARGET-bfd)
3544 all-stageprofile-bfd: configure-stageprofile-bfd
3545 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
3546 @r=`${PWD_COMMAND}`; export r; \
3547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3548 TFLAGS="$(STAGEprofile_TFLAGS)"; \
3549 $(HOST_EXPORTS) \
3550 $(POSTSTAGE1_HOST_EXPORTS) \
3551 cd $(HOST_SUBDIR)/bfd && \
3552 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3553 CFLAGS="$(STAGEprofile_CFLAGS)" \
3554 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
3555 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
3556 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3557 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3558 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3559 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3560 TFLAGS="$(STAGEprofile_TFLAGS)" \
3561 $(TARGET-stageprofile-bfd)
3563 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
3564 clean-stageprofile: clean-stageprofile-bfd
3565 clean-stageprofile-bfd:
3566 @if [ $(current_stage) = stageprofile ]; then \
3567 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3568 else \
3569 [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] || exit 0; \
3570 $(MAKE) stageprofile-start; \
3571 fi; \
3572 cd $(HOST_SUBDIR)/bfd && \
3573 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3574 @endif bfd-bootstrap
3577 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
3578 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
3579 maybe-all-stagefeedback-bfd:
3580 maybe-clean-stagefeedback-bfd:
3581 @if bfd-bootstrap
3582 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
3583 all-stagefeedback: all-stagefeedback-bfd
3584 TARGET-stagefeedback-bfd = $(TARGET-bfd)
3585 all-stagefeedback-bfd: configure-stagefeedback-bfd
3586 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
3587 @r=`${PWD_COMMAND}`; export r; \
3588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3589 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
3590 $(HOST_EXPORTS) \
3591 $(POSTSTAGE1_HOST_EXPORTS) \
3592 cd $(HOST_SUBDIR)/bfd && \
3593 $(MAKE) $(BASE_FLAGS_TO_PASS) \
3594 CFLAGS="$(STAGEfeedback_CFLAGS)" \
3595 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
3596 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
3597 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
3598 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
3599 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
3600 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
3601 TFLAGS="$(STAGEfeedback_TFLAGS)" \
3602 $(TARGET-stagefeedback-bfd)
3604 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
3605 clean-stagefeedback: clean-stagefeedback-bfd
3606 clean-stagefeedback-bfd:
3607 @if [ $(current_stage) = stagefeedback ]; then \
3608 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
3609 else \
3610 [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] || exit 0; \
3611 $(MAKE) stagefeedback-start; \
3612 fi; \
3613 cd $(HOST_SUBDIR)/bfd && \
3614 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
3615 @endif bfd-bootstrap
3621 .PHONY: check-bfd maybe-check-bfd
3622 maybe-check-bfd:
3623 @if bfd
3624 maybe-check-bfd: check-bfd
3626 check-bfd:
3627 @: $(MAKE); $(unstage)
3628 @r=`${PWD_COMMAND}`; export r; \
3629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3630 $(HOST_EXPORTS) \
3631 (cd $(HOST_SUBDIR)/bfd && \
3632 $(MAKE) $(FLAGS_TO_PASS) check)
3634 @endif bfd
3636 .PHONY: install-bfd maybe-install-bfd
3637 maybe-install-bfd:
3638 @if bfd
3639 maybe-install-bfd: install-bfd
3641 install-bfd: installdirs
3642 @: $(MAKE); $(unstage)
3643 @r=`${PWD_COMMAND}`; export r; \
3644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3645 $(HOST_EXPORTS) \
3646 (cd $(HOST_SUBDIR)/bfd && \
3647 $(MAKE) $(FLAGS_TO_PASS) install)
3649 @endif bfd
3651 .PHONY: install-strip-bfd maybe-install-strip-bfd
3652 maybe-install-strip-bfd:
3653 @if bfd
3654 maybe-install-strip-bfd: install-strip-bfd
3656 install-strip-bfd: installdirs
3657 @: $(MAKE); $(unstage)
3658 @r=`${PWD_COMMAND}`; export r; \
3659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3660 $(HOST_EXPORTS) \
3661 (cd $(HOST_SUBDIR)/bfd && \
3662 $(MAKE) $(FLAGS_TO_PASS) install-strip)
3664 @endif bfd
3666 # Other targets (info, dvi, pdf, etc.)
3668 .PHONY: maybe-info-bfd info-bfd
3669 maybe-info-bfd:
3670 @if bfd
3671 maybe-info-bfd: info-bfd
3673 info-bfd: \
3674 configure-bfd
3675 @[ -f ./bfd/Makefile ] || exit 0; \
3676 r=`${PWD_COMMAND}`; export r; \
3677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3678 $(HOST_EXPORTS) \
3679 for flag in $(EXTRA_HOST_FLAGS) ; do \
3680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3681 done; \
3682 echo "Doing info in bfd" ; \
3683 (cd $(HOST_SUBDIR)/bfd && \
3684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3686 "RANLIB=$${RANLIB}" \
3687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3688 info) \
3689 || exit 1
3691 @endif bfd
3693 .PHONY: maybe-dvi-bfd dvi-bfd
3694 maybe-dvi-bfd:
3695 @if bfd
3696 maybe-dvi-bfd: dvi-bfd
3698 dvi-bfd: \
3699 configure-bfd
3700 @[ -f ./bfd/Makefile ] || exit 0; \
3701 r=`${PWD_COMMAND}`; export r; \
3702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3703 $(HOST_EXPORTS) \
3704 for flag in $(EXTRA_HOST_FLAGS) ; do \
3705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3706 done; \
3707 echo "Doing dvi in bfd" ; \
3708 (cd $(HOST_SUBDIR)/bfd && \
3709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3711 "RANLIB=$${RANLIB}" \
3712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3713 dvi) \
3714 || exit 1
3716 @endif bfd
3718 .PHONY: maybe-pdf-bfd pdf-bfd
3719 maybe-pdf-bfd:
3720 @if bfd
3721 maybe-pdf-bfd: pdf-bfd
3723 pdf-bfd: \
3724 configure-bfd
3725 @[ -f ./bfd/Makefile ] || exit 0; \
3726 r=`${PWD_COMMAND}`; export r; \
3727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3728 $(HOST_EXPORTS) \
3729 for flag in $(EXTRA_HOST_FLAGS) ; do \
3730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3731 done; \
3732 echo "Doing pdf in bfd" ; \
3733 (cd $(HOST_SUBDIR)/bfd && \
3734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3736 "RANLIB=$${RANLIB}" \
3737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3738 pdf) \
3739 || exit 1
3741 @endif bfd
3743 .PHONY: maybe-html-bfd html-bfd
3744 maybe-html-bfd:
3745 @if bfd
3746 maybe-html-bfd: html-bfd
3748 html-bfd: \
3749 configure-bfd
3750 @[ -f ./bfd/Makefile ] || exit 0; \
3751 r=`${PWD_COMMAND}`; export r; \
3752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3753 $(HOST_EXPORTS) \
3754 for flag in $(EXTRA_HOST_FLAGS) ; do \
3755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3756 done; \
3757 echo "Doing html in bfd" ; \
3758 (cd $(HOST_SUBDIR)/bfd && \
3759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3761 "RANLIB=$${RANLIB}" \
3762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3763 html) \
3764 || exit 1
3766 @endif bfd
3768 .PHONY: maybe-TAGS-bfd TAGS-bfd
3769 maybe-TAGS-bfd:
3770 @if bfd
3771 maybe-TAGS-bfd: TAGS-bfd
3773 TAGS-bfd: \
3774 configure-bfd
3775 @[ -f ./bfd/Makefile ] || exit 0; \
3776 r=`${PWD_COMMAND}`; export r; \
3777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3778 $(HOST_EXPORTS) \
3779 for flag in $(EXTRA_HOST_FLAGS) ; do \
3780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3781 done; \
3782 echo "Doing TAGS in bfd" ; \
3783 (cd $(HOST_SUBDIR)/bfd && \
3784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3786 "RANLIB=$${RANLIB}" \
3787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3788 TAGS) \
3789 || exit 1
3791 @endif bfd
3793 .PHONY: maybe-install-info-bfd install-info-bfd
3794 maybe-install-info-bfd:
3795 @if bfd
3796 maybe-install-info-bfd: install-info-bfd
3798 install-info-bfd: \
3799 configure-bfd \
3800 info-bfd
3801 @[ -f ./bfd/Makefile ] || exit 0; \
3802 r=`${PWD_COMMAND}`; export r; \
3803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3804 $(HOST_EXPORTS) \
3805 for flag in $(EXTRA_HOST_FLAGS) ; do \
3806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3807 done; \
3808 echo "Doing install-info in bfd" ; \
3809 (cd $(HOST_SUBDIR)/bfd && \
3810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3812 "RANLIB=$${RANLIB}" \
3813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3814 install-info) \
3815 || exit 1
3817 @endif bfd
3819 .PHONY: maybe-install-pdf-bfd install-pdf-bfd
3820 maybe-install-pdf-bfd:
3821 @if bfd
3822 maybe-install-pdf-bfd: install-pdf-bfd
3824 install-pdf-bfd: \
3825 configure-bfd \
3826 pdf-bfd
3827 @[ -f ./bfd/Makefile ] || exit 0; \
3828 r=`${PWD_COMMAND}`; export r; \
3829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3830 $(HOST_EXPORTS) \
3831 for flag in $(EXTRA_HOST_FLAGS) ; do \
3832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3833 done; \
3834 echo "Doing install-pdf in bfd" ; \
3835 (cd $(HOST_SUBDIR)/bfd && \
3836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3838 "RANLIB=$${RANLIB}" \
3839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3840 install-pdf) \
3841 || exit 1
3843 @endif bfd
3845 .PHONY: maybe-install-html-bfd install-html-bfd
3846 maybe-install-html-bfd:
3847 @if bfd
3848 maybe-install-html-bfd: install-html-bfd
3850 install-html-bfd: \
3851 configure-bfd \
3852 html-bfd
3853 @[ -f ./bfd/Makefile ] || exit 0; \
3854 r=`${PWD_COMMAND}`; export r; \
3855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3856 $(HOST_EXPORTS) \
3857 for flag in $(EXTRA_HOST_FLAGS) ; do \
3858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3859 done; \
3860 echo "Doing install-html in bfd" ; \
3861 (cd $(HOST_SUBDIR)/bfd && \
3862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3864 "RANLIB=$${RANLIB}" \
3865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3866 install-html) \
3867 || exit 1
3869 @endif bfd
3871 .PHONY: maybe-installcheck-bfd installcheck-bfd
3872 maybe-installcheck-bfd:
3873 @if bfd
3874 maybe-installcheck-bfd: installcheck-bfd
3876 installcheck-bfd: \
3877 configure-bfd
3878 @[ -f ./bfd/Makefile ] || exit 0; \
3879 r=`${PWD_COMMAND}`; export r; \
3880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3881 $(HOST_EXPORTS) \
3882 for flag in $(EXTRA_HOST_FLAGS) ; do \
3883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3884 done; \
3885 echo "Doing installcheck in bfd" ; \
3886 (cd $(HOST_SUBDIR)/bfd && \
3887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3889 "RANLIB=$${RANLIB}" \
3890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3891 installcheck) \
3892 || exit 1
3894 @endif bfd
3896 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
3897 maybe-mostlyclean-bfd:
3898 @if bfd
3899 maybe-mostlyclean-bfd: mostlyclean-bfd
3901 mostlyclean-bfd:
3902 @[ -f ./bfd/Makefile ] || exit 0; \
3903 r=`${PWD_COMMAND}`; export r; \
3904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3905 $(HOST_EXPORTS) \
3906 for flag in $(EXTRA_HOST_FLAGS) ; do \
3907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3908 done; \
3909 echo "Doing mostlyclean in bfd" ; \
3910 (cd $(HOST_SUBDIR)/bfd && \
3911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3913 "RANLIB=$${RANLIB}" \
3914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3915 mostlyclean) \
3916 || exit 1
3918 @endif bfd
3920 .PHONY: maybe-clean-bfd clean-bfd
3921 maybe-clean-bfd:
3922 @if bfd
3923 maybe-clean-bfd: clean-bfd
3925 clean-bfd:
3926 @[ -f ./bfd/Makefile ] || exit 0; \
3927 r=`${PWD_COMMAND}`; export r; \
3928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3929 $(HOST_EXPORTS) \
3930 for flag in $(EXTRA_HOST_FLAGS) ; do \
3931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3932 done; \
3933 echo "Doing clean in bfd" ; \
3934 (cd $(HOST_SUBDIR)/bfd && \
3935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3937 "RANLIB=$${RANLIB}" \
3938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3939 clean) \
3940 || exit 1
3942 @endif bfd
3944 .PHONY: maybe-distclean-bfd distclean-bfd
3945 maybe-distclean-bfd:
3946 @if bfd
3947 maybe-distclean-bfd: distclean-bfd
3949 distclean-bfd:
3950 @[ -f ./bfd/Makefile ] || exit 0; \
3951 r=`${PWD_COMMAND}`; export r; \
3952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3953 $(HOST_EXPORTS) \
3954 for flag in $(EXTRA_HOST_FLAGS) ; do \
3955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3956 done; \
3957 echo "Doing distclean in bfd" ; \
3958 (cd $(HOST_SUBDIR)/bfd && \
3959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3961 "RANLIB=$${RANLIB}" \
3962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3963 distclean) \
3964 || exit 1
3966 @endif bfd
3968 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
3969 maybe-maintainer-clean-bfd:
3970 @if bfd
3971 maybe-maintainer-clean-bfd: maintainer-clean-bfd
3973 maintainer-clean-bfd:
3974 @[ -f ./bfd/Makefile ] || exit 0; \
3975 r=`${PWD_COMMAND}`; export r; \
3976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3977 $(HOST_EXPORTS) \
3978 for flag in $(EXTRA_HOST_FLAGS) ; do \
3979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3980 done; \
3981 echo "Doing maintainer-clean in bfd" ; \
3982 (cd $(HOST_SUBDIR)/bfd && \
3983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3985 "RANLIB=$${RANLIB}" \
3986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
3987 maintainer-clean) \
3988 || exit 1
3990 @endif bfd
3994 .PHONY: configure-opcodes maybe-configure-opcodes
3995 maybe-configure-opcodes:
3996 @if gcc-bootstrap
3997 configure-opcodes: stage_current
3998 @endif gcc-bootstrap
3999 @if opcodes
4000 maybe-configure-opcodes: configure-opcodes
4001 configure-opcodes:
4002 @r=`${PWD_COMMAND}`; export r; \
4003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4004 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4005 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4006 $(HOST_EXPORTS) \
4007 echo Configuring in $(HOST_SUBDIR)/opcodes; \
4008 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
4009 case $(srcdir) in \
4010 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4011 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4012 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4013 esac; \
4014 module_srcdir=opcodes; \
4015 $(SHELL) \
4016 $$s/$$module_srcdir/configure \
4017 --srcdir=$${topdir}/$$module_srcdir \
4018 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4019 --target=${target_alias} \
4020 || exit 1
4021 @endif opcodes
4025 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
4026 maybe-configure-stage1-opcodes:
4027 @if opcodes-bootstrap
4028 maybe-configure-stage1-opcodes: configure-stage1-opcodes
4029 configure-stage1-opcodes:
4030 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4031 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4032 @r=`${PWD_COMMAND}`; export r; \
4033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4034 TFLAGS="$(STAGE1_TFLAGS)"; \
4035 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4036 $(HOST_EXPORTS) \
4037 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
4038 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
4039 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
4040 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes ; \
4041 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4042 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4043 case $(srcdir) in \
4044 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4045 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4046 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4047 esac; \
4048 module_srcdir=opcodes; \
4049 $(SHELL) $$s/$$module_srcdir/configure \
4050 --srcdir=$${topdir}/$$module_srcdir \
4051 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4052 --target=${target_alias} \
4054 $(STAGE1_CONFIGURE_FLAGS)
4055 @endif opcodes-bootstrap
4057 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
4058 maybe-configure-stage2-opcodes:
4059 @if opcodes-bootstrap
4060 maybe-configure-stage2-opcodes: configure-stage2-opcodes
4061 configure-stage2-opcodes:
4062 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4063 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4064 @r=`${PWD_COMMAND}`; export r; \
4065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4066 TFLAGS="$(STAGE2_TFLAGS)"; \
4067 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4068 $(HOST_EXPORTS) \
4069 $(POSTSTAGE1_HOST_EXPORTS) \
4070 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
4071 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
4072 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
4073 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes ; \
4074 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4075 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4076 case $(srcdir) in \
4077 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4078 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4079 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4080 esac; \
4081 module_srcdir=opcodes; \
4082 $(SHELL) $$s/$$module_srcdir/configure \
4083 --srcdir=$${topdir}/$$module_srcdir \
4084 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4085 --target=${target_alias} \
4086 --with-build-libsubdir=$(HOST_SUBDIR) \
4087 $(STAGE2_CONFIGURE_FLAGS)
4088 @endif opcodes-bootstrap
4090 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
4091 maybe-configure-stage3-opcodes:
4092 @if opcodes-bootstrap
4093 maybe-configure-stage3-opcodes: configure-stage3-opcodes
4094 configure-stage3-opcodes:
4095 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4096 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4097 @r=`${PWD_COMMAND}`; export r; \
4098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4099 TFLAGS="$(STAGE3_TFLAGS)"; \
4100 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4101 $(HOST_EXPORTS) \
4102 $(POSTSTAGE1_HOST_EXPORTS) \
4103 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
4104 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
4105 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
4106 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes ; \
4107 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4108 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4109 case $(srcdir) in \
4110 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4111 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4112 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4113 esac; \
4114 module_srcdir=opcodes; \
4115 $(SHELL) $$s/$$module_srcdir/configure \
4116 --srcdir=$${topdir}/$$module_srcdir \
4117 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4118 --target=${target_alias} \
4119 --with-build-libsubdir=$(HOST_SUBDIR) \
4120 $(STAGE3_CONFIGURE_FLAGS)
4121 @endif opcodes-bootstrap
4123 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
4124 maybe-configure-stage4-opcodes:
4125 @if opcodes-bootstrap
4126 maybe-configure-stage4-opcodes: configure-stage4-opcodes
4127 configure-stage4-opcodes:
4128 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4129 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4130 @r=`${PWD_COMMAND}`; export r; \
4131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4132 TFLAGS="$(STAGE4_TFLAGS)"; \
4133 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4134 $(HOST_EXPORTS) \
4135 $(POSTSTAGE1_HOST_EXPORTS) \
4136 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
4137 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
4138 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
4139 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes ; \
4140 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4141 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4142 case $(srcdir) in \
4143 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4144 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4145 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4146 esac; \
4147 module_srcdir=opcodes; \
4148 $(SHELL) $$s/$$module_srcdir/configure \
4149 --srcdir=$${topdir}/$$module_srcdir \
4150 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4151 --target=${target_alias} \
4152 --with-build-libsubdir=$(HOST_SUBDIR) \
4153 $(STAGE4_CONFIGURE_FLAGS)
4154 @endif opcodes-bootstrap
4156 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
4157 maybe-configure-stageprofile-opcodes:
4158 @if opcodes-bootstrap
4159 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
4160 configure-stageprofile-opcodes:
4161 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4162 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4163 @r=`${PWD_COMMAND}`; export r; \
4164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4165 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4166 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4167 $(HOST_EXPORTS) \
4168 $(POSTSTAGE1_HOST_EXPORTS) \
4169 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
4170 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
4171 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
4172 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes ; \
4173 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4174 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4175 case $(srcdir) in \
4176 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4177 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4178 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4179 esac; \
4180 module_srcdir=opcodes; \
4181 $(SHELL) $$s/$$module_srcdir/configure \
4182 --srcdir=$${topdir}/$$module_srcdir \
4183 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4184 --target=${target_alias} \
4185 --with-build-libsubdir=$(HOST_SUBDIR) \
4186 $(STAGEprofile_CONFIGURE_FLAGS)
4187 @endif opcodes-bootstrap
4189 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
4190 maybe-configure-stagefeedback-opcodes:
4191 @if opcodes-bootstrap
4192 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
4193 configure-stagefeedback-opcodes:
4194 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4195 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
4196 @r=`${PWD_COMMAND}`; export r; \
4197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4198 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4199 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4200 $(HOST_EXPORTS) \
4201 $(POSTSTAGE1_HOST_EXPORTS) \
4202 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
4203 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
4204 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
4205 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes ; \
4206 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4207 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4208 case $(srcdir) in \
4209 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4210 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4211 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4212 esac; \
4213 module_srcdir=opcodes; \
4214 $(SHELL) $$s/$$module_srcdir/configure \
4215 --srcdir=$${topdir}/$$module_srcdir \
4216 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4217 --target=${target_alias} \
4218 --with-build-libsubdir=$(HOST_SUBDIR) \
4219 $(STAGEfeedback_CONFIGURE_FLAGS)
4220 @endif opcodes-bootstrap
4226 .PHONY: all-opcodes maybe-all-opcodes
4227 maybe-all-opcodes:
4228 @if gcc-bootstrap
4229 all-opcodes: stage_current
4230 @endif gcc-bootstrap
4231 @if opcodes
4232 TARGET-opcodes=all
4233 maybe-all-opcodes: all-opcodes
4234 all-opcodes: configure-opcodes
4235 @r=`${PWD_COMMAND}`; export r; \
4236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4237 $(HOST_EXPORTS) \
4238 (cd $(HOST_SUBDIR)/opcodes && \
4239 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
4240 $(TARGET-opcodes))
4241 @endif opcodes
4245 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
4246 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
4247 maybe-all-stage1-opcodes:
4248 maybe-clean-stage1-opcodes:
4249 @if opcodes-bootstrap
4250 maybe-all-stage1-opcodes: all-stage1-opcodes
4251 all-stage1: all-stage1-opcodes
4252 TARGET-stage1-opcodes = $(TARGET-opcodes)
4253 all-stage1-opcodes: configure-stage1-opcodes
4254 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4255 @r=`${PWD_COMMAND}`; export r; \
4256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4257 TFLAGS="$(STAGE1_TFLAGS)"; \
4258 $(HOST_EXPORTS) \
4259 cd $(HOST_SUBDIR)/opcodes && \
4260 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4261 CFLAGS="$(STAGE1_CFLAGS)" \
4262 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
4263 LIBCFLAGS="$(LIBCFLAGS)" \
4264 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4265 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4266 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4267 $(EXTRA_HOST_FLAGS) \
4268 $(STAGE1_FLAGS_TO_PASS) \
4269 TFLAGS="$(STAGE1_TFLAGS)" \
4270 $(TARGET-stage1-opcodes)
4272 maybe-clean-stage1-opcodes: clean-stage1-opcodes
4273 clean-stage1: clean-stage1-opcodes
4274 clean-stage1-opcodes:
4275 @if [ $(current_stage) = stage1 ]; then \
4276 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4277 else \
4278 [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] || exit 0; \
4279 $(MAKE) stage1-start; \
4280 fi; \
4281 cd $(HOST_SUBDIR)/opcodes && \
4282 $(MAKE) $(EXTRA_HOST_FLAGS) \
4283 $(STAGE1_FLAGS_TO_PASS) clean
4284 @endif opcodes-bootstrap
4287 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
4288 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
4289 maybe-all-stage2-opcodes:
4290 maybe-clean-stage2-opcodes:
4291 @if opcodes-bootstrap
4292 maybe-all-stage2-opcodes: all-stage2-opcodes
4293 all-stage2: all-stage2-opcodes
4294 TARGET-stage2-opcodes = $(TARGET-opcodes)
4295 all-stage2-opcodes: configure-stage2-opcodes
4296 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4297 @r=`${PWD_COMMAND}`; export r; \
4298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4299 TFLAGS="$(STAGE2_TFLAGS)"; \
4300 $(HOST_EXPORTS) \
4301 $(POSTSTAGE1_HOST_EXPORTS) \
4302 cd $(HOST_SUBDIR)/opcodes && \
4303 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4304 CFLAGS="$(STAGE2_CFLAGS)" \
4305 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
4306 LIBCFLAGS="$(STAGE2_CFLAGS)" \
4307 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4308 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4309 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4310 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4311 TFLAGS="$(STAGE2_TFLAGS)" \
4312 $(TARGET-stage2-opcodes)
4314 maybe-clean-stage2-opcodes: clean-stage2-opcodes
4315 clean-stage2: clean-stage2-opcodes
4316 clean-stage2-opcodes:
4317 @if [ $(current_stage) = stage2 ]; then \
4318 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4319 else \
4320 [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] || exit 0; \
4321 $(MAKE) stage2-start; \
4322 fi; \
4323 cd $(HOST_SUBDIR)/opcodes && \
4324 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4325 @endif opcodes-bootstrap
4328 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
4329 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
4330 maybe-all-stage3-opcodes:
4331 maybe-clean-stage3-opcodes:
4332 @if opcodes-bootstrap
4333 maybe-all-stage3-opcodes: all-stage3-opcodes
4334 all-stage3: all-stage3-opcodes
4335 TARGET-stage3-opcodes = $(TARGET-opcodes)
4336 all-stage3-opcodes: configure-stage3-opcodes
4337 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4338 @r=`${PWD_COMMAND}`; export r; \
4339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4340 TFLAGS="$(STAGE3_TFLAGS)"; \
4341 $(HOST_EXPORTS) \
4342 $(POSTSTAGE1_HOST_EXPORTS) \
4343 cd $(HOST_SUBDIR)/opcodes && \
4344 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4345 CFLAGS="$(STAGE3_CFLAGS)" \
4346 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
4347 LIBCFLAGS="$(STAGE3_CFLAGS)" \
4348 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4349 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4350 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4351 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4352 TFLAGS="$(STAGE3_TFLAGS)" \
4353 $(TARGET-stage3-opcodes)
4355 maybe-clean-stage3-opcodes: clean-stage3-opcodes
4356 clean-stage3: clean-stage3-opcodes
4357 clean-stage3-opcodes:
4358 @if [ $(current_stage) = stage3 ]; then \
4359 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4360 else \
4361 [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] || exit 0; \
4362 $(MAKE) stage3-start; \
4363 fi; \
4364 cd $(HOST_SUBDIR)/opcodes && \
4365 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4366 @endif opcodes-bootstrap
4369 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
4370 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
4371 maybe-all-stage4-opcodes:
4372 maybe-clean-stage4-opcodes:
4373 @if opcodes-bootstrap
4374 maybe-all-stage4-opcodes: all-stage4-opcodes
4375 all-stage4: all-stage4-opcodes
4376 TARGET-stage4-opcodes = $(TARGET-opcodes)
4377 all-stage4-opcodes: configure-stage4-opcodes
4378 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
4379 @r=`${PWD_COMMAND}`; export r; \
4380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4381 TFLAGS="$(STAGE4_TFLAGS)"; \
4382 $(HOST_EXPORTS) \
4383 $(POSTSTAGE1_HOST_EXPORTS) \
4384 cd $(HOST_SUBDIR)/opcodes && \
4385 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4386 CFLAGS="$(STAGE4_CFLAGS)" \
4387 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
4388 LIBCFLAGS="$(STAGE4_CFLAGS)" \
4389 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4390 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4391 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4392 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4393 TFLAGS="$(STAGE4_TFLAGS)" \
4394 $(TARGET-stage4-opcodes)
4396 maybe-clean-stage4-opcodes: clean-stage4-opcodes
4397 clean-stage4: clean-stage4-opcodes
4398 clean-stage4-opcodes:
4399 @if [ $(current_stage) = stage4 ]; then \
4400 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4401 else \
4402 [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] || exit 0; \
4403 $(MAKE) stage4-start; \
4404 fi; \
4405 cd $(HOST_SUBDIR)/opcodes && \
4406 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4407 @endif opcodes-bootstrap
4410 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
4411 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
4412 maybe-all-stageprofile-opcodes:
4413 maybe-clean-stageprofile-opcodes:
4414 @if opcodes-bootstrap
4415 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
4416 all-stageprofile: all-stageprofile-opcodes
4417 TARGET-stageprofile-opcodes = $(TARGET-opcodes)
4418 all-stageprofile-opcodes: configure-stageprofile-opcodes
4419 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
4420 @r=`${PWD_COMMAND}`; export r; \
4421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4422 TFLAGS="$(STAGEprofile_TFLAGS)"; \
4423 $(HOST_EXPORTS) \
4424 $(POSTSTAGE1_HOST_EXPORTS) \
4425 cd $(HOST_SUBDIR)/opcodes && \
4426 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4427 CFLAGS="$(STAGEprofile_CFLAGS)" \
4428 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
4429 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
4430 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4431 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4432 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4433 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4434 TFLAGS="$(STAGEprofile_TFLAGS)" \
4435 $(TARGET-stageprofile-opcodes)
4437 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
4438 clean-stageprofile: clean-stageprofile-opcodes
4439 clean-stageprofile-opcodes:
4440 @if [ $(current_stage) = stageprofile ]; then \
4441 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4442 else \
4443 [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] || exit 0; \
4444 $(MAKE) stageprofile-start; \
4445 fi; \
4446 cd $(HOST_SUBDIR)/opcodes && \
4447 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4448 @endif opcodes-bootstrap
4451 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
4452 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
4453 maybe-all-stagefeedback-opcodes:
4454 maybe-clean-stagefeedback-opcodes:
4455 @if opcodes-bootstrap
4456 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
4457 all-stagefeedback: all-stagefeedback-opcodes
4458 TARGET-stagefeedback-opcodes = $(TARGET-opcodes)
4459 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
4460 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
4461 @r=`${PWD_COMMAND}`; export r; \
4462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4463 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
4464 $(HOST_EXPORTS) \
4465 $(POSTSTAGE1_HOST_EXPORTS) \
4466 cd $(HOST_SUBDIR)/opcodes && \
4467 $(MAKE) $(BASE_FLAGS_TO_PASS) \
4468 CFLAGS="$(STAGEfeedback_CFLAGS)" \
4469 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
4470 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
4471 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
4472 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
4473 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
4474 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4475 TFLAGS="$(STAGEfeedback_TFLAGS)" \
4476 $(TARGET-stagefeedback-opcodes)
4478 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
4479 clean-stagefeedback: clean-stagefeedback-opcodes
4480 clean-stagefeedback-opcodes:
4481 @if [ $(current_stage) = stagefeedback ]; then \
4482 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
4483 else \
4484 [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] || exit 0; \
4485 $(MAKE) stagefeedback-start; \
4486 fi; \
4487 cd $(HOST_SUBDIR)/opcodes && \
4488 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
4489 @endif opcodes-bootstrap
4495 .PHONY: check-opcodes maybe-check-opcodes
4496 maybe-check-opcodes:
4497 @if opcodes
4498 maybe-check-opcodes: check-opcodes
4500 check-opcodes:
4501 @: $(MAKE); $(unstage)
4502 @r=`${PWD_COMMAND}`; export r; \
4503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4504 $(HOST_EXPORTS) \
4505 (cd $(HOST_SUBDIR)/opcodes && \
4506 $(MAKE) $(FLAGS_TO_PASS) check)
4508 @endif opcodes
4510 .PHONY: install-opcodes maybe-install-opcodes
4511 maybe-install-opcodes:
4512 @if opcodes
4513 maybe-install-opcodes: install-opcodes
4515 install-opcodes: installdirs
4516 @: $(MAKE); $(unstage)
4517 @r=`${PWD_COMMAND}`; export r; \
4518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4519 $(HOST_EXPORTS) \
4520 (cd $(HOST_SUBDIR)/opcodes && \
4521 $(MAKE) $(FLAGS_TO_PASS) install)
4523 @endif opcodes
4525 .PHONY: install-strip-opcodes maybe-install-strip-opcodes
4526 maybe-install-strip-opcodes:
4527 @if opcodes
4528 maybe-install-strip-opcodes: install-strip-opcodes
4530 install-strip-opcodes: installdirs
4531 @: $(MAKE); $(unstage)
4532 @r=`${PWD_COMMAND}`; export r; \
4533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4534 $(HOST_EXPORTS) \
4535 (cd $(HOST_SUBDIR)/opcodes && \
4536 $(MAKE) $(FLAGS_TO_PASS) install-strip)
4538 @endif opcodes
4540 # Other targets (info, dvi, pdf, etc.)
4542 .PHONY: maybe-info-opcodes info-opcodes
4543 maybe-info-opcodes:
4544 @if opcodes
4545 maybe-info-opcodes: info-opcodes
4547 info-opcodes: \
4548 configure-opcodes
4549 @[ -f ./opcodes/Makefile ] || exit 0; \
4550 r=`${PWD_COMMAND}`; export r; \
4551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4552 $(HOST_EXPORTS) \
4553 for flag in $(EXTRA_HOST_FLAGS) ; do \
4554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4555 done; \
4556 echo "Doing info in opcodes" ; \
4557 (cd $(HOST_SUBDIR)/opcodes && \
4558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4560 "RANLIB=$${RANLIB}" \
4561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4562 info) \
4563 || exit 1
4565 @endif opcodes
4567 .PHONY: maybe-dvi-opcodes dvi-opcodes
4568 maybe-dvi-opcodes:
4569 @if opcodes
4570 maybe-dvi-opcodes: dvi-opcodes
4572 dvi-opcodes: \
4573 configure-opcodes
4574 @[ -f ./opcodes/Makefile ] || exit 0; \
4575 r=`${PWD_COMMAND}`; export r; \
4576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4577 $(HOST_EXPORTS) \
4578 for flag in $(EXTRA_HOST_FLAGS) ; do \
4579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4580 done; \
4581 echo "Doing dvi in opcodes" ; \
4582 (cd $(HOST_SUBDIR)/opcodes && \
4583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4585 "RANLIB=$${RANLIB}" \
4586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4587 dvi) \
4588 || exit 1
4590 @endif opcodes
4592 .PHONY: maybe-pdf-opcodes pdf-opcodes
4593 maybe-pdf-opcodes:
4594 @if opcodes
4595 maybe-pdf-opcodes: pdf-opcodes
4597 pdf-opcodes: \
4598 configure-opcodes
4599 @[ -f ./opcodes/Makefile ] || exit 0; \
4600 r=`${PWD_COMMAND}`; export r; \
4601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4602 $(HOST_EXPORTS) \
4603 for flag in $(EXTRA_HOST_FLAGS) ; do \
4604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4605 done; \
4606 echo "Doing pdf in opcodes" ; \
4607 (cd $(HOST_SUBDIR)/opcodes && \
4608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4610 "RANLIB=$${RANLIB}" \
4611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4612 pdf) \
4613 || exit 1
4615 @endif opcodes
4617 .PHONY: maybe-html-opcodes html-opcodes
4618 maybe-html-opcodes:
4619 @if opcodes
4620 maybe-html-opcodes: html-opcodes
4622 html-opcodes: \
4623 configure-opcodes
4624 @[ -f ./opcodes/Makefile ] || exit 0; \
4625 r=`${PWD_COMMAND}`; export r; \
4626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4627 $(HOST_EXPORTS) \
4628 for flag in $(EXTRA_HOST_FLAGS) ; do \
4629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4630 done; \
4631 echo "Doing html in opcodes" ; \
4632 (cd $(HOST_SUBDIR)/opcodes && \
4633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4635 "RANLIB=$${RANLIB}" \
4636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4637 html) \
4638 || exit 1
4640 @endif opcodes
4642 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
4643 maybe-TAGS-opcodes:
4644 @if opcodes
4645 maybe-TAGS-opcodes: TAGS-opcodes
4647 TAGS-opcodes: \
4648 configure-opcodes
4649 @[ -f ./opcodes/Makefile ] || exit 0; \
4650 r=`${PWD_COMMAND}`; export r; \
4651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4652 $(HOST_EXPORTS) \
4653 for flag in $(EXTRA_HOST_FLAGS) ; do \
4654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4655 done; \
4656 echo "Doing TAGS in opcodes" ; \
4657 (cd $(HOST_SUBDIR)/opcodes && \
4658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4660 "RANLIB=$${RANLIB}" \
4661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4662 TAGS) \
4663 || exit 1
4665 @endif opcodes
4667 .PHONY: maybe-install-info-opcodes install-info-opcodes
4668 maybe-install-info-opcodes:
4669 @if opcodes
4670 maybe-install-info-opcodes: install-info-opcodes
4672 install-info-opcodes: \
4673 configure-opcodes \
4674 info-opcodes
4675 @[ -f ./opcodes/Makefile ] || exit 0; \
4676 r=`${PWD_COMMAND}`; export r; \
4677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4678 $(HOST_EXPORTS) \
4679 for flag in $(EXTRA_HOST_FLAGS) ; do \
4680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4681 done; \
4682 echo "Doing install-info in opcodes" ; \
4683 (cd $(HOST_SUBDIR)/opcodes && \
4684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4686 "RANLIB=$${RANLIB}" \
4687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4688 install-info) \
4689 || exit 1
4691 @endif opcodes
4693 .PHONY: maybe-install-pdf-opcodes install-pdf-opcodes
4694 maybe-install-pdf-opcodes:
4695 @if opcodes
4696 maybe-install-pdf-opcodes: install-pdf-opcodes
4698 install-pdf-opcodes: \
4699 configure-opcodes \
4700 pdf-opcodes
4701 @[ -f ./opcodes/Makefile ] || exit 0; \
4702 r=`${PWD_COMMAND}`; export r; \
4703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4704 $(HOST_EXPORTS) \
4705 for flag in $(EXTRA_HOST_FLAGS) ; do \
4706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4707 done; \
4708 echo "Doing install-pdf in opcodes" ; \
4709 (cd $(HOST_SUBDIR)/opcodes && \
4710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4712 "RANLIB=$${RANLIB}" \
4713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4714 install-pdf) \
4715 || exit 1
4717 @endif opcodes
4719 .PHONY: maybe-install-html-opcodes install-html-opcodes
4720 maybe-install-html-opcodes:
4721 @if opcodes
4722 maybe-install-html-opcodes: install-html-opcodes
4724 install-html-opcodes: \
4725 configure-opcodes \
4726 html-opcodes
4727 @[ -f ./opcodes/Makefile ] || exit 0; \
4728 r=`${PWD_COMMAND}`; export r; \
4729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4730 $(HOST_EXPORTS) \
4731 for flag in $(EXTRA_HOST_FLAGS) ; do \
4732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4733 done; \
4734 echo "Doing install-html in opcodes" ; \
4735 (cd $(HOST_SUBDIR)/opcodes && \
4736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4738 "RANLIB=$${RANLIB}" \
4739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4740 install-html) \
4741 || exit 1
4743 @endif opcodes
4745 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
4746 maybe-installcheck-opcodes:
4747 @if opcodes
4748 maybe-installcheck-opcodes: installcheck-opcodes
4750 installcheck-opcodes: \
4751 configure-opcodes
4752 @[ -f ./opcodes/Makefile ] || exit 0; \
4753 r=`${PWD_COMMAND}`; export r; \
4754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4755 $(HOST_EXPORTS) \
4756 for flag in $(EXTRA_HOST_FLAGS) ; do \
4757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4758 done; \
4759 echo "Doing installcheck in opcodes" ; \
4760 (cd $(HOST_SUBDIR)/opcodes && \
4761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4763 "RANLIB=$${RANLIB}" \
4764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4765 installcheck) \
4766 || exit 1
4768 @endif opcodes
4770 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
4771 maybe-mostlyclean-opcodes:
4772 @if opcodes
4773 maybe-mostlyclean-opcodes: mostlyclean-opcodes
4775 mostlyclean-opcodes:
4776 @[ -f ./opcodes/Makefile ] || exit 0; \
4777 r=`${PWD_COMMAND}`; export r; \
4778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4779 $(HOST_EXPORTS) \
4780 for flag in $(EXTRA_HOST_FLAGS) ; do \
4781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4782 done; \
4783 echo "Doing mostlyclean in opcodes" ; \
4784 (cd $(HOST_SUBDIR)/opcodes && \
4785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4787 "RANLIB=$${RANLIB}" \
4788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4789 mostlyclean) \
4790 || exit 1
4792 @endif opcodes
4794 .PHONY: maybe-clean-opcodes clean-opcodes
4795 maybe-clean-opcodes:
4796 @if opcodes
4797 maybe-clean-opcodes: clean-opcodes
4799 clean-opcodes:
4800 @[ -f ./opcodes/Makefile ] || exit 0; \
4801 r=`${PWD_COMMAND}`; export r; \
4802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4803 $(HOST_EXPORTS) \
4804 for flag in $(EXTRA_HOST_FLAGS) ; do \
4805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4806 done; \
4807 echo "Doing clean in opcodes" ; \
4808 (cd $(HOST_SUBDIR)/opcodes && \
4809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4811 "RANLIB=$${RANLIB}" \
4812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4813 clean) \
4814 || exit 1
4816 @endif opcodes
4818 .PHONY: maybe-distclean-opcodes distclean-opcodes
4819 maybe-distclean-opcodes:
4820 @if opcodes
4821 maybe-distclean-opcodes: distclean-opcodes
4823 distclean-opcodes:
4824 @[ -f ./opcodes/Makefile ] || exit 0; \
4825 r=`${PWD_COMMAND}`; export r; \
4826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4827 $(HOST_EXPORTS) \
4828 for flag in $(EXTRA_HOST_FLAGS) ; do \
4829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4830 done; \
4831 echo "Doing distclean in opcodes" ; \
4832 (cd $(HOST_SUBDIR)/opcodes && \
4833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4835 "RANLIB=$${RANLIB}" \
4836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4837 distclean) \
4838 || exit 1
4840 @endif opcodes
4842 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
4843 maybe-maintainer-clean-opcodes:
4844 @if opcodes
4845 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
4847 maintainer-clean-opcodes:
4848 @[ -f ./opcodes/Makefile ] || exit 0; \
4849 r=`${PWD_COMMAND}`; export r; \
4850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4851 $(HOST_EXPORTS) \
4852 for flag in $(EXTRA_HOST_FLAGS) ; do \
4853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4854 done; \
4855 echo "Doing maintainer-clean in opcodes" ; \
4856 (cd $(HOST_SUBDIR)/opcodes && \
4857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4859 "RANLIB=$${RANLIB}" \
4860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
4861 maintainer-clean) \
4862 || exit 1
4864 @endif opcodes
4868 .PHONY: configure-binutils maybe-configure-binutils
4869 maybe-configure-binutils:
4870 @if gcc-bootstrap
4871 configure-binutils: stage_current
4872 @endif gcc-bootstrap
4873 @if binutils
4874 maybe-configure-binutils: configure-binutils
4875 configure-binutils:
4876 @r=`${PWD_COMMAND}`; export r; \
4877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4878 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4879 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4880 $(HOST_EXPORTS) \
4881 echo Configuring in $(HOST_SUBDIR)/binutils; \
4882 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
4883 case $(srcdir) in \
4884 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4885 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4886 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4887 esac; \
4888 module_srcdir=binutils; \
4889 $(SHELL) \
4890 $$s/$$module_srcdir/configure \
4891 --srcdir=$${topdir}/$$module_srcdir \
4892 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4893 --target=${target_alias} \
4894 || exit 1
4895 @endif binutils
4899 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
4900 maybe-configure-stage1-binutils:
4901 @if binutils-bootstrap
4902 maybe-configure-stage1-binutils: configure-stage1-binutils
4903 configure-stage1-binutils:
4904 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
4905 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4906 @r=`${PWD_COMMAND}`; export r; \
4907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4908 TFLAGS="$(STAGE1_TFLAGS)"; \
4909 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4910 $(HOST_EXPORTS) \
4911 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
4912 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
4913 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
4914 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils ; \
4915 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4916 cd $(HOST_SUBDIR)/binutils || exit 1; \
4917 case $(srcdir) in \
4918 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4919 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4920 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4921 esac; \
4922 module_srcdir=binutils; \
4923 $(SHELL) $$s/$$module_srcdir/configure \
4924 --srcdir=$${topdir}/$$module_srcdir \
4925 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4926 --target=${target_alias} \
4928 $(STAGE1_CONFIGURE_FLAGS)
4929 @endif binutils-bootstrap
4931 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
4932 maybe-configure-stage2-binutils:
4933 @if binutils-bootstrap
4934 maybe-configure-stage2-binutils: configure-stage2-binutils
4935 configure-stage2-binutils:
4936 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
4937 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4938 @r=`${PWD_COMMAND}`; export r; \
4939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4940 TFLAGS="$(STAGE2_TFLAGS)"; \
4941 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4942 $(HOST_EXPORTS) \
4943 $(POSTSTAGE1_HOST_EXPORTS) \
4944 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
4945 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
4946 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
4947 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils ; \
4948 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4949 cd $(HOST_SUBDIR)/binutils || exit 1; \
4950 case $(srcdir) in \
4951 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4952 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4953 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4954 esac; \
4955 module_srcdir=binutils; \
4956 $(SHELL) $$s/$$module_srcdir/configure \
4957 --srcdir=$${topdir}/$$module_srcdir \
4958 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4959 --target=${target_alias} \
4960 --with-build-libsubdir=$(HOST_SUBDIR) \
4961 $(STAGE2_CONFIGURE_FLAGS)
4962 @endif binutils-bootstrap
4964 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
4965 maybe-configure-stage3-binutils:
4966 @if binutils-bootstrap
4967 maybe-configure-stage3-binutils: configure-stage3-binutils
4968 configure-stage3-binutils:
4969 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
4970 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
4971 @r=`${PWD_COMMAND}`; export r; \
4972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4973 TFLAGS="$(STAGE3_TFLAGS)"; \
4974 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4975 $(HOST_EXPORTS) \
4976 $(POSTSTAGE1_HOST_EXPORTS) \
4977 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
4978 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
4979 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
4980 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils ; \
4981 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4982 cd $(HOST_SUBDIR)/binutils || exit 1; \
4983 case $(srcdir) in \
4984 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4985 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4986 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4987 esac; \
4988 module_srcdir=binutils; \
4989 $(SHELL) $$s/$$module_srcdir/configure \
4990 --srcdir=$${topdir}/$$module_srcdir \
4991 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
4992 --target=${target_alias} \
4993 --with-build-libsubdir=$(HOST_SUBDIR) \
4994 $(STAGE3_CONFIGURE_FLAGS)
4995 @endif binutils-bootstrap
4997 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
4998 maybe-configure-stage4-binutils:
4999 @if binutils-bootstrap
5000 maybe-configure-stage4-binutils: configure-stage4-binutils
5001 configure-stage4-binutils:
5002 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5003 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5004 @r=`${PWD_COMMAND}`; export r; \
5005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5006 TFLAGS="$(STAGE4_TFLAGS)"; \
5007 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5008 $(HOST_EXPORTS) \
5009 $(POSTSTAGE1_HOST_EXPORTS) \
5010 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
5011 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
5012 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
5013 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils ; \
5014 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5015 cd $(HOST_SUBDIR)/binutils || exit 1; \
5016 case $(srcdir) in \
5017 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5018 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5019 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5020 esac; \
5021 module_srcdir=binutils; \
5022 $(SHELL) $$s/$$module_srcdir/configure \
5023 --srcdir=$${topdir}/$$module_srcdir \
5024 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5025 --target=${target_alias} \
5026 --with-build-libsubdir=$(HOST_SUBDIR) \
5027 $(STAGE4_CONFIGURE_FLAGS)
5028 @endif binutils-bootstrap
5030 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
5031 maybe-configure-stageprofile-binutils:
5032 @if binutils-bootstrap
5033 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
5034 configure-stageprofile-binutils:
5035 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5036 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5037 @r=`${PWD_COMMAND}`; export r; \
5038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5039 TFLAGS="$(STAGEprofile_TFLAGS)"; \
5040 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5041 $(HOST_EXPORTS) \
5042 $(POSTSTAGE1_HOST_EXPORTS) \
5043 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
5044 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
5045 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
5046 echo Configuring stage profile in $(HOST_SUBDIR)/binutils ; \
5047 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5048 cd $(HOST_SUBDIR)/binutils || exit 1; \
5049 case $(srcdir) in \
5050 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5051 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5052 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5053 esac; \
5054 module_srcdir=binutils; \
5055 $(SHELL) $$s/$$module_srcdir/configure \
5056 --srcdir=$${topdir}/$$module_srcdir \
5057 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5058 --target=${target_alias} \
5059 --with-build-libsubdir=$(HOST_SUBDIR) \
5060 $(STAGEprofile_CONFIGURE_FLAGS)
5061 @endif binutils-bootstrap
5063 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
5064 maybe-configure-stagefeedback-binutils:
5065 @if binutils-bootstrap
5066 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
5067 configure-stagefeedback-binutils:
5068 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5069 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
5070 @r=`${PWD_COMMAND}`; export r; \
5071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5072 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
5073 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5074 $(HOST_EXPORTS) \
5075 $(POSTSTAGE1_HOST_EXPORTS) \
5076 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
5077 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
5078 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
5079 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils ; \
5080 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5081 cd $(HOST_SUBDIR)/binutils || exit 1; \
5082 case $(srcdir) in \
5083 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5084 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5085 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5086 esac; \
5087 module_srcdir=binutils; \
5088 $(SHELL) $$s/$$module_srcdir/configure \
5089 --srcdir=$${topdir}/$$module_srcdir \
5090 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5091 --target=${target_alias} \
5092 --with-build-libsubdir=$(HOST_SUBDIR) \
5093 $(STAGEfeedback_CONFIGURE_FLAGS)
5094 @endif binutils-bootstrap
5100 .PHONY: all-binutils maybe-all-binutils
5101 maybe-all-binutils:
5102 @if gcc-bootstrap
5103 all-binutils: stage_current
5104 @endif gcc-bootstrap
5105 @if binutils
5106 TARGET-binutils=all
5107 maybe-all-binutils: all-binutils
5108 all-binutils: configure-binutils
5109 @r=`${PWD_COMMAND}`; export r; \
5110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5111 $(HOST_EXPORTS) \
5112 (cd $(HOST_SUBDIR)/binutils && \
5113 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
5114 $(TARGET-binutils))
5115 @endif binutils
5119 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
5120 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
5121 maybe-all-stage1-binutils:
5122 maybe-clean-stage1-binutils:
5123 @if binutils-bootstrap
5124 maybe-all-stage1-binutils: all-stage1-binutils
5125 all-stage1: all-stage1-binutils
5126 TARGET-stage1-binutils = $(TARGET-binutils)
5127 all-stage1-binutils: configure-stage1-binutils
5128 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
5129 @r=`${PWD_COMMAND}`; export r; \
5130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5131 TFLAGS="$(STAGE1_TFLAGS)"; \
5132 $(HOST_EXPORTS) \
5133 cd $(HOST_SUBDIR)/binutils && \
5134 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5135 CFLAGS="$(STAGE1_CFLAGS)" \
5136 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
5137 LIBCFLAGS="$(LIBCFLAGS)" \
5138 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5139 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5140 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5141 $(EXTRA_HOST_FLAGS) \
5142 $(STAGE1_FLAGS_TO_PASS) \
5143 TFLAGS="$(STAGE1_TFLAGS)" \
5144 $(TARGET-stage1-binutils)
5146 maybe-clean-stage1-binutils: clean-stage1-binutils
5147 clean-stage1: clean-stage1-binutils
5148 clean-stage1-binutils:
5149 @if [ $(current_stage) = stage1 ]; then \
5150 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5151 else \
5152 [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] || exit 0; \
5153 $(MAKE) stage1-start; \
5154 fi; \
5155 cd $(HOST_SUBDIR)/binutils && \
5156 $(MAKE) $(EXTRA_HOST_FLAGS) \
5157 $(STAGE1_FLAGS_TO_PASS) clean
5158 @endif binutils-bootstrap
5161 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
5162 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
5163 maybe-all-stage2-binutils:
5164 maybe-clean-stage2-binutils:
5165 @if binutils-bootstrap
5166 maybe-all-stage2-binutils: all-stage2-binutils
5167 all-stage2: all-stage2-binutils
5168 TARGET-stage2-binutils = $(TARGET-binutils)
5169 all-stage2-binutils: configure-stage2-binutils
5170 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
5171 @r=`${PWD_COMMAND}`; export r; \
5172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5173 TFLAGS="$(STAGE2_TFLAGS)"; \
5174 $(HOST_EXPORTS) \
5175 $(POSTSTAGE1_HOST_EXPORTS) \
5176 cd $(HOST_SUBDIR)/binutils && \
5177 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5178 CFLAGS="$(STAGE2_CFLAGS)" \
5179 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
5180 LIBCFLAGS="$(STAGE2_CFLAGS)" \
5181 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5182 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5183 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5184 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5185 TFLAGS="$(STAGE2_TFLAGS)" \
5186 $(TARGET-stage2-binutils)
5188 maybe-clean-stage2-binutils: clean-stage2-binutils
5189 clean-stage2: clean-stage2-binutils
5190 clean-stage2-binutils:
5191 @if [ $(current_stage) = stage2 ]; then \
5192 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5193 else \
5194 [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] || exit 0; \
5195 $(MAKE) stage2-start; \
5196 fi; \
5197 cd $(HOST_SUBDIR)/binutils && \
5198 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5199 @endif binutils-bootstrap
5202 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
5203 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
5204 maybe-all-stage3-binutils:
5205 maybe-clean-stage3-binutils:
5206 @if binutils-bootstrap
5207 maybe-all-stage3-binutils: all-stage3-binutils
5208 all-stage3: all-stage3-binutils
5209 TARGET-stage3-binutils = $(TARGET-binutils)
5210 all-stage3-binutils: configure-stage3-binutils
5211 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
5212 @r=`${PWD_COMMAND}`; export r; \
5213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5214 TFLAGS="$(STAGE3_TFLAGS)"; \
5215 $(HOST_EXPORTS) \
5216 $(POSTSTAGE1_HOST_EXPORTS) \
5217 cd $(HOST_SUBDIR)/binutils && \
5218 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5219 CFLAGS="$(STAGE3_CFLAGS)" \
5220 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
5221 LIBCFLAGS="$(STAGE3_CFLAGS)" \
5222 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5223 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5224 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5225 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5226 TFLAGS="$(STAGE3_TFLAGS)" \
5227 $(TARGET-stage3-binutils)
5229 maybe-clean-stage3-binutils: clean-stage3-binutils
5230 clean-stage3: clean-stage3-binutils
5231 clean-stage3-binutils:
5232 @if [ $(current_stage) = stage3 ]; then \
5233 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5234 else \
5235 [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] || exit 0; \
5236 $(MAKE) stage3-start; \
5237 fi; \
5238 cd $(HOST_SUBDIR)/binutils && \
5239 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5240 @endif binutils-bootstrap
5243 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
5244 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
5245 maybe-all-stage4-binutils:
5246 maybe-clean-stage4-binutils:
5247 @if binutils-bootstrap
5248 maybe-all-stage4-binutils: all-stage4-binutils
5249 all-stage4: all-stage4-binutils
5250 TARGET-stage4-binutils = $(TARGET-binutils)
5251 all-stage4-binutils: configure-stage4-binutils
5252 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
5253 @r=`${PWD_COMMAND}`; export r; \
5254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5255 TFLAGS="$(STAGE4_TFLAGS)"; \
5256 $(HOST_EXPORTS) \
5257 $(POSTSTAGE1_HOST_EXPORTS) \
5258 cd $(HOST_SUBDIR)/binutils && \
5259 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5260 CFLAGS="$(STAGE4_CFLAGS)" \
5261 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
5262 LIBCFLAGS="$(STAGE4_CFLAGS)" \
5263 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5264 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5265 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5266 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5267 TFLAGS="$(STAGE4_TFLAGS)" \
5268 $(TARGET-stage4-binutils)
5270 maybe-clean-stage4-binutils: clean-stage4-binutils
5271 clean-stage4: clean-stage4-binutils
5272 clean-stage4-binutils:
5273 @if [ $(current_stage) = stage4 ]; then \
5274 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5275 else \
5276 [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] || exit 0; \
5277 $(MAKE) stage4-start; \
5278 fi; \
5279 cd $(HOST_SUBDIR)/binutils && \
5280 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5281 @endif binutils-bootstrap
5284 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
5285 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
5286 maybe-all-stageprofile-binutils:
5287 maybe-clean-stageprofile-binutils:
5288 @if binutils-bootstrap
5289 maybe-all-stageprofile-binutils: all-stageprofile-binutils
5290 all-stageprofile: all-stageprofile-binutils
5291 TARGET-stageprofile-binutils = $(TARGET-binutils)
5292 all-stageprofile-binutils: configure-stageprofile-binutils
5293 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
5294 @r=`${PWD_COMMAND}`; export r; \
5295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5296 TFLAGS="$(STAGEprofile_TFLAGS)"; \
5297 $(HOST_EXPORTS) \
5298 $(POSTSTAGE1_HOST_EXPORTS) \
5299 cd $(HOST_SUBDIR)/binutils && \
5300 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5301 CFLAGS="$(STAGEprofile_CFLAGS)" \
5302 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
5303 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
5304 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5305 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5306 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5307 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5308 TFLAGS="$(STAGEprofile_TFLAGS)" \
5309 $(TARGET-stageprofile-binutils)
5311 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
5312 clean-stageprofile: clean-stageprofile-binutils
5313 clean-stageprofile-binutils:
5314 @if [ $(current_stage) = stageprofile ]; then \
5315 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5316 else \
5317 [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] || exit 0; \
5318 $(MAKE) stageprofile-start; \
5319 fi; \
5320 cd $(HOST_SUBDIR)/binutils && \
5321 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5322 @endif binutils-bootstrap
5325 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
5326 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
5327 maybe-all-stagefeedback-binutils:
5328 maybe-clean-stagefeedback-binutils:
5329 @if binutils-bootstrap
5330 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
5331 all-stagefeedback: all-stagefeedback-binutils
5332 TARGET-stagefeedback-binutils = $(TARGET-binutils)
5333 all-stagefeedback-binutils: configure-stagefeedback-binutils
5334 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
5335 @r=`${PWD_COMMAND}`; export r; \
5336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5337 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
5338 $(HOST_EXPORTS) \
5339 $(POSTSTAGE1_HOST_EXPORTS) \
5340 cd $(HOST_SUBDIR)/binutils && \
5341 $(MAKE) $(BASE_FLAGS_TO_PASS) \
5342 CFLAGS="$(STAGEfeedback_CFLAGS)" \
5343 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
5344 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
5345 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
5346 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
5347 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
5348 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5349 TFLAGS="$(STAGEfeedback_TFLAGS)" \
5350 $(TARGET-stagefeedback-binutils)
5352 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
5353 clean-stagefeedback: clean-stagefeedback-binutils
5354 clean-stagefeedback-binutils:
5355 @if [ $(current_stage) = stagefeedback ]; then \
5356 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
5357 else \
5358 [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] || exit 0; \
5359 $(MAKE) stagefeedback-start; \
5360 fi; \
5361 cd $(HOST_SUBDIR)/binutils && \
5362 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
5363 @endif binutils-bootstrap
5369 .PHONY: check-binutils maybe-check-binutils
5370 maybe-check-binutils:
5371 @if binutils
5372 maybe-check-binutils: check-binutils
5374 check-binutils:
5375 @: $(MAKE); $(unstage)
5376 @r=`${PWD_COMMAND}`; export r; \
5377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5378 $(HOST_EXPORTS) \
5379 (cd $(HOST_SUBDIR)/binutils && \
5380 $(MAKE) $(FLAGS_TO_PASS) check)
5382 @endif binutils
5384 .PHONY: install-binutils maybe-install-binutils
5385 maybe-install-binutils:
5386 @if binutils
5387 maybe-install-binutils: install-binutils
5389 install-binutils: installdirs
5390 @: $(MAKE); $(unstage)
5391 @r=`${PWD_COMMAND}`; export r; \
5392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5393 $(HOST_EXPORTS) \
5394 (cd $(HOST_SUBDIR)/binutils && \
5395 $(MAKE) $(FLAGS_TO_PASS) install)
5397 @endif binutils
5399 .PHONY: install-strip-binutils maybe-install-strip-binutils
5400 maybe-install-strip-binutils:
5401 @if binutils
5402 maybe-install-strip-binutils: install-strip-binutils
5404 install-strip-binutils: installdirs
5405 @: $(MAKE); $(unstage)
5406 @r=`${PWD_COMMAND}`; export r; \
5407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5408 $(HOST_EXPORTS) \
5409 (cd $(HOST_SUBDIR)/binutils && \
5410 $(MAKE) $(FLAGS_TO_PASS) install-strip)
5412 @endif binutils
5414 # Other targets (info, dvi, pdf, etc.)
5416 .PHONY: maybe-info-binutils info-binutils
5417 maybe-info-binutils:
5418 @if binutils
5419 maybe-info-binutils: info-binutils
5421 info-binutils: \
5422 configure-binutils
5423 @[ -f ./binutils/Makefile ] || exit 0; \
5424 r=`${PWD_COMMAND}`; export r; \
5425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5426 $(HOST_EXPORTS) \
5427 for flag in $(EXTRA_HOST_FLAGS) ; do \
5428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5429 done; \
5430 echo "Doing info in binutils" ; \
5431 (cd $(HOST_SUBDIR)/binutils && \
5432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5434 "RANLIB=$${RANLIB}" \
5435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5436 info) \
5437 || exit 1
5439 @endif binutils
5441 .PHONY: maybe-dvi-binutils dvi-binutils
5442 maybe-dvi-binutils:
5443 @if binutils
5444 maybe-dvi-binutils: dvi-binutils
5446 dvi-binutils: \
5447 configure-binutils
5448 @[ -f ./binutils/Makefile ] || exit 0; \
5449 r=`${PWD_COMMAND}`; export r; \
5450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5451 $(HOST_EXPORTS) \
5452 for flag in $(EXTRA_HOST_FLAGS) ; do \
5453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5454 done; \
5455 echo "Doing dvi in binutils" ; \
5456 (cd $(HOST_SUBDIR)/binutils && \
5457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5459 "RANLIB=$${RANLIB}" \
5460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5461 dvi) \
5462 || exit 1
5464 @endif binutils
5466 .PHONY: maybe-pdf-binutils pdf-binutils
5467 maybe-pdf-binutils:
5468 @if binutils
5469 maybe-pdf-binutils: pdf-binutils
5471 pdf-binutils: \
5472 configure-binutils
5473 @[ -f ./binutils/Makefile ] || exit 0; \
5474 r=`${PWD_COMMAND}`; export r; \
5475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5476 $(HOST_EXPORTS) \
5477 for flag in $(EXTRA_HOST_FLAGS) ; do \
5478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5479 done; \
5480 echo "Doing pdf in binutils" ; \
5481 (cd $(HOST_SUBDIR)/binutils && \
5482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5484 "RANLIB=$${RANLIB}" \
5485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5486 pdf) \
5487 || exit 1
5489 @endif binutils
5491 .PHONY: maybe-html-binutils html-binutils
5492 maybe-html-binutils:
5493 @if binutils
5494 maybe-html-binutils: html-binutils
5496 html-binutils: \
5497 configure-binutils
5498 @[ -f ./binutils/Makefile ] || exit 0; \
5499 r=`${PWD_COMMAND}`; export r; \
5500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5501 $(HOST_EXPORTS) \
5502 for flag in $(EXTRA_HOST_FLAGS) ; do \
5503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5504 done; \
5505 echo "Doing html in binutils" ; \
5506 (cd $(HOST_SUBDIR)/binutils && \
5507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5509 "RANLIB=$${RANLIB}" \
5510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5511 html) \
5512 || exit 1
5514 @endif binutils
5516 .PHONY: maybe-TAGS-binutils TAGS-binutils
5517 maybe-TAGS-binutils:
5518 @if binutils
5519 maybe-TAGS-binutils: TAGS-binutils
5521 TAGS-binutils: \
5522 configure-binutils
5523 @[ -f ./binutils/Makefile ] || exit 0; \
5524 r=`${PWD_COMMAND}`; export r; \
5525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5526 $(HOST_EXPORTS) \
5527 for flag in $(EXTRA_HOST_FLAGS) ; do \
5528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5529 done; \
5530 echo "Doing TAGS in binutils" ; \
5531 (cd $(HOST_SUBDIR)/binutils && \
5532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5534 "RANLIB=$${RANLIB}" \
5535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5536 TAGS) \
5537 || exit 1
5539 @endif binutils
5541 .PHONY: maybe-install-info-binutils install-info-binutils
5542 maybe-install-info-binutils:
5543 @if binutils
5544 maybe-install-info-binutils: install-info-binutils
5546 install-info-binutils: \
5547 configure-binutils \
5548 info-binutils
5549 @[ -f ./binutils/Makefile ] || exit 0; \
5550 r=`${PWD_COMMAND}`; export r; \
5551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5552 $(HOST_EXPORTS) \
5553 for flag in $(EXTRA_HOST_FLAGS) ; do \
5554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5555 done; \
5556 echo "Doing install-info in binutils" ; \
5557 (cd $(HOST_SUBDIR)/binutils && \
5558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5560 "RANLIB=$${RANLIB}" \
5561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5562 install-info) \
5563 || exit 1
5565 @endif binutils
5567 .PHONY: maybe-install-pdf-binutils install-pdf-binutils
5568 maybe-install-pdf-binutils:
5569 @if binutils
5570 maybe-install-pdf-binutils: install-pdf-binutils
5572 install-pdf-binutils: \
5573 configure-binutils \
5574 pdf-binutils
5575 @[ -f ./binutils/Makefile ] || exit 0; \
5576 r=`${PWD_COMMAND}`; export r; \
5577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5578 $(HOST_EXPORTS) \
5579 for flag in $(EXTRA_HOST_FLAGS) ; do \
5580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5581 done; \
5582 echo "Doing install-pdf in binutils" ; \
5583 (cd $(HOST_SUBDIR)/binutils && \
5584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5586 "RANLIB=$${RANLIB}" \
5587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5588 install-pdf) \
5589 || exit 1
5591 @endif binutils
5593 .PHONY: maybe-install-html-binutils install-html-binutils
5594 maybe-install-html-binutils:
5595 @if binutils
5596 maybe-install-html-binutils: install-html-binutils
5598 install-html-binutils: \
5599 configure-binutils \
5600 html-binutils
5601 @[ -f ./binutils/Makefile ] || exit 0; \
5602 r=`${PWD_COMMAND}`; export r; \
5603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5604 $(HOST_EXPORTS) \
5605 for flag in $(EXTRA_HOST_FLAGS) ; do \
5606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5607 done; \
5608 echo "Doing install-html in binutils" ; \
5609 (cd $(HOST_SUBDIR)/binutils && \
5610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5612 "RANLIB=$${RANLIB}" \
5613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5614 install-html) \
5615 || exit 1
5617 @endif binutils
5619 .PHONY: maybe-installcheck-binutils installcheck-binutils
5620 maybe-installcheck-binutils:
5621 @if binutils
5622 maybe-installcheck-binutils: installcheck-binutils
5624 installcheck-binutils: \
5625 configure-binutils
5626 @[ -f ./binutils/Makefile ] || exit 0; \
5627 r=`${PWD_COMMAND}`; export r; \
5628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5629 $(HOST_EXPORTS) \
5630 for flag in $(EXTRA_HOST_FLAGS) ; do \
5631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5632 done; \
5633 echo "Doing installcheck in binutils" ; \
5634 (cd $(HOST_SUBDIR)/binutils && \
5635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5637 "RANLIB=$${RANLIB}" \
5638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5639 installcheck) \
5640 || exit 1
5642 @endif binutils
5644 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
5645 maybe-mostlyclean-binutils:
5646 @if binutils
5647 maybe-mostlyclean-binutils: mostlyclean-binutils
5649 mostlyclean-binutils:
5650 @[ -f ./binutils/Makefile ] || exit 0; \
5651 r=`${PWD_COMMAND}`; export r; \
5652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5653 $(HOST_EXPORTS) \
5654 for flag in $(EXTRA_HOST_FLAGS) ; do \
5655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5656 done; \
5657 echo "Doing mostlyclean in binutils" ; \
5658 (cd $(HOST_SUBDIR)/binutils && \
5659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5661 "RANLIB=$${RANLIB}" \
5662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5663 mostlyclean) \
5664 || exit 1
5666 @endif binutils
5668 .PHONY: maybe-clean-binutils clean-binutils
5669 maybe-clean-binutils:
5670 @if binutils
5671 maybe-clean-binutils: clean-binutils
5673 clean-binutils:
5674 @[ -f ./binutils/Makefile ] || exit 0; \
5675 r=`${PWD_COMMAND}`; export r; \
5676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5677 $(HOST_EXPORTS) \
5678 for flag in $(EXTRA_HOST_FLAGS) ; do \
5679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5680 done; \
5681 echo "Doing clean in binutils" ; \
5682 (cd $(HOST_SUBDIR)/binutils && \
5683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5685 "RANLIB=$${RANLIB}" \
5686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5687 clean) \
5688 || exit 1
5690 @endif binutils
5692 .PHONY: maybe-distclean-binutils distclean-binutils
5693 maybe-distclean-binutils:
5694 @if binutils
5695 maybe-distclean-binutils: distclean-binutils
5697 distclean-binutils:
5698 @[ -f ./binutils/Makefile ] || exit 0; \
5699 r=`${PWD_COMMAND}`; export r; \
5700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5701 $(HOST_EXPORTS) \
5702 for flag in $(EXTRA_HOST_FLAGS) ; do \
5703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5704 done; \
5705 echo "Doing distclean in binutils" ; \
5706 (cd $(HOST_SUBDIR)/binutils && \
5707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5709 "RANLIB=$${RANLIB}" \
5710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5711 distclean) \
5712 || exit 1
5714 @endif binutils
5716 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
5717 maybe-maintainer-clean-binutils:
5718 @if binutils
5719 maybe-maintainer-clean-binutils: maintainer-clean-binutils
5721 maintainer-clean-binutils:
5722 @[ -f ./binutils/Makefile ] || exit 0; \
5723 r=`${PWD_COMMAND}`; export r; \
5724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5725 $(HOST_EXPORTS) \
5726 for flag in $(EXTRA_HOST_FLAGS) ; do \
5727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5728 done; \
5729 echo "Doing maintainer-clean in binutils" ; \
5730 (cd $(HOST_SUBDIR)/binutils && \
5731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5733 "RANLIB=$${RANLIB}" \
5734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5735 maintainer-clean) \
5736 || exit 1
5738 @endif binutils
5742 .PHONY: configure-bison maybe-configure-bison
5743 maybe-configure-bison:
5744 @if gcc-bootstrap
5745 configure-bison: stage_current
5746 @endif gcc-bootstrap
5747 @if bison
5748 maybe-configure-bison: configure-bison
5749 configure-bison:
5750 @: $(MAKE); $(unstage)
5751 @r=`${PWD_COMMAND}`; export r; \
5752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5753 test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
5754 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison ; \
5755 $(HOST_EXPORTS) \
5756 echo Configuring in $(HOST_SUBDIR)/bison; \
5757 cd "$(HOST_SUBDIR)/bison" || exit 1; \
5758 case $(srcdir) in \
5759 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5760 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
5761 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5762 esac; \
5763 module_srcdir=bison; \
5764 $(SHELL) \
5765 $$s/$$module_srcdir/configure \
5766 --srcdir=$${topdir}/$$module_srcdir \
5767 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
5768 --target=${target_alias} \
5769 || exit 1
5770 @endif bison
5776 .PHONY: all-bison maybe-all-bison
5777 maybe-all-bison:
5778 @if gcc-bootstrap
5779 all-bison: stage_current
5780 @endif gcc-bootstrap
5781 @if bison
5782 TARGET-bison=all
5783 maybe-all-bison: all-bison
5784 all-bison: configure-bison
5785 @: $(MAKE); $(unstage)
5786 @r=`${PWD_COMMAND}`; export r; \
5787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5788 $(HOST_EXPORTS) \
5789 (cd $(HOST_SUBDIR)/bison && \
5790 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
5791 $(TARGET-bison))
5792 @endif bison
5797 .PHONY: check-bison maybe-check-bison
5798 maybe-check-bison:
5799 @if bison
5800 maybe-check-bison: check-bison
5802 # This module is only tested in a native toolchain.
5803 check-bison:
5804 @: $(MAKE); $(unstage)
5805 @if [ '$(host)' = '$(target)' ] ; then \
5806 r=`${PWD_COMMAND}`; export r; \
5807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5808 $(HOST_EXPORTS) \
5809 (cd $(HOST_SUBDIR)/bison && \
5810 $(MAKE) $(FLAGS_TO_PASS) check); \
5813 @endif bison
5815 .PHONY: install-bison maybe-install-bison
5816 maybe-install-bison:
5817 @if bison
5818 maybe-install-bison: install-bison
5820 install-bison: installdirs
5821 @: $(MAKE); $(unstage)
5822 @r=`${PWD_COMMAND}`; export r; \
5823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5824 $(HOST_EXPORTS) \
5825 (cd $(HOST_SUBDIR)/bison && \
5826 $(MAKE) $(FLAGS_TO_PASS) install)
5828 @endif bison
5830 .PHONY: install-strip-bison maybe-install-strip-bison
5831 maybe-install-strip-bison:
5832 @if bison
5833 maybe-install-strip-bison: install-strip-bison
5835 install-strip-bison: installdirs
5836 @: $(MAKE); $(unstage)
5837 @r=`${PWD_COMMAND}`; export r; \
5838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5839 $(HOST_EXPORTS) \
5840 (cd $(HOST_SUBDIR)/bison && \
5841 $(MAKE) $(FLAGS_TO_PASS) install-strip)
5843 @endif bison
5845 # Other targets (info, dvi, pdf, etc.)
5847 .PHONY: maybe-info-bison info-bison
5848 maybe-info-bison:
5849 @if bison
5850 maybe-info-bison: info-bison
5852 info-bison: \
5853 configure-bison
5854 @: $(MAKE); $(unstage)
5855 @[ -f ./bison/Makefile ] || exit 0; \
5856 r=`${PWD_COMMAND}`; export r; \
5857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5858 $(HOST_EXPORTS) \
5859 for flag in $(EXTRA_HOST_FLAGS) ; do \
5860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5861 done; \
5862 echo "Doing info in bison" ; \
5863 (cd $(HOST_SUBDIR)/bison && \
5864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5866 "RANLIB=$${RANLIB}" \
5867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5868 info) \
5869 || exit 1
5871 @endif bison
5873 .PHONY: maybe-dvi-bison dvi-bison
5874 maybe-dvi-bison:
5875 @if bison
5876 maybe-dvi-bison: dvi-bison
5878 dvi-bison: \
5879 configure-bison
5880 @: $(MAKE); $(unstage)
5881 @[ -f ./bison/Makefile ] || exit 0; \
5882 r=`${PWD_COMMAND}`; export r; \
5883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5884 $(HOST_EXPORTS) \
5885 for flag in $(EXTRA_HOST_FLAGS) ; do \
5886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5887 done; \
5888 echo "Doing dvi in bison" ; \
5889 (cd $(HOST_SUBDIR)/bison && \
5890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5892 "RANLIB=$${RANLIB}" \
5893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5894 dvi) \
5895 || exit 1
5897 @endif bison
5899 .PHONY: maybe-pdf-bison pdf-bison
5900 maybe-pdf-bison:
5901 @if bison
5902 maybe-pdf-bison: pdf-bison
5904 pdf-bison: \
5905 configure-bison
5906 @: $(MAKE); $(unstage)
5907 @[ -f ./bison/Makefile ] || exit 0; \
5908 r=`${PWD_COMMAND}`; export r; \
5909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5910 $(HOST_EXPORTS) \
5911 for flag in $(EXTRA_HOST_FLAGS) ; do \
5912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5913 done; \
5914 echo "Doing pdf in bison" ; \
5915 (cd $(HOST_SUBDIR)/bison && \
5916 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5917 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5918 "RANLIB=$${RANLIB}" \
5919 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5920 pdf) \
5921 || exit 1
5923 @endif bison
5925 .PHONY: maybe-html-bison html-bison
5926 maybe-html-bison:
5927 @if bison
5928 maybe-html-bison: html-bison
5930 html-bison: \
5931 configure-bison
5932 @: $(MAKE); $(unstage)
5933 @[ -f ./bison/Makefile ] || exit 0; \
5934 r=`${PWD_COMMAND}`; export r; \
5935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5936 $(HOST_EXPORTS) \
5937 for flag in $(EXTRA_HOST_FLAGS) ; do \
5938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5939 done; \
5940 echo "Doing html in bison" ; \
5941 (cd $(HOST_SUBDIR)/bison && \
5942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5944 "RANLIB=$${RANLIB}" \
5945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5946 html) \
5947 || exit 1
5949 @endif bison
5951 .PHONY: maybe-TAGS-bison TAGS-bison
5952 maybe-TAGS-bison:
5953 @if bison
5954 maybe-TAGS-bison: TAGS-bison
5956 TAGS-bison: \
5957 configure-bison
5958 @: $(MAKE); $(unstage)
5959 @[ -f ./bison/Makefile ] || exit 0; \
5960 r=`${PWD_COMMAND}`; export r; \
5961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5962 $(HOST_EXPORTS) \
5963 for flag in $(EXTRA_HOST_FLAGS) ; do \
5964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5965 done; \
5966 echo "Doing TAGS in bison" ; \
5967 (cd $(HOST_SUBDIR)/bison && \
5968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5970 "RANLIB=$${RANLIB}" \
5971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5972 TAGS) \
5973 || exit 1
5975 @endif bison
5977 .PHONY: maybe-install-info-bison install-info-bison
5978 maybe-install-info-bison:
5979 @if bison
5980 maybe-install-info-bison: install-info-bison
5982 install-info-bison: \
5983 configure-bison \
5984 info-bison
5985 @: $(MAKE); $(unstage)
5986 @[ -f ./bison/Makefile ] || exit 0; \
5987 r=`${PWD_COMMAND}`; export r; \
5988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5989 $(HOST_EXPORTS) \
5990 for flag in $(EXTRA_HOST_FLAGS) ; do \
5991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5992 done; \
5993 echo "Doing install-info in bison" ; \
5994 (cd $(HOST_SUBDIR)/bison && \
5995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5997 "RANLIB=$${RANLIB}" \
5998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
5999 install-info) \
6000 || exit 1
6002 @endif bison
6004 .PHONY: maybe-install-pdf-bison install-pdf-bison
6005 maybe-install-pdf-bison:
6006 @if bison
6007 maybe-install-pdf-bison: install-pdf-bison
6009 install-pdf-bison: \
6010 configure-bison \
6011 pdf-bison
6012 @: $(MAKE); $(unstage)
6013 @[ -f ./bison/Makefile ] || exit 0; \
6014 r=`${PWD_COMMAND}`; export r; \
6015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6016 $(HOST_EXPORTS) \
6017 for flag in $(EXTRA_HOST_FLAGS) ; do \
6018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6019 done; \
6020 echo "Doing install-pdf in bison" ; \
6021 (cd $(HOST_SUBDIR)/bison && \
6022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6024 "RANLIB=$${RANLIB}" \
6025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6026 install-pdf) \
6027 || exit 1
6029 @endif bison
6031 .PHONY: maybe-install-html-bison install-html-bison
6032 maybe-install-html-bison:
6033 @if bison
6034 maybe-install-html-bison: install-html-bison
6036 install-html-bison: \
6037 configure-bison \
6038 html-bison
6039 @: $(MAKE); $(unstage)
6040 @[ -f ./bison/Makefile ] || exit 0; \
6041 r=`${PWD_COMMAND}`; export r; \
6042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6043 $(HOST_EXPORTS) \
6044 for flag in $(EXTRA_HOST_FLAGS) ; do \
6045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6046 done; \
6047 echo "Doing install-html in bison" ; \
6048 (cd $(HOST_SUBDIR)/bison && \
6049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6051 "RANLIB=$${RANLIB}" \
6052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6053 install-html) \
6054 || exit 1
6056 @endif bison
6058 .PHONY: maybe-installcheck-bison installcheck-bison
6059 maybe-installcheck-bison:
6060 @if bison
6061 maybe-installcheck-bison: installcheck-bison
6063 installcheck-bison: \
6064 configure-bison
6065 @: $(MAKE); $(unstage)
6066 @[ -f ./bison/Makefile ] || exit 0; \
6067 r=`${PWD_COMMAND}`; export r; \
6068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6069 $(HOST_EXPORTS) \
6070 for flag in $(EXTRA_HOST_FLAGS) ; do \
6071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6072 done; \
6073 echo "Doing installcheck in bison" ; \
6074 (cd $(HOST_SUBDIR)/bison && \
6075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6077 "RANLIB=$${RANLIB}" \
6078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6079 installcheck) \
6080 || exit 1
6082 @endif bison
6084 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
6085 maybe-mostlyclean-bison:
6086 @if bison
6087 maybe-mostlyclean-bison: mostlyclean-bison
6089 mostlyclean-bison:
6090 @: $(MAKE); $(unstage)
6091 @[ -f ./bison/Makefile ] || exit 0; \
6092 r=`${PWD_COMMAND}`; export r; \
6093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6094 $(HOST_EXPORTS) \
6095 for flag in $(EXTRA_HOST_FLAGS) ; do \
6096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6097 done; \
6098 echo "Doing mostlyclean in bison" ; \
6099 (cd $(HOST_SUBDIR)/bison && \
6100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6102 "RANLIB=$${RANLIB}" \
6103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6104 mostlyclean) \
6105 || exit 1
6107 @endif bison
6109 .PHONY: maybe-clean-bison clean-bison
6110 maybe-clean-bison:
6111 @if bison
6112 maybe-clean-bison: clean-bison
6114 clean-bison:
6115 @: $(MAKE); $(unstage)
6116 @[ -f ./bison/Makefile ] || exit 0; \
6117 r=`${PWD_COMMAND}`; export r; \
6118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6119 $(HOST_EXPORTS) \
6120 for flag in $(EXTRA_HOST_FLAGS) ; do \
6121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6122 done; \
6123 echo "Doing clean in bison" ; \
6124 (cd $(HOST_SUBDIR)/bison && \
6125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6127 "RANLIB=$${RANLIB}" \
6128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6129 clean) \
6130 || exit 1
6132 @endif bison
6134 .PHONY: maybe-distclean-bison distclean-bison
6135 maybe-distclean-bison:
6136 @if bison
6137 maybe-distclean-bison: distclean-bison
6139 distclean-bison:
6140 @: $(MAKE); $(unstage)
6141 @[ -f ./bison/Makefile ] || exit 0; \
6142 r=`${PWD_COMMAND}`; export r; \
6143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6144 $(HOST_EXPORTS) \
6145 for flag in $(EXTRA_HOST_FLAGS) ; do \
6146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6147 done; \
6148 echo "Doing distclean in bison" ; \
6149 (cd $(HOST_SUBDIR)/bison && \
6150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6152 "RANLIB=$${RANLIB}" \
6153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6154 distclean) \
6155 || exit 1
6157 @endif bison
6159 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
6160 maybe-maintainer-clean-bison:
6161 @if bison
6162 maybe-maintainer-clean-bison: maintainer-clean-bison
6164 maintainer-clean-bison:
6165 @: $(MAKE); $(unstage)
6166 @[ -f ./bison/Makefile ] || exit 0; \
6167 r=`${PWD_COMMAND}`; export r; \
6168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6169 $(HOST_EXPORTS) \
6170 for flag in $(EXTRA_HOST_FLAGS) ; do \
6171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6172 done; \
6173 echo "Doing maintainer-clean in bison" ; \
6174 (cd $(HOST_SUBDIR)/bison && \
6175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6177 "RANLIB=$${RANLIB}" \
6178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6179 maintainer-clean) \
6180 || exit 1
6182 @endif bison
6186 .PHONY: configure-cgen maybe-configure-cgen
6187 maybe-configure-cgen:
6188 @if gcc-bootstrap
6189 configure-cgen: stage_current
6190 @endif gcc-bootstrap
6191 @if cgen
6192 maybe-configure-cgen: configure-cgen
6193 configure-cgen:
6194 @: $(MAKE); $(unstage)
6195 @r=`${PWD_COMMAND}`; export r; \
6196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6197 test ! -f $(HOST_SUBDIR)/cgen/Makefile || exit 0; \
6198 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cgen ; \
6199 $(HOST_EXPORTS) \
6200 echo Configuring in $(HOST_SUBDIR)/cgen; \
6201 cd "$(HOST_SUBDIR)/cgen" || exit 1; \
6202 case $(srcdir) in \
6203 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6204 *) topdir=`echo $(HOST_SUBDIR)/cgen/ | \
6205 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6206 esac; \
6207 module_srcdir=cgen; \
6208 $(SHELL) \
6209 $$s/$$module_srcdir/configure \
6210 --srcdir=$${topdir}/$$module_srcdir \
6211 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6212 --target=${target_alias} \
6213 || exit 1
6214 @endif cgen
6220 .PHONY: all-cgen maybe-all-cgen
6221 maybe-all-cgen:
6222 @if gcc-bootstrap
6223 all-cgen: stage_current
6224 @endif gcc-bootstrap
6225 @if cgen
6226 TARGET-cgen=all
6227 maybe-all-cgen: all-cgen
6228 all-cgen: configure-cgen
6229 @: $(MAKE); $(unstage)
6230 @r=`${PWD_COMMAND}`; export r; \
6231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6232 $(HOST_EXPORTS) \
6233 (cd $(HOST_SUBDIR)/cgen && \
6234 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
6235 $(TARGET-cgen))
6236 @endif cgen
6241 .PHONY: check-cgen maybe-check-cgen
6242 maybe-check-cgen:
6243 @if cgen
6244 maybe-check-cgen: check-cgen
6246 check-cgen:
6247 @: $(MAKE); $(unstage)
6248 @r=`${PWD_COMMAND}`; export r; \
6249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6250 $(HOST_EXPORTS) \
6251 (cd $(HOST_SUBDIR)/cgen && \
6252 $(MAKE) $(FLAGS_TO_PASS) check)
6254 @endif cgen
6256 .PHONY: install-cgen maybe-install-cgen
6257 maybe-install-cgen:
6258 @if cgen
6259 maybe-install-cgen: install-cgen
6261 install-cgen: installdirs
6262 @: $(MAKE); $(unstage)
6263 @r=`${PWD_COMMAND}`; export r; \
6264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6265 $(HOST_EXPORTS) \
6266 (cd $(HOST_SUBDIR)/cgen && \
6267 $(MAKE) $(FLAGS_TO_PASS) install)
6269 @endif cgen
6271 .PHONY: install-strip-cgen maybe-install-strip-cgen
6272 maybe-install-strip-cgen:
6273 @if cgen
6274 maybe-install-strip-cgen: install-strip-cgen
6276 install-strip-cgen: installdirs
6277 @: $(MAKE); $(unstage)
6278 @r=`${PWD_COMMAND}`; export r; \
6279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6280 $(HOST_EXPORTS) \
6281 (cd $(HOST_SUBDIR)/cgen && \
6282 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6284 @endif cgen
6286 # Other targets (info, dvi, pdf, etc.)
6288 .PHONY: maybe-info-cgen info-cgen
6289 maybe-info-cgen:
6290 @if cgen
6291 maybe-info-cgen: info-cgen
6293 info-cgen: \
6294 configure-cgen
6295 @: $(MAKE); $(unstage)
6296 @[ -f ./cgen/Makefile ] || exit 0; \
6297 r=`${PWD_COMMAND}`; export r; \
6298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6299 $(HOST_EXPORTS) \
6300 for flag in $(EXTRA_HOST_FLAGS) ; do \
6301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6302 done; \
6303 echo "Doing info in cgen" ; \
6304 (cd $(HOST_SUBDIR)/cgen && \
6305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6307 "RANLIB=$${RANLIB}" \
6308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6309 info) \
6310 || exit 1
6312 @endif cgen
6314 .PHONY: maybe-dvi-cgen dvi-cgen
6315 maybe-dvi-cgen:
6316 @if cgen
6317 maybe-dvi-cgen: dvi-cgen
6319 dvi-cgen: \
6320 configure-cgen
6321 @: $(MAKE); $(unstage)
6322 @[ -f ./cgen/Makefile ] || exit 0; \
6323 r=`${PWD_COMMAND}`; export r; \
6324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6325 $(HOST_EXPORTS) \
6326 for flag in $(EXTRA_HOST_FLAGS) ; do \
6327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6328 done; \
6329 echo "Doing dvi in cgen" ; \
6330 (cd $(HOST_SUBDIR)/cgen && \
6331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6333 "RANLIB=$${RANLIB}" \
6334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6335 dvi) \
6336 || exit 1
6338 @endif cgen
6340 .PHONY: maybe-pdf-cgen pdf-cgen
6341 maybe-pdf-cgen:
6342 @if cgen
6343 maybe-pdf-cgen: pdf-cgen
6345 pdf-cgen: \
6346 configure-cgen
6347 @: $(MAKE); $(unstage)
6348 @[ -f ./cgen/Makefile ] || exit 0; \
6349 r=`${PWD_COMMAND}`; export r; \
6350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6351 $(HOST_EXPORTS) \
6352 for flag in $(EXTRA_HOST_FLAGS) ; do \
6353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6354 done; \
6355 echo "Doing pdf in cgen" ; \
6356 (cd $(HOST_SUBDIR)/cgen && \
6357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6359 "RANLIB=$${RANLIB}" \
6360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6361 pdf) \
6362 || exit 1
6364 @endif cgen
6366 .PHONY: maybe-html-cgen html-cgen
6367 maybe-html-cgen:
6368 @if cgen
6369 maybe-html-cgen: html-cgen
6371 html-cgen: \
6372 configure-cgen
6373 @: $(MAKE); $(unstage)
6374 @[ -f ./cgen/Makefile ] || exit 0; \
6375 r=`${PWD_COMMAND}`; export r; \
6376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6377 $(HOST_EXPORTS) \
6378 for flag in $(EXTRA_HOST_FLAGS) ; do \
6379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6380 done; \
6381 echo "Doing html in cgen" ; \
6382 (cd $(HOST_SUBDIR)/cgen && \
6383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6385 "RANLIB=$${RANLIB}" \
6386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6387 html) \
6388 || exit 1
6390 @endif cgen
6392 .PHONY: maybe-TAGS-cgen TAGS-cgen
6393 maybe-TAGS-cgen:
6394 @if cgen
6395 maybe-TAGS-cgen: TAGS-cgen
6397 TAGS-cgen: \
6398 configure-cgen
6399 @: $(MAKE); $(unstage)
6400 @[ -f ./cgen/Makefile ] || exit 0; \
6401 r=`${PWD_COMMAND}`; export r; \
6402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6403 $(HOST_EXPORTS) \
6404 for flag in $(EXTRA_HOST_FLAGS) ; do \
6405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6406 done; \
6407 echo "Doing TAGS in cgen" ; \
6408 (cd $(HOST_SUBDIR)/cgen && \
6409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6411 "RANLIB=$${RANLIB}" \
6412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6413 TAGS) \
6414 || exit 1
6416 @endif cgen
6418 .PHONY: maybe-install-info-cgen install-info-cgen
6419 maybe-install-info-cgen:
6420 @if cgen
6421 maybe-install-info-cgen: install-info-cgen
6423 install-info-cgen: \
6424 configure-cgen \
6425 info-cgen
6426 @: $(MAKE); $(unstage)
6427 @[ -f ./cgen/Makefile ] || exit 0; \
6428 r=`${PWD_COMMAND}`; export r; \
6429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6430 $(HOST_EXPORTS) \
6431 for flag in $(EXTRA_HOST_FLAGS) ; do \
6432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6433 done; \
6434 echo "Doing install-info in cgen" ; \
6435 (cd $(HOST_SUBDIR)/cgen && \
6436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6438 "RANLIB=$${RANLIB}" \
6439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6440 install-info) \
6441 || exit 1
6443 @endif cgen
6445 .PHONY: maybe-install-pdf-cgen install-pdf-cgen
6446 maybe-install-pdf-cgen:
6447 @if cgen
6448 maybe-install-pdf-cgen: install-pdf-cgen
6450 install-pdf-cgen: \
6451 configure-cgen \
6452 pdf-cgen
6453 @: $(MAKE); $(unstage)
6454 @[ -f ./cgen/Makefile ] || exit 0; \
6455 r=`${PWD_COMMAND}`; export r; \
6456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6457 $(HOST_EXPORTS) \
6458 for flag in $(EXTRA_HOST_FLAGS) ; do \
6459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6460 done; \
6461 echo "Doing install-pdf in cgen" ; \
6462 (cd $(HOST_SUBDIR)/cgen && \
6463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6465 "RANLIB=$${RANLIB}" \
6466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6467 install-pdf) \
6468 || exit 1
6470 @endif cgen
6472 .PHONY: maybe-install-html-cgen install-html-cgen
6473 maybe-install-html-cgen:
6474 @if cgen
6475 maybe-install-html-cgen: install-html-cgen
6477 install-html-cgen: \
6478 configure-cgen \
6479 html-cgen
6480 @: $(MAKE); $(unstage)
6481 @[ -f ./cgen/Makefile ] || exit 0; \
6482 r=`${PWD_COMMAND}`; export r; \
6483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6484 $(HOST_EXPORTS) \
6485 for flag in $(EXTRA_HOST_FLAGS) ; do \
6486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6487 done; \
6488 echo "Doing install-html in cgen" ; \
6489 (cd $(HOST_SUBDIR)/cgen && \
6490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6492 "RANLIB=$${RANLIB}" \
6493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6494 install-html) \
6495 || exit 1
6497 @endif cgen
6499 .PHONY: maybe-installcheck-cgen installcheck-cgen
6500 maybe-installcheck-cgen:
6501 @if cgen
6502 maybe-installcheck-cgen: installcheck-cgen
6504 installcheck-cgen: \
6505 configure-cgen
6506 @: $(MAKE); $(unstage)
6507 @[ -f ./cgen/Makefile ] || exit 0; \
6508 r=`${PWD_COMMAND}`; export r; \
6509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6510 $(HOST_EXPORTS) \
6511 for flag in $(EXTRA_HOST_FLAGS) ; do \
6512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6513 done; \
6514 echo "Doing installcheck in cgen" ; \
6515 (cd $(HOST_SUBDIR)/cgen && \
6516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6518 "RANLIB=$${RANLIB}" \
6519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6520 installcheck) \
6521 || exit 1
6523 @endif cgen
6525 .PHONY: maybe-mostlyclean-cgen mostlyclean-cgen
6526 maybe-mostlyclean-cgen:
6527 @if cgen
6528 maybe-mostlyclean-cgen: mostlyclean-cgen
6530 mostlyclean-cgen:
6531 @: $(MAKE); $(unstage)
6532 @[ -f ./cgen/Makefile ] || exit 0; \
6533 r=`${PWD_COMMAND}`; export r; \
6534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6535 $(HOST_EXPORTS) \
6536 for flag in $(EXTRA_HOST_FLAGS) ; do \
6537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6538 done; \
6539 echo "Doing mostlyclean in cgen" ; \
6540 (cd $(HOST_SUBDIR)/cgen && \
6541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6543 "RANLIB=$${RANLIB}" \
6544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6545 mostlyclean) \
6546 || exit 1
6548 @endif cgen
6550 .PHONY: maybe-clean-cgen clean-cgen
6551 maybe-clean-cgen:
6552 @if cgen
6553 maybe-clean-cgen: clean-cgen
6555 clean-cgen:
6556 @: $(MAKE); $(unstage)
6557 @[ -f ./cgen/Makefile ] || exit 0; \
6558 r=`${PWD_COMMAND}`; export r; \
6559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6560 $(HOST_EXPORTS) \
6561 for flag in $(EXTRA_HOST_FLAGS) ; do \
6562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6563 done; \
6564 echo "Doing clean in cgen" ; \
6565 (cd $(HOST_SUBDIR)/cgen && \
6566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6568 "RANLIB=$${RANLIB}" \
6569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6570 clean) \
6571 || exit 1
6573 @endif cgen
6575 .PHONY: maybe-distclean-cgen distclean-cgen
6576 maybe-distclean-cgen:
6577 @if cgen
6578 maybe-distclean-cgen: distclean-cgen
6580 distclean-cgen:
6581 @: $(MAKE); $(unstage)
6582 @[ -f ./cgen/Makefile ] || exit 0; \
6583 r=`${PWD_COMMAND}`; export r; \
6584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6585 $(HOST_EXPORTS) \
6586 for flag in $(EXTRA_HOST_FLAGS) ; do \
6587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6588 done; \
6589 echo "Doing distclean in cgen" ; \
6590 (cd $(HOST_SUBDIR)/cgen && \
6591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6593 "RANLIB=$${RANLIB}" \
6594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6595 distclean) \
6596 || exit 1
6598 @endif cgen
6600 .PHONY: maybe-maintainer-clean-cgen maintainer-clean-cgen
6601 maybe-maintainer-clean-cgen:
6602 @if cgen
6603 maybe-maintainer-clean-cgen: maintainer-clean-cgen
6605 maintainer-clean-cgen:
6606 @: $(MAKE); $(unstage)
6607 @[ -f ./cgen/Makefile ] || exit 0; \
6608 r=`${PWD_COMMAND}`; export r; \
6609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6610 $(HOST_EXPORTS) \
6611 for flag in $(EXTRA_HOST_FLAGS) ; do \
6612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6613 done; \
6614 echo "Doing maintainer-clean in cgen" ; \
6615 (cd $(HOST_SUBDIR)/cgen && \
6616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6618 "RANLIB=$${RANLIB}" \
6619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6620 maintainer-clean) \
6621 || exit 1
6623 @endif cgen
6627 .PHONY: configure-dejagnu maybe-configure-dejagnu
6628 maybe-configure-dejagnu:
6629 @if gcc-bootstrap
6630 configure-dejagnu: stage_current
6631 @endif gcc-bootstrap
6632 @if dejagnu
6633 maybe-configure-dejagnu: configure-dejagnu
6634 configure-dejagnu:
6635 @: $(MAKE); $(unstage)
6636 @r=`${PWD_COMMAND}`; export r; \
6637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6638 test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
6639 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu ; \
6640 $(HOST_EXPORTS) \
6641 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
6642 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
6643 case $(srcdir) in \
6644 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6645 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
6646 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6647 esac; \
6648 module_srcdir=dejagnu; \
6649 $(SHELL) \
6650 $$s/$$module_srcdir/configure \
6651 --srcdir=$${topdir}/$$module_srcdir \
6652 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
6653 --target=${target_alias} \
6654 || exit 1
6655 @endif dejagnu
6661 .PHONY: all-dejagnu maybe-all-dejagnu
6662 maybe-all-dejagnu:
6663 @if gcc-bootstrap
6664 all-dejagnu: stage_current
6665 @endif gcc-bootstrap
6666 @if dejagnu
6667 TARGET-dejagnu=all
6668 maybe-all-dejagnu: all-dejagnu
6669 all-dejagnu: configure-dejagnu
6670 @: $(MAKE); $(unstage)
6671 @r=`${PWD_COMMAND}`; export r; \
6672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6673 $(HOST_EXPORTS) \
6674 (cd $(HOST_SUBDIR)/dejagnu && \
6675 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
6676 $(TARGET-dejagnu))
6677 @endif dejagnu
6682 .PHONY: check-dejagnu maybe-check-dejagnu
6683 maybe-check-dejagnu:
6684 @if dejagnu
6685 maybe-check-dejagnu: check-dejagnu
6687 check-dejagnu:
6688 @: $(MAKE); $(unstage)
6689 @r=`${PWD_COMMAND}`; export r; \
6690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6691 $(HOST_EXPORTS) \
6692 (cd $(HOST_SUBDIR)/dejagnu && \
6693 $(MAKE) $(FLAGS_TO_PASS) check)
6695 @endif dejagnu
6697 .PHONY: install-dejagnu maybe-install-dejagnu
6698 maybe-install-dejagnu:
6699 @if dejagnu
6700 maybe-install-dejagnu: install-dejagnu
6702 install-dejagnu: installdirs
6703 @: $(MAKE); $(unstage)
6704 @r=`${PWD_COMMAND}`; export r; \
6705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6706 $(HOST_EXPORTS) \
6707 (cd $(HOST_SUBDIR)/dejagnu && \
6708 $(MAKE) $(FLAGS_TO_PASS) install)
6710 @endif dejagnu
6712 .PHONY: install-strip-dejagnu maybe-install-strip-dejagnu
6713 maybe-install-strip-dejagnu:
6714 @if dejagnu
6715 maybe-install-strip-dejagnu: install-strip-dejagnu
6717 install-strip-dejagnu: installdirs
6718 @: $(MAKE); $(unstage)
6719 @r=`${PWD_COMMAND}`; export r; \
6720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6721 $(HOST_EXPORTS) \
6722 (cd $(HOST_SUBDIR)/dejagnu && \
6723 $(MAKE) $(FLAGS_TO_PASS) install-strip)
6725 @endif dejagnu
6727 # Other targets (info, dvi, pdf, etc.)
6729 .PHONY: maybe-info-dejagnu info-dejagnu
6730 maybe-info-dejagnu:
6731 @if dejagnu
6732 maybe-info-dejagnu: info-dejagnu
6734 info-dejagnu: \
6735 configure-dejagnu
6736 @: $(MAKE); $(unstage)
6737 @[ -f ./dejagnu/Makefile ] || exit 0; \
6738 r=`${PWD_COMMAND}`; export r; \
6739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6740 $(HOST_EXPORTS) \
6741 for flag in $(EXTRA_HOST_FLAGS) ; do \
6742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6743 done; \
6744 echo "Doing info in dejagnu" ; \
6745 (cd $(HOST_SUBDIR)/dejagnu && \
6746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6748 "RANLIB=$${RANLIB}" \
6749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6750 info) \
6751 || exit 1
6753 @endif dejagnu
6755 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
6756 maybe-dvi-dejagnu:
6757 @if dejagnu
6758 maybe-dvi-dejagnu: dvi-dejagnu
6760 dvi-dejagnu: \
6761 configure-dejagnu
6762 @: $(MAKE); $(unstage)
6763 @[ -f ./dejagnu/Makefile ] || exit 0; \
6764 r=`${PWD_COMMAND}`; export r; \
6765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6766 $(HOST_EXPORTS) \
6767 for flag in $(EXTRA_HOST_FLAGS) ; do \
6768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6769 done; \
6770 echo "Doing dvi in dejagnu" ; \
6771 (cd $(HOST_SUBDIR)/dejagnu && \
6772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6774 "RANLIB=$${RANLIB}" \
6775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6776 dvi) \
6777 || exit 1
6779 @endif dejagnu
6781 .PHONY: maybe-pdf-dejagnu pdf-dejagnu
6782 maybe-pdf-dejagnu:
6783 @if dejagnu
6784 maybe-pdf-dejagnu: pdf-dejagnu
6786 pdf-dejagnu: \
6787 configure-dejagnu
6788 @: $(MAKE); $(unstage)
6789 @[ -f ./dejagnu/Makefile ] || exit 0; \
6790 r=`${PWD_COMMAND}`; export r; \
6791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6792 $(HOST_EXPORTS) \
6793 for flag in $(EXTRA_HOST_FLAGS) ; do \
6794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6795 done; \
6796 echo "Doing pdf in dejagnu" ; \
6797 (cd $(HOST_SUBDIR)/dejagnu && \
6798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6800 "RANLIB=$${RANLIB}" \
6801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6802 pdf) \
6803 || exit 1
6805 @endif dejagnu
6807 .PHONY: maybe-html-dejagnu html-dejagnu
6808 maybe-html-dejagnu:
6809 @if dejagnu
6810 maybe-html-dejagnu: html-dejagnu
6812 html-dejagnu: \
6813 configure-dejagnu
6814 @: $(MAKE); $(unstage)
6815 @[ -f ./dejagnu/Makefile ] || exit 0; \
6816 r=`${PWD_COMMAND}`; export r; \
6817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6818 $(HOST_EXPORTS) \
6819 for flag in $(EXTRA_HOST_FLAGS) ; do \
6820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6821 done; \
6822 echo "Doing html in dejagnu" ; \
6823 (cd $(HOST_SUBDIR)/dejagnu && \
6824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6826 "RANLIB=$${RANLIB}" \
6827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6828 html) \
6829 || exit 1
6831 @endif dejagnu
6833 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
6834 maybe-TAGS-dejagnu:
6835 @if dejagnu
6836 maybe-TAGS-dejagnu: TAGS-dejagnu
6838 TAGS-dejagnu: \
6839 configure-dejagnu
6840 @: $(MAKE); $(unstage)
6841 @[ -f ./dejagnu/Makefile ] || exit 0; \
6842 r=`${PWD_COMMAND}`; export r; \
6843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6844 $(HOST_EXPORTS) \
6845 for flag in $(EXTRA_HOST_FLAGS) ; do \
6846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6847 done; \
6848 echo "Doing TAGS in dejagnu" ; \
6849 (cd $(HOST_SUBDIR)/dejagnu && \
6850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6852 "RANLIB=$${RANLIB}" \
6853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6854 TAGS) \
6855 || exit 1
6857 @endif dejagnu
6859 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
6860 maybe-install-info-dejagnu:
6861 @if dejagnu
6862 maybe-install-info-dejagnu: install-info-dejagnu
6864 install-info-dejagnu: \
6865 configure-dejagnu \
6866 info-dejagnu
6867 @: $(MAKE); $(unstage)
6868 @[ -f ./dejagnu/Makefile ] || exit 0; \
6869 r=`${PWD_COMMAND}`; export r; \
6870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6871 $(HOST_EXPORTS) \
6872 for flag in $(EXTRA_HOST_FLAGS) ; do \
6873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6874 done; \
6875 echo "Doing install-info in dejagnu" ; \
6876 (cd $(HOST_SUBDIR)/dejagnu && \
6877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6879 "RANLIB=$${RANLIB}" \
6880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6881 install-info) \
6882 || exit 1
6884 @endif dejagnu
6886 .PHONY: maybe-install-pdf-dejagnu install-pdf-dejagnu
6887 maybe-install-pdf-dejagnu:
6888 @if dejagnu
6889 maybe-install-pdf-dejagnu: install-pdf-dejagnu
6891 install-pdf-dejagnu: \
6892 configure-dejagnu \
6893 pdf-dejagnu
6894 @: $(MAKE); $(unstage)
6895 @[ -f ./dejagnu/Makefile ] || exit 0; \
6896 r=`${PWD_COMMAND}`; export r; \
6897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6898 $(HOST_EXPORTS) \
6899 for flag in $(EXTRA_HOST_FLAGS) ; do \
6900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6901 done; \
6902 echo "Doing install-pdf in dejagnu" ; \
6903 (cd $(HOST_SUBDIR)/dejagnu && \
6904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6906 "RANLIB=$${RANLIB}" \
6907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6908 install-pdf) \
6909 || exit 1
6911 @endif dejagnu
6913 .PHONY: maybe-install-html-dejagnu install-html-dejagnu
6914 maybe-install-html-dejagnu:
6915 @if dejagnu
6916 maybe-install-html-dejagnu: install-html-dejagnu
6918 install-html-dejagnu: \
6919 configure-dejagnu \
6920 html-dejagnu
6921 @: $(MAKE); $(unstage)
6922 @[ -f ./dejagnu/Makefile ] || exit 0; \
6923 r=`${PWD_COMMAND}`; export r; \
6924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6925 $(HOST_EXPORTS) \
6926 for flag in $(EXTRA_HOST_FLAGS) ; do \
6927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6928 done; \
6929 echo "Doing install-html in dejagnu" ; \
6930 (cd $(HOST_SUBDIR)/dejagnu && \
6931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6933 "RANLIB=$${RANLIB}" \
6934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6935 install-html) \
6936 || exit 1
6938 @endif dejagnu
6940 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
6941 maybe-installcheck-dejagnu:
6942 @if dejagnu
6943 maybe-installcheck-dejagnu: installcheck-dejagnu
6945 installcheck-dejagnu: \
6946 configure-dejagnu
6947 @: $(MAKE); $(unstage)
6948 @[ -f ./dejagnu/Makefile ] || exit 0; \
6949 r=`${PWD_COMMAND}`; export r; \
6950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6951 $(HOST_EXPORTS) \
6952 for flag in $(EXTRA_HOST_FLAGS) ; do \
6953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6954 done; \
6955 echo "Doing installcheck in dejagnu" ; \
6956 (cd $(HOST_SUBDIR)/dejagnu && \
6957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6959 "RANLIB=$${RANLIB}" \
6960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6961 installcheck) \
6962 || exit 1
6964 @endif dejagnu
6966 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
6967 maybe-mostlyclean-dejagnu:
6968 @if dejagnu
6969 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
6971 mostlyclean-dejagnu:
6972 @: $(MAKE); $(unstage)
6973 @[ -f ./dejagnu/Makefile ] || exit 0; \
6974 r=`${PWD_COMMAND}`; export r; \
6975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6976 $(HOST_EXPORTS) \
6977 for flag in $(EXTRA_HOST_FLAGS) ; do \
6978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6979 done; \
6980 echo "Doing mostlyclean in dejagnu" ; \
6981 (cd $(HOST_SUBDIR)/dejagnu && \
6982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6984 "RANLIB=$${RANLIB}" \
6985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
6986 mostlyclean) \
6987 || exit 1
6989 @endif dejagnu
6991 .PHONY: maybe-clean-dejagnu clean-dejagnu
6992 maybe-clean-dejagnu:
6993 @if dejagnu
6994 maybe-clean-dejagnu: clean-dejagnu
6996 clean-dejagnu:
6997 @: $(MAKE); $(unstage)
6998 @[ -f ./dejagnu/Makefile ] || exit 0; \
6999 r=`${PWD_COMMAND}`; export r; \
7000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7001 $(HOST_EXPORTS) \
7002 for flag in $(EXTRA_HOST_FLAGS) ; do \
7003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7004 done; \
7005 echo "Doing clean in dejagnu" ; \
7006 (cd $(HOST_SUBDIR)/dejagnu && \
7007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7009 "RANLIB=$${RANLIB}" \
7010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7011 clean) \
7012 || exit 1
7014 @endif dejagnu
7016 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
7017 maybe-distclean-dejagnu:
7018 @if dejagnu
7019 maybe-distclean-dejagnu: distclean-dejagnu
7021 distclean-dejagnu:
7022 @: $(MAKE); $(unstage)
7023 @[ -f ./dejagnu/Makefile ] || exit 0; \
7024 r=`${PWD_COMMAND}`; export r; \
7025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7026 $(HOST_EXPORTS) \
7027 for flag in $(EXTRA_HOST_FLAGS) ; do \
7028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7029 done; \
7030 echo "Doing distclean in dejagnu" ; \
7031 (cd $(HOST_SUBDIR)/dejagnu && \
7032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7034 "RANLIB=$${RANLIB}" \
7035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7036 distclean) \
7037 || exit 1
7039 @endif dejagnu
7041 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
7042 maybe-maintainer-clean-dejagnu:
7043 @if dejagnu
7044 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
7046 maintainer-clean-dejagnu:
7047 @: $(MAKE); $(unstage)
7048 @[ -f ./dejagnu/Makefile ] || exit 0; \
7049 r=`${PWD_COMMAND}`; export r; \
7050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7051 $(HOST_EXPORTS) \
7052 for flag in $(EXTRA_HOST_FLAGS) ; do \
7053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7054 done; \
7055 echo "Doing maintainer-clean in dejagnu" ; \
7056 (cd $(HOST_SUBDIR)/dejagnu && \
7057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7059 "RANLIB=$${RANLIB}" \
7060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7061 maintainer-clean) \
7062 || exit 1
7064 @endif dejagnu
7068 .PHONY: configure-etc maybe-configure-etc
7069 maybe-configure-etc:
7070 @if gcc-bootstrap
7071 configure-etc: stage_current
7072 @endif gcc-bootstrap
7073 @if etc
7074 maybe-configure-etc: configure-etc
7075 configure-etc:
7076 @: $(MAKE); $(unstage)
7077 @r=`${PWD_COMMAND}`; export r; \
7078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7079 test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
7080 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc ; \
7081 $(HOST_EXPORTS) \
7082 echo Configuring in $(HOST_SUBDIR)/etc; \
7083 cd "$(HOST_SUBDIR)/etc" || exit 1; \
7084 case $(srcdir) in \
7085 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7086 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
7087 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7088 esac; \
7089 module_srcdir=etc; \
7090 $(SHELL) \
7091 $$s/$$module_srcdir/configure \
7092 --srcdir=$${topdir}/$$module_srcdir \
7093 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7094 --target=${target_alias} \
7095 || exit 1
7096 @endif etc
7102 .PHONY: all-etc maybe-all-etc
7103 maybe-all-etc:
7104 @if gcc-bootstrap
7105 all-etc: stage_current
7106 @endif gcc-bootstrap
7107 @if etc
7108 TARGET-etc=all
7109 maybe-all-etc: all-etc
7110 all-etc: configure-etc
7111 @: $(MAKE); $(unstage)
7112 @r=`${PWD_COMMAND}`; export r; \
7113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7114 $(HOST_EXPORTS) \
7115 (cd $(HOST_SUBDIR)/etc && \
7116 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
7117 $(TARGET-etc))
7118 @endif etc
7123 .PHONY: check-etc maybe-check-etc
7124 maybe-check-etc:
7125 @if etc
7126 maybe-check-etc: check-etc
7128 check-etc:
7129 @: $(MAKE); $(unstage)
7130 @r=`${PWD_COMMAND}`; export r; \
7131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7132 $(HOST_EXPORTS) \
7133 (cd $(HOST_SUBDIR)/etc && \
7134 $(MAKE) $(FLAGS_TO_PASS) check)
7136 @endif etc
7138 .PHONY: install-etc maybe-install-etc
7139 maybe-install-etc:
7140 @if etc
7141 maybe-install-etc: install-etc
7143 install-etc: installdirs
7144 @: $(MAKE); $(unstage)
7145 @r=`${PWD_COMMAND}`; export r; \
7146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7147 $(HOST_EXPORTS) \
7148 (cd $(HOST_SUBDIR)/etc && \
7149 $(MAKE) $(FLAGS_TO_PASS) install)
7151 @endif etc
7153 .PHONY: install-strip-etc maybe-install-strip-etc
7154 maybe-install-strip-etc:
7155 @if etc
7156 maybe-install-strip-etc: install-strip-etc
7158 install-strip-etc: installdirs
7159 @: $(MAKE); $(unstage)
7160 @r=`${PWD_COMMAND}`; export r; \
7161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7162 $(HOST_EXPORTS) \
7163 (cd $(HOST_SUBDIR)/etc && \
7164 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7166 @endif etc
7168 # Other targets (info, dvi, pdf, etc.)
7170 .PHONY: maybe-info-etc info-etc
7171 maybe-info-etc:
7172 @if etc
7173 maybe-info-etc: info-etc
7175 info-etc: \
7176 configure-etc
7177 @: $(MAKE); $(unstage)
7178 @[ -f ./etc/Makefile ] || exit 0; \
7179 r=`${PWD_COMMAND}`; export r; \
7180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7181 $(HOST_EXPORTS) \
7182 for flag in $(EXTRA_HOST_FLAGS) ; do \
7183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7184 done; \
7185 echo "Doing info in etc" ; \
7186 (cd $(HOST_SUBDIR)/etc && \
7187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7189 "RANLIB=$${RANLIB}" \
7190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7191 info) \
7192 || exit 1
7194 @endif etc
7196 .PHONY: maybe-dvi-etc dvi-etc
7197 maybe-dvi-etc:
7198 @if etc
7199 maybe-dvi-etc: dvi-etc
7201 dvi-etc: \
7202 configure-etc
7203 @: $(MAKE); $(unstage)
7204 @[ -f ./etc/Makefile ] || exit 0; \
7205 r=`${PWD_COMMAND}`; export r; \
7206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7207 $(HOST_EXPORTS) \
7208 for flag in $(EXTRA_HOST_FLAGS) ; do \
7209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7210 done; \
7211 echo "Doing dvi in etc" ; \
7212 (cd $(HOST_SUBDIR)/etc && \
7213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7215 "RANLIB=$${RANLIB}" \
7216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7217 dvi) \
7218 || exit 1
7220 @endif etc
7222 .PHONY: maybe-pdf-etc pdf-etc
7223 maybe-pdf-etc:
7224 @if etc
7225 maybe-pdf-etc: pdf-etc
7227 pdf-etc: \
7228 configure-etc
7229 @: $(MAKE); $(unstage)
7230 @[ -f ./etc/Makefile ] || exit 0; \
7231 r=`${PWD_COMMAND}`; export r; \
7232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7233 $(HOST_EXPORTS) \
7234 for flag in $(EXTRA_HOST_FLAGS) ; do \
7235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7236 done; \
7237 echo "Doing pdf in etc" ; \
7238 (cd $(HOST_SUBDIR)/etc && \
7239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7241 "RANLIB=$${RANLIB}" \
7242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7243 pdf) \
7244 || exit 1
7246 @endif etc
7248 .PHONY: maybe-html-etc html-etc
7249 maybe-html-etc:
7250 @if etc
7251 maybe-html-etc: html-etc
7253 html-etc: \
7254 configure-etc
7255 @: $(MAKE); $(unstage)
7256 @[ -f ./etc/Makefile ] || exit 0; \
7257 r=`${PWD_COMMAND}`; export r; \
7258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7259 $(HOST_EXPORTS) \
7260 for flag in $(EXTRA_HOST_FLAGS) ; do \
7261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7262 done; \
7263 echo "Doing html in etc" ; \
7264 (cd $(HOST_SUBDIR)/etc && \
7265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7267 "RANLIB=$${RANLIB}" \
7268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7269 html) \
7270 || exit 1
7272 @endif etc
7274 .PHONY: maybe-TAGS-etc TAGS-etc
7275 maybe-TAGS-etc:
7276 @if etc
7277 maybe-TAGS-etc: TAGS-etc
7279 TAGS-etc: \
7280 configure-etc
7281 @: $(MAKE); $(unstage)
7282 @[ -f ./etc/Makefile ] || exit 0; \
7283 r=`${PWD_COMMAND}`; export r; \
7284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7285 $(HOST_EXPORTS) \
7286 for flag in $(EXTRA_HOST_FLAGS) ; do \
7287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7288 done; \
7289 echo "Doing TAGS in etc" ; \
7290 (cd $(HOST_SUBDIR)/etc && \
7291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7293 "RANLIB=$${RANLIB}" \
7294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7295 TAGS) \
7296 || exit 1
7298 @endif etc
7300 .PHONY: maybe-install-info-etc install-info-etc
7301 maybe-install-info-etc:
7302 @if etc
7303 maybe-install-info-etc: install-info-etc
7305 install-info-etc: \
7306 configure-etc \
7307 info-etc
7308 @: $(MAKE); $(unstage)
7309 @[ -f ./etc/Makefile ] || exit 0; \
7310 r=`${PWD_COMMAND}`; export r; \
7311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7312 $(HOST_EXPORTS) \
7313 for flag in $(EXTRA_HOST_FLAGS) ; do \
7314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7315 done; \
7316 echo "Doing install-info in etc" ; \
7317 (cd $(HOST_SUBDIR)/etc && \
7318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7320 "RANLIB=$${RANLIB}" \
7321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7322 install-info) \
7323 || exit 1
7325 @endif etc
7327 .PHONY: maybe-install-pdf-etc install-pdf-etc
7328 maybe-install-pdf-etc:
7329 @if etc
7330 maybe-install-pdf-etc: install-pdf-etc
7332 install-pdf-etc: \
7333 configure-etc \
7334 pdf-etc
7335 @: $(MAKE); $(unstage)
7336 @[ -f ./etc/Makefile ] || exit 0; \
7337 r=`${PWD_COMMAND}`; export r; \
7338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7339 $(HOST_EXPORTS) \
7340 for flag in $(EXTRA_HOST_FLAGS) ; do \
7341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7342 done; \
7343 echo "Doing install-pdf in etc" ; \
7344 (cd $(HOST_SUBDIR)/etc && \
7345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7347 "RANLIB=$${RANLIB}" \
7348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7349 install-pdf) \
7350 || exit 1
7352 @endif etc
7354 .PHONY: maybe-install-html-etc install-html-etc
7355 maybe-install-html-etc:
7356 @if etc
7357 maybe-install-html-etc: install-html-etc
7359 install-html-etc: \
7360 configure-etc \
7361 html-etc
7362 @: $(MAKE); $(unstage)
7363 @[ -f ./etc/Makefile ] || exit 0; \
7364 r=`${PWD_COMMAND}`; export r; \
7365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7366 $(HOST_EXPORTS) \
7367 for flag in $(EXTRA_HOST_FLAGS) ; do \
7368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7369 done; \
7370 echo "Doing install-html in etc" ; \
7371 (cd $(HOST_SUBDIR)/etc && \
7372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7374 "RANLIB=$${RANLIB}" \
7375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7376 install-html) \
7377 || exit 1
7379 @endif etc
7381 .PHONY: maybe-installcheck-etc installcheck-etc
7382 maybe-installcheck-etc:
7383 @if etc
7384 maybe-installcheck-etc: installcheck-etc
7386 installcheck-etc: \
7387 configure-etc
7388 @: $(MAKE); $(unstage)
7389 @[ -f ./etc/Makefile ] || exit 0; \
7390 r=`${PWD_COMMAND}`; export r; \
7391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7392 $(HOST_EXPORTS) \
7393 for flag in $(EXTRA_HOST_FLAGS) ; do \
7394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7395 done; \
7396 echo "Doing installcheck in etc" ; \
7397 (cd $(HOST_SUBDIR)/etc && \
7398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7400 "RANLIB=$${RANLIB}" \
7401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7402 installcheck) \
7403 || exit 1
7405 @endif etc
7407 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
7408 maybe-mostlyclean-etc:
7409 @if etc
7410 maybe-mostlyclean-etc: mostlyclean-etc
7412 mostlyclean-etc:
7413 @: $(MAKE); $(unstage)
7414 @[ -f ./etc/Makefile ] || exit 0; \
7415 r=`${PWD_COMMAND}`; export r; \
7416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7417 $(HOST_EXPORTS) \
7418 for flag in $(EXTRA_HOST_FLAGS) ; do \
7419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7420 done; \
7421 echo "Doing mostlyclean in etc" ; \
7422 (cd $(HOST_SUBDIR)/etc && \
7423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7425 "RANLIB=$${RANLIB}" \
7426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7427 mostlyclean) \
7428 || exit 1
7430 @endif etc
7432 .PHONY: maybe-clean-etc clean-etc
7433 maybe-clean-etc:
7434 @if etc
7435 maybe-clean-etc: clean-etc
7437 clean-etc:
7438 @: $(MAKE); $(unstage)
7439 @[ -f ./etc/Makefile ] || exit 0; \
7440 r=`${PWD_COMMAND}`; export r; \
7441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7442 $(HOST_EXPORTS) \
7443 for flag in $(EXTRA_HOST_FLAGS) ; do \
7444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7445 done; \
7446 echo "Doing clean in etc" ; \
7447 (cd $(HOST_SUBDIR)/etc && \
7448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7450 "RANLIB=$${RANLIB}" \
7451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7452 clean) \
7453 || exit 1
7455 @endif etc
7457 .PHONY: maybe-distclean-etc distclean-etc
7458 maybe-distclean-etc:
7459 @if etc
7460 maybe-distclean-etc: distclean-etc
7462 distclean-etc:
7463 @: $(MAKE); $(unstage)
7464 @[ -f ./etc/Makefile ] || exit 0; \
7465 r=`${PWD_COMMAND}`; export r; \
7466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7467 $(HOST_EXPORTS) \
7468 for flag in $(EXTRA_HOST_FLAGS) ; do \
7469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7470 done; \
7471 echo "Doing distclean in etc" ; \
7472 (cd $(HOST_SUBDIR)/etc && \
7473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7475 "RANLIB=$${RANLIB}" \
7476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7477 distclean) \
7478 || exit 1
7480 @endif etc
7482 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
7483 maybe-maintainer-clean-etc:
7484 @if etc
7485 maybe-maintainer-clean-etc: maintainer-clean-etc
7487 maintainer-clean-etc:
7488 @: $(MAKE); $(unstage)
7489 @[ -f ./etc/Makefile ] || exit 0; \
7490 r=`${PWD_COMMAND}`; export r; \
7491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7492 $(HOST_EXPORTS) \
7493 for flag in $(EXTRA_HOST_FLAGS) ; do \
7494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7495 done; \
7496 echo "Doing maintainer-clean in etc" ; \
7497 (cd $(HOST_SUBDIR)/etc && \
7498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7500 "RANLIB=$${RANLIB}" \
7501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7502 maintainer-clean) \
7503 || exit 1
7505 @endif etc
7509 .PHONY: configure-fastjar maybe-configure-fastjar
7510 maybe-configure-fastjar:
7511 @if gcc-bootstrap
7512 configure-fastjar: stage_current
7513 @endif gcc-bootstrap
7514 @if fastjar
7515 maybe-configure-fastjar: configure-fastjar
7516 configure-fastjar:
7517 @: $(MAKE); $(unstage)
7518 @r=`${PWD_COMMAND}`; export r; \
7519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7520 test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
7521 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar ; \
7522 $(HOST_EXPORTS) \
7523 echo Configuring in $(HOST_SUBDIR)/fastjar; \
7524 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
7525 case $(srcdir) in \
7526 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7527 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
7528 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7529 esac; \
7530 module_srcdir=fastjar; \
7531 $(SHELL) \
7532 $$s/$$module_srcdir/configure \
7533 --srcdir=$${topdir}/$$module_srcdir \
7534 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7535 --target=${target_alias} \
7536 || exit 1
7537 @endif fastjar
7543 .PHONY: all-fastjar maybe-all-fastjar
7544 maybe-all-fastjar:
7545 @if gcc-bootstrap
7546 all-fastjar: stage_current
7547 @endif gcc-bootstrap
7548 @if fastjar
7549 TARGET-fastjar=all
7550 maybe-all-fastjar: all-fastjar
7551 all-fastjar: configure-fastjar
7552 @: $(MAKE); $(unstage)
7553 @r=`${PWD_COMMAND}`; export r; \
7554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7555 $(HOST_EXPORTS) \
7556 (cd $(HOST_SUBDIR)/fastjar && \
7557 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
7558 $(TARGET-fastjar))
7559 @endif fastjar
7564 .PHONY: check-fastjar maybe-check-fastjar
7565 maybe-check-fastjar:
7566 @if fastjar
7567 maybe-check-fastjar: check-fastjar
7569 # This module is only tested in a native toolchain.
7570 check-fastjar:
7571 @: $(MAKE); $(unstage)
7572 @if [ '$(host)' = '$(target)' ] ; then \
7573 r=`${PWD_COMMAND}`; export r; \
7574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7575 $(HOST_EXPORTS) \
7576 (cd $(HOST_SUBDIR)/fastjar && \
7577 $(MAKE) $(FLAGS_TO_PASS) check); \
7580 @endif fastjar
7582 .PHONY: install-fastjar maybe-install-fastjar
7583 maybe-install-fastjar:
7584 @if fastjar
7585 maybe-install-fastjar: install-fastjar
7587 install-fastjar: installdirs
7588 @: $(MAKE); $(unstage)
7589 @r=`${PWD_COMMAND}`; export r; \
7590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7591 $(HOST_EXPORTS) \
7592 (cd $(HOST_SUBDIR)/fastjar && \
7593 $(MAKE) $(FLAGS_TO_PASS) install)
7595 @endif fastjar
7597 .PHONY: install-strip-fastjar maybe-install-strip-fastjar
7598 maybe-install-strip-fastjar:
7599 @if fastjar
7600 maybe-install-strip-fastjar: install-strip-fastjar
7602 install-strip-fastjar: installdirs
7603 @: $(MAKE); $(unstage)
7604 @r=`${PWD_COMMAND}`; export r; \
7605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7606 $(HOST_EXPORTS) \
7607 (cd $(HOST_SUBDIR)/fastjar && \
7608 $(MAKE) $(FLAGS_TO_PASS) install-strip)
7610 @endif fastjar
7612 # Other targets (info, dvi, pdf, etc.)
7614 .PHONY: maybe-info-fastjar info-fastjar
7615 maybe-info-fastjar:
7616 @if fastjar
7617 maybe-info-fastjar: info-fastjar
7619 info-fastjar: \
7620 configure-fastjar
7621 @: $(MAKE); $(unstage)
7622 @[ -f ./fastjar/Makefile ] || exit 0; \
7623 r=`${PWD_COMMAND}`; export r; \
7624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7625 $(HOST_EXPORTS) \
7626 for flag in $(EXTRA_HOST_FLAGS) ; do \
7627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7628 done; \
7629 echo "Doing info in fastjar" ; \
7630 (cd $(HOST_SUBDIR)/fastjar && \
7631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7633 "RANLIB=$${RANLIB}" \
7634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7635 info) \
7636 || exit 1
7638 @endif fastjar
7640 .PHONY: maybe-dvi-fastjar dvi-fastjar
7641 maybe-dvi-fastjar:
7642 @if fastjar
7643 maybe-dvi-fastjar: dvi-fastjar
7645 dvi-fastjar: \
7646 configure-fastjar
7647 @: $(MAKE); $(unstage)
7648 @[ -f ./fastjar/Makefile ] || exit 0; \
7649 r=`${PWD_COMMAND}`; export r; \
7650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7651 $(HOST_EXPORTS) \
7652 for flag in $(EXTRA_HOST_FLAGS) ; do \
7653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7654 done; \
7655 echo "Doing dvi in fastjar" ; \
7656 (cd $(HOST_SUBDIR)/fastjar && \
7657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7659 "RANLIB=$${RANLIB}" \
7660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7661 dvi) \
7662 || exit 1
7664 @endif fastjar
7666 .PHONY: maybe-pdf-fastjar pdf-fastjar
7667 maybe-pdf-fastjar:
7668 @if fastjar
7669 maybe-pdf-fastjar: pdf-fastjar
7671 pdf-fastjar: \
7672 configure-fastjar
7673 @: $(MAKE); $(unstage)
7674 @[ -f ./fastjar/Makefile ] || exit 0; \
7675 r=`${PWD_COMMAND}`; export r; \
7676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7677 $(HOST_EXPORTS) \
7678 for flag in $(EXTRA_HOST_FLAGS) ; do \
7679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7680 done; \
7681 echo "Doing pdf in fastjar" ; \
7682 (cd $(HOST_SUBDIR)/fastjar && \
7683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7685 "RANLIB=$${RANLIB}" \
7686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7687 pdf) \
7688 || exit 1
7690 @endif fastjar
7692 .PHONY: maybe-html-fastjar html-fastjar
7693 maybe-html-fastjar:
7694 @if fastjar
7695 maybe-html-fastjar: html-fastjar
7697 html-fastjar: \
7698 configure-fastjar
7699 @: $(MAKE); $(unstage)
7700 @[ -f ./fastjar/Makefile ] || exit 0; \
7701 r=`${PWD_COMMAND}`; export r; \
7702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7703 $(HOST_EXPORTS) \
7704 for flag in $(EXTRA_HOST_FLAGS) ; do \
7705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7706 done; \
7707 echo "Doing html in fastjar" ; \
7708 (cd $(HOST_SUBDIR)/fastjar && \
7709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7711 "RANLIB=$${RANLIB}" \
7712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7713 html) \
7714 || exit 1
7716 @endif fastjar
7718 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
7719 maybe-TAGS-fastjar:
7720 @if fastjar
7721 maybe-TAGS-fastjar: TAGS-fastjar
7723 TAGS-fastjar: \
7724 configure-fastjar
7725 @: $(MAKE); $(unstage)
7726 @[ -f ./fastjar/Makefile ] || exit 0; \
7727 r=`${PWD_COMMAND}`; export r; \
7728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7729 $(HOST_EXPORTS) \
7730 for flag in $(EXTRA_HOST_FLAGS) ; do \
7731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7732 done; \
7733 echo "Doing TAGS in fastjar" ; \
7734 (cd $(HOST_SUBDIR)/fastjar && \
7735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7737 "RANLIB=$${RANLIB}" \
7738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7739 TAGS) \
7740 || exit 1
7742 @endif fastjar
7744 .PHONY: maybe-install-info-fastjar install-info-fastjar
7745 maybe-install-info-fastjar:
7746 @if fastjar
7747 maybe-install-info-fastjar: install-info-fastjar
7749 install-info-fastjar: \
7750 configure-fastjar \
7751 info-fastjar
7752 @: $(MAKE); $(unstage)
7753 @[ -f ./fastjar/Makefile ] || exit 0; \
7754 r=`${PWD_COMMAND}`; export r; \
7755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7756 $(HOST_EXPORTS) \
7757 for flag in $(EXTRA_HOST_FLAGS) ; do \
7758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7759 done; \
7760 echo "Doing install-info in fastjar" ; \
7761 (cd $(HOST_SUBDIR)/fastjar && \
7762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7764 "RANLIB=$${RANLIB}" \
7765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7766 install-info) \
7767 || exit 1
7769 @endif fastjar
7771 .PHONY: maybe-install-pdf-fastjar install-pdf-fastjar
7772 maybe-install-pdf-fastjar:
7773 @if fastjar
7774 maybe-install-pdf-fastjar: install-pdf-fastjar
7776 install-pdf-fastjar: \
7777 configure-fastjar \
7778 pdf-fastjar
7779 @: $(MAKE); $(unstage)
7780 @[ -f ./fastjar/Makefile ] || exit 0; \
7781 r=`${PWD_COMMAND}`; export r; \
7782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7783 $(HOST_EXPORTS) \
7784 for flag in $(EXTRA_HOST_FLAGS) ; do \
7785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7786 done; \
7787 echo "Doing install-pdf in fastjar" ; \
7788 (cd $(HOST_SUBDIR)/fastjar && \
7789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7791 "RANLIB=$${RANLIB}" \
7792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7793 install-pdf) \
7794 || exit 1
7796 @endif fastjar
7798 .PHONY: maybe-install-html-fastjar install-html-fastjar
7799 maybe-install-html-fastjar:
7800 @if fastjar
7801 maybe-install-html-fastjar: install-html-fastjar
7803 install-html-fastjar: \
7804 configure-fastjar \
7805 html-fastjar
7806 @: $(MAKE); $(unstage)
7807 @[ -f ./fastjar/Makefile ] || exit 0; \
7808 r=`${PWD_COMMAND}`; export r; \
7809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7810 $(HOST_EXPORTS) \
7811 for flag in $(EXTRA_HOST_FLAGS) ; do \
7812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7813 done; \
7814 echo "Doing install-html in fastjar" ; \
7815 (cd $(HOST_SUBDIR)/fastjar && \
7816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7818 "RANLIB=$${RANLIB}" \
7819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7820 install-html) \
7821 || exit 1
7823 @endif fastjar
7825 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
7826 maybe-installcheck-fastjar:
7827 @if fastjar
7828 maybe-installcheck-fastjar: installcheck-fastjar
7830 installcheck-fastjar: \
7831 configure-fastjar
7832 @: $(MAKE); $(unstage)
7833 @[ -f ./fastjar/Makefile ] || exit 0; \
7834 r=`${PWD_COMMAND}`; export r; \
7835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7836 $(HOST_EXPORTS) \
7837 for flag in $(EXTRA_HOST_FLAGS) ; do \
7838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7839 done; \
7840 echo "Doing installcheck in fastjar" ; \
7841 (cd $(HOST_SUBDIR)/fastjar && \
7842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7844 "RANLIB=$${RANLIB}" \
7845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7846 installcheck) \
7847 || exit 1
7849 @endif fastjar
7851 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
7852 maybe-mostlyclean-fastjar:
7853 @if fastjar
7854 maybe-mostlyclean-fastjar: mostlyclean-fastjar
7856 mostlyclean-fastjar:
7857 @: $(MAKE); $(unstage)
7858 @[ -f ./fastjar/Makefile ] || exit 0; \
7859 r=`${PWD_COMMAND}`; export r; \
7860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7861 $(HOST_EXPORTS) \
7862 for flag in $(EXTRA_HOST_FLAGS) ; do \
7863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7864 done; \
7865 echo "Doing mostlyclean in fastjar" ; \
7866 (cd $(HOST_SUBDIR)/fastjar && \
7867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7869 "RANLIB=$${RANLIB}" \
7870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7871 mostlyclean) \
7872 || exit 1
7874 @endif fastjar
7876 .PHONY: maybe-clean-fastjar clean-fastjar
7877 maybe-clean-fastjar:
7878 @if fastjar
7879 maybe-clean-fastjar: clean-fastjar
7881 clean-fastjar:
7882 @: $(MAKE); $(unstage)
7883 @[ -f ./fastjar/Makefile ] || exit 0; \
7884 r=`${PWD_COMMAND}`; export r; \
7885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7886 $(HOST_EXPORTS) \
7887 for flag in $(EXTRA_HOST_FLAGS) ; do \
7888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7889 done; \
7890 echo "Doing clean in fastjar" ; \
7891 (cd $(HOST_SUBDIR)/fastjar && \
7892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7894 "RANLIB=$${RANLIB}" \
7895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7896 clean) \
7897 || exit 1
7899 @endif fastjar
7901 .PHONY: maybe-distclean-fastjar distclean-fastjar
7902 maybe-distclean-fastjar:
7903 @if fastjar
7904 maybe-distclean-fastjar: distclean-fastjar
7906 distclean-fastjar:
7907 @: $(MAKE); $(unstage)
7908 @[ -f ./fastjar/Makefile ] || exit 0; \
7909 r=`${PWD_COMMAND}`; export r; \
7910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7911 $(HOST_EXPORTS) \
7912 for flag in $(EXTRA_HOST_FLAGS) ; do \
7913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7914 done; \
7915 echo "Doing distclean in fastjar" ; \
7916 (cd $(HOST_SUBDIR)/fastjar && \
7917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7919 "RANLIB=$${RANLIB}" \
7920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7921 distclean) \
7922 || exit 1
7924 @endif fastjar
7926 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
7927 maybe-maintainer-clean-fastjar:
7928 @if fastjar
7929 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
7931 maintainer-clean-fastjar:
7932 @: $(MAKE); $(unstage)
7933 @[ -f ./fastjar/Makefile ] || exit 0; \
7934 r=`${PWD_COMMAND}`; export r; \
7935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7936 $(HOST_EXPORTS) \
7937 for flag in $(EXTRA_HOST_FLAGS) ; do \
7938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7939 done; \
7940 echo "Doing maintainer-clean in fastjar" ; \
7941 (cd $(HOST_SUBDIR)/fastjar && \
7942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7944 "RANLIB=$${RANLIB}" \
7945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
7946 maintainer-clean) \
7947 || exit 1
7949 @endif fastjar
7953 .PHONY: configure-fixincludes maybe-configure-fixincludes
7954 maybe-configure-fixincludes:
7955 @if gcc-bootstrap
7956 configure-fixincludes: stage_current
7957 @endif gcc-bootstrap
7958 @if fixincludes
7959 maybe-configure-fixincludes: configure-fixincludes
7960 configure-fixincludes:
7961 @r=`${PWD_COMMAND}`; export r; \
7962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7963 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
7964 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
7965 $(HOST_EXPORTS) \
7966 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
7967 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
7968 case $(srcdir) in \
7969 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7970 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
7971 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7972 esac; \
7973 module_srcdir=fixincludes; \
7974 $(SHELL) \
7975 $$s/$$module_srcdir/configure \
7976 --srcdir=$${topdir}/$$module_srcdir \
7977 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
7978 --target=${target_alias} \
7979 || exit 1
7980 @endif fixincludes
7984 .PHONY: configure-stage1-fixincludes maybe-configure-stage1-fixincludes
7985 maybe-configure-stage1-fixincludes:
7986 @if fixincludes-bootstrap
7987 maybe-configure-stage1-fixincludes: configure-stage1-fixincludes
7988 configure-stage1-fixincludes:
7989 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
7990 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
7991 @r=`${PWD_COMMAND}`; export r; \
7992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7993 TFLAGS="$(STAGE1_TFLAGS)"; \
7994 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
7995 $(HOST_EXPORTS) \
7996 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
7997 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
7998 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
7999 echo Configuring stage 1 in $(HOST_SUBDIR)/fixincludes ; \
8000 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
8001 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8002 case $(srcdir) in \
8003 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8004 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8005 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8006 esac; \
8007 module_srcdir=fixincludes; \
8008 $(SHELL) $$s/$$module_srcdir/configure \
8009 --srcdir=$${topdir}/$$module_srcdir \
8010 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8011 --target=${target_alias} \
8013 $(STAGE1_CONFIGURE_FLAGS)
8014 @endif fixincludes-bootstrap
8016 .PHONY: configure-stage2-fixincludes maybe-configure-stage2-fixincludes
8017 maybe-configure-stage2-fixincludes:
8018 @if fixincludes-bootstrap
8019 maybe-configure-stage2-fixincludes: configure-stage2-fixincludes
8020 configure-stage2-fixincludes:
8021 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
8022 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8023 @r=`${PWD_COMMAND}`; export r; \
8024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8025 TFLAGS="$(STAGE2_TFLAGS)"; \
8026 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8027 $(HOST_EXPORTS) \
8028 $(POSTSTAGE1_HOST_EXPORTS) \
8029 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
8030 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
8031 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
8032 echo Configuring stage 2 in $(HOST_SUBDIR)/fixincludes ; \
8033 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
8034 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8035 case $(srcdir) in \
8036 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8037 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8038 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8039 esac; \
8040 module_srcdir=fixincludes; \
8041 $(SHELL) $$s/$$module_srcdir/configure \
8042 --srcdir=$${topdir}/$$module_srcdir \
8043 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8044 --target=${target_alias} \
8045 --with-build-libsubdir=$(HOST_SUBDIR) \
8046 $(STAGE2_CONFIGURE_FLAGS)
8047 @endif fixincludes-bootstrap
8049 .PHONY: configure-stage3-fixincludes maybe-configure-stage3-fixincludes
8050 maybe-configure-stage3-fixincludes:
8051 @if fixincludes-bootstrap
8052 maybe-configure-stage3-fixincludes: configure-stage3-fixincludes
8053 configure-stage3-fixincludes:
8054 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
8055 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8056 @r=`${PWD_COMMAND}`; export r; \
8057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8058 TFLAGS="$(STAGE3_TFLAGS)"; \
8059 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8060 $(HOST_EXPORTS) \
8061 $(POSTSTAGE1_HOST_EXPORTS) \
8062 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
8063 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
8064 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
8065 echo Configuring stage 3 in $(HOST_SUBDIR)/fixincludes ; \
8066 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
8067 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8068 case $(srcdir) in \
8069 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8070 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8071 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8072 esac; \
8073 module_srcdir=fixincludes; \
8074 $(SHELL) $$s/$$module_srcdir/configure \
8075 --srcdir=$${topdir}/$$module_srcdir \
8076 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8077 --target=${target_alias} \
8078 --with-build-libsubdir=$(HOST_SUBDIR) \
8079 $(STAGE3_CONFIGURE_FLAGS)
8080 @endif fixincludes-bootstrap
8082 .PHONY: configure-stage4-fixincludes maybe-configure-stage4-fixincludes
8083 maybe-configure-stage4-fixincludes:
8084 @if fixincludes-bootstrap
8085 maybe-configure-stage4-fixincludes: configure-stage4-fixincludes
8086 configure-stage4-fixincludes:
8087 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
8088 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8089 @r=`${PWD_COMMAND}`; export r; \
8090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8091 TFLAGS="$(STAGE4_TFLAGS)"; \
8092 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8093 $(HOST_EXPORTS) \
8094 $(POSTSTAGE1_HOST_EXPORTS) \
8095 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
8096 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
8097 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
8098 echo Configuring stage 4 in $(HOST_SUBDIR)/fixincludes ; \
8099 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
8100 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8101 case $(srcdir) in \
8102 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8103 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8104 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8105 esac; \
8106 module_srcdir=fixincludes; \
8107 $(SHELL) $$s/$$module_srcdir/configure \
8108 --srcdir=$${topdir}/$$module_srcdir \
8109 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8110 --target=${target_alias} \
8111 --with-build-libsubdir=$(HOST_SUBDIR) \
8112 $(STAGE4_CONFIGURE_FLAGS)
8113 @endif fixincludes-bootstrap
8115 .PHONY: configure-stageprofile-fixincludes maybe-configure-stageprofile-fixincludes
8116 maybe-configure-stageprofile-fixincludes:
8117 @if fixincludes-bootstrap
8118 maybe-configure-stageprofile-fixincludes: configure-stageprofile-fixincludes
8119 configure-stageprofile-fixincludes:
8120 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
8121 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8122 @r=`${PWD_COMMAND}`; export r; \
8123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8124 TFLAGS="$(STAGEprofile_TFLAGS)"; \
8125 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8126 $(HOST_EXPORTS) \
8127 $(POSTSTAGE1_HOST_EXPORTS) \
8128 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
8129 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
8130 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
8131 echo Configuring stage profile in $(HOST_SUBDIR)/fixincludes ; \
8132 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
8133 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8134 case $(srcdir) in \
8135 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8136 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8137 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8138 esac; \
8139 module_srcdir=fixincludes; \
8140 $(SHELL) $$s/$$module_srcdir/configure \
8141 --srcdir=$${topdir}/$$module_srcdir \
8142 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8143 --target=${target_alias} \
8144 --with-build-libsubdir=$(HOST_SUBDIR) \
8145 $(STAGEprofile_CONFIGURE_FLAGS)
8146 @endif fixincludes-bootstrap
8148 .PHONY: configure-stagefeedback-fixincludes maybe-configure-stagefeedback-fixincludes
8149 maybe-configure-stagefeedback-fixincludes:
8150 @if fixincludes-bootstrap
8151 maybe-configure-stagefeedback-fixincludes: configure-stagefeedback-fixincludes
8152 configure-stagefeedback-fixincludes:
8153 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
8154 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
8155 @r=`${PWD_COMMAND}`; export r; \
8156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8157 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
8158 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8159 $(HOST_EXPORTS) \
8160 $(POSTSTAGE1_HOST_EXPORTS) \
8161 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
8162 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
8163 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
8164 echo Configuring stage feedback in $(HOST_SUBDIR)/fixincludes ; \
8165 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
8166 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8167 case $(srcdir) in \
8168 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8169 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8170 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8171 esac; \
8172 module_srcdir=fixincludes; \
8173 $(SHELL) $$s/$$module_srcdir/configure \
8174 --srcdir=$${topdir}/$$module_srcdir \
8175 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8176 --target=${target_alias} \
8177 --with-build-libsubdir=$(HOST_SUBDIR) \
8178 $(STAGEfeedback_CONFIGURE_FLAGS)
8179 @endif fixincludes-bootstrap
8185 .PHONY: all-fixincludes maybe-all-fixincludes
8186 maybe-all-fixincludes:
8187 @if gcc-bootstrap
8188 all-fixincludes: stage_current
8189 @endif gcc-bootstrap
8190 @if fixincludes
8191 TARGET-fixincludes=all
8192 maybe-all-fixincludes: all-fixincludes
8193 all-fixincludes: configure-fixincludes
8194 @r=`${PWD_COMMAND}`; export r; \
8195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8196 $(HOST_EXPORTS) \
8197 (cd $(HOST_SUBDIR)/fixincludes && \
8198 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
8199 $(TARGET-fixincludes))
8200 @endif fixincludes
8204 .PHONY: all-stage1-fixincludes maybe-all-stage1-fixincludes
8205 .PHONY: clean-stage1-fixincludes maybe-clean-stage1-fixincludes
8206 maybe-all-stage1-fixincludes:
8207 maybe-clean-stage1-fixincludes:
8208 @if fixincludes-bootstrap
8209 maybe-all-stage1-fixincludes: all-stage1-fixincludes
8210 all-stage1: all-stage1-fixincludes
8211 TARGET-stage1-fixincludes = $(TARGET-fixincludes)
8212 all-stage1-fixincludes: configure-stage1-fixincludes
8213 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
8214 @r=`${PWD_COMMAND}`; export r; \
8215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8216 TFLAGS="$(STAGE1_TFLAGS)"; \
8217 $(HOST_EXPORTS) \
8218 cd $(HOST_SUBDIR)/fixincludes && \
8219 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8220 CFLAGS="$(STAGE1_CFLAGS)" \
8221 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
8222 LIBCFLAGS="$(LIBCFLAGS)" \
8223 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8224 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8225 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8226 $(EXTRA_HOST_FLAGS) \
8227 $(STAGE1_FLAGS_TO_PASS) \
8228 TFLAGS="$(STAGE1_TFLAGS)" \
8229 $(TARGET-stage1-fixincludes)
8231 maybe-clean-stage1-fixincludes: clean-stage1-fixincludes
8232 clean-stage1: clean-stage1-fixincludes
8233 clean-stage1-fixincludes:
8234 @if [ $(current_stage) = stage1 ]; then \
8235 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
8236 else \
8237 [ -f $(HOST_SUBDIR)/stage1-fixincludes/Makefile ] || exit 0; \
8238 $(MAKE) stage1-start; \
8239 fi; \
8240 cd $(HOST_SUBDIR)/fixincludes && \
8241 $(MAKE) $(EXTRA_HOST_FLAGS) \
8242 $(STAGE1_FLAGS_TO_PASS) clean
8243 @endif fixincludes-bootstrap
8246 .PHONY: all-stage2-fixincludes maybe-all-stage2-fixincludes
8247 .PHONY: clean-stage2-fixincludes maybe-clean-stage2-fixincludes
8248 maybe-all-stage2-fixincludes:
8249 maybe-clean-stage2-fixincludes:
8250 @if fixincludes-bootstrap
8251 maybe-all-stage2-fixincludes: all-stage2-fixincludes
8252 all-stage2: all-stage2-fixincludes
8253 TARGET-stage2-fixincludes = $(TARGET-fixincludes)
8254 all-stage2-fixincludes: configure-stage2-fixincludes
8255 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
8256 @r=`${PWD_COMMAND}`; export r; \
8257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8258 TFLAGS="$(STAGE2_TFLAGS)"; \
8259 $(HOST_EXPORTS) \
8260 $(POSTSTAGE1_HOST_EXPORTS) \
8261 cd $(HOST_SUBDIR)/fixincludes && \
8262 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8263 CFLAGS="$(STAGE2_CFLAGS)" \
8264 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
8265 LIBCFLAGS="$(STAGE2_CFLAGS)" \
8266 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8267 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8268 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8269 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8270 TFLAGS="$(STAGE2_TFLAGS)" \
8271 $(TARGET-stage2-fixincludes)
8273 maybe-clean-stage2-fixincludes: clean-stage2-fixincludes
8274 clean-stage2: clean-stage2-fixincludes
8275 clean-stage2-fixincludes:
8276 @if [ $(current_stage) = stage2 ]; then \
8277 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
8278 else \
8279 [ -f $(HOST_SUBDIR)/stage2-fixincludes/Makefile ] || exit 0; \
8280 $(MAKE) stage2-start; \
8281 fi; \
8282 cd $(HOST_SUBDIR)/fixincludes && \
8283 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
8284 @endif fixincludes-bootstrap
8287 .PHONY: all-stage3-fixincludes maybe-all-stage3-fixincludes
8288 .PHONY: clean-stage3-fixincludes maybe-clean-stage3-fixincludes
8289 maybe-all-stage3-fixincludes:
8290 maybe-clean-stage3-fixincludes:
8291 @if fixincludes-bootstrap
8292 maybe-all-stage3-fixincludes: all-stage3-fixincludes
8293 all-stage3: all-stage3-fixincludes
8294 TARGET-stage3-fixincludes = $(TARGET-fixincludes)
8295 all-stage3-fixincludes: configure-stage3-fixincludes
8296 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
8297 @r=`${PWD_COMMAND}`; export r; \
8298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8299 TFLAGS="$(STAGE3_TFLAGS)"; \
8300 $(HOST_EXPORTS) \
8301 $(POSTSTAGE1_HOST_EXPORTS) \
8302 cd $(HOST_SUBDIR)/fixincludes && \
8303 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8304 CFLAGS="$(STAGE3_CFLAGS)" \
8305 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
8306 LIBCFLAGS="$(STAGE3_CFLAGS)" \
8307 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8308 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8309 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8310 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8311 TFLAGS="$(STAGE3_TFLAGS)" \
8312 $(TARGET-stage3-fixincludes)
8314 maybe-clean-stage3-fixincludes: clean-stage3-fixincludes
8315 clean-stage3: clean-stage3-fixincludes
8316 clean-stage3-fixincludes:
8317 @if [ $(current_stage) = stage3 ]; then \
8318 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
8319 else \
8320 [ -f $(HOST_SUBDIR)/stage3-fixincludes/Makefile ] || exit 0; \
8321 $(MAKE) stage3-start; \
8322 fi; \
8323 cd $(HOST_SUBDIR)/fixincludes && \
8324 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
8325 @endif fixincludes-bootstrap
8328 .PHONY: all-stage4-fixincludes maybe-all-stage4-fixincludes
8329 .PHONY: clean-stage4-fixincludes maybe-clean-stage4-fixincludes
8330 maybe-all-stage4-fixincludes:
8331 maybe-clean-stage4-fixincludes:
8332 @if fixincludes-bootstrap
8333 maybe-all-stage4-fixincludes: all-stage4-fixincludes
8334 all-stage4: all-stage4-fixincludes
8335 TARGET-stage4-fixincludes = $(TARGET-fixincludes)
8336 all-stage4-fixincludes: configure-stage4-fixincludes
8337 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
8338 @r=`${PWD_COMMAND}`; export r; \
8339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8340 TFLAGS="$(STAGE4_TFLAGS)"; \
8341 $(HOST_EXPORTS) \
8342 $(POSTSTAGE1_HOST_EXPORTS) \
8343 cd $(HOST_SUBDIR)/fixincludes && \
8344 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8345 CFLAGS="$(STAGE4_CFLAGS)" \
8346 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
8347 LIBCFLAGS="$(STAGE4_CFLAGS)" \
8348 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8349 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8350 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8351 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8352 TFLAGS="$(STAGE4_TFLAGS)" \
8353 $(TARGET-stage4-fixincludes)
8355 maybe-clean-stage4-fixincludes: clean-stage4-fixincludes
8356 clean-stage4: clean-stage4-fixincludes
8357 clean-stage4-fixincludes:
8358 @if [ $(current_stage) = stage4 ]; then \
8359 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
8360 else \
8361 [ -f $(HOST_SUBDIR)/stage4-fixincludes/Makefile ] || exit 0; \
8362 $(MAKE) stage4-start; \
8363 fi; \
8364 cd $(HOST_SUBDIR)/fixincludes && \
8365 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
8366 @endif fixincludes-bootstrap
8369 .PHONY: all-stageprofile-fixincludes maybe-all-stageprofile-fixincludes
8370 .PHONY: clean-stageprofile-fixincludes maybe-clean-stageprofile-fixincludes
8371 maybe-all-stageprofile-fixincludes:
8372 maybe-clean-stageprofile-fixincludes:
8373 @if fixincludes-bootstrap
8374 maybe-all-stageprofile-fixincludes: all-stageprofile-fixincludes
8375 all-stageprofile: all-stageprofile-fixincludes
8376 TARGET-stageprofile-fixincludes = $(TARGET-fixincludes)
8377 all-stageprofile-fixincludes: configure-stageprofile-fixincludes
8378 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
8379 @r=`${PWD_COMMAND}`; export r; \
8380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8381 TFLAGS="$(STAGEprofile_TFLAGS)"; \
8382 $(HOST_EXPORTS) \
8383 $(POSTSTAGE1_HOST_EXPORTS) \
8384 cd $(HOST_SUBDIR)/fixincludes && \
8385 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8386 CFLAGS="$(STAGEprofile_CFLAGS)" \
8387 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
8388 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
8389 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8390 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8391 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8392 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8393 TFLAGS="$(STAGEprofile_TFLAGS)" \
8394 $(TARGET-stageprofile-fixincludes)
8396 maybe-clean-stageprofile-fixincludes: clean-stageprofile-fixincludes
8397 clean-stageprofile: clean-stageprofile-fixincludes
8398 clean-stageprofile-fixincludes:
8399 @if [ $(current_stage) = stageprofile ]; then \
8400 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
8401 else \
8402 [ -f $(HOST_SUBDIR)/stageprofile-fixincludes/Makefile ] || exit 0; \
8403 $(MAKE) stageprofile-start; \
8404 fi; \
8405 cd $(HOST_SUBDIR)/fixincludes && \
8406 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
8407 @endif fixincludes-bootstrap
8410 .PHONY: all-stagefeedback-fixincludes maybe-all-stagefeedback-fixincludes
8411 .PHONY: clean-stagefeedback-fixincludes maybe-clean-stagefeedback-fixincludes
8412 maybe-all-stagefeedback-fixincludes:
8413 maybe-clean-stagefeedback-fixincludes:
8414 @if fixincludes-bootstrap
8415 maybe-all-stagefeedback-fixincludes: all-stagefeedback-fixincludes
8416 all-stagefeedback: all-stagefeedback-fixincludes
8417 TARGET-stagefeedback-fixincludes = $(TARGET-fixincludes)
8418 all-stagefeedback-fixincludes: configure-stagefeedback-fixincludes
8419 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
8420 @r=`${PWD_COMMAND}`; export r; \
8421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8422 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
8423 $(HOST_EXPORTS) \
8424 $(POSTSTAGE1_HOST_EXPORTS) \
8425 cd $(HOST_SUBDIR)/fixincludes && \
8426 $(MAKE) $(BASE_FLAGS_TO_PASS) \
8427 CFLAGS="$(STAGEfeedback_CFLAGS)" \
8428 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
8429 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
8430 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
8431 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
8432 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
8433 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
8434 TFLAGS="$(STAGEfeedback_TFLAGS)" \
8435 $(TARGET-stagefeedback-fixincludes)
8437 maybe-clean-stagefeedback-fixincludes: clean-stagefeedback-fixincludes
8438 clean-stagefeedback: clean-stagefeedback-fixincludes
8439 clean-stagefeedback-fixincludes:
8440 @if [ $(current_stage) = stagefeedback ]; then \
8441 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
8442 else \
8443 [ -f $(HOST_SUBDIR)/stagefeedback-fixincludes/Makefile ] || exit 0; \
8444 $(MAKE) stagefeedback-start; \
8445 fi; \
8446 cd $(HOST_SUBDIR)/fixincludes && \
8447 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
8448 @endif fixincludes-bootstrap
8454 .PHONY: check-fixincludes maybe-check-fixincludes
8455 maybe-check-fixincludes:
8456 @if fixincludes
8457 maybe-check-fixincludes: check-fixincludes
8459 check-fixincludes:
8460 @: $(MAKE); $(unstage)
8461 @r=`${PWD_COMMAND}`; export r; \
8462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8463 $(HOST_EXPORTS) \
8464 (cd $(HOST_SUBDIR)/fixincludes && \
8465 $(MAKE) $(FLAGS_TO_PASS) check)
8467 @endif fixincludes
8469 .PHONY: install-fixincludes maybe-install-fixincludes
8470 maybe-install-fixincludes:
8471 @if fixincludes
8472 maybe-install-fixincludes: install-fixincludes
8474 install-fixincludes: installdirs
8475 @: $(MAKE); $(unstage)
8476 @r=`${PWD_COMMAND}`; export r; \
8477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8478 $(HOST_EXPORTS) \
8479 (cd $(HOST_SUBDIR)/fixincludes && \
8480 $(MAKE) $(FLAGS_TO_PASS) install)
8482 @endif fixincludes
8484 .PHONY: install-strip-fixincludes maybe-install-strip-fixincludes
8485 maybe-install-strip-fixincludes:
8486 @if fixincludes
8487 maybe-install-strip-fixincludes: install-strip-fixincludes
8489 install-strip-fixincludes: installdirs
8490 @: $(MAKE); $(unstage)
8491 @r=`${PWD_COMMAND}`; export r; \
8492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8493 $(HOST_EXPORTS) \
8494 (cd $(HOST_SUBDIR)/fixincludes && \
8495 $(MAKE) $(FLAGS_TO_PASS) install-strip)
8497 @endif fixincludes
8499 # Other targets (info, dvi, pdf, etc.)
8501 .PHONY: maybe-info-fixincludes info-fixincludes
8502 maybe-info-fixincludes:
8503 @if fixincludes
8504 maybe-info-fixincludes: info-fixincludes
8506 info-fixincludes: \
8507 configure-fixincludes
8508 @[ -f ./fixincludes/Makefile ] || exit 0; \
8509 r=`${PWD_COMMAND}`; export r; \
8510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8511 $(HOST_EXPORTS) \
8512 for flag in $(EXTRA_HOST_FLAGS) ; do \
8513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8514 done; \
8515 echo "Doing info in fixincludes" ; \
8516 (cd $(HOST_SUBDIR)/fixincludes && \
8517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8519 "RANLIB=$${RANLIB}" \
8520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8521 info) \
8522 || exit 1
8524 @endif fixincludes
8526 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
8527 maybe-dvi-fixincludes:
8528 @if fixincludes
8529 maybe-dvi-fixincludes: dvi-fixincludes
8531 dvi-fixincludes: \
8532 configure-fixincludes
8533 @[ -f ./fixincludes/Makefile ] || exit 0; \
8534 r=`${PWD_COMMAND}`; export r; \
8535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8536 $(HOST_EXPORTS) \
8537 for flag in $(EXTRA_HOST_FLAGS) ; do \
8538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8539 done; \
8540 echo "Doing dvi in fixincludes" ; \
8541 (cd $(HOST_SUBDIR)/fixincludes && \
8542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8544 "RANLIB=$${RANLIB}" \
8545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8546 dvi) \
8547 || exit 1
8549 @endif fixincludes
8551 .PHONY: maybe-pdf-fixincludes pdf-fixincludes
8552 maybe-pdf-fixincludes:
8553 @if fixincludes
8554 maybe-pdf-fixincludes: pdf-fixincludes
8556 pdf-fixincludes: \
8557 configure-fixincludes
8558 @[ -f ./fixincludes/Makefile ] || exit 0; \
8559 r=`${PWD_COMMAND}`; export r; \
8560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8561 $(HOST_EXPORTS) \
8562 for flag in $(EXTRA_HOST_FLAGS) ; do \
8563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8564 done; \
8565 echo "Doing pdf in fixincludes" ; \
8566 (cd $(HOST_SUBDIR)/fixincludes && \
8567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8569 "RANLIB=$${RANLIB}" \
8570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8571 pdf) \
8572 || exit 1
8574 @endif fixincludes
8576 .PHONY: maybe-html-fixincludes html-fixincludes
8577 maybe-html-fixincludes:
8578 @if fixincludes
8579 maybe-html-fixincludes: html-fixincludes
8581 html-fixincludes: \
8582 configure-fixincludes
8583 @[ -f ./fixincludes/Makefile ] || exit 0; \
8584 r=`${PWD_COMMAND}`; export r; \
8585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8586 $(HOST_EXPORTS) \
8587 for flag in $(EXTRA_HOST_FLAGS) ; do \
8588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8589 done; \
8590 echo "Doing html in fixincludes" ; \
8591 (cd $(HOST_SUBDIR)/fixincludes && \
8592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8594 "RANLIB=$${RANLIB}" \
8595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8596 html) \
8597 || exit 1
8599 @endif fixincludes
8601 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
8602 maybe-TAGS-fixincludes:
8603 @if fixincludes
8604 maybe-TAGS-fixincludes: TAGS-fixincludes
8606 # fixincludes doesn't support TAGS.
8607 TAGS-fixincludes:
8609 @endif fixincludes
8611 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
8612 maybe-install-info-fixincludes:
8613 @if fixincludes
8614 maybe-install-info-fixincludes: install-info-fixincludes
8616 install-info-fixincludes: \
8617 configure-fixincludes \
8618 info-fixincludes
8619 @[ -f ./fixincludes/Makefile ] || exit 0; \
8620 r=`${PWD_COMMAND}`; export r; \
8621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8622 $(HOST_EXPORTS) \
8623 for flag in $(EXTRA_HOST_FLAGS) ; do \
8624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8625 done; \
8626 echo "Doing install-info in fixincludes" ; \
8627 (cd $(HOST_SUBDIR)/fixincludes && \
8628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8630 "RANLIB=$${RANLIB}" \
8631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8632 install-info) \
8633 || exit 1
8635 @endif fixincludes
8637 .PHONY: maybe-install-pdf-fixincludes install-pdf-fixincludes
8638 maybe-install-pdf-fixincludes:
8639 @if fixincludes
8640 maybe-install-pdf-fixincludes: install-pdf-fixincludes
8642 install-pdf-fixincludes: \
8643 configure-fixincludes \
8644 pdf-fixincludes
8645 @[ -f ./fixincludes/Makefile ] || exit 0; \
8646 r=`${PWD_COMMAND}`; export r; \
8647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8648 $(HOST_EXPORTS) \
8649 for flag in $(EXTRA_HOST_FLAGS) ; do \
8650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8651 done; \
8652 echo "Doing install-pdf in fixincludes" ; \
8653 (cd $(HOST_SUBDIR)/fixincludes && \
8654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8656 "RANLIB=$${RANLIB}" \
8657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8658 install-pdf) \
8659 || exit 1
8661 @endif fixincludes
8663 .PHONY: maybe-install-html-fixincludes install-html-fixincludes
8664 maybe-install-html-fixincludes:
8665 @if fixincludes
8666 maybe-install-html-fixincludes: install-html-fixincludes
8668 install-html-fixincludes: \
8669 configure-fixincludes \
8670 html-fixincludes
8671 @[ -f ./fixincludes/Makefile ] || exit 0; \
8672 r=`${PWD_COMMAND}`; export r; \
8673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8674 $(HOST_EXPORTS) \
8675 for flag in $(EXTRA_HOST_FLAGS) ; do \
8676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8677 done; \
8678 echo "Doing install-html in fixincludes" ; \
8679 (cd $(HOST_SUBDIR)/fixincludes && \
8680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8682 "RANLIB=$${RANLIB}" \
8683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8684 install-html) \
8685 || exit 1
8687 @endif fixincludes
8689 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
8690 maybe-installcheck-fixincludes:
8691 @if fixincludes
8692 maybe-installcheck-fixincludes: installcheck-fixincludes
8694 installcheck-fixincludes: \
8695 configure-fixincludes
8696 @[ -f ./fixincludes/Makefile ] || exit 0; \
8697 r=`${PWD_COMMAND}`; export r; \
8698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8699 $(HOST_EXPORTS) \
8700 for flag in $(EXTRA_HOST_FLAGS) ; do \
8701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8702 done; \
8703 echo "Doing installcheck in fixincludes" ; \
8704 (cd $(HOST_SUBDIR)/fixincludes && \
8705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8707 "RANLIB=$${RANLIB}" \
8708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8709 installcheck) \
8710 || exit 1
8712 @endif fixincludes
8714 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
8715 maybe-mostlyclean-fixincludes:
8716 @if fixincludes
8717 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
8719 mostlyclean-fixincludes:
8720 @[ -f ./fixincludes/Makefile ] || exit 0; \
8721 r=`${PWD_COMMAND}`; export r; \
8722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8723 $(HOST_EXPORTS) \
8724 for flag in $(EXTRA_HOST_FLAGS) ; do \
8725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8726 done; \
8727 echo "Doing mostlyclean in fixincludes" ; \
8728 (cd $(HOST_SUBDIR)/fixincludes && \
8729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8731 "RANLIB=$${RANLIB}" \
8732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8733 mostlyclean) \
8734 || exit 1
8736 @endif fixincludes
8738 .PHONY: maybe-clean-fixincludes clean-fixincludes
8739 maybe-clean-fixincludes:
8740 @if fixincludes
8741 maybe-clean-fixincludes: clean-fixincludes
8743 clean-fixincludes:
8744 @[ -f ./fixincludes/Makefile ] || exit 0; \
8745 r=`${PWD_COMMAND}`; export r; \
8746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8747 $(HOST_EXPORTS) \
8748 for flag in $(EXTRA_HOST_FLAGS) ; do \
8749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8750 done; \
8751 echo "Doing clean in fixincludes" ; \
8752 (cd $(HOST_SUBDIR)/fixincludes && \
8753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8755 "RANLIB=$${RANLIB}" \
8756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8757 clean) \
8758 || exit 1
8760 @endif fixincludes
8762 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
8763 maybe-distclean-fixincludes:
8764 @if fixincludes
8765 maybe-distclean-fixincludes: distclean-fixincludes
8767 distclean-fixincludes:
8768 @[ -f ./fixincludes/Makefile ] || exit 0; \
8769 r=`${PWD_COMMAND}`; export r; \
8770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8771 $(HOST_EXPORTS) \
8772 for flag in $(EXTRA_HOST_FLAGS) ; do \
8773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8774 done; \
8775 echo "Doing distclean in fixincludes" ; \
8776 (cd $(HOST_SUBDIR)/fixincludes && \
8777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8779 "RANLIB=$${RANLIB}" \
8780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8781 distclean) \
8782 || exit 1
8784 @endif fixincludes
8786 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
8787 maybe-maintainer-clean-fixincludes:
8788 @if fixincludes
8789 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
8791 maintainer-clean-fixincludes:
8792 @[ -f ./fixincludes/Makefile ] || exit 0; \
8793 r=`${PWD_COMMAND}`; export r; \
8794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8795 $(HOST_EXPORTS) \
8796 for flag in $(EXTRA_HOST_FLAGS) ; do \
8797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8798 done; \
8799 echo "Doing maintainer-clean in fixincludes" ; \
8800 (cd $(HOST_SUBDIR)/fixincludes && \
8801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8803 "RANLIB=$${RANLIB}" \
8804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8805 maintainer-clean) \
8806 || exit 1
8808 @endif fixincludes
8812 .PHONY: configure-flex maybe-configure-flex
8813 maybe-configure-flex:
8814 @if gcc-bootstrap
8815 configure-flex: stage_current
8816 @endif gcc-bootstrap
8817 @if flex
8818 maybe-configure-flex: configure-flex
8819 configure-flex:
8820 @: $(MAKE); $(unstage)
8821 @r=`${PWD_COMMAND}`; export r; \
8822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8823 test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
8824 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex ; \
8825 $(HOST_EXPORTS) \
8826 echo Configuring in $(HOST_SUBDIR)/flex; \
8827 cd "$(HOST_SUBDIR)/flex" || exit 1; \
8828 case $(srcdir) in \
8829 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8830 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
8831 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8832 esac; \
8833 module_srcdir=flex; \
8834 $(SHELL) \
8835 $$s/$$module_srcdir/configure \
8836 --srcdir=$${topdir}/$$module_srcdir \
8837 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
8838 --target=${target_alias} \
8839 || exit 1
8840 @endif flex
8846 .PHONY: all-flex maybe-all-flex
8847 maybe-all-flex:
8848 @if gcc-bootstrap
8849 all-flex: stage_current
8850 @endif gcc-bootstrap
8851 @if flex
8852 TARGET-flex=all
8853 maybe-all-flex: all-flex
8854 all-flex: configure-flex
8855 @: $(MAKE); $(unstage)
8856 @r=`${PWD_COMMAND}`; export r; \
8857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8858 $(HOST_EXPORTS) \
8859 (cd $(HOST_SUBDIR)/flex && \
8860 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
8861 $(TARGET-flex))
8862 @endif flex
8867 .PHONY: check-flex maybe-check-flex
8868 maybe-check-flex:
8869 @if flex
8870 maybe-check-flex: check-flex
8872 # This module is only tested in a native toolchain.
8873 check-flex:
8874 @: $(MAKE); $(unstage)
8875 @if [ '$(host)' = '$(target)' ] ; then \
8876 r=`${PWD_COMMAND}`; export r; \
8877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8878 $(HOST_EXPORTS) \
8879 (cd $(HOST_SUBDIR)/flex && \
8880 $(MAKE) $(FLAGS_TO_PASS) check); \
8883 @endif flex
8885 .PHONY: install-flex maybe-install-flex
8886 maybe-install-flex:
8887 @if flex
8888 maybe-install-flex: install-flex
8890 install-flex: installdirs
8891 @: $(MAKE); $(unstage)
8892 @r=`${PWD_COMMAND}`; export r; \
8893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8894 $(HOST_EXPORTS) \
8895 (cd $(HOST_SUBDIR)/flex && \
8896 $(MAKE) $(FLAGS_TO_PASS) install)
8898 @endif flex
8900 .PHONY: install-strip-flex maybe-install-strip-flex
8901 maybe-install-strip-flex:
8902 @if flex
8903 maybe-install-strip-flex: install-strip-flex
8905 install-strip-flex: installdirs
8906 @: $(MAKE); $(unstage)
8907 @r=`${PWD_COMMAND}`; export r; \
8908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8909 $(HOST_EXPORTS) \
8910 (cd $(HOST_SUBDIR)/flex && \
8911 $(MAKE) $(FLAGS_TO_PASS) install-strip)
8913 @endif flex
8915 # Other targets (info, dvi, pdf, etc.)
8917 .PHONY: maybe-info-flex info-flex
8918 maybe-info-flex:
8919 @if flex
8920 maybe-info-flex: info-flex
8922 info-flex: \
8923 configure-flex
8924 @: $(MAKE); $(unstage)
8925 @[ -f ./flex/Makefile ] || exit 0; \
8926 r=`${PWD_COMMAND}`; export r; \
8927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8928 $(HOST_EXPORTS) \
8929 for flag in $(EXTRA_HOST_FLAGS) ; do \
8930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8931 done; \
8932 echo "Doing info in flex" ; \
8933 (cd $(HOST_SUBDIR)/flex && \
8934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8936 "RANLIB=$${RANLIB}" \
8937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8938 info) \
8939 || exit 1
8941 @endif flex
8943 .PHONY: maybe-dvi-flex dvi-flex
8944 maybe-dvi-flex:
8945 @if flex
8946 maybe-dvi-flex: dvi-flex
8948 dvi-flex: \
8949 configure-flex
8950 @: $(MAKE); $(unstage)
8951 @[ -f ./flex/Makefile ] || exit 0; \
8952 r=`${PWD_COMMAND}`; export r; \
8953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8954 $(HOST_EXPORTS) \
8955 for flag in $(EXTRA_HOST_FLAGS) ; do \
8956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8957 done; \
8958 echo "Doing dvi in flex" ; \
8959 (cd $(HOST_SUBDIR)/flex && \
8960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8962 "RANLIB=$${RANLIB}" \
8963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8964 dvi) \
8965 || exit 1
8967 @endif flex
8969 .PHONY: maybe-pdf-flex pdf-flex
8970 maybe-pdf-flex:
8971 @if flex
8972 maybe-pdf-flex: pdf-flex
8974 pdf-flex: \
8975 configure-flex
8976 @: $(MAKE); $(unstage)
8977 @[ -f ./flex/Makefile ] || exit 0; \
8978 r=`${PWD_COMMAND}`; export r; \
8979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8980 $(HOST_EXPORTS) \
8981 for flag in $(EXTRA_HOST_FLAGS) ; do \
8982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8983 done; \
8984 echo "Doing pdf in flex" ; \
8985 (cd $(HOST_SUBDIR)/flex && \
8986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8988 "RANLIB=$${RANLIB}" \
8989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
8990 pdf) \
8991 || exit 1
8993 @endif flex
8995 .PHONY: maybe-html-flex html-flex
8996 maybe-html-flex:
8997 @if flex
8998 maybe-html-flex: html-flex
9000 html-flex: \
9001 configure-flex
9002 @: $(MAKE); $(unstage)
9003 @[ -f ./flex/Makefile ] || exit 0; \
9004 r=`${PWD_COMMAND}`; export r; \
9005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9006 $(HOST_EXPORTS) \
9007 for flag in $(EXTRA_HOST_FLAGS) ; do \
9008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9009 done; \
9010 echo "Doing html in flex" ; \
9011 (cd $(HOST_SUBDIR)/flex && \
9012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9014 "RANLIB=$${RANLIB}" \
9015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9016 html) \
9017 || exit 1
9019 @endif flex
9021 .PHONY: maybe-TAGS-flex TAGS-flex
9022 maybe-TAGS-flex:
9023 @if flex
9024 maybe-TAGS-flex: TAGS-flex
9026 TAGS-flex: \
9027 configure-flex
9028 @: $(MAKE); $(unstage)
9029 @[ -f ./flex/Makefile ] || exit 0; \
9030 r=`${PWD_COMMAND}`; export r; \
9031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9032 $(HOST_EXPORTS) \
9033 for flag in $(EXTRA_HOST_FLAGS) ; do \
9034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9035 done; \
9036 echo "Doing TAGS in flex" ; \
9037 (cd $(HOST_SUBDIR)/flex && \
9038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9040 "RANLIB=$${RANLIB}" \
9041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9042 TAGS) \
9043 || exit 1
9045 @endif flex
9047 .PHONY: maybe-install-info-flex install-info-flex
9048 maybe-install-info-flex:
9049 @if flex
9050 maybe-install-info-flex: install-info-flex
9052 install-info-flex: \
9053 configure-flex \
9054 info-flex
9055 @: $(MAKE); $(unstage)
9056 @[ -f ./flex/Makefile ] || exit 0; \
9057 r=`${PWD_COMMAND}`; export r; \
9058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9059 $(HOST_EXPORTS) \
9060 for flag in $(EXTRA_HOST_FLAGS) ; do \
9061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9062 done; \
9063 echo "Doing install-info in flex" ; \
9064 (cd $(HOST_SUBDIR)/flex && \
9065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9067 "RANLIB=$${RANLIB}" \
9068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9069 install-info) \
9070 || exit 1
9072 @endif flex
9074 .PHONY: maybe-install-pdf-flex install-pdf-flex
9075 maybe-install-pdf-flex:
9076 @if flex
9077 maybe-install-pdf-flex: install-pdf-flex
9079 install-pdf-flex: \
9080 configure-flex \
9081 pdf-flex
9082 @: $(MAKE); $(unstage)
9083 @[ -f ./flex/Makefile ] || exit 0; \
9084 r=`${PWD_COMMAND}`; export r; \
9085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9086 $(HOST_EXPORTS) \
9087 for flag in $(EXTRA_HOST_FLAGS) ; do \
9088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9089 done; \
9090 echo "Doing install-pdf in flex" ; \
9091 (cd $(HOST_SUBDIR)/flex && \
9092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9094 "RANLIB=$${RANLIB}" \
9095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9096 install-pdf) \
9097 || exit 1
9099 @endif flex
9101 .PHONY: maybe-install-html-flex install-html-flex
9102 maybe-install-html-flex:
9103 @if flex
9104 maybe-install-html-flex: install-html-flex
9106 install-html-flex: \
9107 configure-flex \
9108 html-flex
9109 @: $(MAKE); $(unstage)
9110 @[ -f ./flex/Makefile ] || exit 0; \
9111 r=`${PWD_COMMAND}`; export r; \
9112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9113 $(HOST_EXPORTS) \
9114 for flag in $(EXTRA_HOST_FLAGS) ; do \
9115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9116 done; \
9117 echo "Doing install-html in flex" ; \
9118 (cd $(HOST_SUBDIR)/flex && \
9119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9121 "RANLIB=$${RANLIB}" \
9122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9123 install-html) \
9124 || exit 1
9126 @endif flex
9128 .PHONY: maybe-installcheck-flex installcheck-flex
9129 maybe-installcheck-flex:
9130 @if flex
9131 maybe-installcheck-flex: installcheck-flex
9133 installcheck-flex: \
9134 configure-flex
9135 @: $(MAKE); $(unstage)
9136 @[ -f ./flex/Makefile ] || exit 0; \
9137 r=`${PWD_COMMAND}`; export r; \
9138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9139 $(HOST_EXPORTS) \
9140 for flag in $(EXTRA_HOST_FLAGS) ; do \
9141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9142 done; \
9143 echo "Doing installcheck in flex" ; \
9144 (cd $(HOST_SUBDIR)/flex && \
9145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9147 "RANLIB=$${RANLIB}" \
9148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9149 installcheck) \
9150 || exit 1
9152 @endif flex
9154 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
9155 maybe-mostlyclean-flex:
9156 @if flex
9157 maybe-mostlyclean-flex: mostlyclean-flex
9159 mostlyclean-flex:
9160 @: $(MAKE); $(unstage)
9161 @[ -f ./flex/Makefile ] || exit 0; \
9162 r=`${PWD_COMMAND}`; export r; \
9163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9164 $(HOST_EXPORTS) \
9165 for flag in $(EXTRA_HOST_FLAGS) ; do \
9166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9167 done; \
9168 echo "Doing mostlyclean in flex" ; \
9169 (cd $(HOST_SUBDIR)/flex && \
9170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9172 "RANLIB=$${RANLIB}" \
9173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9174 mostlyclean) \
9175 || exit 1
9177 @endif flex
9179 .PHONY: maybe-clean-flex clean-flex
9180 maybe-clean-flex:
9181 @if flex
9182 maybe-clean-flex: clean-flex
9184 clean-flex:
9185 @: $(MAKE); $(unstage)
9186 @[ -f ./flex/Makefile ] || exit 0; \
9187 r=`${PWD_COMMAND}`; export r; \
9188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9189 $(HOST_EXPORTS) \
9190 for flag in $(EXTRA_HOST_FLAGS) ; do \
9191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9192 done; \
9193 echo "Doing clean in flex" ; \
9194 (cd $(HOST_SUBDIR)/flex && \
9195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9197 "RANLIB=$${RANLIB}" \
9198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9199 clean) \
9200 || exit 1
9202 @endif flex
9204 .PHONY: maybe-distclean-flex distclean-flex
9205 maybe-distclean-flex:
9206 @if flex
9207 maybe-distclean-flex: distclean-flex
9209 distclean-flex:
9210 @: $(MAKE); $(unstage)
9211 @[ -f ./flex/Makefile ] || exit 0; \
9212 r=`${PWD_COMMAND}`; export r; \
9213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9214 $(HOST_EXPORTS) \
9215 for flag in $(EXTRA_HOST_FLAGS) ; do \
9216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9217 done; \
9218 echo "Doing distclean in flex" ; \
9219 (cd $(HOST_SUBDIR)/flex && \
9220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9222 "RANLIB=$${RANLIB}" \
9223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9224 distclean) \
9225 || exit 1
9227 @endif flex
9229 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
9230 maybe-maintainer-clean-flex:
9231 @if flex
9232 maybe-maintainer-clean-flex: maintainer-clean-flex
9234 maintainer-clean-flex:
9235 @: $(MAKE); $(unstage)
9236 @[ -f ./flex/Makefile ] || exit 0; \
9237 r=`${PWD_COMMAND}`; export r; \
9238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9239 $(HOST_EXPORTS) \
9240 for flag in $(EXTRA_HOST_FLAGS) ; do \
9241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9242 done; \
9243 echo "Doing maintainer-clean in flex" ; \
9244 (cd $(HOST_SUBDIR)/flex && \
9245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9247 "RANLIB=$${RANLIB}" \
9248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9249 maintainer-clean) \
9250 || exit 1
9252 @endif flex
9256 .PHONY: configure-gas maybe-configure-gas
9257 maybe-configure-gas:
9258 @if gcc-bootstrap
9259 configure-gas: stage_current
9260 @endif gcc-bootstrap
9261 @if gas
9262 maybe-configure-gas: configure-gas
9263 configure-gas:
9264 @r=`${PWD_COMMAND}`; export r; \
9265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9266 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
9267 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
9268 $(HOST_EXPORTS) \
9269 echo Configuring in $(HOST_SUBDIR)/gas; \
9270 cd "$(HOST_SUBDIR)/gas" || exit 1; \
9271 case $(srcdir) in \
9272 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9273 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9274 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9275 esac; \
9276 module_srcdir=gas; \
9277 $(SHELL) \
9278 $$s/$$module_srcdir/configure \
9279 --srcdir=$${topdir}/$$module_srcdir \
9280 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9281 --target=${target_alias} \
9282 || exit 1
9283 @endif gas
9287 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
9288 maybe-configure-stage1-gas:
9289 @if gas-bootstrap
9290 maybe-configure-stage1-gas: configure-stage1-gas
9291 configure-stage1-gas:
9292 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
9293 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
9294 @r=`${PWD_COMMAND}`; export r; \
9295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9296 TFLAGS="$(STAGE1_TFLAGS)"; \
9297 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
9298 $(HOST_EXPORTS) \
9299 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
9300 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
9301 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
9302 echo Configuring stage 1 in $(HOST_SUBDIR)/gas ; \
9303 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
9304 cd $(HOST_SUBDIR)/gas || exit 1; \
9305 case $(srcdir) in \
9306 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9307 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9308 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9309 esac; \
9310 module_srcdir=gas; \
9311 $(SHELL) $$s/$$module_srcdir/configure \
9312 --srcdir=$${topdir}/$$module_srcdir \
9313 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9314 --target=${target_alias} \
9316 $(STAGE1_CONFIGURE_FLAGS)
9317 @endif gas-bootstrap
9319 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
9320 maybe-configure-stage2-gas:
9321 @if gas-bootstrap
9322 maybe-configure-stage2-gas: configure-stage2-gas
9323 configure-stage2-gas:
9324 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
9325 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
9326 @r=`${PWD_COMMAND}`; export r; \
9327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9328 TFLAGS="$(STAGE2_TFLAGS)"; \
9329 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
9330 $(HOST_EXPORTS) \
9331 $(POSTSTAGE1_HOST_EXPORTS) \
9332 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
9333 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
9334 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
9335 echo Configuring stage 2 in $(HOST_SUBDIR)/gas ; \
9336 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
9337 cd $(HOST_SUBDIR)/gas || exit 1; \
9338 case $(srcdir) in \
9339 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9340 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9341 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9342 esac; \
9343 module_srcdir=gas; \
9344 $(SHELL) $$s/$$module_srcdir/configure \
9345 --srcdir=$${topdir}/$$module_srcdir \
9346 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9347 --target=${target_alias} \
9348 --with-build-libsubdir=$(HOST_SUBDIR) \
9349 $(STAGE2_CONFIGURE_FLAGS)
9350 @endif gas-bootstrap
9352 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
9353 maybe-configure-stage3-gas:
9354 @if gas-bootstrap
9355 maybe-configure-stage3-gas: configure-stage3-gas
9356 configure-stage3-gas:
9357 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
9358 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
9359 @r=`${PWD_COMMAND}`; export r; \
9360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9361 TFLAGS="$(STAGE3_TFLAGS)"; \
9362 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
9363 $(HOST_EXPORTS) \
9364 $(POSTSTAGE1_HOST_EXPORTS) \
9365 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
9366 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
9367 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
9368 echo Configuring stage 3 in $(HOST_SUBDIR)/gas ; \
9369 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
9370 cd $(HOST_SUBDIR)/gas || exit 1; \
9371 case $(srcdir) in \
9372 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9373 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9374 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9375 esac; \
9376 module_srcdir=gas; \
9377 $(SHELL) $$s/$$module_srcdir/configure \
9378 --srcdir=$${topdir}/$$module_srcdir \
9379 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9380 --target=${target_alias} \
9381 --with-build-libsubdir=$(HOST_SUBDIR) \
9382 $(STAGE3_CONFIGURE_FLAGS)
9383 @endif gas-bootstrap
9385 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
9386 maybe-configure-stage4-gas:
9387 @if gas-bootstrap
9388 maybe-configure-stage4-gas: configure-stage4-gas
9389 configure-stage4-gas:
9390 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
9391 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
9392 @r=`${PWD_COMMAND}`; export r; \
9393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9394 TFLAGS="$(STAGE4_TFLAGS)"; \
9395 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
9396 $(HOST_EXPORTS) \
9397 $(POSTSTAGE1_HOST_EXPORTS) \
9398 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
9399 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
9400 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
9401 echo Configuring stage 4 in $(HOST_SUBDIR)/gas ; \
9402 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
9403 cd $(HOST_SUBDIR)/gas || exit 1; \
9404 case $(srcdir) in \
9405 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9406 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9407 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9408 esac; \
9409 module_srcdir=gas; \
9410 $(SHELL) $$s/$$module_srcdir/configure \
9411 --srcdir=$${topdir}/$$module_srcdir \
9412 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9413 --target=${target_alias} \
9414 --with-build-libsubdir=$(HOST_SUBDIR) \
9415 $(STAGE4_CONFIGURE_FLAGS)
9416 @endif gas-bootstrap
9418 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
9419 maybe-configure-stageprofile-gas:
9420 @if gas-bootstrap
9421 maybe-configure-stageprofile-gas: configure-stageprofile-gas
9422 configure-stageprofile-gas:
9423 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9424 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
9425 @r=`${PWD_COMMAND}`; export r; \
9426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9427 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9428 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
9429 $(HOST_EXPORTS) \
9430 $(POSTSTAGE1_HOST_EXPORTS) \
9431 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
9432 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
9433 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
9434 echo Configuring stage profile in $(HOST_SUBDIR)/gas ; \
9435 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
9436 cd $(HOST_SUBDIR)/gas || exit 1; \
9437 case $(srcdir) in \
9438 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9439 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9440 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9441 esac; \
9442 module_srcdir=gas; \
9443 $(SHELL) $$s/$$module_srcdir/configure \
9444 --srcdir=$${topdir}/$$module_srcdir \
9445 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9446 --target=${target_alias} \
9447 --with-build-libsubdir=$(HOST_SUBDIR) \
9448 $(STAGEprofile_CONFIGURE_FLAGS)
9449 @endif gas-bootstrap
9451 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
9452 maybe-configure-stagefeedback-gas:
9453 @if gas-bootstrap
9454 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
9455 configure-stagefeedback-gas:
9456 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9457 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
9458 @r=`${PWD_COMMAND}`; export r; \
9459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9460 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9461 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
9462 $(HOST_EXPORTS) \
9463 $(POSTSTAGE1_HOST_EXPORTS) \
9464 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
9465 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
9466 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
9467 echo Configuring stage feedback in $(HOST_SUBDIR)/gas ; \
9468 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
9469 cd $(HOST_SUBDIR)/gas || exit 1; \
9470 case $(srcdir) in \
9471 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9472 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9473 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9474 esac; \
9475 module_srcdir=gas; \
9476 $(SHELL) $$s/$$module_srcdir/configure \
9477 --srcdir=$${topdir}/$$module_srcdir \
9478 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
9479 --target=${target_alias} \
9480 --with-build-libsubdir=$(HOST_SUBDIR) \
9481 $(STAGEfeedback_CONFIGURE_FLAGS)
9482 @endif gas-bootstrap
9488 .PHONY: all-gas maybe-all-gas
9489 maybe-all-gas:
9490 @if gcc-bootstrap
9491 all-gas: stage_current
9492 @endif gcc-bootstrap
9493 @if gas
9494 TARGET-gas=all
9495 maybe-all-gas: all-gas
9496 all-gas: configure-gas
9497 @r=`${PWD_COMMAND}`; export r; \
9498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9499 $(HOST_EXPORTS) \
9500 (cd $(HOST_SUBDIR)/gas && \
9501 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
9502 $(TARGET-gas))
9503 @endif gas
9507 .PHONY: all-stage1-gas maybe-all-stage1-gas
9508 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
9509 maybe-all-stage1-gas:
9510 maybe-clean-stage1-gas:
9511 @if gas-bootstrap
9512 maybe-all-stage1-gas: all-stage1-gas
9513 all-stage1: all-stage1-gas
9514 TARGET-stage1-gas = $(TARGET-gas)
9515 all-stage1-gas: configure-stage1-gas
9516 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
9517 @r=`${PWD_COMMAND}`; export r; \
9518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9519 TFLAGS="$(STAGE1_TFLAGS)"; \
9520 $(HOST_EXPORTS) \
9521 cd $(HOST_SUBDIR)/gas && \
9522 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9523 CFLAGS="$(STAGE1_CFLAGS)" \
9524 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
9525 LIBCFLAGS="$(LIBCFLAGS)" \
9526 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9527 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9528 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9529 $(EXTRA_HOST_FLAGS) \
9530 $(STAGE1_FLAGS_TO_PASS) \
9531 TFLAGS="$(STAGE1_TFLAGS)" \
9532 $(TARGET-stage1-gas)
9534 maybe-clean-stage1-gas: clean-stage1-gas
9535 clean-stage1: clean-stage1-gas
9536 clean-stage1-gas:
9537 @if [ $(current_stage) = stage1 ]; then \
9538 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9539 else \
9540 [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] || exit 0; \
9541 $(MAKE) stage1-start; \
9542 fi; \
9543 cd $(HOST_SUBDIR)/gas && \
9544 $(MAKE) $(EXTRA_HOST_FLAGS) \
9545 $(STAGE1_FLAGS_TO_PASS) clean
9546 @endif gas-bootstrap
9549 .PHONY: all-stage2-gas maybe-all-stage2-gas
9550 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
9551 maybe-all-stage2-gas:
9552 maybe-clean-stage2-gas:
9553 @if gas-bootstrap
9554 maybe-all-stage2-gas: all-stage2-gas
9555 all-stage2: all-stage2-gas
9556 TARGET-stage2-gas = $(TARGET-gas)
9557 all-stage2-gas: configure-stage2-gas
9558 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
9559 @r=`${PWD_COMMAND}`; export r; \
9560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9561 TFLAGS="$(STAGE2_TFLAGS)"; \
9562 $(HOST_EXPORTS) \
9563 $(POSTSTAGE1_HOST_EXPORTS) \
9564 cd $(HOST_SUBDIR)/gas && \
9565 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9566 CFLAGS="$(STAGE2_CFLAGS)" \
9567 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
9568 LIBCFLAGS="$(STAGE2_CFLAGS)" \
9569 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9570 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9571 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9572 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9573 TFLAGS="$(STAGE2_TFLAGS)" \
9574 $(TARGET-stage2-gas)
9576 maybe-clean-stage2-gas: clean-stage2-gas
9577 clean-stage2: clean-stage2-gas
9578 clean-stage2-gas:
9579 @if [ $(current_stage) = stage2 ]; then \
9580 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9581 else \
9582 [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] || exit 0; \
9583 $(MAKE) stage2-start; \
9584 fi; \
9585 cd $(HOST_SUBDIR)/gas && \
9586 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9587 @endif gas-bootstrap
9590 .PHONY: all-stage3-gas maybe-all-stage3-gas
9591 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
9592 maybe-all-stage3-gas:
9593 maybe-clean-stage3-gas:
9594 @if gas-bootstrap
9595 maybe-all-stage3-gas: all-stage3-gas
9596 all-stage3: all-stage3-gas
9597 TARGET-stage3-gas = $(TARGET-gas)
9598 all-stage3-gas: configure-stage3-gas
9599 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
9600 @r=`${PWD_COMMAND}`; export r; \
9601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9602 TFLAGS="$(STAGE3_TFLAGS)"; \
9603 $(HOST_EXPORTS) \
9604 $(POSTSTAGE1_HOST_EXPORTS) \
9605 cd $(HOST_SUBDIR)/gas && \
9606 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9607 CFLAGS="$(STAGE3_CFLAGS)" \
9608 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
9609 LIBCFLAGS="$(STAGE3_CFLAGS)" \
9610 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9611 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9612 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9613 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9614 TFLAGS="$(STAGE3_TFLAGS)" \
9615 $(TARGET-stage3-gas)
9617 maybe-clean-stage3-gas: clean-stage3-gas
9618 clean-stage3: clean-stage3-gas
9619 clean-stage3-gas:
9620 @if [ $(current_stage) = stage3 ]; then \
9621 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9622 else \
9623 [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] || exit 0; \
9624 $(MAKE) stage3-start; \
9625 fi; \
9626 cd $(HOST_SUBDIR)/gas && \
9627 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9628 @endif gas-bootstrap
9631 .PHONY: all-stage4-gas maybe-all-stage4-gas
9632 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
9633 maybe-all-stage4-gas:
9634 maybe-clean-stage4-gas:
9635 @if gas-bootstrap
9636 maybe-all-stage4-gas: all-stage4-gas
9637 all-stage4: all-stage4-gas
9638 TARGET-stage4-gas = $(TARGET-gas)
9639 all-stage4-gas: configure-stage4-gas
9640 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
9641 @r=`${PWD_COMMAND}`; export r; \
9642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9643 TFLAGS="$(STAGE4_TFLAGS)"; \
9644 $(HOST_EXPORTS) \
9645 $(POSTSTAGE1_HOST_EXPORTS) \
9646 cd $(HOST_SUBDIR)/gas && \
9647 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9648 CFLAGS="$(STAGE4_CFLAGS)" \
9649 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
9650 LIBCFLAGS="$(STAGE4_CFLAGS)" \
9651 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9652 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9653 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9654 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9655 TFLAGS="$(STAGE4_TFLAGS)" \
9656 $(TARGET-stage4-gas)
9658 maybe-clean-stage4-gas: clean-stage4-gas
9659 clean-stage4: clean-stage4-gas
9660 clean-stage4-gas:
9661 @if [ $(current_stage) = stage4 ]; then \
9662 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9663 else \
9664 [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] || exit 0; \
9665 $(MAKE) stage4-start; \
9666 fi; \
9667 cd $(HOST_SUBDIR)/gas && \
9668 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9669 @endif gas-bootstrap
9672 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
9673 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
9674 maybe-all-stageprofile-gas:
9675 maybe-clean-stageprofile-gas:
9676 @if gas-bootstrap
9677 maybe-all-stageprofile-gas: all-stageprofile-gas
9678 all-stageprofile: all-stageprofile-gas
9679 TARGET-stageprofile-gas = $(TARGET-gas)
9680 all-stageprofile-gas: configure-stageprofile-gas
9681 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
9682 @r=`${PWD_COMMAND}`; export r; \
9683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9684 TFLAGS="$(STAGEprofile_TFLAGS)"; \
9685 $(HOST_EXPORTS) \
9686 $(POSTSTAGE1_HOST_EXPORTS) \
9687 cd $(HOST_SUBDIR)/gas && \
9688 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9689 CFLAGS="$(STAGEprofile_CFLAGS)" \
9690 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
9691 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
9692 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9693 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9694 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9695 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9696 TFLAGS="$(STAGEprofile_TFLAGS)" \
9697 $(TARGET-stageprofile-gas)
9699 maybe-clean-stageprofile-gas: clean-stageprofile-gas
9700 clean-stageprofile: clean-stageprofile-gas
9701 clean-stageprofile-gas:
9702 @if [ $(current_stage) = stageprofile ]; then \
9703 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9704 else \
9705 [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] || exit 0; \
9706 $(MAKE) stageprofile-start; \
9707 fi; \
9708 cd $(HOST_SUBDIR)/gas && \
9709 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9710 @endif gas-bootstrap
9713 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
9714 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
9715 maybe-all-stagefeedback-gas:
9716 maybe-clean-stagefeedback-gas:
9717 @if gas-bootstrap
9718 maybe-all-stagefeedback-gas: all-stagefeedback-gas
9719 all-stagefeedback: all-stagefeedback-gas
9720 TARGET-stagefeedback-gas = $(TARGET-gas)
9721 all-stagefeedback-gas: configure-stagefeedback-gas
9722 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
9723 @r=`${PWD_COMMAND}`; export r; \
9724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9725 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
9726 $(HOST_EXPORTS) \
9727 $(POSTSTAGE1_HOST_EXPORTS) \
9728 cd $(HOST_SUBDIR)/gas && \
9729 $(MAKE) $(BASE_FLAGS_TO_PASS) \
9730 CFLAGS="$(STAGEfeedback_CFLAGS)" \
9731 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
9732 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
9733 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
9734 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
9735 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
9736 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
9737 TFLAGS="$(STAGEfeedback_TFLAGS)" \
9738 $(TARGET-stagefeedback-gas)
9740 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
9741 clean-stagefeedback: clean-stagefeedback-gas
9742 clean-stagefeedback-gas:
9743 @if [ $(current_stage) = stagefeedback ]; then \
9744 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
9745 else \
9746 [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] || exit 0; \
9747 $(MAKE) stagefeedback-start; \
9748 fi; \
9749 cd $(HOST_SUBDIR)/gas && \
9750 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
9751 @endif gas-bootstrap
9757 .PHONY: check-gas maybe-check-gas
9758 maybe-check-gas:
9759 @if gas
9760 maybe-check-gas: check-gas
9762 check-gas:
9763 @: $(MAKE); $(unstage)
9764 @r=`${PWD_COMMAND}`; export r; \
9765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9766 $(HOST_EXPORTS) \
9767 (cd $(HOST_SUBDIR)/gas && \
9768 $(MAKE) $(FLAGS_TO_PASS) check)
9770 @endif gas
9772 .PHONY: install-gas maybe-install-gas
9773 maybe-install-gas:
9774 @if gas
9775 maybe-install-gas: install-gas
9777 install-gas: installdirs
9778 @: $(MAKE); $(unstage)
9779 @r=`${PWD_COMMAND}`; export r; \
9780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9781 $(HOST_EXPORTS) \
9782 (cd $(HOST_SUBDIR)/gas && \
9783 $(MAKE) $(FLAGS_TO_PASS) install)
9785 @endif gas
9787 .PHONY: install-strip-gas maybe-install-strip-gas
9788 maybe-install-strip-gas:
9789 @if gas
9790 maybe-install-strip-gas: install-strip-gas
9792 install-strip-gas: installdirs
9793 @: $(MAKE); $(unstage)
9794 @r=`${PWD_COMMAND}`; export r; \
9795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9796 $(HOST_EXPORTS) \
9797 (cd $(HOST_SUBDIR)/gas && \
9798 $(MAKE) $(FLAGS_TO_PASS) install-strip)
9800 @endif gas
9802 # Other targets (info, dvi, pdf, etc.)
9804 .PHONY: maybe-info-gas info-gas
9805 maybe-info-gas:
9806 @if gas
9807 maybe-info-gas: info-gas
9809 info-gas: \
9810 configure-gas
9811 @[ -f ./gas/Makefile ] || exit 0; \
9812 r=`${PWD_COMMAND}`; export r; \
9813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9814 $(HOST_EXPORTS) \
9815 for flag in $(EXTRA_HOST_FLAGS) ; do \
9816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9817 done; \
9818 echo "Doing info in gas" ; \
9819 (cd $(HOST_SUBDIR)/gas && \
9820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9822 "RANLIB=$${RANLIB}" \
9823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9824 info) \
9825 || exit 1
9827 @endif gas
9829 .PHONY: maybe-dvi-gas dvi-gas
9830 maybe-dvi-gas:
9831 @if gas
9832 maybe-dvi-gas: dvi-gas
9834 dvi-gas: \
9835 configure-gas
9836 @[ -f ./gas/Makefile ] || exit 0; \
9837 r=`${PWD_COMMAND}`; export r; \
9838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9839 $(HOST_EXPORTS) \
9840 for flag in $(EXTRA_HOST_FLAGS) ; do \
9841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9842 done; \
9843 echo "Doing dvi in gas" ; \
9844 (cd $(HOST_SUBDIR)/gas && \
9845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9847 "RANLIB=$${RANLIB}" \
9848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9849 dvi) \
9850 || exit 1
9852 @endif gas
9854 .PHONY: maybe-pdf-gas pdf-gas
9855 maybe-pdf-gas:
9856 @if gas
9857 maybe-pdf-gas: pdf-gas
9859 pdf-gas: \
9860 configure-gas
9861 @[ -f ./gas/Makefile ] || exit 0; \
9862 r=`${PWD_COMMAND}`; export r; \
9863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9864 $(HOST_EXPORTS) \
9865 for flag in $(EXTRA_HOST_FLAGS) ; do \
9866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9867 done; \
9868 echo "Doing pdf in gas" ; \
9869 (cd $(HOST_SUBDIR)/gas && \
9870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9872 "RANLIB=$${RANLIB}" \
9873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9874 pdf) \
9875 || exit 1
9877 @endif gas
9879 .PHONY: maybe-html-gas html-gas
9880 maybe-html-gas:
9881 @if gas
9882 maybe-html-gas: html-gas
9884 html-gas: \
9885 configure-gas
9886 @[ -f ./gas/Makefile ] || exit 0; \
9887 r=`${PWD_COMMAND}`; export r; \
9888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9889 $(HOST_EXPORTS) \
9890 for flag in $(EXTRA_HOST_FLAGS) ; do \
9891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9892 done; \
9893 echo "Doing html in gas" ; \
9894 (cd $(HOST_SUBDIR)/gas && \
9895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9897 "RANLIB=$${RANLIB}" \
9898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9899 html) \
9900 || exit 1
9902 @endif gas
9904 .PHONY: maybe-TAGS-gas TAGS-gas
9905 maybe-TAGS-gas:
9906 @if gas
9907 maybe-TAGS-gas: TAGS-gas
9909 TAGS-gas: \
9910 configure-gas
9911 @[ -f ./gas/Makefile ] || exit 0; \
9912 r=`${PWD_COMMAND}`; export r; \
9913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9914 $(HOST_EXPORTS) \
9915 for flag in $(EXTRA_HOST_FLAGS) ; do \
9916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9917 done; \
9918 echo "Doing TAGS in gas" ; \
9919 (cd $(HOST_SUBDIR)/gas && \
9920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9922 "RANLIB=$${RANLIB}" \
9923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9924 TAGS) \
9925 || exit 1
9927 @endif gas
9929 .PHONY: maybe-install-info-gas install-info-gas
9930 maybe-install-info-gas:
9931 @if gas
9932 maybe-install-info-gas: install-info-gas
9934 install-info-gas: \
9935 configure-gas \
9936 info-gas
9937 @[ -f ./gas/Makefile ] || exit 0; \
9938 r=`${PWD_COMMAND}`; export r; \
9939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9940 $(HOST_EXPORTS) \
9941 for flag in $(EXTRA_HOST_FLAGS) ; do \
9942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9943 done; \
9944 echo "Doing install-info in gas" ; \
9945 (cd $(HOST_SUBDIR)/gas && \
9946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9948 "RANLIB=$${RANLIB}" \
9949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9950 install-info) \
9951 || exit 1
9953 @endif gas
9955 .PHONY: maybe-install-pdf-gas install-pdf-gas
9956 maybe-install-pdf-gas:
9957 @if gas
9958 maybe-install-pdf-gas: install-pdf-gas
9960 install-pdf-gas: \
9961 configure-gas \
9962 pdf-gas
9963 @[ -f ./gas/Makefile ] || exit 0; \
9964 r=`${PWD_COMMAND}`; export r; \
9965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9966 $(HOST_EXPORTS) \
9967 for flag in $(EXTRA_HOST_FLAGS) ; do \
9968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9969 done; \
9970 echo "Doing install-pdf in gas" ; \
9971 (cd $(HOST_SUBDIR)/gas && \
9972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9974 "RANLIB=$${RANLIB}" \
9975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
9976 install-pdf) \
9977 || exit 1
9979 @endif gas
9981 .PHONY: maybe-install-html-gas install-html-gas
9982 maybe-install-html-gas:
9983 @if gas
9984 maybe-install-html-gas: install-html-gas
9986 install-html-gas: \
9987 configure-gas \
9988 html-gas
9989 @[ -f ./gas/Makefile ] || exit 0; \
9990 r=`${PWD_COMMAND}`; export r; \
9991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9992 $(HOST_EXPORTS) \
9993 for flag in $(EXTRA_HOST_FLAGS) ; do \
9994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9995 done; \
9996 echo "Doing install-html in gas" ; \
9997 (cd $(HOST_SUBDIR)/gas && \
9998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10000 "RANLIB=$${RANLIB}" \
10001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10002 install-html) \
10003 || exit 1
10005 @endif gas
10007 .PHONY: maybe-installcheck-gas installcheck-gas
10008 maybe-installcheck-gas:
10009 @if gas
10010 maybe-installcheck-gas: installcheck-gas
10012 installcheck-gas: \
10013 configure-gas
10014 @[ -f ./gas/Makefile ] || exit 0; \
10015 r=`${PWD_COMMAND}`; export r; \
10016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10017 $(HOST_EXPORTS) \
10018 for flag in $(EXTRA_HOST_FLAGS) ; do \
10019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10020 done; \
10021 echo "Doing installcheck in gas" ; \
10022 (cd $(HOST_SUBDIR)/gas && \
10023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10025 "RANLIB=$${RANLIB}" \
10026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10027 installcheck) \
10028 || exit 1
10030 @endif gas
10032 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
10033 maybe-mostlyclean-gas:
10034 @if gas
10035 maybe-mostlyclean-gas: mostlyclean-gas
10037 mostlyclean-gas:
10038 @[ -f ./gas/Makefile ] || exit 0; \
10039 r=`${PWD_COMMAND}`; export r; \
10040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10041 $(HOST_EXPORTS) \
10042 for flag in $(EXTRA_HOST_FLAGS) ; do \
10043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10044 done; \
10045 echo "Doing mostlyclean in gas" ; \
10046 (cd $(HOST_SUBDIR)/gas && \
10047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10049 "RANLIB=$${RANLIB}" \
10050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10051 mostlyclean) \
10052 || exit 1
10054 @endif gas
10056 .PHONY: maybe-clean-gas clean-gas
10057 maybe-clean-gas:
10058 @if gas
10059 maybe-clean-gas: clean-gas
10061 clean-gas:
10062 @[ -f ./gas/Makefile ] || exit 0; \
10063 r=`${PWD_COMMAND}`; export r; \
10064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10065 $(HOST_EXPORTS) \
10066 for flag in $(EXTRA_HOST_FLAGS) ; do \
10067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10068 done; \
10069 echo "Doing clean in gas" ; \
10070 (cd $(HOST_SUBDIR)/gas && \
10071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10073 "RANLIB=$${RANLIB}" \
10074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10075 clean) \
10076 || exit 1
10078 @endif gas
10080 .PHONY: maybe-distclean-gas distclean-gas
10081 maybe-distclean-gas:
10082 @if gas
10083 maybe-distclean-gas: distclean-gas
10085 distclean-gas:
10086 @[ -f ./gas/Makefile ] || exit 0; \
10087 r=`${PWD_COMMAND}`; export r; \
10088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10089 $(HOST_EXPORTS) \
10090 for flag in $(EXTRA_HOST_FLAGS) ; do \
10091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10092 done; \
10093 echo "Doing distclean in gas" ; \
10094 (cd $(HOST_SUBDIR)/gas && \
10095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10097 "RANLIB=$${RANLIB}" \
10098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10099 distclean) \
10100 || exit 1
10102 @endif gas
10104 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
10105 maybe-maintainer-clean-gas:
10106 @if gas
10107 maybe-maintainer-clean-gas: maintainer-clean-gas
10109 maintainer-clean-gas:
10110 @[ -f ./gas/Makefile ] || exit 0; \
10111 r=`${PWD_COMMAND}`; export r; \
10112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10113 $(HOST_EXPORTS) \
10114 for flag in $(EXTRA_HOST_FLAGS) ; do \
10115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10116 done; \
10117 echo "Doing maintainer-clean in gas" ; \
10118 (cd $(HOST_SUBDIR)/gas && \
10119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10121 "RANLIB=$${RANLIB}" \
10122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10123 maintainer-clean) \
10124 || exit 1
10126 @endif gas
10130 .PHONY: configure-gcc maybe-configure-gcc
10131 maybe-configure-gcc:
10132 @if gcc-bootstrap
10133 configure-gcc: stage_current
10134 @endif gcc-bootstrap
10135 @if gcc
10136 maybe-configure-gcc: configure-gcc
10137 configure-gcc:
10138 @r=`${PWD_COMMAND}`; export r; \
10139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10140 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10141 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10142 $(HOST_EXPORTS) \
10143 echo Configuring in $(HOST_SUBDIR)/gcc; \
10144 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
10145 case $(srcdir) in \
10146 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10147 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10148 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10149 esac; \
10150 module_srcdir=gcc; \
10151 $(SHELL) \
10152 $$s/$$module_srcdir/configure \
10153 --srcdir=$${topdir}/$$module_srcdir \
10154 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10155 --target=${target_alias} \
10156 || exit 1
10157 @endif gcc
10161 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
10162 maybe-configure-stage1-gcc:
10163 @if gcc-bootstrap
10164 maybe-configure-stage1-gcc: configure-stage1-gcc
10165 configure-stage1-gcc:
10166 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10167 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10168 @r=`${PWD_COMMAND}`; export r; \
10169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10170 TFLAGS="$(STAGE1_TFLAGS)"; \
10171 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10172 $(HOST_EXPORTS) \
10173 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
10174 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
10175 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
10176 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc ; \
10177 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10178 cd $(HOST_SUBDIR)/gcc || exit 1; \
10179 case $(srcdir) in \
10180 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10181 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10182 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10183 esac; \
10184 module_srcdir=gcc; \
10185 $(SHELL) $$s/$$module_srcdir/configure \
10186 --srcdir=$${topdir}/$$module_srcdir \
10187 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10188 --target=${target_alias} \
10190 $(STAGE1_CONFIGURE_FLAGS)
10191 @endif gcc-bootstrap
10193 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
10194 maybe-configure-stage2-gcc:
10195 @if gcc-bootstrap
10196 maybe-configure-stage2-gcc: configure-stage2-gcc
10197 configure-stage2-gcc:
10198 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10199 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10200 @r=`${PWD_COMMAND}`; export r; \
10201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10202 TFLAGS="$(STAGE2_TFLAGS)"; \
10203 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10204 $(HOST_EXPORTS) \
10205 $(POSTSTAGE1_HOST_EXPORTS) \
10206 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
10207 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
10208 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
10209 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc ; \
10210 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10211 cd $(HOST_SUBDIR)/gcc || exit 1; \
10212 case $(srcdir) in \
10213 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10214 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10215 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10216 esac; \
10217 module_srcdir=gcc; \
10218 $(SHELL) $$s/$$module_srcdir/configure \
10219 --srcdir=$${topdir}/$$module_srcdir \
10220 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10221 --target=${target_alias} \
10222 --with-build-libsubdir=$(HOST_SUBDIR) \
10223 $(STAGE2_CONFIGURE_FLAGS)
10224 @endif gcc-bootstrap
10226 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
10227 maybe-configure-stage3-gcc:
10228 @if gcc-bootstrap
10229 maybe-configure-stage3-gcc: configure-stage3-gcc
10230 configure-stage3-gcc:
10231 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10232 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10233 @r=`${PWD_COMMAND}`; export r; \
10234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10235 TFLAGS="$(STAGE3_TFLAGS)"; \
10236 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10237 $(HOST_EXPORTS) \
10238 $(POSTSTAGE1_HOST_EXPORTS) \
10239 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
10240 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
10241 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
10242 echo Configuring stage 3 in $(HOST_SUBDIR)/gcc ; \
10243 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10244 cd $(HOST_SUBDIR)/gcc || exit 1; \
10245 case $(srcdir) in \
10246 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10247 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10248 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10249 esac; \
10250 module_srcdir=gcc; \
10251 $(SHELL) $$s/$$module_srcdir/configure \
10252 --srcdir=$${topdir}/$$module_srcdir \
10253 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10254 --target=${target_alias} \
10255 --with-build-libsubdir=$(HOST_SUBDIR) \
10256 $(STAGE3_CONFIGURE_FLAGS)
10257 @endif gcc-bootstrap
10259 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
10260 maybe-configure-stage4-gcc:
10261 @if gcc-bootstrap
10262 maybe-configure-stage4-gcc: configure-stage4-gcc
10263 configure-stage4-gcc:
10264 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10265 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10266 @r=`${PWD_COMMAND}`; export r; \
10267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10268 TFLAGS="$(STAGE4_TFLAGS)"; \
10269 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10270 $(HOST_EXPORTS) \
10271 $(POSTSTAGE1_HOST_EXPORTS) \
10272 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
10273 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
10274 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
10275 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc ; \
10276 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10277 cd $(HOST_SUBDIR)/gcc || exit 1; \
10278 case $(srcdir) in \
10279 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10280 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10281 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10282 esac; \
10283 module_srcdir=gcc; \
10284 $(SHELL) $$s/$$module_srcdir/configure \
10285 --srcdir=$${topdir}/$$module_srcdir \
10286 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10287 --target=${target_alias} \
10288 --with-build-libsubdir=$(HOST_SUBDIR) \
10289 $(STAGE4_CONFIGURE_FLAGS)
10290 @endif gcc-bootstrap
10292 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
10293 maybe-configure-stageprofile-gcc:
10294 @if gcc-bootstrap
10295 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
10296 configure-stageprofile-gcc:
10297 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10298 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10299 @r=`${PWD_COMMAND}`; export r; \
10300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10301 TFLAGS="$(STAGEprofile_TFLAGS)"; \
10302 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10303 $(HOST_EXPORTS) \
10304 $(POSTSTAGE1_HOST_EXPORTS) \
10305 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
10306 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
10307 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
10308 echo Configuring stage profile in $(HOST_SUBDIR)/gcc ; \
10309 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10310 cd $(HOST_SUBDIR)/gcc || exit 1; \
10311 case $(srcdir) in \
10312 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10313 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10314 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10315 esac; \
10316 module_srcdir=gcc; \
10317 $(SHELL) $$s/$$module_srcdir/configure \
10318 --srcdir=$${topdir}/$$module_srcdir \
10319 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10320 --target=${target_alias} \
10321 --with-build-libsubdir=$(HOST_SUBDIR) \
10322 $(STAGEprofile_CONFIGURE_FLAGS)
10323 @endif gcc-bootstrap
10325 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
10326 maybe-configure-stagefeedback-gcc:
10327 @if gcc-bootstrap
10328 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
10329 configure-stagefeedback-gcc:
10330 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10331 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
10332 @r=`${PWD_COMMAND}`; export r; \
10333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10334 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
10335 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10336 $(HOST_EXPORTS) \
10337 $(POSTSTAGE1_HOST_EXPORTS) \
10338 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
10339 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
10340 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
10341 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc ; \
10342 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10343 cd $(HOST_SUBDIR)/gcc || exit 1; \
10344 case $(srcdir) in \
10345 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10346 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10347 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10348 esac; \
10349 module_srcdir=gcc; \
10350 $(SHELL) $$s/$$module_srcdir/configure \
10351 --srcdir=$${topdir}/$$module_srcdir \
10352 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
10353 --target=${target_alias} \
10354 --with-build-libsubdir=$(HOST_SUBDIR) \
10355 $(STAGEfeedback_CONFIGURE_FLAGS)
10356 @endif gcc-bootstrap
10362 .PHONY: all-gcc maybe-all-gcc
10363 maybe-all-gcc:
10364 @if gcc-bootstrap
10365 all-gcc: stage_current
10366 @endif gcc-bootstrap
10367 @if gcc
10368 TARGET-gcc=all
10369 maybe-all-gcc: all-gcc
10370 all-gcc: configure-gcc
10371 @r=`${PWD_COMMAND}`; export r; \
10372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10373 $(HOST_EXPORTS) \
10374 (cd $(HOST_SUBDIR)/gcc && \
10375 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
10376 $(TARGET-gcc))
10377 @endif gcc
10381 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
10382 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
10383 maybe-all-stage1-gcc:
10384 maybe-clean-stage1-gcc:
10385 @if gcc-bootstrap
10386 maybe-all-stage1-gcc: all-stage1-gcc
10387 all-stage1: all-stage1-gcc
10388 TARGET-stage1-gcc = $(TARGET-gcc)
10389 all-stage1-gcc: configure-stage1-gcc
10390 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
10391 @r=`${PWD_COMMAND}`; export r; \
10392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10393 TFLAGS="$(STAGE1_TFLAGS)"; \
10394 $(HOST_EXPORTS) \
10395 cd $(HOST_SUBDIR)/gcc && \
10396 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10397 CFLAGS="$(STAGE1_CFLAGS)" \
10398 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
10399 LIBCFLAGS="$(LIBCFLAGS)" \
10400 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10401 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10402 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10403 $(EXTRA_HOST_FLAGS) \
10404 $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
10405 TFLAGS="$(STAGE1_TFLAGS)" \
10406 $(TARGET-stage1-gcc)
10408 maybe-clean-stage1-gcc: clean-stage1-gcc
10409 clean-stage1: clean-stage1-gcc
10410 clean-stage1-gcc:
10411 @if [ $(current_stage) = stage1 ]; then \
10412 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
10413 else \
10414 [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] || exit 0; \
10415 $(MAKE) stage1-start; \
10416 fi; \
10417 cd $(HOST_SUBDIR)/gcc && \
10418 $(MAKE) $(EXTRA_HOST_FLAGS) \
10419 $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
10420 @endif gcc-bootstrap
10423 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
10424 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
10425 maybe-all-stage2-gcc:
10426 maybe-clean-stage2-gcc:
10427 @if gcc-bootstrap
10428 maybe-all-stage2-gcc: all-stage2-gcc
10429 all-stage2: all-stage2-gcc
10430 TARGET-stage2-gcc = $(TARGET-gcc)
10431 all-stage2-gcc: configure-stage2-gcc
10432 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
10433 @r=`${PWD_COMMAND}`; export r; \
10434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10435 TFLAGS="$(STAGE2_TFLAGS)"; \
10436 $(HOST_EXPORTS) \
10437 $(POSTSTAGE1_HOST_EXPORTS) \
10438 cd $(HOST_SUBDIR)/gcc && \
10439 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10440 CFLAGS="$(STAGE2_CFLAGS)" \
10441 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
10442 LIBCFLAGS="$(STAGE2_CFLAGS)" \
10443 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10444 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10445 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10446 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
10447 TFLAGS="$(STAGE2_TFLAGS)" \
10448 $(TARGET-stage2-gcc)
10450 maybe-clean-stage2-gcc: clean-stage2-gcc
10451 clean-stage2: clean-stage2-gcc
10452 clean-stage2-gcc:
10453 @if [ $(current_stage) = stage2 ]; then \
10454 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
10455 else \
10456 [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] || exit 0; \
10457 $(MAKE) stage2-start; \
10458 fi; \
10459 cd $(HOST_SUBDIR)/gcc && \
10460 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
10461 @endif gcc-bootstrap
10464 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
10465 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
10466 maybe-all-stage3-gcc:
10467 maybe-clean-stage3-gcc:
10468 @if gcc-bootstrap
10469 maybe-all-stage3-gcc: all-stage3-gcc
10470 all-stage3: all-stage3-gcc
10471 TARGET-stage3-gcc = $(TARGET-gcc)
10472 all-stage3-gcc: configure-stage3-gcc
10473 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
10474 @r=`${PWD_COMMAND}`; export r; \
10475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10476 TFLAGS="$(STAGE3_TFLAGS)"; \
10477 $(HOST_EXPORTS) \
10478 $(POSTSTAGE1_HOST_EXPORTS) \
10479 cd $(HOST_SUBDIR)/gcc && \
10480 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10481 CFLAGS="$(STAGE3_CFLAGS)" \
10482 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
10483 LIBCFLAGS="$(STAGE3_CFLAGS)" \
10484 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10485 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10486 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10487 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
10488 TFLAGS="$(STAGE3_TFLAGS)" \
10489 $(TARGET-stage3-gcc)
10491 maybe-clean-stage3-gcc: clean-stage3-gcc
10492 clean-stage3: clean-stage3-gcc
10493 clean-stage3-gcc:
10494 @if [ $(current_stage) = stage3 ]; then \
10495 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
10496 else \
10497 [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] || exit 0; \
10498 $(MAKE) stage3-start; \
10499 fi; \
10500 cd $(HOST_SUBDIR)/gcc && \
10501 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
10502 @endif gcc-bootstrap
10505 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
10506 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
10507 maybe-all-stage4-gcc:
10508 maybe-clean-stage4-gcc:
10509 @if gcc-bootstrap
10510 maybe-all-stage4-gcc: all-stage4-gcc
10511 all-stage4: all-stage4-gcc
10512 TARGET-stage4-gcc = $(TARGET-gcc)
10513 all-stage4-gcc: configure-stage4-gcc
10514 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
10515 @r=`${PWD_COMMAND}`; export r; \
10516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10517 TFLAGS="$(STAGE4_TFLAGS)"; \
10518 $(HOST_EXPORTS) \
10519 $(POSTSTAGE1_HOST_EXPORTS) \
10520 cd $(HOST_SUBDIR)/gcc && \
10521 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10522 CFLAGS="$(STAGE4_CFLAGS)" \
10523 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
10524 LIBCFLAGS="$(STAGE4_CFLAGS)" \
10525 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10526 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10527 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10528 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
10529 TFLAGS="$(STAGE4_TFLAGS)" \
10530 $(TARGET-stage4-gcc)
10532 maybe-clean-stage4-gcc: clean-stage4-gcc
10533 clean-stage4: clean-stage4-gcc
10534 clean-stage4-gcc:
10535 @if [ $(current_stage) = stage4 ]; then \
10536 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
10537 else \
10538 [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] || exit 0; \
10539 $(MAKE) stage4-start; \
10540 fi; \
10541 cd $(HOST_SUBDIR)/gcc && \
10542 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
10543 @endif gcc-bootstrap
10546 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
10547 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
10548 maybe-all-stageprofile-gcc:
10549 maybe-clean-stageprofile-gcc:
10550 @if gcc-bootstrap
10551 maybe-all-stageprofile-gcc: all-stageprofile-gcc
10552 all-stageprofile: all-stageprofile-gcc
10553 TARGET-stageprofile-gcc = $(TARGET-gcc)
10554 all-stageprofile-gcc: configure-stageprofile-gcc
10555 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
10556 @r=`${PWD_COMMAND}`; export r; \
10557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10558 TFLAGS="$(STAGEprofile_TFLAGS)"; \
10559 $(HOST_EXPORTS) \
10560 $(POSTSTAGE1_HOST_EXPORTS) \
10561 cd $(HOST_SUBDIR)/gcc && \
10562 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10563 CFLAGS="$(STAGEprofile_CFLAGS)" \
10564 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
10565 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
10566 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10567 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10568 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10569 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
10570 TFLAGS="$(STAGEprofile_TFLAGS)" \
10571 $(TARGET-stageprofile-gcc)
10573 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
10574 clean-stageprofile: clean-stageprofile-gcc
10575 clean-stageprofile-gcc:
10576 @if [ $(current_stage) = stageprofile ]; then \
10577 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
10578 else \
10579 [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] || exit 0; \
10580 $(MAKE) stageprofile-start; \
10581 fi; \
10582 cd $(HOST_SUBDIR)/gcc && \
10583 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
10584 @endif gcc-bootstrap
10587 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
10588 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
10589 maybe-all-stagefeedback-gcc:
10590 maybe-clean-stagefeedback-gcc:
10591 @if gcc-bootstrap
10592 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
10593 all-stagefeedback: all-stagefeedback-gcc
10594 TARGET-stagefeedback-gcc = $(TARGET-gcc)
10595 all-stagefeedback-gcc: configure-stagefeedback-gcc
10596 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
10597 @r=`${PWD_COMMAND}`; export r; \
10598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10599 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
10600 $(HOST_EXPORTS) \
10601 $(POSTSTAGE1_HOST_EXPORTS) \
10602 cd $(HOST_SUBDIR)/gcc && \
10603 $(MAKE) $(BASE_FLAGS_TO_PASS) \
10604 CFLAGS="$(STAGEfeedback_CFLAGS)" \
10605 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
10606 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
10607 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
10608 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
10609 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
10610 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
10611 TFLAGS="$(STAGEfeedback_TFLAGS)" \
10612 $(TARGET-stagefeedback-gcc)
10614 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
10615 clean-stagefeedback: clean-stagefeedback-gcc
10616 clean-stagefeedback-gcc:
10617 @if [ $(current_stage) = stagefeedback ]; then \
10618 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
10619 else \
10620 [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] || exit 0; \
10621 $(MAKE) stagefeedback-start; \
10622 fi; \
10623 cd $(HOST_SUBDIR)/gcc && \
10624 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
10625 @endif gcc-bootstrap
10631 .PHONY: check-gcc maybe-check-gcc
10632 maybe-check-gcc:
10633 @if gcc
10634 maybe-check-gcc: check-gcc
10636 check-gcc:
10637 @: $(MAKE); $(unstage)
10638 @r=`${PWD_COMMAND}`; export r; \
10639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10640 $(HOST_EXPORTS) \
10641 (cd $(HOST_SUBDIR)/gcc && \
10642 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) check)
10644 @endif gcc
10646 .PHONY: install-gcc maybe-install-gcc
10647 maybe-install-gcc:
10648 @if gcc
10649 maybe-install-gcc: install-gcc
10651 install-gcc: installdirs
10652 @: $(MAKE); $(unstage)
10653 @r=`${PWD_COMMAND}`; export r; \
10654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10655 $(HOST_EXPORTS) \
10656 (cd $(HOST_SUBDIR)/gcc && \
10657 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
10659 @endif gcc
10661 .PHONY: install-strip-gcc maybe-install-strip-gcc
10662 maybe-install-strip-gcc:
10663 @if gcc
10664 maybe-install-strip-gcc: install-strip-gcc
10666 install-strip-gcc: installdirs
10667 @: $(MAKE); $(unstage)
10668 @r=`${PWD_COMMAND}`; export r; \
10669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10670 $(HOST_EXPORTS) \
10671 (cd $(HOST_SUBDIR)/gcc && \
10672 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install-strip)
10674 @endif gcc
10676 # Other targets (info, dvi, pdf, etc.)
10678 .PHONY: maybe-info-gcc info-gcc
10679 maybe-info-gcc:
10680 @if gcc
10681 maybe-info-gcc: info-gcc
10683 info-gcc: \
10684 configure-gcc
10685 @[ -f ./gcc/Makefile ] || exit 0; \
10686 r=`${PWD_COMMAND}`; export r; \
10687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10688 $(HOST_EXPORTS) \
10689 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10691 done; \
10692 echo "Doing info in gcc" ; \
10693 (cd $(HOST_SUBDIR)/gcc && \
10694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10696 "RANLIB=$${RANLIB}" \
10697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10698 info) \
10699 || exit 1
10701 @endif gcc
10703 .PHONY: maybe-dvi-gcc dvi-gcc
10704 maybe-dvi-gcc:
10705 @if gcc
10706 maybe-dvi-gcc: dvi-gcc
10708 dvi-gcc: \
10709 configure-gcc
10710 @[ -f ./gcc/Makefile ] || exit 0; \
10711 r=`${PWD_COMMAND}`; export r; \
10712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10713 $(HOST_EXPORTS) \
10714 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10716 done; \
10717 echo "Doing dvi in gcc" ; \
10718 (cd $(HOST_SUBDIR)/gcc && \
10719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10721 "RANLIB=$${RANLIB}" \
10722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10723 dvi) \
10724 || exit 1
10726 @endif gcc
10728 .PHONY: maybe-pdf-gcc pdf-gcc
10729 maybe-pdf-gcc:
10730 @if gcc
10731 maybe-pdf-gcc: pdf-gcc
10733 pdf-gcc: \
10734 configure-gcc
10735 @[ -f ./gcc/Makefile ] || exit 0; \
10736 r=`${PWD_COMMAND}`; export r; \
10737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10738 $(HOST_EXPORTS) \
10739 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10741 done; \
10742 echo "Doing pdf in gcc" ; \
10743 (cd $(HOST_SUBDIR)/gcc && \
10744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10746 "RANLIB=$${RANLIB}" \
10747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10748 pdf) \
10749 || exit 1
10751 @endif gcc
10753 .PHONY: maybe-html-gcc html-gcc
10754 maybe-html-gcc:
10755 @if gcc
10756 maybe-html-gcc: html-gcc
10758 html-gcc: \
10759 configure-gcc
10760 @[ -f ./gcc/Makefile ] || exit 0; \
10761 r=`${PWD_COMMAND}`; export r; \
10762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10763 $(HOST_EXPORTS) \
10764 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10766 done; \
10767 echo "Doing html in gcc" ; \
10768 (cd $(HOST_SUBDIR)/gcc && \
10769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10771 "RANLIB=$${RANLIB}" \
10772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10773 html) \
10774 || exit 1
10776 @endif gcc
10778 .PHONY: maybe-TAGS-gcc TAGS-gcc
10779 maybe-TAGS-gcc:
10780 @if gcc
10781 maybe-TAGS-gcc: TAGS-gcc
10783 TAGS-gcc: \
10784 configure-gcc
10785 @[ -f ./gcc/Makefile ] || exit 0; \
10786 r=`${PWD_COMMAND}`; export r; \
10787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10788 $(HOST_EXPORTS) \
10789 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10790 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10791 done; \
10792 echo "Doing TAGS in gcc" ; \
10793 (cd $(HOST_SUBDIR)/gcc && \
10794 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10795 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10796 "RANLIB=$${RANLIB}" \
10797 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10798 TAGS) \
10799 || exit 1
10801 @endif gcc
10803 .PHONY: maybe-install-info-gcc install-info-gcc
10804 maybe-install-info-gcc:
10805 @if gcc
10806 maybe-install-info-gcc: install-info-gcc
10808 install-info-gcc: \
10809 configure-gcc \
10810 info-gcc
10811 @[ -f ./gcc/Makefile ] || exit 0; \
10812 r=`${PWD_COMMAND}`; export r; \
10813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10814 $(HOST_EXPORTS) \
10815 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10817 done; \
10818 echo "Doing install-info in gcc" ; \
10819 (cd $(HOST_SUBDIR)/gcc && \
10820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10822 "RANLIB=$${RANLIB}" \
10823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10824 install-info) \
10825 || exit 1
10827 @endif gcc
10829 .PHONY: maybe-install-pdf-gcc install-pdf-gcc
10830 maybe-install-pdf-gcc:
10831 @if gcc
10832 maybe-install-pdf-gcc: install-pdf-gcc
10834 install-pdf-gcc: \
10835 configure-gcc \
10836 pdf-gcc
10837 @[ -f ./gcc/Makefile ] || exit 0; \
10838 r=`${PWD_COMMAND}`; export r; \
10839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10840 $(HOST_EXPORTS) \
10841 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10843 done; \
10844 echo "Doing install-pdf in gcc" ; \
10845 (cd $(HOST_SUBDIR)/gcc && \
10846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10848 "RANLIB=$${RANLIB}" \
10849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10850 install-pdf) \
10851 || exit 1
10853 @endif gcc
10855 .PHONY: maybe-install-html-gcc install-html-gcc
10856 maybe-install-html-gcc:
10857 @if gcc
10858 maybe-install-html-gcc: install-html-gcc
10860 install-html-gcc: \
10861 configure-gcc \
10862 html-gcc
10863 @[ -f ./gcc/Makefile ] || exit 0; \
10864 r=`${PWD_COMMAND}`; export r; \
10865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10866 $(HOST_EXPORTS) \
10867 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10869 done; \
10870 echo "Doing install-html in gcc" ; \
10871 (cd $(HOST_SUBDIR)/gcc && \
10872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10874 "RANLIB=$${RANLIB}" \
10875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10876 install-html) \
10877 || exit 1
10879 @endif gcc
10881 .PHONY: maybe-installcheck-gcc installcheck-gcc
10882 maybe-installcheck-gcc:
10883 @if gcc
10884 maybe-installcheck-gcc: installcheck-gcc
10886 installcheck-gcc: \
10887 configure-gcc
10888 @[ -f ./gcc/Makefile ] || exit 0; \
10889 r=`${PWD_COMMAND}`; export r; \
10890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10891 $(HOST_EXPORTS) \
10892 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10894 done; \
10895 echo "Doing installcheck in gcc" ; \
10896 (cd $(HOST_SUBDIR)/gcc && \
10897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10899 "RANLIB=$${RANLIB}" \
10900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10901 installcheck) \
10902 || exit 1
10904 @endif gcc
10906 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
10907 maybe-mostlyclean-gcc:
10908 @if gcc
10909 maybe-mostlyclean-gcc: mostlyclean-gcc
10911 mostlyclean-gcc:
10912 @[ -f ./gcc/Makefile ] || exit 0; \
10913 r=`${PWD_COMMAND}`; export r; \
10914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10915 $(HOST_EXPORTS) \
10916 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10918 done; \
10919 echo "Doing mostlyclean in gcc" ; \
10920 (cd $(HOST_SUBDIR)/gcc && \
10921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10923 "RANLIB=$${RANLIB}" \
10924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10925 mostlyclean) \
10926 || exit 1
10928 @endif gcc
10930 .PHONY: maybe-clean-gcc clean-gcc
10931 maybe-clean-gcc:
10932 @if gcc
10933 maybe-clean-gcc: clean-gcc
10935 clean-gcc:
10936 @[ -f ./gcc/Makefile ] || exit 0; \
10937 r=`${PWD_COMMAND}`; export r; \
10938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10939 $(HOST_EXPORTS) \
10940 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10942 done; \
10943 echo "Doing clean in gcc" ; \
10944 (cd $(HOST_SUBDIR)/gcc && \
10945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10947 "RANLIB=$${RANLIB}" \
10948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10949 clean) \
10950 || exit 1
10952 @endif gcc
10954 .PHONY: maybe-distclean-gcc distclean-gcc
10955 maybe-distclean-gcc:
10956 @if gcc
10957 maybe-distclean-gcc: distclean-gcc
10959 distclean-gcc:
10960 @[ -f ./gcc/Makefile ] || exit 0; \
10961 r=`${PWD_COMMAND}`; export r; \
10962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10963 $(HOST_EXPORTS) \
10964 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10966 done; \
10967 echo "Doing distclean in gcc" ; \
10968 (cd $(HOST_SUBDIR)/gcc && \
10969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10971 "RANLIB=$${RANLIB}" \
10972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10973 distclean) \
10974 || exit 1
10976 @endif gcc
10978 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
10979 maybe-maintainer-clean-gcc:
10980 @if gcc
10981 maybe-maintainer-clean-gcc: maintainer-clean-gcc
10983 maintainer-clean-gcc:
10984 @[ -f ./gcc/Makefile ] || exit 0; \
10985 r=`${PWD_COMMAND}`; export r; \
10986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10987 $(HOST_EXPORTS) \
10988 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10990 done; \
10991 echo "Doing maintainer-clean in gcc" ; \
10992 (cd $(HOST_SUBDIR)/gcc && \
10993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10995 "RANLIB=$${RANLIB}" \
10996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
10997 maintainer-clean) \
10998 || exit 1
11000 @endif gcc
11004 .PHONY: configure-gmp maybe-configure-gmp
11005 maybe-configure-gmp:
11006 @if gcc-bootstrap
11007 configure-gmp: stage_current
11008 @endif gcc-bootstrap
11009 @if gmp
11010 maybe-configure-gmp: configure-gmp
11011 configure-gmp:
11012 @r=`${PWD_COMMAND}`; export r; \
11013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11014 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
11015 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
11016 $(HOST_EXPORTS) \
11017 echo Configuring in $(HOST_SUBDIR)/gmp; \
11018 cd "$(HOST_SUBDIR)/gmp" || exit 1; \
11019 case $(srcdir) in \
11020 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11021 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
11022 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11023 esac; \
11024 module_srcdir=gmp; \
11025 $(SHELL) \
11026 $$s/$$module_srcdir/configure \
11027 --srcdir=$${topdir}/$$module_srcdir \
11028 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
11029 --target=none-${host_vendor}-${host_os} --disable-shared LEX="touch lex.yy.c" \
11030 || exit 1
11031 @endif gmp
11035 .PHONY: configure-stage1-gmp maybe-configure-stage1-gmp
11036 maybe-configure-stage1-gmp:
11037 @if gmp-bootstrap
11038 maybe-configure-stage1-gmp: configure-stage1-gmp
11039 configure-stage1-gmp:
11040 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11041 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
11042 @r=`${PWD_COMMAND}`; export r; \
11043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11044 TFLAGS="$(STAGE1_TFLAGS)"; \
11045 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
11046 $(HOST_EXPORTS) \
11047 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
11048 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
11049 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
11050 echo Configuring stage 1 in $(HOST_SUBDIR)/gmp ; \
11051 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
11052 cd $(HOST_SUBDIR)/gmp || exit 1; \
11053 case $(srcdir) in \
11054 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11055 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
11056 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11057 esac; \
11058 module_srcdir=gmp; \
11059 $(SHELL) $$s/$$module_srcdir/configure \
11060 --srcdir=$${topdir}/$$module_srcdir \
11061 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
11062 --target=none-${host_vendor}-${host_os} \
11064 $(STAGE1_CONFIGURE_FLAGS) \
11065 --disable-shared LEX="touch lex.yy.c"
11066 @endif gmp-bootstrap
11068 .PHONY: configure-stage2-gmp maybe-configure-stage2-gmp
11069 maybe-configure-stage2-gmp:
11070 @if gmp-bootstrap
11071 maybe-configure-stage2-gmp: configure-stage2-gmp
11072 configure-stage2-gmp:
11073 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11074 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
11075 @r=`${PWD_COMMAND}`; export r; \
11076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11077 TFLAGS="$(STAGE2_TFLAGS)"; \
11078 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
11079 $(HOST_EXPORTS) \
11080 $(POSTSTAGE1_HOST_EXPORTS) \
11081 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
11082 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
11083 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
11084 echo Configuring stage 2 in $(HOST_SUBDIR)/gmp ; \
11085 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
11086 cd $(HOST_SUBDIR)/gmp || exit 1; \
11087 case $(srcdir) in \
11088 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11089 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
11090 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11091 esac; \
11092 module_srcdir=gmp; \
11093 $(SHELL) $$s/$$module_srcdir/configure \
11094 --srcdir=$${topdir}/$$module_srcdir \
11095 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
11096 --target=none-${host_vendor}-${host_os} \
11097 --with-build-libsubdir=$(HOST_SUBDIR) \
11098 $(STAGE2_CONFIGURE_FLAGS) \
11099 --disable-shared LEX="touch lex.yy.c"
11100 @endif gmp-bootstrap
11102 .PHONY: configure-stage3-gmp maybe-configure-stage3-gmp
11103 maybe-configure-stage3-gmp:
11104 @if gmp-bootstrap
11105 maybe-configure-stage3-gmp: configure-stage3-gmp
11106 configure-stage3-gmp:
11107 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11108 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
11109 @r=`${PWD_COMMAND}`; export r; \
11110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11111 TFLAGS="$(STAGE3_TFLAGS)"; \
11112 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
11113 $(HOST_EXPORTS) \
11114 $(POSTSTAGE1_HOST_EXPORTS) \
11115 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
11116 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
11117 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
11118 echo Configuring stage 3 in $(HOST_SUBDIR)/gmp ; \
11119 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
11120 cd $(HOST_SUBDIR)/gmp || exit 1; \
11121 case $(srcdir) in \
11122 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11123 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
11124 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11125 esac; \
11126 module_srcdir=gmp; \
11127 $(SHELL) $$s/$$module_srcdir/configure \
11128 --srcdir=$${topdir}/$$module_srcdir \
11129 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
11130 --target=none-${host_vendor}-${host_os} \
11131 --with-build-libsubdir=$(HOST_SUBDIR) \
11132 $(STAGE3_CONFIGURE_FLAGS) \
11133 --disable-shared LEX="touch lex.yy.c"
11134 @endif gmp-bootstrap
11136 .PHONY: configure-stage4-gmp maybe-configure-stage4-gmp
11137 maybe-configure-stage4-gmp:
11138 @if gmp-bootstrap
11139 maybe-configure-stage4-gmp: configure-stage4-gmp
11140 configure-stage4-gmp:
11141 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11142 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
11143 @r=`${PWD_COMMAND}`; export r; \
11144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11145 TFLAGS="$(STAGE4_TFLAGS)"; \
11146 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
11147 $(HOST_EXPORTS) \
11148 $(POSTSTAGE1_HOST_EXPORTS) \
11149 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
11150 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
11151 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
11152 echo Configuring stage 4 in $(HOST_SUBDIR)/gmp ; \
11153 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
11154 cd $(HOST_SUBDIR)/gmp || exit 1; \
11155 case $(srcdir) in \
11156 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11157 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
11158 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11159 esac; \
11160 module_srcdir=gmp; \
11161 $(SHELL) $$s/$$module_srcdir/configure \
11162 --srcdir=$${topdir}/$$module_srcdir \
11163 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
11164 --target=none-${host_vendor}-${host_os} \
11165 --with-build-libsubdir=$(HOST_SUBDIR) \
11166 $(STAGE4_CONFIGURE_FLAGS) \
11167 --disable-shared LEX="touch lex.yy.c"
11168 @endif gmp-bootstrap
11170 .PHONY: configure-stageprofile-gmp maybe-configure-stageprofile-gmp
11171 maybe-configure-stageprofile-gmp:
11172 @if gmp-bootstrap
11173 maybe-configure-stageprofile-gmp: configure-stageprofile-gmp
11174 configure-stageprofile-gmp:
11175 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11176 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
11177 @r=`${PWD_COMMAND}`; export r; \
11178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11179 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11180 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
11181 $(HOST_EXPORTS) \
11182 $(POSTSTAGE1_HOST_EXPORTS) \
11183 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
11184 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
11185 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
11186 echo Configuring stage profile in $(HOST_SUBDIR)/gmp ; \
11187 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
11188 cd $(HOST_SUBDIR)/gmp || exit 1; \
11189 case $(srcdir) in \
11190 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11191 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
11192 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11193 esac; \
11194 module_srcdir=gmp; \
11195 $(SHELL) $$s/$$module_srcdir/configure \
11196 --srcdir=$${topdir}/$$module_srcdir \
11197 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
11198 --target=none-${host_vendor}-${host_os} \
11199 --with-build-libsubdir=$(HOST_SUBDIR) \
11200 $(STAGEprofile_CONFIGURE_FLAGS) \
11201 --disable-shared LEX="touch lex.yy.c"
11202 @endif gmp-bootstrap
11204 .PHONY: configure-stagefeedback-gmp maybe-configure-stagefeedback-gmp
11205 maybe-configure-stagefeedback-gmp:
11206 @if gmp-bootstrap
11207 maybe-configure-stagefeedback-gmp: configure-stagefeedback-gmp
11208 configure-stagefeedback-gmp:
11209 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11210 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
11211 @r=`${PWD_COMMAND}`; export r; \
11212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11213 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11214 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
11215 $(HOST_EXPORTS) \
11216 $(POSTSTAGE1_HOST_EXPORTS) \
11217 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
11218 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
11219 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
11220 echo Configuring stage feedback in $(HOST_SUBDIR)/gmp ; \
11221 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
11222 cd $(HOST_SUBDIR)/gmp || exit 1; \
11223 case $(srcdir) in \
11224 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11225 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
11226 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11227 esac; \
11228 module_srcdir=gmp; \
11229 $(SHELL) $$s/$$module_srcdir/configure \
11230 --srcdir=$${topdir}/$$module_srcdir \
11231 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
11232 --target=none-${host_vendor}-${host_os} \
11233 --with-build-libsubdir=$(HOST_SUBDIR) \
11234 $(STAGEfeedback_CONFIGURE_FLAGS) \
11235 --disable-shared LEX="touch lex.yy.c"
11236 @endif gmp-bootstrap
11242 .PHONY: all-gmp maybe-all-gmp
11243 maybe-all-gmp:
11244 @if gcc-bootstrap
11245 all-gmp: stage_current
11246 @endif gcc-bootstrap
11247 @if gmp
11248 TARGET-gmp=all
11249 maybe-all-gmp: all-gmp
11250 all-gmp: configure-gmp
11251 @r=`${PWD_COMMAND}`; export r; \
11252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11253 $(HOST_EXPORTS) \
11254 (cd $(HOST_SUBDIR)/gmp && \
11255 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
11256 $(TARGET-gmp))
11257 @endif gmp
11261 .PHONY: all-stage1-gmp maybe-all-stage1-gmp
11262 .PHONY: clean-stage1-gmp maybe-clean-stage1-gmp
11263 maybe-all-stage1-gmp:
11264 maybe-clean-stage1-gmp:
11265 @if gmp-bootstrap
11266 maybe-all-stage1-gmp: all-stage1-gmp
11267 all-stage1: all-stage1-gmp
11268 TARGET-stage1-gmp = $(TARGET-gmp)
11269 all-stage1-gmp: configure-stage1-gmp
11270 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11271 @r=`${PWD_COMMAND}`; export r; \
11272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11273 TFLAGS="$(STAGE1_TFLAGS)"; \
11274 $(HOST_EXPORTS) \
11275 cd $(HOST_SUBDIR)/gmp && \
11276 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11277 CFLAGS="$(STAGE1_CFLAGS)" \
11278 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
11279 LIBCFLAGS="$(LIBCFLAGS)" \
11280 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11281 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11282 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11283 $(EXTRA_HOST_FLAGS) \
11284 $(STAGE1_FLAGS_TO_PASS) \
11285 TFLAGS="$(STAGE1_TFLAGS)" \
11286 $(TARGET-stage1-gmp)
11288 maybe-clean-stage1-gmp: clean-stage1-gmp
11289 clean-stage1: clean-stage1-gmp
11290 clean-stage1-gmp:
11291 @if [ $(current_stage) = stage1 ]; then \
11292 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
11293 else \
11294 [ -f $(HOST_SUBDIR)/stage1-gmp/Makefile ] || exit 0; \
11295 $(MAKE) stage1-start; \
11296 fi; \
11297 cd $(HOST_SUBDIR)/gmp && \
11298 $(MAKE) $(EXTRA_HOST_FLAGS) \
11299 $(STAGE1_FLAGS_TO_PASS) clean
11300 @endif gmp-bootstrap
11303 .PHONY: all-stage2-gmp maybe-all-stage2-gmp
11304 .PHONY: clean-stage2-gmp maybe-clean-stage2-gmp
11305 maybe-all-stage2-gmp:
11306 maybe-clean-stage2-gmp:
11307 @if gmp-bootstrap
11308 maybe-all-stage2-gmp: all-stage2-gmp
11309 all-stage2: all-stage2-gmp
11310 TARGET-stage2-gmp = $(TARGET-gmp)
11311 all-stage2-gmp: configure-stage2-gmp
11312 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11313 @r=`${PWD_COMMAND}`; export r; \
11314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11315 TFLAGS="$(STAGE2_TFLAGS)"; \
11316 $(HOST_EXPORTS) \
11317 $(POSTSTAGE1_HOST_EXPORTS) \
11318 cd $(HOST_SUBDIR)/gmp && \
11319 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11320 CFLAGS="$(STAGE2_CFLAGS)" \
11321 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
11322 LIBCFLAGS="$(STAGE2_CFLAGS)" \
11323 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11324 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11325 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11326 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11327 TFLAGS="$(STAGE2_TFLAGS)" \
11328 $(TARGET-stage2-gmp)
11330 maybe-clean-stage2-gmp: clean-stage2-gmp
11331 clean-stage2: clean-stage2-gmp
11332 clean-stage2-gmp:
11333 @if [ $(current_stage) = stage2 ]; then \
11334 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
11335 else \
11336 [ -f $(HOST_SUBDIR)/stage2-gmp/Makefile ] || exit 0; \
11337 $(MAKE) stage2-start; \
11338 fi; \
11339 cd $(HOST_SUBDIR)/gmp && \
11340 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11341 @endif gmp-bootstrap
11344 .PHONY: all-stage3-gmp maybe-all-stage3-gmp
11345 .PHONY: clean-stage3-gmp maybe-clean-stage3-gmp
11346 maybe-all-stage3-gmp:
11347 maybe-clean-stage3-gmp:
11348 @if gmp-bootstrap
11349 maybe-all-stage3-gmp: all-stage3-gmp
11350 all-stage3: all-stage3-gmp
11351 TARGET-stage3-gmp = $(TARGET-gmp)
11352 all-stage3-gmp: configure-stage3-gmp
11353 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11354 @r=`${PWD_COMMAND}`; export r; \
11355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11356 TFLAGS="$(STAGE3_TFLAGS)"; \
11357 $(HOST_EXPORTS) \
11358 $(POSTSTAGE1_HOST_EXPORTS) \
11359 cd $(HOST_SUBDIR)/gmp && \
11360 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11361 CFLAGS="$(STAGE3_CFLAGS)" \
11362 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
11363 LIBCFLAGS="$(STAGE3_CFLAGS)" \
11364 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11365 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11366 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11367 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11368 TFLAGS="$(STAGE3_TFLAGS)" \
11369 $(TARGET-stage3-gmp)
11371 maybe-clean-stage3-gmp: clean-stage3-gmp
11372 clean-stage3: clean-stage3-gmp
11373 clean-stage3-gmp:
11374 @if [ $(current_stage) = stage3 ]; then \
11375 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
11376 else \
11377 [ -f $(HOST_SUBDIR)/stage3-gmp/Makefile ] || exit 0; \
11378 $(MAKE) stage3-start; \
11379 fi; \
11380 cd $(HOST_SUBDIR)/gmp && \
11381 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11382 @endif gmp-bootstrap
11385 .PHONY: all-stage4-gmp maybe-all-stage4-gmp
11386 .PHONY: clean-stage4-gmp maybe-clean-stage4-gmp
11387 maybe-all-stage4-gmp:
11388 maybe-clean-stage4-gmp:
11389 @if gmp-bootstrap
11390 maybe-all-stage4-gmp: all-stage4-gmp
11391 all-stage4: all-stage4-gmp
11392 TARGET-stage4-gmp = $(TARGET-gmp)
11393 all-stage4-gmp: configure-stage4-gmp
11394 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
11395 @r=`${PWD_COMMAND}`; export r; \
11396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11397 TFLAGS="$(STAGE4_TFLAGS)"; \
11398 $(HOST_EXPORTS) \
11399 $(POSTSTAGE1_HOST_EXPORTS) \
11400 cd $(HOST_SUBDIR)/gmp && \
11401 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11402 CFLAGS="$(STAGE4_CFLAGS)" \
11403 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
11404 LIBCFLAGS="$(STAGE4_CFLAGS)" \
11405 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11406 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11407 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11408 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11409 TFLAGS="$(STAGE4_TFLAGS)" \
11410 $(TARGET-stage4-gmp)
11412 maybe-clean-stage4-gmp: clean-stage4-gmp
11413 clean-stage4: clean-stage4-gmp
11414 clean-stage4-gmp:
11415 @if [ $(current_stage) = stage4 ]; then \
11416 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
11417 else \
11418 [ -f $(HOST_SUBDIR)/stage4-gmp/Makefile ] || exit 0; \
11419 $(MAKE) stage4-start; \
11420 fi; \
11421 cd $(HOST_SUBDIR)/gmp && \
11422 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11423 @endif gmp-bootstrap
11426 .PHONY: all-stageprofile-gmp maybe-all-stageprofile-gmp
11427 .PHONY: clean-stageprofile-gmp maybe-clean-stageprofile-gmp
11428 maybe-all-stageprofile-gmp:
11429 maybe-clean-stageprofile-gmp:
11430 @if gmp-bootstrap
11431 maybe-all-stageprofile-gmp: all-stageprofile-gmp
11432 all-stageprofile: all-stageprofile-gmp
11433 TARGET-stageprofile-gmp = $(TARGET-gmp)
11434 all-stageprofile-gmp: configure-stageprofile-gmp
11435 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
11436 @r=`${PWD_COMMAND}`; export r; \
11437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11438 TFLAGS="$(STAGEprofile_TFLAGS)"; \
11439 $(HOST_EXPORTS) \
11440 $(POSTSTAGE1_HOST_EXPORTS) \
11441 cd $(HOST_SUBDIR)/gmp && \
11442 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11443 CFLAGS="$(STAGEprofile_CFLAGS)" \
11444 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
11445 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
11446 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11447 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11448 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11449 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11450 TFLAGS="$(STAGEprofile_TFLAGS)" \
11451 $(TARGET-stageprofile-gmp)
11453 maybe-clean-stageprofile-gmp: clean-stageprofile-gmp
11454 clean-stageprofile: clean-stageprofile-gmp
11455 clean-stageprofile-gmp:
11456 @if [ $(current_stage) = stageprofile ]; then \
11457 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
11458 else \
11459 [ -f $(HOST_SUBDIR)/stageprofile-gmp/Makefile ] || exit 0; \
11460 $(MAKE) stageprofile-start; \
11461 fi; \
11462 cd $(HOST_SUBDIR)/gmp && \
11463 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11464 @endif gmp-bootstrap
11467 .PHONY: all-stagefeedback-gmp maybe-all-stagefeedback-gmp
11468 .PHONY: clean-stagefeedback-gmp maybe-clean-stagefeedback-gmp
11469 maybe-all-stagefeedback-gmp:
11470 maybe-clean-stagefeedback-gmp:
11471 @if gmp-bootstrap
11472 maybe-all-stagefeedback-gmp: all-stagefeedback-gmp
11473 all-stagefeedback: all-stagefeedback-gmp
11474 TARGET-stagefeedback-gmp = $(TARGET-gmp)
11475 all-stagefeedback-gmp: configure-stagefeedback-gmp
11476 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
11477 @r=`${PWD_COMMAND}`; export r; \
11478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11479 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
11480 $(HOST_EXPORTS) \
11481 $(POSTSTAGE1_HOST_EXPORTS) \
11482 cd $(HOST_SUBDIR)/gmp && \
11483 $(MAKE) $(BASE_FLAGS_TO_PASS) \
11484 CFLAGS="$(STAGEfeedback_CFLAGS)" \
11485 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
11486 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
11487 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
11488 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
11489 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
11490 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
11491 TFLAGS="$(STAGEfeedback_TFLAGS)" \
11492 $(TARGET-stagefeedback-gmp)
11494 maybe-clean-stagefeedback-gmp: clean-stagefeedback-gmp
11495 clean-stagefeedback: clean-stagefeedback-gmp
11496 clean-stagefeedback-gmp:
11497 @if [ $(current_stage) = stagefeedback ]; then \
11498 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
11499 else \
11500 [ -f $(HOST_SUBDIR)/stagefeedback-gmp/Makefile ] || exit 0; \
11501 $(MAKE) stagefeedback-start; \
11502 fi; \
11503 cd $(HOST_SUBDIR)/gmp && \
11504 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
11505 @endif gmp-bootstrap
11511 .PHONY: check-gmp maybe-check-gmp
11512 maybe-check-gmp:
11513 @if gmp
11514 maybe-check-gmp: check-gmp
11516 check-gmp:
11517 @: $(MAKE); $(unstage)
11518 @r=`${PWD_COMMAND}`; export r; \
11519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11520 $(HOST_EXPORTS) \
11521 (cd $(HOST_SUBDIR)/gmp && \
11522 $(MAKE) $(FLAGS_TO_PASS) check)
11524 @endif gmp
11526 .PHONY: install-gmp maybe-install-gmp
11527 maybe-install-gmp:
11528 @if gmp
11529 maybe-install-gmp: install-gmp
11531 install-gmp:
11533 @endif gmp
11535 .PHONY: install-strip-gmp maybe-install-strip-gmp
11536 maybe-install-strip-gmp:
11537 @if gmp
11538 maybe-install-strip-gmp: install-strip-gmp
11540 install-strip-gmp:
11542 @endif gmp
11544 # Other targets (info, dvi, pdf, etc.)
11546 .PHONY: maybe-info-gmp info-gmp
11547 maybe-info-gmp:
11548 @if gmp
11549 maybe-info-gmp: info-gmp
11551 info-gmp: \
11552 configure-gmp
11553 @[ -f ./gmp/Makefile ] || exit 0; \
11554 r=`${PWD_COMMAND}`; export r; \
11555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11556 $(HOST_EXPORTS) \
11557 for flag in $(EXTRA_HOST_FLAGS) ; do \
11558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11559 done; \
11560 echo "Doing info in gmp" ; \
11561 (cd $(HOST_SUBDIR)/gmp && \
11562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11564 "RANLIB=$${RANLIB}" \
11565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11566 info) \
11567 || exit 1
11569 @endif gmp
11571 .PHONY: maybe-dvi-gmp dvi-gmp
11572 maybe-dvi-gmp:
11573 @if gmp
11574 maybe-dvi-gmp: dvi-gmp
11576 dvi-gmp: \
11577 configure-gmp
11578 @[ -f ./gmp/Makefile ] || exit 0; \
11579 r=`${PWD_COMMAND}`; export r; \
11580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11581 $(HOST_EXPORTS) \
11582 for flag in $(EXTRA_HOST_FLAGS) ; do \
11583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11584 done; \
11585 echo "Doing dvi in gmp" ; \
11586 (cd $(HOST_SUBDIR)/gmp && \
11587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11589 "RANLIB=$${RANLIB}" \
11590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11591 dvi) \
11592 || exit 1
11594 @endif gmp
11596 .PHONY: maybe-pdf-gmp pdf-gmp
11597 maybe-pdf-gmp:
11598 @if gmp
11599 maybe-pdf-gmp: pdf-gmp
11601 pdf-gmp: \
11602 configure-gmp
11603 @[ -f ./gmp/Makefile ] || exit 0; \
11604 r=`${PWD_COMMAND}`; export r; \
11605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11606 $(HOST_EXPORTS) \
11607 for flag in $(EXTRA_HOST_FLAGS) ; do \
11608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11609 done; \
11610 echo "Doing pdf in gmp" ; \
11611 (cd $(HOST_SUBDIR)/gmp && \
11612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11614 "RANLIB=$${RANLIB}" \
11615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11616 pdf) \
11617 || exit 1
11619 @endif gmp
11621 .PHONY: maybe-html-gmp html-gmp
11622 maybe-html-gmp:
11623 @if gmp
11624 maybe-html-gmp: html-gmp
11626 html-gmp: \
11627 configure-gmp
11628 @[ -f ./gmp/Makefile ] || exit 0; \
11629 r=`${PWD_COMMAND}`; export r; \
11630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11631 $(HOST_EXPORTS) \
11632 for flag in $(EXTRA_HOST_FLAGS) ; do \
11633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11634 done; \
11635 echo "Doing html in gmp" ; \
11636 (cd $(HOST_SUBDIR)/gmp && \
11637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11639 "RANLIB=$${RANLIB}" \
11640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11641 html) \
11642 || exit 1
11644 @endif gmp
11646 .PHONY: maybe-TAGS-gmp TAGS-gmp
11647 maybe-TAGS-gmp:
11648 @if gmp
11649 maybe-TAGS-gmp: TAGS-gmp
11651 TAGS-gmp: \
11652 configure-gmp
11653 @[ -f ./gmp/Makefile ] || exit 0; \
11654 r=`${PWD_COMMAND}`; export r; \
11655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11656 $(HOST_EXPORTS) \
11657 for flag in $(EXTRA_HOST_FLAGS) ; do \
11658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11659 done; \
11660 echo "Doing TAGS in gmp" ; \
11661 (cd $(HOST_SUBDIR)/gmp && \
11662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11664 "RANLIB=$${RANLIB}" \
11665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11666 TAGS) \
11667 || exit 1
11669 @endif gmp
11671 .PHONY: maybe-install-info-gmp install-info-gmp
11672 maybe-install-info-gmp:
11673 @if gmp
11674 maybe-install-info-gmp: install-info-gmp
11676 install-info-gmp: \
11677 configure-gmp \
11678 info-gmp
11679 @[ -f ./gmp/Makefile ] || exit 0; \
11680 r=`${PWD_COMMAND}`; export r; \
11681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11682 $(HOST_EXPORTS) \
11683 for flag in $(EXTRA_HOST_FLAGS) ; do \
11684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11685 done; \
11686 echo "Doing install-info in gmp" ; \
11687 (cd $(HOST_SUBDIR)/gmp && \
11688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11690 "RANLIB=$${RANLIB}" \
11691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11692 install-info) \
11693 || exit 1
11695 @endif gmp
11697 .PHONY: maybe-install-pdf-gmp install-pdf-gmp
11698 maybe-install-pdf-gmp:
11699 @if gmp
11700 maybe-install-pdf-gmp: install-pdf-gmp
11702 install-pdf-gmp: \
11703 configure-gmp \
11704 pdf-gmp
11705 @[ -f ./gmp/Makefile ] || exit 0; \
11706 r=`${PWD_COMMAND}`; export r; \
11707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11708 $(HOST_EXPORTS) \
11709 for flag in $(EXTRA_HOST_FLAGS) ; do \
11710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11711 done; \
11712 echo "Doing install-pdf in gmp" ; \
11713 (cd $(HOST_SUBDIR)/gmp && \
11714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11716 "RANLIB=$${RANLIB}" \
11717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11718 install-pdf) \
11719 || exit 1
11721 @endif gmp
11723 .PHONY: maybe-install-html-gmp install-html-gmp
11724 maybe-install-html-gmp:
11725 @if gmp
11726 maybe-install-html-gmp: install-html-gmp
11728 install-html-gmp: \
11729 configure-gmp \
11730 html-gmp
11731 @[ -f ./gmp/Makefile ] || exit 0; \
11732 r=`${PWD_COMMAND}`; export r; \
11733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11734 $(HOST_EXPORTS) \
11735 for flag in $(EXTRA_HOST_FLAGS) ; do \
11736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11737 done; \
11738 echo "Doing install-html in gmp" ; \
11739 (cd $(HOST_SUBDIR)/gmp && \
11740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11742 "RANLIB=$${RANLIB}" \
11743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11744 install-html) \
11745 || exit 1
11747 @endif gmp
11749 .PHONY: maybe-installcheck-gmp installcheck-gmp
11750 maybe-installcheck-gmp:
11751 @if gmp
11752 maybe-installcheck-gmp: installcheck-gmp
11754 installcheck-gmp: \
11755 configure-gmp
11756 @[ -f ./gmp/Makefile ] || exit 0; \
11757 r=`${PWD_COMMAND}`; export r; \
11758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11759 $(HOST_EXPORTS) \
11760 for flag in $(EXTRA_HOST_FLAGS) ; do \
11761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11762 done; \
11763 echo "Doing installcheck in gmp" ; \
11764 (cd $(HOST_SUBDIR)/gmp && \
11765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11767 "RANLIB=$${RANLIB}" \
11768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11769 installcheck) \
11770 || exit 1
11772 @endif gmp
11774 .PHONY: maybe-mostlyclean-gmp mostlyclean-gmp
11775 maybe-mostlyclean-gmp:
11776 @if gmp
11777 maybe-mostlyclean-gmp: mostlyclean-gmp
11779 mostlyclean-gmp:
11780 @[ -f ./gmp/Makefile ] || exit 0; \
11781 r=`${PWD_COMMAND}`; export r; \
11782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11783 $(HOST_EXPORTS) \
11784 for flag in $(EXTRA_HOST_FLAGS) ; do \
11785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11786 done; \
11787 echo "Doing mostlyclean in gmp" ; \
11788 (cd $(HOST_SUBDIR)/gmp && \
11789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11791 "RANLIB=$${RANLIB}" \
11792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11793 mostlyclean) \
11794 || exit 1
11796 @endif gmp
11798 .PHONY: maybe-clean-gmp clean-gmp
11799 maybe-clean-gmp:
11800 @if gmp
11801 maybe-clean-gmp: clean-gmp
11803 clean-gmp:
11804 @[ -f ./gmp/Makefile ] || exit 0; \
11805 r=`${PWD_COMMAND}`; export r; \
11806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11807 $(HOST_EXPORTS) \
11808 for flag in $(EXTRA_HOST_FLAGS) ; do \
11809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11810 done; \
11811 echo "Doing clean in gmp" ; \
11812 (cd $(HOST_SUBDIR)/gmp && \
11813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11815 "RANLIB=$${RANLIB}" \
11816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11817 clean) \
11818 || exit 1
11820 @endif gmp
11822 .PHONY: maybe-distclean-gmp distclean-gmp
11823 maybe-distclean-gmp:
11824 @if gmp
11825 maybe-distclean-gmp: distclean-gmp
11827 distclean-gmp:
11828 @[ -f ./gmp/Makefile ] || exit 0; \
11829 r=`${PWD_COMMAND}`; export r; \
11830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11831 $(HOST_EXPORTS) \
11832 for flag in $(EXTRA_HOST_FLAGS) ; do \
11833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11834 done; \
11835 echo "Doing distclean in gmp" ; \
11836 (cd $(HOST_SUBDIR)/gmp && \
11837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11839 "RANLIB=$${RANLIB}" \
11840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11841 distclean) \
11842 || exit 1
11844 @endif gmp
11846 .PHONY: maybe-maintainer-clean-gmp maintainer-clean-gmp
11847 maybe-maintainer-clean-gmp:
11848 @if gmp
11849 maybe-maintainer-clean-gmp: maintainer-clean-gmp
11851 maintainer-clean-gmp:
11852 @[ -f ./gmp/Makefile ] || exit 0; \
11853 r=`${PWD_COMMAND}`; export r; \
11854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11855 $(HOST_EXPORTS) \
11856 for flag in $(EXTRA_HOST_FLAGS) ; do \
11857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11858 done; \
11859 echo "Doing maintainer-clean in gmp" ; \
11860 (cd $(HOST_SUBDIR)/gmp && \
11861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11863 "RANLIB=$${RANLIB}" \
11864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
11865 maintainer-clean) \
11866 || exit 1
11868 @endif gmp
11872 .PHONY: configure-mpfr maybe-configure-mpfr
11873 maybe-configure-mpfr:
11874 @if gcc-bootstrap
11875 configure-mpfr: stage_current
11876 @endif gcc-bootstrap
11877 @if mpfr
11878 maybe-configure-mpfr: configure-mpfr
11879 configure-mpfr:
11880 @r=`${PWD_COMMAND}`; export r; \
11881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11882 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11883 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11884 $(HOST_EXPORTS) \
11885 echo Configuring in $(HOST_SUBDIR)/mpfr; \
11886 cd "$(HOST_SUBDIR)/mpfr" || exit 1; \
11887 case $(srcdir) in \
11888 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11889 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11890 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11891 esac; \
11892 module_srcdir=mpfr; \
11893 $(SHELL) \
11894 $$s/$$module_srcdir/configure \
11895 --srcdir=$${topdir}/$$module_srcdir \
11896 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11897 --target=${target_alias} --disable-shared @extra_mpfr_configure_flags@ \
11898 || exit 1
11899 @endif mpfr
11903 .PHONY: configure-stage1-mpfr maybe-configure-stage1-mpfr
11904 maybe-configure-stage1-mpfr:
11905 @if mpfr-bootstrap
11906 maybe-configure-stage1-mpfr: configure-stage1-mpfr
11907 configure-stage1-mpfr:
11908 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
11909 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11910 @r=`${PWD_COMMAND}`; export r; \
11911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11912 TFLAGS="$(STAGE1_TFLAGS)"; \
11913 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11914 $(HOST_EXPORTS) \
11915 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
11916 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
11917 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
11918 echo Configuring stage 1 in $(HOST_SUBDIR)/mpfr ; \
11919 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11920 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11921 case $(srcdir) in \
11922 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11923 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11924 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11925 esac; \
11926 module_srcdir=mpfr; \
11927 $(SHELL) $$s/$$module_srcdir/configure \
11928 --srcdir=$${topdir}/$$module_srcdir \
11929 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11930 --target=${target_alias} \
11932 $(STAGE1_CONFIGURE_FLAGS) \
11933 --disable-shared @extra_mpfr_configure_flags@
11934 @endif mpfr-bootstrap
11936 .PHONY: configure-stage2-mpfr maybe-configure-stage2-mpfr
11937 maybe-configure-stage2-mpfr:
11938 @if mpfr-bootstrap
11939 maybe-configure-stage2-mpfr: configure-stage2-mpfr
11940 configure-stage2-mpfr:
11941 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
11942 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11943 @r=`${PWD_COMMAND}`; export r; \
11944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11945 TFLAGS="$(STAGE2_TFLAGS)"; \
11946 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11947 $(HOST_EXPORTS) \
11948 $(POSTSTAGE1_HOST_EXPORTS) \
11949 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
11950 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
11951 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
11952 echo Configuring stage 2 in $(HOST_SUBDIR)/mpfr ; \
11953 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11954 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11955 case $(srcdir) in \
11956 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11957 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11958 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11959 esac; \
11960 module_srcdir=mpfr; \
11961 $(SHELL) $$s/$$module_srcdir/configure \
11962 --srcdir=$${topdir}/$$module_srcdir \
11963 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11964 --target=${target_alias} \
11965 --with-build-libsubdir=$(HOST_SUBDIR) \
11966 $(STAGE2_CONFIGURE_FLAGS) \
11967 --disable-shared @extra_mpfr_configure_flags@
11968 @endif mpfr-bootstrap
11970 .PHONY: configure-stage3-mpfr maybe-configure-stage3-mpfr
11971 maybe-configure-stage3-mpfr:
11972 @if mpfr-bootstrap
11973 maybe-configure-stage3-mpfr: configure-stage3-mpfr
11974 configure-stage3-mpfr:
11975 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
11976 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
11977 @r=`${PWD_COMMAND}`; export r; \
11978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11979 TFLAGS="$(STAGE3_TFLAGS)"; \
11980 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
11981 $(HOST_EXPORTS) \
11982 $(POSTSTAGE1_HOST_EXPORTS) \
11983 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
11984 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
11985 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
11986 echo Configuring stage 3 in $(HOST_SUBDIR)/mpfr ; \
11987 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
11988 cd $(HOST_SUBDIR)/mpfr || exit 1; \
11989 case $(srcdir) in \
11990 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11991 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
11992 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11993 esac; \
11994 module_srcdir=mpfr; \
11995 $(SHELL) $$s/$$module_srcdir/configure \
11996 --srcdir=$${topdir}/$$module_srcdir \
11997 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
11998 --target=${target_alias} \
11999 --with-build-libsubdir=$(HOST_SUBDIR) \
12000 $(STAGE3_CONFIGURE_FLAGS) \
12001 --disable-shared @extra_mpfr_configure_flags@
12002 @endif mpfr-bootstrap
12004 .PHONY: configure-stage4-mpfr maybe-configure-stage4-mpfr
12005 maybe-configure-stage4-mpfr:
12006 @if mpfr-bootstrap
12007 maybe-configure-stage4-mpfr: configure-stage4-mpfr
12008 configure-stage4-mpfr:
12009 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12010 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
12011 @r=`${PWD_COMMAND}`; export r; \
12012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12013 TFLAGS="$(STAGE4_TFLAGS)"; \
12014 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
12015 $(HOST_EXPORTS) \
12016 $(POSTSTAGE1_HOST_EXPORTS) \
12017 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
12018 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
12019 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
12020 echo Configuring stage 4 in $(HOST_SUBDIR)/mpfr ; \
12021 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
12022 cd $(HOST_SUBDIR)/mpfr || exit 1; \
12023 case $(srcdir) in \
12024 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12025 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
12026 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12027 esac; \
12028 module_srcdir=mpfr; \
12029 $(SHELL) $$s/$$module_srcdir/configure \
12030 --srcdir=$${topdir}/$$module_srcdir \
12031 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12032 --target=${target_alias} \
12033 --with-build-libsubdir=$(HOST_SUBDIR) \
12034 $(STAGE4_CONFIGURE_FLAGS) \
12035 --disable-shared @extra_mpfr_configure_flags@
12036 @endif mpfr-bootstrap
12038 .PHONY: configure-stageprofile-mpfr maybe-configure-stageprofile-mpfr
12039 maybe-configure-stageprofile-mpfr:
12040 @if mpfr-bootstrap
12041 maybe-configure-stageprofile-mpfr: configure-stageprofile-mpfr
12042 configure-stageprofile-mpfr:
12043 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12044 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
12045 @r=`${PWD_COMMAND}`; export r; \
12046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12047 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12048 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
12049 $(HOST_EXPORTS) \
12050 $(POSTSTAGE1_HOST_EXPORTS) \
12051 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
12052 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
12053 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
12054 echo Configuring stage profile in $(HOST_SUBDIR)/mpfr ; \
12055 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
12056 cd $(HOST_SUBDIR)/mpfr || exit 1; \
12057 case $(srcdir) in \
12058 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12059 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
12060 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12061 esac; \
12062 module_srcdir=mpfr; \
12063 $(SHELL) $$s/$$module_srcdir/configure \
12064 --srcdir=$${topdir}/$$module_srcdir \
12065 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12066 --target=${target_alias} \
12067 --with-build-libsubdir=$(HOST_SUBDIR) \
12068 $(STAGEprofile_CONFIGURE_FLAGS) \
12069 --disable-shared @extra_mpfr_configure_flags@
12070 @endif mpfr-bootstrap
12072 .PHONY: configure-stagefeedback-mpfr maybe-configure-stagefeedback-mpfr
12073 maybe-configure-stagefeedback-mpfr:
12074 @if mpfr-bootstrap
12075 maybe-configure-stagefeedback-mpfr: configure-stagefeedback-mpfr
12076 configure-stagefeedback-mpfr:
12077 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12078 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
12079 @r=`${PWD_COMMAND}`; export r; \
12080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12081 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12082 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
12083 $(HOST_EXPORTS) \
12084 $(POSTSTAGE1_HOST_EXPORTS) \
12085 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
12086 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
12087 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
12088 echo Configuring stage feedback in $(HOST_SUBDIR)/mpfr ; \
12089 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
12090 cd $(HOST_SUBDIR)/mpfr || exit 1; \
12091 case $(srcdir) in \
12092 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12093 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
12094 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12095 esac; \
12096 module_srcdir=mpfr; \
12097 $(SHELL) $$s/$$module_srcdir/configure \
12098 --srcdir=$${topdir}/$$module_srcdir \
12099 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12100 --target=${target_alias} \
12101 --with-build-libsubdir=$(HOST_SUBDIR) \
12102 $(STAGEfeedback_CONFIGURE_FLAGS) \
12103 --disable-shared @extra_mpfr_configure_flags@
12104 @endif mpfr-bootstrap
12110 .PHONY: all-mpfr maybe-all-mpfr
12111 maybe-all-mpfr:
12112 @if gcc-bootstrap
12113 all-mpfr: stage_current
12114 @endif gcc-bootstrap
12115 @if mpfr
12116 TARGET-mpfr=all
12117 maybe-all-mpfr: all-mpfr
12118 all-mpfr: configure-mpfr
12119 @r=`${PWD_COMMAND}`; export r; \
12120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12121 $(HOST_EXPORTS) \
12122 (cd $(HOST_SUBDIR)/mpfr && \
12123 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
12124 $(TARGET-mpfr))
12125 @endif mpfr
12129 .PHONY: all-stage1-mpfr maybe-all-stage1-mpfr
12130 .PHONY: clean-stage1-mpfr maybe-clean-stage1-mpfr
12131 maybe-all-stage1-mpfr:
12132 maybe-clean-stage1-mpfr:
12133 @if mpfr-bootstrap
12134 maybe-all-stage1-mpfr: all-stage1-mpfr
12135 all-stage1: all-stage1-mpfr
12136 TARGET-stage1-mpfr = $(TARGET-mpfr)
12137 all-stage1-mpfr: configure-stage1-mpfr
12138 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12139 @r=`${PWD_COMMAND}`; export r; \
12140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12141 TFLAGS="$(STAGE1_TFLAGS)"; \
12142 $(HOST_EXPORTS) \
12143 cd $(HOST_SUBDIR)/mpfr && \
12144 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12145 CFLAGS="$(STAGE1_CFLAGS)" \
12146 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
12147 LIBCFLAGS="$(LIBCFLAGS)" \
12148 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12149 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12150 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12151 $(EXTRA_HOST_FLAGS) \
12152 $(STAGE1_FLAGS_TO_PASS) \
12153 TFLAGS="$(STAGE1_TFLAGS)" \
12154 $(TARGET-stage1-mpfr)
12156 maybe-clean-stage1-mpfr: clean-stage1-mpfr
12157 clean-stage1: clean-stage1-mpfr
12158 clean-stage1-mpfr:
12159 @if [ $(current_stage) = stage1 ]; then \
12160 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
12161 else \
12162 [ -f $(HOST_SUBDIR)/stage1-mpfr/Makefile ] || exit 0; \
12163 $(MAKE) stage1-start; \
12164 fi; \
12165 cd $(HOST_SUBDIR)/mpfr && \
12166 $(MAKE) $(EXTRA_HOST_FLAGS) \
12167 $(STAGE1_FLAGS_TO_PASS) clean
12168 @endif mpfr-bootstrap
12171 .PHONY: all-stage2-mpfr maybe-all-stage2-mpfr
12172 .PHONY: clean-stage2-mpfr maybe-clean-stage2-mpfr
12173 maybe-all-stage2-mpfr:
12174 maybe-clean-stage2-mpfr:
12175 @if mpfr-bootstrap
12176 maybe-all-stage2-mpfr: all-stage2-mpfr
12177 all-stage2: all-stage2-mpfr
12178 TARGET-stage2-mpfr = $(TARGET-mpfr)
12179 all-stage2-mpfr: configure-stage2-mpfr
12180 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12181 @r=`${PWD_COMMAND}`; export r; \
12182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12183 TFLAGS="$(STAGE2_TFLAGS)"; \
12184 $(HOST_EXPORTS) \
12185 $(POSTSTAGE1_HOST_EXPORTS) \
12186 cd $(HOST_SUBDIR)/mpfr && \
12187 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12188 CFLAGS="$(STAGE2_CFLAGS)" \
12189 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
12190 LIBCFLAGS="$(STAGE2_CFLAGS)" \
12191 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12192 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12193 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12194 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12195 TFLAGS="$(STAGE2_TFLAGS)" \
12196 $(TARGET-stage2-mpfr)
12198 maybe-clean-stage2-mpfr: clean-stage2-mpfr
12199 clean-stage2: clean-stage2-mpfr
12200 clean-stage2-mpfr:
12201 @if [ $(current_stage) = stage2 ]; then \
12202 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
12203 else \
12204 [ -f $(HOST_SUBDIR)/stage2-mpfr/Makefile ] || exit 0; \
12205 $(MAKE) stage2-start; \
12206 fi; \
12207 cd $(HOST_SUBDIR)/mpfr && \
12208 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12209 @endif mpfr-bootstrap
12212 .PHONY: all-stage3-mpfr maybe-all-stage3-mpfr
12213 .PHONY: clean-stage3-mpfr maybe-clean-stage3-mpfr
12214 maybe-all-stage3-mpfr:
12215 maybe-clean-stage3-mpfr:
12216 @if mpfr-bootstrap
12217 maybe-all-stage3-mpfr: all-stage3-mpfr
12218 all-stage3: all-stage3-mpfr
12219 TARGET-stage3-mpfr = $(TARGET-mpfr)
12220 all-stage3-mpfr: configure-stage3-mpfr
12221 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12222 @r=`${PWD_COMMAND}`; export r; \
12223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12224 TFLAGS="$(STAGE3_TFLAGS)"; \
12225 $(HOST_EXPORTS) \
12226 $(POSTSTAGE1_HOST_EXPORTS) \
12227 cd $(HOST_SUBDIR)/mpfr && \
12228 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12229 CFLAGS="$(STAGE3_CFLAGS)" \
12230 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
12231 LIBCFLAGS="$(STAGE3_CFLAGS)" \
12232 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12233 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12234 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12235 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12236 TFLAGS="$(STAGE3_TFLAGS)" \
12237 $(TARGET-stage3-mpfr)
12239 maybe-clean-stage3-mpfr: clean-stage3-mpfr
12240 clean-stage3: clean-stage3-mpfr
12241 clean-stage3-mpfr:
12242 @if [ $(current_stage) = stage3 ]; then \
12243 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
12244 else \
12245 [ -f $(HOST_SUBDIR)/stage3-mpfr/Makefile ] || exit 0; \
12246 $(MAKE) stage3-start; \
12247 fi; \
12248 cd $(HOST_SUBDIR)/mpfr && \
12249 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12250 @endif mpfr-bootstrap
12253 .PHONY: all-stage4-mpfr maybe-all-stage4-mpfr
12254 .PHONY: clean-stage4-mpfr maybe-clean-stage4-mpfr
12255 maybe-all-stage4-mpfr:
12256 maybe-clean-stage4-mpfr:
12257 @if mpfr-bootstrap
12258 maybe-all-stage4-mpfr: all-stage4-mpfr
12259 all-stage4: all-stage4-mpfr
12260 TARGET-stage4-mpfr = $(TARGET-mpfr)
12261 all-stage4-mpfr: configure-stage4-mpfr
12262 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12263 @r=`${PWD_COMMAND}`; export r; \
12264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12265 TFLAGS="$(STAGE4_TFLAGS)"; \
12266 $(HOST_EXPORTS) \
12267 $(POSTSTAGE1_HOST_EXPORTS) \
12268 cd $(HOST_SUBDIR)/mpfr && \
12269 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12270 CFLAGS="$(STAGE4_CFLAGS)" \
12271 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
12272 LIBCFLAGS="$(STAGE4_CFLAGS)" \
12273 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12274 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12275 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12276 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12277 TFLAGS="$(STAGE4_TFLAGS)" \
12278 $(TARGET-stage4-mpfr)
12280 maybe-clean-stage4-mpfr: clean-stage4-mpfr
12281 clean-stage4: clean-stage4-mpfr
12282 clean-stage4-mpfr:
12283 @if [ $(current_stage) = stage4 ]; then \
12284 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
12285 else \
12286 [ -f $(HOST_SUBDIR)/stage4-mpfr/Makefile ] || exit 0; \
12287 $(MAKE) stage4-start; \
12288 fi; \
12289 cd $(HOST_SUBDIR)/mpfr && \
12290 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12291 @endif mpfr-bootstrap
12294 .PHONY: all-stageprofile-mpfr maybe-all-stageprofile-mpfr
12295 .PHONY: clean-stageprofile-mpfr maybe-clean-stageprofile-mpfr
12296 maybe-all-stageprofile-mpfr:
12297 maybe-clean-stageprofile-mpfr:
12298 @if mpfr-bootstrap
12299 maybe-all-stageprofile-mpfr: all-stageprofile-mpfr
12300 all-stageprofile: all-stageprofile-mpfr
12301 TARGET-stageprofile-mpfr = $(TARGET-mpfr)
12302 all-stageprofile-mpfr: configure-stageprofile-mpfr
12303 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12304 @r=`${PWD_COMMAND}`; export r; \
12305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12306 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12307 $(HOST_EXPORTS) \
12308 $(POSTSTAGE1_HOST_EXPORTS) \
12309 cd $(HOST_SUBDIR)/mpfr && \
12310 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12311 CFLAGS="$(STAGEprofile_CFLAGS)" \
12312 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
12313 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
12314 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12315 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12316 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12317 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12318 TFLAGS="$(STAGEprofile_TFLAGS)" \
12319 $(TARGET-stageprofile-mpfr)
12321 maybe-clean-stageprofile-mpfr: clean-stageprofile-mpfr
12322 clean-stageprofile: clean-stageprofile-mpfr
12323 clean-stageprofile-mpfr:
12324 @if [ $(current_stage) = stageprofile ]; then \
12325 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
12326 else \
12327 [ -f $(HOST_SUBDIR)/stageprofile-mpfr/Makefile ] || exit 0; \
12328 $(MAKE) stageprofile-start; \
12329 fi; \
12330 cd $(HOST_SUBDIR)/mpfr && \
12331 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12332 @endif mpfr-bootstrap
12335 .PHONY: all-stagefeedback-mpfr maybe-all-stagefeedback-mpfr
12336 .PHONY: clean-stagefeedback-mpfr maybe-clean-stagefeedback-mpfr
12337 maybe-all-stagefeedback-mpfr:
12338 maybe-clean-stagefeedback-mpfr:
12339 @if mpfr-bootstrap
12340 maybe-all-stagefeedback-mpfr: all-stagefeedback-mpfr
12341 all-stagefeedback: all-stagefeedback-mpfr
12342 TARGET-stagefeedback-mpfr = $(TARGET-mpfr)
12343 all-stagefeedback-mpfr: configure-stagefeedback-mpfr
12344 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12345 @r=`${PWD_COMMAND}`; export r; \
12346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12347 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12348 $(HOST_EXPORTS) \
12349 $(POSTSTAGE1_HOST_EXPORTS) \
12350 cd $(HOST_SUBDIR)/mpfr && \
12351 $(MAKE) $(BASE_FLAGS_TO_PASS) \
12352 CFLAGS="$(STAGEfeedback_CFLAGS)" \
12353 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
12354 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
12355 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
12356 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
12357 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
12358 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
12359 TFLAGS="$(STAGEfeedback_TFLAGS)" \
12360 $(TARGET-stagefeedback-mpfr)
12362 maybe-clean-stagefeedback-mpfr: clean-stagefeedback-mpfr
12363 clean-stagefeedback: clean-stagefeedback-mpfr
12364 clean-stagefeedback-mpfr:
12365 @if [ $(current_stage) = stagefeedback ]; then \
12366 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
12367 else \
12368 [ -f $(HOST_SUBDIR)/stagefeedback-mpfr/Makefile ] || exit 0; \
12369 $(MAKE) stagefeedback-start; \
12370 fi; \
12371 cd $(HOST_SUBDIR)/mpfr && \
12372 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
12373 @endif mpfr-bootstrap
12379 .PHONY: check-mpfr maybe-check-mpfr
12380 maybe-check-mpfr:
12381 @if mpfr
12382 maybe-check-mpfr: check-mpfr
12384 check-mpfr:
12385 @: $(MAKE); $(unstage)
12386 @r=`${PWD_COMMAND}`; export r; \
12387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12388 $(HOST_EXPORTS) \
12389 (cd $(HOST_SUBDIR)/mpfr && \
12390 $(MAKE) $(FLAGS_TO_PASS) check)
12392 @endif mpfr
12394 .PHONY: install-mpfr maybe-install-mpfr
12395 maybe-install-mpfr:
12396 @if mpfr
12397 maybe-install-mpfr: install-mpfr
12399 install-mpfr:
12401 @endif mpfr
12403 .PHONY: install-strip-mpfr maybe-install-strip-mpfr
12404 maybe-install-strip-mpfr:
12405 @if mpfr
12406 maybe-install-strip-mpfr: install-strip-mpfr
12408 install-strip-mpfr:
12410 @endif mpfr
12412 # Other targets (info, dvi, pdf, etc.)
12414 .PHONY: maybe-info-mpfr info-mpfr
12415 maybe-info-mpfr:
12416 @if mpfr
12417 maybe-info-mpfr: info-mpfr
12419 info-mpfr: \
12420 configure-mpfr
12421 @[ -f ./mpfr/Makefile ] || exit 0; \
12422 r=`${PWD_COMMAND}`; export r; \
12423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12424 $(HOST_EXPORTS) \
12425 for flag in $(EXTRA_HOST_FLAGS) ; do \
12426 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12427 done; \
12428 echo "Doing info in mpfr" ; \
12429 (cd $(HOST_SUBDIR)/mpfr && \
12430 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12431 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12432 "RANLIB=$${RANLIB}" \
12433 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12434 info) \
12435 || exit 1
12437 @endif mpfr
12439 .PHONY: maybe-dvi-mpfr dvi-mpfr
12440 maybe-dvi-mpfr:
12441 @if mpfr
12442 maybe-dvi-mpfr: dvi-mpfr
12444 dvi-mpfr: \
12445 configure-mpfr
12446 @[ -f ./mpfr/Makefile ] || exit 0; \
12447 r=`${PWD_COMMAND}`; export r; \
12448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12449 $(HOST_EXPORTS) \
12450 for flag in $(EXTRA_HOST_FLAGS) ; do \
12451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12452 done; \
12453 echo "Doing dvi in mpfr" ; \
12454 (cd $(HOST_SUBDIR)/mpfr && \
12455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12457 "RANLIB=$${RANLIB}" \
12458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12459 dvi) \
12460 || exit 1
12462 @endif mpfr
12464 .PHONY: maybe-pdf-mpfr pdf-mpfr
12465 maybe-pdf-mpfr:
12466 @if mpfr
12467 maybe-pdf-mpfr: pdf-mpfr
12469 pdf-mpfr: \
12470 configure-mpfr
12471 @[ -f ./mpfr/Makefile ] || exit 0; \
12472 r=`${PWD_COMMAND}`; export r; \
12473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12474 $(HOST_EXPORTS) \
12475 for flag in $(EXTRA_HOST_FLAGS) ; do \
12476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12477 done; \
12478 echo "Doing pdf in mpfr" ; \
12479 (cd $(HOST_SUBDIR)/mpfr && \
12480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12482 "RANLIB=$${RANLIB}" \
12483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12484 pdf) \
12485 || exit 1
12487 @endif mpfr
12489 .PHONY: maybe-html-mpfr html-mpfr
12490 maybe-html-mpfr:
12491 @if mpfr
12492 maybe-html-mpfr: html-mpfr
12494 html-mpfr: \
12495 configure-mpfr
12496 @[ -f ./mpfr/Makefile ] || exit 0; \
12497 r=`${PWD_COMMAND}`; export r; \
12498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12499 $(HOST_EXPORTS) \
12500 for flag in $(EXTRA_HOST_FLAGS) ; do \
12501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12502 done; \
12503 echo "Doing html in mpfr" ; \
12504 (cd $(HOST_SUBDIR)/mpfr && \
12505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12507 "RANLIB=$${RANLIB}" \
12508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12509 html) \
12510 || exit 1
12512 @endif mpfr
12514 .PHONY: maybe-TAGS-mpfr TAGS-mpfr
12515 maybe-TAGS-mpfr:
12516 @if mpfr
12517 maybe-TAGS-mpfr: TAGS-mpfr
12519 TAGS-mpfr: \
12520 configure-mpfr
12521 @[ -f ./mpfr/Makefile ] || exit 0; \
12522 r=`${PWD_COMMAND}`; export r; \
12523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12524 $(HOST_EXPORTS) \
12525 for flag in $(EXTRA_HOST_FLAGS) ; do \
12526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12527 done; \
12528 echo "Doing TAGS in mpfr" ; \
12529 (cd $(HOST_SUBDIR)/mpfr && \
12530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12532 "RANLIB=$${RANLIB}" \
12533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12534 TAGS) \
12535 || exit 1
12537 @endif mpfr
12539 .PHONY: maybe-install-info-mpfr install-info-mpfr
12540 maybe-install-info-mpfr:
12541 @if mpfr
12542 maybe-install-info-mpfr: install-info-mpfr
12544 install-info-mpfr: \
12545 configure-mpfr \
12546 info-mpfr
12547 @[ -f ./mpfr/Makefile ] || exit 0; \
12548 r=`${PWD_COMMAND}`; export r; \
12549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12550 $(HOST_EXPORTS) \
12551 for flag in $(EXTRA_HOST_FLAGS) ; do \
12552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12553 done; \
12554 echo "Doing install-info in mpfr" ; \
12555 (cd $(HOST_SUBDIR)/mpfr && \
12556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12558 "RANLIB=$${RANLIB}" \
12559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12560 install-info) \
12561 || exit 1
12563 @endif mpfr
12565 .PHONY: maybe-install-pdf-mpfr install-pdf-mpfr
12566 maybe-install-pdf-mpfr:
12567 @if mpfr
12568 maybe-install-pdf-mpfr: install-pdf-mpfr
12570 install-pdf-mpfr: \
12571 configure-mpfr \
12572 pdf-mpfr
12573 @[ -f ./mpfr/Makefile ] || exit 0; \
12574 r=`${PWD_COMMAND}`; export r; \
12575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12576 $(HOST_EXPORTS) \
12577 for flag in $(EXTRA_HOST_FLAGS) ; do \
12578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12579 done; \
12580 echo "Doing install-pdf in mpfr" ; \
12581 (cd $(HOST_SUBDIR)/mpfr && \
12582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12584 "RANLIB=$${RANLIB}" \
12585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12586 install-pdf) \
12587 || exit 1
12589 @endif mpfr
12591 .PHONY: maybe-install-html-mpfr install-html-mpfr
12592 maybe-install-html-mpfr:
12593 @if mpfr
12594 maybe-install-html-mpfr: install-html-mpfr
12596 install-html-mpfr: \
12597 configure-mpfr \
12598 html-mpfr
12599 @[ -f ./mpfr/Makefile ] || exit 0; \
12600 r=`${PWD_COMMAND}`; export r; \
12601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12602 $(HOST_EXPORTS) \
12603 for flag in $(EXTRA_HOST_FLAGS) ; do \
12604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12605 done; \
12606 echo "Doing install-html in mpfr" ; \
12607 (cd $(HOST_SUBDIR)/mpfr && \
12608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12610 "RANLIB=$${RANLIB}" \
12611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12612 install-html) \
12613 || exit 1
12615 @endif mpfr
12617 .PHONY: maybe-installcheck-mpfr installcheck-mpfr
12618 maybe-installcheck-mpfr:
12619 @if mpfr
12620 maybe-installcheck-mpfr: installcheck-mpfr
12622 installcheck-mpfr: \
12623 configure-mpfr
12624 @[ -f ./mpfr/Makefile ] || exit 0; \
12625 r=`${PWD_COMMAND}`; export r; \
12626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12627 $(HOST_EXPORTS) \
12628 for flag in $(EXTRA_HOST_FLAGS) ; do \
12629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12630 done; \
12631 echo "Doing installcheck in mpfr" ; \
12632 (cd $(HOST_SUBDIR)/mpfr && \
12633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12635 "RANLIB=$${RANLIB}" \
12636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12637 installcheck) \
12638 || exit 1
12640 @endif mpfr
12642 .PHONY: maybe-mostlyclean-mpfr mostlyclean-mpfr
12643 maybe-mostlyclean-mpfr:
12644 @if mpfr
12645 maybe-mostlyclean-mpfr: mostlyclean-mpfr
12647 mostlyclean-mpfr:
12648 @[ -f ./mpfr/Makefile ] || exit 0; \
12649 r=`${PWD_COMMAND}`; export r; \
12650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12651 $(HOST_EXPORTS) \
12652 for flag in $(EXTRA_HOST_FLAGS) ; do \
12653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12654 done; \
12655 echo "Doing mostlyclean in mpfr" ; \
12656 (cd $(HOST_SUBDIR)/mpfr && \
12657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12659 "RANLIB=$${RANLIB}" \
12660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12661 mostlyclean) \
12662 || exit 1
12664 @endif mpfr
12666 .PHONY: maybe-clean-mpfr clean-mpfr
12667 maybe-clean-mpfr:
12668 @if mpfr
12669 maybe-clean-mpfr: clean-mpfr
12671 clean-mpfr:
12672 @[ -f ./mpfr/Makefile ] || exit 0; \
12673 r=`${PWD_COMMAND}`; export r; \
12674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12675 $(HOST_EXPORTS) \
12676 for flag in $(EXTRA_HOST_FLAGS) ; do \
12677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12678 done; \
12679 echo "Doing clean in mpfr" ; \
12680 (cd $(HOST_SUBDIR)/mpfr && \
12681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12683 "RANLIB=$${RANLIB}" \
12684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12685 clean) \
12686 || exit 1
12688 @endif mpfr
12690 .PHONY: maybe-distclean-mpfr distclean-mpfr
12691 maybe-distclean-mpfr:
12692 @if mpfr
12693 maybe-distclean-mpfr: distclean-mpfr
12695 distclean-mpfr:
12696 @[ -f ./mpfr/Makefile ] || exit 0; \
12697 r=`${PWD_COMMAND}`; export r; \
12698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12699 $(HOST_EXPORTS) \
12700 for flag in $(EXTRA_HOST_FLAGS) ; do \
12701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12702 done; \
12703 echo "Doing distclean in mpfr" ; \
12704 (cd $(HOST_SUBDIR)/mpfr && \
12705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12707 "RANLIB=$${RANLIB}" \
12708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12709 distclean) \
12710 || exit 1
12712 @endif mpfr
12714 .PHONY: maybe-maintainer-clean-mpfr maintainer-clean-mpfr
12715 maybe-maintainer-clean-mpfr:
12716 @if mpfr
12717 maybe-maintainer-clean-mpfr: maintainer-clean-mpfr
12719 maintainer-clean-mpfr:
12720 @[ -f ./mpfr/Makefile ] || exit 0; \
12721 r=`${PWD_COMMAND}`; export r; \
12722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12723 $(HOST_EXPORTS) \
12724 for flag in $(EXTRA_HOST_FLAGS) ; do \
12725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12726 done; \
12727 echo "Doing maintainer-clean in mpfr" ; \
12728 (cd $(HOST_SUBDIR)/mpfr && \
12729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12731 "RANLIB=$${RANLIB}" \
12732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
12733 maintainer-clean) \
12734 || exit 1
12736 @endif mpfr
12740 .PHONY: configure-mpc maybe-configure-mpc
12741 maybe-configure-mpc:
12742 @if gcc-bootstrap
12743 configure-mpc: stage_current
12744 @endif gcc-bootstrap
12745 @if mpc
12746 maybe-configure-mpc: configure-mpc
12747 configure-mpc:
12748 @r=`${PWD_COMMAND}`; export r; \
12749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12750 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12751 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12752 $(HOST_EXPORTS) \
12753 echo Configuring in $(HOST_SUBDIR)/mpc; \
12754 cd "$(HOST_SUBDIR)/mpc" || exit 1; \
12755 case $(srcdir) in \
12756 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12757 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12758 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12759 esac; \
12760 module_srcdir=mpc; \
12761 $(SHELL) \
12762 $$s/$$module_srcdir/configure \
12763 --srcdir=$${topdir}/$$module_srcdir \
12764 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12765 --target=${target_alias} --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ \
12766 || exit 1
12767 @endif mpc
12771 .PHONY: configure-stage1-mpc maybe-configure-stage1-mpc
12772 maybe-configure-stage1-mpc:
12773 @if mpc-bootstrap
12774 maybe-configure-stage1-mpc: configure-stage1-mpc
12775 configure-stage1-mpc:
12776 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
12777 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12778 @r=`${PWD_COMMAND}`; export r; \
12779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12780 TFLAGS="$(STAGE1_TFLAGS)"; \
12781 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12782 $(HOST_EXPORTS) \
12783 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
12784 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
12785 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
12786 echo Configuring stage 1 in $(HOST_SUBDIR)/mpc ; \
12787 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12788 cd $(HOST_SUBDIR)/mpc || exit 1; \
12789 case $(srcdir) in \
12790 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12791 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12792 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12793 esac; \
12794 module_srcdir=mpc; \
12795 $(SHELL) $$s/$$module_srcdir/configure \
12796 --srcdir=$${topdir}/$$module_srcdir \
12797 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12798 --target=${target_alias} \
12800 $(STAGE1_CONFIGURE_FLAGS) \
12801 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12802 @endif mpc-bootstrap
12804 .PHONY: configure-stage2-mpc maybe-configure-stage2-mpc
12805 maybe-configure-stage2-mpc:
12806 @if mpc-bootstrap
12807 maybe-configure-stage2-mpc: configure-stage2-mpc
12808 configure-stage2-mpc:
12809 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
12810 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12811 @r=`${PWD_COMMAND}`; export r; \
12812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12813 TFLAGS="$(STAGE2_TFLAGS)"; \
12814 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12815 $(HOST_EXPORTS) \
12816 $(POSTSTAGE1_HOST_EXPORTS) \
12817 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
12818 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
12819 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
12820 echo Configuring stage 2 in $(HOST_SUBDIR)/mpc ; \
12821 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12822 cd $(HOST_SUBDIR)/mpc || exit 1; \
12823 case $(srcdir) in \
12824 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12825 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12826 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12827 esac; \
12828 module_srcdir=mpc; \
12829 $(SHELL) $$s/$$module_srcdir/configure \
12830 --srcdir=$${topdir}/$$module_srcdir \
12831 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12832 --target=${target_alias} \
12833 --with-build-libsubdir=$(HOST_SUBDIR) \
12834 $(STAGE2_CONFIGURE_FLAGS) \
12835 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12836 @endif mpc-bootstrap
12838 .PHONY: configure-stage3-mpc maybe-configure-stage3-mpc
12839 maybe-configure-stage3-mpc:
12840 @if mpc-bootstrap
12841 maybe-configure-stage3-mpc: configure-stage3-mpc
12842 configure-stage3-mpc:
12843 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
12844 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12845 @r=`${PWD_COMMAND}`; export r; \
12846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12847 TFLAGS="$(STAGE3_TFLAGS)"; \
12848 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12849 $(HOST_EXPORTS) \
12850 $(POSTSTAGE1_HOST_EXPORTS) \
12851 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
12852 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
12853 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
12854 echo Configuring stage 3 in $(HOST_SUBDIR)/mpc ; \
12855 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12856 cd $(HOST_SUBDIR)/mpc || exit 1; \
12857 case $(srcdir) in \
12858 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12859 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12860 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12861 esac; \
12862 module_srcdir=mpc; \
12863 $(SHELL) $$s/$$module_srcdir/configure \
12864 --srcdir=$${topdir}/$$module_srcdir \
12865 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12866 --target=${target_alias} \
12867 --with-build-libsubdir=$(HOST_SUBDIR) \
12868 $(STAGE3_CONFIGURE_FLAGS) \
12869 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12870 @endif mpc-bootstrap
12872 .PHONY: configure-stage4-mpc maybe-configure-stage4-mpc
12873 maybe-configure-stage4-mpc:
12874 @if mpc-bootstrap
12875 maybe-configure-stage4-mpc: configure-stage4-mpc
12876 configure-stage4-mpc:
12877 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
12878 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12879 @r=`${PWD_COMMAND}`; export r; \
12880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12881 TFLAGS="$(STAGE4_TFLAGS)"; \
12882 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12883 $(HOST_EXPORTS) \
12884 $(POSTSTAGE1_HOST_EXPORTS) \
12885 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
12886 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
12887 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
12888 echo Configuring stage 4 in $(HOST_SUBDIR)/mpc ; \
12889 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12890 cd $(HOST_SUBDIR)/mpc || exit 1; \
12891 case $(srcdir) in \
12892 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12893 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12894 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12895 esac; \
12896 module_srcdir=mpc; \
12897 $(SHELL) $$s/$$module_srcdir/configure \
12898 --srcdir=$${topdir}/$$module_srcdir \
12899 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12900 --target=${target_alias} \
12901 --with-build-libsubdir=$(HOST_SUBDIR) \
12902 $(STAGE4_CONFIGURE_FLAGS) \
12903 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12904 @endif mpc-bootstrap
12906 .PHONY: configure-stageprofile-mpc maybe-configure-stageprofile-mpc
12907 maybe-configure-stageprofile-mpc:
12908 @if mpc-bootstrap
12909 maybe-configure-stageprofile-mpc: configure-stageprofile-mpc
12910 configure-stageprofile-mpc:
12911 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
12912 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12913 @r=`${PWD_COMMAND}`; export r; \
12914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12915 TFLAGS="$(STAGEprofile_TFLAGS)"; \
12916 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12917 $(HOST_EXPORTS) \
12918 $(POSTSTAGE1_HOST_EXPORTS) \
12919 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
12920 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
12921 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
12922 echo Configuring stage profile in $(HOST_SUBDIR)/mpc ; \
12923 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12924 cd $(HOST_SUBDIR)/mpc || exit 1; \
12925 case $(srcdir) in \
12926 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12927 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12928 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12929 esac; \
12930 module_srcdir=mpc; \
12931 $(SHELL) $$s/$$module_srcdir/configure \
12932 --srcdir=$${topdir}/$$module_srcdir \
12933 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12934 --target=${target_alias} \
12935 --with-build-libsubdir=$(HOST_SUBDIR) \
12936 $(STAGEprofile_CONFIGURE_FLAGS) \
12937 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12938 @endif mpc-bootstrap
12940 .PHONY: configure-stagefeedback-mpc maybe-configure-stagefeedback-mpc
12941 maybe-configure-stagefeedback-mpc:
12942 @if mpc-bootstrap
12943 maybe-configure-stagefeedback-mpc: configure-stagefeedback-mpc
12944 configure-stagefeedback-mpc:
12945 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
12946 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
12947 @r=`${PWD_COMMAND}`; export r; \
12948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12949 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
12950 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
12951 $(HOST_EXPORTS) \
12952 $(POSTSTAGE1_HOST_EXPORTS) \
12953 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
12954 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
12955 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
12956 echo Configuring stage feedback in $(HOST_SUBDIR)/mpc ; \
12957 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
12958 cd $(HOST_SUBDIR)/mpc || exit 1; \
12959 case $(srcdir) in \
12960 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12961 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
12962 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12963 esac; \
12964 module_srcdir=mpc; \
12965 $(SHELL) $$s/$$module_srcdir/configure \
12966 --srcdir=$${topdir}/$$module_srcdir \
12967 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
12968 --target=${target_alias} \
12969 --with-build-libsubdir=$(HOST_SUBDIR) \
12970 $(STAGEfeedback_CONFIGURE_FLAGS) \
12971 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
12972 @endif mpc-bootstrap
12978 .PHONY: all-mpc maybe-all-mpc
12979 maybe-all-mpc:
12980 @if gcc-bootstrap
12981 all-mpc: stage_current
12982 @endif gcc-bootstrap
12983 @if mpc
12984 TARGET-mpc=all
12985 maybe-all-mpc: all-mpc
12986 all-mpc: configure-mpc
12987 @r=`${PWD_COMMAND}`; export r; \
12988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12989 $(HOST_EXPORTS) \
12990 (cd $(HOST_SUBDIR)/mpc && \
12991 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
12992 $(TARGET-mpc))
12993 @endif mpc
12997 .PHONY: all-stage1-mpc maybe-all-stage1-mpc
12998 .PHONY: clean-stage1-mpc maybe-clean-stage1-mpc
12999 maybe-all-stage1-mpc:
13000 maybe-clean-stage1-mpc:
13001 @if mpc-bootstrap
13002 maybe-all-stage1-mpc: all-stage1-mpc
13003 all-stage1: all-stage1-mpc
13004 TARGET-stage1-mpc = $(TARGET-mpc)
13005 all-stage1-mpc: configure-stage1-mpc
13006 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13007 @r=`${PWD_COMMAND}`; export r; \
13008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13009 TFLAGS="$(STAGE1_TFLAGS)"; \
13010 $(HOST_EXPORTS) \
13011 cd $(HOST_SUBDIR)/mpc && \
13012 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13013 CFLAGS="$(STAGE1_CFLAGS)" \
13014 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
13015 LIBCFLAGS="$(LIBCFLAGS)" \
13016 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13017 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13018 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13019 $(EXTRA_HOST_FLAGS) \
13020 $(STAGE1_FLAGS_TO_PASS) \
13021 TFLAGS="$(STAGE1_TFLAGS)" \
13022 $(TARGET-stage1-mpc)
13024 maybe-clean-stage1-mpc: clean-stage1-mpc
13025 clean-stage1: clean-stage1-mpc
13026 clean-stage1-mpc:
13027 @if [ $(current_stage) = stage1 ]; then \
13028 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
13029 else \
13030 [ -f $(HOST_SUBDIR)/stage1-mpc/Makefile ] || exit 0; \
13031 $(MAKE) stage1-start; \
13032 fi; \
13033 cd $(HOST_SUBDIR)/mpc && \
13034 $(MAKE) $(EXTRA_HOST_FLAGS) \
13035 $(STAGE1_FLAGS_TO_PASS) clean
13036 @endif mpc-bootstrap
13039 .PHONY: all-stage2-mpc maybe-all-stage2-mpc
13040 .PHONY: clean-stage2-mpc maybe-clean-stage2-mpc
13041 maybe-all-stage2-mpc:
13042 maybe-clean-stage2-mpc:
13043 @if mpc-bootstrap
13044 maybe-all-stage2-mpc: all-stage2-mpc
13045 all-stage2: all-stage2-mpc
13046 TARGET-stage2-mpc = $(TARGET-mpc)
13047 all-stage2-mpc: configure-stage2-mpc
13048 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13049 @r=`${PWD_COMMAND}`; export r; \
13050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13051 TFLAGS="$(STAGE2_TFLAGS)"; \
13052 $(HOST_EXPORTS) \
13053 $(POSTSTAGE1_HOST_EXPORTS) \
13054 cd $(HOST_SUBDIR)/mpc && \
13055 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13056 CFLAGS="$(STAGE2_CFLAGS)" \
13057 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
13058 LIBCFLAGS="$(STAGE2_CFLAGS)" \
13059 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13060 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13061 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13062 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13063 TFLAGS="$(STAGE2_TFLAGS)" \
13064 $(TARGET-stage2-mpc)
13066 maybe-clean-stage2-mpc: clean-stage2-mpc
13067 clean-stage2: clean-stage2-mpc
13068 clean-stage2-mpc:
13069 @if [ $(current_stage) = stage2 ]; then \
13070 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
13071 else \
13072 [ -f $(HOST_SUBDIR)/stage2-mpc/Makefile ] || exit 0; \
13073 $(MAKE) stage2-start; \
13074 fi; \
13075 cd $(HOST_SUBDIR)/mpc && \
13076 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
13077 @endif mpc-bootstrap
13080 .PHONY: all-stage3-mpc maybe-all-stage3-mpc
13081 .PHONY: clean-stage3-mpc maybe-clean-stage3-mpc
13082 maybe-all-stage3-mpc:
13083 maybe-clean-stage3-mpc:
13084 @if mpc-bootstrap
13085 maybe-all-stage3-mpc: all-stage3-mpc
13086 all-stage3: all-stage3-mpc
13087 TARGET-stage3-mpc = $(TARGET-mpc)
13088 all-stage3-mpc: configure-stage3-mpc
13089 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13090 @r=`${PWD_COMMAND}`; export r; \
13091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13092 TFLAGS="$(STAGE3_TFLAGS)"; \
13093 $(HOST_EXPORTS) \
13094 $(POSTSTAGE1_HOST_EXPORTS) \
13095 cd $(HOST_SUBDIR)/mpc && \
13096 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13097 CFLAGS="$(STAGE3_CFLAGS)" \
13098 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
13099 LIBCFLAGS="$(STAGE3_CFLAGS)" \
13100 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13101 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13102 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13103 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13104 TFLAGS="$(STAGE3_TFLAGS)" \
13105 $(TARGET-stage3-mpc)
13107 maybe-clean-stage3-mpc: clean-stage3-mpc
13108 clean-stage3: clean-stage3-mpc
13109 clean-stage3-mpc:
13110 @if [ $(current_stage) = stage3 ]; then \
13111 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
13112 else \
13113 [ -f $(HOST_SUBDIR)/stage3-mpc/Makefile ] || exit 0; \
13114 $(MAKE) stage3-start; \
13115 fi; \
13116 cd $(HOST_SUBDIR)/mpc && \
13117 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
13118 @endif mpc-bootstrap
13121 .PHONY: all-stage4-mpc maybe-all-stage4-mpc
13122 .PHONY: clean-stage4-mpc maybe-clean-stage4-mpc
13123 maybe-all-stage4-mpc:
13124 maybe-clean-stage4-mpc:
13125 @if mpc-bootstrap
13126 maybe-all-stage4-mpc: all-stage4-mpc
13127 all-stage4: all-stage4-mpc
13128 TARGET-stage4-mpc = $(TARGET-mpc)
13129 all-stage4-mpc: configure-stage4-mpc
13130 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13131 @r=`${PWD_COMMAND}`; export r; \
13132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13133 TFLAGS="$(STAGE4_TFLAGS)"; \
13134 $(HOST_EXPORTS) \
13135 $(POSTSTAGE1_HOST_EXPORTS) \
13136 cd $(HOST_SUBDIR)/mpc && \
13137 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13138 CFLAGS="$(STAGE4_CFLAGS)" \
13139 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
13140 LIBCFLAGS="$(STAGE4_CFLAGS)" \
13141 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13142 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13143 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13144 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13145 TFLAGS="$(STAGE4_TFLAGS)" \
13146 $(TARGET-stage4-mpc)
13148 maybe-clean-stage4-mpc: clean-stage4-mpc
13149 clean-stage4: clean-stage4-mpc
13150 clean-stage4-mpc:
13151 @if [ $(current_stage) = stage4 ]; then \
13152 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
13153 else \
13154 [ -f $(HOST_SUBDIR)/stage4-mpc/Makefile ] || exit 0; \
13155 $(MAKE) stage4-start; \
13156 fi; \
13157 cd $(HOST_SUBDIR)/mpc && \
13158 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
13159 @endif mpc-bootstrap
13162 .PHONY: all-stageprofile-mpc maybe-all-stageprofile-mpc
13163 .PHONY: clean-stageprofile-mpc maybe-clean-stageprofile-mpc
13164 maybe-all-stageprofile-mpc:
13165 maybe-clean-stageprofile-mpc:
13166 @if mpc-bootstrap
13167 maybe-all-stageprofile-mpc: all-stageprofile-mpc
13168 all-stageprofile: all-stageprofile-mpc
13169 TARGET-stageprofile-mpc = $(TARGET-mpc)
13170 all-stageprofile-mpc: configure-stageprofile-mpc
13171 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13172 @r=`${PWD_COMMAND}`; export r; \
13173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13174 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13175 $(HOST_EXPORTS) \
13176 $(POSTSTAGE1_HOST_EXPORTS) \
13177 cd $(HOST_SUBDIR)/mpc && \
13178 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13179 CFLAGS="$(STAGEprofile_CFLAGS)" \
13180 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
13181 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
13182 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13183 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13184 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13185 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13186 TFLAGS="$(STAGEprofile_TFLAGS)" \
13187 $(TARGET-stageprofile-mpc)
13189 maybe-clean-stageprofile-mpc: clean-stageprofile-mpc
13190 clean-stageprofile: clean-stageprofile-mpc
13191 clean-stageprofile-mpc:
13192 @if [ $(current_stage) = stageprofile ]; then \
13193 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
13194 else \
13195 [ -f $(HOST_SUBDIR)/stageprofile-mpc/Makefile ] || exit 0; \
13196 $(MAKE) stageprofile-start; \
13197 fi; \
13198 cd $(HOST_SUBDIR)/mpc && \
13199 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
13200 @endif mpc-bootstrap
13203 .PHONY: all-stagefeedback-mpc maybe-all-stagefeedback-mpc
13204 .PHONY: clean-stagefeedback-mpc maybe-clean-stagefeedback-mpc
13205 maybe-all-stagefeedback-mpc:
13206 maybe-clean-stagefeedback-mpc:
13207 @if mpc-bootstrap
13208 maybe-all-stagefeedback-mpc: all-stagefeedback-mpc
13209 all-stagefeedback: all-stagefeedback-mpc
13210 TARGET-stagefeedback-mpc = $(TARGET-mpc)
13211 all-stagefeedback-mpc: configure-stagefeedback-mpc
13212 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13213 @r=`${PWD_COMMAND}`; export r; \
13214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13215 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13216 $(HOST_EXPORTS) \
13217 $(POSTSTAGE1_HOST_EXPORTS) \
13218 cd $(HOST_SUBDIR)/mpc && \
13219 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13220 CFLAGS="$(STAGEfeedback_CFLAGS)" \
13221 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
13222 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
13223 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13224 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13225 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13226 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
13227 TFLAGS="$(STAGEfeedback_TFLAGS)" \
13228 $(TARGET-stagefeedback-mpc)
13230 maybe-clean-stagefeedback-mpc: clean-stagefeedback-mpc
13231 clean-stagefeedback: clean-stagefeedback-mpc
13232 clean-stagefeedback-mpc:
13233 @if [ $(current_stage) = stagefeedback ]; then \
13234 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
13235 else \
13236 [ -f $(HOST_SUBDIR)/stagefeedback-mpc/Makefile ] || exit 0; \
13237 $(MAKE) stagefeedback-start; \
13238 fi; \
13239 cd $(HOST_SUBDIR)/mpc && \
13240 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
13241 @endif mpc-bootstrap
13247 .PHONY: check-mpc maybe-check-mpc
13248 maybe-check-mpc:
13249 @if mpc
13250 maybe-check-mpc: check-mpc
13252 check-mpc:
13253 @: $(MAKE); $(unstage)
13254 @r=`${PWD_COMMAND}`; export r; \
13255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13256 $(HOST_EXPORTS) \
13257 (cd $(HOST_SUBDIR)/mpc && \
13258 $(MAKE) $(FLAGS_TO_PASS) check)
13260 @endif mpc
13262 .PHONY: install-mpc maybe-install-mpc
13263 maybe-install-mpc:
13264 @if mpc
13265 maybe-install-mpc: install-mpc
13267 install-mpc:
13269 @endif mpc
13271 .PHONY: install-strip-mpc maybe-install-strip-mpc
13272 maybe-install-strip-mpc:
13273 @if mpc
13274 maybe-install-strip-mpc: install-strip-mpc
13276 install-strip-mpc:
13278 @endif mpc
13280 # Other targets (info, dvi, pdf, etc.)
13282 .PHONY: maybe-info-mpc info-mpc
13283 maybe-info-mpc:
13284 @if mpc
13285 maybe-info-mpc: info-mpc
13287 info-mpc: \
13288 configure-mpc
13289 @[ -f ./mpc/Makefile ] || exit 0; \
13290 r=`${PWD_COMMAND}`; export r; \
13291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13292 $(HOST_EXPORTS) \
13293 for flag in $(EXTRA_HOST_FLAGS) ; do \
13294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13295 done; \
13296 echo "Doing info in mpc" ; \
13297 (cd $(HOST_SUBDIR)/mpc && \
13298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13300 "RANLIB=$${RANLIB}" \
13301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13302 info) \
13303 || exit 1
13305 @endif mpc
13307 .PHONY: maybe-dvi-mpc dvi-mpc
13308 maybe-dvi-mpc:
13309 @if mpc
13310 maybe-dvi-mpc: dvi-mpc
13312 dvi-mpc: \
13313 configure-mpc
13314 @[ -f ./mpc/Makefile ] || exit 0; \
13315 r=`${PWD_COMMAND}`; export r; \
13316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13317 $(HOST_EXPORTS) \
13318 for flag in $(EXTRA_HOST_FLAGS) ; do \
13319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13320 done; \
13321 echo "Doing dvi in mpc" ; \
13322 (cd $(HOST_SUBDIR)/mpc && \
13323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13325 "RANLIB=$${RANLIB}" \
13326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13327 dvi) \
13328 || exit 1
13330 @endif mpc
13332 .PHONY: maybe-pdf-mpc pdf-mpc
13333 maybe-pdf-mpc:
13334 @if mpc
13335 maybe-pdf-mpc: pdf-mpc
13337 pdf-mpc: \
13338 configure-mpc
13339 @[ -f ./mpc/Makefile ] || exit 0; \
13340 r=`${PWD_COMMAND}`; export r; \
13341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13342 $(HOST_EXPORTS) \
13343 for flag in $(EXTRA_HOST_FLAGS) ; do \
13344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13345 done; \
13346 echo "Doing pdf in mpc" ; \
13347 (cd $(HOST_SUBDIR)/mpc && \
13348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13350 "RANLIB=$${RANLIB}" \
13351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13352 pdf) \
13353 || exit 1
13355 @endif mpc
13357 .PHONY: maybe-html-mpc html-mpc
13358 maybe-html-mpc:
13359 @if mpc
13360 maybe-html-mpc: html-mpc
13362 html-mpc: \
13363 configure-mpc
13364 @[ -f ./mpc/Makefile ] || exit 0; \
13365 r=`${PWD_COMMAND}`; export r; \
13366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13367 $(HOST_EXPORTS) \
13368 for flag in $(EXTRA_HOST_FLAGS) ; do \
13369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13370 done; \
13371 echo "Doing html in mpc" ; \
13372 (cd $(HOST_SUBDIR)/mpc && \
13373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13375 "RANLIB=$${RANLIB}" \
13376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13377 html) \
13378 || exit 1
13380 @endif mpc
13382 .PHONY: maybe-TAGS-mpc TAGS-mpc
13383 maybe-TAGS-mpc:
13384 @if mpc
13385 maybe-TAGS-mpc: TAGS-mpc
13387 TAGS-mpc: \
13388 configure-mpc
13389 @[ -f ./mpc/Makefile ] || exit 0; \
13390 r=`${PWD_COMMAND}`; export r; \
13391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13392 $(HOST_EXPORTS) \
13393 for flag in $(EXTRA_HOST_FLAGS) ; do \
13394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13395 done; \
13396 echo "Doing TAGS in mpc" ; \
13397 (cd $(HOST_SUBDIR)/mpc && \
13398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13400 "RANLIB=$${RANLIB}" \
13401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13402 TAGS) \
13403 || exit 1
13405 @endif mpc
13407 .PHONY: maybe-install-info-mpc install-info-mpc
13408 maybe-install-info-mpc:
13409 @if mpc
13410 maybe-install-info-mpc: install-info-mpc
13412 install-info-mpc: \
13413 configure-mpc \
13414 info-mpc
13415 @[ -f ./mpc/Makefile ] || exit 0; \
13416 r=`${PWD_COMMAND}`; export r; \
13417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13418 $(HOST_EXPORTS) \
13419 for flag in $(EXTRA_HOST_FLAGS) ; do \
13420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13421 done; \
13422 echo "Doing install-info in mpc" ; \
13423 (cd $(HOST_SUBDIR)/mpc && \
13424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13426 "RANLIB=$${RANLIB}" \
13427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13428 install-info) \
13429 || exit 1
13431 @endif mpc
13433 .PHONY: maybe-install-pdf-mpc install-pdf-mpc
13434 maybe-install-pdf-mpc:
13435 @if mpc
13436 maybe-install-pdf-mpc: install-pdf-mpc
13438 install-pdf-mpc: \
13439 configure-mpc \
13440 pdf-mpc
13441 @[ -f ./mpc/Makefile ] || exit 0; \
13442 r=`${PWD_COMMAND}`; export r; \
13443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13444 $(HOST_EXPORTS) \
13445 for flag in $(EXTRA_HOST_FLAGS) ; do \
13446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13447 done; \
13448 echo "Doing install-pdf in mpc" ; \
13449 (cd $(HOST_SUBDIR)/mpc && \
13450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13452 "RANLIB=$${RANLIB}" \
13453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13454 install-pdf) \
13455 || exit 1
13457 @endif mpc
13459 .PHONY: maybe-install-html-mpc install-html-mpc
13460 maybe-install-html-mpc:
13461 @if mpc
13462 maybe-install-html-mpc: install-html-mpc
13464 install-html-mpc: \
13465 configure-mpc \
13466 html-mpc
13467 @[ -f ./mpc/Makefile ] || exit 0; \
13468 r=`${PWD_COMMAND}`; export r; \
13469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13470 $(HOST_EXPORTS) \
13471 for flag in $(EXTRA_HOST_FLAGS) ; do \
13472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13473 done; \
13474 echo "Doing install-html in mpc" ; \
13475 (cd $(HOST_SUBDIR)/mpc && \
13476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13478 "RANLIB=$${RANLIB}" \
13479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13480 install-html) \
13481 || exit 1
13483 @endif mpc
13485 .PHONY: maybe-installcheck-mpc installcheck-mpc
13486 maybe-installcheck-mpc:
13487 @if mpc
13488 maybe-installcheck-mpc: installcheck-mpc
13490 installcheck-mpc: \
13491 configure-mpc
13492 @[ -f ./mpc/Makefile ] || exit 0; \
13493 r=`${PWD_COMMAND}`; export r; \
13494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13495 $(HOST_EXPORTS) \
13496 for flag in $(EXTRA_HOST_FLAGS) ; do \
13497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13498 done; \
13499 echo "Doing installcheck in mpc" ; \
13500 (cd $(HOST_SUBDIR)/mpc && \
13501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13503 "RANLIB=$${RANLIB}" \
13504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13505 installcheck) \
13506 || exit 1
13508 @endif mpc
13510 .PHONY: maybe-mostlyclean-mpc mostlyclean-mpc
13511 maybe-mostlyclean-mpc:
13512 @if mpc
13513 maybe-mostlyclean-mpc: mostlyclean-mpc
13515 mostlyclean-mpc:
13516 @[ -f ./mpc/Makefile ] || exit 0; \
13517 r=`${PWD_COMMAND}`; export r; \
13518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13519 $(HOST_EXPORTS) \
13520 for flag in $(EXTRA_HOST_FLAGS) ; do \
13521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13522 done; \
13523 echo "Doing mostlyclean in mpc" ; \
13524 (cd $(HOST_SUBDIR)/mpc && \
13525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13527 "RANLIB=$${RANLIB}" \
13528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13529 mostlyclean) \
13530 || exit 1
13532 @endif mpc
13534 .PHONY: maybe-clean-mpc clean-mpc
13535 maybe-clean-mpc:
13536 @if mpc
13537 maybe-clean-mpc: clean-mpc
13539 clean-mpc:
13540 @[ -f ./mpc/Makefile ] || exit 0; \
13541 r=`${PWD_COMMAND}`; export r; \
13542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13543 $(HOST_EXPORTS) \
13544 for flag in $(EXTRA_HOST_FLAGS) ; do \
13545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13546 done; \
13547 echo "Doing clean in mpc" ; \
13548 (cd $(HOST_SUBDIR)/mpc && \
13549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13551 "RANLIB=$${RANLIB}" \
13552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13553 clean) \
13554 || exit 1
13556 @endif mpc
13558 .PHONY: maybe-distclean-mpc distclean-mpc
13559 maybe-distclean-mpc:
13560 @if mpc
13561 maybe-distclean-mpc: distclean-mpc
13563 distclean-mpc:
13564 @[ -f ./mpc/Makefile ] || exit 0; \
13565 r=`${PWD_COMMAND}`; export r; \
13566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13567 $(HOST_EXPORTS) \
13568 for flag in $(EXTRA_HOST_FLAGS) ; do \
13569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13570 done; \
13571 echo "Doing distclean in mpc" ; \
13572 (cd $(HOST_SUBDIR)/mpc && \
13573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13575 "RANLIB=$${RANLIB}" \
13576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13577 distclean) \
13578 || exit 1
13580 @endif mpc
13582 .PHONY: maybe-maintainer-clean-mpc maintainer-clean-mpc
13583 maybe-maintainer-clean-mpc:
13584 @if mpc
13585 maybe-maintainer-clean-mpc: maintainer-clean-mpc
13587 maintainer-clean-mpc:
13588 @[ -f ./mpc/Makefile ] || exit 0; \
13589 r=`${PWD_COMMAND}`; export r; \
13590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13591 $(HOST_EXPORTS) \
13592 for flag in $(EXTRA_HOST_FLAGS) ; do \
13593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13594 done; \
13595 echo "Doing maintainer-clean in mpc" ; \
13596 (cd $(HOST_SUBDIR)/mpc && \
13597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13599 "RANLIB=$${RANLIB}" \
13600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
13601 maintainer-clean) \
13602 || exit 1
13604 @endif mpc
13608 .PHONY: configure-isl maybe-configure-isl
13609 maybe-configure-isl:
13610 @if gcc-bootstrap
13611 configure-isl: stage_current
13612 @endif gcc-bootstrap
13613 @if isl
13614 maybe-configure-isl: configure-isl
13615 configure-isl:
13616 @r=`${PWD_COMMAND}`; export r; \
13617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13618 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13619 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13620 $(HOST_EXPORTS) \
13621 echo Configuring in $(HOST_SUBDIR)/isl; \
13622 cd "$(HOST_SUBDIR)/isl" || exit 1; \
13623 case $(srcdir) in \
13624 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13625 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13626 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13627 esac; \
13628 module_srcdir=isl; \
13629 $(SHELL) \
13630 $$s/$$module_srcdir/configure \
13631 --srcdir=$${topdir}/$$module_srcdir \
13632 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13633 --target=${target_alias} --disable-shared @extra_isl_gmp_configure_flags@ \
13634 || exit 1
13635 @endif isl
13639 .PHONY: configure-stage1-isl maybe-configure-stage1-isl
13640 maybe-configure-stage1-isl:
13641 @if isl-bootstrap
13642 maybe-configure-stage1-isl: configure-stage1-isl
13643 configure-stage1-isl:
13644 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13645 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13646 @r=`${PWD_COMMAND}`; export r; \
13647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13648 TFLAGS="$(STAGE1_TFLAGS)"; \
13649 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13650 $(HOST_EXPORTS) \
13651 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
13652 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
13653 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
13654 echo Configuring stage 1 in $(HOST_SUBDIR)/isl ; \
13655 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13656 cd $(HOST_SUBDIR)/isl || exit 1; \
13657 case $(srcdir) in \
13658 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13659 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13660 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13661 esac; \
13662 module_srcdir=isl; \
13663 $(SHELL) $$s/$$module_srcdir/configure \
13664 --srcdir=$${topdir}/$$module_srcdir \
13665 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13666 --target=${target_alias} \
13668 $(STAGE1_CONFIGURE_FLAGS) \
13669 --disable-shared @extra_isl_gmp_configure_flags@
13670 @endif isl-bootstrap
13672 .PHONY: configure-stage2-isl maybe-configure-stage2-isl
13673 maybe-configure-stage2-isl:
13674 @if isl-bootstrap
13675 maybe-configure-stage2-isl: configure-stage2-isl
13676 configure-stage2-isl:
13677 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13678 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13679 @r=`${PWD_COMMAND}`; export r; \
13680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13681 TFLAGS="$(STAGE2_TFLAGS)"; \
13682 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13683 $(HOST_EXPORTS) \
13684 $(POSTSTAGE1_HOST_EXPORTS) \
13685 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
13686 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
13687 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
13688 echo Configuring stage 2 in $(HOST_SUBDIR)/isl ; \
13689 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13690 cd $(HOST_SUBDIR)/isl || exit 1; \
13691 case $(srcdir) in \
13692 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13693 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13694 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13695 esac; \
13696 module_srcdir=isl; \
13697 $(SHELL) $$s/$$module_srcdir/configure \
13698 --srcdir=$${topdir}/$$module_srcdir \
13699 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13700 --target=${target_alias} \
13701 --with-build-libsubdir=$(HOST_SUBDIR) \
13702 $(STAGE2_CONFIGURE_FLAGS) \
13703 --disable-shared @extra_isl_gmp_configure_flags@
13704 @endif isl-bootstrap
13706 .PHONY: configure-stage3-isl maybe-configure-stage3-isl
13707 maybe-configure-stage3-isl:
13708 @if isl-bootstrap
13709 maybe-configure-stage3-isl: configure-stage3-isl
13710 configure-stage3-isl:
13711 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13712 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13713 @r=`${PWD_COMMAND}`; export r; \
13714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13715 TFLAGS="$(STAGE3_TFLAGS)"; \
13716 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13717 $(HOST_EXPORTS) \
13718 $(POSTSTAGE1_HOST_EXPORTS) \
13719 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
13720 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
13721 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
13722 echo Configuring stage 3 in $(HOST_SUBDIR)/isl ; \
13723 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13724 cd $(HOST_SUBDIR)/isl || exit 1; \
13725 case $(srcdir) in \
13726 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13727 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13728 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13729 esac; \
13730 module_srcdir=isl; \
13731 $(SHELL) $$s/$$module_srcdir/configure \
13732 --srcdir=$${topdir}/$$module_srcdir \
13733 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13734 --target=${target_alias} \
13735 --with-build-libsubdir=$(HOST_SUBDIR) \
13736 $(STAGE3_CONFIGURE_FLAGS) \
13737 --disable-shared @extra_isl_gmp_configure_flags@
13738 @endif isl-bootstrap
13740 .PHONY: configure-stage4-isl maybe-configure-stage4-isl
13741 maybe-configure-stage4-isl:
13742 @if isl-bootstrap
13743 maybe-configure-stage4-isl: configure-stage4-isl
13744 configure-stage4-isl:
13745 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13746 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13747 @r=`${PWD_COMMAND}`; export r; \
13748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13749 TFLAGS="$(STAGE4_TFLAGS)"; \
13750 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13751 $(HOST_EXPORTS) \
13752 $(POSTSTAGE1_HOST_EXPORTS) \
13753 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
13754 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
13755 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
13756 echo Configuring stage 4 in $(HOST_SUBDIR)/isl ; \
13757 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13758 cd $(HOST_SUBDIR)/isl || exit 1; \
13759 case $(srcdir) in \
13760 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13761 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13762 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13763 esac; \
13764 module_srcdir=isl; \
13765 $(SHELL) $$s/$$module_srcdir/configure \
13766 --srcdir=$${topdir}/$$module_srcdir \
13767 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13768 --target=${target_alias} \
13769 --with-build-libsubdir=$(HOST_SUBDIR) \
13770 $(STAGE4_CONFIGURE_FLAGS) \
13771 --disable-shared @extra_isl_gmp_configure_flags@
13772 @endif isl-bootstrap
13774 .PHONY: configure-stageprofile-isl maybe-configure-stageprofile-isl
13775 maybe-configure-stageprofile-isl:
13776 @if isl-bootstrap
13777 maybe-configure-stageprofile-isl: configure-stageprofile-isl
13778 configure-stageprofile-isl:
13779 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
13780 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13781 @r=`${PWD_COMMAND}`; export r; \
13782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13783 TFLAGS="$(STAGEprofile_TFLAGS)"; \
13784 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13785 $(HOST_EXPORTS) \
13786 $(POSTSTAGE1_HOST_EXPORTS) \
13787 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
13788 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
13789 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
13790 echo Configuring stage profile in $(HOST_SUBDIR)/isl ; \
13791 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13792 cd $(HOST_SUBDIR)/isl || exit 1; \
13793 case $(srcdir) in \
13794 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13795 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13796 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13797 esac; \
13798 module_srcdir=isl; \
13799 $(SHELL) $$s/$$module_srcdir/configure \
13800 --srcdir=$${topdir}/$$module_srcdir \
13801 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13802 --target=${target_alias} \
13803 --with-build-libsubdir=$(HOST_SUBDIR) \
13804 $(STAGEprofile_CONFIGURE_FLAGS) \
13805 --disable-shared @extra_isl_gmp_configure_flags@
13806 @endif isl-bootstrap
13808 .PHONY: configure-stagefeedback-isl maybe-configure-stagefeedback-isl
13809 maybe-configure-stagefeedback-isl:
13810 @if isl-bootstrap
13811 maybe-configure-stagefeedback-isl: configure-stagefeedback-isl
13812 configure-stagefeedback-isl:
13813 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
13814 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
13815 @r=`${PWD_COMMAND}`; export r; \
13816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13817 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
13818 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
13819 $(HOST_EXPORTS) \
13820 $(POSTSTAGE1_HOST_EXPORTS) \
13821 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
13822 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
13823 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
13824 echo Configuring stage feedback in $(HOST_SUBDIR)/isl ; \
13825 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
13826 cd $(HOST_SUBDIR)/isl || exit 1; \
13827 case $(srcdir) in \
13828 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13829 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
13830 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13831 esac; \
13832 module_srcdir=isl; \
13833 $(SHELL) $$s/$$module_srcdir/configure \
13834 --srcdir=$${topdir}/$$module_srcdir \
13835 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
13836 --target=${target_alias} \
13837 --with-build-libsubdir=$(HOST_SUBDIR) \
13838 $(STAGEfeedback_CONFIGURE_FLAGS) \
13839 --disable-shared @extra_isl_gmp_configure_flags@
13840 @endif isl-bootstrap
13846 .PHONY: all-isl maybe-all-isl
13847 maybe-all-isl:
13848 @if gcc-bootstrap
13849 all-isl: stage_current
13850 @endif gcc-bootstrap
13851 @if isl
13852 TARGET-isl=all
13853 maybe-all-isl: all-isl
13854 all-isl: configure-isl
13855 @r=`${PWD_COMMAND}`; export r; \
13856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13857 $(HOST_EXPORTS) \
13858 (cd $(HOST_SUBDIR)/isl && \
13859 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) V=1 \
13860 $(TARGET-isl))
13861 @endif isl
13865 .PHONY: all-stage1-isl maybe-all-stage1-isl
13866 .PHONY: clean-stage1-isl maybe-clean-stage1-isl
13867 maybe-all-stage1-isl:
13868 maybe-clean-stage1-isl:
13869 @if isl-bootstrap
13870 maybe-all-stage1-isl: all-stage1-isl
13871 all-stage1: all-stage1-isl
13872 TARGET-stage1-isl = $(TARGET-isl)
13873 all-stage1-isl: configure-stage1-isl
13874 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
13875 @r=`${PWD_COMMAND}`; export r; \
13876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13877 TFLAGS="$(STAGE1_TFLAGS)"; \
13878 $(HOST_EXPORTS) \
13879 cd $(HOST_SUBDIR)/isl && \
13880 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13881 CFLAGS="$(STAGE1_CFLAGS)" \
13882 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
13883 LIBCFLAGS="$(LIBCFLAGS)" \
13884 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13885 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13886 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13887 $(EXTRA_HOST_FLAGS) \
13888 $(STAGE1_FLAGS_TO_PASS) V=1 \
13889 TFLAGS="$(STAGE1_TFLAGS)" \
13890 $(TARGET-stage1-isl)
13892 maybe-clean-stage1-isl: clean-stage1-isl
13893 clean-stage1: clean-stage1-isl
13894 clean-stage1-isl:
13895 @if [ $(current_stage) = stage1 ]; then \
13896 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13897 else \
13898 [ -f $(HOST_SUBDIR)/stage1-isl/Makefile ] || exit 0; \
13899 $(MAKE) stage1-start; \
13900 fi; \
13901 cd $(HOST_SUBDIR)/isl && \
13902 $(MAKE) $(EXTRA_HOST_FLAGS) \
13903 $(STAGE1_FLAGS_TO_PASS) V=1 clean
13904 @endif isl-bootstrap
13907 .PHONY: all-stage2-isl maybe-all-stage2-isl
13908 .PHONY: clean-stage2-isl maybe-clean-stage2-isl
13909 maybe-all-stage2-isl:
13910 maybe-clean-stage2-isl:
13911 @if isl-bootstrap
13912 maybe-all-stage2-isl: all-stage2-isl
13913 all-stage2: all-stage2-isl
13914 TARGET-stage2-isl = $(TARGET-isl)
13915 all-stage2-isl: configure-stage2-isl
13916 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
13917 @r=`${PWD_COMMAND}`; export r; \
13918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13919 TFLAGS="$(STAGE2_TFLAGS)"; \
13920 $(HOST_EXPORTS) \
13921 $(POSTSTAGE1_HOST_EXPORTS) \
13922 cd $(HOST_SUBDIR)/isl && \
13923 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13924 CFLAGS="$(STAGE2_CFLAGS)" \
13925 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
13926 LIBCFLAGS="$(STAGE2_CFLAGS)" \
13927 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13928 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13929 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13930 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13931 TFLAGS="$(STAGE2_TFLAGS)" \
13932 $(TARGET-stage2-isl)
13934 maybe-clean-stage2-isl: clean-stage2-isl
13935 clean-stage2: clean-stage2-isl
13936 clean-stage2-isl:
13937 @if [ $(current_stage) = stage2 ]; then \
13938 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13939 else \
13940 [ -f $(HOST_SUBDIR)/stage2-isl/Makefile ] || exit 0; \
13941 $(MAKE) stage2-start; \
13942 fi; \
13943 cd $(HOST_SUBDIR)/isl && \
13944 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
13945 @endif isl-bootstrap
13948 .PHONY: all-stage3-isl maybe-all-stage3-isl
13949 .PHONY: clean-stage3-isl maybe-clean-stage3-isl
13950 maybe-all-stage3-isl:
13951 maybe-clean-stage3-isl:
13952 @if isl-bootstrap
13953 maybe-all-stage3-isl: all-stage3-isl
13954 all-stage3: all-stage3-isl
13955 TARGET-stage3-isl = $(TARGET-isl)
13956 all-stage3-isl: configure-stage3-isl
13957 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
13958 @r=`${PWD_COMMAND}`; export r; \
13959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13960 TFLAGS="$(STAGE3_TFLAGS)"; \
13961 $(HOST_EXPORTS) \
13962 $(POSTSTAGE1_HOST_EXPORTS) \
13963 cd $(HOST_SUBDIR)/isl && \
13964 $(MAKE) $(BASE_FLAGS_TO_PASS) \
13965 CFLAGS="$(STAGE3_CFLAGS)" \
13966 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
13967 LIBCFLAGS="$(STAGE3_CFLAGS)" \
13968 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
13969 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
13970 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
13971 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
13972 TFLAGS="$(STAGE3_TFLAGS)" \
13973 $(TARGET-stage3-isl)
13975 maybe-clean-stage3-isl: clean-stage3-isl
13976 clean-stage3: clean-stage3-isl
13977 clean-stage3-isl:
13978 @if [ $(current_stage) = stage3 ]; then \
13979 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
13980 else \
13981 [ -f $(HOST_SUBDIR)/stage3-isl/Makefile ] || exit 0; \
13982 $(MAKE) stage3-start; \
13983 fi; \
13984 cd $(HOST_SUBDIR)/isl && \
13985 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
13986 @endif isl-bootstrap
13989 .PHONY: all-stage4-isl maybe-all-stage4-isl
13990 .PHONY: clean-stage4-isl maybe-clean-stage4-isl
13991 maybe-all-stage4-isl:
13992 maybe-clean-stage4-isl:
13993 @if isl-bootstrap
13994 maybe-all-stage4-isl: all-stage4-isl
13995 all-stage4: all-stage4-isl
13996 TARGET-stage4-isl = $(TARGET-isl)
13997 all-stage4-isl: configure-stage4-isl
13998 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
13999 @r=`${PWD_COMMAND}`; export r; \
14000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14001 TFLAGS="$(STAGE4_TFLAGS)"; \
14002 $(HOST_EXPORTS) \
14003 $(POSTSTAGE1_HOST_EXPORTS) \
14004 cd $(HOST_SUBDIR)/isl && \
14005 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14006 CFLAGS="$(STAGE4_CFLAGS)" \
14007 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
14008 LIBCFLAGS="$(STAGE4_CFLAGS)" \
14009 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14010 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14011 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14012 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
14013 TFLAGS="$(STAGE4_TFLAGS)" \
14014 $(TARGET-stage4-isl)
14016 maybe-clean-stage4-isl: clean-stage4-isl
14017 clean-stage4: clean-stage4-isl
14018 clean-stage4-isl:
14019 @if [ $(current_stage) = stage4 ]; then \
14020 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
14021 else \
14022 [ -f $(HOST_SUBDIR)/stage4-isl/Makefile ] || exit 0; \
14023 $(MAKE) stage4-start; \
14024 fi; \
14025 cd $(HOST_SUBDIR)/isl && \
14026 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
14027 @endif isl-bootstrap
14030 .PHONY: all-stageprofile-isl maybe-all-stageprofile-isl
14031 .PHONY: clean-stageprofile-isl maybe-clean-stageprofile-isl
14032 maybe-all-stageprofile-isl:
14033 maybe-clean-stageprofile-isl:
14034 @if isl-bootstrap
14035 maybe-all-stageprofile-isl: all-stageprofile-isl
14036 all-stageprofile: all-stageprofile-isl
14037 TARGET-stageprofile-isl = $(TARGET-isl)
14038 all-stageprofile-isl: configure-stageprofile-isl
14039 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14040 @r=`${PWD_COMMAND}`; export r; \
14041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14042 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14043 $(HOST_EXPORTS) \
14044 $(POSTSTAGE1_HOST_EXPORTS) \
14045 cd $(HOST_SUBDIR)/isl && \
14046 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14047 CFLAGS="$(STAGEprofile_CFLAGS)" \
14048 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
14049 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
14050 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14051 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14052 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14053 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
14054 TFLAGS="$(STAGEprofile_TFLAGS)" \
14055 $(TARGET-stageprofile-isl)
14057 maybe-clean-stageprofile-isl: clean-stageprofile-isl
14058 clean-stageprofile: clean-stageprofile-isl
14059 clean-stageprofile-isl:
14060 @if [ $(current_stage) = stageprofile ]; then \
14061 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
14062 else \
14063 [ -f $(HOST_SUBDIR)/stageprofile-isl/Makefile ] || exit 0; \
14064 $(MAKE) stageprofile-start; \
14065 fi; \
14066 cd $(HOST_SUBDIR)/isl && \
14067 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
14068 @endif isl-bootstrap
14071 .PHONY: all-stagefeedback-isl maybe-all-stagefeedback-isl
14072 .PHONY: clean-stagefeedback-isl maybe-clean-stagefeedback-isl
14073 maybe-all-stagefeedback-isl:
14074 maybe-clean-stagefeedback-isl:
14075 @if isl-bootstrap
14076 maybe-all-stagefeedback-isl: all-stagefeedback-isl
14077 all-stagefeedback: all-stagefeedback-isl
14078 TARGET-stagefeedback-isl = $(TARGET-isl)
14079 all-stagefeedback-isl: configure-stagefeedback-isl
14080 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14081 @r=`${PWD_COMMAND}`; export r; \
14082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14083 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14084 $(HOST_EXPORTS) \
14085 $(POSTSTAGE1_HOST_EXPORTS) \
14086 cd $(HOST_SUBDIR)/isl && \
14087 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14088 CFLAGS="$(STAGEfeedback_CFLAGS)" \
14089 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
14090 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
14091 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14092 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14093 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14094 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
14095 TFLAGS="$(STAGEfeedback_TFLAGS)" \
14096 $(TARGET-stagefeedback-isl)
14098 maybe-clean-stagefeedback-isl: clean-stagefeedback-isl
14099 clean-stagefeedback: clean-stagefeedback-isl
14100 clean-stagefeedback-isl:
14101 @if [ $(current_stage) = stagefeedback ]; then \
14102 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
14103 else \
14104 [ -f $(HOST_SUBDIR)/stagefeedback-isl/Makefile ] || exit 0; \
14105 $(MAKE) stagefeedback-start; \
14106 fi; \
14107 cd $(HOST_SUBDIR)/isl && \
14108 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
14109 @endif isl-bootstrap
14115 .PHONY: check-isl maybe-check-isl
14116 maybe-check-isl:
14117 @if isl
14118 maybe-check-isl: check-isl
14120 check-isl:
14121 @: $(MAKE); $(unstage)
14122 @r=`${PWD_COMMAND}`; export r; \
14123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14124 $(HOST_EXPORTS) \
14125 (cd $(HOST_SUBDIR)/isl && \
14126 $(MAKE) $(FLAGS_TO_PASS) V=1 check)
14128 @endif isl
14130 .PHONY: install-isl maybe-install-isl
14131 maybe-install-isl:
14132 @if isl
14133 maybe-install-isl: install-isl
14135 install-isl:
14137 @endif isl
14139 .PHONY: install-strip-isl maybe-install-strip-isl
14140 maybe-install-strip-isl:
14141 @if isl
14142 maybe-install-strip-isl: install-strip-isl
14144 install-strip-isl:
14146 @endif isl
14148 # Other targets (info, dvi, pdf, etc.)
14150 .PHONY: maybe-info-isl info-isl
14151 maybe-info-isl:
14152 @if isl
14153 maybe-info-isl: info-isl
14155 info-isl: \
14156 configure-isl
14157 @[ -f ./isl/Makefile ] || exit 0; \
14158 r=`${PWD_COMMAND}`; export r; \
14159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14160 $(HOST_EXPORTS) \
14161 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14163 done; \
14164 echo "Doing info in isl" ; \
14165 (cd $(HOST_SUBDIR)/isl && \
14166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14168 "RANLIB=$${RANLIB}" \
14169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14170 info) \
14171 || exit 1
14173 @endif isl
14175 .PHONY: maybe-dvi-isl dvi-isl
14176 maybe-dvi-isl:
14177 @if isl
14178 maybe-dvi-isl: dvi-isl
14180 dvi-isl: \
14181 configure-isl
14182 @[ -f ./isl/Makefile ] || exit 0; \
14183 r=`${PWD_COMMAND}`; export r; \
14184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14185 $(HOST_EXPORTS) \
14186 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14188 done; \
14189 echo "Doing dvi in isl" ; \
14190 (cd $(HOST_SUBDIR)/isl && \
14191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14193 "RANLIB=$${RANLIB}" \
14194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14195 dvi) \
14196 || exit 1
14198 @endif isl
14200 .PHONY: maybe-pdf-isl pdf-isl
14201 maybe-pdf-isl:
14202 @if isl
14203 maybe-pdf-isl: pdf-isl
14205 pdf-isl: \
14206 configure-isl
14207 @[ -f ./isl/Makefile ] || exit 0; \
14208 r=`${PWD_COMMAND}`; export r; \
14209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14210 $(HOST_EXPORTS) \
14211 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14213 done; \
14214 echo "Doing pdf in isl" ; \
14215 (cd $(HOST_SUBDIR)/isl && \
14216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14218 "RANLIB=$${RANLIB}" \
14219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14220 pdf) \
14221 || exit 1
14223 @endif isl
14225 .PHONY: maybe-html-isl html-isl
14226 maybe-html-isl:
14227 @if isl
14228 maybe-html-isl: html-isl
14230 html-isl: \
14231 configure-isl
14232 @[ -f ./isl/Makefile ] || exit 0; \
14233 r=`${PWD_COMMAND}`; export r; \
14234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14235 $(HOST_EXPORTS) \
14236 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14238 done; \
14239 echo "Doing html in isl" ; \
14240 (cd $(HOST_SUBDIR)/isl && \
14241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14243 "RANLIB=$${RANLIB}" \
14244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14245 html) \
14246 || exit 1
14248 @endif isl
14250 .PHONY: maybe-TAGS-isl TAGS-isl
14251 maybe-TAGS-isl:
14252 @if isl
14253 maybe-TAGS-isl: TAGS-isl
14255 TAGS-isl: \
14256 configure-isl
14257 @[ -f ./isl/Makefile ] || exit 0; \
14258 r=`${PWD_COMMAND}`; export r; \
14259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14260 $(HOST_EXPORTS) \
14261 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14263 done; \
14264 echo "Doing TAGS in isl" ; \
14265 (cd $(HOST_SUBDIR)/isl && \
14266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14268 "RANLIB=$${RANLIB}" \
14269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14270 TAGS) \
14271 || exit 1
14273 @endif isl
14275 .PHONY: maybe-install-info-isl install-info-isl
14276 maybe-install-info-isl:
14277 @if isl
14278 maybe-install-info-isl: install-info-isl
14280 install-info-isl: \
14281 configure-isl \
14282 info-isl
14283 @[ -f ./isl/Makefile ] || exit 0; \
14284 r=`${PWD_COMMAND}`; export r; \
14285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14286 $(HOST_EXPORTS) \
14287 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14289 done; \
14290 echo "Doing install-info in isl" ; \
14291 (cd $(HOST_SUBDIR)/isl && \
14292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14294 "RANLIB=$${RANLIB}" \
14295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14296 install-info) \
14297 || exit 1
14299 @endif isl
14301 .PHONY: maybe-install-pdf-isl install-pdf-isl
14302 maybe-install-pdf-isl:
14303 @if isl
14304 maybe-install-pdf-isl: install-pdf-isl
14306 install-pdf-isl: \
14307 configure-isl \
14308 pdf-isl
14309 @[ -f ./isl/Makefile ] || exit 0; \
14310 r=`${PWD_COMMAND}`; export r; \
14311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14312 $(HOST_EXPORTS) \
14313 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14315 done; \
14316 echo "Doing install-pdf in isl" ; \
14317 (cd $(HOST_SUBDIR)/isl && \
14318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14320 "RANLIB=$${RANLIB}" \
14321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14322 install-pdf) \
14323 || exit 1
14325 @endif isl
14327 .PHONY: maybe-install-html-isl install-html-isl
14328 maybe-install-html-isl:
14329 @if isl
14330 maybe-install-html-isl: install-html-isl
14332 install-html-isl: \
14333 configure-isl \
14334 html-isl
14335 @[ -f ./isl/Makefile ] || exit 0; \
14336 r=`${PWD_COMMAND}`; export r; \
14337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14338 $(HOST_EXPORTS) \
14339 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14341 done; \
14342 echo "Doing install-html in isl" ; \
14343 (cd $(HOST_SUBDIR)/isl && \
14344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14346 "RANLIB=$${RANLIB}" \
14347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14348 install-html) \
14349 || exit 1
14351 @endif isl
14353 .PHONY: maybe-installcheck-isl installcheck-isl
14354 maybe-installcheck-isl:
14355 @if isl
14356 maybe-installcheck-isl: installcheck-isl
14358 installcheck-isl: \
14359 configure-isl
14360 @[ -f ./isl/Makefile ] || exit 0; \
14361 r=`${PWD_COMMAND}`; export r; \
14362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14363 $(HOST_EXPORTS) \
14364 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14366 done; \
14367 echo "Doing installcheck in isl" ; \
14368 (cd $(HOST_SUBDIR)/isl && \
14369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14371 "RANLIB=$${RANLIB}" \
14372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14373 installcheck) \
14374 || exit 1
14376 @endif isl
14378 .PHONY: maybe-mostlyclean-isl mostlyclean-isl
14379 maybe-mostlyclean-isl:
14380 @if isl
14381 maybe-mostlyclean-isl: mostlyclean-isl
14383 mostlyclean-isl:
14384 @[ -f ./isl/Makefile ] || exit 0; \
14385 r=`${PWD_COMMAND}`; export r; \
14386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14387 $(HOST_EXPORTS) \
14388 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14390 done; \
14391 echo "Doing mostlyclean in isl" ; \
14392 (cd $(HOST_SUBDIR)/isl && \
14393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14395 "RANLIB=$${RANLIB}" \
14396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14397 mostlyclean) \
14398 || exit 1
14400 @endif isl
14402 .PHONY: maybe-clean-isl clean-isl
14403 maybe-clean-isl:
14404 @if isl
14405 maybe-clean-isl: clean-isl
14407 clean-isl:
14408 @[ -f ./isl/Makefile ] || exit 0; \
14409 r=`${PWD_COMMAND}`; export r; \
14410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14411 $(HOST_EXPORTS) \
14412 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14414 done; \
14415 echo "Doing clean in isl" ; \
14416 (cd $(HOST_SUBDIR)/isl && \
14417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14419 "RANLIB=$${RANLIB}" \
14420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14421 clean) \
14422 || exit 1
14424 @endif isl
14426 .PHONY: maybe-distclean-isl distclean-isl
14427 maybe-distclean-isl:
14428 @if isl
14429 maybe-distclean-isl: distclean-isl
14431 distclean-isl:
14432 @[ -f ./isl/Makefile ] || exit 0; \
14433 r=`${PWD_COMMAND}`; export r; \
14434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14435 $(HOST_EXPORTS) \
14436 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14438 done; \
14439 echo "Doing distclean in isl" ; \
14440 (cd $(HOST_SUBDIR)/isl && \
14441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14443 "RANLIB=$${RANLIB}" \
14444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14445 distclean) \
14446 || exit 1
14448 @endif isl
14450 .PHONY: maybe-maintainer-clean-isl maintainer-clean-isl
14451 maybe-maintainer-clean-isl:
14452 @if isl
14453 maybe-maintainer-clean-isl: maintainer-clean-isl
14455 maintainer-clean-isl:
14456 @[ -f ./isl/Makefile ] || exit 0; \
14457 r=`${PWD_COMMAND}`; export r; \
14458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14459 $(HOST_EXPORTS) \
14460 for flag in $(EXTRA_HOST_FLAGS) V=1; do \
14461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14462 done; \
14463 echo "Doing maintainer-clean in isl" ; \
14464 (cd $(HOST_SUBDIR)/isl && \
14465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14467 "RANLIB=$${RANLIB}" \
14468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
14469 maintainer-clean) \
14470 || exit 1
14472 @endif isl
14476 .PHONY: configure-libelf maybe-configure-libelf
14477 maybe-configure-libelf:
14478 @if gcc-bootstrap
14479 configure-libelf: stage_current
14480 @endif gcc-bootstrap
14481 @if libelf
14482 maybe-configure-libelf: configure-libelf
14483 configure-libelf:
14484 @r=`${PWD_COMMAND}`; export r; \
14485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14486 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14487 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14488 $(HOST_EXPORTS) \
14489 echo Configuring in $(HOST_SUBDIR)/libelf; \
14490 cd "$(HOST_SUBDIR)/libelf" || exit 1; \
14491 case $(srcdir) in \
14492 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14493 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14494 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14495 esac; \
14496 module_srcdir=libelf; \
14497 $(SHELL) \
14498 $$s/$$module_srcdir/configure \
14499 --srcdir=$${topdir}/$$module_srcdir \
14500 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14501 --target=${target_alias} --disable-shared \
14502 || exit 1
14503 @endif libelf
14507 .PHONY: configure-stage1-libelf maybe-configure-stage1-libelf
14508 maybe-configure-stage1-libelf:
14509 @if libelf-bootstrap
14510 maybe-configure-stage1-libelf: configure-stage1-libelf
14511 configure-stage1-libelf:
14512 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14513 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14514 @r=`${PWD_COMMAND}`; export r; \
14515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14516 TFLAGS="$(STAGE1_TFLAGS)"; \
14517 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14518 $(HOST_EXPORTS) \
14519 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
14520 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
14521 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
14522 echo Configuring stage 1 in $(HOST_SUBDIR)/libelf ; \
14523 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14524 cd $(HOST_SUBDIR)/libelf || exit 1; \
14525 case $(srcdir) in \
14526 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14527 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14528 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14529 esac; \
14530 module_srcdir=libelf; \
14531 $(SHELL) $$s/$$module_srcdir/configure \
14532 --srcdir=$${topdir}/$$module_srcdir \
14533 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14534 --target=${target_alias} \
14536 $(STAGE1_CONFIGURE_FLAGS) \
14537 --disable-shared
14538 @endif libelf-bootstrap
14540 .PHONY: configure-stage2-libelf maybe-configure-stage2-libelf
14541 maybe-configure-stage2-libelf:
14542 @if libelf-bootstrap
14543 maybe-configure-stage2-libelf: configure-stage2-libelf
14544 configure-stage2-libelf:
14545 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14546 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14547 @r=`${PWD_COMMAND}`; export r; \
14548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14549 TFLAGS="$(STAGE2_TFLAGS)"; \
14550 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14551 $(HOST_EXPORTS) \
14552 $(POSTSTAGE1_HOST_EXPORTS) \
14553 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
14554 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
14555 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
14556 echo Configuring stage 2 in $(HOST_SUBDIR)/libelf ; \
14557 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14558 cd $(HOST_SUBDIR)/libelf || exit 1; \
14559 case $(srcdir) in \
14560 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14561 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14562 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14563 esac; \
14564 module_srcdir=libelf; \
14565 $(SHELL) $$s/$$module_srcdir/configure \
14566 --srcdir=$${topdir}/$$module_srcdir \
14567 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14568 --target=${target_alias} \
14569 --with-build-libsubdir=$(HOST_SUBDIR) \
14570 $(STAGE2_CONFIGURE_FLAGS) \
14571 --disable-shared
14572 @endif libelf-bootstrap
14574 .PHONY: configure-stage3-libelf maybe-configure-stage3-libelf
14575 maybe-configure-stage3-libelf:
14576 @if libelf-bootstrap
14577 maybe-configure-stage3-libelf: configure-stage3-libelf
14578 configure-stage3-libelf:
14579 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14580 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14581 @r=`${PWD_COMMAND}`; export r; \
14582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14583 TFLAGS="$(STAGE3_TFLAGS)"; \
14584 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14585 $(HOST_EXPORTS) \
14586 $(POSTSTAGE1_HOST_EXPORTS) \
14587 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
14588 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
14589 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
14590 echo Configuring stage 3 in $(HOST_SUBDIR)/libelf ; \
14591 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14592 cd $(HOST_SUBDIR)/libelf || exit 1; \
14593 case $(srcdir) in \
14594 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14595 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14596 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14597 esac; \
14598 module_srcdir=libelf; \
14599 $(SHELL) $$s/$$module_srcdir/configure \
14600 --srcdir=$${topdir}/$$module_srcdir \
14601 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14602 --target=${target_alias} \
14603 --with-build-libsubdir=$(HOST_SUBDIR) \
14604 $(STAGE3_CONFIGURE_FLAGS) \
14605 --disable-shared
14606 @endif libelf-bootstrap
14608 .PHONY: configure-stage4-libelf maybe-configure-stage4-libelf
14609 maybe-configure-stage4-libelf:
14610 @if libelf-bootstrap
14611 maybe-configure-stage4-libelf: configure-stage4-libelf
14612 configure-stage4-libelf:
14613 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14614 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14615 @r=`${PWD_COMMAND}`; export r; \
14616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14617 TFLAGS="$(STAGE4_TFLAGS)"; \
14618 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14619 $(HOST_EXPORTS) \
14620 $(POSTSTAGE1_HOST_EXPORTS) \
14621 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
14622 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
14623 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
14624 echo Configuring stage 4 in $(HOST_SUBDIR)/libelf ; \
14625 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14626 cd $(HOST_SUBDIR)/libelf || exit 1; \
14627 case $(srcdir) in \
14628 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14629 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14630 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14631 esac; \
14632 module_srcdir=libelf; \
14633 $(SHELL) $$s/$$module_srcdir/configure \
14634 --srcdir=$${topdir}/$$module_srcdir \
14635 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14636 --target=${target_alias} \
14637 --with-build-libsubdir=$(HOST_SUBDIR) \
14638 $(STAGE4_CONFIGURE_FLAGS) \
14639 --disable-shared
14640 @endif libelf-bootstrap
14642 .PHONY: configure-stageprofile-libelf maybe-configure-stageprofile-libelf
14643 maybe-configure-stageprofile-libelf:
14644 @if libelf-bootstrap
14645 maybe-configure-stageprofile-libelf: configure-stageprofile-libelf
14646 configure-stageprofile-libelf:
14647 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14648 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14649 @r=`${PWD_COMMAND}`; export r; \
14650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14651 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14652 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14653 $(HOST_EXPORTS) \
14654 $(POSTSTAGE1_HOST_EXPORTS) \
14655 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
14656 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
14657 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
14658 echo Configuring stage profile in $(HOST_SUBDIR)/libelf ; \
14659 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14660 cd $(HOST_SUBDIR)/libelf || exit 1; \
14661 case $(srcdir) in \
14662 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14663 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14664 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14665 esac; \
14666 module_srcdir=libelf; \
14667 $(SHELL) $$s/$$module_srcdir/configure \
14668 --srcdir=$${topdir}/$$module_srcdir \
14669 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14670 --target=${target_alias} \
14671 --with-build-libsubdir=$(HOST_SUBDIR) \
14672 $(STAGEprofile_CONFIGURE_FLAGS) \
14673 --disable-shared
14674 @endif libelf-bootstrap
14676 .PHONY: configure-stagefeedback-libelf maybe-configure-stagefeedback-libelf
14677 maybe-configure-stagefeedback-libelf:
14678 @if libelf-bootstrap
14679 maybe-configure-stagefeedback-libelf: configure-stagefeedback-libelf
14680 configure-stagefeedback-libelf:
14681 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14682 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
14683 @r=`${PWD_COMMAND}`; export r; \
14684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14685 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14686 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
14687 $(HOST_EXPORTS) \
14688 $(POSTSTAGE1_HOST_EXPORTS) \
14689 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
14690 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
14691 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
14692 echo Configuring stage feedback in $(HOST_SUBDIR)/libelf ; \
14693 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
14694 cd $(HOST_SUBDIR)/libelf || exit 1; \
14695 case $(srcdir) in \
14696 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14697 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
14698 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14699 esac; \
14700 module_srcdir=libelf; \
14701 $(SHELL) $$s/$$module_srcdir/configure \
14702 --srcdir=$${topdir}/$$module_srcdir \
14703 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
14704 --target=${target_alias} \
14705 --with-build-libsubdir=$(HOST_SUBDIR) \
14706 $(STAGEfeedback_CONFIGURE_FLAGS) \
14707 --disable-shared
14708 @endif libelf-bootstrap
14714 .PHONY: all-libelf maybe-all-libelf
14715 maybe-all-libelf:
14716 @if gcc-bootstrap
14717 all-libelf: stage_current
14718 @endif gcc-bootstrap
14719 @if libelf
14720 TARGET-libelf=all
14721 maybe-all-libelf: all-libelf
14722 all-libelf: configure-libelf
14723 @r=`${PWD_COMMAND}`; export r; \
14724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14725 $(HOST_EXPORTS) \
14726 (cd $(HOST_SUBDIR)/libelf && \
14727 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
14728 $(TARGET-libelf))
14729 @endif libelf
14733 .PHONY: all-stage1-libelf maybe-all-stage1-libelf
14734 .PHONY: clean-stage1-libelf maybe-clean-stage1-libelf
14735 maybe-all-stage1-libelf:
14736 maybe-clean-stage1-libelf:
14737 @if libelf-bootstrap
14738 maybe-all-stage1-libelf: all-stage1-libelf
14739 all-stage1: all-stage1-libelf
14740 TARGET-stage1-libelf = $(TARGET-libelf)
14741 all-stage1-libelf: configure-stage1-libelf
14742 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
14743 @r=`${PWD_COMMAND}`; export r; \
14744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14745 TFLAGS="$(STAGE1_TFLAGS)"; \
14746 $(HOST_EXPORTS) \
14747 cd $(HOST_SUBDIR)/libelf && \
14748 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14749 CFLAGS="$(STAGE1_CFLAGS)" \
14750 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
14751 LIBCFLAGS="$(LIBCFLAGS)" \
14752 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14753 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14754 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14755 $(EXTRA_HOST_FLAGS) \
14756 $(STAGE1_FLAGS_TO_PASS) \
14757 TFLAGS="$(STAGE1_TFLAGS)" \
14758 $(TARGET-stage1-libelf)
14760 maybe-clean-stage1-libelf: clean-stage1-libelf
14761 clean-stage1: clean-stage1-libelf
14762 clean-stage1-libelf:
14763 @if [ $(current_stage) = stage1 ]; then \
14764 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
14765 else \
14766 [ -f $(HOST_SUBDIR)/stage1-libelf/Makefile ] || exit 0; \
14767 $(MAKE) stage1-start; \
14768 fi; \
14769 cd $(HOST_SUBDIR)/libelf && \
14770 $(MAKE) $(EXTRA_HOST_FLAGS) \
14771 $(STAGE1_FLAGS_TO_PASS) clean
14772 @endif libelf-bootstrap
14775 .PHONY: all-stage2-libelf maybe-all-stage2-libelf
14776 .PHONY: clean-stage2-libelf maybe-clean-stage2-libelf
14777 maybe-all-stage2-libelf:
14778 maybe-clean-stage2-libelf:
14779 @if libelf-bootstrap
14780 maybe-all-stage2-libelf: all-stage2-libelf
14781 all-stage2: all-stage2-libelf
14782 TARGET-stage2-libelf = $(TARGET-libelf)
14783 all-stage2-libelf: configure-stage2-libelf
14784 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
14785 @r=`${PWD_COMMAND}`; export r; \
14786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14787 TFLAGS="$(STAGE2_TFLAGS)"; \
14788 $(HOST_EXPORTS) \
14789 $(POSTSTAGE1_HOST_EXPORTS) \
14790 cd $(HOST_SUBDIR)/libelf && \
14791 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14792 CFLAGS="$(STAGE2_CFLAGS)" \
14793 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
14794 LIBCFLAGS="$(STAGE2_CFLAGS)" \
14795 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14796 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14797 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14798 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14799 TFLAGS="$(STAGE2_TFLAGS)" \
14800 $(TARGET-stage2-libelf)
14802 maybe-clean-stage2-libelf: clean-stage2-libelf
14803 clean-stage2: clean-stage2-libelf
14804 clean-stage2-libelf:
14805 @if [ $(current_stage) = stage2 ]; then \
14806 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
14807 else \
14808 [ -f $(HOST_SUBDIR)/stage2-libelf/Makefile ] || exit 0; \
14809 $(MAKE) stage2-start; \
14810 fi; \
14811 cd $(HOST_SUBDIR)/libelf && \
14812 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
14813 @endif libelf-bootstrap
14816 .PHONY: all-stage3-libelf maybe-all-stage3-libelf
14817 .PHONY: clean-stage3-libelf maybe-clean-stage3-libelf
14818 maybe-all-stage3-libelf:
14819 maybe-clean-stage3-libelf:
14820 @if libelf-bootstrap
14821 maybe-all-stage3-libelf: all-stage3-libelf
14822 all-stage3: all-stage3-libelf
14823 TARGET-stage3-libelf = $(TARGET-libelf)
14824 all-stage3-libelf: configure-stage3-libelf
14825 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
14826 @r=`${PWD_COMMAND}`; export r; \
14827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14828 TFLAGS="$(STAGE3_TFLAGS)"; \
14829 $(HOST_EXPORTS) \
14830 $(POSTSTAGE1_HOST_EXPORTS) \
14831 cd $(HOST_SUBDIR)/libelf && \
14832 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14833 CFLAGS="$(STAGE3_CFLAGS)" \
14834 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
14835 LIBCFLAGS="$(STAGE3_CFLAGS)" \
14836 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14837 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14838 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14839 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14840 TFLAGS="$(STAGE3_TFLAGS)" \
14841 $(TARGET-stage3-libelf)
14843 maybe-clean-stage3-libelf: clean-stage3-libelf
14844 clean-stage3: clean-stage3-libelf
14845 clean-stage3-libelf:
14846 @if [ $(current_stage) = stage3 ]; then \
14847 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
14848 else \
14849 [ -f $(HOST_SUBDIR)/stage3-libelf/Makefile ] || exit 0; \
14850 $(MAKE) stage3-start; \
14851 fi; \
14852 cd $(HOST_SUBDIR)/libelf && \
14853 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
14854 @endif libelf-bootstrap
14857 .PHONY: all-stage4-libelf maybe-all-stage4-libelf
14858 .PHONY: clean-stage4-libelf maybe-clean-stage4-libelf
14859 maybe-all-stage4-libelf:
14860 maybe-clean-stage4-libelf:
14861 @if libelf-bootstrap
14862 maybe-all-stage4-libelf: all-stage4-libelf
14863 all-stage4: all-stage4-libelf
14864 TARGET-stage4-libelf = $(TARGET-libelf)
14865 all-stage4-libelf: configure-stage4-libelf
14866 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
14867 @r=`${PWD_COMMAND}`; export r; \
14868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14869 TFLAGS="$(STAGE4_TFLAGS)"; \
14870 $(HOST_EXPORTS) \
14871 $(POSTSTAGE1_HOST_EXPORTS) \
14872 cd $(HOST_SUBDIR)/libelf && \
14873 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14874 CFLAGS="$(STAGE4_CFLAGS)" \
14875 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
14876 LIBCFLAGS="$(STAGE4_CFLAGS)" \
14877 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14878 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14879 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14880 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14881 TFLAGS="$(STAGE4_TFLAGS)" \
14882 $(TARGET-stage4-libelf)
14884 maybe-clean-stage4-libelf: clean-stage4-libelf
14885 clean-stage4: clean-stage4-libelf
14886 clean-stage4-libelf:
14887 @if [ $(current_stage) = stage4 ]; then \
14888 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
14889 else \
14890 [ -f $(HOST_SUBDIR)/stage4-libelf/Makefile ] || exit 0; \
14891 $(MAKE) stage4-start; \
14892 fi; \
14893 cd $(HOST_SUBDIR)/libelf && \
14894 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
14895 @endif libelf-bootstrap
14898 .PHONY: all-stageprofile-libelf maybe-all-stageprofile-libelf
14899 .PHONY: clean-stageprofile-libelf maybe-clean-stageprofile-libelf
14900 maybe-all-stageprofile-libelf:
14901 maybe-clean-stageprofile-libelf:
14902 @if libelf-bootstrap
14903 maybe-all-stageprofile-libelf: all-stageprofile-libelf
14904 all-stageprofile: all-stageprofile-libelf
14905 TARGET-stageprofile-libelf = $(TARGET-libelf)
14906 all-stageprofile-libelf: configure-stageprofile-libelf
14907 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
14908 @r=`${PWD_COMMAND}`; export r; \
14909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14910 TFLAGS="$(STAGEprofile_TFLAGS)"; \
14911 $(HOST_EXPORTS) \
14912 $(POSTSTAGE1_HOST_EXPORTS) \
14913 cd $(HOST_SUBDIR)/libelf && \
14914 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14915 CFLAGS="$(STAGEprofile_CFLAGS)" \
14916 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
14917 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
14918 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14919 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14920 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14921 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14922 TFLAGS="$(STAGEprofile_TFLAGS)" \
14923 $(TARGET-stageprofile-libelf)
14925 maybe-clean-stageprofile-libelf: clean-stageprofile-libelf
14926 clean-stageprofile: clean-stageprofile-libelf
14927 clean-stageprofile-libelf:
14928 @if [ $(current_stage) = stageprofile ]; then \
14929 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
14930 else \
14931 [ -f $(HOST_SUBDIR)/stageprofile-libelf/Makefile ] || exit 0; \
14932 $(MAKE) stageprofile-start; \
14933 fi; \
14934 cd $(HOST_SUBDIR)/libelf && \
14935 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
14936 @endif libelf-bootstrap
14939 .PHONY: all-stagefeedback-libelf maybe-all-stagefeedback-libelf
14940 .PHONY: clean-stagefeedback-libelf maybe-clean-stagefeedback-libelf
14941 maybe-all-stagefeedback-libelf:
14942 maybe-clean-stagefeedback-libelf:
14943 @if libelf-bootstrap
14944 maybe-all-stagefeedback-libelf: all-stagefeedback-libelf
14945 all-stagefeedback: all-stagefeedback-libelf
14946 TARGET-stagefeedback-libelf = $(TARGET-libelf)
14947 all-stagefeedback-libelf: configure-stagefeedback-libelf
14948 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
14949 @r=`${PWD_COMMAND}`; export r; \
14950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14951 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
14952 $(HOST_EXPORTS) \
14953 $(POSTSTAGE1_HOST_EXPORTS) \
14954 cd $(HOST_SUBDIR)/libelf && \
14955 $(MAKE) $(BASE_FLAGS_TO_PASS) \
14956 CFLAGS="$(STAGEfeedback_CFLAGS)" \
14957 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
14958 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
14959 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
14960 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
14961 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
14962 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14963 TFLAGS="$(STAGEfeedback_TFLAGS)" \
14964 $(TARGET-stagefeedback-libelf)
14966 maybe-clean-stagefeedback-libelf: clean-stagefeedback-libelf
14967 clean-stagefeedback: clean-stagefeedback-libelf
14968 clean-stagefeedback-libelf:
14969 @if [ $(current_stage) = stagefeedback ]; then \
14970 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
14971 else \
14972 [ -f $(HOST_SUBDIR)/stagefeedback-libelf/Makefile ] || exit 0; \
14973 $(MAKE) stagefeedback-start; \
14974 fi; \
14975 cd $(HOST_SUBDIR)/libelf && \
14976 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
14977 @endif libelf-bootstrap
14983 .PHONY: check-libelf maybe-check-libelf
14984 maybe-check-libelf:
14985 @if libelf
14986 maybe-check-libelf: check-libelf
14988 check-libelf:
14989 @: $(MAKE); $(unstage)
14990 @r=`${PWD_COMMAND}`; export r; \
14991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14992 $(HOST_EXPORTS) \
14993 (cd $(HOST_SUBDIR)/libelf && \
14994 $(MAKE) $(FLAGS_TO_PASS) check)
14996 @endif libelf
14998 .PHONY: install-libelf maybe-install-libelf
14999 maybe-install-libelf:
15000 @if libelf
15001 maybe-install-libelf: install-libelf
15003 install-libelf:
15005 @endif libelf
15007 .PHONY: install-strip-libelf maybe-install-strip-libelf
15008 maybe-install-strip-libelf:
15009 @if libelf
15010 maybe-install-strip-libelf: install-strip-libelf
15012 install-strip-libelf:
15014 @endif libelf
15016 # Other targets (info, dvi, pdf, etc.)
15018 .PHONY: maybe-info-libelf info-libelf
15019 maybe-info-libelf:
15020 @if libelf
15021 maybe-info-libelf: info-libelf
15023 info-libelf: \
15024 configure-libelf
15025 @[ -f ./libelf/Makefile ] || exit 0; \
15026 r=`${PWD_COMMAND}`; export r; \
15027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15028 $(HOST_EXPORTS) \
15029 for flag in $(EXTRA_HOST_FLAGS) ; do \
15030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15031 done; \
15032 echo "Doing info in libelf" ; \
15033 (cd $(HOST_SUBDIR)/libelf && \
15034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15036 "RANLIB=$${RANLIB}" \
15037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15038 info) \
15039 || exit 1
15041 @endif libelf
15043 .PHONY: maybe-dvi-libelf dvi-libelf
15044 maybe-dvi-libelf:
15045 @if libelf
15046 maybe-dvi-libelf: dvi-libelf
15048 dvi-libelf: \
15049 configure-libelf
15050 @[ -f ./libelf/Makefile ] || exit 0; \
15051 r=`${PWD_COMMAND}`; export r; \
15052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15053 $(HOST_EXPORTS) \
15054 for flag in $(EXTRA_HOST_FLAGS) ; do \
15055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15056 done; \
15057 echo "Doing dvi in libelf" ; \
15058 (cd $(HOST_SUBDIR)/libelf && \
15059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15061 "RANLIB=$${RANLIB}" \
15062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15063 dvi) \
15064 || exit 1
15066 @endif libelf
15068 .PHONY: maybe-pdf-libelf pdf-libelf
15069 maybe-pdf-libelf:
15070 @if libelf
15071 maybe-pdf-libelf: pdf-libelf
15073 pdf-libelf: \
15074 configure-libelf
15075 @[ -f ./libelf/Makefile ] || exit 0; \
15076 r=`${PWD_COMMAND}`; export r; \
15077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15078 $(HOST_EXPORTS) \
15079 for flag in $(EXTRA_HOST_FLAGS) ; do \
15080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15081 done; \
15082 echo "Doing pdf in libelf" ; \
15083 (cd $(HOST_SUBDIR)/libelf && \
15084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15086 "RANLIB=$${RANLIB}" \
15087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15088 pdf) \
15089 || exit 1
15091 @endif libelf
15093 .PHONY: maybe-html-libelf html-libelf
15094 maybe-html-libelf:
15095 @if libelf
15096 maybe-html-libelf: html-libelf
15098 html-libelf: \
15099 configure-libelf
15100 @[ -f ./libelf/Makefile ] || exit 0; \
15101 r=`${PWD_COMMAND}`; export r; \
15102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15103 $(HOST_EXPORTS) \
15104 for flag in $(EXTRA_HOST_FLAGS) ; do \
15105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15106 done; \
15107 echo "Doing html in libelf" ; \
15108 (cd $(HOST_SUBDIR)/libelf && \
15109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15111 "RANLIB=$${RANLIB}" \
15112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15113 html) \
15114 || exit 1
15116 @endif libelf
15118 .PHONY: maybe-TAGS-libelf TAGS-libelf
15119 maybe-TAGS-libelf:
15120 @if libelf
15121 maybe-TAGS-libelf: TAGS-libelf
15123 TAGS-libelf: \
15124 configure-libelf
15125 @[ -f ./libelf/Makefile ] || exit 0; \
15126 r=`${PWD_COMMAND}`; export r; \
15127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15128 $(HOST_EXPORTS) \
15129 for flag in $(EXTRA_HOST_FLAGS) ; do \
15130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15131 done; \
15132 echo "Doing TAGS in libelf" ; \
15133 (cd $(HOST_SUBDIR)/libelf && \
15134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15136 "RANLIB=$${RANLIB}" \
15137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15138 TAGS) \
15139 || exit 1
15141 @endif libelf
15143 .PHONY: maybe-install-info-libelf install-info-libelf
15144 maybe-install-info-libelf:
15145 @if libelf
15146 maybe-install-info-libelf: install-info-libelf
15148 install-info-libelf: \
15149 configure-libelf \
15150 info-libelf
15151 @[ -f ./libelf/Makefile ] || exit 0; \
15152 r=`${PWD_COMMAND}`; export r; \
15153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15154 $(HOST_EXPORTS) \
15155 for flag in $(EXTRA_HOST_FLAGS) ; do \
15156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15157 done; \
15158 echo "Doing install-info in libelf" ; \
15159 (cd $(HOST_SUBDIR)/libelf && \
15160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15162 "RANLIB=$${RANLIB}" \
15163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15164 install-info) \
15165 || exit 1
15167 @endif libelf
15169 .PHONY: maybe-install-pdf-libelf install-pdf-libelf
15170 maybe-install-pdf-libelf:
15171 @if libelf
15172 maybe-install-pdf-libelf: install-pdf-libelf
15174 install-pdf-libelf: \
15175 configure-libelf \
15176 pdf-libelf
15177 @[ -f ./libelf/Makefile ] || exit 0; \
15178 r=`${PWD_COMMAND}`; export r; \
15179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15180 $(HOST_EXPORTS) \
15181 for flag in $(EXTRA_HOST_FLAGS) ; do \
15182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15183 done; \
15184 echo "Doing install-pdf in libelf" ; \
15185 (cd $(HOST_SUBDIR)/libelf && \
15186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15188 "RANLIB=$${RANLIB}" \
15189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15190 install-pdf) \
15191 || exit 1
15193 @endif libelf
15195 .PHONY: maybe-install-html-libelf install-html-libelf
15196 maybe-install-html-libelf:
15197 @if libelf
15198 maybe-install-html-libelf: install-html-libelf
15200 install-html-libelf: \
15201 configure-libelf \
15202 html-libelf
15203 @[ -f ./libelf/Makefile ] || exit 0; \
15204 r=`${PWD_COMMAND}`; export r; \
15205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15206 $(HOST_EXPORTS) \
15207 for flag in $(EXTRA_HOST_FLAGS) ; do \
15208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15209 done; \
15210 echo "Doing install-html in libelf" ; \
15211 (cd $(HOST_SUBDIR)/libelf && \
15212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15214 "RANLIB=$${RANLIB}" \
15215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15216 install-html) \
15217 || exit 1
15219 @endif libelf
15221 .PHONY: maybe-installcheck-libelf installcheck-libelf
15222 maybe-installcheck-libelf:
15223 @if libelf
15224 maybe-installcheck-libelf: installcheck-libelf
15226 installcheck-libelf: \
15227 configure-libelf
15228 @[ -f ./libelf/Makefile ] || exit 0; \
15229 r=`${PWD_COMMAND}`; export r; \
15230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15231 $(HOST_EXPORTS) \
15232 for flag in $(EXTRA_HOST_FLAGS) ; do \
15233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15234 done; \
15235 echo "Doing installcheck in libelf" ; \
15236 (cd $(HOST_SUBDIR)/libelf && \
15237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15239 "RANLIB=$${RANLIB}" \
15240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15241 installcheck) \
15242 || exit 1
15244 @endif libelf
15246 .PHONY: maybe-mostlyclean-libelf mostlyclean-libelf
15247 maybe-mostlyclean-libelf:
15248 @if libelf
15249 maybe-mostlyclean-libelf: mostlyclean-libelf
15251 mostlyclean-libelf:
15252 @[ -f ./libelf/Makefile ] || exit 0; \
15253 r=`${PWD_COMMAND}`; export r; \
15254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15255 $(HOST_EXPORTS) \
15256 for flag in $(EXTRA_HOST_FLAGS) ; do \
15257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15258 done; \
15259 echo "Doing mostlyclean in libelf" ; \
15260 (cd $(HOST_SUBDIR)/libelf && \
15261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15263 "RANLIB=$${RANLIB}" \
15264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15265 mostlyclean) \
15266 || exit 1
15268 @endif libelf
15270 .PHONY: maybe-clean-libelf clean-libelf
15271 maybe-clean-libelf:
15272 @if libelf
15273 maybe-clean-libelf: clean-libelf
15275 clean-libelf:
15276 @[ -f ./libelf/Makefile ] || exit 0; \
15277 r=`${PWD_COMMAND}`; export r; \
15278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15279 $(HOST_EXPORTS) \
15280 for flag in $(EXTRA_HOST_FLAGS) ; do \
15281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15282 done; \
15283 echo "Doing clean in libelf" ; \
15284 (cd $(HOST_SUBDIR)/libelf && \
15285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15287 "RANLIB=$${RANLIB}" \
15288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15289 clean) \
15290 || exit 1
15292 @endif libelf
15294 .PHONY: maybe-distclean-libelf distclean-libelf
15295 maybe-distclean-libelf:
15296 @if libelf
15297 maybe-distclean-libelf: distclean-libelf
15299 distclean-libelf:
15300 @[ -f ./libelf/Makefile ] || exit 0; \
15301 r=`${PWD_COMMAND}`; export r; \
15302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15303 $(HOST_EXPORTS) \
15304 for flag in $(EXTRA_HOST_FLAGS) ; do \
15305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15306 done; \
15307 echo "Doing distclean in libelf" ; \
15308 (cd $(HOST_SUBDIR)/libelf && \
15309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15311 "RANLIB=$${RANLIB}" \
15312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15313 distclean) \
15314 || exit 1
15316 @endif libelf
15318 .PHONY: maybe-maintainer-clean-libelf maintainer-clean-libelf
15319 maybe-maintainer-clean-libelf:
15320 @if libelf
15321 maybe-maintainer-clean-libelf: maintainer-clean-libelf
15323 maintainer-clean-libelf:
15324 @[ -f ./libelf/Makefile ] || exit 0; \
15325 r=`${PWD_COMMAND}`; export r; \
15326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15327 $(HOST_EXPORTS) \
15328 for flag in $(EXTRA_HOST_FLAGS) ; do \
15329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15330 done; \
15331 echo "Doing maintainer-clean in libelf" ; \
15332 (cd $(HOST_SUBDIR)/libelf && \
15333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15335 "RANLIB=$${RANLIB}" \
15336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15337 maintainer-clean) \
15338 || exit 1
15340 @endif libelf
15344 .PHONY: configure-gold maybe-configure-gold
15345 maybe-configure-gold:
15346 @if gcc-bootstrap
15347 configure-gold: stage_current
15348 @endif gcc-bootstrap
15349 @if gold
15350 maybe-configure-gold: configure-gold
15351 configure-gold:
15352 @r=`${PWD_COMMAND}`; export r; \
15353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15354 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15355 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15356 $(HOST_EXPORTS) \
15357 echo Configuring in $(HOST_SUBDIR)/gold; \
15358 cd "$(HOST_SUBDIR)/gold" || exit 1; \
15359 case $(srcdir) in \
15360 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15361 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15362 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15363 esac; \
15364 module_srcdir=gold; \
15365 $(SHELL) \
15366 $$s/$$module_srcdir/configure \
15367 --srcdir=$${topdir}/$$module_srcdir \
15368 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15369 --target=${target_alias} \
15370 || exit 1
15371 @endif gold
15375 .PHONY: configure-stage1-gold maybe-configure-stage1-gold
15376 maybe-configure-stage1-gold:
15377 @if gold-bootstrap
15378 maybe-configure-stage1-gold: configure-stage1-gold
15379 configure-stage1-gold:
15380 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15381 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15382 @r=`${PWD_COMMAND}`; export r; \
15383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15384 TFLAGS="$(STAGE1_TFLAGS)"; \
15385 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15386 $(HOST_EXPORTS) \
15387 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
15388 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
15389 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
15390 echo Configuring stage 1 in $(HOST_SUBDIR)/gold ; \
15391 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15392 cd $(HOST_SUBDIR)/gold || exit 1; \
15393 case $(srcdir) in \
15394 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15395 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15396 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15397 esac; \
15398 module_srcdir=gold; \
15399 $(SHELL) $$s/$$module_srcdir/configure \
15400 --srcdir=$${topdir}/$$module_srcdir \
15401 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15402 --target=${target_alias} \
15404 $(STAGE1_CONFIGURE_FLAGS)
15405 @endif gold-bootstrap
15407 .PHONY: configure-stage2-gold maybe-configure-stage2-gold
15408 maybe-configure-stage2-gold:
15409 @if gold-bootstrap
15410 maybe-configure-stage2-gold: configure-stage2-gold
15411 configure-stage2-gold:
15412 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15413 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15414 @r=`${PWD_COMMAND}`; export r; \
15415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15416 TFLAGS="$(STAGE2_TFLAGS)"; \
15417 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15418 $(HOST_EXPORTS) \
15419 $(POSTSTAGE1_HOST_EXPORTS) \
15420 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
15421 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
15422 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
15423 echo Configuring stage 2 in $(HOST_SUBDIR)/gold ; \
15424 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15425 cd $(HOST_SUBDIR)/gold || exit 1; \
15426 case $(srcdir) in \
15427 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15428 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15429 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15430 esac; \
15431 module_srcdir=gold; \
15432 $(SHELL) $$s/$$module_srcdir/configure \
15433 --srcdir=$${topdir}/$$module_srcdir \
15434 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15435 --target=${target_alias} \
15436 --with-build-libsubdir=$(HOST_SUBDIR) \
15437 $(STAGE2_CONFIGURE_FLAGS)
15438 @endif gold-bootstrap
15440 .PHONY: configure-stage3-gold maybe-configure-stage3-gold
15441 maybe-configure-stage3-gold:
15442 @if gold-bootstrap
15443 maybe-configure-stage3-gold: configure-stage3-gold
15444 configure-stage3-gold:
15445 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15446 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15447 @r=`${PWD_COMMAND}`; export r; \
15448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15449 TFLAGS="$(STAGE3_TFLAGS)"; \
15450 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15451 $(HOST_EXPORTS) \
15452 $(POSTSTAGE1_HOST_EXPORTS) \
15453 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
15454 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
15455 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
15456 echo Configuring stage 3 in $(HOST_SUBDIR)/gold ; \
15457 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15458 cd $(HOST_SUBDIR)/gold || exit 1; \
15459 case $(srcdir) in \
15460 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15461 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15462 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15463 esac; \
15464 module_srcdir=gold; \
15465 $(SHELL) $$s/$$module_srcdir/configure \
15466 --srcdir=$${topdir}/$$module_srcdir \
15467 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15468 --target=${target_alias} \
15469 --with-build-libsubdir=$(HOST_SUBDIR) \
15470 $(STAGE3_CONFIGURE_FLAGS)
15471 @endif gold-bootstrap
15473 .PHONY: configure-stage4-gold maybe-configure-stage4-gold
15474 maybe-configure-stage4-gold:
15475 @if gold-bootstrap
15476 maybe-configure-stage4-gold: configure-stage4-gold
15477 configure-stage4-gold:
15478 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15479 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15480 @r=`${PWD_COMMAND}`; export r; \
15481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15482 TFLAGS="$(STAGE4_TFLAGS)"; \
15483 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15484 $(HOST_EXPORTS) \
15485 $(POSTSTAGE1_HOST_EXPORTS) \
15486 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
15487 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
15488 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
15489 echo Configuring stage 4 in $(HOST_SUBDIR)/gold ; \
15490 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15491 cd $(HOST_SUBDIR)/gold || exit 1; \
15492 case $(srcdir) in \
15493 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15494 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15495 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15496 esac; \
15497 module_srcdir=gold; \
15498 $(SHELL) $$s/$$module_srcdir/configure \
15499 --srcdir=$${topdir}/$$module_srcdir \
15500 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15501 --target=${target_alias} \
15502 --with-build-libsubdir=$(HOST_SUBDIR) \
15503 $(STAGE4_CONFIGURE_FLAGS)
15504 @endif gold-bootstrap
15506 .PHONY: configure-stageprofile-gold maybe-configure-stageprofile-gold
15507 maybe-configure-stageprofile-gold:
15508 @if gold-bootstrap
15509 maybe-configure-stageprofile-gold: configure-stageprofile-gold
15510 configure-stageprofile-gold:
15511 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15512 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15513 @r=`${PWD_COMMAND}`; export r; \
15514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15515 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15516 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15517 $(HOST_EXPORTS) \
15518 $(POSTSTAGE1_HOST_EXPORTS) \
15519 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
15520 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
15521 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
15522 echo Configuring stage profile in $(HOST_SUBDIR)/gold ; \
15523 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15524 cd $(HOST_SUBDIR)/gold || exit 1; \
15525 case $(srcdir) in \
15526 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15527 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15528 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15529 esac; \
15530 module_srcdir=gold; \
15531 $(SHELL) $$s/$$module_srcdir/configure \
15532 --srcdir=$${topdir}/$$module_srcdir \
15533 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15534 --target=${target_alias} \
15535 --with-build-libsubdir=$(HOST_SUBDIR) \
15536 $(STAGEprofile_CONFIGURE_FLAGS)
15537 @endif gold-bootstrap
15539 .PHONY: configure-stagefeedback-gold maybe-configure-stagefeedback-gold
15540 maybe-configure-stagefeedback-gold:
15541 @if gold-bootstrap
15542 maybe-configure-stagefeedback-gold: configure-stagefeedback-gold
15543 configure-stagefeedback-gold:
15544 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15545 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
15546 @r=`${PWD_COMMAND}`; export r; \
15547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15548 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15549 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
15550 $(HOST_EXPORTS) \
15551 $(POSTSTAGE1_HOST_EXPORTS) \
15552 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
15553 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
15554 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
15555 echo Configuring stage feedback in $(HOST_SUBDIR)/gold ; \
15556 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
15557 cd $(HOST_SUBDIR)/gold || exit 1; \
15558 case $(srcdir) in \
15559 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15560 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
15561 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15562 esac; \
15563 module_srcdir=gold; \
15564 $(SHELL) $$s/$$module_srcdir/configure \
15565 --srcdir=$${topdir}/$$module_srcdir \
15566 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
15567 --target=${target_alias} \
15568 --with-build-libsubdir=$(HOST_SUBDIR) \
15569 $(STAGEfeedback_CONFIGURE_FLAGS)
15570 @endif gold-bootstrap
15576 .PHONY: all-gold maybe-all-gold
15577 maybe-all-gold:
15578 @if gcc-bootstrap
15579 all-gold: stage_current
15580 @endif gcc-bootstrap
15581 @if gold
15582 TARGET-gold=all
15583 maybe-all-gold: all-gold
15584 all-gold: configure-gold
15585 @r=`${PWD_COMMAND}`; export r; \
15586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15587 $(HOST_EXPORTS) \
15588 (cd $(HOST_SUBDIR)/gold && \
15589 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
15590 $(TARGET-gold))
15591 @endif gold
15595 .PHONY: all-stage1-gold maybe-all-stage1-gold
15596 .PHONY: clean-stage1-gold maybe-clean-stage1-gold
15597 maybe-all-stage1-gold:
15598 maybe-clean-stage1-gold:
15599 @if gold-bootstrap
15600 maybe-all-stage1-gold: all-stage1-gold
15601 all-stage1: all-stage1-gold
15602 TARGET-stage1-gold = $(TARGET-gold)
15603 all-stage1-gold: configure-stage1-gold
15604 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
15605 @r=`${PWD_COMMAND}`; export r; \
15606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15607 TFLAGS="$(STAGE1_TFLAGS)"; \
15608 $(HOST_EXPORTS) \
15609 cd $(HOST_SUBDIR)/gold && \
15610 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15611 CFLAGS="$(STAGE1_CFLAGS)" \
15612 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
15613 LIBCFLAGS="$(LIBCFLAGS)" \
15614 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15615 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15616 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15617 $(EXTRA_HOST_FLAGS) \
15618 $(STAGE1_FLAGS_TO_PASS) \
15619 TFLAGS="$(STAGE1_TFLAGS)" \
15620 $(TARGET-stage1-gold)
15622 maybe-clean-stage1-gold: clean-stage1-gold
15623 clean-stage1: clean-stage1-gold
15624 clean-stage1-gold:
15625 @if [ $(current_stage) = stage1 ]; then \
15626 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15627 else \
15628 [ -f $(HOST_SUBDIR)/stage1-gold/Makefile ] || exit 0; \
15629 $(MAKE) stage1-start; \
15630 fi; \
15631 cd $(HOST_SUBDIR)/gold && \
15632 $(MAKE) $(EXTRA_HOST_FLAGS) \
15633 $(STAGE1_FLAGS_TO_PASS) clean
15634 @endif gold-bootstrap
15637 .PHONY: all-stage2-gold maybe-all-stage2-gold
15638 .PHONY: clean-stage2-gold maybe-clean-stage2-gold
15639 maybe-all-stage2-gold:
15640 maybe-clean-stage2-gold:
15641 @if gold-bootstrap
15642 maybe-all-stage2-gold: all-stage2-gold
15643 all-stage2: all-stage2-gold
15644 TARGET-stage2-gold = $(TARGET-gold)
15645 all-stage2-gold: configure-stage2-gold
15646 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
15647 @r=`${PWD_COMMAND}`; export r; \
15648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15649 TFLAGS="$(STAGE2_TFLAGS)"; \
15650 $(HOST_EXPORTS) \
15651 $(POSTSTAGE1_HOST_EXPORTS) \
15652 cd $(HOST_SUBDIR)/gold && \
15653 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15654 CFLAGS="$(STAGE2_CFLAGS)" \
15655 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
15656 LIBCFLAGS="$(STAGE2_CFLAGS)" \
15657 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15658 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15659 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15660 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15661 TFLAGS="$(STAGE2_TFLAGS)" \
15662 $(TARGET-stage2-gold)
15664 maybe-clean-stage2-gold: clean-stage2-gold
15665 clean-stage2: clean-stage2-gold
15666 clean-stage2-gold:
15667 @if [ $(current_stage) = stage2 ]; then \
15668 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15669 else \
15670 [ -f $(HOST_SUBDIR)/stage2-gold/Makefile ] || exit 0; \
15671 $(MAKE) stage2-start; \
15672 fi; \
15673 cd $(HOST_SUBDIR)/gold && \
15674 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15675 @endif gold-bootstrap
15678 .PHONY: all-stage3-gold maybe-all-stage3-gold
15679 .PHONY: clean-stage3-gold maybe-clean-stage3-gold
15680 maybe-all-stage3-gold:
15681 maybe-clean-stage3-gold:
15682 @if gold-bootstrap
15683 maybe-all-stage3-gold: all-stage3-gold
15684 all-stage3: all-stage3-gold
15685 TARGET-stage3-gold = $(TARGET-gold)
15686 all-stage3-gold: configure-stage3-gold
15687 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
15688 @r=`${PWD_COMMAND}`; export r; \
15689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15690 TFLAGS="$(STAGE3_TFLAGS)"; \
15691 $(HOST_EXPORTS) \
15692 $(POSTSTAGE1_HOST_EXPORTS) \
15693 cd $(HOST_SUBDIR)/gold && \
15694 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15695 CFLAGS="$(STAGE3_CFLAGS)" \
15696 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
15697 LIBCFLAGS="$(STAGE3_CFLAGS)" \
15698 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15699 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15700 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15701 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15702 TFLAGS="$(STAGE3_TFLAGS)" \
15703 $(TARGET-stage3-gold)
15705 maybe-clean-stage3-gold: clean-stage3-gold
15706 clean-stage3: clean-stage3-gold
15707 clean-stage3-gold:
15708 @if [ $(current_stage) = stage3 ]; then \
15709 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15710 else \
15711 [ -f $(HOST_SUBDIR)/stage3-gold/Makefile ] || exit 0; \
15712 $(MAKE) stage3-start; \
15713 fi; \
15714 cd $(HOST_SUBDIR)/gold && \
15715 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15716 @endif gold-bootstrap
15719 .PHONY: all-stage4-gold maybe-all-stage4-gold
15720 .PHONY: clean-stage4-gold maybe-clean-stage4-gold
15721 maybe-all-stage4-gold:
15722 maybe-clean-stage4-gold:
15723 @if gold-bootstrap
15724 maybe-all-stage4-gold: all-stage4-gold
15725 all-stage4: all-stage4-gold
15726 TARGET-stage4-gold = $(TARGET-gold)
15727 all-stage4-gold: configure-stage4-gold
15728 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
15729 @r=`${PWD_COMMAND}`; export r; \
15730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15731 TFLAGS="$(STAGE4_TFLAGS)"; \
15732 $(HOST_EXPORTS) \
15733 $(POSTSTAGE1_HOST_EXPORTS) \
15734 cd $(HOST_SUBDIR)/gold && \
15735 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15736 CFLAGS="$(STAGE4_CFLAGS)" \
15737 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
15738 LIBCFLAGS="$(STAGE4_CFLAGS)" \
15739 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15740 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15741 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15742 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15743 TFLAGS="$(STAGE4_TFLAGS)" \
15744 $(TARGET-stage4-gold)
15746 maybe-clean-stage4-gold: clean-stage4-gold
15747 clean-stage4: clean-stage4-gold
15748 clean-stage4-gold:
15749 @if [ $(current_stage) = stage4 ]; then \
15750 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15751 else \
15752 [ -f $(HOST_SUBDIR)/stage4-gold/Makefile ] || exit 0; \
15753 $(MAKE) stage4-start; \
15754 fi; \
15755 cd $(HOST_SUBDIR)/gold && \
15756 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15757 @endif gold-bootstrap
15760 .PHONY: all-stageprofile-gold maybe-all-stageprofile-gold
15761 .PHONY: clean-stageprofile-gold maybe-clean-stageprofile-gold
15762 maybe-all-stageprofile-gold:
15763 maybe-clean-stageprofile-gold:
15764 @if gold-bootstrap
15765 maybe-all-stageprofile-gold: all-stageprofile-gold
15766 all-stageprofile: all-stageprofile-gold
15767 TARGET-stageprofile-gold = $(TARGET-gold)
15768 all-stageprofile-gold: configure-stageprofile-gold
15769 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
15770 @r=`${PWD_COMMAND}`; export r; \
15771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15772 TFLAGS="$(STAGEprofile_TFLAGS)"; \
15773 $(HOST_EXPORTS) \
15774 $(POSTSTAGE1_HOST_EXPORTS) \
15775 cd $(HOST_SUBDIR)/gold && \
15776 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15777 CFLAGS="$(STAGEprofile_CFLAGS)" \
15778 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
15779 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
15780 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15781 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15782 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15783 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15784 TFLAGS="$(STAGEprofile_TFLAGS)" \
15785 $(TARGET-stageprofile-gold)
15787 maybe-clean-stageprofile-gold: clean-stageprofile-gold
15788 clean-stageprofile: clean-stageprofile-gold
15789 clean-stageprofile-gold:
15790 @if [ $(current_stage) = stageprofile ]; then \
15791 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15792 else \
15793 [ -f $(HOST_SUBDIR)/stageprofile-gold/Makefile ] || exit 0; \
15794 $(MAKE) stageprofile-start; \
15795 fi; \
15796 cd $(HOST_SUBDIR)/gold && \
15797 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15798 @endif gold-bootstrap
15801 .PHONY: all-stagefeedback-gold maybe-all-stagefeedback-gold
15802 .PHONY: clean-stagefeedback-gold maybe-clean-stagefeedback-gold
15803 maybe-all-stagefeedback-gold:
15804 maybe-clean-stagefeedback-gold:
15805 @if gold-bootstrap
15806 maybe-all-stagefeedback-gold: all-stagefeedback-gold
15807 all-stagefeedback: all-stagefeedback-gold
15808 TARGET-stagefeedback-gold = $(TARGET-gold)
15809 all-stagefeedback-gold: configure-stagefeedback-gold
15810 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
15811 @r=`${PWD_COMMAND}`; export r; \
15812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15813 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
15814 $(HOST_EXPORTS) \
15815 $(POSTSTAGE1_HOST_EXPORTS) \
15816 cd $(HOST_SUBDIR)/gold && \
15817 $(MAKE) $(BASE_FLAGS_TO_PASS) \
15818 CFLAGS="$(STAGEfeedback_CFLAGS)" \
15819 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
15820 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
15821 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
15822 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
15823 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
15824 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15825 TFLAGS="$(STAGEfeedback_TFLAGS)" \
15826 $(TARGET-stagefeedback-gold)
15828 maybe-clean-stagefeedback-gold: clean-stagefeedback-gold
15829 clean-stagefeedback: clean-stagefeedback-gold
15830 clean-stagefeedback-gold:
15831 @if [ $(current_stage) = stagefeedback ]; then \
15832 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
15833 else \
15834 [ -f $(HOST_SUBDIR)/stagefeedback-gold/Makefile ] || exit 0; \
15835 $(MAKE) stagefeedback-start; \
15836 fi; \
15837 cd $(HOST_SUBDIR)/gold && \
15838 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
15839 @endif gold-bootstrap
15845 .PHONY: check-gold maybe-check-gold
15846 maybe-check-gold:
15847 @if gold
15848 maybe-check-gold: check-gold
15850 check-gold:
15851 @: $(MAKE); $(unstage)
15852 @r=`${PWD_COMMAND}`; export r; \
15853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15854 $(HOST_EXPORTS) \
15855 (cd $(HOST_SUBDIR)/gold && \
15856 $(MAKE) $(FLAGS_TO_PASS) check)
15858 @endif gold
15860 .PHONY: install-gold maybe-install-gold
15861 maybe-install-gold:
15862 @if gold
15863 maybe-install-gold: install-gold
15865 install-gold: installdirs
15866 @: $(MAKE); $(unstage)
15867 @r=`${PWD_COMMAND}`; export r; \
15868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15869 $(HOST_EXPORTS) \
15870 (cd $(HOST_SUBDIR)/gold && \
15871 $(MAKE) $(FLAGS_TO_PASS) install)
15873 @endif gold
15875 .PHONY: install-strip-gold maybe-install-strip-gold
15876 maybe-install-strip-gold:
15877 @if gold
15878 maybe-install-strip-gold: install-strip-gold
15880 install-strip-gold: installdirs
15881 @: $(MAKE); $(unstage)
15882 @r=`${PWD_COMMAND}`; export r; \
15883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15884 $(HOST_EXPORTS) \
15885 (cd $(HOST_SUBDIR)/gold && \
15886 $(MAKE) $(FLAGS_TO_PASS) install-strip)
15888 @endif gold
15890 # Other targets (info, dvi, pdf, etc.)
15892 .PHONY: maybe-info-gold info-gold
15893 maybe-info-gold:
15894 @if gold
15895 maybe-info-gold: info-gold
15897 info-gold: \
15898 configure-gold
15899 @[ -f ./gold/Makefile ] || exit 0; \
15900 r=`${PWD_COMMAND}`; export r; \
15901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15902 $(HOST_EXPORTS) \
15903 for flag in $(EXTRA_HOST_FLAGS) ; do \
15904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15905 done; \
15906 echo "Doing info in gold" ; \
15907 (cd $(HOST_SUBDIR)/gold && \
15908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15910 "RANLIB=$${RANLIB}" \
15911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15912 info) \
15913 || exit 1
15915 @endif gold
15917 .PHONY: maybe-dvi-gold dvi-gold
15918 maybe-dvi-gold:
15919 @if gold
15920 maybe-dvi-gold: dvi-gold
15922 dvi-gold: \
15923 configure-gold
15924 @[ -f ./gold/Makefile ] || exit 0; \
15925 r=`${PWD_COMMAND}`; export r; \
15926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15927 $(HOST_EXPORTS) \
15928 for flag in $(EXTRA_HOST_FLAGS) ; do \
15929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15930 done; \
15931 echo "Doing dvi in gold" ; \
15932 (cd $(HOST_SUBDIR)/gold && \
15933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15935 "RANLIB=$${RANLIB}" \
15936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15937 dvi) \
15938 || exit 1
15940 @endif gold
15942 .PHONY: maybe-pdf-gold pdf-gold
15943 maybe-pdf-gold:
15944 @if gold
15945 maybe-pdf-gold: pdf-gold
15947 pdf-gold: \
15948 configure-gold
15949 @[ -f ./gold/Makefile ] || exit 0; \
15950 r=`${PWD_COMMAND}`; export r; \
15951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15952 $(HOST_EXPORTS) \
15953 for flag in $(EXTRA_HOST_FLAGS) ; do \
15954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15955 done; \
15956 echo "Doing pdf in gold" ; \
15957 (cd $(HOST_SUBDIR)/gold && \
15958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15960 "RANLIB=$${RANLIB}" \
15961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15962 pdf) \
15963 || exit 1
15965 @endif gold
15967 .PHONY: maybe-html-gold html-gold
15968 maybe-html-gold:
15969 @if gold
15970 maybe-html-gold: html-gold
15972 html-gold: \
15973 configure-gold
15974 @[ -f ./gold/Makefile ] || exit 0; \
15975 r=`${PWD_COMMAND}`; export r; \
15976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15977 $(HOST_EXPORTS) \
15978 for flag in $(EXTRA_HOST_FLAGS) ; do \
15979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15980 done; \
15981 echo "Doing html in gold" ; \
15982 (cd $(HOST_SUBDIR)/gold && \
15983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15985 "RANLIB=$${RANLIB}" \
15986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
15987 html) \
15988 || exit 1
15990 @endif gold
15992 .PHONY: maybe-TAGS-gold TAGS-gold
15993 maybe-TAGS-gold:
15994 @if gold
15995 maybe-TAGS-gold: TAGS-gold
15997 TAGS-gold: \
15998 configure-gold
15999 @[ -f ./gold/Makefile ] || exit 0; \
16000 r=`${PWD_COMMAND}`; export r; \
16001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16002 $(HOST_EXPORTS) \
16003 for flag in $(EXTRA_HOST_FLAGS) ; do \
16004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16005 done; \
16006 echo "Doing TAGS in gold" ; \
16007 (cd $(HOST_SUBDIR)/gold && \
16008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16010 "RANLIB=$${RANLIB}" \
16011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16012 TAGS) \
16013 || exit 1
16015 @endif gold
16017 .PHONY: maybe-install-info-gold install-info-gold
16018 maybe-install-info-gold:
16019 @if gold
16020 maybe-install-info-gold: install-info-gold
16022 install-info-gold: \
16023 configure-gold \
16024 info-gold
16025 @[ -f ./gold/Makefile ] || exit 0; \
16026 r=`${PWD_COMMAND}`; export r; \
16027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16028 $(HOST_EXPORTS) \
16029 for flag in $(EXTRA_HOST_FLAGS) ; do \
16030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16031 done; \
16032 echo "Doing install-info in gold" ; \
16033 (cd $(HOST_SUBDIR)/gold && \
16034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16036 "RANLIB=$${RANLIB}" \
16037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16038 install-info) \
16039 || exit 1
16041 @endif gold
16043 .PHONY: maybe-install-pdf-gold install-pdf-gold
16044 maybe-install-pdf-gold:
16045 @if gold
16046 maybe-install-pdf-gold: install-pdf-gold
16048 install-pdf-gold: \
16049 configure-gold \
16050 pdf-gold
16051 @[ -f ./gold/Makefile ] || exit 0; \
16052 r=`${PWD_COMMAND}`; export r; \
16053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16054 $(HOST_EXPORTS) \
16055 for flag in $(EXTRA_HOST_FLAGS) ; do \
16056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16057 done; \
16058 echo "Doing install-pdf in gold" ; \
16059 (cd $(HOST_SUBDIR)/gold && \
16060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16062 "RANLIB=$${RANLIB}" \
16063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16064 install-pdf) \
16065 || exit 1
16067 @endif gold
16069 .PHONY: maybe-install-html-gold install-html-gold
16070 maybe-install-html-gold:
16071 @if gold
16072 maybe-install-html-gold: install-html-gold
16074 install-html-gold: \
16075 configure-gold \
16076 html-gold
16077 @[ -f ./gold/Makefile ] || exit 0; \
16078 r=`${PWD_COMMAND}`; export r; \
16079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16080 $(HOST_EXPORTS) \
16081 for flag in $(EXTRA_HOST_FLAGS) ; do \
16082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16083 done; \
16084 echo "Doing install-html in gold" ; \
16085 (cd $(HOST_SUBDIR)/gold && \
16086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16088 "RANLIB=$${RANLIB}" \
16089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16090 install-html) \
16091 || exit 1
16093 @endif gold
16095 .PHONY: maybe-installcheck-gold installcheck-gold
16096 maybe-installcheck-gold:
16097 @if gold
16098 maybe-installcheck-gold: installcheck-gold
16100 installcheck-gold: \
16101 configure-gold
16102 @[ -f ./gold/Makefile ] || exit 0; \
16103 r=`${PWD_COMMAND}`; export r; \
16104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16105 $(HOST_EXPORTS) \
16106 for flag in $(EXTRA_HOST_FLAGS) ; do \
16107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16108 done; \
16109 echo "Doing installcheck in gold" ; \
16110 (cd $(HOST_SUBDIR)/gold && \
16111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16113 "RANLIB=$${RANLIB}" \
16114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16115 installcheck) \
16116 || exit 1
16118 @endif gold
16120 .PHONY: maybe-mostlyclean-gold mostlyclean-gold
16121 maybe-mostlyclean-gold:
16122 @if gold
16123 maybe-mostlyclean-gold: mostlyclean-gold
16125 mostlyclean-gold:
16126 @[ -f ./gold/Makefile ] || exit 0; \
16127 r=`${PWD_COMMAND}`; export r; \
16128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16129 $(HOST_EXPORTS) \
16130 for flag in $(EXTRA_HOST_FLAGS) ; do \
16131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16132 done; \
16133 echo "Doing mostlyclean in gold" ; \
16134 (cd $(HOST_SUBDIR)/gold && \
16135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16137 "RANLIB=$${RANLIB}" \
16138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16139 mostlyclean) \
16140 || exit 1
16142 @endif gold
16144 .PHONY: maybe-clean-gold clean-gold
16145 maybe-clean-gold:
16146 @if gold
16147 maybe-clean-gold: clean-gold
16149 clean-gold:
16150 @[ -f ./gold/Makefile ] || exit 0; \
16151 r=`${PWD_COMMAND}`; export r; \
16152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16153 $(HOST_EXPORTS) \
16154 for flag in $(EXTRA_HOST_FLAGS) ; do \
16155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16156 done; \
16157 echo "Doing clean in gold" ; \
16158 (cd $(HOST_SUBDIR)/gold && \
16159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16161 "RANLIB=$${RANLIB}" \
16162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16163 clean) \
16164 || exit 1
16166 @endif gold
16168 .PHONY: maybe-distclean-gold distclean-gold
16169 maybe-distclean-gold:
16170 @if gold
16171 maybe-distclean-gold: distclean-gold
16173 distclean-gold:
16174 @[ -f ./gold/Makefile ] || exit 0; \
16175 r=`${PWD_COMMAND}`; export r; \
16176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16177 $(HOST_EXPORTS) \
16178 for flag in $(EXTRA_HOST_FLAGS) ; do \
16179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16180 done; \
16181 echo "Doing distclean in gold" ; \
16182 (cd $(HOST_SUBDIR)/gold && \
16183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16185 "RANLIB=$${RANLIB}" \
16186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16187 distclean) \
16188 || exit 1
16190 @endif gold
16192 .PHONY: maybe-maintainer-clean-gold maintainer-clean-gold
16193 maybe-maintainer-clean-gold:
16194 @if gold
16195 maybe-maintainer-clean-gold: maintainer-clean-gold
16197 maintainer-clean-gold:
16198 @[ -f ./gold/Makefile ] || exit 0; \
16199 r=`${PWD_COMMAND}`; export r; \
16200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16201 $(HOST_EXPORTS) \
16202 for flag in $(EXTRA_HOST_FLAGS) ; do \
16203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16204 done; \
16205 echo "Doing maintainer-clean in gold" ; \
16206 (cd $(HOST_SUBDIR)/gold && \
16207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16209 "RANLIB=$${RANLIB}" \
16210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16211 maintainer-clean) \
16212 || exit 1
16214 @endif gold
16218 .PHONY: configure-gprof maybe-configure-gprof
16219 maybe-configure-gprof:
16220 @if gcc-bootstrap
16221 configure-gprof: stage_current
16222 @endif gcc-bootstrap
16223 @if gprof
16224 maybe-configure-gprof: configure-gprof
16225 configure-gprof:
16226 @: $(MAKE); $(unstage)
16227 @r=`${PWD_COMMAND}`; export r; \
16228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16229 test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
16230 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof ; \
16231 $(HOST_EXPORTS) \
16232 echo Configuring in $(HOST_SUBDIR)/gprof; \
16233 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
16234 case $(srcdir) in \
16235 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16236 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
16237 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16238 esac; \
16239 module_srcdir=gprof; \
16240 $(SHELL) \
16241 $$s/$$module_srcdir/configure \
16242 --srcdir=$${topdir}/$$module_srcdir \
16243 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16244 --target=${target_alias} \
16245 || exit 1
16246 @endif gprof
16252 .PHONY: all-gprof maybe-all-gprof
16253 maybe-all-gprof:
16254 @if gcc-bootstrap
16255 all-gprof: stage_current
16256 @endif gcc-bootstrap
16257 @if gprof
16258 TARGET-gprof=all
16259 maybe-all-gprof: all-gprof
16260 all-gprof: configure-gprof
16261 @: $(MAKE); $(unstage)
16262 @r=`${PWD_COMMAND}`; export r; \
16263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16264 $(HOST_EXPORTS) \
16265 (cd $(HOST_SUBDIR)/gprof && \
16266 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
16267 $(TARGET-gprof))
16268 @endif gprof
16273 .PHONY: check-gprof maybe-check-gprof
16274 maybe-check-gprof:
16275 @if gprof
16276 maybe-check-gprof: check-gprof
16278 check-gprof:
16279 @: $(MAKE); $(unstage)
16280 @r=`${PWD_COMMAND}`; export r; \
16281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16282 $(HOST_EXPORTS) \
16283 (cd $(HOST_SUBDIR)/gprof && \
16284 $(MAKE) $(FLAGS_TO_PASS) check)
16286 @endif gprof
16288 .PHONY: install-gprof maybe-install-gprof
16289 maybe-install-gprof:
16290 @if gprof
16291 maybe-install-gprof: install-gprof
16293 install-gprof: installdirs
16294 @: $(MAKE); $(unstage)
16295 @r=`${PWD_COMMAND}`; export r; \
16296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16297 $(HOST_EXPORTS) \
16298 (cd $(HOST_SUBDIR)/gprof && \
16299 $(MAKE) $(FLAGS_TO_PASS) install)
16301 @endif gprof
16303 .PHONY: install-strip-gprof maybe-install-strip-gprof
16304 maybe-install-strip-gprof:
16305 @if gprof
16306 maybe-install-strip-gprof: install-strip-gprof
16308 install-strip-gprof: installdirs
16309 @: $(MAKE); $(unstage)
16310 @r=`${PWD_COMMAND}`; export r; \
16311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16312 $(HOST_EXPORTS) \
16313 (cd $(HOST_SUBDIR)/gprof && \
16314 $(MAKE) $(FLAGS_TO_PASS) install-strip)
16316 @endif gprof
16318 # Other targets (info, dvi, pdf, etc.)
16320 .PHONY: maybe-info-gprof info-gprof
16321 maybe-info-gprof:
16322 @if gprof
16323 maybe-info-gprof: info-gprof
16325 info-gprof: \
16326 configure-gprof
16327 @: $(MAKE); $(unstage)
16328 @[ -f ./gprof/Makefile ] || exit 0; \
16329 r=`${PWD_COMMAND}`; export r; \
16330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16331 $(HOST_EXPORTS) \
16332 for flag in $(EXTRA_HOST_FLAGS) ; do \
16333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16334 done; \
16335 echo "Doing info in gprof" ; \
16336 (cd $(HOST_SUBDIR)/gprof && \
16337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16339 "RANLIB=$${RANLIB}" \
16340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16341 info) \
16342 || exit 1
16344 @endif gprof
16346 .PHONY: maybe-dvi-gprof dvi-gprof
16347 maybe-dvi-gprof:
16348 @if gprof
16349 maybe-dvi-gprof: dvi-gprof
16351 dvi-gprof: \
16352 configure-gprof
16353 @: $(MAKE); $(unstage)
16354 @[ -f ./gprof/Makefile ] || exit 0; \
16355 r=`${PWD_COMMAND}`; export r; \
16356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16357 $(HOST_EXPORTS) \
16358 for flag in $(EXTRA_HOST_FLAGS) ; do \
16359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16360 done; \
16361 echo "Doing dvi in gprof" ; \
16362 (cd $(HOST_SUBDIR)/gprof && \
16363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16365 "RANLIB=$${RANLIB}" \
16366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16367 dvi) \
16368 || exit 1
16370 @endif gprof
16372 .PHONY: maybe-pdf-gprof pdf-gprof
16373 maybe-pdf-gprof:
16374 @if gprof
16375 maybe-pdf-gprof: pdf-gprof
16377 pdf-gprof: \
16378 configure-gprof
16379 @: $(MAKE); $(unstage)
16380 @[ -f ./gprof/Makefile ] || exit 0; \
16381 r=`${PWD_COMMAND}`; export r; \
16382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16383 $(HOST_EXPORTS) \
16384 for flag in $(EXTRA_HOST_FLAGS) ; do \
16385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16386 done; \
16387 echo "Doing pdf in gprof" ; \
16388 (cd $(HOST_SUBDIR)/gprof && \
16389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16391 "RANLIB=$${RANLIB}" \
16392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16393 pdf) \
16394 || exit 1
16396 @endif gprof
16398 .PHONY: maybe-html-gprof html-gprof
16399 maybe-html-gprof:
16400 @if gprof
16401 maybe-html-gprof: html-gprof
16403 html-gprof: \
16404 configure-gprof
16405 @: $(MAKE); $(unstage)
16406 @[ -f ./gprof/Makefile ] || exit 0; \
16407 r=`${PWD_COMMAND}`; export r; \
16408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16409 $(HOST_EXPORTS) \
16410 for flag in $(EXTRA_HOST_FLAGS) ; do \
16411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16412 done; \
16413 echo "Doing html in gprof" ; \
16414 (cd $(HOST_SUBDIR)/gprof && \
16415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16417 "RANLIB=$${RANLIB}" \
16418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16419 html) \
16420 || exit 1
16422 @endif gprof
16424 .PHONY: maybe-TAGS-gprof TAGS-gprof
16425 maybe-TAGS-gprof:
16426 @if gprof
16427 maybe-TAGS-gprof: TAGS-gprof
16429 TAGS-gprof: \
16430 configure-gprof
16431 @: $(MAKE); $(unstage)
16432 @[ -f ./gprof/Makefile ] || exit 0; \
16433 r=`${PWD_COMMAND}`; export r; \
16434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16435 $(HOST_EXPORTS) \
16436 for flag in $(EXTRA_HOST_FLAGS) ; do \
16437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16438 done; \
16439 echo "Doing TAGS in gprof" ; \
16440 (cd $(HOST_SUBDIR)/gprof && \
16441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16443 "RANLIB=$${RANLIB}" \
16444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16445 TAGS) \
16446 || exit 1
16448 @endif gprof
16450 .PHONY: maybe-install-info-gprof install-info-gprof
16451 maybe-install-info-gprof:
16452 @if gprof
16453 maybe-install-info-gprof: install-info-gprof
16455 install-info-gprof: \
16456 configure-gprof \
16457 info-gprof
16458 @: $(MAKE); $(unstage)
16459 @[ -f ./gprof/Makefile ] || exit 0; \
16460 r=`${PWD_COMMAND}`; export r; \
16461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16462 $(HOST_EXPORTS) \
16463 for flag in $(EXTRA_HOST_FLAGS) ; do \
16464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16465 done; \
16466 echo "Doing install-info in gprof" ; \
16467 (cd $(HOST_SUBDIR)/gprof && \
16468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16470 "RANLIB=$${RANLIB}" \
16471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16472 install-info) \
16473 || exit 1
16475 @endif gprof
16477 .PHONY: maybe-install-pdf-gprof install-pdf-gprof
16478 maybe-install-pdf-gprof:
16479 @if gprof
16480 maybe-install-pdf-gprof: install-pdf-gprof
16482 install-pdf-gprof: \
16483 configure-gprof \
16484 pdf-gprof
16485 @: $(MAKE); $(unstage)
16486 @[ -f ./gprof/Makefile ] || exit 0; \
16487 r=`${PWD_COMMAND}`; export r; \
16488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16489 $(HOST_EXPORTS) \
16490 for flag in $(EXTRA_HOST_FLAGS) ; do \
16491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16492 done; \
16493 echo "Doing install-pdf in gprof" ; \
16494 (cd $(HOST_SUBDIR)/gprof && \
16495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16497 "RANLIB=$${RANLIB}" \
16498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16499 install-pdf) \
16500 || exit 1
16502 @endif gprof
16504 .PHONY: maybe-install-html-gprof install-html-gprof
16505 maybe-install-html-gprof:
16506 @if gprof
16507 maybe-install-html-gprof: install-html-gprof
16509 install-html-gprof: \
16510 configure-gprof \
16511 html-gprof
16512 @: $(MAKE); $(unstage)
16513 @[ -f ./gprof/Makefile ] || exit 0; \
16514 r=`${PWD_COMMAND}`; export r; \
16515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16516 $(HOST_EXPORTS) \
16517 for flag in $(EXTRA_HOST_FLAGS) ; do \
16518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16519 done; \
16520 echo "Doing install-html in gprof" ; \
16521 (cd $(HOST_SUBDIR)/gprof && \
16522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16524 "RANLIB=$${RANLIB}" \
16525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16526 install-html) \
16527 || exit 1
16529 @endif gprof
16531 .PHONY: maybe-installcheck-gprof installcheck-gprof
16532 maybe-installcheck-gprof:
16533 @if gprof
16534 maybe-installcheck-gprof: installcheck-gprof
16536 installcheck-gprof: \
16537 configure-gprof
16538 @: $(MAKE); $(unstage)
16539 @[ -f ./gprof/Makefile ] || exit 0; \
16540 r=`${PWD_COMMAND}`; export r; \
16541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16542 $(HOST_EXPORTS) \
16543 for flag in $(EXTRA_HOST_FLAGS) ; do \
16544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16545 done; \
16546 echo "Doing installcheck in gprof" ; \
16547 (cd $(HOST_SUBDIR)/gprof && \
16548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16550 "RANLIB=$${RANLIB}" \
16551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16552 installcheck) \
16553 || exit 1
16555 @endif gprof
16557 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
16558 maybe-mostlyclean-gprof:
16559 @if gprof
16560 maybe-mostlyclean-gprof: mostlyclean-gprof
16562 mostlyclean-gprof:
16563 @: $(MAKE); $(unstage)
16564 @[ -f ./gprof/Makefile ] || exit 0; \
16565 r=`${PWD_COMMAND}`; export r; \
16566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16567 $(HOST_EXPORTS) \
16568 for flag in $(EXTRA_HOST_FLAGS) ; do \
16569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16570 done; \
16571 echo "Doing mostlyclean in gprof" ; \
16572 (cd $(HOST_SUBDIR)/gprof && \
16573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16575 "RANLIB=$${RANLIB}" \
16576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16577 mostlyclean) \
16578 || exit 1
16580 @endif gprof
16582 .PHONY: maybe-clean-gprof clean-gprof
16583 maybe-clean-gprof:
16584 @if gprof
16585 maybe-clean-gprof: clean-gprof
16587 clean-gprof:
16588 @: $(MAKE); $(unstage)
16589 @[ -f ./gprof/Makefile ] || exit 0; \
16590 r=`${PWD_COMMAND}`; export r; \
16591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16592 $(HOST_EXPORTS) \
16593 for flag in $(EXTRA_HOST_FLAGS) ; do \
16594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16595 done; \
16596 echo "Doing clean in gprof" ; \
16597 (cd $(HOST_SUBDIR)/gprof && \
16598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16600 "RANLIB=$${RANLIB}" \
16601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16602 clean) \
16603 || exit 1
16605 @endif gprof
16607 .PHONY: maybe-distclean-gprof distclean-gprof
16608 maybe-distclean-gprof:
16609 @if gprof
16610 maybe-distclean-gprof: distclean-gprof
16612 distclean-gprof:
16613 @: $(MAKE); $(unstage)
16614 @[ -f ./gprof/Makefile ] || exit 0; \
16615 r=`${PWD_COMMAND}`; export r; \
16616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16617 $(HOST_EXPORTS) \
16618 for flag in $(EXTRA_HOST_FLAGS) ; do \
16619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16620 done; \
16621 echo "Doing distclean in gprof" ; \
16622 (cd $(HOST_SUBDIR)/gprof && \
16623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16625 "RANLIB=$${RANLIB}" \
16626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16627 distclean) \
16628 || exit 1
16630 @endif gprof
16632 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
16633 maybe-maintainer-clean-gprof:
16634 @if gprof
16635 maybe-maintainer-clean-gprof: maintainer-clean-gprof
16637 maintainer-clean-gprof:
16638 @: $(MAKE); $(unstage)
16639 @[ -f ./gprof/Makefile ] || exit 0; \
16640 r=`${PWD_COMMAND}`; export r; \
16641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16642 $(HOST_EXPORTS) \
16643 for flag in $(EXTRA_HOST_FLAGS) ; do \
16644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16645 done; \
16646 echo "Doing maintainer-clean in gprof" ; \
16647 (cd $(HOST_SUBDIR)/gprof && \
16648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16650 "RANLIB=$${RANLIB}" \
16651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
16652 maintainer-clean) \
16653 || exit 1
16655 @endif gprof
16659 .PHONY: configure-intl maybe-configure-intl
16660 maybe-configure-intl:
16661 @if gcc-bootstrap
16662 configure-intl: stage_current
16663 @endif gcc-bootstrap
16664 @if intl
16665 maybe-configure-intl: configure-intl
16666 configure-intl:
16667 @r=`${PWD_COMMAND}`; export r; \
16668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16669 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16670 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16671 $(HOST_EXPORTS) \
16672 echo Configuring in $(HOST_SUBDIR)/intl; \
16673 cd "$(HOST_SUBDIR)/intl" || exit 1; \
16674 case $(srcdir) in \
16675 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16676 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16677 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16678 esac; \
16679 module_srcdir=intl; \
16680 $(SHELL) \
16681 $$s/$$module_srcdir/configure \
16682 --srcdir=$${topdir}/$$module_srcdir \
16683 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16684 --target=${target_alias} \
16685 || exit 1
16686 @endif intl
16690 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
16691 maybe-configure-stage1-intl:
16692 @if intl-bootstrap
16693 maybe-configure-stage1-intl: configure-stage1-intl
16694 configure-stage1-intl:
16695 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16696 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16697 @r=`${PWD_COMMAND}`; export r; \
16698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16699 TFLAGS="$(STAGE1_TFLAGS)"; \
16700 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16701 $(HOST_EXPORTS) \
16702 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
16703 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
16704 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
16705 echo Configuring stage 1 in $(HOST_SUBDIR)/intl ; \
16706 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16707 cd $(HOST_SUBDIR)/intl || exit 1; \
16708 case $(srcdir) in \
16709 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16710 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16711 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16712 esac; \
16713 module_srcdir=intl; \
16714 $(SHELL) $$s/$$module_srcdir/configure \
16715 --srcdir=$${topdir}/$$module_srcdir \
16716 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16717 --target=${target_alias} \
16719 $(STAGE1_CONFIGURE_FLAGS)
16720 @endif intl-bootstrap
16722 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
16723 maybe-configure-stage2-intl:
16724 @if intl-bootstrap
16725 maybe-configure-stage2-intl: configure-stage2-intl
16726 configure-stage2-intl:
16727 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16728 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16729 @r=`${PWD_COMMAND}`; export r; \
16730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16731 TFLAGS="$(STAGE2_TFLAGS)"; \
16732 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16733 $(HOST_EXPORTS) \
16734 $(POSTSTAGE1_HOST_EXPORTS) \
16735 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
16736 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
16737 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
16738 echo Configuring stage 2 in $(HOST_SUBDIR)/intl ; \
16739 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16740 cd $(HOST_SUBDIR)/intl || exit 1; \
16741 case $(srcdir) in \
16742 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16743 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16744 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16745 esac; \
16746 module_srcdir=intl; \
16747 $(SHELL) $$s/$$module_srcdir/configure \
16748 --srcdir=$${topdir}/$$module_srcdir \
16749 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16750 --target=${target_alias} \
16751 --with-build-libsubdir=$(HOST_SUBDIR) \
16752 $(STAGE2_CONFIGURE_FLAGS)
16753 @endif intl-bootstrap
16755 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
16756 maybe-configure-stage3-intl:
16757 @if intl-bootstrap
16758 maybe-configure-stage3-intl: configure-stage3-intl
16759 configure-stage3-intl:
16760 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
16761 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16762 @r=`${PWD_COMMAND}`; export r; \
16763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16764 TFLAGS="$(STAGE3_TFLAGS)"; \
16765 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16766 $(HOST_EXPORTS) \
16767 $(POSTSTAGE1_HOST_EXPORTS) \
16768 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
16769 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
16770 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
16771 echo Configuring stage 3 in $(HOST_SUBDIR)/intl ; \
16772 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16773 cd $(HOST_SUBDIR)/intl || exit 1; \
16774 case $(srcdir) in \
16775 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16776 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16777 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16778 esac; \
16779 module_srcdir=intl; \
16780 $(SHELL) $$s/$$module_srcdir/configure \
16781 --srcdir=$${topdir}/$$module_srcdir \
16782 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16783 --target=${target_alias} \
16784 --with-build-libsubdir=$(HOST_SUBDIR) \
16785 $(STAGE3_CONFIGURE_FLAGS)
16786 @endif intl-bootstrap
16788 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
16789 maybe-configure-stage4-intl:
16790 @if intl-bootstrap
16791 maybe-configure-stage4-intl: configure-stage4-intl
16792 configure-stage4-intl:
16793 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
16794 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16795 @r=`${PWD_COMMAND}`; export r; \
16796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16797 TFLAGS="$(STAGE4_TFLAGS)"; \
16798 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16799 $(HOST_EXPORTS) \
16800 $(POSTSTAGE1_HOST_EXPORTS) \
16801 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
16802 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
16803 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
16804 echo Configuring stage 4 in $(HOST_SUBDIR)/intl ; \
16805 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16806 cd $(HOST_SUBDIR)/intl || exit 1; \
16807 case $(srcdir) in \
16808 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16809 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16810 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16811 esac; \
16812 module_srcdir=intl; \
16813 $(SHELL) $$s/$$module_srcdir/configure \
16814 --srcdir=$${topdir}/$$module_srcdir \
16815 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16816 --target=${target_alias} \
16817 --with-build-libsubdir=$(HOST_SUBDIR) \
16818 $(STAGE4_CONFIGURE_FLAGS)
16819 @endif intl-bootstrap
16821 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
16822 maybe-configure-stageprofile-intl:
16823 @if intl-bootstrap
16824 maybe-configure-stageprofile-intl: configure-stageprofile-intl
16825 configure-stageprofile-intl:
16826 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
16827 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16828 @r=`${PWD_COMMAND}`; export r; \
16829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16830 TFLAGS="$(STAGEprofile_TFLAGS)"; \
16831 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16832 $(HOST_EXPORTS) \
16833 $(POSTSTAGE1_HOST_EXPORTS) \
16834 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
16835 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
16836 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
16837 echo Configuring stage profile in $(HOST_SUBDIR)/intl ; \
16838 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16839 cd $(HOST_SUBDIR)/intl || exit 1; \
16840 case $(srcdir) in \
16841 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16842 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16843 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16844 esac; \
16845 module_srcdir=intl; \
16846 $(SHELL) $$s/$$module_srcdir/configure \
16847 --srcdir=$${topdir}/$$module_srcdir \
16848 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16849 --target=${target_alias} \
16850 --with-build-libsubdir=$(HOST_SUBDIR) \
16851 $(STAGEprofile_CONFIGURE_FLAGS)
16852 @endif intl-bootstrap
16854 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
16855 maybe-configure-stagefeedback-intl:
16856 @if intl-bootstrap
16857 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
16858 configure-stagefeedback-intl:
16859 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
16860 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
16861 @r=`${PWD_COMMAND}`; export r; \
16862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16863 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
16864 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
16865 $(HOST_EXPORTS) \
16866 $(POSTSTAGE1_HOST_EXPORTS) \
16867 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
16868 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
16869 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
16870 echo Configuring stage feedback in $(HOST_SUBDIR)/intl ; \
16871 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
16872 cd $(HOST_SUBDIR)/intl || exit 1; \
16873 case $(srcdir) in \
16874 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16875 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
16876 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16877 esac; \
16878 module_srcdir=intl; \
16879 $(SHELL) $$s/$$module_srcdir/configure \
16880 --srcdir=$${topdir}/$$module_srcdir \
16881 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
16882 --target=${target_alias} \
16883 --with-build-libsubdir=$(HOST_SUBDIR) \
16884 $(STAGEfeedback_CONFIGURE_FLAGS)
16885 @endif intl-bootstrap
16891 .PHONY: all-intl maybe-all-intl
16892 maybe-all-intl:
16893 @if gcc-bootstrap
16894 all-intl: stage_current
16895 @endif gcc-bootstrap
16896 @if intl
16897 TARGET-intl=all
16898 maybe-all-intl: all-intl
16899 all-intl: configure-intl
16900 @r=`${PWD_COMMAND}`; export r; \
16901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16902 $(HOST_EXPORTS) \
16903 (cd $(HOST_SUBDIR)/intl && \
16904 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
16905 $(TARGET-intl))
16906 @endif intl
16910 .PHONY: all-stage1-intl maybe-all-stage1-intl
16911 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
16912 maybe-all-stage1-intl:
16913 maybe-clean-stage1-intl:
16914 @if intl-bootstrap
16915 maybe-all-stage1-intl: all-stage1-intl
16916 all-stage1: all-stage1-intl
16917 TARGET-stage1-intl = $(TARGET-intl)
16918 all-stage1-intl: configure-stage1-intl
16919 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
16920 @r=`${PWD_COMMAND}`; export r; \
16921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16922 TFLAGS="$(STAGE1_TFLAGS)"; \
16923 $(HOST_EXPORTS) \
16924 cd $(HOST_SUBDIR)/intl && \
16925 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16926 CFLAGS="$(STAGE1_CFLAGS)" \
16927 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
16928 LIBCFLAGS="$(LIBCFLAGS)" \
16929 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16930 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16931 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16932 $(EXTRA_HOST_FLAGS) \
16933 $(STAGE1_FLAGS_TO_PASS) \
16934 TFLAGS="$(STAGE1_TFLAGS)" \
16935 $(TARGET-stage1-intl)
16937 maybe-clean-stage1-intl: clean-stage1-intl
16938 clean-stage1: clean-stage1-intl
16939 clean-stage1-intl:
16940 @if [ $(current_stage) = stage1 ]; then \
16941 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
16942 else \
16943 [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] || exit 0; \
16944 $(MAKE) stage1-start; \
16945 fi; \
16946 cd $(HOST_SUBDIR)/intl && \
16947 $(MAKE) $(EXTRA_HOST_FLAGS) \
16948 $(STAGE1_FLAGS_TO_PASS) clean
16949 @endif intl-bootstrap
16952 .PHONY: all-stage2-intl maybe-all-stage2-intl
16953 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
16954 maybe-all-stage2-intl:
16955 maybe-clean-stage2-intl:
16956 @if intl-bootstrap
16957 maybe-all-stage2-intl: all-stage2-intl
16958 all-stage2: all-stage2-intl
16959 TARGET-stage2-intl = $(TARGET-intl)
16960 all-stage2-intl: configure-stage2-intl
16961 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
16962 @r=`${PWD_COMMAND}`; export r; \
16963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16964 TFLAGS="$(STAGE2_TFLAGS)"; \
16965 $(HOST_EXPORTS) \
16966 $(POSTSTAGE1_HOST_EXPORTS) \
16967 cd $(HOST_SUBDIR)/intl && \
16968 $(MAKE) $(BASE_FLAGS_TO_PASS) \
16969 CFLAGS="$(STAGE2_CFLAGS)" \
16970 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
16971 LIBCFLAGS="$(STAGE2_CFLAGS)" \
16972 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
16973 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
16974 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
16975 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16976 TFLAGS="$(STAGE2_TFLAGS)" \
16977 $(TARGET-stage2-intl)
16979 maybe-clean-stage2-intl: clean-stage2-intl
16980 clean-stage2: clean-stage2-intl
16981 clean-stage2-intl:
16982 @if [ $(current_stage) = stage2 ]; then \
16983 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
16984 else \
16985 [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] || exit 0; \
16986 $(MAKE) stage2-start; \
16987 fi; \
16988 cd $(HOST_SUBDIR)/intl && \
16989 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
16990 @endif intl-bootstrap
16993 .PHONY: all-stage3-intl maybe-all-stage3-intl
16994 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
16995 maybe-all-stage3-intl:
16996 maybe-clean-stage3-intl:
16997 @if intl-bootstrap
16998 maybe-all-stage3-intl: all-stage3-intl
16999 all-stage3: all-stage3-intl
17000 TARGET-stage3-intl = $(TARGET-intl)
17001 all-stage3-intl: configure-stage3-intl
17002 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
17003 @r=`${PWD_COMMAND}`; export r; \
17004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17005 TFLAGS="$(STAGE3_TFLAGS)"; \
17006 $(HOST_EXPORTS) \
17007 $(POSTSTAGE1_HOST_EXPORTS) \
17008 cd $(HOST_SUBDIR)/intl && \
17009 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17010 CFLAGS="$(STAGE3_CFLAGS)" \
17011 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
17012 LIBCFLAGS="$(STAGE3_CFLAGS)" \
17013 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17014 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17015 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17016 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17017 TFLAGS="$(STAGE3_TFLAGS)" \
17018 $(TARGET-stage3-intl)
17020 maybe-clean-stage3-intl: clean-stage3-intl
17021 clean-stage3: clean-stage3-intl
17022 clean-stage3-intl:
17023 @if [ $(current_stage) = stage3 ]; then \
17024 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17025 else \
17026 [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] || exit 0; \
17027 $(MAKE) stage3-start; \
17028 fi; \
17029 cd $(HOST_SUBDIR)/intl && \
17030 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17031 @endif intl-bootstrap
17034 .PHONY: all-stage4-intl maybe-all-stage4-intl
17035 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
17036 maybe-all-stage4-intl:
17037 maybe-clean-stage4-intl:
17038 @if intl-bootstrap
17039 maybe-all-stage4-intl: all-stage4-intl
17040 all-stage4: all-stage4-intl
17041 TARGET-stage4-intl = $(TARGET-intl)
17042 all-stage4-intl: configure-stage4-intl
17043 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
17044 @r=`${PWD_COMMAND}`; export r; \
17045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17046 TFLAGS="$(STAGE4_TFLAGS)"; \
17047 $(HOST_EXPORTS) \
17048 $(POSTSTAGE1_HOST_EXPORTS) \
17049 cd $(HOST_SUBDIR)/intl && \
17050 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17051 CFLAGS="$(STAGE4_CFLAGS)" \
17052 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
17053 LIBCFLAGS="$(STAGE4_CFLAGS)" \
17054 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17055 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17056 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17057 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17058 TFLAGS="$(STAGE4_TFLAGS)" \
17059 $(TARGET-stage4-intl)
17061 maybe-clean-stage4-intl: clean-stage4-intl
17062 clean-stage4: clean-stage4-intl
17063 clean-stage4-intl:
17064 @if [ $(current_stage) = stage4 ]; then \
17065 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17066 else \
17067 [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] || exit 0; \
17068 $(MAKE) stage4-start; \
17069 fi; \
17070 cd $(HOST_SUBDIR)/intl && \
17071 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17072 @endif intl-bootstrap
17075 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
17076 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
17077 maybe-all-stageprofile-intl:
17078 maybe-clean-stageprofile-intl:
17079 @if intl-bootstrap
17080 maybe-all-stageprofile-intl: all-stageprofile-intl
17081 all-stageprofile: all-stageprofile-intl
17082 TARGET-stageprofile-intl = $(TARGET-intl)
17083 all-stageprofile-intl: configure-stageprofile-intl
17084 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
17085 @r=`${PWD_COMMAND}`; export r; \
17086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17087 TFLAGS="$(STAGEprofile_TFLAGS)"; \
17088 $(HOST_EXPORTS) \
17089 $(POSTSTAGE1_HOST_EXPORTS) \
17090 cd $(HOST_SUBDIR)/intl && \
17091 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17092 CFLAGS="$(STAGEprofile_CFLAGS)" \
17093 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
17094 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
17095 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17096 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17097 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17098 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17099 TFLAGS="$(STAGEprofile_TFLAGS)" \
17100 $(TARGET-stageprofile-intl)
17102 maybe-clean-stageprofile-intl: clean-stageprofile-intl
17103 clean-stageprofile: clean-stageprofile-intl
17104 clean-stageprofile-intl:
17105 @if [ $(current_stage) = stageprofile ]; then \
17106 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17107 else \
17108 [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] || exit 0; \
17109 $(MAKE) stageprofile-start; \
17110 fi; \
17111 cd $(HOST_SUBDIR)/intl && \
17112 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17113 @endif intl-bootstrap
17116 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
17117 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
17118 maybe-all-stagefeedback-intl:
17119 maybe-clean-stagefeedback-intl:
17120 @if intl-bootstrap
17121 maybe-all-stagefeedback-intl: all-stagefeedback-intl
17122 all-stagefeedback: all-stagefeedback-intl
17123 TARGET-stagefeedback-intl = $(TARGET-intl)
17124 all-stagefeedback-intl: configure-stagefeedback-intl
17125 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
17126 @r=`${PWD_COMMAND}`; export r; \
17127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17128 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
17129 $(HOST_EXPORTS) \
17130 $(POSTSTAGE1_HOST_EXPORTS) \
17131 cd $(HOST_SUBDIR)/intl && \
17132 $(MAKE) $(BASE_FLAGS_TO_PASS) \
17133 CFLAGS="$(STAGEfeedback_CFLAGS)" \
17134 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
17135 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
17136 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
17137 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
17138 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
17139 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17140 TFLAGS="$(STAGEfeedback_TFLAGS)" \
17141 $(TARGET-stagefeedback-intl)
17143 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
17144 clean-stagefeedback: clean-stagefeedback-intl
17145 clean-stagefeedback-intl:
17146 @if [ $(current_stage) = stagefeedback ]; then \
17147 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
17148 else \
17149 [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] || exit 0; \
17150 $(MAKE) stagefeedback-start; \
17151 fi; \
17152 cd $(HOST_SUBDIR)/intl && \
17153 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
17154 @endif intl-bootstrap
17160 .PHONY: check-intl maybe-check-intl
17161 maybe-check-intl:
17162 @if intl
17163 maybe-check-intl: check-intl
17165 check-intl:
17166 @: $(MAKE); $(unstage)
17167 @r=`${PWD_COMMAND}`; export r; \
17168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17169 $(HOST_EXPORTS) \
17170 (cd $(HOST_SUBDIR)/intl && \
17171 $(MAKE) $(FLAGS_TO_PASS) check)
17173 @endif intl
17175 .PHONY: install-intl maybe-install-intl
17176 maybe-install-intl:
17177 @if intl
17178 maybe-install-intl: install-intl
17180 install-intl: installdirs
17181 @: $(MAKE); $(unstage)
17182 @r=`${PWD_COMMAND}`; export r; \
17183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17184 $(HOST_EXPORTS) \
17185 (cd $(HOST_SUBDIR)/intl && \
17186 $(MAKE) $(FLAGS_TO_PASS) install)
17188 @endif intl
17190 .PHONY: install-strip-intl maybe-install-strip-intl
17191 maybe-install-strip-intl:
17192 @if intl
17193 maybe-install-strip-intl: install-strip-intl
17195 install-strip-intl: installdirs
17196 @: $(MAKE); $(unstage)
17197 @r=`${PWD_COMMAND}`; export r; \
17198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17199 $(HOST_EXPORTS) \
17200 (cd $(HOST_SUBDIR)/intl && \
17201 $(MAKE) $(FLAGS_TO_PASS) install-strip)
17203 @endif intl
17205 # Other targets (info, dvi, pdf, etc.)
17207 .PHONY: maybe-info-intl info-intl
17208 maybe-info-intl:
17209 @if intl
17210 maybe-info-intl: info-intl
17212 info-intl: \
17213 configure-intl
17214 @[ -f ./intl/Makefile ] || exit 0; \
17215 r=`${PWD_COMMAND}`; export r; \
17216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17217 $(HOST_EXPORTS) \
17218 for flag in $(EXTRA_HOST_FLAGS) ; do \
17219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17220 done; \
17221 echo "Doing info in intl" ; \
17222 (cd $(HOST_SUBDIR)/intl && \
17223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17225 "RANLIB=$${RANLIB}" \
17226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17227 info) \
17228 || exit 1
17230 @endif intl
17232 .PHONY: maybe-dvi-intl dvi-intl
17233 maybe-dvi-intl:
17234 @if intl
17235 maybe-dvi-intl: dvi-intl
17237 dvi-intl: \
17238 configure-intl
17239 @[ -f ./intl/Makefile ] || exit 0; \
17240 r=`${PWD_COMMAND}`; export r; \
17241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17242 $(HOST_EXPORTS) \
17243 for flag in $(EXTRA_HOST_FLAGS) ; do \
17244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17245 done; \
17246 echo "Doing dvi in intl" ; \
17247 (cd $(HOST_SUBDIR)/intl && \
17248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17250 "RANLIB=$${RANLIB}" \
17251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17252 dvi) \
17253 || exit 1
17255 @endif intl
17257 .PHONY: maybe-pdf-intl pdf-intl
17258 maybe-pdf-intl:
17259 @if intl
17260 maybe-pdf-intl: pdf-intl
17262 pdf-intl: \
17263 configure-intl
17264 @[ -f ./intl/Makefile ] || exit 0; \
17265 r=`${PWD_COMMAND}`; export r; \
17266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17267 $(HOST_EXPORTS) \
17268 for flag in $(EXTRA_HOST_FLAGS) ; do \
17269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17270 done; \
17271 echo "Doing pdf in intl" ; \
17272 (cd $(HOST_SUBDIR)/intl && \
17273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17275 "RANLIB=$${RANLIB}" \
17276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17277 pdf) \
17278 || exit 1
17280 @endif intl
17282 .PHONY: maybe-html-intl html-intl
17283 maybe-html-intl:
17284 @if intl
17285 maybe-html-intl: html-intl
17287 html-intl: \
17288 configure-intl
17289 @[ -f ./intl/Makefile ] || exit 0; \
17290 r=`${PWD_COMMAND}`; export r; \
17291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17292 $(HOST_EXPORTS) \
17293 for flag in $(EXTRA_HOST_FLAGS) ; do \
17294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17295 done; \
17296 echo "Doing html in intl" ; \
17297 (cd $(HOST_SUBDIR)/intl && \
17298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17300 "RANLIB=$${RANLIB}" \
17301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17302 html) \
17303 || exit 1
17305 @endif intl
17307 .PHONY: maybe-TAGS-intl TAGS-intl
17308 maybe-TAGS-intl:
17309 @if intl
17310 maybe-TAGS-intl: TAGS-intl
17312 TAGS-intl: \
17313 configure-intl
17314 @[ -f ./intl/Makefile ] || exit 0; \
17315 r=`${PWD_COMMAND}`; export r; \
17316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17317 $(HOST_EXPORTS) \
17318 for flag in $(EXTRA_HOST_FLAGS) ; do \
17319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17320 done; \
17321 echo "Doing TAGS in intl" ; \
17322 (cd $(HOST_SUBDIR)/intl && \
17323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17325 "RANLIB=$${RANLIB}" \
17326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17327 TAGS) \
17328 || exit 1
17330 @endif intl
17332 .PHONY: maybe-install-info-intl install-info-intl
17333 maybe-install-info-intl:
17334 @if intl
17335 maybe-install-info-intl: install-info-intl
17337 install-info-intl: \
17338 configure-intl \
17339 info-intl
17340 @[ -f ./intl/Makefile ] || exit 0; \
17341 r=`${PWD_COMMAND}`; export r; \
17342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17343 $(HOST_EXPORTS) \
17344 for flag in $(EXTRA_HOST_FLAGS) ; do \
17345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17346 done; \
17347 echo "Doing install-info in intl" ; \
17348 (cd $(HOST_SUBDIR)/intl && \
17349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17351 "RANLIB=$${RANLIB}" \
17352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17353 install-info) \
17354 || exit 1
17356 @endif intl
17358 .PHONY: maybe-install-pdf-intl install-pdf-intl
17359 maybe-install-pdf-intl:
17360 @if intl
17361 maybe-install-pdf-intl: install-pdf-intl
17363 install-pdf-intl: \
17364 configure-intl \
17365 pdf-intl
17366 @[ -f ./intl/Makefile ] || exit 0; \
17367 r=`${PWD_COMMAND}`; export r; \
17368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17369 $(HOST_EXPORTS) \
17370 for flag in $(EXTRA_HOST_FLAGS) ; do \
17371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17372 done; \
17373 echo "Doing install-pdf in intl" ; \
17374 (cd $(HOST_SUBDIR)/intl && \
17375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17377 "RANLIB=$${RANLIB}" \
17378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17379 install-pdf) \
17380 || exit 1
17382 @endif intl
17384 .PHONY: maybe-install-html-intl install-html-intl
17385 maybe-install-html-intl:
17386 @if intl
17387 maybe-install-html-intl: install-html-intl
17389 install-html-intl: \
17390 configure-intl \
17391 html-intl
17392 @[ -f ./intl/Makefile ] || exit 0; \
17393 r=`${PWD_COMMAND}`; export r; \
17394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17395 $(HOST_EXPORTS) \
17396 for flag in $(EXTRA_HOST_FLAGS) ; do \
17397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17398 done; \
17399 echo "Doing install-html in intl" ; \
17400 (cd $(HOST_SUBDIR)/intl && \
17401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17403 "RANLIB=$${RANLIB}" \
17404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17405 install-html) \
17406 || exit 1
17408 @endif intl
17410 .PHONY: maybe-installcheck-intl installcheck-intl
17411 maybe-installcheck-intl:
17412 @if intl
17413 maybe-installcheck-intl: installcheck-intl
17415 installcheck-intl: \
17416 configure-intl
17417 @[ -f ./intl/Makefile ] || exit 0; \
17418 r=`${PWD_COMMAND}`; export r; \
17419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17420 $(HOST_EXPORTS) \
17421 for flag in $(EXTRA_HOST_FLAGS) ; do \
17422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17423 done; \
17424 echo "Doing installcheck in intl" ; \
17425 (cd $(HOST_SUBDIR)/intl && \
17426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17428 "RANLIB=$${RANLIB}" \
17429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17430 installcheck) \
17431 || exit 1
17433 @endif intl
17435 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
17436 maybe-mostlyclean-intl:
17437 @if intl
17438 maybe-mostlyclean-intl: mostlyclean-intl
17440 mostlyclean-intl:
17441 @[ -f ./intl/Makefile ] || exit 0; \
17442 r=`${PWD_COMMAND}`; export r; \
17443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17444 $(HOST_EXPORTS) \
17445 for flag in $(EXTRA_HOST_FLAGS) ; do \
17446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17447 done; \
17448 echo "Doing mostlyclean in intl" ; \
17449 (cd $(HOST_SUBDIR)/intl && \
17450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17452 "RANLIB=$${RANLIB}" \
17453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17454 mostlyclean) \
17455 || exit 1
17457 @endif intl
17459 .PHONY: maybe-clean-intl clean-intl
17460 maybe-clean-intl:
17461 @if intl
17462 maybe-clean-intl: clean-intl
17464 clean-intl:
17465 @[ -f ./intl/Makefile ] || exit 0; \
17466 r=`${PWD_COMMAND}`; export r; \
17467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17468 $(HOST_EXPORTS) \
17469 for flag in $(EXTRA_HOST_FLAGS) ; do \
17470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17471 done; \
17472 echo "Doing clean in intl" ; \
17473 (cd $(HOST_SUBDIR)/intl && \
17474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17476 "RANLIB=$${RANLIB}" \
17477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17478 clean) \
17479 || exit 1
17481 @endif intl
17483 .PHONY: maybe-distclean-intl distclean-intl
17484 maybe-distclean-intl:
17485 @if intl
17486 maybe-distclean-intl: distclean-intl
17488 distclean-intl:
17489 @[ -f ./intl/Makefile ] || exit 0; \
17490 r=`${PWD_COMMAND}`; export r; \
17491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17492 $(HOST_EXPORTS) \
17493 for flag in $(EXTRA_HOST_FLAGS) ; do \
17494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17495 done; \
17496 echo "Doing distclean in intl" ; \
17497 (cd $(HOST_SUBDIR)/intl && \
17498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17500 "RANLIB=$${RANLIB}" \
17501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17502 distclean) \
17503 || exit 1
17505 @endif intl
17507 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
17508 maybe-maintainer-clean-intl:
17509 @if intl
17510 maybe-maintainer-clean-intl: maintainer-clean-intl
17512 maintainer-clean-intl:
17513 @[ -f ./intl/Makefile ] || exit 0; \
17514 r=`${PWD_COMMAND}`; export r; \
17515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17516 $(HOST_EXPORTS) \
17517 for flag in $(EXTRA_HOST_FLAGS) ; do \
17518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17519 done; \
17520 echo "Doing maintainer-clean in intl" ; \
17521 (cd $(HOST_SUBDIR)/intl && \
17522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17524 "RANLIB=$${RANLIB}" \
17525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17526 maintainer-clean) \
17527 || exit 1
17529 @endif intl
17533 .PHONY: configure-tcl maybe-configure-tcl
17534 maybe-configure-tcl:
17535 @if gcc-bootstrap
17536 configure-tcl: stage_current
17537 @endif gcc-bootstrap
17538 @if tcl
17539 maybe-configure-tcl: configure-tcl
17540 configure-tcl:
17541 @: $(MAKE); $(unstage)
17542 @r=`${PWD_COMMAND}`; export r; \
17543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17544 test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
17545 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl ; \
17546 $(HOST_EXPORTS) \
17547 echo Configuring in $(HOST_SUBDIR)/tcl; \
17548 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
17549 case $(srcdir) in \
17550 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17551 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
17552 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17553 esac; \
17554 module_srcdir=tcl; \
17555 $(SHELL) \
17556 $$s/$$module_srcdir/configure \
17557 --srcdir=$${topdir}/$$module_srcdir \
17558 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17559 --target=${target_alias} \
17560 || exit 1
17561 @endif tcl
17567 .PHONY: all-tcl maybe-all-tcl
17568 maybe-all-tcl:
17569 @if gcc-bootstrap
17570 all-tcl: stage_current
17571 @endif gcc-bootstrap
17572 @if tcl
17573 TARGET-tcl=all
17574 maybe-all-tcl: all-tcl
17575 all-tcl: configure-tcl
17576 @: $(MAKE); $(unstage)
17577 @r=`${PWD_COMMAND}`; export r; \
17578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17579 $(HOST_EXPORTS) \
17580 (cd $(HOST_SUBDIR)/tcl && \
17581 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
17582 $(TARGET-tcl))
17583 @endif tcl
17588 .PHONY: check-tcl maybe-check-tcl
17589 maybe-check-tcl:
17590 @if tcl
17591 maybe-check-tcl: check-tcl
17593 check-tcl:
17594 @: $(MAKE); $(unstage)
17595 @r=`${PWD_COMMAND}`; export r; \
17596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17597 $(HOST_EXPORTS) \
17598 (cd $(HOST_SUBDIR)/tcl && \
17599 $(MAKE) $(FLAGS_TO_PASS) check)
17601 @endif tcl
17603 .PHONY: install-tcl maybe-install-tcl
17604 maybe-install-tcl:
17605 @if tcl
17606 maybe-install-tcl: install-tcl
17608 install-tcl: installdirs
17609 @: $(MAKE); $(unstage)
17610 @r=`${PWD_COMMAND}`; export r; \
17611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17612 $(HOST_EXPORTS) \
17613 (cd $(HOST_SUBDIR)/tcl && \
17614 $(MAKE) $(FLAGS_TO_PASS) install)
17616 @endif tcl
17618 .PHONY: install-strip-tcl maybe-install-strip-tcl
17619 maybe-install-strip-tcl:
17620 @if tcl
17621 maybe-install-strip-tcl: install-strip-tcl
17623 install-strip-tcl: installdirs
17624 @: $(MAKE); $(unstage)
17625 @r=`${PWD_COMMAND}`; export r; \
17626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17627 $(HOST_EXPORTS) \
17628 (cd $(HOST_SUBDIR)/tcl && \
17629 $(MAKE) $(FLAGS_TO_PASS) install-strip)
17631 @endif tcl
17633 # Other targets (info, dvi, pdf, etc.)
17635 .PHONY: maybe-info-tcl info-tcl
17636 maybe-info-tcl:
17637 @if tcl
17638 maybe-info-tcl: info-tcl
17640 info-tcl: \
17641 configure-tcl
17642 @: $(MAKE); $(unstage)
17643 @[ -f ./tcl/Makefile ] || exit 0; \
17644 r=`${PWD_COMMAND}`; export r; \
17645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17646 $(HOST_EXPORTS) \
17647 for flag in $(EXTRA_HOST_FLAGS) ; do \
17648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17649 done; \
17650 echo "Doing info in tcl" ; \
17651 (cd $(HOST_SUBDIR)/tcl && \
17652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17654 "RANLIB=$${RANLIB}" \
17655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17656 info) \
17657 || exit 1
17659 @endif tcl
17661 .PHONY: maybe-dvi-tcl dvi-tcl
17662 maybe-dvi-tcl:
17663 @if tcl
17664 maybe-dvi-tcl: dvi-tcl
17666 dvi-tcl: \
17667 configure-tcl
17668 @: $(MAKE); $(unstage)
17669 @[ -f ./tcl/Makefile ] || exit 0; \
17670 r=`${PWD_COMMAND}`; export r; \
17671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17672 $(HOST_EXPORTS) \
17673 for flag in $(EXTRA_HOST_FLAGS) ; do \
17674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17675 done; \
17676 echo "Doing dvi in tcl" ; \
17677 (cd $(HOST_SUBDIR)/tcl && \
17678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17680 "RANLIB=$${RANLIB}" \
17681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17682 dvi) \
17683 || exit 1
17685 @endif tcl
17687 .PHONY: maybe-pdf-tcl pdf-tcl
17688 maybe-pdf-tcl:
17689 @if tcl
17690 maybe-pdf-tcl: pdf-tcl
17692 pdf-tcl: \
17693 configure-tcl
17694 @: $(MAKE); $(unstage)
17695 @[ -f ./tcl/Makefile ] || exit 0; \
17696 r=`${PWD_COMMAND}`; export r; \
17697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17698 $(HOST_EXPORTS) \
17699 for flag in $(EXTRA_HOST_FLAGS) ; do \
17700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17701 done; \
17702 echo "Doing pdf in tcl" ; \
17703 (cd $(HOST_SUBDIR)/tcl && \
17704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17706 "RANLIB=$${RANLIB}" \
17707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17708 pdf) \
17709 || exit 1
17711 @endif tcl
17713 .PHONY: maybe-html-tcl html-tcl
17714 maybe-html-tcl:
17715 @if tcl
17716 maybe-html-tcl: html-tcl
17718 html-tcl: \
17719 configure-tcl
17720 @: $(MAKE); $(unstage)
17721 @[ -f ./tcl/Makefile ] || exit 0; \
17722 r=`${PWD_COMMAND}`; export r; \
17723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17724 $(HOST_EXPORTS) \
17725 for flag in $(EXTRA_HOST_FLAGS) ; do \
17726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17727 done; \
17728 echo "Doing html in tcl" ; \
17729 (cd $(HOST_SUBDIR)/tcl && \
17730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17732 "RANLIB=$${RANLIB}" \
17733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17734 html) \
17735 || exit 1
17737 @endif tcl
17739 .PHONY: maybe-TAGS-tcl TAGS-tcl
17740 maybe-TAGS-tcl:
17741 @if tcl
17742 maybe-TAGS-tcl: TAGS-tcl
17744 TAGS-tcl: \
17745 configure-tcl
17746 @: $(MAKE); $(unstage)
17747 @[ -f ./tcl/Makefile ] || exit 0; \
17748 r=`${PWD_COMMAND}`; export r; \
17749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17750 $(HOST_EXPORTS) \
17751 for flag in $(EXTRA_HOST_FLAGS) ; do \
17752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17753 done; \
17754 echo "Doing TAGS in tcl" ; \
17755 (cd $(HOST_SUBDIR)/tcl && \
17756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17758 "RANLIB=$${RANLIB}" \
17759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17760 TAGS) \
17761 || exit 1
17763 @endif tcl
17765 .PHONY: maybe-install-info-tcl install-info-tcl
17766 maybe-install-info-tcl:
17767 @if tcl
17768 maybe-install-info-tcl: install-info-tcl
17770 install-info-tcl: \
17771 configure-tcl \
17772 info-tcl
17773 @: $(MAKE); $(unstage)
17774 @[ -f ./tcl/Makefile ] || exit 0; \
17775 r=`${PWD_COMMAND}`; export r; \
17776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17777 $(HOST_EXPORTS) \
17778 for flag in $(EXTRA_HOST_FLAGS) ; do \
17779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17780 done; \
17781 echo "Doing install-info in tcl" ; \
17782 (cd $(HOST_SUBDIR)/tcl && \
17783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17785 "RANLIB=$${RANLIB}" \
17786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17787 install-info) \
17788 || exit 1
17790 @endif tcl
17792 .PHONY: maybe-install-pdf-tcl install-pdf-tcl
17793 maybe-install-pdf-tcl:
17794 @if tcl
17795 maybe-install-pdf-tcl: install-pdf-tcl
17797 install-pdf-tcl: \
17798 configure-tcl \
17799 pdf-tcl
17800 @: $(MAKE); $(unstage)
17801 @[ -f ./tcl/Makefile ] || exit 0; \
17802 r=`${PWD_COMMAND}`; export r; \
17803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17804 $(HOST_EXPORTS) \
17805 for flag in $(EXTRA_HOST_FLAGS) ; do \
17806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17807 done; \
17808 echo "Doing install-pdf in tcl" ; \
17809 (cd $(HOST_SUBDIR)/tcl && \
17810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17812 "RANLIB=$${RANLIB}" \
17813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17814 install-pdf) \
17815 || exit 1
17817 @endif tcl
17819 .PHONY: maybe-install-html-tcl install-html-tcl
17820 maybe-install-html-tcl:
17821 @if tcl
17822 maybe-install-html-tcl: install-html-tcl
17824 install-html-tcl: \
17825 configure-tcl \
17826 html-tcl
17827 @: $(MAKE); $(unstage)
17828 @[ -f ./tcl/Makefile ] || exit 0; \
17829 r=`${PWD_COMMAND}`; export r; \
17830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17831 $(HOST_EXPORTS) \
17832 for flag in $(EXTRA_HOST_FLAGS) ; do \
17833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17834 done; \
17835 echo "Doing install-html in tcl" ; \
17836 (cd $(HOST_SUBDIR)/tcl && \
17837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17839 "RANLIB=$${RANLIB}" \
17840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17841 install-html) \
17842 || exit 1
17844 @endif tcl
17846 .PHONY: maybe-installcheck-tcl installcheck-tcl
17847 maybe-installcheck-tcl:
17848 @if tcl
17849 maybe-installcheck-tcl: installcheck-tcl
17851 installcheck-tcl: \
17852 configure-tcl
17853 @: $(MAKE); $(unstage)
17854 @[ -f ./tcl/Makefile ] || exit 0; \
17855 r=`${PWD_COMMAND}`; export r; \
17856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17857 $(HOST_EXPORTS) \
17858 for flag in $(EXTRA_HOST_FLAGS) ; do \
17859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17860 done; \
17861 echo "Doing installcheck in tcl" ; \
17862 (cd $(HOST_SUBDIR)/tcl && \
17863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17865 "RANLIB=$${RANLIB}" \
17866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17867 installcheck) \
17868 || exit 1
17870 @endif tcl
17872 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
17873 maybe-mostlyclean-tcl:
17874 @if tcl
17875 maybe-mostlyclean-tcl: mostlyclean-tcl
17877 # tcl doesn't support mostlyclean.
17878 mostlyclean-tcl:
17880 @endif tcl
17882 .PHONY: maybe-clean-tcl clean-tcl
17883 maybe-clean-tcl:
17884 @if tcl
17885 maybe-clean-tcl: clean-tcl
17887 clean-tcl:
17888 @: $(MAKE); $(unstage)
17889 @[ -f ./tcl/Makefile ] || exit 0; \
17890 r=`${PWD_COMMAND}`; export r; \
17891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17892 $(HOST_EXPORTS) \
17893 for flag in $(EXTRA_HOST_FLAGS) ; do \
17894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17895 done; \
17896 echo "Doing clean in tcl" ; \
17897 (cd $(HOST_SUBDIR)/tcl && \
17898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17900 "RANLIB=$${RANLIB}" \
17901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17902 clean) \
17903 || exit 1
17905 @endif tcl
17907 .PHONY: maybe-distclean-tcl distclean-tcl
17908 maybe-distclean-tcl:
17909 @if tcl
17910 maybe-distclean-tcl: distclean-tcl
17912 distclean-tcl:
17913 @: $(MAKE); $(unstage)
17914 @[ -f ./tcl/Makefile ] || exit 0; \
17915 r=`${PWD_COMMAND}`; export r; \
17916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17917 $(HOST_EXPORTS) \
17918 for flag in $(EXTRA_HOST_FLAGS) ; do \
17919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17920 done; \
17921 echo "Doing distclean in tcl" ; \
17922 (cd $(HOST_SUBDIR)/tcl && \
17923 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17924 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17925 "RANLIB=$${RANLIB}" \
17926 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17927 distclean) \
17928 || exit 1
17930 @endif tcl
17932 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
17933 maybe-maintainer-clean-tcl:
17934 @if tcl
17935 maybe-maintainer-clean-tcl: maintainer-clean-tcl
17937 maintainer-clean-tcl:
17938 @: $(MAKE); $(unstage)
17939 @[ -f ./tcl/Makefile ] || exit 0; \
17940 r=`${PWD_COMMAND}`; export r; \
17941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17942 $(HOST_EXPORTS) \
17943 for flag in $(EXTRA_HOST_FLAGS) ; do \
17944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17945 done; \
17946 echo "Doing maintainer-clean in tcl" ; \
17947 (cd $(HOST_SUBDIR)/tcl && \
17948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17950 "RANLIB=$${RANLIB}" \
17951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
17952 maintainer-clean) \
17953 || exit 1
17955 @endif tcl
17959 .PHONY: configure-itcl maybe-configure-itcl
17960 maybe-configure-itcl:
17961 @if gcc-bootstrap
17962 configure-itcl: stage_current
17963 @endif gcc-bootstrap
17964 @if itcl
17965 maybe-configure-itcl: configure-itcl
17966 configure-itcl:
17967 @: $(MAKE); $(unstage)
17968 @r=`${PWD_COMMAND}`; export r; \
17969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17970 test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
17971 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl ; \
17972 $(HOST_EXPORTS) \
17973 echo Configuring in $(HOST_SUBDIR)/itcl; \
17974 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
17975 case $(srcdir) in \
17976 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17977 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
17978 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17979 esac; \
17980 module_srcdir=itcl; \
17981 $(SHELL) \
17982 $$s/$$module_srcdir/configure \
17983 --srcdir=$${topdir}/$$module_srcdir \
17984 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
17985 --target=${target_alias} \
17986 || exit 1
17987 @endif itcl
17993 .PHONY: all-itcl maybe-all-itcl
17994 maybe-all-itcl:
17995 @if gcc-bootstrap
17996 all-itcl: stage_current
17997 @endif gcc-bootstrap
17998 @if itcl
17999 TARGET-itcl=all
18000 maybe-all-itcl: all-itcl
18001 all-itcl: configure-itcl
18002 @: $(MAKE); $(unstage)
18003 @r=`${PWD_COMMAND}`; export r; \
18004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18005 $(HOST_EXPORTS) \
18006 (cd $(HOST_SUBDIR)/itcl && \
18007 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
18008 $(TARGET-itcl))
18009 @endif itcl
18014 .PHONY: check-itcl maybe-check-itcl
18015 maybe-check-itcl:
18016 @if itcl
18017 maybe-check-itcl: check-itcl
18019 check-itcl:
18020 @: $(MAKE); $(unstage)
18021 @r=`${PWD_COMMAND}`; export r; \
18022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18023 $(HOST_EXPORTS) \
18024 (cd $(HOST_SUBDIR)/itcl && \
18025 $(MAKE) $(FLAGS_TO_PASS) check)
18027 @endif itcl
18029 .PHONY: install-itcl maybe-install-itcl
18030 maybe-install-itcl:
18031 @if itcl
18032 maybe-install-itcl: install-itcl
18034 install-itcl: installdirs
18035 @: $(MAKE); $(unstage)
18036 @r=`${PWD_COMMAND}`; export r; \
18037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18038 $(HOST_EXPORTS) \
18039 (cd $(HOST_SUBDIR)/itcl && \
18040 $(MAKE) $(FLAGS_TO_PASS) install)
18042 @endif itcl
18044 .PHONY: install-strip-itcl maybe-install-strip-itcl
18045 maybe-install-strip-itcl:
18046 @if itcl
18047 maybe-install-strip-itcl: install-strip-itcl
18049 install-strip-itcl: installdirs
18050 @: $(MAKE); $(unstage)
18051 @r=`${PWD_COMMAND}`; export r; \
18052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18053 $(HOST_EXPORTS) \
18054 (cd $(HOST_SUBDIR)/itcl && \
18055 $(MAKE) $(FLAGS_TO_PASS) install-strip)
18057 @endif itcl
18059 # Other targets (info, dvi, pdf, etc.)
18061 .PHONY: maybe-info-itcl info-itcl
18062 maybe-info-itcl:
18063 @if itcl
18064 maybe-info-itcl: info-itcl
18066 info-itcl: \
18067 configure-itcl
18068 @: $(MAKE); $(unstage)
18069 @[ -f ./itcl/Makefile ] || exit 0; \
18070 r=`${PWD_COMMAND}`; export r; \
18071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18072 $(HOST_EXPORTS) \
18073 for flag in $(EXTRA_HOST_FLAGS) ; do \
18074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18075 done; \
18076 echo "Doing info in itcl" ; \
18077 (cd $(HOST_SUBDIR)/itcl && \
18078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18080 "RANLIB=$${RANLIB}" \
18081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18082 info) \
18083 || exit 1
18085 @endif itcl
18087 .PHONY: maybe-dvi-itcl dvi-itcl
18088 maybe-dvi-itcl:
18089 @if itcl
18090 maybe-dvi-itcl: dvi-itcl
18092 dvi-itcl: \
18093 configure-itcl
18094 @: $(MAKE); $(unstage)
18095 @[ -f ./itcl/Makefile ] || exit 0; \
18096 r=`${PWD_COMMAND}`; export r; \
18097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18098 $(HOST_EXPORTS) \
18099 for flag in $(EXTRA_HOST_FLAGS) ; do \
18100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18101 done; \
18102 echo "Doing dvi in itcl" ; \
18103 (cd $(HOST_SUBDIR)/itcl && \
18104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18106 "RANLIB=$${RANLIB}" \
18107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18108 dvi) \
18109 || exit 1
18111 @endif itcl
18113 .PHONY: maybe-pdf-itcl pdf-itcl
18114 maybe-pdf-itcl:
18115 @if itcl
18116 maybe-pdf-itcl: pdf-itcl
18118 pdf-itcl: \
18119 configure-itcl
18120 @: $(MAKE); $(unstage)
18121 @[ -f ./itcl/Makefile ] || exit 0; \
18122 r=`${PWD_COMMAND}`; export r; \
18123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18124 $(HOST_EXPORTS) \
18125 for flag in $(EXTRA_HOST_FLAGS) ; do \
18126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18127 done; \
18128 echo "Doing pdf in itcl" ; \
18129 (cd $(HOST_SUBDIR)/itcl && \
18130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18132 "RANLIB=$${RANLIB}" \
18133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18134 pdf) \
18135 || exit 1
18137 @endif itcl
18139 .PHONY: maybe-html-itcl html-itcl
18140 maybe-html-itcl:
18141 @if itcl
18142 maybe-html-itcl: html-itcl
18144 html-itcl: \
18145 configure-itcl
18146 @: $(MAKE); $(unstage)
18147 @[ -f ./itcl/Makefile ] || exit 0; \
18148 r=`${PWD_COMMAND}`; export r; \
18149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18150 $(HOST_EXPORTS) \
18151 for flag in $(EXTRA_HOST_FLAGS) ; do \
18152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18153 done; \
18154 echo "Doing html in itcl" ; \
18155 (cd $(HOST_SUBDIR)/itcl && \
18156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18158 "RANLIB=$${RANLIB}" \
18159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18160 html) \
18161 || exit 1
18163 @endif itcl
18165 .PHONY: maybe-TAGS-itcl TAGS-itcl
18166 maybe-TAGS-itcl:
18167 @if itcl
18168 maybe-TAGS-itcl: TAGS-itcl
18170 TAGS-itcl: \
18171 configure-itcl
18172 @: $(MAKE); $(unstage)
18173 @[ -f ./itcl/Makefile ] || exit 0; \
18174 r=`${PWD_COMMAND}`; export r; \
18175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18176 $(HOST_EXPORTS) \
18177 for flag in $(EXTRA_HOST_FLAGS) ; do \
18178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18179 done; \
18180 echo "Doing TAGS in itcl" ; \
18181 (cd $(HOST_SUBDIR)/itcl && \
18182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18184 "RANLIB=$${RANLIB}" \
18185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18186 TAGS) \
18187 || exit 1
18189 @endif itcl
18191 .PHONY: maybe-install-info-itcl install-info-itcl
18192 maybe-install-info-itcl:
18193 @if itcl
18194 maybe-install-info-itcl: install-info-itcl
18196 install-info-itcl: \
18197 configure-itcl \
18198 info-itcl
18199 @: $(MAKE); $(unstage)
18200 @[ -f ./itcl/Makefile ] || exit 0; \
18201 r=`${PWD_COMMAND}`; export r; \
18202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18203 $(HOST_EXPORTS) \
18204 for flag in $(EXTRA_HOST_FLAGS) ; do \
18205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18206 done; \
18207 echo "Doing install-info in itcl" ; \
18208 (cd $(HOST_SUBDIR)/itcl && \
18209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18211 "RANLIB=$${RANLIB}" \
18212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18213 install-info) \
18214 || exit 1
18216 @endif itcl
18218 .PHONY: maybe-install-pdf-itcl install-pdf-itcl
18219 maybe-install-pdf-itcl:
18220 @if itcl
18221 maybe-install-pdf-itcl: install-pdf-itcl
18223 install-pdf-itcl: \
18224 configure-itcl \
18225 pdf-itcl
18226 @: $(MAKE); $(unstage)
18227 @[ -f ./itcl/Makefile ] || exit 0; \
18228 r=`${PWD_COMMAND}`; export r; \
18229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18230 $(HOST_EXPORTS) \
18231 for flag in $(EXTRA_HOST_FLAGS) ; do \
18232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18233 done; \
18234 echo "Doing install-pdf in itcl" ; \
18235 (cd $(HOST_SUBDIR)/itcl && \
18236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18238 "RANLIB=$${RANLIB}" \
18239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18240 install-pdf) \
18241 || exit 1
18243 @endif itcl
18245 .PHONY: maybe-install-html-itcl install-html-itcl
18246 maybe-install-html-itcl:
18247 @if itcl
18248 maybe-install-html-itcl: install-html-itcl
18250 install-html-itcl: \
18251 configure-itcl \
18252 html-itcl
18253 @: $(MAKE); $(unstage)
18254 @[ -f ./itcl/Makefile ] || exit 0; \
18255 r=`${PWD_COMMAND}`; export r; \
18256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18257 $(HOST_EXPORTS) \
18258 for flag in $(EXTRA_HOST_FLAGS) ; do \
18259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18260 done; \
18261 echo "Doing install-html in itcl" ; \
18262 (cd $(HOST_SUBDIR)/itcl && \
18263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18265 "RANLIB=$${RANLIB}" \
18266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18267 install-html) \
18268 || exit 1
18270 @endif itcl
18272 .PHONY: maybe-installcheck-itcl installcheck-itcl
18273 maybe-installcheck-itcl:
18274 @if itcl
18275 maybe-installcheck-itcl: installcheck-itcl
18277 installcheck-itcl: \
18278 configure-itcl
18279 @: $(MAKE); $(unstage)
18280 @[ -f ./itcl/Makefile ] || exit 0; \
18281 r=`${PWD_COMMAND}`; export r; \
18282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18283 $(HOST_EXPORTS) \
18284 for flag in $(EXTRA_HOST_FLAGS) ; do \
18285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18286 done; \
18287 echo "Doing installcheck in itcl" ; \
18288 (cd $(HOST_SUBDIR)/itcl && \
18289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18291 "RANLIB=$${RANLIB}" \
18292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18293 installcheck) \
18294 || exit 1
18296 @endif itcl
18298 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
18299 maybe-mostlyclean-itcl:
18300 @if itcl
18301 maybe-mostlyclean-itcl: mostlyclean-itcl
18303 mostlyclean-itcl:
18304 @: $(MAKE); $(unstage)
18305 @[ -f ./itcl/Makefile ] || exit 0; \
18306 r=`${PWD_COMMAND}`; export r; \
18307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18308 $(HOST_EXPORTS) \
18309 for flag in $(EXTRA_HOST_FLAGS) ; do \
18310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18311 done; \
18312 echo "Doing mostlyclean in itcl" ; \
18313 (cd $(HOST_SUBDIR)/itcl && \
18314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18316 "RANLIB=$${RANLIB}" \
18317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18318 mostlyclean) \
18319 || exit 1
18321 @endif itcl
18323 .PHONY: maybe-clean-itcl clean-itcl
18324 maybe-clean-itcl:
18325 @if itcl
18326 maybe-clean-itcl: clean-itcl
18328 clean-itcl:
18329 @: $(MAKE); $(unstage)
18330 @[ -f ./itcl/Makefile ] || exit 0; \
18331 r=`${PWD_COMMAND}`; export r; \
18332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18333 $(HOST_EXPORTS) \
18334 for flag in $(EXTRA_HOST_FLAGS) ; do \
18335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18336 done; \
18337 echo "Doing clean in itcl" ; \
18338 (cd $(HOST_SUBDIR)/itcl && \
18339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18341 "RANLIB=$${RANLIB}" \
18342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18343 clean) \
18344 || exit 1
18346 @endif itcl
18348 .PHONY: maybe-distclean-itcl distclean-itcl
18349 maybe-distclean-itcl:
18350 @if itcl
18351 maybe-distclean-itcl: distclean-itcl
18353 distclean-itcl:
18354 @: $(MAKE); $(unstage)
18355 @[ -f ./itcl/Makefile ] || exit 0; \
18356 r=`${PWD_COMMAND}`; export r; \
18357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18358 $(HOST_EXPORTS) \
18359 for flag in $(EXTRA_HOST_FLAGS) ; do \
18360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18361 done; \
18362 echo "Doing distclean in itcl" ; \
18363 (cd $(HOST_SUBDIR)/itcl && \
18364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18366 "RANLIB=$${RANLIB}" \
18367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18368 distclean) \
18369 || exit 1
18371 @endif itcl
18373 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
18374 maybe-maintainer-clean-itcl:
18375 @if itcl
18376 maybe-maintainer-clean-itcl: maintainer-clean-itcl
18378 maintainer-clean-itcl:
18379 @: $(MAKE); $(unstage)
18380 @[ -f ./itcl/Makefile ] || exit 0; \
18381 r=`${PWD_COMMAND}`; export r; \
18382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18383 $(HOST_EXPORTS) \
18384 for flag in $(EXTRA_HOST_FLAGS) ; do \
18385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18386 done; \
18387 echo "Doing maintainer-clean in itcl" ; \
18388 (cd $(HOST_SUBDIR)/itcl && \
18389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18391 "RANLIB=$${RANLIB}" \
18392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18393 maintainer-clean) \
18394 || exit 1
18396 @endif itcl
18400 .PHONY: configure-ld maybe-configure-ld
18401 maybe-configure-ld:
18402 @if gcc-bootstrap
18403 configure-ld: stage_current
18404 @endif gcc-bootstrap
18405 @if ld
18406 maybe-configure-ld: configure-ld
18407 configure-ld:
18408 @r=`${PWD_COMMAND}`; export r; \
18409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18410 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18411 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18412 $(HOST_EXPORTS) \
18413 echo Configuring in $(HOST_SUBDIR)/ld; \
18414 cd "$(HOST_SUBDIR)/ld" || exit 1; \
18415 case $(srcdir) in \
18416 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18417 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18418 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18419 esac; \
18420 module_srcdir=ld; \
18421 $(SHELL) \
18422 $$s/$$module_srcdir/configure \
18423 --srcdir=$${topdir}/$$module_srcdir \
18424 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18425 --target=${target_alias} \
18426 || exit 1
18427 @endif ld
18431 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
18432 maybe-configure-stage1-ld:
18433 @if ld-bootstrap
18434 maybe-configure-stage1-ld: configure-stage1-ld
18435 configure-stage1-ld:
18436 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18437 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18438 @r=`${PWD_COMMAND}`; export r; \
18439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18440 TFLAGS="$(STAGE1_TFLAGS)"; \
18441 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18442 $(HOST_EXPORTS) \
18443 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
18444 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
18445 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
18446 echo Configuring stage 1 in $(HOST_SUBDIR)/ld ; \
18447 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18448 cd $(HOST_SUBDIR)/ld || exit 1; \
18449 case $(srcdir) in \
18450 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18451 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18452 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18453 esac; \
18454 module_srcdir=ld; \
18455 $(SHELL) $$s/$$module_srcdir/configure \
18456 --srcdir=$${topdir}/$$module_srcdir \
18457 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18458 --target=${target_alias} \
18460 $(STAGE1_CONFIGURE_FLAGS)
18461 @endif ld-bootstrap
18463 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
18464 maybe-configure-stage2-ld:
18465 @if ld-bootstrap
18466 maybe-configure-stage2-ld: configure-stage2-ld
18467 configure-stage2-ld:
18468 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18469 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18470 @r=`${PWD_COMMAND}`; export r; \
18471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18472 TFLAGS="$(STAGE2_TFLAGS)"; \
18473 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18474 $(HOST_EXPORTS) \
18475 $(POSTSTAGE1_HOST_EXPORTS) \
18476 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
18477 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
18478 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
18479 echo Configuring stage 2 in $(HOST_SUBDIR)/ld ; \
18480 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18481 cd $(HOST_SUBDIR)/ld || exit 1; \
18482 case $(srcdir) in \
18483 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18484 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18485 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18486 esac; \
18487 module_srcdir=ld; \
18488 $(SHELL) $$s/$$module_srcdir/configure \
18489 --srcdir=$${topdir}/$$module_srcdir \
18490 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18491 --target=${target_alias} \
18492 --with-build-libsubdir=$(HOST_SUBDIR) \
18493 $(STAGE2_CONFIGURE_FLAGS)
18494 @endif ld-bootstrap
18496 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
18497 maybe-configure-stage3-ld:
18498 @if ld-bootstrap
18499 maybe-configure-stage3-ld: configure-stage3-ld
18500 configure-stage3-ld:
18501 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18502 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18503 @r=`${PWD_COMMAND}`; export r; \
18504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18505 TFLAGS="$(STAGE3_TFLAGS)"; \
18506 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18507 $(HOST_EXPORTS) \
18508 $(POSTSTAGE1_HOST_EXPORTS) \
18509 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
18510 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
18511 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
18512 echo Configuring stage 3 in $(HOST_SUBDIR)/ld ; \
18513 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18514 cd $(HOST_SUBDIR)/ld || exit 1; \
18515 case $(srcdir) in \
18516 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18517 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18518 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18519 esac; \
18520 module_srcdir=ld; \
18521 $(SHELL) $$s/$$module_srcdir/configure \
18522 --srcdir=$${topdir}/$$module_srcdir \
18523 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18524 --target=${target_alias} \
18525 --with-build-libsubdir=$(HOST_SUBDIR) \
18526 $(STAGE3_CONFIGURE_FLAGS)
18527 @endif ld-bootstrap
18529 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
18530 maybe-configure-stage4-ld:
18531 @if ld-bootstrap
18532 maybe-configure-stage4-ld: configure-stage4-ld
18533 configure-stage4-ld:
18534 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18535 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18536 @r=`${PWD_COMMAND}`; export r; \
18537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18538 TFLAGS="$(STAGE4_TFLAGS)"; \
18539 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18540 $(HOST_EXPORTS) \
18541 $(POSTSTAGE1_HOST_EXPORTS) \
18542 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
18543 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
18544 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
18545 echo Configuring stage 4 in $(HOST_SUBDIR)/ld ; \
18546 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18547 cd $(HOST_SUBDIR)/ld || exit 1; \
18548 case $(srcdir) in \
18549 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18550 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18551 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18552 esac; \
18553 module_srcdir=ld; \
18554 $(SHELL) $$s/$$module_srcdir/configure \
18555 --srcdir=$${topdir}/$$module_srcdir \
18556 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18557 --target=${target_alias} \
18558 --with-build-libsubdir=$(HOST_SUBDIR) \
18559 $(STAGE4_CONFIGURE_FLAGS)
18560 @endif ld-bootstrap
18562 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
18563 maybe-configure-stageprofile-ld:
18564 @if ld-bootstrap
18565 maybe-configure-stageprofile-ld: configure-stageprofile-ld
18566 configure-stageprofile-ld:
18567 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18568 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18569 @r=`${PWD_COMMAND}`; export r; \
18570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18571 TFLAGS="$(STAGEprofile_TFLAGS)"; \
18572 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18573 $(HOST_EXPORTS) \
18574 $(POSTSTAGE1_HOST_EXPORTS) \
18575 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
18576 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
18577 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
18578 echo Configuring stage profile in $(HOST_SUBDIR)/ld ; \
18579 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18580 cd $(HOST_SUBDIR)/ld || exit 1; \
18581 case $(srcdir) in \
18582 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18583 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18584 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18585 esac; \
18586 module_srcdir=ld; \
18587 $(SHELL) $$s/$$module_srcdir/configure \
18588 --srcdir=$${topdir}/$$module_srcdir \
18589 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18590 --target=${target_alias} \
18591 --with-build-libsubdir=$(HOST_SUBDIR) \
18592 $(STAGEprofile_CONFIGURE_FLAGS)
18593 @endif ld-bootstrap
18595 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
18596 maybe-configure-stagefeedback-ld:
18597 @if ld-bootstrap
18598 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
18599 configure-stagefeedback-ld:
18600 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18601 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
18602 @r=`${PWD_COMMAND}`; export r; \
18603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18604 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
18605 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
18606 $(HOST_EXPORTS) \
18607 $(POSTSTAGE1_HOST_EXPORTS) \
18608 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
18609 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
18610 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
18611 echo Configuring stage feedback in $(HOST_SUBDIR)/ld ; \
18612 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
18613 cd $(HOST_SUBDIR)/ld || exit 1; \
18614 case $(srcdir) in \
18615 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18616 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
18617 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18618 esac; \
18619 module_srcdir=ld; \
18620 $(SHELL) $$s/$$module_srcdir/configure \
18621 --srcdir=$${topdir}/$$module_srcdir \
18622 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
18623 --target=${target_alias} \
18624 --with-build-libsubdir=$(HOST_SUBDIR) \
18625 $(STAGEfeedback_CONFIGURE_FLAGS)
18626 @endif ld-bootstrap
18632 .PHONY: all-ld maybe-all-ld
18633 maybe-all-ld:
18634 @if gcc-bootstrap
18635 all-ld: stage_current
18636 @endif gcc-bootstrap
18637 @if ld
18638 TARGET-ld=all
18639 maybe-all-ld: all-ld
18640 all-ld: configure-ld
18641 @r=`${PWD_COMMAND}`; export r; \
18642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18643 $(HOST_EXPORTS) \
18644 (cd $(HOST_SUBDIR)/ld && \
18645 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
18646 $(TARGET-ld))
18647 @endif ld
18651 .PHONY: all-stage1-ld maybe-all-stage1-ld
18652 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
18653 maybe-all-stage1-ld:
18654 maybe-clean-stage1-ld:
18655 @if ld-bootstrap
18656 maybe-all-stage1-ld: all-stage1-ld
18657 all-stage1: all-stage1-ld
18658 TARGET-stage1-ld = $(TARGET-ld)
18659 all-stage1-ld: configure-stage1-ld
18660 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
18661 @r=`${PWD_COMMAND}`; export r; \
18662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18663 TFLAGS="$(STAGE1_TFLAGS)"; \
18664 $(HOST_EXPORTS) \
18665 cd $(HOST_SUBDIR)/ld && \
18666 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18667 CFLAGS="$(STAGE1_CFLAGS)" \
18668 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
18669 LIBCFLAGS="$(LIBCFLAGS)" \
18670 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18671 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18672 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18673 $(EXTRA_HOST_FLAGS) \
18674 $(STAGE1_FLAGS_TO_PASS) \
18675 TFLAGS="$(STAGE1_TFLAGS)" \
18676 $(TARGET-stage1-ld)
18678 maybe-clean-stage1-ld: clean-stage1-ld
18679 clean-stage1: clean-stage1-ld
18680 clean-stage1-ld:
18681 @if [ $(current_stage) = stage1 ]; then \
18682 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
18683 else \
18684 [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] || exit 0; \
18685 $(MAKE) stage1-start; \
18686 fi; \
18687 cd $(HOST_SUBDIR)/ld && \
18688 $(MAKE) $(EXTRA_HOST_FLAGS) \
18689 $(STAGE1_FLAGS_TO_PASS) clean
18690 @endif ld-bootstrap
18693 .PHONY: all-stage2-ld maybe-all-stage2-ld
18694 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
18695 maybe-all-stage2-ld:
18696 maybe-clean-stage2-ld:
18697 @if ld-bootstrap
18698 maybe-all-stage2-ld: all-stage2-ld
18699 all-stage2: all-stage2-ld
18700 TARGET-stage2-ld = $(TARGET-ld)
18701 all-stage2-ld: configure-stage2-ld
18702 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
18703 @r=`${PWD_COMMAND}`; export r; \
18704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18705 TFLAGS="$(STAGE2_TFLAGS)"; \
18706 $(HOST_EXPORTS) \
18707 $(POSTSTAGE1_HOST_EXPORTS) \
18708 cd $(HOST_SUBDIR)/ld && \
18709 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18710 CFLAGS="$(STAGE2_CFLAGS)" \
18711 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
18712 LIBCFLAGS="$(STAGE2_CFLAGS)" \
18713 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18714 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18715 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18716 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18717 TFLAGS="$(STAGE2_TFLAGS)" \
18718 $(TARGET-stage2-ld)
18720 maybe-clean-stage2-ld: clean-stage2-ld
18721 clean-stage2: clean-stage2-ld
18722 clean-stage2-ld:
18723 @if [ $(current_stage) = stage2 ]; then \
18724 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
18725 else \
18726 [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] || exit 0; \
18727 $(MAKE) stage2-start; \
18728 fi; \
18729 cd $(HOST_SUBDIR)/ld && \
18730 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18731 @endif ld-bootstrap
18734 .PHONY: all-stage3-ld maybe-all-stage3-ld
18735 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
18736 maybe-all-stage3-ld:
18737 maybe-clean-stage3-ld:
18738 @if ld-bootstrap
18739 maybe-all-stage3-ld: all-stage3-ld
18740 all-stage3: all-stage3-ld
18741 TARGET-stage3-ld = $(TARGET-ld)
18742 all-stage3-ld: configure-stage3-ld
18743 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
18744 @r=`${PWD_COMMAND}`; export r; \
18745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18746 TFLAGS="$(STAGE3_TFLAGS)"; \
18747 $(HOST_EXPORTS) \
18748 $(POSTSTAGE1_HOST_EXPORTS) \
18749 cd $(HOST_SUBDIR)/ld && \
18750 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18751 CFLAGS="$(STAGE3_CFLAGS)" \
18752 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
18753 LIBCFLAGS="$(STAGE3_CFLAGS)" \
18754 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18755 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18756 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18757 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18758 TFLAGS="$(STAGE3_TFLAGS)" \
18759 $(TARGET-stage3-ld)
18761 maybe-clean-stage3-ld: clean-stage3-ld
18762 clean-stage3: clean-stage3-ld
18763 clean-stage3-ld:
18764 @if [ $(current_stage) = stage3 ]; then \
18765 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
18766 else \
18767 [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] || exit 0; \
18768 $(MAKE) stage3-start; \
18769 fi; \
18770 cd $(HOST_SUBDIR)/ld && \
18771 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18772 @endif ld-bootstrap
18775 .PHONY: all-stage4-ld maybe-all-stage4-ld
18776 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
18777 maybe-all-stage4-ld:
18778 maybe-clean-stage4-ld:
18779 @if ld-bootstrap
18780 maybe-all-stage4-ld: all-stage4-ld
18781 all-stage4: all-stage4-ld
18782 TARGET-stage4-ld = $(TARGET-ld)
18783 all-stage4-ld: configure-stage4-ld
18784 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
18785 @r=`${PWD_COMMAND}`; export r; \
18786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18787 TFLAGS="$(STAGE4_TFLAGS)"; \
18788 $(HOST_EXPORTS) \
18789 $(POSTSTAGE1_HOST_EXPORTS) \
18790 cd $(HOST_SUBDIR)/ld && \
18791 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18792 CFLAGS="$(STAGE4_CFLAGS)" \
18793 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
18794 LIBCFLAGS="$(STAGE4_CFLAGS)" \
18795 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18796 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18797 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18798 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18799 TFLAGS="$(STAGE4_TFLAGS)" \
18800 $(TARGET-stage4-ld)
18802 maybe-clean-stage4-ld: clean-stage4-ld
18803 clean-stage4: clean-stage4-ld
18804 clean-stage4-ld:
18805 @if [ $(current_stage) = stage4 ]; then \
18806 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
18807 else \
18808 [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] || exit 0; \
18809 $(MAKE) stage4-start; \
18810 fi; \
18811 cd $(HOST_SUBDIR)/ld && \
18812 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18813 @endif ld-bootstrap
18816 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
18817 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
18818 maybe-all-stageprofile-ld:
18819 maybe-clean-stageprofile-ld:
18820 @if ld-bootstrap
18821 maybe-all-stageprofile-ld: all-stageprofile-ld
18822 all-stageprofile: all-stageprofile-ld
18823 TARGET-stageprofile-ld = $(TARGET-ld)
18824 all-stageprofile-ld: configure-stageprofile-ld
18825 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
18826 @r=`${PWD_COMMAND}`; export r; \
18827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18828 TFLAGS="$(STAGEprofile_TFLAGS)"; \
18829 $(HOST_EXPORTS) \
18830 $(POSTSTAGE1_HOST_EXPORTS) \
18831 cd $(HOST_SUBDIR)/ld && \
18832 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18833 CFLAGS="$(STAGEprofile_CFLAGS)" \
18834 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
18835 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
18836 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18837 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18838 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18839 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18840 TFLAGS="$(STAGEprofile_TFLAGS)" \
18841 $(TARGET-stageprofile-ld)
18843 maybe-clean-stageprofile-ld: clean-stageprofile-ld
18844 clean-stageprofile: clean-stageprofile-ld
18845 clean-stageprofile-ld:
18846 @if [ $(current_stage) = stageprofile ]; then \
18847 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
18848 else \
18849 [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] || exit 0; \
18850 $(MAKE) stageprofile-start; \
18851 fi; \
18852 cd $(HOST_SUBDIR)/ld && \
18853 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18854 @endif ld-bootstrap
18857 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
18858 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
18859 maybe-all-stagefeedback-ld:
18860 maybe-clean-stagefeedback-ld:
18861 @if ld-bootstrap
18862 maybe-all-stagefeedback-ld: all-stagefeedback-ld
18863 all-stagefeedback: all-stagefeedback-ld
18864 TARGET-stagefeedback-ld = $(TARGET-ld)
18865 all-stagefeedback-ld: configure-stagefeedback-ld
18866 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
18867 @r=`${PWD_COMMAND}`; export r; \
18868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18869 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
18870 $(HOST_EXPORTS) \
18871 $(POSTSTAGE1_HOST_EXPORTS) \
18872 cd $(HOST_SUBDIR)/ld && \
18873 $(MAKE) $(BASE_FLAGS_TO_PASS) \
18874 CFLAGS="$(STAGEfeedback_CFLAGS)" \
18875 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
18876 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
18877 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
18878 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
18879 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
18880 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18881 TFLAGS="$(STAGEfeedback_TFLAGS)" \
18882 $(TARGET-stagefeedback-ld)
18884 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
18885 clean-stagefeedback: clean-stagefeedback-ld
18886 clean-stagefeedback-ld:
18887 @if [ $(current_stage) = stagefeedback ]; then \
18888 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
18889 else \
18890 [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] || exit 0; \
18891 $(MAKE) stagefeedback-start; \
18892 fi; \
18893 cd $(HOST_SUBDIR)/ld && \
18894 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
18895 @endif ld-bootstrap
18901 .PHONY: check-ld maybe-check-ld
18902 maybe-check-ld:
18903 @if ld
18904 maybe-check-ld: check-ld
18906 check-ld:
18907 @: $(MAKE); $(unstage)
18908 @r=`${PWD_COMMAND}`; export r; \
18909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18910 $(HOST_EXPORTS) \
18911 (cd $(HOST_SUBDIR)/ld && \
18912 $(MAKE) $(FLAGS_TO_PASS) check)
18914 @endif ld
18916 .PHONY: install-ld maybe-install-ld
18917 maybe-install-ld:
18918 @if ld
18919 maybe-install-ld: install-ld
18921 install-ld: installdirs
18922 @: $(MAKE); $(unstage)
18923 @r=`${PWD_COMMAND}`; export r; \
18924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18925 $(HOST_EXPORTS) \
18926 (cd $(HOST_SUBDIR)/ld && \
18927 $(MAKE) $(FLAGS_TO_PASS) install)
18929 @endif ld
18931 .PHONY: install-strip-ld maybe-install-strip-ld
18932 maybe-install-strip-ld:
18933 @if ld
18934 maybe-install-strip-ld: install-strip-ld
18936 install-strip-ld: installdirs
18937 @: $(MAKE); $(unstage)
18938 @r=`${PWD_COMMAND}`; export r; \
18939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18940 $(HOST_EXPORTS) \
18941 (cd $(HOST_SUBDIR)/ld && \
18942 $(MAKE) $(FLAGS_TO_PASS) install-strip)
18944 @endif ld
18946 # Other targets (info, dvi, pdf, etc.)
18948 .PHONY: maybe-info-ld info-ld
18949 maybe-info-ld:
18950 @if ld
18951 maybe-info-ld: info-ld
18953 info-ld: \
18954 configure-ld
18955 @[ -f ./ld/Makefile ] || exit 0; \
18956 r=`${PWD_COMMAND}`; export r; \
18957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18958 $(HOST_EXPORTS) \
18959 for flag in $(EXTRA_HOST_FLAGS) ; do \
18960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18961 done; \
18962 echo "Doing info in ld" ; \
18963 (cd $(HOST_SUBDIR)/ld && \
18964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18966 "RANLIB=$${RANLIB}" \
18967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18968 info) \
18969 || exit 1
18971 @endif ld
18973 .PHONY: maybe-dvi-ld dvi-ld
18974 maybe-dvi-ld:
18975 @if ld
18976 maybe-dvi-ld: dvi-ld
18978 dvi-ld: \
18979 configure-ld
18980 @[ -f ./ld/Makefile ] || exit 0; \
18981 r=`${PWD_COMMAND}`; export r; \
18982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18983 $(HOST_EXPORTS) \
18984 for flag in $(EXTRA_HOST_FLAGS) ; do \
18985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18986 done; \
18987 echo "Doing dvi in ld" ; \
18988 (cd $(HOST_SUBDIR)/ld && \
18989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18991 "RANLIB=$${RANLIB}" \
18992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
18993 dvi) \
18994 || exit 1
18996 @endif ld
18998 .PHONY: maybe-pdf-ld pdf-ld
18999 maybe-pdf-ld:
19000 @if ld
19001 maybe-pdf-ld: pdf-ld
19003 pdf-ld: \
19004 configure-ld
19005 @[ -f ./ld/Makefile ] || exit 0; \
19006 r=`${PWD_COMMAND}`; export r; \
19007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19008 $(HOST_EXPORTS) \
19009 for flag in $(EXTRA_HOST_FLAGS) ; do \
19010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19011 done; \
19012 echo "Doing pdf in ld" ; \
19013 (cd $(HOST_SUBDIR)/ld && \
19014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19016 "RANLIB=$${RANLIB}" \
19017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19018 pdf) \
19019 || exit 1
19021 @endif ld
19023 .PHONY: maybe-html-ld html-ld
19024 maybe-html-ld:
19025 @if ld
19026 maybe-html-ld: html-ld
19028 html-ld: \
19029 configure-ld
19030 @[ -f ./ld/Makefile ] || exit 0; \
19031 r=`${PWD_COMMAND}`; export r; \
19032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19033 $(HOST_EXPORTS) \
19034 for flag in $(EXTRA_HOST_FLAGS) ; do \
19035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19036 done; \
19037 echo "Doing html in ld" ; \
19038 (cd $(HOST_SUBDIR)/ld && \
19039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19041 "RANLIB=$${RANLIB}" \
19042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19043 html) \
19044 || exit 1
19046 @endif ld
19048 .PHONY: maybe-TAGS-ld TAGS-ld
19049 maybe-TAGS-ld:
19050 @if ld
19051 maybe-TAGS-ld: TAGS-ld
19053 TAGS-ld: \
19054 configure-ld
19055 @[ -f ./ld/Makefile ] || exit 0; \
19056 r=`${PWD_COMMAND}`; export r; \
19057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19058 $(HOST_EXPORTS) \
19059 for flag in $(EXTRA_HOST_FLAGS) ; do \
19060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19061 done; \
19062 echo "Doing TAGS in ld" ; \
19063 (cd $(HOST_SUBDIR)/ld && \
19064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19066 "RANLIB=$${RANLIB}" \
19067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19068 TAGS) \
19069 || exit 1
19071 @endif ld
19073 .PHONY: maybe-install-info-ld install-info-ld
19074 maybe-install-info-ld:
19075 @if ld
19076 maybe-install-info-ld: install-info-ld
19078 install-info-ld: \
19079 configure-ld \
19080 info-ld
19081 @[ -f ./ld/Makefile ] || exit 0; \
19082 r=`${PWD_COMMAND}`; export r; \
19083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19084 $(HOST_EXPORTS) \
19085 for flag in $(EXTRA_HOST_FLAGS) ; do \
19086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19087 done; \
19088 echo "Doing install-info in ld" ; \
19089 (cd $(HOST_SUBDIR)/ld && \
19090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19092 "RANLIB=$${RANLIB}" \
19093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19094 install-info) \
19095 || exit 1
19097 @endif ld
19099 .PHONY: maybe-install-pdf-ld install-pdf-ld
19100 maybe-install-pdf-ld:
19101 @if ld
19102 maybe-install-pdf-ld: install-pdf-ld
19104 install-pdf-ld: \
19105 configure-ld \
19106 pdf-ld
19107 @[ -f ./ld/Makefile ] || exit 0; \
19108 r=`${PWD_COMMAND}`; export r; \
19109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19110 $(HOST_EXPORTS) \
19111 for flag in $(EXTRA_HOST_FLAGS) ; do \
19112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19113 done; \
19114 echo "Doing install-pdf in ld" ; \
19115 (cd $(HOST_SUBDIR)/ld && \
19116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19118 "RANLIB=$${RANLIB}" \
19119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19120 install-pdf) \
19121 || exit 1
19123 @endif ld
19125 .PHONY: maybe-install-html-ld install-html-ld
19126 maybe-install-html-ld:
19127 @if ld
19128 maybe-install-html-ld: install-html-ld
19130 install-html-ld: \
19131 configure-ld \
19132 html-ld
19133 @[ -f ./ld/Makefile ] || exit 0; \
19134 r=`${PWD_COMMAND}`; export r; \
19135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19136 $(HOST_EXPORTS) \
19137 for flag in $(EXTRA_HOST_FLAGS) ; do \
19138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19139 done; \
19140 echo "Doing install-html in ld" ; \
19141 (cd $(HOST_SUBDIR)/ld && \
19142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19144 "RANLIB=$${RANLIB}" \
19145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19146 install-html) \
19147 || exit 1
19149 @endif ld
19151 .PHONY: maybe-installcheck-ld installcheck-ld
19152 maybe-installcheck-ld:
19153 @if ld
19154 maybe-installcheck-ld: installcheck-ld
19156 installcheck-ld: \
19157 configure-ld
19158 @[ -f ./ld/Makefile ] || exit 0; \
19159 r=`${PWD_COMMAND}`; export r; \
19160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19161 $(HOST_EXPORTS) \
19162 for flag in $(EXTRA_HOST_FLAGS) ; do \
19163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19164 done; \
19165 echo "Doing installcheck in ld" ; \
19166 (cd $(HOST_SUBDIR)/ld && \
19167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19169 "RANLIB=$${RANLIB}" \
19170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19171 installcheck) \
19172 || exit 1
19174 @endif ld
19176 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
19177 maybe-mostlyclean-ld:
19178 @if ld
19179 maybe-mostlyclean-ld: mostlyclean-ld
19181 mostlyclean-ld:
19182 @[ -f ./ld/Makefile ] || exit 0; \
19183 r=`${PWD_COMMAND}`; export r; \
19184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19185 $(HOST_EXPORTS) \
19186 for flag in $(EXTRA_HOST_FLAGS) ; do \
19187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19188 done; \
19189 echo "Doing mostlyclean in ld" ; \
19190 (cd $(HOST_SUBDIR)/ld && \
19191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19193 "RANLIB=$${RANLIB}" \
19194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19195 mostlyclean) \
19196 || exit 1
19198 @endif ld
19200 .PHONY: maybe-clean-ld clean-ld
19201 maybe-clean-ld:
19202 @if ld
19203 maybe-clean-ld: clean-ld
19205 clean-ld:
19206 @[ -f ./ld/Makefile ] || exit 0; \
19207 r=`${PWD_COMMAND}`; export r; \
19208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19209 $(HOST_EXPORTS) \
19210 for flag in $(EXTRA_HOST_FLAGS) ; do \
19211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19212 done; \
19213 echo "Doing clean in ld" ; \
19214 (cd $(HOST_SUBDIR)/ld && \
19215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19217 "RANLIB=$${RANLIB}" \
19218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19219 clean) \
19220 || exit 1
19222 @endif ld
19224 .PHONY: maybe-distclean-ld distclean-ld
19225 maybe-distclean-ld:
19226 @if ld
19227 maybe-distclean-ld: distclean-ld
19229 distclean-ld:
19230 @[ -f ./ld/Makefile ] || exit 0; \
19231 r=`${PWD_COMMAND}`; export r; \
19232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19233 $(HOST_EXPORTS) \
19234 for flag in $(EXTRA_HOST_FLAGS) ; do \
19235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19236 done; \
19237 echo "Doing distclean in ld" ; \
19238 (cd $(HOST_SUBDIR)/ld && \
19239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19241 "RANLIB=$${RANLIB}" \
19242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19243 distclean) \
19244 || exit 1
19246 @endif ld
19248 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
19249 maybe-maintainer-clean-ld:
19250 @if ld
19251 maybe-maintainer-clean-ld: maintainer-clean-ld
19253 maintainer-clean-ld:
19254 @[ -f ./ld/Makefile ] || exit 0; \
19255 r=`${PWD_COMMAND}`; export r; \
19256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19257 $(HOST_EXPORTS) \
19258 for flag in $(EXTRA_HOST_FLAGS) ; do \
19259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19260 done; \
19261 echo "Doing maintainer-clean in ld" ; \
19262 (cd $(HOST_SUBDIR)/ld && \
19263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19265 "RANLIB=$${RANLIB}" \
19266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19267 maintainer-clean) \
19268 || exit 1
19270 @endif ld
19274 .PHONY: configure-libbacktrace maybe-configure-libbacktrace
19275 maybe-configure-libbacktrace:
19276 @if gcc-bootstrap
19277 configure-libbacktrace: stage_current
19278 @endif gcc-bootstrap
19279 @if libbacktrace
19280 maybe-configure-libbacktrace: configure-libbacktrace
19281 configure-libbacktrace:
19282 @r=`${PWD_COMMAND}`; export r; \
19283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19284 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19285 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19286 $(HOST_EXPORTS) \
19287 echo Configuring in $(HOST_SUBDIR)/libbacktrace; \
19288 cd "$(HOST_SUBDIR)/libbacktrace" || exit 1; \
19289 case $(srcdir) in \
19290 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19291 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19292 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19293 esac; \
19294 module_srcdir=libbacktrace; \
19295 $(SHELL) \
19296 $$s/$$module_srcdir/configure \
19297 --srcdir=$${topdir}/$$module_srcdir \
19298 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19299 --target=${target_alias} \
19300 || exit 1
19301 @endif libbacktrace
19305 .PHONY: configure-stage1-libbacktrace maybe-configure-stage1-libbacktrace
19306 maybe-configure-stage1-libbacktrace:
19307 @if libbacktrace-bootstrap
19308 maybe-configure-stage1-libbacktrace: configure-stage1-libbacktrace
19309 configure-stage1-libbacktrace:
19310 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19311 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19312 @r=`${PWD_COMMAND}`; export r; \
19313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19314 TFLAGS="$(STAGE1_TFLAGS)"; \
19315 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19316 $(HOST_EXPORTS) \
19317 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
19318 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
19319 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
19320 echo Configuring stage 1 in $(HOST_SUBDIR)/libbacktrace ; \
19321 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19322 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19323 case $(srcdir) in \
19324 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19325 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19326 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19327 esac; \
19328 module_srcdir=libbacktrace; \
19329 $(SHELL) $$s/$$module_srcdir/configure \
19330 --srcdir=$${topdir}/$$module_srcdir \
19331 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19332 --target=${target_alias} \
19334 $(STAGE1_CONFIGURE_FLAGS)
19335 @endif libbacktrace-bootstrap
19337 .PHONY: configure-stage2-libbacktrace maybe-configure-stage2-libbacktrace
19338 maybe-configure-stage2-libbacktrace:
19339 @if libbacktrace-bootstrap
19340 maybe-configure-stage2-libbacktrace: configure-stage2-libbacktrace
19341 configure-stage2-libbacktrace:
19342 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19343 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19344 @r=`${PWD_COMMAND}`; export r; \
19345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19346 TFLAGS="$(STAGE2_TFLAGS)"; \
19347 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19348 $(HOST_EXPORTS) \
19349 $(POSTSTAGE1_HOST_EXPORTS) \
19350 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
19351 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
19352 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
19353 echo Configuring stage 2 in $(HOST_SUBDIR)/libbacktrace ; \
19354 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19355 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19356 case $(srcdir) in \
19357 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19358 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19359 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19360 esac; \
19361 module_srcdir=libbacktrace; \
19362 $(SHELL) $$s/$$module_srcdir/configure \
19363 --srcdir=$${topdir}/$$module_srcdir \
19364 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19365 --target=${target_alias} \
19366 --with-build-libsubdir=$(HOST_SUBDIR) \
19367 $(STAGE2_CONFIGURE_FLAGS)
19368 @endif libbacktrace-bootstrap
19370 .PHONY: configure-stage3-libbacktrace maybe-configure-stage3-libbacktrace
19371 maybe-configure-stage3-libbacktrace:
19372 @if libbacktrace-bootstrap
19373 maybe-configure-stage3-libbacktrace: configure-stage3-libbacktrace
19374 configure-stage3-libbacktrace:
19375 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19376 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19377 @r=`${PWD_COMMAND}`; export r; \
19378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19379 TFLAGS="$(STAGE3_TFLAGS)"; \
19380 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19381 $(HOST_EXPORTS) \
19382 $(POSTSTAGE1_HOST_EXPORTS) \
19383 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
19384 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
19385 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
19386 echo Configuring stage 3 in $(HOST_SUBDIR)/libbacktrace ; \
19387 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19388 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19389 case $(srcdir) in \
19390 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19391 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19392 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19393 esac; \
19394 module_srcdir=libbacktrace; \
19395 $(SHELL) $$s/$$module_srcdir/configure \
19396 --srcdir=$${topdir}/$$module_srcdir \
19397 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19398 --target=${target_alias} \
19399 --with-build-libsubdir=$(HOST_SUBDIR) \
19400 $(STAGE3_CONFIGURE_FLAGS)
19401 @endif libbacktrace-bootstrap
19403 .PHONY: configure-stage4-libbacktrace maybe-configure-stage4-libbacktrace
19404 maybe-configure-stage4-libbacktrace:
19405 @if libbacktrace-bootstrap
19406 maybe-configure-stage4-libbacktrace: configure-stage4-libbacktrace
19407 configure-stage4-libbacktrace:
19408 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19409 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19410 @r=`${PWD_COMMAND}`; export r; \
19411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19412 TFLAGS="$(STAGE4_TFLAGS)"; \
19413 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19414 $(HOST_EXPORTS) \
19415 $(POSTSTAGE1_HOST_EXPORTS) \
19416 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
19417 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
19418 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
19419 echo Configuring stage 4 in $(HOST_SUBDIR)/libbacktrace ; \
19420 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19421 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19422 case $(srcdir) in \
19423 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19424 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19425 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19426 esac; \
19427 module_srcdir=libbacktrace; \
19428 $(SHELL) $$s/$$module_srcdir/configure \
19429 --srcdir=$${topdir}/$$module_srcdir \
19430 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19431 --target=${target_alias} \
19432 --with-build-libsubdir=$(HOST_SUBDIR) \
19433 $(STAGE4_CONFIGURE_FLAGS)
19434 @endif libbacktrace-bootstrap
19436 .PHONY: configure-stageprofile-libbacktrace maybe-configure-stageprofile-libbacktrace
19437 maybe-configure-stageprofile-libbacktrace:
19438 @if libbacktrace-bootstrap
19439 maybe-configure-stageprofile-libbacktrace: configure-stageprofile-libbacktrace
19440 configure-stageprofile-libbacktrace:
19441 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19442 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19443 @r=`${PWD_COMMAND}`; export r; \
19444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19445 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19446 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19447 $(HOST_EXPORTS) \
19448 $(POSTSTAGE1_HOST_EXPORTS) \
19449 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
19450 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
19451 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
19452 echo Configuring stage profile in $(HOST_SUBDIR)/libbacktrace ; \
19453 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19454 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19455 case $(srcdir) in \
19456 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19457 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19458 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19459 esac; \
19460 module_srcdir=libbacktrace; \
19461 $(SHELL) $$s/$$module_srcdir/configure \
19462 --srcdir=$${topdir}/$$module_srcdir \
19463 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19464 --target=${target_alias} \
19465 --with-build-libsubdir=$(HOST_SUBDIR) \
19466 $(STAGEprofile_CONFIGURE_FLAGS)
19467 @endif libbacktrace-bootstrap
19469 .PHONY: configure-stagefeedback-libbacktrace maybe-configure-stagefeedback-libbacktrace
19470 maybe-configure-stagefeedback-libbacktrace:
19471 @if libbacktrace-bootstrap
19472 maybe-configure-stagefeedback-libbacktrace: configure-stagefeedback-libbacktrace
19473 configure-stagefeedback-libbacktrace:
19474 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19475 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
19476 @r=`${PWD_COMMAND}`; export r; \
19477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19478 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19479 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
19480 $(HOST_EXPORTS) \
19481 $(POSTSTAGE1_HOST_EXPORTS) \
19482 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
19483 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
19484 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
19485 echo Configuring stage feedback in $(HOST_SUBDIR)/libbacktrace ; \
19486 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
19487 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
19488 case $(srcdir) in \
19489 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19490 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
19491 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19492 esac; \
19493 module_srcdir=libbacktrace; \
19494 $(SHELL) $$s/$$module_srcdir/configure \
19495 --srcdir=$${topdir}/$$module_srcdir \
19496 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
19497 --target=${target_alias} \
19498 --with-build-libsubdir=$(HOST_SUBDIR) \
19499 $(STAGEfeedback_CONFIGURE_FLAGS)
19500 @endif libbacktrace-bootstrap
19506 .PHONY: all-libbacktrace maybe-all-libbacktrace
19507 maybe-all-libbacktrace:
19508 @if gcc-bootstrap
19509 all-libbacktrace: stage_current
19510 @endif gcc-bootstrap
19511 @if libbacktrace
19512 TARGET-libbacktrace=all
19513 maybe-all-libbacktrace: all-libbacktrace
19514 all-libbacktrace: configure-libbacktrace
19515 @r=`${PWD_COMMAND}`; export r; \
19516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19517 $(HOST_EXPORTS) \
19518 (cd $(HOST_SUBDIR)/libbacktrace && \
19519 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
19520 $(TARGET-libbacktrace))
19521 @endif libbacktrace
19525 .PHONY: all-stage1-libbacktrace maybe-all-stage1-libbacktrace
19526 .PHONY: clean-stage1-libbacktrace maybe-clean-stage1-libbacktrace
19527 maybe-all-stage1-libbacktrace:
19528 maybe-clean-stage1-libbacktrace:
19529 @if libbacktrace-bootstrap
19530 maybe-all-stage1-libbacktrace: all-stage1-libbacktrace
19531 all-stage1: all-stage1-libbacktrace
19532 TARGET-stage1-libbacktrace = $(TARGET-libbacktrace)
19533 all-stage1-libbacktrace: configure-stage1-libbacktrace
19534 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
19535 @r=`${PWD_COMMAND}`; export r; \
19536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19537 TFLAGS="$(STAGE1_TFLAGS)"; \
19538 $(HOST_EXPORTS) \
19539 cd $(HOST_SUBDIR)/libbacktrace && \
19540 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19541 CFLAGS="$(STAGE1_CFLAGS)" \
19542 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
19543 LIBCFLAGS="$(LIBCFLAGS)" \
19544 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19545 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19546 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19547 $(EXTRA_HOST_FLAGS) \
19548 $(STAGE1_FLAGS_TO_PASS) \
19549 TFLAGS="$(STAGE1_TFLAGS)" \
19550 $(TARGET-stage1-libbacktrace)
19552 maybe-clean-stage1-libbacktrace: clean-stage1-libbacktrace
19553 clean-stage1: clean-stage1-libbacktrace
19554 clean-stage1-libbacktrace:
19555 @if [ $(current_stage) = stage1 ]; then \
19556 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
19557 else \
19558 [ -f $(HOST_SUBDIR)/stage1-libbacktrace/Makefile ] || exit 0; \
19559 $(MAKE) stage1-start; \
19560 fi; \
19561 cd $(HOST_SUBDIR)/libbacktrace && \
19562 $(MAKE) $(EXTRA_HOST_FLAGS) \
19563 $(STAGE1_FLAGS_TO_PASS) clean
19564 @endif libbacktrace-bootstrap
19567 .PHONY: all-stage2-libbacktrace maybe-all-stage2-libbacktrace
19568 .PHONY: clean-stage2-libbacktrace maybe-clean-stage2-libbacktrace
19569 maybe-all-stage2-libbacktrace:
19570 maybe-clean-stage2-libbacktrace:
19571 @if libbacktrace-bootstrap
19572 maybe-all-stage2-libbacktrace: all-stage2-libbacktrace
19573 all-stage2: all-stage2-libbacktrace
19574 TARGET-stage2-libbacktrace = $(TARGET-libbacktrace)
19575 all-stage2-libbacktrace: configure-stage2-libbacktrace
19576 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
19577 @r=`${PWD_COMMAND}`; export r; \
19578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19579 TFLAGS="$(STAGE2_TFLAGS)"; \
19580 $(HOST_EXPORTS) \
19581 $(POSTSTAGE1_HOST_EXPORTS) \
19582 cd $(HOST_SUBDIR)/libbacktrace && \
19583 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19584 CFLAGS="$(STAGE2_CFLAGS)" \
19585 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
19586 LIBCFLAGS="$(STAGE2_CFLAGS)" \
19587 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19588 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19589 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19590 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19591 TFLAGS="$(STAGE2_TFLAGS)" \
19592 $(TARGET-stage2-libbacktrace)
19594 maybe-clean-stage2-libbacktrace: clean-stage2-libbacktrace
19595 clean-stage2: clean-stage2-libbacktrace
19596 clean-stage2-libbacktrace:
19597 @if [ $(current_stage) = stage2 ]; then \
19598 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
19599 else \
19600 [ -f $(HOST_SUBDIR)/stage2-libbacktrace/Makefile ] || exit 0; \
19601 $(MAKE) stage2-start; \
19602 fi; \
19603 cd $(HOST_SUBDIR)/libbacktrace && \
19604 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19605 @endif libbacktrace-bootstrap
19608 .PHONY: all-stage3-libbacktrace maybe-all-stage3-libbacktrace
19609 .PHONY: clean-stage3-libbacktrace maybe-clean-stage3-libbacktrace
19610 maybe-all-stage3-libbacktrace:
19611 maybe-clean-stage3-libbacktrace:
19612 @if libbacktrace-bootstrap
19613 maybe-all-stage3-libbacktrace: all-stage3-libbacktrace
19614 all-stage3: all-stage3-libbacktrace
19615 TARGET-stage3-libbacktrace = $(TARGET-libbacktrace)
19616 all-stage3-libbacktrace: configure-stage3-libbacktrace
19617 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
19618 @r=`${PWD_COMMAND}`; export r; \
19619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19620 TFLAGS="$(STAGE3_TFLAGS)"; \
19621 $(HOST_EXPORTS) \
19622 $(POSTSTAGE1_HOST_EXPORTS) \
19623 cd $(HOST_SUBDIR)/libbacktrace && \
19624 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19625 CFLAGS="$(STAGE3_CFLAGS)" \
19626 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
19627 LIBCFLAGS="$(STAGE3_CFLAGS)" \
19628 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19629 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19630 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19631 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19632 TFLAGS="$(STAGE3_TFLAGS)" \
19633 $(TARGET-stage3-libbacktrace)
19635 maybe-clean-stage3-libbacktrace: clean-stage3-libbacktrace
19636 clean-stage3: clean-stage3-libbacktrace
19637 clean-stage3-libbacktrace:
19638 @if [ $(current_stage) = stage3 ]; then \
19639 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
19640 else \
19641 [ -f $(HOST_SUBDIR)/stage3-libbacktrace/Makefile ] || exit 0; \
19642 $(MAKE) stage3-start; \
19643 fi; \
19644 cd $(HOST_SUBDIR)/libbacktrace && \
19645 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19646 @endif libbacktrace-bootstrap
19649 .PHONY: all-stage4-libbacktrace maybe-all-stage4-libbacktrace
19650 .PHONY: clean-stage4-libbacktrace maybe-clean-stage4-libbacktrace
19651 maybe-all-stage4-libbacktrace:
19652 maybe-clean-stage4-libbacktrace:
19653 @if libbacktrace-bootstrap
19654 maybe-all-stage4-libbacktrace: all-stage4-libbacktrace
19655 all-stage4: all-stage4-libbacktrace
19656 TARGET-stage4-libbacktrace = $(TARGET-libbacktrace)
19657 all-stage4-libbacktrace: configure-stage4-libbacktrace
19658 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
19659 @r=`${PWD_COMMAND}`; export r; \
19660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19661 TFLAGS="$(STAGE4_TFLAGS)"; \
19662 $(HOST_EXPORTS) \
19663 $(POSTSTAGE1_HOST_EXPORTS) \
19664 cd $(HOST_SUBDIR)/libbacktrace && \
19665 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19666 CFLAGS="$(STAGE4_CFLAGS)" \
19667 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
19668 LIBCFLAGS="$(STAGE4_CFLAGS)" \
19669 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19670 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19671 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19672 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19673 TFLAGS="$(STAGE4_TFLAGS)" \
19674 $(TARGET-stage4-libbacktrace)
19676 maybe-clean-stage4-libbacktrace: clean-stage4-libbacktrace
19677 clean-stage4: clean-stage4-libbacktrace
19678 clean-stage4-libbacktrace:
19679 @if [ $(current_stage) = stage4 ]; then \
19680 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
19681 else \
19682 [ -f $(HOST_SUBDIR)/stage4-libbacktrace/Makefile ] || exit 0; \
19683 $(MAKE) stage4-start; \
19684 fi; \
19685 cd $(HOST_SUBDIR)/libbacktrace && \
19686 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19687 @endif libbacktrace-bootstrap
19690 .PHONY: all-stageprofile-libbacktrace maybe-all-stageprofile-libbacktrace
19691 .PHONY: clean-stageprofile-libbacktrace maybe-clean-stageprofile-libbacktrace
19692 maybe-all-stageprofile-libbacktrace:
19693 maybe-clean-stageprofile-libbacktrace:
19694 @if libbacktrace-bootstrap
19695 maybe-all-stageprofile-libbacktrace: all-stageprofile-libbacktrace
19696 all-stageprofile: all-stageprofile-libbacktrace
19697 TARGET-stageprofile-libbacktrace = $(TARGET-libbacktrace)
19698 all-stageprofile-libbacktrace: configure-stageprofile-libbacktrace
19699 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
19700 @r=`${PWD_COMMAND}`; export r; \
19701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19702 TFLAGS="$(STAGEprofile_TFLAGS)"; \
19703 $(HOST_EXPORTS) \
19704 $(POSTSTAGE1_HOST_EXPORTS) \
19705 cd $(HOST_SUBDIR)/libbacktrace && \
19706 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19707 CFLAGS="$(STAGEprofile_CFLAGS)" \
19708 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
19709 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
19710 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19711 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19712 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19713 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19714 TFLAGS="$(STAGEprofile_TFLAGS)" \
19715 $(TARGET-stageprofile-libbacktrace)
19717 maybe-clean-stageprofile-libbacktrace: clean-stageprofile-libbacktrace
19718 clean-stageprofile: clean-stageprofile-libbacktrace
19719 clean-stageprofile-libbacktrace:
19720 @if [ $(current_stage) = stageprofile ]; then \
19721 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
19722 else \
19723 [ -f $(HOST_SUBDIR)/stageprofile-libbacktrace/Makefile ] || exit 0; \
19724 $(MAKE) stageprofile-start; \
19725 fi; \
19726 cd $(HOST_SUBDIR)/libbacktrace && \
19727 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19728 @endif libbacktrace-bootstrap
19731 .PHONY: all-stagefeedback-libbacktrace maybe-all-stagefeedback-libbacktrace
19732 .PHONY: clean-stagefeedback-libbacktrace maybe-clean-stagefeedback-libbacktrace
19733 maybe-all-stagefeedback-libbacktrace:
19734 maybe-clean-stagefeedback-libbacktrace:
19735 @if libbacktrace-bootstrap
19736 maybe-all-stagefeedback-libbacktrace: all-stagefeedback-libbacktrace
19737 all-stagefeedback: all-stagefeedback-libbacktrace
19738 TARGET-stagefeedback-libbacktrace = $(TARGET-libbacktrace)
19739 all-stagefeedback-libbacktrace: configure-stagefeedback-libbacktrace
19740 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
19741 @r=`${PWD_COMMAND}`; export r; \
19742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19743 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
19744 $(HOST_EXPORTS) \
19745 $(POSTSTAGE1_HOST_EXPORTS) \
19746 cd $(HOST_SUBDIR)/libbacktrace && \
19747 $(MAKE) $(BASE_FLAGS_TO_PASS) \
19748 CFLAGS="$(STAGEfeedback_CFLAGS)" \
19749 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
19750 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
19751 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
19752 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
19753 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
19754 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
19755 TFLAGS="$(STAGEfeedback_TFLAGS)" \
19756 $(TARGET-stagefeedback-libbacktrace)
19758 maybe-clean-stagefeedback-libbacktrace: clean-stagefeedback-libbacktrace
19759 clean-stagefeedback: clean-stagefeedback-libbacktrace
19760 clean-stagefeedback-libbacktrace:
19761 @if [ $(current_stage) = stagefeedback ]; then \
19762 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
19763 else \
19764 [ -f $(HOST_SUBDIR)/stagefeedback-libbacktrace/Makefile ] || exit 0; \
19765 $(MAKE) stagefeedback-start; \
19766 fi; \
19767 cd $(HOST_SUBDIR)/libbacktrace && \
19768 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
19769 @endif libbacktrace-bootstrap
19775 .PHONY: check-libbacktrace maybe-check-libbacktrace
19776 maybe-check-libbacktrace:
19777 @if libbacktrace
19778 maybe-check-libbacktrace: check-libbacktrace
19780 check-libbacktrace:
19781 @: $(MAKE); $(unstage)
19782 @r=`${PWD_COMMAND}`; export r; \
19783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19784 $(HOST_EXPORTS) \
19785 (cd $(HOST_SUBDIR)/libbacktrace && \
19786 $(MAKE) $(FLAGS_TO_PASS) check)
19788 @endif libbacktrace
19790 .PHONY: install-libbacktrace maybe-install-libbacktrace
19791 maybe-install-libbacktrace:
19792 @if libbacktrace
19793 maybe-install-libbacktrace: install-libbacktrace
19795 install-libbacktrace: installdirs
19796 @: $(MAKE); $(unstage)
19797 @r=`${PWD_COMMAND}`; export r; \
19798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19799 $(HOST_EXPORTS) \
19800 (cd $(HOST_SUBDIR)/libbacktrace && \
19801 $(MAKE) $(FLAGS_TO_PASS) install)
19803 @endif libbacktrace
19805 .PHONY: install-strip-libbacktrace maybe-install-strip-libbacktrace
19806 maybe-install-strip-libbacktrace:
19807 @if libbacktrace
19808 maybe-install-strip-libbacktrace: install-strip-libbacktrace
19810 install-strip-libbacktrace: installdirs
19811 @: $(MAKE); $(unstage)
19812 @r=`${PWD_COMMAND}`; export r; \
19813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19814 $(HOST_EXPORTS) \
19815 (cd $(HOST_SUBDIR)/libbacktrace && \
19816 $(MAKE) $(FLAGS_TO_PASS) install-strip)
19818 @endif libbacktrace
19820 # Other targets (info, dvi, pdf, etc.)
19822 .PHONY: maybe-info-libbacktrace info-libbacktrace
19823 maybe-info-libbacktrace:
19824 @if libbacktrace
19825 maybe-info-libbacktrace: info-libbacktrace
19827 info-libbacktrace: \
19828 configure-libbacktrace
19829 @[ -f ./libbacktrace/Makefile ] || exit 0; \
19830 r=`${PWD_COMMAND}`; export r; \
19831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19832 $(HOST_EXPORTS) \
19833 for flag in $(EXTRA_HOST_FLAGS) ; do \
19834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19835 done; \
19836 echo "Doing info in libbacktrace" ; \
19837 (cd $(HOST_SUBDIR)/libbacktrace && \
19838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19840 "RANLIB=$${RANLIB}" \
19841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19842 info) \
19843 || exit 1
19845 @endif libbacktrace
19847 .PHONY: maybe-dvi-libbacktrace dvi-libbacktrace
19848 maybe-dvi-libbacktrace:
19849 @if libbacktrace
19850 maybe-dvi-libbacktrace: dvi-libbacktrace
19852 dvi-libbacktrace: \
19853 configure-libbacktrace
19854 @[ -f ./libbacktrace/Makefile ] || exit 0; \
19855 r=`${PWD_COMMAND}`; export r; \
19856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19857 $(HOST_EXPORTS) \
19858 for flag in $(EXTRA_HOST_FLAGS) ; do \
19859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19860 done; \
19861 echo "Doing dvi in libbacktrace" ; \
19862 (cd $(HOST_SUBDIR)/libbacktrace && \
19863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19865 "RANLIB=$${RANLIB}" \
19866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19867 dvi) \
19868 || exit 1
19870 @endif libbacktrace
19872 .PHONY: maybe-pdf-libbacktrace pdf-libbacktrace
19873 maybe-pdf-libbacktrace:
19874 @if libbacktrace
19875 maybe-pdf-libbacktrace: pdf-libbacktrace
19877 pdf-libbacktrace: \
19878 configure-libbacktrace
19879 @[ -f ./libbacktrace/Makefile ] || exit 0; \
19880 r=`${PWD_COMMAND}`; export r; \
19881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19882 $(HOST_EXPORTS) \
19883 for flag in $(EXTRA_HOST_FLAGS) ; do \
19884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19885 done; \
19886 echo "Doing pdf in libbacktrace" ; \
19887 (cd $(HOST_SUBDIR)/libbacktrace && \
19888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19890 "RANLIB=$${RANLIB}" \
19891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19892 pdf) \
19893 || exit 1
19895 @endif libbacktrace
19897 .PHONY: maybe-html-libbacktrace html-libbacktrace
19898 maybe-html-libbacktrace:
19899 @if libbacktrace
19900 maybe-html-libbacktrace: html-libbacktrace
19902 html-libbacktrace: \
19903 configure-libbacktrace
19904 @[ -f ./libbacktrace/Makefile ] || exit 0; \
19905 r=`${PWD_COMMAND}`; export r; \
19906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19907 $(HOST_EXPORTS) \
19908 for flag in $(EXTRA_HOST_FLAGS) ; do \
19909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19910 done; \
19911 echo "Doing html in libbacktrace" ; \
19912 (cd $(HOST_SUBDIR)/libbacktrace && \
19913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19915 "RANLIB=$${RANLIB}" \
19916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19917 html) \
19918 || exit 1
19920 @endif libbacktrace
19922 .PHONY: maybe-TAGS-libbacktrace TAGS-libbacktrace
19923 maybe-TAGS-libbacktrace:
19924 @if libbacktrace
19925 maybe-TAGS-libbacktrace: TAGS-libbacktrace
19927 TAGS-libbacktrace: \
19928 configure-libbacktrace
19929 @[ -f ./libbacktrace/Makefile ] || exit 0; \
19930 r=`${PWD_COMMAND}`; export r; \
19931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19932 $(HOST_EXPORTS) \
19933 for flag in $(EXTRA_HOST_FLAGS) ; do \
19934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19935 done; \
19936 echo "Doing TAGS in libbacktrace" ; \
19937 (cd $(HOST_SUBDIR)/libbacktrace && \
19938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19940 "RANLIB=$${RANLIB}" \
19941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19942 TAGS) \
19943 || exit 1
19945 @endif libbacktrace
19947 .PHONY: maybe-install-info-libbacktrace install-info-libbacktrace
19948 maybe-install-info-libbacktrace:
19949 @if libbacktrace
19950 maybe-install-info-libbacktrace: install-info-libbacktrace
19952 install-info-libbacktrace: \
19953 configure-libbacktrace \
19954 info-libbacktrace
19955 @[ -f ./libbacktrace/Makefile ] || exit 0; \
19956 r=`${PWD_COMMAND}`; export r; \
19957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19958 $(HOST_EXPORTS) \
19959 for flag in $(EXTRA_HOST_FLAGS) ; do \
19960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19961 done; \
19962 echo "Doing install-info in libbacktrace" ; \
19963 (cd $(HOST_SUBDIR)/libbacktrace && \
19964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19966 "RANLIB=$${RANLIB}" \
19967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19968 install-info) \
19969 || exit 1
19971 @endif libbacktrace
19973 .PHONY: maybe-install-pdf-libbacktrace install-pdf-libbacktrace
19974 maybe-install-pdf-libbacktrace:
19975 @if libbacktrace
19976 maybe-install-pdf-libbacktrace: install-pdf-libbacktrace
19978 install-pdf-libbacktrace: \
19979 configure-libbacktrace \
19980 pdf-libbacktrace
19981 @[ -f ./libbacktrace/Makefile ] || exit 0; \
19982 r=`${PWD_COMMAND}`; export r; \
19983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19984 $(HOST_EXPORTS) \
19985 for flag in $(EXTRA_HOST_FLAGS) ; do \
19986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19987 done; \
19988 echo "Doing install-pdf in libbacktrace" ; \
19989 (cd $(HOST_SUBDIR)/libbacktrace && \
19990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19992 "RANLIB=$${RANLIB}" \
19993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
19994 install-pdf) \
19995 || exit 1
19997 @endif libbacktrace
19999 .PHONY: maybe-install-html-libbacktrace install-html-libbacktrace
20000 maybe-install-html-libbacktrace:
20001 @if libbacktrace
20002 maybe-install-html-libbacktrace: install-html-libbacktrace
20004 install-html-libbacktrace: \
20005 configure-libbacktrace \
20006 html-libbacktrace
20007 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20008 r=`${PWD_COMMAND}`; export r; \
20009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20010 $(HOST_EXPORTS) \
20011 for flag in $(EXTRA_HOST_FLAGS) ; do \
20012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20013 done; \
20014 echo "Doing install-html in libbacktrace" ; \
20015 (cd $(HOST_SUBDIR)/libbacktrace && \
20016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20018 "RANLIB=$${RANLIB}" \
20019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20020 install-html) \
20021 || exit 1
20023 @endif libbacktrace
20025 .PHONY: maybe-installcheck-libbacktrace installcheck-libbacktrace
20026 maybe-installcheck-libbacktrace:
20027 @if libbacktrace
20028 maybe-installcheck-libbacktrace: installcheck-libbacktrace
20030 installcheck-libbacktrace: \
20031 configure-libbacktrace
20032 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20033 r=`${PWD_COMMAND}`; export r; \
20034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20035 $(HOST_EXPORTS) \
20036 for flag in $(EXTRA_HOST_FLAGS) ; do \
20037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20038 done; \
20039 echo "Doing installcheck in libbacktrace" ; \
20040 (cd $(HOST_SUBDIR)/libbacktrace && \
20041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20043 "RANLIB=$${RANLIB}" \
20044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20045 installcheck) \
20046 || exit 1
20048 @endif libbacktrace
20050 .PHONY: maybe-mostlyclean-libbacktrace mostlyclean-libbacktrace
20051 maybe-mostlyclean-libbacktrace:
20052 @if libbacktrace
20053 maybe-mostlyclean-libbacktrace: mostlyclean-libbacktrace
20055 mostlyclean-libbacktrace:
20056 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20057 r=`${PWD_COMMAND}`; export r; \
20058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20059 $(HOST_EXPORTS) \
20060 for flag in $(EXTRA_HOST_FLAGS) ; do \
20061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20062 done; \
20063 echo "Doing mostlyclean in libbacktrace" ; \
20064 (cd $(HOST_SUBDIR)/libbacktrace && \
20065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20067 "RANLIB=$${RANLIB}" \
20068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20069 mostlyclean) \
20070 || exit 1
20072 @endif libbacktrace
20074 .PHONY: maybe-clean-libbacktrace clean-libbacktrace
20075 maybe-clean-libbacktrace:
20076 @if libbacktrace
20077 maybe-clean-libbacktrace: clean-libbacktrace
20079 clean-libbacktrace:
20080 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20081 r=`${PWD_COMMAND}`; export r; \
20082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20083 $(HOST_EXPORTS) \
20084 for flag in $(EXTRA_HOST_FLAGS) ; do \
20085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20086 done; \
20087 echo "Doing clean in libbacktrace" ; \
20088 (cd $(HOST_SUBDIR)/libbacktrace && \
20089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20091 "RANLIB=$${RANLIB}" \
20092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20093 clean) \
20094 || exit 1
20096 @endif libbacktrace
20098 .PHONY: maybe-distclean-libbacktrace distclean-libbacktrace
20099 maybe-distclean-libbacktrace:
20100 @if libbacktrace
20101 maybe-distclean-libbacktrace: distclean-libbacktrace
20103 distclean-libbacktrace:
20104 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20105 r=`${PWD_COMMAND}`; export r; \
20106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20107 $(HOST_EXPORTS) \
20108 for flag in $(EXTRA_HOST_FLAGS) ; do \
20109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20110 done; \
20111 echo "Doing distclean in libbacktrace" ; \
20112 (cd $(HOST_SUBDIR)/libbacktrace && \
20113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20115 "RANLIB=$${RANLIB}" \
20116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20117 distclean) \
20118 || exit 1
20120 @endif libbacktrace
20122 .PHONY: maybe-maintainer-clean-libbacktrace maintainer-clean-libbacktrace
20123 maybe-maintainer-clean-libbacktrace:
20124 @if libbacktrace
20125 maybe-maintainer-clean-libbacktrace: maintainer-clean-libbacktrace
20127 maintainer-clean-libbacktrace:
20128 @[ -f ./libbacktrace/Makefile ] || exit 0; \
20129 r=`${PWD_COMMAND}`; export r; \
20130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20131 $(HOST_EXPORTS) \
20132 for flag in $(EXTRA_HOST_FLAGS) ; do \
20133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20134 done; \
20135 echo "Doing maintainer-clean in libbacktrace" ; \
20136 (cd $(HOST_SUBDIR)/libbacktrace && \
20137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20139 "RANLIB=$${RANLIB}" \
20140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20141 maintainer-clean) \
20142 || exit 1
20144 @endif libbacktrace
20148 .PHONY: configure-libcpp maybe-configure-libcpp
20149 maybe-configure-libcpp:
20150 @if gcc-bootstrap
20151 configure-libcpp: stage_current
20152 @endif gcc-bootstrap
20153 @if libcpp
20154 maybe-configure-libcpp: configure-libcpp
20155 configure-libcpp:
20156 @r=`${PWD_COMMAND}`; export r; \
20157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20158 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20159 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20160 $(HOST_EXPORTS) \
20161 echo Configuring in $(HOST_SUBDIR)/libcpp; \
20162 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
20163 case $(srcdir) in \
20164 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20165 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20166 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20167 esac; \
20168 module_srcdir=libcpp; \
20169 $(SHELL) \
20170 $$s/$$module_srcdir/configure \
20171 --srcdir=$${topdir}/$$module_srcdir \
20172 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20173 --target=${target_alias} \
20174 || exit 1
20175 @endif libcpp
20179 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
20180 maybe-configure-stage1-libcpp:
20181 @if libcpp-bootstrap
20182 maybe-configure-stage1-libcpp: configure-stage1-libcpp
20183 configure-stage1-libcpp:
20184 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20185 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20186 @r=`${PWD_COMMAND}`; export r; \
20187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20188 TFLAGS="$(STAGE1_TFLAGS)"; \
20189 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20190 $(HOST_EXPORTS) \
20191 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
20192 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
20193 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
20194 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp ; \
20195 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20196 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20197 case $(srcdir) in \
20198 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20199 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20200 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20201 esac; \
20202 module_srcdir=libcpp; \
20203 $(SHELL) $$s/$$module_srcdir/configure \
20204 --srcdir=$${topdir}/$$module_srcdir \
20205 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20206 --target=${target_alias} \
20208 $(STAGE1_CONFIGURE_FLAGS)
20209 @endif libcpp-bootstrap
20211 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
20212 maybe-configure-stage2-libcpp:
20213 @if libcpp-bootstrap
20214 maybe-configure-stage2-libcpp: configure-stage2-libcpp
20215 configure-stage2-libcpp:
20216 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20217 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20218 @r=`${PWD_COMMAND}`; export r; \
20219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20220 TFLAGS="$(STAGE2_TFLAGS)"; \
20221 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20222 $(HOST_EXPORTS) \
20223 $(POSTSTAGE1_HOST_EXPORTS) \
20224 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
20225 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
20226 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
20227 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp ; \
20228 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20229 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20230 case $(srcdir) in \
20231 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20232 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20233 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20234 esac; \
20235 module_srcdir=libcpp; \
20236 $(SHELL) $$s/$$module_srcdir/configure \
20237 --srcdir=$${topdir}/$$module_srcdir \
20238 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20239 --target=${target_alias} \
20240 --with-build-libsubdir=$(HOST_SUBDIR) \
20241 $(STAGE2_CONFIGURE_FLAGS)
20242 @endif libcpp-bootstrap
20244 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
20245 maybe-configure-stage3-libcpp:
20246 @if libcpp-bootstrap
20247 maybe-configure-stage3-libcpp: configure-stage3-libcpp
20248 configure-stage3-libcpp:
20249 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20250 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20251 @r=`${PWD_COMMAND}`; export r; \
20252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20253 TFLAGS="$(STAGE3_TFLAGS)"; \
20254 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20255 $(HOST_EXPORTS) \
20256 $(POSTSTAGE1_HOST_EXPORTS) \
20257 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
20258 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
20259 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
20260 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp ; \
20261 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20262 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20263 case $(srcdir) in \
20264 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20265 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20266 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20267 esac; \
20268 module_srcdir=libcpp; \
20269 $(SHELL) $$s/$$module_srcdir/configure \
20270 --srcdir=$${topdir}/$$module_srcdir \
20271 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20272 --target=${target_alias} \
20273 --with-build-libsubdir=$(HOST_SUBDIR) \
20274 $(STAGE3_CONFIGURE_FLAGS)
20275 @endif libcpp-bootstrap
20277 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
20278 maybe-configure-stage4-libcpp:
20279 @if libcpp-bootstrap
20280 maybe-configure-stage4-libcpp: configure-stage4-libcpp
20281 configure-stage4-libcpp:
20282 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20283 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20284 @r=`${PWD_COMMAND}`; export r; \
20285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20286 TFLAGS="$(STAGE4_TFLAGS)"; \
20287 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20288 $(HOST_EXPORTS) \
20289 $(POSTSTAGE1_HOST_EXPORTS) \
20290 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
20291 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
20292 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
20293 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp ; \
20294 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20295 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20296 case $(srcdir) in \
20297 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20298 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20299 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20300 esac; \
20301 module_srcdir=libcpp; \
20302 $(SHELL) $$s/$$module_srcdir/configure \
20303 --srcdir=$${topdir}/$$module_srcdir \
20304 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20305 --target=${target_alias} \
20306 --with-build-libsubdir=$(HOST_SUBDIR) \
20307 $(STAGE4_CONFIGURE_FLAGS)
20308 @endif libcpp-bootstrap
20310 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
20311 maybe-configure-stageprofile-libcpp:
20312 @if libcpp-bootstrap
20313 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
20314 configure-stageprofile-libcpp:
20315 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20316 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20317 @r=`${PWD_COMMAND}`; export r; \
20318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20319 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20320 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20321 $(HOST_EXPORTS) \
20322 $(POSTSTAGE1_HOST_EXPORTS) \
20323 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
20324 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
20325 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
20326 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp ; \
20327 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20328 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20329 case $(srcdir) in \
20330 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20331 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20332 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20333 esac; \
20334 module_srcdir=libcpp; \
20335 $(SHELL) $$s/$$module_srcdir/configure \
20336 --srcdir=$${topdir}/$$module_srcdir \
20337 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20338 --target=${target_alias} \
20339 --with-build-libsubdir=$(HOST_SUBDIR) \
20340 $(STAGEprofile_CONFIGURE_FLAGS)
20341 @endif libcpp-bootstrap
20343 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
20344 maybe-configure-stagefeedback-libcpp:
20345 @if libcpp-bootstrap
20346 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
20347 configure-stagefeedback-libcpp:
20348 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20349 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
20350 @r=`${PWD_COMMAND}`; export r; \
20351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20352 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20353 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
20354 $(HOST_EXPORTS) \
20355 $(POSTSTAGE1_HOST_EXPORTS) \
20356 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
20357 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
20358 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
20359 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp ; \
20360 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
20361 cd $(HOST_SUBDIR)/libcpp || exit 1; \
20362 case $(srcdir) in \
20363 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20364 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
20365 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20366 esac; \
20367 module_srcdir=libcpp; \
20368 $(SHELL) $$s/$$module_srcdir/configure \
20369 --srcdir=$${topdir}/$$module_srcdir \
20370 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
20371 --target=${target_alias} \
20372 --with-build-libsubdir=$(HOST_SUBDIR) \
20373 $(STAGEfeedback_CONFIGURE_FLAGS)
20374 @endif libcpp-bootstrap
20380 .PHONY: all-libcpp maybe-all-libcpp
20381 maybe-all-libcpp:
20382 @if gcc-bootstrap
20383 all-libcpp: stage_current
20384 @endif gcc-bootstrap
20385 @if libcpp
20386 TARGET-libcpp=all
20387 maybe-all-libcpp: all-libcpp
20388 all-libcpp: configure-libcpp
20389 @r=`${PWD_COMMAND}`; export r; \
20390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20391 $(HOST_EXPORTS) \
20392 (cd $(HOST_SUBDIR)/libcpp && \
20393 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
20394 $(TARGET-libcpp))
20395 @endif libcpp
20399 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
20400 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
20401 maybe-all-stage1-libcpp:
20402 maybe-clean-stage1-libcpp:
20403 @if libcpp-bootstrap
20404 maybe-all-stage1-libcpp: all-stage1-libcpp
20405 all-stage1: all-stage1-libcpp
20406 TARGET-stage1-libcpp = $(TARGET-libcpp)
20407 all-stage1-libcpp: configure-stage1-libcpp
20408 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
20409 @r=`${PWD_COMMAND}`; export r; \
20410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20411 TFLAGS="$(STAGE1_TFLAGS)"; \
20412 $(HOST_EXPORTS) \
20413 cd $(HOST_SUBDIR)/libcpp && \
20414 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20415 CFLAGS="$(STAGE1_CFLAGS)" \
20416 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
20417 LIBCFLAGS="$(LIBCFLAGS)" \
20418 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20419 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20420 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20421 $(EXTRA_HOST_FLAGS) \
20422 $(STAGE1_FLAGS_TO_PASS) \
20423 TFLAGS="$(STAGE1_TFLAGS)" \
20424 $(TARGET-stage1-libcpp)
20426 maybe-clean-stage1-libcpp: clean-stage1-libcpp
20427 clean-stage1: clean-stage1-libcpp
20428 clean-stage1-libcpp:
20429 @if [ $(current_stage) = stage1 ]; then \
20430 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20431 else \
20432 [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] || exit 0; \
20433 $(MAKE) stage1-start; \
20434 fi; \
20435 cd $(HOST_SUBDIR)/libcpp && \
20436 $(MAKE) $(EXTRA_HOST_FLAGS) \
20437 $(STAGE1_FLAGS_TO_PASS) clean
20438 @endif libcpp-bootstrap
20441 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
20442 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
20443 maybe-all-stage2-libcpp:
20444 maybe-clean-stage2-libcpp:
20445 @if libcpp-bootstrap
20446 maybe-all-stage2-libcpp: all-stage2-libcpp
20447 all-stage2: all-stage2-libcpp
20448 TARGET-stage2-libcpp = $(TARGET-libcpp)
20449 all-stage2-libcpp: configure-stage2-libcpp
20450 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
20451 @r=`${PWD_COMMAND}`; export r; \
20452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20453 TFLAGS="$(STAGE2_TFLAGS)"; \
20454 $(HOST_EXPORTS) \
20455 $(POSTSTAGE1_HOST_EXPORTS) \
20456 cd $(HOST_SUBDIR)/libcpp && \
20457 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20458 CFLAGS="$(STAGE2_CFLAGS)" \
20459 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
20460 LIBCFLAGS="$(STAGE2_CFLAGS)" \
20461 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20462 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20463 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20464 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20465 TFLAGS="$(STAGE2_TFLAGS)" \
20466 $(TARGET-stage2-libcpp)
20468 maybe-clean-stage2-libcpp: clean-stage2-libcpp
20469 clean-stage2: clean-stage2-libcpp
20470 clean-stage2-libcpp:
20471 @if [ $(current_stage) = stage2 ]; then \
20472 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20473 else \
20474 [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] || exit 0; \
20475 $(MAKE) stage2-start; \
20476 fi; \
20477 cd $(HOST_SUBDIR)/libcpp && \
20478 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20479 @endif libcpp-bootstrap
20482 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
20483 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
20484 maybe-all-stage3-libcpp:
20485 maybe-clean-stage3-libcpp:
20486 @if libcpp-bootstrap
20487 maybe-all-stage3-libcpp: all-stage3-libcpp
20488 all-stage3: all-stage3-libcpp
20489 TARGET-stage3-libcpp = $(TARGET-libcpp)
20490 all-stage3-libcpp: configure-stage3-libcpp
20491 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
20492 @r=`${PWD_COMMAND}`; export r; \
20493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20494 TFLAGS="$(STAGE3_TFLAGS)"; \
20495 $(HOST_EXPORTS) \
20496 $(POSTSTAGE1_HOST_EXPORTS) \
20497 cd $(HOST_SUBDIR)/libcpp && \
20498 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20499 CFLAGS="$(STAGE3_CFLAGS)" \
20500 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
20501 LIBCFLAGS="$(STAGE3_CFLAGS)" \
20502 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20503 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20504 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20505 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20506 TFLAGS="$(STAGE3_TFLAGS)" \
20507 $(TARGET-stage3-libcpp)
20509 maybe-clean-stage3-libcpp: clean-stage3-libcpp
20510 clean-stage3: clean-stage3-libcpp
20511 clean-stage3-libcpp:
20512 @if [ $(current_stage) = stage3 ]; then \
20513 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20514 else \
20515 [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] || exit 0; \
20516 $(MAKE) stage3-start; \
20517 fi; \
20518 cd $(HOST_SUBDIR)/libcpp && \
20519 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20520 @endif libcpp-bootstrap
20523 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
20524 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
20525 maybe-all-stage4-libcpp:
20526 maybe-clean-stage4-libcpp:
20527 @if libcpp-bootstrap
20528 maybe-all-stage4-libcpp: all-stage4-libcpp
20529 all-stage4: all-stage4-libcpp
20530 TARGET-stage4-libcpp = $(TARGET-libcpp)
20531 all-stage4-libcpp: configure-stage4-libcpp
20532 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
20533 @r=`${PWD_COMMAND}`; export r; \
20534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20535 TFLAGS="$(STAGE4_TFLAGS)"; \
20536 $(HOST_EXPORTS) \
20537 $(POSTSTAGE1_HOST_EXPORTS) \
20538 cd $(HOST_SUBDIR)/libcpp && \
20539 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20540 CFLAGS="$(STAGE4_CFLAGS)" \
20541 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
20542 LIBCFLAGS="$(STAGE4_CFLAGS)" \
20543 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20544 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20545 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20546 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20547 TFLAGS="$(STAGE4_TFLAGS)" \
20548 $(TARGET-stage4-libcpp)
20550 maybe-clean-stage4-libcpp: clean-stage4-libcpp
20551 clean-stage4: clean-stage4-libcpp
20552 clean-stage4-libcpp:
20553 @if [ $(current_stage) = stage4 ]; then \
20554 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20555 else \
20556 [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] || exit 0; \
20557 $(MAKE) stage4-start; \
20558 fi; \
20559 cd $(HOST_SUBDIR)/libcpp && \
20560 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20561 @endif libcpp-bootstrap
20564 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
20565 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
20566 maybe-all-stageprofile-libcpp:
20567 maybe-clean-stageprofile-libcpp:
20568 @if libcpp-bootstrap
20569 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
20570 all-stageprofile: all-stageprofile-libcpp
20571 TARGET-stageprofile-libcpp = $(TARGET-libcpp)
20572 all-stageprofile-libcpp: configure-stageprofile-libcpp
20573 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
20574 @r=`${PWD_COMMAND}`; export r; \
20575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20576 TFLAGS="$(STAGEprofile_TFLAGS)"; \
20577 $(HOST_EXPORTS) \
20578 $(POSTSTAGE1_HOST_EXPORTS) \
20579 cd $(HOST_SUBDIR)/libcpp && \
20580 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20581 CFLAGS="$(STAGEprofile_CFLAGS)" \
20582 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
20583 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
20584 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20585 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20586 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20587 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20588 TFLAGS="$(STAGEprofile_TFLAGS)" \
20589 $(TARGET-stageprofile-libcpp)
20591 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
20592 clean-stageprofile: clean-stageprofile-libcpp
20593 clean-stageprofile-libcpp:
20594 @if [ $(current_stage) = stageprofile ]; then \
20595 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20596 else \
20597 [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] || exit 0; \
20598 $(MAKE) stageprofile-start; \
20599 fi; \
20600 cd $(HOST_SUBDIR)/libcpp && \
20601 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20602 @endif libcpp-bootstrap
20605 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
20606 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
20607 maybe-all-stagefeedback-libcpp:
20608 maybe-clean-stagefeedback-libcpp:
20609 @if libcpp-bootstrap
20610 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
20611 all-stagefeedback: all-stagefeedback-libcpp
20612 TARGET-stagefeedback-libcpp = $(TARGET-libcpp)
20613 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
20614 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
20615 @r=`${PWD_COMMAND}`; export r; \
20616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20617 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
20618 $(HOST_EXPORTS) \
20619 $(POSTSTAGE1_HOST_EXPORTS) \
20620 cd $(HOST_SUBDIR)/libcpp && \
20621 $(MAKE) $(BASE_FLAGS_TO_PASS) \
20622 CFLAGS="$(STAGEfeedback_CFLAGS)" \
20623 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
20624 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
20625 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
20626 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
20627 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
20628 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
20629 TFLAGS="$(STAGEfeedback_TFLAGS)" \
20630 $(TARGET-stagefeedback-libcpp)
20632 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
20633 clean-stagefeedback: clean-stagefeedback-libcpp
20634 clean-stagefeedback-libcpp:
20635 @if [ $(current_stage) = stagefeedback ]; then \
20636 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
20637 else \
20638 [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] || exit 0; \
20639 $(MAKE) stagefeedback-start; \
20640 fi; \
20641 cd $(HOST_SUBDIR)/libcpp && \
20642 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
20643 @endif libcpp-bootstrap
20649 .PHONY: check-libcpp maybe-check-libcpp
20650 maybe-check-libcpp:
20651 @if libcpp
20652 maybe-check-libcpp: check-libcpp
20654 check-libcpp:
20655 @: $(MAKE); $(unstage)
20656 @r=`${PWD_COMMAND}`; export r; \
20657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20658 $(HOST_EXPORTS) \
20659 (cd $(HOST_SUBDIR)/libcpp && \
20660 $(MAKE) $(FLAGS_TO_PASS) check)
20662 @endif libcpp
20664 .PHONY: install-libcpp maybe-install-libcpp
20665 maybe-install-libcpp:
20666 @if libcpp
20667 maybe-install-libcpp: install-libcpp
20669 install-libcpp: installdirs
20670 @: $(MAKE); $(unstage)
20671 @r=`${PWD_COMMAND}`; export r; \
20672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20673 $(HOST_EXPORTS) \
20674 (cd $(HOST_SUBDIR)/libcpp && \
20675 $(MAKE) $(FLAGS_TO_PASS) install)
20677 @endif libcpp
20679 .PHONY: install-strip-libcpp maybe-install-strip-libcpp
20680 maybe-install-strip-libcpp:
20681 @if libcpp
20682 maybe-install-strip-libcpp: install-strip-libcpp
20684 install-strip-libcpp: installdirs
20685 @: $(MAKE); $(unstage)
20686 @r=`${PWD_COMMAND}`; export r; \
20687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20688 $(HOST_EXPORTS) \
20689 (cd $(HOST_SUBDIR)/libcpp && \
20690 $(MAKE) $(FLAGS_TO_PASS) install-strip)
20692 @endif libcpp
20694 # Other targets (info, dvi, pdf, etc.)
20696 .PHONY: maybe-info-libcpp info-libcpp
20697 maybe-info-libcpp:
20698 @if libcpp
20699 maybe-info-libcpp: info-libcpp
20701 info-libcpp: \
20702 configure-libcpp
20703 @[ -f ./libcpp/Makefile ] || exit 0; \
20704 r=`${PWD_COMMAND}`; export r; \
20705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20706 $(HOST_EXPORTS) \
20707 for flag in $(EXTRA_HOST_FLAGS) ; do \
20708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20709 done; \
20710 echo "Doing info in libcpp" ; \
20711 (cd $(HOST_SUBDIR)/libcpp && \
20712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20714 "RANLIB=$${RANLIB}" \
20715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20716 info) \
20717 || exit 1
20719 @endif libcpp
20721 .PHONY: maybe-dvi-libcpp dvi-libcpp
20722 maybe-dvi-libcpp:
20723 @if libcpp
20724 maybe-dvi-libcpp: dvi-libcpp
20726 dvi-libcpp: \
20727 configure-libcpp
20728 @[ -f ./libcpp/Makefile ] || exit 0; \
20729 r=`${PWD_COMMAND}`; export r; \
20730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20731 $(HOST_EXPORTS) \
20732 for flag in $(EXTRA_HOST_FLAGS) ; do \
20733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20734 done; \
20735 echo "Doing dvi in libcpp" ; \
20736 (cd $(HOST_SUBDIR)/libcpp && \
20737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20739 "RANLIB=$${RANLIB}" \
20740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20741 dvi) \
20742 || exit 1
20744 @endif libcpp
20746 .PHONY: maybe-pdf-libcpp pdf-libcpp
20747 maybe-pdf-libcpp:
20748 @if libcpp
20749 maybe-pdf-libcpp: pdf-libcpp
20751 pdf-libcpp: \
20752 configure-libcpp
20753 @[ -f ./libcpp/Makefile ] || exit 0; \
20754 r=`${PWD_COMMAND}`; export r; \
20755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20756 $(HOST_EXPORTS) \
20757 for flag in $(EXTRA_HOST_FLAGS) ; do \
20758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20759 done; \
20760 echo "Doing pdf in libcpp" ; \
20761 (cd $(HOST_SUBDIR)/libcpp && \
20762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20764 "RANLIB=$${RANLIB}" \
20765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20766 pdf) \
20767 || exit 1
20769 @endif libcpp
20771 .PHONY: maybe-html-libcpp html-libcpp
20772 maybe-html-libcpp:
20773 @if libcpp
20774 maybe-html-libcpp: html-libcpp
20776 html-libcpp: \
20777 configure-libcpp
20778 @[ -f ./libcpp/Makefile ] || exit 0; \
20779 r=`${PWD_COMMAND}`; export r; \
20780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20781 $(HOST_EXPORTS) \
20782 for flag in $(EXTRA_HOST_FLAGS) ; do \
20783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20784 done; \
20785 echo "Doing html in libcpp" ; \
20786 (cd $(HOST_SUBDIR)/libcpp && \
20787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20789 "RANLIB=$${RANLIB}" \
20790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20791 html) \
20792 || exit 1
20794 @endif libcpp
20796 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
20797 maybe-TAGS-libcpp:
20798 @if libcpp
20799 maybe-TAGS-libcpp: TAGS-libcpp
20801 TAGS-libcpp: \
20802 configure-libcpp
20803 @[ -f ./libcpp/Makefile ] || exit 0; \
20804 r=`${PWD_COMMAND}`; export r; \
20805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20806 $(HOST_EXPORTS) \
20807 for flag in $(EXTRA_HOST_FLAGS) ; do \
20808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20809 done; \
20810 echo "Doing TAGS in libcpp" ; \
20811 (cd $(HOST_SUBDIR)/libcpp && \
20812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20814 "RANLIB=$${RANLIB}" \
20815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20816 TAGS) \
20817 || exit 1
20819 @endif libcpp
20821 .PHONY: maybe-install-info-libcpp install-info-libcpp
20822 maybe-install-info-libcpp:
20823 @if libcpp
20824 maybe-install-info-libcpp: install-info-libcpp
20826 install-info-libcpp: \
20827 configure-libcpp \
20828 info-libcpp
20829 @[ -f ./libcpp/Makefile ] || exit 0; \
20830 r=`${PWD_COMMAND}`; export r; \
20831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20832 $(HOST_EXPORTS) \
20833 for flag in $(EXTRA_HOST_FLAGS) ; do \
20834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20835 done; \
20836 echo "Doing install-info in libcpp" ; \
20837 (cd $(HOST_SUBDIR)/libcpp && \
20838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20840 "RANLIB=$${RANLIB}" \
20841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20842 install-info) \
20843 || exit 1
20845 @endif libcpp
20847 .PHONY: maybe-install-pdf-libcpp install-pdf-libcpp
20848 maybe-install-pdf-libcpp:
20849 @if libcpp
20850 maybe-install-pdf-libcpp: install-pdf-libcpp
20852 install-pdf-libcpp: \
20853 configure-libcpp \
20854 pdf-libcpp
20855 @[ -f ./libcpp/Makefile ] || exit 0; \
20856 r=`${PWD_COMMAND}`; export r; \
20857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20858 $(HOST_EXPORTS) \
20859 for flag in $(EXTRA_HOST_FLAGS) ; do \
20860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20861 done; \
20862 echo "Doing install-pdf in libcpp" ; \
20863 (cd $(HOST_SUBDIR)/libcpp && \
20864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20866 "RANLIB=$${RANLIB}" \
20867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20868 install-pdf) \
20869 || exit 1
20871 @endif libcpp
20873 .PHONY: maybe-install-html-libcpp install-html-libcpp
20874 maybe-install-html-libcpp:
20875 @if libcpp
20876 maybe-install-html-libcpp: install-html-libcpp
20878 install-html-libcpp: \
20879 configure-libcpp \
20880 html-libcpp
20881 @[ -f ./libcpp/Makefile ] || exit 0; \
20882 r=`${PWD_COMMAND}`; export r; \
20883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20884 $(HOST_EXPORTS) \
20885 for flag in $(EXTRA_HOST_FLAGS) ; do \
20886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20887 done; \
20888 echo "Doing install-html in libcpp" ; \
20889 (cd $(HOST_SUBDIR)/libcpp && \
20890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20892 "RANLIB=$${RANLIB}" \
20893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20894 install-html) \
20895 || exit 1
20897 @endif libcpp
20899 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
20900 maybe-installcheck-libcpp:
20901 @if libcpp
20902 maybe-installcheck-libcpp: installcheck-libcpp
20904 installcheck-libcpp: \
20905 configure-libcpp
20906 @[ -f ./libcpp/Makefile ] || exit 0; \
20907 r=`${PWD_COMMAND}`; export r; \
20908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20909 $(HOST_EXPORTS) \
20910 for flag in $(EXTRA_HOST_FLAGS) ; do \
20911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20912 done; \
20913 echo "Doing installcheck in libcpp" ; \
20914 (cd $(HOST_SUBDIR)/libcpp && \
20915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20917 "RANLIB=$${RANLIB}" \
20918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20919 installcheck) \
20920 || exit 1
20922 @endif libcpp
20924 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
20925 maybe-mostlyclean-libcpp:
20926 @if libcpp
20927 maybe-mostlyclean-libcpp: mostlyclean-libcpp
20929 mostlyclean-libcpp:
20930 @[ -f ./libcpp/Makefile ] || exit 0; \
20931 r=`${PWD_COMMAND}`; export r; \
20932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20933 $(HOST_EXPORTS) \
20934 for flag in $(EXTRA_HOST_FLAGS) ; do \
20935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20936 done; \
20937 echo "Doing mostlyclean in libcpp" ; \
20938 (cd $(HOST_SUBDIR)/libcpp && \
20939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20941 "RANLIB=$${RANLIB}" \
20942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20943 mostlyclean) \
20944 || exit 1
20946 @endif libcpp
20948 .PHONY: maybe-clean-libcpp clean-libcpp
20949 maybe-clean-libcpp:
20950 @if libcpp
20951 maybe-clean-libcpp: clean-libcpp
20953 clean-libcpp:
20954 @[ -f ./libcpp/Makefile ] || exit 0; \
20955 r=`${PWD_COMMAND}`; export r; \
20956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20957 $(HOST_EXPORTS) \
20958 for flag in $(EXTRA_HOST_FLAGS) ; do \
20959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20960 done; \
20961 echo "Doing clean in libcpp" ; \
20962 (cd $(HOST_SUBDIR)/libcpp && \
20963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20965 "RANLIB=$${RANLIB}" \
20966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20967 clean) \
20968 || exit 1
20970 @endif libcpp
20972 .PHONY: maybe-distclean-libcpp distclean-libcpp
20973 maybe-distclean-libcpp:
20974 @if libcpp
20975 maybe-distclean-libcpp: distclean-libcpp
20977 distclean-libcpp:
20978 @[ -f ./libcpp/Makefile ] || exit 0; \
20979 r=`${PWD_COMMAND}`; export r; \
20980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20981 $(HOST_EXPORTS) \
20982 for flag in $(EXTRA_HOST_FLAGS) ; do \
20983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20984 done; \
20985 echo "Doing distclean in libcpp" ; \
20986 (cd $(HOST_SUBDIR)/libcpp && \
20987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20989 "RANLIB=$${RANLIB}" \
20990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
20991 distclean) \
20992 || exit 1
20994 @endif libcpp
20996 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
20997 maybe-maintainer-clean-libcpp:
20998 @if libcpp
20999 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
21001 maintainer-clean-libcpp:
21002 @[ -f ./libcpp/Makefile ] || exit 0; \
21003 r=`${PWD_COMMAND}`; export r; \
21004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21005 $(HOST_EXPORTS) \
21006 for flag in $(EXTRA_HOST_FLAGS) ; do \
21007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21008 done; \
21009 echo "Doing maintainer-clean in libcpp" ; \
21010 (cd $(HOST_SUBDIR)/libcpp && \
21011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21013 "RANLIB=$${RANLIB}" \
21014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21015 maintainer-clean) \
21016 || exit 1
21018 @endif libcpp
21022 .PHONY: configure-libdecnumber maybe-configure-libdecnumber
21023 maybe-configure-libdecnumber:
21024 @if gcc-bootstrap
21025 configure-libdecnumber: stage_current
21026 @endif gcc-bootstrap
21027 @if libdecnumber
21028 maybe-configure-libdecnumber: configure-libdecnumber
21029 configure-libdecnumber:
21030 @r=`${PWD_COMMAND}`; export r; \
21031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21032 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21033 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21034 $(HOST_EXPORTS) \
21035 echo Configuring in $(HOST_SUBDIR)/libdecnumber; \
21036 cd "$(HOST_SUBDIR)/libdecnumber" || exit 1; \
21037 case $(srcdir) in \
21038 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21039 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21040 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21041 esac; \
21042 module_srcdir=libdecnumber; \
21043 $(SHELL) \
21044 $$s/$$module_srcdir/configure \
21045 --srcdir=$${topdir}/$$module_srcdir \
21046 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21047 --target=${target_alias} \
21048 || exit 1
21049 @endif libdecnumber
21053 .PHONY: configure-stage1-libdecnumber maybe-configure-stage1-libdecnumber
21054 maybe-configure-stage1-libdecnumber:
21055 @if libdecnumber-bootstrap
21056 maybe-configure-stage1-libdecnumber: configure-stage1-libdecnumber
21057 configure-stage1-libdecnumber:
21058 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
21059 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21060 @r=`${PWD_COMMAND}`; export r; \
21061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21062 TFLAGS="$(STAGE1_TFLAGS)"; \
21063 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21064 $(HOST_EXPORTS) \
21065 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
21066 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
21067 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
21068 echo Configuring stage 1 in $(HOST_SUBDIR)/libdecnumber ; \
21069 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21070 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21071 case $(srcdir) in \
21072 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21073 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21074 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21075 esac; \
21076 module_srcdir=libdecnumber; \
21077 $(SHELL) $$s/$$module_srcdir/configure \
21078 --srcdir=$${topdir}/$$module_srcdir \
21079 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21080 --target=${target_alias} \
21082 $(STAGE1_CONFIGURE_FLAGS)
21083 @endif libdecnumber-bootstrap
21085 .PHONY: configure-stage2-libdecnumber maybe-configure-stage2-libdecnumber
21086 maybe-configure-stage2-libdecnumber:
21087 @if libdecnumber-bootstrap
21088 maybe-configure-stage2-libdecnumber: configure-stage2-libdecnumber
21089 configure-stage2-libdecnumber:
21090 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
21091 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21092 @r=`${PWD_COMMAND}`; export r; \
21093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21094 TFLAGS="$(STAGE2_TFLAGS)"; \
21095 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21096 $(HOST_EXPORTS) \
21097 $(POSTSTAGE1_HOST_EXPORTS) \
21098 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
21099 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
21100 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
21101 echo Configuring stage 2 in $(HOST_SUBDIR)/libdecnumber ; \
21102 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21103 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21104 case $(srcdir) in \
21105 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21106 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21107 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21108 esac; \
21109 module_srcdir=libdecnumber; \
21110 $(SHELL) $$s/$$module_srcdir/configure \
21111 --srcdir=$${topdir}/$$module_srcdir \
21112 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21113 --target=${target_alias} \
21114 --with-build-libsubdir=$(HOST_SUBDIR) \
21115 $(STAGE2_CONFIGURE_FLAGS)
21116 @endif libdecnumber-bootstrap
21118 .PHONY: configure-stage3-libdecnumber maybe-configure-stage3-libdecnumber
21119 maybe-configure-stage3-libdecnumber:
21120 @if libdecnumber-bootstrap
21121 maybe-configure-stage3-libdecnumber: configure-stage3-libdecnumber
21122 configure-stage3-libdecnumber:
21123 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
21124 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21125 @r=`${PWD_COMMAND}`; export r; \
21126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21127 TFLAGS="$(STAGE3_TFLAGS)"; \
21128 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21129 $(HOST_EXPORTS) \
21130 $(POSTSTAGE1_HOST_EXPORTS) \
21131 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
21132 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
21133 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
21134 echo Configuring stage 3 in $(HOST_SUBDIR)/libdecnumber ; \
21135 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21136 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21137 case $(srcdir) in \
21138 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21139 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21140 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21141 esac; \
21142 module_srcdir=libdecnumber; \
21143 $(SHELL) $$s/$$module_srcdir/configure \
21144 --srcdir=$${topdir}/$$module_srcdir \
21145 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21146 --target=${target_alias} \
21147 --with-build-libsubdir=$(HOST_SUBDIR) \
21148 $(STAGE3_CONFIGURE_FLAGS)
21149 @endif libdecnumber-bootstrap
21151 .PHONY: configure-stage4-libdecnumber maybe-configure-stage4-libdecnumber
21152 maybe-configure-stage4-libdecnumber:
21153 @if libdecnumber-bootstrap
21154 maybe-configure-stage4-libdecnumber: configure-stage4-libdecnumber
21155 configure-stage4-libdecnumber:
21156 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
21157 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21158 @r=`${PWD_COMMAND}`; export r; \
21159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21160 TFLAGS="$(STAGE4_TFLAGS)"; \
21161 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21162 $(HOST_EXPORTS) \
21163 $(POSTSTAGE1_HOST_EXPORTS) \
21164 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
21165 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
21166 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
21167 echo Configuring stage 4 in $(HOST_SUBDIR)/libdecnumber ; \
21168 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21169 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21170 case $(srcdir) in \
21171 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21172 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21173 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21174 esac; \
21175 module_srcdir=libdecnumber; \
21176 $(SHELL) $$s/$$module_srcdir/configure \
21177 --srcdir=$${topdir}/$$module_srcdir \
21178 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21179 --target=${target_alias} \
21180 --with-build-libsubdir=$(HOST_SUBDIR) \
21181 $(STAGE4_CONFIGURE_FLAGS)
21182 @endif libdecnumber-bootstrap
21184 .PHONY: configure-stageprofile-libdecnumber maybe-configure-stageprofile-libdecnumber
21185 maybe-configure-stageprofile-libdecnumber:
21186 @if libdecnumber-bootstrap
21187 maybe-configure-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
21188 configure-stageprofile-libdecnumber:
21189 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
21190 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21191 @r=`${PWD_COMMAND}`; export r; \
21192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21193 TFLAGS="$(STAGEprofile_TFLAGS)"; \
21194 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21195 $(HOST_EXPORTS) \
21196 $(POSTSTAGE1_HOST_EXPORTS) \
21197 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
21198 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
21199 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
21200 echo Configuring stage profile in $(HOST_SUBDIR)/libdecnumber ; \
21201 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21202 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21203 case $(srcdir) in \
21204 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21205 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21206 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21207 esac; \
21208 module_srcdir=libdecnumber; \
21209 $(SHELL) $$s/$$module_srcdir/configure \
21210 --srcdir=$${topdir}/$$module_srcdir \
21211 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21212 --target=${target_alias} \
21213 --with-build-libsubdir=$(HOST_SUBDIR) \
21214 $(STAGEprofile_CONFIGURE_FLAGS)
21215 @endif libdecnumber-bootstrap
21217 .PHONY: configure-stagefeedback-libdecnumber maybe-configure-stagefeedback-libdecnumber
21218 maybe-configure-stagefeedback-libdecnumber:
21219 @if libdecnumber-bootstrap
21220 maybe-configure-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
21221 configure-stagefeedback-libdecnumber:
21222 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
21223 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
21224 @r=`${PWD_COMMAND}`; export r; \
21225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21226 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
21227 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
21228 $(HOST_EXPORTS) \
21229 $(POSTSTAGE1_HOST_EXPORTS) \
21230 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
21231 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
21232 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
21233 echo Configuring stage feedback in $(HOST_SUBDIR)/libdecnumber ; \
21234 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
21235 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
21236 case $(srcdir) in \
21237 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21238 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
21239 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21240 esac; \
21241 module_srcdir=libdecnumber; \
21242 $(SHELL) $$s/$$module_srcdir/configure \
21243 --srcdir=$${topdir}/$$module_srcdir \
21244 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21245 --target=${target_alias} \
21246 --with-build-libsubdir=$(HOST_SUBDIR) \
21247 $(STAGEfeedback_CONFIGURE_FLAGS)
21248 @endif libdecnumber-bootstrap
21254 .PHONY: all-libdecnumber maybe-all-libdecnumber
21255 maybe-all-libdecnumber:
21256 @if gcc-bootstrap
21257 all-libdecnumber: stage_current
21258 @endif gcc-bootstrap
21259 @if libdecnumber
21260 TARGET-libdecnumber=all
21261 maybe-all-libdecnumber: all-libdecnumber
21262 all-libdecnumber: configure-libdecnumber
21263 @r=`${PWD_COMMAND}`; export r; \
21264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21265 $(HOST_EXPORTS) \
21266 (cd $(HOST_SUBDIR)/libdecnumber && \
21267 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
21268 $(TARGET-libdecnumber))
21269 @endif libdecnumber
21273 .PHONY: all-stage1-libdecnumber maybe-all-stage1-libdecnumber
21274 .PHONY: clean-stage1-libdecnumber maybe-clean-stage1-libdecnumber
21275 maybe-all-stage1-libdecnumber:
21276 maybe-clean-stage1-libdecnumber:
21277 @if libdecnumber-bootstrap
21278 maybe-all-stage1-libdecnumber: all-stage1-libdecnumber
21279 all-stage1: all-stage1-libdecnumber
21280 TARGET-stage1-libdecnumber = $(TARGET-libdecnumber)
21281 all-stage1-libdecnumber: configure-stage1-libdecnumber
21282 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
21283 @r=`${PWD_COMMAND}`; export r; \
21284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21285 TFLAGS="$(STAGE1_TFLAGS)"; \
21286 $(HOST_EXPORTS) \
21287 cd $(HOST_SUBDIR)/libdecnumber && \
21288 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21289 CFLAGS="$(STAGE1_CFLAGS)" \
21290 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
21291 LIBCFLAGS="$(LIBCFLAGS)" \
21292 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21293 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21294 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21295 $(EXTRA_HOST_FLAGS) \
21296 $(STAGE1_FLAGS_TO_PASS) \
21297 TFLAGS="$(STAGE1_TFLAGS)" \
21298 $(TARGET-stage1-libdecnumber)
21300 maybe-clean-stage1-libdecnumber: clean-stage1-libdecnumber
21301 clean-stage1: clean-stage1-libdecnumber
21302 clean-stage1-libdecnumber:
21303 @if [ $(current_stage) = stage1 ]; then \
21304 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21305 else \
21306 [ -f $(HOST_SUBDIR)/stage1-libdecnumber/Makefile ] || exit 0; \
21307 $(MAKE) stage1-start; \
21308 fi; \
21309 cd $(HOST_SUBDIR)/libdecnumber && \
21310 $(MAKE) $(EXTRA_HOST_FLAGS) \
21311 $(STAGE1_FLAGS_TO_PASS) clean
21312 @endif libdecnumber-bootstrap
21315 .PHONY: all-stage2-libdecnumber maybe-all-stage2-libdecnumber
21316 .PHONY: clean-stage2-libdecnumber maybe-clean-stage2-libdecnumber
21317 maybe-all-stage2-libdecnumber:
21318 maybe-clean-stage2-libdecnumber:
21319 @if libdecnumber-bootstrap
21320 maybe-all-stage2-libdecnumber: all-stage2-libdecnumber
21321 all-stage2: all-stage2-libdecnumber
21322 TARGET-stage2-libdecnumber = $(TARGET-libdecnumber)
21323 all-stage2-libdecnumber: configure-stage2-libdecnumber
21324 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
21325 @r=`${PWD_COMMAND}`; export r; \
21326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21327 TFLAGS="$(STAGE2_TFLAGS)"; \
21328 $(HOST_EXPORTS) \
21329 $(POSTSTAGE1_HOST_EXPORTS) \
21330 cd $(HOST_SUBDIR)/libdecnumber && \
21331 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21332 CFLAGS="$(STAGE2_CFLAGS)" \
21333 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
21334 LIBCFLAGS="$(STAGE2_CFLAGS)" \
21335 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21336 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21337 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21338 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21339 TFLAGS="$(STAGE2_TFLAGS)" \
21340 $(TARGET-stage2-libdecnumber)
21342 maybe-clean-stage2-libdecnumber: clean-stage2-libdecnumber
21343 clean-stage2: clean-stage2-libdecnumber
21344 clean-stage2-libdecnumber:
21345 @if [ $(current_stage) = stage2 ]; then \
21346 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21347 else \
21348 [ -f $(HOST_SUBDIR)/stage2-libdecnumber/Makefile ] || exit 0; \
21349 $(MAKE) stage2-start; \
21350 fi; \
21351 cd $(HOST_SUBDIR)/libdecnumber && \
21352 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21353 @endif libdecnumber-bootstrap
21356 .PHONY: all-stage3-libdecnumber maybe-all-stage3-libdecnumber
21357 .PHONY: clean-stage3-libdecnumber maybe-clean-stage3-libdecnumber
21358 maybe-all-stage3-libdecnumber:
21359 maybe-clean-stage3-libdecnumber:
21360 @if libdecnumber-bootstrap
21361 maybe-all-stage3-libdecnumber: all-stage3-libdecnumber
21362 all-stage3: all-stage3-libdecnumber
21363 TARGET-stage3-libdecnumber = $(TARGET-libdecnumber)
21364 all-stage3-libdecnumber: configure-stage3-libdecnumber
21365 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
21366 @r=`${PWD_COMMAND}`; export r; \
21367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21368 TFLAGS="$(STAGE3_TFLAGS)"; \
21369 $(HOST_EXPORTS) \
21370 $(POSTSTAGE1_HOST_EXPORTS) \
21371 cd $(HOST_SUBDIR)/libdecnumber && \
21372 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21373 CFLAGS="$(STAGE3_CFLAGS)" \
21374 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
21375 LIBCFLAGS="$(STAGE3_CFLAGS)" \
21376 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21377 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21378 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21379 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21380 TFLAGS="$(STAGE3_TFLAGS)" \
21381 $(TARGET-stage3-libdecnumber)
21383 maybe-clean-stage3-libdecnumber: clean-stage3-libdecnumber
21384 clean-stage3: clean-stage3-libdecnumber
21385 clean-stage3-libdecnumber:
21386 @if [ $(current_stage) = stage3 ]; then \
21387 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21388 else \
21389 [ -f $(HOST_SUBDIR)/stage3-libdecnumber/Makefile ] || exit 0; \
21390 $(MAKE) stage3-start; \
21391 fi; \
21392 cd $(HOST_SUBDIR)/libdecnumber && \
21393 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21394 @endif libdecnumber-bootstrap
21397 .PHONY: all-stage4-libdecnumber maybe-all-stage4-libdecnumber
21398 .PHONY: clean-stage4-libdecnumber maybe-clean-stage4-libdecnumber
21399 maybe-all-stage4-libdecnumber:
21400 maybe-clean-stage4-libdecnumber:
21401 @if libdecnumber-bootstrap
21402 maybe-all-stage4-libdecnumber: all-stage4-libdecnumber
21403 all-stage4: all-stage4-libdecnumber
21404 TARGET-stage4-libdecnumber = $(TARGET-libdecnumber)
21405 all-stage4-libdecnumber: configure-stage4-libdecnumber
21406 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
21407 @r=`${PWD_COMMAND}`; export r; \
21408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21409 TFLAGS="$(STAGE4_TFLAGS)"; \
21410 $(HOST_EXPORTS) \
21411 $(POSTSTAGE1_HOST_EXPORTS) \
21412 cd $(HOST_SUBDIR)/libdecnumber && \
21413 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21414 CFLAGS="$(STAGE4_CFLAGS)" \
21415 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
21416 LIBCFLAGS="$(STAGE4_CFLAGS)" \
21417 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21418 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21419 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21420 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21421 TFLAGS="$(STAGE4_TFLAGS)" \
21422 $(TARGET-stage4-libdecnumber)
21424 maybe-clean-stage4-libdecnumber: clean-stage4-libdecnumber
21425 clean-stage4: clean-stage4-libdecnumber
21426 clean-stage4-libdecnumber:
21427 @if [ $(current_stage) = stage4 ]; then \
21428 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21429 else \
21430 [ -f $(HOST_SUBDIR)/stage4-libdecnumber/Makefile ] || exit 0; \
21431 $(MAKE) stage4-start; \
21432 fi; \
21433 cd $(HOST_SUBDIR)/libdecnumber && \
21434 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21435 @endif libdecnumber-bootstrap
21438 .PHONY: all-stageprofile-libdecnumber maybe-all-stageprofile-libdecnumber
21439 .PHONY: clean-stageprofile-libdecnumber maybe-clean-stageprofile-libdecnumber
21440 maybe-all-stageprofile-libdecnumber:
21441 maybe-clean-stageprofile-libdecnumber:
21442 @if libdecnumber-bootstrap
21443 maybe-all-stageprofile-libdecnumber: all-stageprofile-libdecnumber
21444 all-stageprofile: all-stageprofile-libdecnumber
21445 TARGET-stageprofile-libdecnumber = $(TARGET-libdecnumber)
21446 all-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
21447 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
21448 @r=`${PWD_COMMAND}`; export r; \
21449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21450 TFLAGS="$(STAGEprofile_TFLAGS)"; \
21451 $(HOST_EXPORTS) \
21452 $(POSTSTAGE1_HOST_EXPORTS) \
21453 cd $(HOST_SUBDIR)/libdecnumber && \
21454 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21455 CFLAGS="$(STAGEprofile_CFLAGS)" \
21456 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
21457 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
21458 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21459 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21460 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21461 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21462 TFLAGS="$(STAGEprofile_TFLAGS)" \
21463 $(TARGET-stageprofile-libdecnumber)
21465 maybe-clean-stageprofile-libdecnumber: clean-stageprofile-libdecnumber
21466 clean-stageprofile: clean-stageprofile-libdecnumber
21467 clean-stageprofile-libdecnumber:
21468 @if [ $(current_stage) = stageprofile ]; then \
21469 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21470 else \
21471 [ -f $(HOST_SUBDIR)/stageprofile-libdecnumber/Makefile ] || exit 0; \
21472 $(MAKE) stageprofile-start; \
21473 fi; \
21474 cd $(HOST_SUBDIR)/libdecnumber && \
21475 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21476 @endif libdecnumber-bootstrap
21479 .PHONY: all-stagefeedback-libdecnumber maybe-all-stagefeedback-libdecnumber
21480 .PHONY: clean-stagefeedback-libdecnumber maybe-clean-stagefeedback-libdecnumber
21481 maybe-all-stagefeedback-libdecnumber:
21482 maybe-clean-stagefeedback-libdecnumber:
21483 @if libdecnumber-bootstrap
21484 maybe-all-stagefeedback-libdecnumber: all-stagefeedback-libdecnumber
21485 all-stagefeedback: all-stagefeedback-libdecnumber
21486 TARGET-stagefeedback-libdecnumber = $(TARGET-libdecnumber)
21487 all-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
21488 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
21489 @r=`${PWD_COMMAND}`; export r; \
21490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21491 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
21492 $(HOST_EXPORTS) \
21493 $(POSTSTAGE1_HOST_EXPORTS) \
21494 cd $(HOST_SUBDIR)/libdecnumber && \
21495 $(MAKE) $(BASE_FLAGS_TO_PASS) \
21496 CFLAGS="$(STAGEfeedback_CFLAGS)" \
21497 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
21498 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
21499 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
21500 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
21501 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
21502 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
21503 TFLAGS="$(STAGEfeedback_TFLAGS)" \
21504 $(TARGET-stagefeedback-libdecnumber)
21506 maybe-clean-stagefeedback-libdecnumber: clean-stagefeedback-libdecnumber
21507 clean-stagefeedback: clean-stagefeedback-libdecnumber
21508 clean-stagefeedback-libdecnumber:
21509 @if [ $(current_stage) = stagefeedback ]; then \
21510 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
21511 else \
21512 [ -f $(HOST_SUBDIR)/stagefeedback-libdecnumber/Makefile ] || exit 0; \
21513 $(MAKE) stagefeedback-start; \
21514 fi; \
21515 cd $(HOST_SUBDIR)/libdecnumber && \
21516 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
21517 @endif libdecnumber-bootstrap
21523 .PHONY: check-libdecnumber maybe-check-libdecnumber
21524 maybe-check-libdecnumber:
21525 @if libdecnumber
21526 maybe-check-libdecnumber: check-libdecnumber
21528 check-libdecnumber:
21529 @: $(MAKE); $(unstage)
21530 @r=`${PWD_COMMAND}`; export r; \
21531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21532 $(HOST_EXPORTS) \
21533 (cd $(HOST_SUBDIR)/libdecnumber && \
21534 $(MAKE) $(FLAGS_TO_PASS) check)
21536 @endif libdecnumber
21538 .PHONY: install-libdecnumber maybe-install-libdecnumber
21539 maybe-install-libdecnumber:
21540 @if libdecnumber
21541 maybe-install-libdecnumber: install-libdecnumber
21543 install-libdecnumber: installdirs
21544 @: $(MAKE); $(unstage)
21545 @r=`${PWD_COMMAND}`; export r; \
21546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21547 $(HOST_EXPORTS) \
21548 (cd $(HOST_SUBDIR)/libdecnumber && \
21549 $(MAKE) $(FLAGS_TO_PASS) install)
21551 @endif libdecnumber
21553 .PHONY: install-strip-libdecnumber maybe-install-strip-libdecnumber
21554 maybe-install-strip-libdecnumber:
21555 @if libdecnumber
21556 maybe-install-strip-libdecnumber: install-strip-libdecnumber
21558 install-strip-libdecnumber: installdirs
21559 @: $(MAKE); $(unstage)
21560 @r=`${PWD_COMMAND}`; export r; \
21561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21562 $(HOST_EXPORTS) \
21563 (cd $(HOST_SUBDIR)/libdecnumber && \
21564 $(MAKE) $(FLAGS_TO_PASS) install-strip)
21566 @endif libdecnumber
21568 # Other targets (info, dvi, pdf, etc.)
21570 .PHONY: maybe-info-libdecnumber info-libdecnumber
21571 maybe-info-libdecnumber:
21572 @if libdecnumber
21573 maybe-info-libdecnumber: info-libdecnumber
21575 info-libdecnumber: \
21576 configure-libdecnumber
21577 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21578 r=`${PWD_COMMAND}`; export r; \
21579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21580 $(HOST_EXPORTS) \
21581 for flag in $(EXTRA_HOST_FLAGS) ; do \
21582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21583 done; \
21584 echo "Doing info in libdecnumber" ; \
21585 (cd $(HOST_SUBDIR)/libdecnumber && \
21586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21588 "RANLIB=$${RANLIB}" \
21589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21590 info) \
21591 || exit 1
21593 @endif libdecnumber
21595 .PHONY: maybe-dvi-libdecnumber dvi-libdecnumber
21596 maybe-dvi-libdecnumber:
21597 @if libdecnumber
21598 maybe-dvi-libdecnumber: dvi-libdecnumber
21600 dvi-libdecnumber: \
21601 configure-libdecnumber
21602 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21603 r=`${PWD_COMMAND}`; export r; \
21604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21605 $(HOST_EXPORTS) \
21606 for flag in $(EXTRA_HOST_FLAGS) ; do \
21607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21608 done; \
21609 echo "Doing dvi in libdecnumber" ; \
21610 (cd $(HOST_SUBDIR)/libdecnumber && \
21611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21613 "RANLIB=$${RANLIB}" \
21614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21615 dvi) \
21616 || exit 1
21618 @endif libdecnumber
21620 .PHONY: maybe-pdf-libdecnumber pdf-libdecnumber
21621 maybe-pdf-libdecnumber:
21622 @if libdecnumber
21623 maybe-pdf-libdecnumber: pdf-libdecnumber
21625 pdf-libdecnumber: \
21626 configure-libdecnumber
21627 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21628 r=`${PWD_COMMAND}`; export r; \
21629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21630 $(HOST_EXPORTS) \
21631 for flag in $(EXTRA_HOST_FLAGS) ; do \
21632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21633 done; \
21634 echo "Doing pdf in libdecnumber" ; \
21635 (cd $(HOST_SUBDIR)/libdecnumber && \
21636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21638 "RANLIB=$${RANLIB}" \
21639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21640 pdf) \
21641 || exit 1
21643 @endif libdecnumber
21645 .PHONY: maybe-html-libdecnumber html-libdecnumber
21646 maybe-html-libdecnumber:
21647 @if libdecnumber
21648 maybe-html-libdecnumber: html-libdecnumber
21650 html-libdecnumber: \
21651 configure-libdecnumber
21652 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21653 r=`${PWD_COMMAND}`; export r; \
21654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21655 $(HOST_EXPORTS) \
21656 for flag in $(EXTRA_HOST_FLAGS) ; do \
21657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21658 done; \
21659 echo "Doing html in libdecnumber" ; \
21660 (cd $(HOST_SUBDIR)/libdecnumber && \
21661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21663 "RANLIB=$${RANLIB}" \
21664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21665 html) \
21666 || exit 1
21668 @endif libdecnumber
21670 .PHONY: maybe-TAGS-libdecnumber TAGS-libdecnumber
21671 maybe-TAGS-libdecnumber:
21672 @if libdecnumber
21673 maybe-TAGS-libdecnumber: TAGS-libdecnumber
21675 TAGS-libdecnumber: \
21676 configure-libdecnumber
21677 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21678 r=`${PWD_COMMAND}`; export r; \
21679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21680 $(HOST_EXPORTS) \
21681 for flag in $(EXTRA_HOST_FLAGS) ; do \
21682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21683 done; \
21684 echo "Doing TAGS in libdecnumber" ; \
21685 (cd $(HOST_SUBDIR)/libdecnumber && \
21686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21688 "RANLIB=$${RANLIB}" \
21689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21690 TAGS) \
21691 || exit 1
21693 @endif libdecnumber
21695 .PHONY: maybe-install-info-libdecnumber install-info-libdecnumber
21696 maybe-install-info-libdecnumber:
21697 @if libdecnumber
21698 maybe-install-info-libdecnumber: install-info-libdecnumber
21700 install-info-libdecnumber: \
21701 configure-libdecnumber \
21702 info-libdecnumber
21703 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21704 r=`${PWD_COMMAND}`; export r; \
21705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21706 $(HOST_EXPORTS) \
21707 for flag in $(EXTRA_HOST_FLAGS) ; do \
21708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21709 done; \
21710 echo "Doing install-info in libdecnumber" ; \
21711 (cd $(HOST_SUBDIR)/libdecnumber && \
21712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21714 "RANLIB=$${RANLIB}" \
21715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21716 install-info) \
21717 || exit 1
21719 @endif libdecnumber
21721 .PHONY: maybe-install-pdf-libdecnumber install-pdf-libdecnumber
21722 maybe-install-pdf-libdecnumber:
21723 @if libdecnumber
21724 maybe-install-pdf-libdecnumber: install-pdf-libdecnumber
21726 install-pdf-libdecnumber: \
21727 configure-libdecnumber \
21728 pdf-libdecnumber
21729 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21730 r=`${PWD_COMMAND}`; export r; \
21731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21732 $(HOST_EXPORTS) \
21733 for flag in $(EXTRA_HOST_FLAGS) ; do \
21734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21735 done; \
21736 echo "Doing install-pdf in libdecnumber" ; \
21737 (cd $(HOST_SUBDIR)/libdecnumber && \
21738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21740 "RANLIB=$${RANLIB}" \
21741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21742 install-pdf) \
21743 || exit 1
21745 @endif libdecnumber
21747 .PHONY: maybe-install-html-libdecnumber install-html-libdecnumber
21748 maybe-install-html-libdecnumber:
21749 @if libdecnumber
21750 maybe-install-html-libdecnumber: install-html-libdecnumber
21752 install-html-libdecnumber: \
21753 configure-libdecnumber \
21754 html-libdecnumber
21755 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21756 r=`${PWD_COMMAND}`; export r; \
21757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21758 $(HOST_EXPORTS) \
21759 for flag in $(EXTRA_HOST_FLAGS) ; do \
21760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21761 done; \
21762 echo "Doing install-html in libdecnumber" ; \
21763 (cd $(HOST_SUBDIR)/libdecnumber && \
21764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21766 "RANLIB=$${RANLIB}" \
21767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21768 install-html) \
21769 || exit 1
21771 @endif libdecnumber
21773 .PHONY: maybe-installcheck-libdecnumber installcheck-libdecnumber
21774 maybe-installcheck-libdecnumber:
21775 @if libdecnumber
21776 maybe-installcheck-libdecnumber: installcheck-libdecnumber
21778 installcheck-libdecnumber: \
21779 configure-libdecnumber
21780 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21781 r=`${PWD_COMMAND}`; export r; \
21782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21783 $(HOST_EXPORTS) \
21784 for flag in $(EXTRA_HOST_FLAGS) ; do \
21785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21786 done; \
21787 echo "Doing installcheck in libdecnumber" ; \
21788 (cd $(HOST_SUBDIR)/libdecnumber && \
21789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21791 "RANLIB=$${RANLIB}" \
21792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21793 installcheck) \
21794 || exit 1
21796 @endif libdecnumber
21798 .PHONY: maybe-mostlyclean-libdecnumber mostlyclean-libdecnumber
21799 maybe-mostlyclean-libdecnumber:
21800 @if libdecnumber
21801 maybe-mostlyclean-libdecnumber: mostlyclean-libdecnumber
21803 mostlyclean-libdecnumber:
21804 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21805 r=`${PWD_COMMAND}`; export r; \
21806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21807 $(HOST_EXPORTS) \
21808 for flag in $(EXTRA_HOST_FLAGS) ; do \
21809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21810 done; \
21811 echo "Doing mostlyclean in libdecnumber" ; \
21812 (cd $(HOST_SUBDIR)/libdecnumber && \
21813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21815 "RANLIB=$${RANLIB}" \
21816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21817 mostlyclean) \
21818 || exit 1
21820 @endif libdecnumber
21822 .PHONY: maybe-clean-libdecnumber clean-libdecnumber
21823 maybe-clean-libdecnumber:
21824 @if libdecnumber
21825 maybe-clean-libdecnumber: clean-libdecnumber
21827 clean-libdecnumber:
21828 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21829 r=`${PWD_COMMAND}`; export r; \
21830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21831 $(HOST_EXPORTS) \
21832 for flag in $(EXTRA_HOST_FLAGS) ; do \
21833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21834 done; \
21835 echo "Doing clean in libdecnumber" ; \
21836 (cd $(HOST_SUBDIR)/libdecnumber && \
21837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21839 "RANLIB=$${RANLIB}" \
21840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21841 clean) \
21842 || exit 1
21844 @endif libdecnumber
21846 .PHONY: maybe-distclean-libdecnumber distclean-libdecnumber
21847 maybe-distclean-libdecnumber:
21848 @if libdecnumber
21849 maybe-distclean-libdecnumber: distclean-libdecnumber
21851 distclean-libdecnumber:
21852 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21853 r=`${PWD_COMMAND}`; export r; \
21854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21855 $(HOST_EXPORTS) \
21856 for flag in $(EXTRA_HOST_FLAGS) ; do \
21857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21858 done; \
21859 echo "Doing distclean in libdecnumber" ; \
21860 (cd $(HOST_SUBDIR)/libdecnumber && \
21861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21863 "RANLIB=$${RANLIB}" \
21864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21865 distclean) \
21866 || exit 1
21868 @endif libdecnumber
21870 .PHONY: maybe-maintainer-clean-libdecnumber maintainer-clean-libdecnumber
21871 maybe-maintainer-clean-libdecnumber:
21872 @if libdecnumber
21873 maybe-maintainer-clean-libdecnumber: maintainer-clean-libdecnumber
21875 maintainer-clean-libdecnumber:
21876 @[ -f ./libdecnumber/Makefile ] || exit 0; \
21877 r=`${PWD_COMMAND}`; export r; \
21878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21879 $(HOST_EXPORTS) \
21880 for flag in $(EXTRA_HOST_FLAGS) ; do \
21881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21882 done; \
21883 echo "Doing maintainer-clean in libdecnumber" ; \
21884 (cd $(HOST_SUBDIR)/libdecnumber && \
21885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21887 "RANLIB=$${RANLIB}" \
21888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
21889 maintainer-clean) \
21890 || exit 1
21892 @endif libdecnumber
21896 .PHONY: configure-libgui maybe-configure-libgui
21897 maybe-configure-libgui:
21898 @if gcc-bootstrap
21899 configure-libgui: stage_current
21900 @endif gcc-bootstrap
21901 @if libgui
21902 maybe-configure-libgui: configure-libgui
21903 configure-libgui:
21904 @: $(MAKE); $(unstage)
21905 @r=`${PWD_COMMAND}`; export r; \
21906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21907 test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
21908 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui ; \
21909 $(HOST_EXPORTS) \
21910 echo Configuring in $(HOST_SUBDIR)/libgui; \
21911 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
21912 case $(srcdir) in \
21913 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21914 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
21915 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21916 esac; \
21917 module_srcdir=libgui; \
21918 $(SHELL) \
21919 $$s/$$module_srcdir/configure \
21920 --srcdir=$${topdir}/$$module_srcdir \
21921 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
21922 --target=${target_alias} \
21923 || exit 1
21924 @endif libgui
21930 .PHONY: all-libgui maybe-all-libgui
21931 maybe-all-libgui:
21932 @if gcc-bootstrap
21933 all-libgui: stage_current
21934 @endif gcc-bootstrap
21935 @if libgui
21936 TARGET-libgui=all
21937 maybe-all-libgui: all-libgui
21938 all-libgui: configure-libgui
21939 @: $(MAKE); $(unstage)
21940 @r=`${PWD_COMMAND}`; export r; \
21941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21942 $(HOST_EXPORTS) \
21943 (cd $(HOST_SUBDIR)/libgui && \
21944 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
21945 $(TARGET-libgui))
21946 @endif libgui
21951 .PHONY: check-libgui maybe-check-libgui
21952 maybe-check-libgui:
21953 @if libgui
21954 maybe-check-libgui: check-libgui
21956 check-libgui:
21957 @: $(MAKE); $(unstage)
21958 @r=`${PWD_COMMAND}`; export r; \
21959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21960 $(HOST_EXPORTS) \
21961 (cd $(HOST_SUBDIR)/libgui && \
21962 $(MAKE) $(FLAGS_TO_PASS) check)
21964 @endif libgui
21966 .PHONY: install-libgui maybe-install-libgui
21967 maybe-install-libgui:
21968 @if libgui
21969 maybe-install-libgui: install-libgui
21971 install-libgui: installdirs
21972 @: $(MAKE); $(unstage)
21973 @r=`${PWD_COMMAND}`; export r; \
21974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21975 $(HOST_EXPORTS) \
21976 (cd $(HOST_SUBDIR)/libgui && \
21977 $(MAKE) $(FLAGS_TO_PASS) install)
21979 @endif libgui
21981 .PHONY: install-strip-libgui maybe-install-strip-libgui
21982 maybe-install-strip-libgui:
21983 @if libgui
21984 maybe-install-strip-libgui: install-strip-libgui
21986 install-strip-libgui: installdirs
21987 @: $(MAKE); $(unstage)
21988 @r=`${PWD_COMMAND}`; export r; \
21989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21990 $(HOST_EXPORTS) \
21991 (cd $(HOST_SUBDIR)/libgui && \
21992 $(MAKE) $(FLAGS_TO_PASS) install-strip)
21994 @endif libgui
21996 # Other targets (info, dvi, pdf, etc.)
21998 .PHONY: maybe-info-libgui info-libgui
21999 maybe-info-libgui:
22000 @if libgui
22001 maybe-info-libgui: info-libgui
22003 info-libgui: \
22004 configure-libgui
22005 @: $(MAKE); $(unstage)
22006 @[ -f ./libgui/Makefile ] || exit 0; \
22007 r=`${PWD_COMMAND}`; export r; \
22008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22009 $(HOST_EXPORTS) \
22010 for flag in $(EXTRA_HOST_FLAGS) ; do \
22011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22012 done; \
22013 echo "Doing info in libgui" ; \
22014 (cd $(HOST_SUBDIR)/libgui && \
22015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22017 "RANLIB=$${RANLIB}" \
22018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22019 info) \
22020 || exit 1
22022 @endif libgui
22024 .PHONY: maybe-dvi-libgui dvi-libgui
22025 maybe-dvi-libgui:
22026 @if libgui
22027 maybe-dvi-libgui: dvi-libgui
22029 dvi-libgui: \
22030 configure-libgui
22031 @: $(MAKE); $(unstage)
22032 @[ -f ./libgui/Makefile ] || exit 0; \
22033 r=`${PWD_COMMAND}`; export r; \
22034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22035 $(HOST_EXPORTS) \
22036 for flag in $(EXTRA_HOST_FLAGS) ; do \
22037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22038 done; \
22039 echo "Doing dvi in libgui" ; \
22040 (cd $(HOST_SUBDIR)/libgui && \
22041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22043 "RANLIB=$${RANLIB}" \
22044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22045 dvi) \
22046 || exit 1
22048 @endif libgui
22050 .PHONY: maybe-pdf-libgui pdf-libgui
22051 maybe-pdf-libgui:
22052 @if libgui
22053 maybe-pdf-libgui: pdf-libgui
22055 pdf-libgui: \
22056 configure-libgui
22057 @: $(MAKE); $(unstage)
22058 @[ -f ./libgui/Makefile ] || exit 0; \
22059 r=`${PWD_COMMAND}`; export r; \
22060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22061 $(HOST_EXPORTS) \
22062 for flag in $(EXTRA_HOST_FLAGS) ; do \
22063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22064 done; \
22065 echo "Doing pdf in libgui" ; \
22066 (cd $(HOST_SUBDIR)/libgui && \
22067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22069 "RANLIB=$${RANLIB}" \
22070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22071 pdf) \
22072 || exit 1
22074 @endif libgui
22076 .PHONY: maybe-html-libgui html-libgui
22077 maybe-html-libgui:
22078 @if libgui
22079 maybe-html-libgui: html-libgui
22081 html-libgui: \
22082 configure-libgui
22083 @: $(MAKE); $(unstage)
22084 @[ -f ./libgui/Makefile ] || exit 0; \
22085 r=`${PWD_COMMAND}`; export r; \
22086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22087 $(HOST_EXPORTS) \
22088 for flag in $(EXTRA_HOST_FLAGS) ; do \
22089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22090 done; \
22091 echo "Doing html in libgui" ; \
22092 (cd $(HOST_SUBDIR)/libgui && \
22093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22095 "RANLIB=$${RANLIB}" \
22096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22097 html) \
22098 || exit 1
22100 @endif libgui
22102 .PHONY: maybe-TAGS-libgui TAGS-libgui
22103 maybe-TAGS-libgui:
22104 @if libgui
22105 maybe-TAGS-libgui: TAGS-libgui
22107 TAGS-libgui: \
22108 configure-libgui
22109 @: $(MAKE); $(unstage)
22110 @[ -f ./libgui/Makefile ] || exit 0; \
22111 r=`${PWD_COMMAND}`; export r; \
22112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22113 $(HOST_EXPORTS) \
22114 for flag in $(EXTRA_HOST_FLAGS) ; do \
22115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22116 done; \
22117 echo "Doing TAGS in libgui" ; \
22118 (cd $(HOST_SUBDIR)/libgui && \
22119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22121 "RANLIB=$${RANLIB}" \
22122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22123 TAGS) \
22124 || exit 1
22126 @endif libgui
22128 .PHONY: maybe-install-info-libgui install-info-libgui
22129 maybe-install-info-libgui:
22130 @if libgui
22131 maybe-install-info-libgui: install-info-libgui
22133 install-info-libgui: \
22134 configure-libgui \
22135 info-libgui
22136 @: $(MAKE); $(unstage)
22137 @[ -f ./libgui/Makefile ] || exit 0; \
22138 r=`${PWD_COMMAND}`; export r; \
22139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22140 $(HOST_EXPORTS) \
22141 for flag in $(EXTRA_HOST_FLAGS) ; do \
22142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22143 done; \
22144 echo "Doing install-info in libgui" ; \
22145 (cd $(HOST_SUBDIR)/libgui && \
22146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22148 "RANLIB=$${RANLIB}" \
22149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22150 install-info) \
22151 || exit 1
22153 @endif libgui
22155 .PHONY: maybe-install-pdf-libgui install-pdf-libgui
22156 maybe-install-pdf-libgui:
22157 @if libgui
22158 maybe-install-pdf-libgui: install-pdf-libgui
22160 install-pdf-libgui: \
22161 configure-libgui \
22162 pdf-libgui
22163 @: $(MAKE); $(unstage)
22164 @[ -f ./libgui/Makefile ] || exit 0; \
22165 r=`${PWD_COMMAND}`; export r; \
22166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22167 $(HOST_EXPORTS) \
22168 for flag in $(EXTRA_HOST_FLAGS) ; do \
22169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22170 done; \
22171 echo "Doing install-pdf in libgui" ; \
22172 (cd $(HOST_SUBDIR)/libgui && \
22173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22175 "RANLIB=$${RANLIB}" \
22176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22177 install-pdf) \
22178 || exit 1
22180 @endif libgui
22182 .PHONY: maybe-install-html-libgui install-html-libgui
22183 maybe-install-html-libgui:
22184 @if libgui
22185 maybe-install-html-libgui: install-html-libgui
22187 install-html-libgui: \
22188 configure-libgui \
22189 html-libgui
22190 @: $(MAKE); $(unstage)
22191 @[ -f ./libgui/Makefile ] || exit 0; \
22192 r=`${PWD_COMMAND}`; export r; \
22193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22194 $(HOST_EXPORTS) \
22195 for flag in $(EXTRA_HOST_FLAGS) ; do \
22196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22197 done; \
22198 echo "Doing install-html in libgui" ; \
22199 (cd $(HOST_SUBDIR)/libgui && \
22200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22202 "RANLIB=$${RANLIB}" \
22203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22204 install-html) \
22205 || exit 1
22207 @endif libgui
22209 .PHONY: maybe-installcheck-libgui installcheck-libgui
22210 maybe-installcheck-libgui:
22211 @if libgui
22212 maybe-installcheck-libgui: installcheck-libgui
22214 installcheck-libgui: \
22215 configure-libgui
22216 @: $(MAKE); $(unstage)
22217 @[ -f ./libgui/Makefile ] || exit 0; \
22218 r=`${PWD_COMMAND}`; export r; \
22219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22220 $(HOST_EXPORTS) \
22221 for flag in $(EXTRA_HOST_FLAGS) ; do \
22222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22223 done; \
22224 echo "Doing installcheck in libgui" ; \
22225 (cd $(HOST_SUBDIR)/libgui && \
22226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22228 "RANLIB=$${RANLIB}" \
22229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22230 installcheck) \
22231 || exit 1
22233 @endif libgui
22235 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
22236 maybe-mostlyclean-libgui:
22237 @if libgui
22238 maybe-mostlyclean-libgui: mostlyclean-libgui
22240 mostlyclean-libgui:
22241 @: $(MAKE); $(unstage)
22242 @[ -f ./libgui/Makefile ] || exit 0; \
22243 r=`${PWD_COMMAND}`; export r; \
22244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22245 $(HOST_EXPORTS) \
22246 for flag in $(EXTRA_HOST_FLAGS) ; do \
22247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22248 done; \
22249 echo "Doing mostlyclean in libgui" ; \
22250 (cd $(HOST_SUBDIR)/libgui && \
22251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22253 "RANLIB=$${RANLIB}" \
22254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22255 mostlyclean) \
22256 || exit 1
22258 @endif libgui
22260 .PHONY: maybe-clean-libgui clean-libgui
22261 maybe-clean-libgui:
22262 @if libgui
22263 maybe-clean-libgui: clean-libgui
22265 clean-libgui:
22266 @: $(MAKE); $(unstage)
22267 @[ -f ./libgui/Makefile ] || exit 0; \
22268 r=`${PWD_COMMAND}`; export r; \
22269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22270 $(HOST_EXPORTS) \
22271 for flag in $(EXTRA_HOST_FLAGS) ; do \
22272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22273 done; \
22274 echo "Doing clean in libgui" ; \
22275 (cd $(HOST_SUBDIR)/libgui && \
22276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22278 "RANLIB=$${RANLIB}" \
22279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22280 clean) \
22281 || exit 1
22283 @endif libgui
22285 .PHONY: maybe-distclean-libgui distclean-libgui
22286 maybe-distclean-libgui:
22287 @if libgui
22288 maybe-distclean-libgui: distclean-libgui
22290 distclean-libgui:
22291 @: $(MAKE); $(unstage)
22292 @[ -f ./libgui/Makefile ] || exit 0; \
22293 r=`${PWD_COMMAND}`; export r; \
22294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22295 $(HOST_EXPORTS) \
22296 for flag in $(EXTRA_HOST_FLAGS) ; do \
22297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22298 done; \
22299 echo "Doing distclean in libgui" ; \
22300 (cd $(HOST_SUBDIR)/libgui && \
22301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22303 "RANLIB=$${RANLIB}" \
22304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22305 distclean) \
22306 || exit 1
22308 @endif libgui
22310 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
22311 maybe-maintainer-clean-libgui:
22312 @if libgui
22313 maybe-maintainer-clean-libgui: maintainer-clean-libgui
22315 maintainer-clean-libgui:
22316 @: $(MAKE); $(unstage)
22317 @[ -f ./libgui/Makefile ] || exit 0; \
22318 r=`${PWD_COMMAND}`; export r; \
22319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22320 $(HOST_EXPORTS) \
22321 for flag in $(EXTRA_HOST_FLAGS) ; do \
22322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22323 done; \
22324 echo "Doing maintainer-clean in libgui" ; \
22325 (cd $(HOST_SUBDIR)/libgui && \
22326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22328 "RANLIB=$${RANLIB}" \
22329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22330 maintainer-clean) \
22331 || exit 1
22333 @endif libgui
22337 .PHONY: configure-libiberty maybe-configure-libiberty
22338 maybe-configure-libiberty:
22339 @if gcc-bootstrap
22340 configure-libiberty: stage_current
22341 @endif gcc-bootstrap
22342 @if libiberty
22343 maybe-configure-libiberty: configure-libiberty
22344 configure-libiberty:
22345 @r=`${PWD_COMMAND}`; export r; \
22346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22347 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22348 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22349 $(HOST_EXPORTS) \
22350 echo Configuring in $(HOST_SUBDIR)/libiberty; \
22351 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
22352 case $(srcdir) in \
22353 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22354 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22355 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22356 esac; \
22357 module_srcdir=libiberty; \
22358 $(SHELL) \
22359 $$s/$$module_srcdir/configure \
22360 --srcdir=$${topdir}/$$module_srcdir \
22361 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22362 --target=${target_alias} @extra_host_libiberty_configure_flags@ \
22363 || exit 1
22364 @endif libiberty
22368 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
22369 maybe-configure-stage1-libiberty:
22370 @if libiberty-bootstrap
22371 maybe-configure-stage1-libiberty: configure-stage1-libiberty
22372 configure-stage1-libiberty:
22373 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
22374 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22375 @r=`${PWD_COMMAND}`; export r; \
22376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22377 TFLAGS="$(STAGE1_TFLAGS)"; \
22378 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22379 $(HOST_EXPORTS) \
22380 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
22381 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
22382 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
22383 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty ; \
22384 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22385 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22386 case $(srcdir) in \
22387 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22388 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22389 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22390 esac; \
22391 module_srcdir=libiberty; \
22392 $(SHELL) $$s/$$module_srcdir/configure \
22393 --srcdir=$${topdir}/$$module_srcdir \
22394 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22395 --target=${target_alias} \
22397 $(STAGE1_CONFIGURE_FLAGS) \
22398 @extra_host_libiberty_configure_flags@
22399 @endif libiberty-bootstrap
22401 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
22402 maybe-configure-stage2-libiberty:
22403 @if libiberty-bootstrap
22404 maybe-configure-stage2-libiberty: configure-stage2-libiberty
22405 configure-stage2-libiberty:
22406 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
22407 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22408 @r=`${PWD_COMMAND}`; export r; \
22409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22410 TFLAGS="$(STAGE2_TFLAGS)"; \
22411 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22412 $(HOST_EXPORTS) \
22413 $(POSTSTAGE1_HOST_EXPORTS) \
22414 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
22415 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
22416 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
22417 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty ; \
22418 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22419 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22420 case $(srcdir) in \
22421 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22422 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22423 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22424 esac; \
22425 module_srcdir=libiberty; \
22426 $(SHELL) $$s/$$module_srcdir/configure \
22427 --srcdir=$${topdir}/$$module_srcdir \
22428 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22429 --target=${target_alias} \
22430 --with-build-libsubdir=$(HOST_SUBDIR) \
22431 $(STAGE2_CONFIGURE_FLAGS) \
22432 @extra_host_libiberty_configure_flags@
22433 @endif libiberty-bootstrap
22435 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
22436 maybe-configure-stage3-libiberty:
22437 @if libiberty-bootstrap
22438 maybe-configure-stage3-libiberty: configure-stage3-libiberty
22439 configure-stage3-libiberty:
22440 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
22441 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22442 @r=`${PWD_COMMAND}`; export r; \
22443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22444 TFLAGS="$(STAGE3_TFLAGS)"; \
22445 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22446 $(HOST_EXPORTS) \
22447 $(POSTSTAGE1_HOST_EXPORTS) \
22448 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
22449 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
22450 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
22451 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty ; \
22452 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22453 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22454 case $(srcdir) in \
22455 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22456 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22457 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22458 esac; \
22459 module_srcdir=libiberty; \
22460 $(SHELL) $$s/$$module_srcdir/configure \
22461 --srcdir=$${topdir}/$$module_srcdir \
22462 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22463 --target=${target_alias} \
22464 --with-build-libsubdir=$(HOST_SUBDIR) \
22465 $(STAGE3_CONFIGURE_FLAGS) \
22466 @extra_host_libiberty_configure_flags@
22467 @endif libiberty-bootstrap
22469 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
22470 maybe-configure-stage4-libiberty:
22471 @if libiberty-bootstrap
22472 maybe-configure-stage4-libiberty: configure-stage4-libiberty
22473 configure-stage4-libiberty:
22474 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
22475 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22476 @r=`${PWD_COMMAND}`; export r; \
22477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22478 TFLAGS="$(STAGE4_TFLAGS)"; \
22479 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22480 $(HOST_EXPORTS) \
22481 $(POSTSTAGE1_HOST_EXPORTS) \
22482 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
22483 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
22484 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
22485 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty ; \
22486 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22487 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22488 case $(srcdir) in \
22489 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22490 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22491 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22492 esac; \
22493 module_srcdir=libiberty; \
22494 $(SHELL) $$s/$$module_srcdir/configure \
22495 --srcdir=$${topdir}/$$module_srcdir \
22496 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22497 --target=${target_alias} \
22498 --with-build-libsubdir=$(HOST_SUBDIR) \
22499 $(STAGE4_CONFIGURE_FLAGS) \
22500 @extra_host_libiberty_configure_flags@
22501 @endif libiberty-bootstrap
22503 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
22504 maybe-configure-stageprofile-libiberty:
22505 @if libiberty-bootstrap
22506 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
22507 configure-stageprofile-libiberty:
22508 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
22509 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22510 @r=`${PWD_COMMAND}`; export r; \
22511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22512 TFLAGS="$(STAGEprofile_TFLAGS)"; \
22513 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22514 $(HOST_EXPORTS) \
22515 $(POSTSTAGE1_HOST_EXPORTS) \
22516 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
22517 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
22518 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
22519 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty ; \
22520 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22521 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22522 case $(srcdir) in \
22523 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22524 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22525 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22526 esac; \
22527 module_srcdir=libiberty; \
22528 $(SHELL) $$s/$$module_srcdir/configure \
22529 --srcdir=$${topdir}/$$module_srcdir \
22530 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22531 --target=${target_alias} \
22532 --with-build-libsubdir=$(HOST_SUBDIR) \
22533 $(STAGEprofile_CONFIGURE_FLAGS) \
22534 @extra_host_libiberty_configure_flags@
22535 @endif libiberty-bootstrap
22537 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
22538 maybe-configure-stagefeedback-libiberty:
22539 @if libiberty-bootstrap
22540 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
22541 configure-stagefeedback-libiberty:
22542 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
22543 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
22544 @r=`${PWD_COMMAND}`; export r; \
22545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22546 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
22547 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
22548 $(HOST_EXPORTS) \
22549 $(POSTSTAGE1_HOST_EXPORTS) \
22550 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
22551 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
22552 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
22553 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty ; \
22554 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
22555 cd $(HOST_SUBDIR)/libiberty || exit 1; \
22556 case $(srcdir) in \
22557 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22558 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
22559 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22560 esac; \
22561 module_srcdir=libiberty; \
22562 $(SHELL) $$s/$$module_srcdir/configure \
22563 --srcdir=$${topdir}/$$module_srcdir \
22564 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
22565 --target=${target_alias} \
22566 --with-build-libsubdir=$(HOST_SUBDIR) \
22567 $(STAGEfeedback_CONFIGURE_FLAGS) \
22568 @extra_host_libiberty_configure_flags@
22569 @endif libiberty-bootstrap
22575 .PHONY: all-libiberty maybe-all-libiberty
22576 maybe-all-libiberty:
22577 @if gcc-bootstrap
22578 all-libiberty: stage_current
22579 @endif gcc-bootstrap
22580 @if libiberty
22581 TARGET-libiberty=all
22582 maybe-all-libiberty: all-libiberty
22583 all-libiberty: configure-libiberty
22584 @r=`${PWD_COMMAND}`; export r; \
22585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22586 $(HOST_EXPORTS) \
22587 (cd $(HOST_SUBDIR)/libiberty && \
22588 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
22589 $(TARGET-libiberty))
22590 @endif libiberty
22594 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
22595 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
22596 maybe-all-stage1-libiberty:
22597 maybe-clean-stage1-libiberty:
22598 @if libiberty-bootstrap
22599 maybe-all-stage1-libiberty: all-stage1-libiberty
22600 all-stage1: all-stage1-libiberty
22601 TARGET-stage1-libiberty = $(TARGET-libiberty)
22602 all-stage1-libiberty: configure-stage1-libiberty
22603 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
22604 @r=`${PWD_COMMAND}`; export r; \
22605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22606 TFLAGS="$(STAGE1_TFLAGS)"; \
22607 $(HOST_EXPORTS) \
22608 cd $(HOST_SUBDIR)/libiberty && \
22609 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22610 CFLAGS="$(STAGE1_CFLAGS)" \
22611 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
22612 LIBCFLAGS="$(LIBCFLAGS)" \
22613 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22614 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22615 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22616 $(EXTRA_HOST_FLAGS) \
22617 $(STAGE1_FLAGS_TO_PASS) \
22618 TFLAGS="$(STAGE1_TFLAGS)" \
22619 $(TARGET-stage1-libiberty)
22621 maybe-clean-stage1-libiberty: clean-stage1-libiberty
22622 clean-stage1: clean-stage1-libiberty
22623 clean-stage1-libiberty:
22624 @if [ $(current_stage) = stage1 ]; then \
22625 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22626 else \
22627 [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] || exit 0; \
22628 $(MAKE) stage1-start; \
22629 fi; \
22630 cd $(HOST_SUBDIR)/libiberty && \
22631 $(MAKE) $(EXTRA_HOST_FLAGS) \
22632 $(STAGE1_FLAGS_TO_PASS) clean
22633 @endif libiberty-bootstrap
22636 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
22637 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
22638 maybe-all-stage2-libiberty:
22639 maybe-clean-stage2-libiberty:
22640 @if libiberty-bootstrap
22641 maybe-all-stage2-libiberty: all-stage2-libiberty
22642 all-stage2: all-stage2-libiberty
22643 TARGET-stage2-libiberty = $(TARGET-libiberty)
22644 all-stage2-libiberty: configure-stage2-libiberty
22645 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
22646 @r=`${PWD_COMMAND}`; export r; \
22647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22648 TFLAGS="$(STAGE2_TFLAGS)"; \
22649 $(HOST_EXPORTS) \
22650 $(POSTSTAGE1_HOST_EXPORTS) \
22651 cd $(HOST_SUBDIR)/libiberty && \
22652 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22653 CFLAGS="$(STAGE2_CFLAGS)" \
22654 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
22655 LIBCFLAGS="$(STAGE2_CFLAGS)" \
22656 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22657 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22658 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22659 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22660 TFLAGS="$(STAGE2_TFLAGS)" \
22661 $(TARGET-stage2-libiberty)
22663 maybe-clean-stage2-libiberty: clean-stage2-libiberty
22664 clean-stage2: clean-stage2-libiberty
22665 clean-stage2-libiberty:
22666 @if [ $(current_stage) = stage2 ]; then \
22667 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22668 else \
22669 [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] || exit 0; \
22670 $(MAKE) stage2-start; \
22671 fi; \
22672 cd $(HOST_SUBDIR)/libiberty && \
22673 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22674 @endif libiberty-bootstrap
22677 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
22678 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
22679 maybe-all-stage3-libiberty:
22680 maybe-clean-stage3-libiberty:
22681 @if libiberty-bootstrap
22682 maybe-all-stage3-libiberty: all-stage3-libiberty
22683 all-stage3: all-stage3-libiberty
22684 TARGET-stage3-libiberty = $(TARGET-libiberty)
22685 all-stage3-libiberty: configure-stage3-libiberty
22686 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
22687 @r=`${PWD_COMMAND}`; export r; \
22688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22689 TFLAGS="$(STAGE3_TFLAGS)"; \
22690 $(HOST_EXPORTS) \
22691 $(POSTSTAGE1_HOST_EXPORTS) \
22692 cd $(HOST_SUBDIR)/libiberty && \
22693 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22694 CFLAGS="$(STAGE3_CFLAGS)" \
22695 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
22696 LIBCFLAGS="$(STAGE3_CFLAGS)" \
22697 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22698 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22699 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22700 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22701 TFLAGS="$(STAGE3_TFLAGS)" \
22702 $(TARGET-stage3-libiberty)
22704 maybe-clean-stage3-libiberty: clean-stage3-libiberty
22705 clean-stage3: clean-stage3-libiberty
22706 clean-stage3-libiberty:
22707 @if [ $(current_stage) = stage3 ]; then \
22708 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22709 else \
22710 [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] || exit 0; \
22711 $(MAKE) stage3-start; \
22712 fi; \
22713 cd $(HOST_SUBDIR)/libiberty && \
22714 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22715 @endif libiberty-bootstrap
22718 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
22719 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
22720 maybe-all-stage4-libiberty:
22721 maybe-clean-stage4-libiberty:
22722 @if libiberty-bootstrap
22723 maybe-all-stage4-libiberty: all-stage4-libiberty
22724 all-stage4: all-stage4-libiberty
22725 TARGET-stage4-libiberty = $(TARGET-libiberty)
22726 all-stage4-libiberty: configure-stage4-libiberty
22727 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
22728 @r=`${PWD_COMMAND}`; export r; \
22729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22730 TFLAGS="$(STAGE4_TFLAGS)"; \
22731 $(HOST_EXPORTS) \
22732 $(POSTSTAGE1_HOST_EXPORTS) \
22733 cd $(HOST_SUBDIR)/libiberty && \
22734 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22735 CFLAGS="$(STAGE4_CFLAGS)" \
22736 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
22737 LIBCFLAGS="$(STAGE4_CFLAGS)" \
22738 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22739 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22740 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22741 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22742 TFLAGS="$(STAGE4_TFLAGS)" \
22743 $(TARGET-stage4-libiberty)
22745 maybe-clean-stage4-libiberty: clean-stage4-libiberty
22746 clean-stage4: clean-stage4-libiberty
22747 clean-stage4-libiberty:
22748 @if [ $(current_stage) = stage4 ]; then \
22749 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22750 else \
22751 [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] || exit 0; \
22752 $(MAKE) stage4-start; \
22753 fi; \
22754 cd $(HOST_SUBDIR)/libiberty && \
22755 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22756 @endif libiberty-bootstrap
22759 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
22760 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
22761 maybe-all-stageprofile-libiberty:
22762 maybe-clean-stageprofile-libiberty:
22763 @if libiberty-bootstrap
22764 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
22765 all-stageprofile: all-stageprofile-libiberty
22766 TARGET-stageprofile-libiberty = $(TARGET-libiberty)
22767 all-stageprofile-libiberty: configure-stageprofile-libiberty
22768 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
22769 @r=`${PWD_COMMAND}`; export r; \
22770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22771 TFLAGS="$(STAGEprofile_TFLAGS)"; \
22772 $(HOST_EXPORTS) \
22773 $(POSTSTAGE1_HOST_EXPORTS) \
22774 cd $(HOST_SUBDIR)/libiberty && \
22775 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22776 CFLAGS="$(STAGEprofile_CFLAGS)" \
22777 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
22778 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
22779 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22780 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22781 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22782 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22783 TFLAGS="$(STAGEprofile_TFLAGS)" \
22784 $(TARGET-stageprofile-libiberty)
22786 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
22787 clean-stageprofile: clean-stageprofile-libiberty
22788 clean-stageprofile-libiberty:
22789 @if [ $(current_stage) = stageprofile ]; then \
22790 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22791 else \
22792 [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] || exit 0; \
22793 $(MAKE) stageprofile-start; \
22794 fi; \
22795 cd $(HOST_SUBDIR)/libiberty && \
22796 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22797 @endif libiberty-bootstrap
22800 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
22801 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
22802 maybe-all-stagefeedback-libiberty:
22803 maybe-clean-stagefeedback-libiberty:
22804 @if libiberty-bootstrap
22805 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
22806 all-stagefeedback: all-stagefeedback-libiberty
22807 TARGET-stagefeedback-libiberty = $(TARGET-libiberty)
22808 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
22809 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
22810 @r=`${PWD_COMMAND}`; export r; \
22811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22812 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
22813 $(HOST_EXPORTS) \
22814 $(POSTSTAGE1_HOST_EXPORTS) \
22815 cd $(HOST_SUBDIR)/libiberty && \
22816 $(MAKE) $(BASE_FLAGS_TO_PASS) \
22817 CFLAGS="$(STAGEfeedback_CFLAGS)" \
22818 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
22819 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
22820 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
22821 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
22822 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
22823 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
22824 TFLAGS="$(STAGEfeedback_TFLAGS)" \
22825 $(TARGET-stagefeedback-libiberty)
22827 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
22828 clean-stagefeedback: clean-stagefeedback-libiberty
22829 clean-stagefeedback-libiberty:
22830 @if [ $(current_stage) = stagefeedback ]; then \
22831 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
22832 else \
22833 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] || exit 0; \
22834 $(MAKE) stagefeedback-start; \
22835 fi; \
22836 cd $(HOST_SUBDIR)/libiberty && \
22837 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
22838 @endif libiberty-bootstrap
22844 .PHONY: check-libiberty maybe-check-libiberty
22845 maybe-check-libiberty:
22846 @if libiberty
22847 maybe-check-libiberty: check-libiberty
22849 check-libiberty:
22850 @: $(MAKE); $(unstage)
22851 @r=`${PWD_COMMAND}`; export r; \
22852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22853 $(HOST_EXPORTS) \
22854 (cd $(HOST_SUBDIR)/libiberty && \
22855 $(MAKE) $(FLAGS_TO_PASS) check)
22857 @endif libiberty
22859 .PHONY: install-libiberty maybe-install-libiberty
22860 maybe-install-libiberty:
22861 @if libiberty
22862 maybe-install-libiberty: install-libiberty
22864 install-libiberty: installdirs
22865 @: $(MAKE); $(unstage)
22866 @r=`${PWD_COMMAND}`; export r; \
22867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22868 $(HOST_EXPORTS) \
22869 (cd $(HOST_SUBDIR)/libiberty && \
22870 $(MAKE) $(FLAGS_TO_PASS) install)
22872 @endif libiberty
22874 .PHONY: install-strip-libiberty maybe-install-strip-libiberty
22875 maybe-install-strip-libiberty:
22876 @if libiberty
22877 maybe-install-strip-libiberty: install-strip-libiberty
22879 install-strip-libiberty: installdirs
22880 @: $(MAKE); $(unstage)
22881 @r=`${PWD_COMMAND}`; export r; \
22882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22883 $(HOST_EXPORTS) \
22884 (cd $(HOST_SUBDIR)/libiberty && \
22885 $(MAKE) $(FLAGS_TO_PASS) install-strip)
22887 @endif libiberty
22889 # Other targets (info, dvi, pdf, etc.)
22891 .PHONY: maybe-info-libiberty info-libiberty
22892 maybe-info-libiberty:
22893 @if libiberty
22894 maybe-info-libiberty: info-libiberty
22896 info-libiberty: \
22897 configure-libiberty
22898 @[ -f ./libiberty/Makefile ] || exit 0; \
22899 r=`${PWD_COMMAND}`; export r; \
22900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22901 $(HOST_EXPORTS) \
22902 for flag in $(EXTRA_HOST_FLAGS) ; do \
22903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22904 done; \
22905 echo "Doing info in libiberty" ; \
22906 (cd $(HOST_SUBDIR)/libiberty && \
22907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22909 "RANLIB=$${RANLIB}" \
22910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22911 info) \
22912 || exit 1
22914 @endif libiberty
22916 .PHONY: maybe-dvi-libiberty dvi-libiberty
22917 maybe-dvi-libiberty:
22918 @if libiberty
22919 maybe-dvi-libiberty: dvi-libiberty
22921 dvi-libiberty: \
22922 configure-libiberty
22923 @[ -f ./libiberty/Makefile ] || exit 0; \
22924 r=`${PWD_COMMAND}`; export r; \
22925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22926 $(HOST_EXPORTS) \
22927 for flag in $(EXTRA_HOST_FLAGS) ; do \
22928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22929 done; \
22930 echo "Doing dvi in libiberty" ; \
22931 (cd $(HOST_SUBDIR)/libiberty && \
22932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22934 "RANLIB=$${RANLIB}" \
22935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22936 dvi) \
22937 || exit 1
22939 @endif libiberty
22941 .PHONY: maybe-pdf-libiberty pdf-libiberty
22942 maybe-pdf-libiberty:
22943 @if libiberty
22944 maybe-pdf-libiberty: pdf-libiberty
22946 pdf-libiberty: \
22947 configure-libiberty
22948 @[ -f ./libiberty/Makefile ] || exit 0; \
22949 r=`${PWD_COMMAND}`; export r; \
22950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22951 $(HOST_EXPORTS) \
22952 for flag in $(EXTRA_HOST_FLAGS) ; do \
22953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22954 done; \
22955 echo "Doing pdf in libiberty" ; \
22956 (cd $(HOST_SUBDIR)/libiberty && \
22957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22959 "RANLIB=$${RANLIB}" \
22960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22961 pdf) \
22962 || exit 1
22964 @endif libiberty
22966 .PHONY: maybe-html-libiberty html-libiberty
22967 maybe-html-libiberty:
22968 @if libiberty
22969 maybe-html-libiberty: html-libiberty
22971 html-libiberty: \
22972 configure-libiberty
22973 @[ -f ./libiberty/Makefile ] || exit 0; \
22974 r=`${PWD_COMMAND}`; export r; \
22975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22976 $(HOST_EXPORTS) \
22977 for flag in $(EXTRA_HOST_FLAGS) ; do \
22978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22979 done; \
22980 echo "Doing html in libiberty" ; \
22981 (cd $(HOST_SUBDIR)/libiberty && \
22982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22984 "RANLIB=$${RANLIB}" \
22985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
22986 html) \
22987 || exit 1
22989 @endif libiberty
22991 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
22992 maybe-TAGS-libiberty:
22993 @if libiberty
22994 maybe-TAGS-libiberty: TAGS-libiberty
22996 TAGS-libiberty: \
22997 configure-libiberty
22998 @[ -f ./libiberty/Makefile ] || exit 0; \
22999 r=`${PWD_COMMAND}`; export r; \
23000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23001 $(HOST_EXPORTS) \
23002 for flag in $(EXTRA_HOST_FLAGS) ; do \
23003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23004 done; \
23005 echo "Doing TAGS in libiberty" ; \
23006 (cd $(HOST_SUBDIR)/libiberty && \
23007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23009 "RANLIB=$${RANLIB}" \
23010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23011 TAGS) \
23012 || exit 1
23014 @endif libiberty
23016 .PHONY: maybe-install-info-libiberty install-info-libiberty
23017 maybe-install-info-libiberty:
23018 @if libiberty
23019 maybe-install-info-libiberty: install-info-libiberty
23021 install-info-libiberty: \
23022 configure-libiberty \
23023 info-libiberty
23024 @[ -f ./libiberty/Makefile ] || exit 0; \
23025 r=`${PWD_COMMAND}`; export r; \
23026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23027 $(HOST_EXPORTS) \
23028 for flag in $(EXTRA_HOST_FLAGS) ; do \
23029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23030 done; \
23031 echo "Doing install-info in libiberty" ; \
23032 (cd $(HOST_SUBDIR)/libiberty && \
23033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23035 "RANLIB=$${RANLIB}" \
23036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23037 install-info) \
23038 || exit 1
23040 @endif libiberty
23042 .PHONY: maybe-install-pdf-libiberty install-pdf-libiberty
23043 maybe-install-pdf-libiberty:
23044 @if libiberty
23045 maybe-install-pdf-libiberty: install-pdf-libiberty
23047 install-pdf-libiberty: \
23048 configure-libiberty \
23049 pdf-libiberty
23050 @[ -f ./libiberty/Makefile ] || exit 0; \
23051 r=`${PWD_COMMAND}`; export r; \
23052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23053 $(HOST_EXPORTS) \
23054 for flag in $(EXTRA_HOST_FLAGS) ; do \
23055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23056 done; \
23057 echo "Doing install-pdf in libiberty" ; \
23058 (cd $(HOST_SUBDIR)/libiberty && \
23059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23061 "RANLIB=$${RANLIB}" \
23062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23063 install-pdf) \
23064 || exit 1
23066 @endif libiberty
23068 .PHONY: maybe-install-html-libiberty install-html-libiberty
23069 maybe-install-html-libiberty:
23070 @if libiberty
23071 maybe-install-html-libiberty: install-html-libiberty
23073 install-html-libiberty: \
23074 configure-libiberty \
23075 html-libiberty
23076 @[ -f ./libiberty/Makefile ] || exit 0; \
23077 r=`${PWD_COMMAND}`; export r; \
23078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23079 $(HOST_EXPORTS) \
23080 for flag in $(EXTRA_HOST_FLAGS) ; do \
23081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23082 done; \
23083 echo "Doing install-html in libiberty" ; \
23084 (cd $(HOST_SUBDIR)/libiberty && \
23085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23087 "RANLIB=$${RANLIB}" \
23088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23089 install-html) \
23090 || exit 1
23092 @endif libiberty
23094 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
23095 maybe-installcheck-libiberty:
23096 @if libiberty
23097 maybe-installcheck-libiberty: installcheck-libiberty
23099 installcheck-libiberty: \
23100 configure-libiberty
23101 @[ -f ./libiberty/Makefile ] || exit 0; \
23102 r=`${PWD_COMMAND}`; export r; \
23103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23104 $(HOST_EXPORTS) \
23105 for flag in $(EXTRA_HOST_FLAGS) ; do \
23106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23107 done; \
23108 echo "Doing installcheck in libiberty" ; \
23109 (cd $(HOST_SUBDIR)/libiberty && \
23110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23112 "RANLIB=$${RANLIB}" \
23113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23114 installcheck) \
23115 || exit 1
23117 @endif libiberty
23119 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
23120 maybe-mostlyclean-libiberty:
23121 @if libiberty
23122 maybe-mostlyclean-libiberty: mostlyclean-libiberty
23124 mostlyclean-libiberty:
23125 @[ -f ./libiberty/Makefile ] || exit 0; \
23126 r=`${PWD_COMMAND}`; export r; \
23127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23128 $(HOST_EXPORTS) \
23129 for flag in $(EXTRA_HOST_FLAGS) ; do \
23130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23131 done; \
23132 echo "Doing mostlyclean in libiberty" ; \
23133 (cd $(HOST_SUBDIR)/libiberty && \
23134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23136 "RANLIB=$${RANLIB}" \
23137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23138 mostlyclean) \
23139 || exit 1
23141 @endif libiberty
23143 .PHONY: maybe-clean-libiberty clean-libiberty
23144 maybe-clean-libiberty:
23145 @if libiberty
23146 maybe-clean-libiberty: clean-libiberty
23148 clean-libiberty:
23149 @[ -f ./libiberty/Makefile ] || exit 0; \
23150 r=`${PWD_COMMAND}`; export r; \
23151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23152 $(HOST_EXPORTS) \
23153 for flag in $(EXTRA_HOST_FLAGS) ; do \
23154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23155 done; \
23156 echo "Doing clean in libiberty" ; \
23157 (cd $(HOST_SUBDIR)/libiberty && \
23158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23160 "RANLIB=$${RANLIB}" \
23161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23162 clean) \
23163 || exit 1
23165 @endif libiberty
23167 .PHONY: maybe-distclean-libiberty distclean-libiberty
23168 maybe-distclean-libiberty:
23169 @if libiberty
23170 maybe-distclean-libiberty: distclean-libiberty
23172 distclean-libiberty:
23173 @[ -f ./libiberty/Makefile ] || exit 0; \
23174 r=`${PWD_COMMAND}`; export r; \
23175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23176 $(HOST_EXPORTS) \
23177 for flag in $(EXTRA_HOST_FLAGS) ; do \
23178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23179 done; \
23180 echo "Doing distclean in libiberty" ; \
23181 (cd $(HOST_SUBDIR)/libiberty && \
23182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23184 "RANLIB=$${RANLIB}" \
23185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23186 distclean) \
23187 || exit 1
23189 @endif libiberty
23191 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
23192 maybe-maintainer-clean-libiberty:
23193 @if libiberty
23194 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
23196 maintainer-clean-libiberty:
23197 @[ -f ./libiberty/Makefile ] || exit 0; \
23198 r=`${PWD_COMMAND}`; export r; \
23199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23200 $(HOST_EXPORTS) \
23201 for flag in $(EXTRA_HOST_FLAGS) ; do \
23202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23203 done; \
23204 echo "Doing maintainer-clean in libiberty" ; \
23205 (cd $(HOST_SUBDIR)/libiberty && \
23206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23208 "RANLIB=$${RANLIB}" \
23209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23210 maintainer-clean) \
23211 || exit 1
23213 @endif libiberty
23217 .PHONY: configure-libiberty-linker-plugin maybe-configure-libiberty-linker-plugin
23218 maybe-configure-libiberty-linker-plugin:
23219 @if gcc-bootstrap
23220 configure-libiberty-linker-plugin: stage_current
23221 @endif gcc-bootstrap
23222 @if libiberty-linker-plugin
23223 maybe-configure-libiberty-linker-plugin: configure-libiberty-linker-plugin
23224 configure-libiberty-linker-plugin:
23225 @r=`${PWD_COMMAND}`; export r; \
23226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23227 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
23228 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin ; \
23229 $(HOST_EXPORTS) \
23230 echo Configuring in $(HOST_SUBDIR)/libiberty-linker-plugin; \
23231 cd "$(HOST_SUBDIR)/libiberty-linker-plugin" || exit 1; \
23232 case $(srcdir) in \
23233 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23234 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
23235 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23236 esac; \
23237 module_srcdir=libiberty; \
23238 $(SHELL) \
23239 $$s/$$module_srcdir/configure \
23240 --srcdir=$${topdir}/$$module_srcdir \
23241 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23242 --target=${target_alias} @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@ \
23243 || exit 1
23244 @endif libiberty-linker-plugin
23248 .PHONY: configure-stage1-libiberty-linker-plugin maybe-configure-stage1-libiberty-linker-plugin
23249 maybe-configure-stage1-libiberty-linker-plugin:
23250 @if libiberty-linker-plugin-bootstrap
23251 maybe-configure-stage1-libiberty-linker-plugin: configure-stage1-libiberty-linker-plugin
23252 configure-stage1-libiberty-linker-plugin:
23253 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
23254 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
23255 @r=`${PWD_COMMAND}`; export r; \
23256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23257 TFLAGS="$(STAGE1_TFLAGS)"; \
23258 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
23259 $(HOST_EXPORTS) \
23260 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
23261 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
23262 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
23263 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty-linker-plugin ; \
23264 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin ; \
23265 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
23266 case $(srcdir) in \
23267 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23268 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
23269 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23270 esac; \
23271 module_srcdir=libiberty; \
23272 $(SHELL) $$s/$$module_srcdir/configure \
23273 --srcdir=$${topdir}/$$module_srcdir \
23274 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23275 --target=${target_alias} \
23277 $(STAGE1_CONFIGURE_FLAGS) \
23278 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
23279 @endif libiberty-linker-plugin-bootstrap
23281 .PHONY: configure-stage2-libiberty-linker-plugin maybe-configure-stage2-libiberty-linker-plugin
23282 maybe-configure-stage2-libiberty-linker-plugin:
23283 @if libiberty-linker-plugin-bootstrap
23284 maybe-configure-stage2-libiberty-linker-plugin: configure-stage2-libiberty-linker-plugin
23285 configure-stage2-libiberty-linker-plugin:
23286 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
23287 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
23288 @r=`${PWD_COMMAND}`; export r; \
23289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23290 TFLAGS="$(STAGE2_TFLAGS)"; \
23291 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
23292 $(HOST_EXPORTS) \
23293 $(POSTSTAGE1_HOST_EXPORTS) \
23294 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
23295 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
23296 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
23297 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty-linker-plugin ; \
23298 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin ; \
23299 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
23300 case $(srcdir) in \
23301 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23302 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
23303 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23304 esac; \
23305 module_srcdir=libiberty; \
23306 $(SHELL) $$s/$$module_srcdir/configure \
23307 --srcdir=$${topdir}/$$module_srcdir \
23308 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23309 --target=${target_alias} \
23310 --with-build-libsubdir=$(HOST_SUBDIR) \
23311 $(STAGE2_CONFIGURE_FLAGS) \
23312 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
23313 @endif libiberty-linker-plugin-bootstrap
23315 .PHONY: configure-stage3-libiberty-linker-plugin maybe-configure-stage3-libiberty-linker-plugin
23316 maybe-configure-stage3-libiberty-linker-plugin:
23317 @if libiberty-linker-plugin-bootstrap
23318 maybe-configure-stage3-libiberty-linker-plugin: configure-stage3-libiberty-linker-plugin
23319 configure-stage3-libiberty-linker-plugin:
23320 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
23321 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
23322 @r=`${PWD_COMMAND}`; export r; \
23323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23324 TFLAGS="$(STAGE3_TFLAGS)"; \
23325 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
23326 $(HOST_EXPORTS) \
23327 $(POSTSTAGE1_HOST_EXPORTS) \
23328 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
23329 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
23330 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
23331 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty-linker-plugin ; \
23332 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin ; \
23333 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
23334 case $(srcdir) in \
23335 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23336 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
23337 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23338 esac; \
23339 module_srcdir=libiberty; \
23340 $(SHELL) $$s/$$module_srcdir/configure \
23341 --srcdir=$${topdir}/$$module_srcdir \
23342 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23343 --target=${target_alias} \
23344 --with-build-libsubdir=$(HOST_SUBDIR) \
23345 $(STAGE3_CONFIGURE_FLAGS) \
23346 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
23347 @endif libiberty-linker-plugin-bootstrap
23349 .PHONY: configure-stage4-libiberty-linker-plugin maybe-configure-stage4-libiberty-linker-plugin
23350 maybe-configure-stage4-libiberty-linker-plugin:
23351 @if libiberty-linker-plugin-bootstrap
23352 maybe-configure-stage4-libiberty-linker-plugin: configure-stage4-libiberty-linker-plugin
23353 configure-stage4-libiberty-linker-plugin:
23354 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
23355 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
23356 @r=`${PWD_COMMAND}`; export r; \
23357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23358 TFLAGS="$(STAGE4_TFLAGS)"; \
23359 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
23360 $(HOST_EXPORTS) \
23361 $(POSTSTAGE1_HOST_EXPORTS) \
23362 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
23363 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
23364 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
23365 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty-linker-plugin ; \
23366 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin ; \
23367 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
23368 case $(srcdir) in \
23369 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23370 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
23371 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23372 esac; \
23373 module_srcdir=libiberty; \
23374 $(SHELL) $$s/$$module_srcdir/configure \
23375 --srcdir=$${topdir}/$$module_srcdir \
23376 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23377 --target=${target_alias} \
23378 --with-build-libsubdir=$(HOST_SUBDIR) \
23379 $(STAGE4_CONFIGURE_FLAGS) \
23380 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
23381 @endif libiberty-linker-plugin-bootstrap
23383 .PHONY: configure-stageprofile-libiberty-linker-plugin maybe-configure-stageprofile-libiberty-linker-plugin
23384 maybe-configure-stageprofile-libiberty-linker-plugin:
23385 @if libiberty-linker-plugin-bootstrap
23386 maybe-configure-stageprofile-libiberty-linker-plugin: configure-stageprofile-libiberty-linker-plugin
23387 configure-stageprofile-libiberty-linker-plugin:
23388 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
23389 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
23390 @r=`${PWD_COMMAND}`; export r; \
23391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23392 TFLAGS="$(STAGEprofile_TFLAGS)"; \
23393 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
23394 $(HOST_EXPORTS) \
23395 $(POSTSTAGE1_HOST_EXPORTS) \
23396 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
23397 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
23398 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
23399 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty-linker-plugin ; \
23400 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin ; \
23401 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
23402 case $(srcdir) in \
23403 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23404 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
23405 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23406 esac; \
23407 module_srcdir=libiberty; \
23408 $(SHELL) $$s/$$module_srcdir/configure \
23409 --srcdir=$${topdir}/$$module_srcdir \
23410 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23411 --target=${target_alias} \
23412 --with-build-libsubdir=$(HOST_SUBDIR) \
23413 $(STAGEprofile_CONFIGURE_FLAGS) \
23414 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
23415 @endif libiberty-linker-plugin-bootstrap
23417 .PHONY: configure-stagefeedback-libiberty-linker-plugin maybe-configure-stagefeedback-libiberty-linker-plugin
23418 maybe-configure-stagefeedback-libiberty-linker-plugin:
23419 @if libiberty-linker-plugin-bootstrap
23420 maybe-configure-stagefeedback-libiberty-linker-plugin: configure-stagefeedback-libiberty-linker-plugin
23421 configure-stagefeedback-libiberty-linker-plugin:
23422 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
23423 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
23424 @r=`${PWD_COMMAND}`; export r; \
23425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23426 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
23427 test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
23428 $(HOST_EXPORTS) \
23429 $(POSTSTAGE1_HOST_EXPORTS) \
23430 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
23431 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
23432 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
23433 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty-linker-plugin ; \
23434 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin ; \
23435 cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
23436 case $(srcdir) in \
23437 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23438 *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
23439 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23440 esac; \
23441 module_srcdir=libiberty; \
23442 $(SHELL) $$s/$$module_srcdir/configure \
23443 --srcdir=$${topdir}/$$module_srcdir \
23444 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
23445 --target=${target_alias} \
23446 --with-build-libsubdir=$(HOST_SUBDIR) \
23447 $(STAGEfeedback_CONFIGURE_FLAGS) \
23448 @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
23449 @endif libiberty-linker-plugin-bootstrap
23455 .PHONY: all-libiberty-linker-plugin maybe-all-libiberty-linker-plugin
23456 maybe-all-libiberty-linker-plugin:
23457 @if gcc-bootstrap
23458 all-libiberty-linker-plugin: stage_current
23459 @endif gcc-bootstrap
23460 @if libiberty-linker-plugin
23461 TARGET-libiberty-linker-plugin=all
23462 maybe-all-libiberty-linker-plugin: all-libiberty-linker-plugin
23463 all-libiberty-linker-plugin: configure-libiberty-linker-plugin
23464 @r=`${PWD_COMMAND}`; export r; \
23465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23466 $(HOST_EXPORTS) \
23467 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23468 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
23469 $(TARGET-libiberty-linker-plugin))
23470 @endif libiberty-linker-plugin
23474 .PHONY: all-stage1-libiberty-linker-plugin maybe-all-stage1-libiberty-linker-plugin
23475 .PHONY: clean-stage1-libiberty-linker-plugin maybe-clean-stage1-libiberty-linker-plugin
23476 maybe-all-stage1-libiberty-linker-plugin:
23477 maybe-clean-stage1-libiberty-linker-plugin:
23478 @if libiberty-linker-plugin-bootstrap
23479 maybe-all-stage1-libiberty-linker-plugin: all-stage1-libiberty-linker-plugin
23480 all-stage1: all-stage1-libiberty-linker-plugin
23481 TARGET-stage1-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
23482 all-stage1-libiberty-linker-plugin: configure-stage1-libiberty-linker-plugin
23483 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
23484 @r=`${PWD_COMMAND}`; export r; \
23485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23486 TFLAGS="$(STAGE1_TFLAGS)"; \
23487 $(HOST_EXPORTS) \
23488 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23489 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23490 CFLAGS="$(STAGE1_CFLAGS)" \
23491 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
23492 LIBCFLAGS="$(LIBCFLAGS)" \
23493 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23494 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23495 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23496 $(EXTRA_HOST_FLAGS) \
23497 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
23498 TFLAGS="$(STAGE1_TFLAGS)" \
23499 $(TARGET-stage1-libiberty-linker-plugin)
23501 maybe-clean-stage1-libiberty-linker-plugin: clean-stage1-libiberty-linker-plugin
23502 clean-stage1: clean-stage1-libiberty-linker-plugin
23503 clean-stage1-libiberty-linker-plugin:
23504 @if [ $(current_stage) = stage1 ]; then \
23505 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
23506 else \
23507 [ -f $(HOST_SUBDIR)/stage1-libiberty-linker-plugin/Makefile ] || exit 0; \
23508 $(MAKE) stage1-start; \
23509 fi; \
23510 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23511 $(MAKE) $(EXTRA_HOST_FLAGS) \
23512 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
23513 @endif libiberty-linker-plugin-bootstrap
23516 .PHONY: all-stage2-libiberty-linker-plugin maybe-all-stage2-libiberty-linker-plugin
23517 .PHONY: clean-stage2-libiberty-linker-plugin maybe-clean-stage2-libiberty-linker-plugin
23518 maybe-all-stage2-libiberty-linker-plugin:
23519 maybe-clean-stage2-libiberty-linker-plugin:
23520 @if libiberty-linker-plugin-bootstrap
23521 maybe-all-stage2-libiberty-linker-plugin: all-stage2-libiberty-linker-plugin
23522 all-stage2: all-stage2-libiberty-linker-plugin
23523 TARGET-stage2-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
23524 all-stage2-libiberty-linker-plugin: configure-stage2-libiberty-linker-plugin
23525 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
23526 @r=`${PWD_COMMAND}`; export r; \
23527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23528 TFLAGS="$(STAGE2_TFLAGS)"; \
23529 $(HOST_EXPORTS) \
23530 $(POSTSTAGE1_HOST_EXPORTS) \
23531 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23532 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23533 CFLAGS="$(STAGE2_CFLAGS)" \
23534 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
23535 LIBCFLAGS="$(STAGE2_CFLAGS)" \
23536 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23537 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23538 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23539 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
23540 TFLAGS="$(STAGE2_TFLAGS)" \
23541 $(TARGET-stage2-libiberty-linker-plugin)
23543 maybe-clean-stage2-libiberty-linker-plugin: clean-stage2-libiberty-linker-plugin
23544 clean-stage2: clean-stage2-libiberty-linker-plugin
23545 clean-stage2-libiberty-linker-plugin:
23546 @if [ $(current_stage) = stage2 ]; then \
23547 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
23548 else \
23549 [ -f $(HOST_SUBDIR)/stage2-libiberty-linker-plugin/Makefile ] || exit 0; \
23550 $(MAKE) stage2-start; \
23551 fi; \
23552 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23553 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
23554 @endif libiberty-linker-plugin-bootstrap
23557 .PHONY: all-stage3-libiberty-linker-plugin maybe-all-stage3-libiberty-linker-plugin
23558 .PHONY: clean-stage3-libiberty-linker-plugin maybe-clean-stage3-libiberty-linker-plugin
23559 maybe-all-stage3-libiberty-linker-plugin:
23560 maybe-clean-stage3-libiberty-linker-plugin:
23561 @if libiberty-linker-plugin-bootstrap
23562 maybe-all-stage3-libiberty-linker-plugin: all-stage3-libiberty-linker-plugin
23563 all-stage3: all-stage3-libiberty-linker-plugin
23564 TARGET-stage3-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
23565 all-stage3-libiberty-linker-plugin: configure-stage3-libiberty-linker-plugin
23566 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
23567 @r=`${PWD_COMMAND}`; export r; \
23568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23569 TFLAGS="$(STAGE3_TFLAGS)"; \
23570 $(HOST_EXPORTS) \
23571 $(POSTSTAGE1_HOST_EXPORTS) \
23572 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23573 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23574 CFLAGS="$(STAGE3_CFLAGS)" \
23575 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
23576 LIBCFLAGS="$(STAGE3_CFLAGS)" \
23577 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23578 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23579 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23580 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
23581 TFLAGS="$(STAGE3_TFLAGS)" \
23582 $(TARGET-stage3-libiberty-linker-plugin)
23584 maybe-clean-stage3-libiberty-linker-plugin: clean-stage3-libiberty-linker-plugin
23585 clean-stage3: clean-stage3-libiberty-linker-plugin
23586 clean-stage3-libiberty-linker-plugin:
23587 @if [ $(current_stage) = stage3 ]; then \
23588 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
23589 else \
23590 [ -f $(HOST_SUBDIR)/stage3-libiberty-linker-plugin/Makefile ] || exit 0; \
23591 $(MAKE) stage3-start; \
23592 fi; \
23593 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23594 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
23595 @endif libiberty-linker-plugin-bootstrap
23598 .PHONY: all-stage4-libiberty-linker-plugin maybe-all-stage4-libiberty-linker-plugin
23599 .PHONY: clean-stage4-libiberty-linker-plugin maybe-clean-stage4-libiberty-linker-plugin
23600 maybe-all-stage4-libiberty-linker-plugin:
23601 maybe-clean-stage4-libiberty-linker-plugin:
23602 @if libiberty-linker-plugin-bootstrap
23603 maybe-all-stage4-libiberty-linker-plugin: all-stage4-libiberty-linker-plugin
23604 all-stage4: all-stage4-libiberty-linker-plugin
23605 TARGET-stage4-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
23606 all-stage4-libiberty-linker-plugin: configure-stage4-libiberty-linker-plugin
23607 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
23608 @r=`${PWD_COMMAND}`; export r; \
23609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23610 TFLAGS="$(STAGE4_TFLAGS)"; \
23611 $(HOST_EXPORTS) \
23612 $(POSTSTAGE1_HOST_EXPORTS) \
23613 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23614 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23615 CFLAGS="$(STAGE4_CFLAGS)" \
23616 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
23617 LIBCFLAGS="$(STAGE4_CFLAGS)" \
23618 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23619 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23620 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23621 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
23622 TFLAGS="$(STAGE4_TFLAGS)" \
23623 $(TARGET-stage4-libiberty-linker-plugin)
23625 maybe-clean-stage4-libiberty-linker-plugin: clean-stage4-libiberty-linker-plugin
23626 clean-stage4: clean-stage4-libiberty-linker-plugin
23627 clean-stage4-libiberty-linker-plugin:
23628 @if [ $(current_stage) = stage4 ]; then \
23629 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
23630 else \
23631 [ -f $(HOST_SUBDIR)/stage4-libiberty-linker-plugin/Makefile ] || exit 0; \
23632 $(MAKE) stage4-start; \
23633 fi; \
23634 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23635 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
23636 @endif libiberty-linker-plugin-bootstrap
23639 .PHONY: all-stageprofile-libiberty-linker-plugin maybe-all-stageprofile-libiberty-linker-plugin
23640 .PHONY: clean-stageprofile-libiberty-linker-plugin maybe-clean-stageprofile-libiberty-linker-plugin
23641 maybe-all-stageprofile-libiberty-linker-plugin:
23642 maybe-clean-stageprofile-libiberty-linker-plugin:
23643 @if libiberty-linker-plugin-bootstrap
23644 maybe-all-stageprofile-libiberty-linker-plugin: all-stageprofile-libiberty-linker-plugin
23645 all-stageprofile: all-stageprofile-libiberty-linker-plugin
23646 TARGET-stageprofile-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
23647 all-stageprofile-libiberty-linker-plugin: configure-stageprofile-libiberty-linker-plugin
23648 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
23649 @r=`${PWD_COMMAND}`; export r; \
23650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23651 TFLAGS="$(STAGEprofile_TFLAGS)"; \
23652 $(HOST_EXPORTS) \
23653 $(POSTSTAGE1_HOST_EXPORTS) \
23654 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23655 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23656 CFLAGS="$(STAGEprofile_CFLAGS)" \
23657 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
23658 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
23659 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23660 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23661 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23662 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
23663 TFLAGS="$(STAGEprofile_TFLAGS)" \
23664 $(TARGET-stageprofile-libiberty-linker-plugin)
23666 maybe-clean-stageprofile-libiberty-linker-plugin: clean-stageprofile-libiberty-linker-plugin
23667 clean-stageprofile: clean-stageprofile-libiberty-linker-plugin
23668 clean-stageprofile-libiberty-linker-plugin:
23669 @if [ $(current_stage) = stageprofile ]; then \
23670 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
23671 else \
23672 [ -f $(HOST_SUBDIR)/stageprofile-libiberty-linker-plugin/Makefile ] || exit 0; \
23673 $(MAKE) stageprofile-start; \
23674 fi; \
23675 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23676 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
23677 @endif libiberty-linker-plugin-bootstrap
23680 .PHONY: all-stagefeedback-libiberty-linker-plugin maybe-all-stagefeedback-libiberty-linker-plugin
23681 .PHONY: clean-stagefeedback-libiberty-linker-plugin maybe-clean-stagefeedback-libiberty-linker-plugin
23682 maybe-all-stagefeedback-libiberty-linker-plugin:
23683 maybe-clean-stagefeedback-libiberty-linker-plugin:
23684 @if libiberty-linker-plugin-bootstrap
23685 maybe-all-stagefeedback-libiberty-linker-plugin: all-stagefeedback-libiberty-linker-plugin
23686 all-stagefeedback: all-stagefeedback-libiberty-linker-plugin
23687 TARGET-stagefeedback-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
23688 all-stagefeedback-libiberty-linker-plugin: configure-stagefeedback-libiberty-linker-plugin
23689 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
23690 @r=`${PWD_COMMAND}`; export r; \
23691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23692 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
23693 $(HOST_EXPORTS) \
23694 $(POSTSTAGE1_HOST_EXPORTS) \
23695 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23696 $(MAKE) $(BASE_FLAGS_TO_PASS) \
23697 CFLAGS="$(STAGEfeedback_CFLAGS)" \
23698 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
23699 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
23700 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
23701 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
23702 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
23703 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
23704 TFLAGS="$(STAGEfeedback_TFLAGS)" \
23705 $(TARGET-stagefeedback-libiberty-linker-plugin)
23707 maybe-clean-stagefeedback-libiberty-linker-plugin: clean-stagefeedback-libiberty-linker-plugin
23708 clean-stagefeedback: clean-stagefeedback-libiberty-linker-plugin
23709 clean-stagefeedback-libiberty-linker-plugin:
23710 @if [ $(current_stage) = stagefeedback ]; then \
23711 [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
23712 else \
23713 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty-linker-plugin/Makefile ] || exit 0; \
23714 $(MAKE) stagefeedback-start; \
23715 fi; \
23716 cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23717 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
23718 @endif libiberty-linker-plugin-bootstrap
23724 .PHONY: check-libiberty-linker-plugin maybe-check-libiberty-linker-plugin
23725 maybe-check-libiberty-linker-plugin:
23726 @if libiberty-linker-plugin
23727 maybe-check-libiberty-linker-plugin: check-libiberty-linker-plugin
23729 check-libiberty-linker-plugin:
23730 @: $(MAKE); $(unstage)
23731 @r=`${PWD_COMMAND}`; export r; \
23732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23733 $(HOST_EXPORTS) \
23734 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23735 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ check)
23737 @endif libiberty-linker-plugin
23739 .PHONY: install-libiberty-linker-plugin maybe-install-libiberty-linker-plugin
23740 maybe-install-libiberty-linker-plugin:
23741 @if libiberty-linker-plugin
23742 maybe-install-libiberty-linker-plugin: install-libiberty-linker-plugin
23744 install-libiberty-linker-plugin: installdirs
23745 @: $(MAKE); $(unstage)
23746 @r=`${PWD_COMMAND}`; export r; \
23747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23748 $(HOST_EXPORTS) \
23749 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23750 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install)
23752 @endif libiberty-linker-plugin
23754 .PHONY: install-strip-libiberty-linker-plugin maybe-install-strip-libiberty-linker-plugin
23755 maybe-install-strip-libiberty-linker-plugin:
23756 @if libiberty-linker-plugin
23757 maybe-install-strip-libiberty-linker-plugin: install-strip-libiberty-linker-plugin
23759 install-strip-libiberty-linker-plugin: installdirs
23760 @: $(MAKE); $(unstage)
23761 @r=`${PWD_COMMAND}`; export r; \
23762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23763 $(HOST_EXPORTS) \
23764 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23765 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install-strip)
23767 @endif libiberty-linker-plugin
23769 # Other targets (info, dvi, pdf, etc.)
23771 .PHONY: maybe-info-libiberty-linker-plugin info-libiberty-linker-plugin
23772 maybe-info-libiberty-linker-plugin:
23773 @if libiberty-linker-plugin
23774 maybe-info-libiberty-linker-plugin: info-libiberty-linker-plugin
23776 info-libiberty-linker-plugin: \
23777 configure-libiberty-linker-plugin
23778 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
23779 r=`${PWD_COMMAND}`; export r; \
23780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23781 $(HOST_EXPORTS) \
23782 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
23783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23784 done; \
23785 echo "Doing info in libiberty-linker-plugin" ; \
23786 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23789 "RANLIB=$${RANLIB}" \
23790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23791 info) \
23792 || exit 1
23794 @endif libiberty-linker-plugin
23796 .PHONY: maybe-dvi-libiberty-linker-plugin dvi-libiberty-linker-plugin
23797 maybe-dvi-libiberty-linker-plugin:
23798 @if libiberty-linker-plugin
23799 maybe-dvi-libiberty-linker-plugin: dvi-libiberty-linker-plugin
23801 dvi-libiberty-linker-plugin: \
23802 configure-libiberty-linker-plugin
23803 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
23804 r=`${PWD_COMMAND}`; export r; \
23805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23806 $(HOST_EXPORTS) \
23807 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
23808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23809 done; \
23810 echo "Doing dvi in libiberty-linker-plugin" ; \
23811 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23814 "RANLIB=$${RANLIB}" \
23815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23816 dvi) \
23817 || exit 1
23819 @endif libiberty-linker-plugin
23821 .PHONY: maybe-pdf-libiberty-linker-plugin pdf-libiberty-linker-plugin
23822 maybe-pdf-libiberty-linker-plugin:
23823 @if libiberty-linker-plugin
23824 maybe-pdf-libiberty-linker-plugin: pdf-libiberty-linker-plugin
23826 pdf-libiberty-linker-plugin: \
23827 configure-libiberty-linker-plugin
23828 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
23829 r=`${PWD_COMMAND}`; export r; \
23830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23831 $(HOST_EXPORTS) \
23832 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
23833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23834 done; \
23835 echo "Doing pdf in libiberty-linker-plugin" ; \
23836 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23839 "RANLIB=$${RANLIB}" \
23840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23841 pdf) \
23842 || exit 1
23844 @endif libiberty-linker-plugin
23846 .PHONY: maybe-html-libiberty-linker-plugin html-libiberty-linker-plugin
23847 maybe-html-libiberty-linker-plugin:
23848 @if libiberty-linker-plugin
23849 maybe-html-libiberty-linker-plugin: html-libiberty-linker-plugin
23851 html-libiberty-linker-plugin: \
23852 configure-libiberty-linker-plugin
23853 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
23854 r=`${PWD_COMMAND}`; export r; \
23855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23856 $(HOST_EXPORTS) \
23857 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
23858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23859 done; \
23860 echo "Doing html in libiberty-linker-plugin" ; \
23861 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23864 "RANLIB=$${RANLIB}" \
23865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23866 html) \
23867 || exit 1
23869 @endif libiberty-linker-plugin
23871 .PHONY: maybe-TAGS-libiberty-linker-plugin TAGS-libiberty-linker-plugin
23872 maybe-TAGS-libiberty-linker-plugin:
23873 @if libiberty-linker-plugin
23874 maybe-TAGS-libiberty-linker-plugin: TAGS-libiberty-linker-plugin
23876 TAGS-libiberty-linker-plugin: \
23877 configure-libiberty-linker-plugin
23878 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
23879 r=`${PWD_COMMAND}`; export r; \
23880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23881 $(HOST_EXPORTS) \
23882 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
23883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23884 done; \
23885 echo "Doing TAGS in libiberty-linker-plugin" ; \
23886 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23889 "RANLIB=$${RANLIB}" \
23890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23891 TAGS) \
23892 || exit 1
23894 @endif libiberty-linker-plugin
23896 .PHONY: maybe-install-info-libiberty-linker-plugin install-info-libiberty-linker-plugin
23897 maybe-install-info-libiberty-linker-plugin:
23898 @if libiberty-linker-plugin
23899 maybe-install-info-libiberty-linker-plugin: install-info-libiberty-linker-plugin
23901 install-info-libiberty-linker-plugin: \
23902 configure-libiberty-linker-plugin \
23903 info-libiberty-linker-plugin
23904 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
23905 r=`${PWD_COMMAND}`; export r; \
23906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23907 $(HOST_EXPORTS) \
23908 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
23909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23910 done; \
23911 echo "Doing install-info in libiberty-linker-plugin" ; \
23912 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23915 "RANLIB=$${RANLIB}" \
23916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23917 install-info) \
23918 || exit 1
23920 @endif libiberty-linker-plugin
23922 .PHONY: maybe-install-pdf-libiberty-linker-plugin install-pdf-libiberty-linker-plugin
23923 maybe-install-pdf-libiberty-linker-plugin:
23924 @if libiberty-linker-plugin
23925 maybe-install-pdf-libiberty-linker-plugin: install-pdf-libiberty-linker-plugin
23927 install-pdf-libiberty-linker-plugin: \
23928 configure-libiberty-linker-plugin \
23929 pdf-libiberty-linker-plugin
23930 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
23931 r=`${PWD_COMMAND}`; export r; \
23932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23933 $(HOST_EXPORTS) \
23934 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
23935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23936 done; \
23937 echo "Doing install-pdf in libiberty-linker-plugin" ; \
23938 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23941 "RANLIB=$${RANLIB}" \
23942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23943 install-pdf) \
23944 || exit 1
23946 @endif libiberty-linker-plugin
23948 .PHONY: maybe-install-html-libiberty-linker-plugin install-html-libiberty-linker-plugin
23949 maybe-install-html-libiberty-linker-plugin:
23950 @if libiberty-linker-plugin
23951 maybe-install-html-libiberty-linker-plugin: install-html-libiberty-linker-plugin
23953 install-html-libiberty-linker-plugin: \
23954 configure-libiberty-linker-plugin \
23955 html-libiberty-linker-plugin
23956 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
23957 r=`${PWD_COMMAND}`; export r; \
23958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23959 $(HOST_EXPORTS) \
23960 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
23961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23962 done; \
23963 echo "Doing install-html in libiberty-linker-plugin" ; \
23964 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23967 "RANLIB=$${RANLIB}" \
23968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23969 install-html) \
23970 || exit 1
23972 @endif libiberty-linker-plugin
23974 .PHONY: maybe-installcheck-libiberty-linker-plugin installcheck-libiberty-linker-plugin
23975 maybe-installcheck-libiberty-linker-plugin:
23976 @if libiberty-linker-plugin
23977 maybe-installcheck-libiberty-linker-plugin: installcheck-libiberty-linker-plugin
23979 installcheck-libiberty-linker-plugin: \
23980 configure-libiberty-linker-plugin
23981 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
23982 r=`${PWD_COMMAND}`; export r; \
23983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23984 $(HOST_EXPORTS) \
23985 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
23986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23987 done; \
23988 echo "Doing installcheck in libiberty-linker-plugin" ; \
23989 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
23990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23992 "RANLIB=$${RANLIB}" \
23993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
23994 installcheck) \
23995 || exit 1
23997 @endif libiberty-linker-plugin
23999 .PHONY: maybe-mostlyclean-libiberty-linker-plugin mostlyclean-libiberty-linker-plugin
24000 maybe-mostlyclean-libiberty-linker-plugin:
24001 @if libiberty-linker-plugin
24002 maybe-mostlyclean-libiberty-linker-plugin: mostlyclean-libiberty-linker-plugin
24004 mostlyclean-libiberty-linker-plugin:
24005 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
24006 r=`${PWD_COMMAND}`; export r; \
24007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24008 $(HOST_EXPORTS) \
24009 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
24010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24011 done; \
24012 echo "Doing mostlyclean in libiberty-linker-plugin" ; \
24013 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24016 "RANLIB=$${RANLIB}" \
24017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24018 mostlyclean) \
24019 || exit 1
24021 @endif libiberty-linker-plugin
24023 .PHONY: maybe-clean-libiberty-linker-plugin clean-libiberty-linker-plugin
24024 maybe-clean-libiberty-linker-plugin:
24025 @if libiberty-linker-plugin
24026 maybe-clean-libiberty-linker-plugin: clean-libiberty-linker-plugin
24028 clean-libiberty-linker-plugin:
24029 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
24030 r=`${PWD_COMMAND}`; export r; \
24031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24032 $(HOST_EXPORTS) \
24033 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
24034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24035 done; \
24036 echo "Doing clean in libiberty-linker-plugin" ; \
24037 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24040 "RANLIB=$${RANLIB}" \
24041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24042 clean) \
24043 || exit 1
24045 @endif libiberty-linker-plugin
24047 .PHONY: maybe-distclean-libiberty-linker-plugin distclean-libiberty-linker-plugin
24048 maybe-distclean-libiberty-linker-plugin:
24049 @if libiberty-linker-plugin
24050 maybe-distclean-libiberty-linker-plugin: distclean-libiberty-linker-plugin
24052 distclean-libiberty-linker-plugin:
24053 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
24054 r=`${PWD_COMMAND}`; export r; \
24055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24056 $(HOST_EXPORTS) \
24057 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
24058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24059 done; \
24060 echo "Doing distclean in libiberty-linker-plugin" ; \
24061 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24064 "RANLIB=$${RANLIB}" \
24065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24066 distclean) \
24067 || exit 1
24069 @endif libiberty-linker-plugin
24071 .PHONY: maybe-maintainer-clean-libiberty-linker-plugin maintainer-clean-libiberty-linker-plugin
24072 maybe-maintainer-clean-libiberty-linker-plugin:
24073 @if libiberty-linker-plugin
24074 maybe-maintainer-clean-libiberty-linker-plugin: maintainer-clean-libiberty-linker-plugin
24076 maintainer-clean-libiberty-linker-plugin:
24077 @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
24078 r=`${PWD_COMMAND}`; export r; \
24079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24080 $(HOST_EXPORTS) \
24081 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
24082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24083 done; \
24084 echo "Doing maintainer-clean in libiberty-linker-plugin" ; \
24085 (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
24086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24088 "RANLIB=$${RANLIB}" \
24089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24090 maintainer-clean) \
24091 || exit 1
24093 @endif libiberty-linker-plugin
24097 .PHONY: configure-libiconv maybe-configure-libiconv
24098 maybe-configure-libiconv:
24099 @if gcc-bootstrap
24100 configure-libiconv: stage_current
24101 @endif gcc-bootstrap
24102 @if libiconv
24103 maybe-configure-libiconv: configure-libiconv
24104 configure-libiconv:
24105 @: $(MAKE); $(unstage)
24106 @r=`${PWD_COMMAND}`; export r; \
24107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24108 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
24109 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv ; \
24110 $(HOST_EXPORTS) \
24111 echo Configuring in $(HOST_SUBDIR)/libiconv; \
24112 cd "$(HOST_SUBDIR)/libiconv" || exit 1; \
24113 case $(srcdir) in \
24114 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24115 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
24116 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24117 esac; \
24118 module_srcdir=libiconv; \
24119 $(SHELL) \
24120 $$s/$$module_srcdir/configure \
24121 --srcdir=$${topdir}/$$module_srcdir \
24122 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24123 --target=${target_alias} --disable-shared \
24124 || exit 1
24125 @endif libiconv
24131 .PHONY: all-libiconv maybe-all-libiconv
24132 maybe-all-libiconv:
24133 @if gcc-bootstrap
24134 all-libiconv: stage_current
24135 @endif gcc-bootstrap
24136 @if libiconv
24137 TARGET-libiconv=all
24138 maybe-all-libiconv: all-libiconv
24139 all-libiconv: configure-libiconv
24140 @: $(MAKE); $(unstage)
24141 @r=`${PWD_COMMAND}`; export r; \
24142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24143 $(HOST_EXPORTS) \
24144 (cd $(HOST_SUBDIR)/libiconv && \
24145 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
24146 $(TARGET-libiconv))
24147 @endif libiconv
24152 .PHONY: check-libiconv maybe-check-libiconv
24153 maybe-check-libiconv:
24154 @if libiconv
24155 maybe-check-libiconv: check-libiconv
24157 check-libiconv:
24158 @: $(MAKE); $(unstage)
24159 @r=`${PWD_COMMAND}`; export r; \
24160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24161 $(HOST_EXPORTS) \
24162 (cd $(HOST_SUBDIR)/libiconv && \
24163 $(MAKE) $(FLAGS_TO_PASS) check)
24165 @endif libiconv
24167 .PHONY: install-libiconv maybe-install-libiconv
24168 maybe-install-libiconv:
24169 @if libiconv
24170 maybe-install-libiconv: install-libiconv
24172 install-libiconv:
24174 @endif libiconv
24176 .PHONY: install-strip-libiconv maybe-install-strip-libiconv
24177 maybe-install-strip-libiconv:
24178 @if libiconv
24179 maybe-install-strip-libiconv: install-strip-libiconv
24181 install-strip-libiconv:
24183 @endif libiconv
24185 # Other targets (info, dvi, pdf, etc.)
24187 .PHONY: maybe-info-libiconv info-libiconv
24188 maybe-info-libiconv:
24189 @if libiconv
24190 maybe-info-libiconv: info-libiconv
24192 info-libiconv: \
24193 configure-libiconv
24194 @: $(MAKE); $(unstage)
24195 @[ -f ./libiconv/Makefile ] || exit 0; \
24196 r=`${PWD_COMMAND}`; export r; \
24197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24198 $(HOST_EXPORTS) \
24199 for flag in $(EXTRA_HOST_FLAGS) ; do \
24200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24201 done; \
24202 echo "Doing info in libiconv" ; \
24203 (cd $(HOST_SUBDIR)/libiconv && \
24204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24206 "RANLIB=$${RANLIB}" \
24207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24208 info) \
24209 || exit 1
24211 @endif libiconv
24213 .PHONY: maybe-dvi-libiconv dvi-libiconv
24214 maybe-dvi-libiconv:
24215 @if libiconv
24216 maybe-dvi-libiconv: dvi-libiconv
24218 dvi-libiconv: \
24219 configure-libiconv
24220 @: $(MAKE); $(unstage)
24221 @[ -f ./libiconv/Makefile ] || exit 0; \
24222 r=`${PWD_COMMAND}`; export r; \
24223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24224 $(HOST_EXPORTS) \
24225 for flag in $(EXTRA_HOST_FLAGS) ; do \
24226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24227 done; \
24228 echo "Doing dvi in libiconv" ; \
24229 (cd $(HOST_SUBDIR)/libiconv && \
24230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24232 "RANLIB=$${RANLIB}" \
24233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24234 dvi) \
24235 || exit 1
24237 @endif libiconv
24239 .PHONY: maybe-pdf-libiconv pdf-libiconv
24240 maybe-pdf-libiconv:
24241 @if libiconv
24242 maybe-pdf-libiconv: pdf-libiconv
24244 pdf-libiconv: \
24245 configure-libiconv
24246 @: $(MAKE); $(unstage)
24247 @[ -f ./libiconv/Makefile ] || exit 0; \
24248 r=`${PWD_COMMAND}`; export r; \
24249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24250 $(HOST_EXPORTS) \
24251 for flag in $(EXTRA_HOST_FLAGS) ; do \
24252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24253 done; \
24254 echo "Doing pdf in libiconv" ; \
24255 (cd $(HOST_SUBDIR)/libiconv && \
24256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24258 "RANLIB=$${RANLIB}" \
24259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24260 pdf) \
24261 || exit 1
24263 @endif libiconv
24265 .PHONY: maybe-html-libiconv html-libiconv
24266 maybe-html-libiconv:
24267 @if libiconv
24268 maybe-html-libiconv: html-libiconv
24270 html-libiconv: \
24271 configure-libiconv
24272 @: $(MAKE); $(unstage)
24273 @[ -f ./libiconv/Makefile ] || exit 0; \
24274 r=`${PWD_COMMAND}`; export r; \
24275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24276 $(HOST_EXPORTS) \
24277 for flag in $(EXTRA_HOST_FLAGS) ; do \
24278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24279 done; \
24280 echo "Doing html in libiconv" ; \
24281 (cd $(HOST_SUBDIR)/libiconv && \
24282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24284 "RANLIB=$${RANLIB}" \
24285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24286 html) \
24287 || exit 1
24289 @endif libiconv
24291 .PHONY: maybe-TAGS-libiconv TAGS-libiconv
24292 maybe-TAGS-libiconv:
24293 @if libiconv
24294 maybe-TAGS-libiconv: TAGS-libiconv
24296 TAGS-libiconv: \
24297 configure-libiconv
24298 @: $(MAKE); $(unstage)
24299 @[ -f ./libiconv/Makefile ] || exit 0; \
24300 r=`${PWD_COMMAND}`; export r; \
24301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24302 $(HOST_EXPORTS) \
24303 for flag in $(EXTRA_HOST_FLAGS) ; do \
24304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24305 done; \
24306 echo "Doing TAGS in libiconv" ; \
24307 (cd $(HOST_SUBDIR)/libiconv && \
24308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24310 "RANLIB=$${RANLIB}" \
24311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24312 TAGS) \
24313 || exit 1
24315 @endif libiconv
24317 .PHONY: maybe-install-info-libiconv install-info-libiconv
24318 maybe-install-info-libiconv:
24319 @if libiconv
24320 maybe-install-info-libiconv: install-info-libiconv
24322 # libiconv doesn't support install-info.
24323 install-info-libiconv:
24325 @endif libiconv
24327 .PHONY: maybe-install-pdf-libiconv install-pdf-libiconv
24328 maybe-install-pdf-libiconv:
24329 @if libiconv
24330 maybe-install-pdf-libiconv: install-pdf-libiconv
24332 # libiconv doesn't support install-pdf.
24333 install-pdf-libiconv:
24335 @endif libiconv
24337 .PHONY: maybe-install-html-libiconv install-html-libiconv
24338 maybe-install-html-libiconv:
24339 @if libiconv
24340 maybe-install-html-libiconv: install-html-libiconv
24342 # libiconv doesn't support install-html.
24343 install-html-libiconv:
24345 @endif libiconv
24347 .PHONY: maybe-installcheck-libiconv installcheck-libiconv
24348 maybe-installcheck-libiconv:
24349 @if libiconv
24350 maybe-installcheck-libiconv: installcheck-libiconv
24352 installcheck-libiconv: \
24353 configure-libiconv
24354 @: $(MAKE); $(unstage)
24355 @[ -f ./libiconv/Makefile ] || exit 0; \
24356 r=`${PWD_COMMAND}`; export r; \
24357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24358 $(HOST_EXPORTS) \
24359 for flag in $(EXTRA_HOST_FLAGS) ; do \
24360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24361 done; \
24362 echo "Doing installcheck in libiconv" ; \
24363 (cd $(HOST_SUBDIR)/libiconv && \
24364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24366 "RANLIB=$${RANLIB}" \
24367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24368 installcheck) \
24369 || exit 1
24371 @endif libiconv
24373 .PHONY: maybe-mostlyclean-libiconv mostlyclean-libiconv
24374 maybe-mostlyclean-libiconv:
24375 @if libiconv
24376 maybe-mostlyclean-libiconv: mostlyclean-libiconv
24378 mostlyclean-libiconv:
24379 @: $(MAKE); $(unstage)
24380 @[ -f ./libiconv/Makefile ] || exit 0; \
24381 r=`${PWD_COMMAND}`; export r; \
24382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24383 $(HOST_EXPORTS) \
24384 for flag in $(EXTRA_HOST_FLAGS) ; do \
24385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24386 done; \
24387 echo "Doing mostlyclean in libiconv" ; \
24388 (cd $(HOST_SUBDIR)/libiconv && \
24389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24391 "RANLIB=$${RANLIB}" \
24392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24393 mostlyclean) \
24394 || exit 1
24396 @endif libiconv
24398 .PHONY: maybe-clean-libiconv clean-libiconv
24399 maybe-clean-libiconv:
24400 @if libiconv
24401 maybe-clean-libiconv: clean-libiconv
24403 clean-libiconv:
24404 @: $(MAKE); $(unstage)
24405 @[ -f ./libiconv/Makefile ] || exit 0; \
24406 r=`${PWD_COMMAND}`; export r; \
24407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24408 $(HOST_EXPORTS) \
24409 for flag in $(EXTRA_HOST_FLAGS) ; do \
24410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24411 done; \
24412 echo "Doing clean in libiconv" ; \
24413 (cd $(HOST_SUBDIR)/libiconv && \
24414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24416 "RANLIB=$${RANLIB}" \
24417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24418 clean) \
24419 || exit 1
24421 @endif libiconv
24423 .PHONY: maybe-distclean-libiconv distclean-libiconv
24424 maybe-distclean-libiconv:
24425 @if libiconv
24426 maybe-distclean-libiconv: distclean-libiconv
24428 distclean-libiconv:
24429 @: $(MAKE); $(unstage)
24430 @[ -f ./libiconv/Makefile ] || exit 0; \
24431 r=`${PWD_COMMAND}`; export r; \
24432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24433 $(HOST_EXPORTS) \
24434 for flag in $(EXTRA_HOST_FLAGS) ; do \
24435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24436 done; \
24437 echo "Doing distclean in libiconv" ; \
24438 (cd $(HOST_SUBDIR)/libiconv && \
24439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24441 "RANLIB=$${RANLIB}" \
24442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24443 distclean) \
24444 || exit 1
24446 @endif libiconv
24448 .PHONY: maybe-maintainer-clean-libiconv maintainer-clean-libiconv
24449 maybe-maintainer-clean-libiconv:
24450 @if libiconv
24451 maybe-maintainer-clean-libiconv: maintainer-clean-libiconv
24453 maintainer-clean-libiconv:
24454 @: $(MAKE); $(unstage)
24455 @[ -f ./libiconv/Makefile ] || exit 0; \
24456 r=`${PWD_COMMAND}`; export r; \
24457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24458 $(HOST_EXPORTS) \
24459 for flag in $(EXTRA_HOST_FLAGS) ; do \
24460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24461 done; \
24462 echo "Doing maintainer-clean in libiconv" ; \
24463 (cd $(HOST_SUBDIR)/libiconv && \
24464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24466 "RANLIB=$${RANLIB}" \
24467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24468 maintainer-clean) \
24469 || exit 1
24471 @endif libiconv
24475 .PHONY: configure-m4 maybe-configure-m4
24476 maybe-configure-m4:
24477 @if gcc-bootstrap
24478 configure-m4: stage_current
24479 @endif gcc-bootstrap
24480 @if m4
24481 maybe-configure-m4: configure-m4
24482 configure-m4:
24483 @: $(MAKE); $(unstage)
24484 @r=`${PWD_COMMAND}`; export r; \
24485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24486 test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
24487 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4 ; \
24488 $(HOST_EXPORTS) \
24489 echo Configuring in $(HOST_SUBDIR)/m4; \
24490 cd "$(HOST_SUBDIR)/m4" || exit 1; \
24491 case $(srcdir) in \
24492 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24493 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
24494 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24495 esac; \
24496 module_srcdir=m4; \
24497 $(SHELL) \
24498 $$s/$$module_srcdir/configure \
24499 --srcdir=$${topdir}/$$module_srcdir \
24500 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24501 --target=${target_alias} \
24502 || exit 1
24503 @endif m4
24509 .PHONY: all-m4 maybe-all-m4
24510 maybe-all-m4:
24511 @if gcc-bootstrap
24512 all-m4: stage_current
24513 @endif gcc-bootstrap
24514 @if m4
24515 TARGET-m4=all
24516 maybe-all-m4: all-m4
24517 all-m4: configure-m4
24518 @: $(MAKE); $(unstage)
24519 @r=`${PWD_COMMAND}`; export r; \
24520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24521 $(HOST_EXPORTS) \
24522 (cd $(HOST_SUBDIR)/m4 && \
24523 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
24524 $(TARGET-m4))
24525 @endif m4
24530 .PHONY: check-m4 maybe-check-m4
24531 maybe-check-m4:
24532 @if m4
24533 maybe-check-m4: check-m4
24535 check-m4:
24536 @: $(MAKE); $(unstage)
24537 @r=`${PWD_COMMAND}`; export r; \
24538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24539 $(HOST_EXPORTS) \
24540 (cd $(HOST_SUBDIR)/m4 && \
24541 $(MAKE) $(FLAGS_TO_PASS) check)
24543 @endif m4
24545 .PHONY: install-m4 maybe-install-m4
24546 maybe-install-m4:
24547 @if m4
24548 maybe-install-m4: install-m4
24550 install-m4: installdirs
24551 @: $(MAKE); $(unstage)
24552 @r=`${PWD_COMMAND}`; export r; \
24553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24554 $(HOST_EXPORTS) \
24555 (cd $(HOST_SUBDIR)/m4 && \
24556 $(MAKE) $(FLAGS_TO_PASS) install)
24558 @endif m4
24560 .PHONY: install-strip-m4 maybe-install-strip-m4
24561 maybe-install-strip-m4:
24562 @if m4
24563 maybe-install-strip-m4: install-strip-m4
24565 install-strip-m4: installdirs
24566 @: $(MAKE); $(unstage)
24567 @r=`${PWD_COMMAND}`; export r; \
24568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24569 $(HOST_EXPORTS) \
24570 (cd $(HOST_SUBDIR)/m4 && \
24571 $(MAKE) $(FLAGS_TO_PASS) install-strip)
24573 @endif m4
24575 # Other targets (info, dvi, pdf, etc.)
24577 .PHONY: maybe-info-m4 info-m4
24578 maybe-info-m4:
24579 @if m4
24580 maybe-info-m4: info-m4
24582 info-m4: \
24583 configure-m4
24584 @: $(MAKE); $(unstage)
24585 @[ -f ./m4/Makefile ] || exit 0; \
24586 r=`${PWD_COMMAND}`; export r; \
24587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24588 $(HOST_EXPORTS) \
24589 for flag in $(EXTRA_HOST_FLAGS) ; do \
24590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24591 done; \
24592 echo "Doing info in m4" ; \
24593 (cd $(HOST_SUBDIR)/m4 && \
24594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24596 "RANLIB=$${RANLIB}" \
24597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24598 info) \
24599 || exit 1
24601 @endif m4
24603 .PHONY: maybe-dvi-m4 dvi-m4
24604 maybe-dvi-m4:
24605 @if m4
24606 maybe-dvi-m4: dvi-m4
24608 dvi-m4: \
24609 configure-m4
24610 @: $(MAKE); $(unstage)
24611 @[ -f ./m4/Makefile ] || exit 0; \
24612 r=`${PWD_COMMAND}`; export r; \
24613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24614 $(HOST_EXPORTS) \
24615 for flag in $(EXTRA_HOST_FLAGS) ; do \
24616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24617 done; \
24618 echo "Doing dvi in m4" ; \
24619 (cd $(HOST_SUBDIR)/m4 && \
24620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24622 "RANLIB=$${RANLIB}" \
24623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24624 dvi) \
24625 || exit 1
24627 @endif m4
24629 .PHONY: maybe-pdf-m4 pdf-m4
24630 maybe-pdf-m4:
24631 @if m4
24632 maybe-pdf-m4: pdf-m4
24634 pdf-m4: \
24635 configure-m4
24636 @: $(MAKE); $(unstage)
24637 @[ -f ./m4/Makefile ] || exit 0; \
24638 r=`${PWD_COMMAND}`; export r; \
24639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24640 $(HOST_EXPORTS) \
24641 for flag in $(EXTRA_HOST_FLAGS) ; do \
24642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24643 done; \
24644 echo "Doing pdf in m4" ; \
24645 (cd $(HOST_SUBDIR)/m4 && \
24646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24648 "RANLIB=$${RANLIB}" \
24649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24650 pdf) \
24651 || exit 1
24653 @endif m4
24655 .PHONY: maybe-html-m4 html-m4
24656 maybe-html-m4:
24657 @if m4
24658 maybe-html-m4: html-m4
24660 html-m4: \
24661 configure-m4
24662 @: $(MAKE); $(unstage)
24663 @[ -f ./m4/Makefile ] || exit 0; \
24664 r=`${PWD_COMMAND}`; export r; \
24665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24666 $(HOST_EXPORTS) \
24667 for flag in $(EXTRA_HOST_FLAGS) ; do \
24668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24669 done; \
24670 echo "Doing html in m4" ; \
24671 (cd $(HOST_SUBDIR)/m4 && \
24672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24674 "RANLIB=$${RANLIB}" \
24675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24676 html) \
24677 || exit 1
24679 @endif m4
24681 .PHONY: maybe-TAGS-m4 TAGS-m4
24682 maybe-TAGS-m4:
24683 @if m4
24684 maybe-TAGS-m4: TAGS-m4
24686 TAGS-m4: \
24687 configure-m4
24688 @: $(MAKE); $(unstage)
24689 @[ -f ./m4/Makefile ] || exit 0; \
24690 r=`${PWD_COMMAND}`; export r; \
24691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24692 $(HOST_EXPORTS) \
24693 for flag in $(EXTRA_HOST_FLAGS) ; do \
24694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24695 done; \
24696 echo "Doing TAGS in m4" ; \
24697 (cd $(HOST_SUBDIR)/m4 && \
24698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24700 "RANLIB=$${RANLIB}" \
24701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24702 TAGS) \
24703 || exit 1
24705 @endif m4
24707 .PHONY: maybe-install-info-m4 install-info-m4
24708 maybe-install-info-m4:
24709 @if m4
24710 maybe-install-info-m4: install-info-m4
24712 install-info-m4: \
24713 configure-m4 \
24714 info-m4
24715 @: $(MAKE); $(unstage)
24716 @[ -f ./m4/Makefile ] || exit 0; \
24717 r=`${PWD_COMMAND}`; export r; \
24718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24719 $(HOST_EXPORTS) \
24720 for flag in $(EXTRA_HOST_FLAGS) ; do \
24721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24722 done; \
24723 echo "Doing install-info in m4" ; \
24724 (cd $(HOST_SUBDIR)/m4 && \
24725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24727 "RANLIB=$${RANLIB}" \
24728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24729 install-info) \
24730 || exit 1
24732 @endif m4
24734 .PHONY: maybe-install-pdf-m4 install-pdf-m4
24735 maybe-install-pdf-m4:
24736 @if m4
24737 maybe-install-pdf-m4: install-pdf-m4
24739 install-pdf-m4: \
24740 configure-m4 \
24741 pdf-m4
24742 @: $(MAKE); $(unstage)
24743 @[ -f ./m4/Makefile ] || exit 0; \
24744 r=`${PWD_COMMAND}`; export r; \
24745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24746 $(HOST_EXPORTS) \
24747 for flag in $(EXTRA_HOST_FLAGS) ; do \
24748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24749 done; \
24750 echo "Doing install-pdf in m4" ; \
24751 (cd $(HOST_SUBDIR)/m4 && \
24752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24754 "RANLIB=$${RANLIB}" \
24755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24756 install-pdf) \
24757 || exit 1
24759 @endif m4
24761 .PHONY: maybe-install-html-m4 install-html-m4
24762 maybe-install-html-m4:
24763 @if m4
24764 maybe-install-html-m4: install-html-m4
24766 install-html-m4: \
24767 configure-m4 \
24768 html-m4
24769 @: $(MAKE); $(unstage)
24770 @[ -f ./m4/Makefile ] || exit 0; \
24771 r=`${PWD_COMMAND}`; export r; \
24772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24773 $(HOST_EXPORTS) \
24774 for flag in $(EXTRA_HOST_FLAGS) ; do \
24775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24776 done; \
24777 echo "Doing install-html in m4" ; \
24778 (cd $(HOST_SUBDIR)/m4 && \
24779 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24780 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24781 "RANLIB=$${RANLIB}" \
24782 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24783 install-html) \
24784 || exit 1
24786 @endif m4
24788 .PHONY: maybe-installcheck-m4 installcheck-m4
24789 maybe-installcheck-m4:
24790 @if m4
24791 maybe-installcheck-m4: installcheck-m4
24793 installcheck-m4: \
24794 configure-m4
24795 @: $(MAKE); $(unstage)
24796 @[ -f ./m4/Makefile ] || exit 0; \
24797 r=`${PWD_COMMAND}`; export r; \
24798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24799 $(HOST_EXPORTS) \
24800 for flag in $(EXTRA_HOST_FLAGS) ; do \
24801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24802 done; \
24803 echo "Doing installcheck in m4" ; \
24804 (cd $(HOST_SUBDIR)/m4 && \
24805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24807 "RANLIB=$${RANLIB}" \
24808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24809 installcheck) \
24810 || exit 1
24812 @endif m4
24814 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
24815 maybe-mostlyclean-m4:
24816 @if m4
24817 maybe-mostlyclean-m4: mostlyclean-m4
24819 mostlyclean-m4:
24820 @: $(MAKE); $(unstage)
24821 @[ -f ./m4/Makefile ] || exit 0; \
24822 r=`${PWD_COMMAND}`; export r; \
24823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24824 $(HOST_EXPORTS) \
24825 for flag in $(EXTRA_HOST_FLAGS) ; do \
24826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24827 done; \
24828 echo "Doing mostlyclean in m4" ; \
24829 (cd $(HOST_SUBDIR)/m4 && \
24830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24832 "RANLIB=$${RANLIB}" \
24833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24834 mostlyclean) \
24835 || exit 1
24837 @endif m4
24839 .PHONY: maybe-clean-m4 clean-m4
24840 maybe-clean-m4:
24841 @if m4
24842 maybe-clean-m4: clean-m4
24844 clean-m4:
24845 @: $(MAKE); $(unstage)
24846 @[ -f ./m4/Makefile ] || exit 0; \
24847 r=`${PWD_COMMAND}`; export r; \
24848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24849 $(HOST_EXPORTS) \
24850 for flag in $(EXTRA_HOST_FLAGS) ; do \
24851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24852 done; \
24853 echo "Doing clean in m4" ; \
24854 (cd $(HOST_SUBDIR)/m4 && \
24855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24857 "RANLIB=$${RANLIB}" \
24858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24859 clean) \
24860 || exit 1
24862 @endif m4
24864 .PHONY: maybe-distclean-m4 distclean-m4
24865 maybe-distclean-m4:
24866 @if m4
24867 maybe-distclean-m4: distclean-m4
24869 distclean-m4:
24870 @: $(MAKE); $(unstage)
24871 @[ -f ./m4/Makefile ] || exit 0; \
24872 r=`${PWD_COMMAND}`; export r; \
24873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24874 $(HOST_EXPORTS) \
24875 for flag in $(EXTRA_HOST_FLAGS) ; do \
24876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24877 done; \
24878 echo "Doing distclean in m4" ; \
24879 (cd $(HOST_SUBDIR)/m4 && \
24880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24882 "RANLIB=$${RANLIB}" \
24883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24884 distclean) \
24885 || exit 1
24887 @endif m4
24889 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
24890 maybe-maintainer-clean-m4:
24891 @if m4
24892 maybe-maintainer-clean-m4: maintainer-clean-m4
24894 maintainer-clean-m4:
24895 @: $(MAKE); $(unstage)
24896 @[ -f ./m4/Makefile ] || exit 0; \
24897 r=`${PWD_COMMAND}`; export r; \
24898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24899 $(HOST_EXPORTS) \
24900 for flag in $(EXTRA_HOST_FLAGS) ; do \
24901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24902 done; \
24903 echo "Doing maintainer-clean in m4" ; \
24904 (cd $(HOST_SUBDIR)/m4 && \
24905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24907 "RANLIB=$${RANLIB}" \
24908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
24909 maintainer-clean) \
24910 || exit 1
24912 @endif m4
24916 .PHONY: configure-readline maybe-configure-readline
24917 maybe-configure-readline:
24918 @if gcc-bootstrap
24919 configure-readline: stage_current
24920 @endif gcc-bootstrap
24921 @if readline
24922 maybe-configure-readline: configure-readline
24923 configure-readline:
24924 @: $(MAKE); $(unstage)
24925 @r=`${PWD_COMMAND}`; export r; \
24926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24927 test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
24928 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline ; \
24929 $(HOST_EXPORTS) \
24930 echo Configuring in $(HOST_SUBDIR)/readline; \
24931 cd "$(HOST_SUBDIR)/readline" || exit 1; \
24932 case $(srcdir) in \
24933 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24934 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
24935 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24936 esac; \
24937 module_srcdir=readline; \
24938 $(SHELL) \
24939 $$s/$$module_srcdir/configure \
24940 --srcdir=$${topdir}/$$module_srcdir \
24941 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
24942 --target=${target_alias} \
24943 || exit 1
24944 @endif readline
24950 .PHONY: all-readline maybe-all-readline
24951 maybe-all-readline:
24952 @if gcc-bootstrap
24953 all-readline: stage_current
24954 @endif gcc-bootstrap
24955 @if readline
24956 TARGET-readline=all
24957 maybe-all-readline: all-readline
24958 all-readline: configure-readline
24959 @: $(MAKE); $(unstage)
24960 @r=`${PWD_COMMAND}`; export r; \
24961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24962 $(HOST_EXPORTS) \
24963 (cd $(HOST_SUBDIR)/readline && \
24964 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
24965 $(TARGET-readline))
24966 @endif readline
24971 .PHONY: check-readline maybe-check-readline
24972 maybe-check-readline:
24973 @if readline
24974 maybe-check-readline: check-readline
24976 check-readline:
24977 @: $(MAKE); $(unstage)
24978 @r=`${PWD_COMMAND}`; export r; \
24979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24980 $(HOST_EXPORTS) \
24981 (cd $(HOST_SUBDIR)/readline && \
24982 $(MAKE) $(FLAGS_TO_PASS) check)
24984 @endif readline
24986 .PHONY: install-readline maybe-install-readline
24987 maybe-install-readline:
24988 @if readline
24989 maybe-install-readline: install-readline
24991 install-readline: installdirs
24992 @: $(MAKE); $(unstage)
24993 @r=`${PWD_COMMAND}`; export r; \
24994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24995 $(HOST_EXPORTS) \
24996 (cd $(HOST_SUBDIR)/readline && \
24997 $(MAKE) $(FLAGS_TO_PASS) install)
24999 @endif readline
25001 .PHONY: install-strip-readline maybe-install-strip-readline
25002 maybe-install-strip-readline:
25003 @if readline
25004 maybe-install-strip-readline: install-strip-readline
25006 install-strip-readline: installdirs
25007 @: $(MAKE); $(unstage)
25008 @r=`${PWD_COMMAND}`; export r; \
25009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25010 $(HOST_EXPORTS) \
25011 (cd $(HOST_SUBDIR)/readline && \
25012 $(MAKE) $(FLAGS_TO_PASS) install-strip)
25014 @endif readline
25016 # Other targets (info, dvi, pdf, etc.)
25018 .PHONY: maybe-info-readline info-readline
25019 maybe-info-readline:
25020 @if readline
25021 maybe-info-readline: info-readline
25023 info-readline: \
25024 configure-readline
25025 @: $(MAKE); $(unstage)
25026 @[ -f ./readline/Makefile ] || exit 0; \
25027 r=`${PWD_COMMAND}`; export r; \
25028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25029 $(HOST_EXPORTS) \
25030 for flag in $(EXTRA_HOST_FLAGS) ; do \
25031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25032 done; \
25033 echo "Doing info in readline" ; \
25034 (cd $(HOST_SUBDIR)/readline && \
25035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25037 "RANLIB=$${RANLIB}" \
25038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25039 info) \
25040 || exit 1
25042 @endif readline
25044 .PHONY: maybe-dvi-readline dvi-readline
25045 maybe-dvi-readline:
25046 @if readline
25047 maybe-dvi-readline: dvi-readline
25049 dvi-readline: \
25050 configure-readline
25051 @: $(MAKE); $(unstage)
25052 @[ -f ./readline/Makefile ] || exit 0; \
25053 r=`${PWD_COMMAND}`; export r; \
25054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25055 $(HOST_EXPORTS) \
25056 for flag in $(EXTRA_HOST_FLAGS) ; do \
25057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25058 done; \
25059 echo "Doing dvi in readline" ; \
25060 (cd $(HOST_SUBDIR)/readline && \
25061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25063 "RANLIB=$${RANLIB}" \
25064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25065 dvi) \
25066 || exit 1
25068 @endif readline
25070 .PHONY: maybe-pdf-readline pdf-readline
25071 maybe-pdf-readline:
25072 @if readline
25073 maybe-pdf-readline: pdf-readline
25075 pdf-readline: \
25076 configure-readline
25077 @: $(MAKE); $(unstage)
25078 @[ -f ./readline/Makefile ] || exit 0; \
25079 r=`${PWD_COMMAND}`; export r; \
25080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25081 $(HOST_EXPORTS) \
25082 for flag in $(EXTRA_HOST_FLAGS) ; do \
25083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25084 done; \
25085 echo "Doing pdf in readline" ; \
25086 (cd $(HOST_SUBDIR)/readline && \
25087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25089 "RANLIB=$${RANLIB}" \
25090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25091 pdf) \
25092 || exit 1
25094 @endif readline
25096 .PHONY: maybe-html-readline html-readline
25097 maybe-html-readline:
25098 @if readline
25099 maybe-html-readline: html-readline
25101 html-readline: \
25102 configure-readline
25103 @: $(MAKE); $(unstage)
25104 @[ -f ./readline/Makefile ] || exit 0; \
25105 r=`${PWD_COMMAND}`; export r; \
25106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25107 $(HOST_EXPORTS) \
25108 for flag in $(EXTRA_HOST_FLAGS) ; do \
25109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25110 done; \
25111 echo "Doing html in readline" ; \
25112 (cd $(HOST_SUBDIR)/readline && \
25113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25115 "RANLIB=$${RANLIB}" \
25116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25117 html) \
25118 || exit 1
25120 @endif readline
25122 .PHONY: maybe-TAGS-readline TAGS-readline
25123 maybe-TAGS-readline:
25124 @if readline
25125 maybe-TAGS-readline: TAGS-readline
25127 TAGS-readline: \
25128 configure-readline
25129 @: $(MAKE); $(unstage)
25130 @[ -f ./readline/Makefile ] || exit 0; \
25131 r=`${PWD_COMMAND}`; export r; \
25132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25133 $(HOST_EXPORTS) \
25134 for flag in $(EXTRA_HOST_FLAGS) ; do \
25135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25136 done; \
25137 echo "Doing TAGS in readline" ; \
25138 (cd $(HOST_SUBDIR)/readline && \
25139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25141 "RANLIB=$${RANLIB}" \
25142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25143 TAGS) \
25144 || exit 1
25146 @endif readline
25148 .PHONY: maybe-install-info-readline install-info-readline
25149 maybe-install-info-readline:
25150 @if readline
25151 maybe-install-info-readline: install-info-readline
25153 install-info-readline: \
25154 configure-readline \
25155 info-readline
25156 @: $(MAKE); $(unstage)
25157 @[ -f ./readline/Makefile ] || exit 0; \
25158 r=`${PWD_COMMAND}`; export r; \
25159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25160 $(HOST_EXPORTS) \
25161 for flag in $(EXTRA_HOST_FLAGS) ; do \
25162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25163 done; \
25164 echo "Doing install-info in readline" ; \
25165 (cd $(HOST_SUBDIR)/readline && \
25166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25168 "RANLIB=$${RANLIB}" \
25169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25170 install-info) \
25171 || exit 1
25173 @endif readline
25175 .PHONY: maybe-install-pdf-readline install-pdf-readline
25176 maybe-install-pdf-readline:
25177 @if readline
25178 maybe-install-pdf-readline: install-pdf-readline
25180 install-pdf-readline: \
25181 configure-readline \
25182 pdf-readline
25183 @: $(MAKE); $(unstage)
25184 @[ -f ./readline/Makefile ] || exit 0; \
25185 r=`${PWD_COMMAND}`; export r; \
25186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25187 $(HOST_EXPORTS) \
25188 for flag in $(EXTRA_HOST_FLAGS) ; do \
25189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25190 done; \
25191 echo "Doing install-pdf in readline" ; \
25192 (cd $(HOST_SUBDIR)/readline && \
25193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25195 "RANLIB=$${RANLIB}" \
25196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25197 install-pdf) \
25198 || exit 1
25200 @endif readline
25202 .PHONY: maybe-install-html-readline install-html-readline
25203 maybe-install-html-readline:
25204 @if readline
25205 maybe-install-html-readline: install-html-readline
25207 install-html-readline: \
25208 configure-readline \
25209 html-readline
25210 @: $(MAKE); $(unstage)
25211 @[ -f ./readline/Makefile ] || exit 0; \
25212 r=`${PWD_COMMAND}`; export r; \
25213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25214 $(HOST_EXPORTS) \
25215 for flag in $(EXTRA_HOST_FLAGS) ; do \
25216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25217 done; \
25218 echo "Doing install-html in readline" ; \
25219 (cd $(HOST_SUBDIR)/readline && \
25220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25222 "RANLIB=$${RANLIB}" \
25223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25224 install-html) \
25225 || exit 1
25227 @endif readline
25229 .PHONY: maybe-installcheck-readline installcheck-readline
25230 maybe-installcheck-readline:
25231 @if readline
25232 maybe-installcheck-readline: installcheck-readline
25234 installcheck-readline: \
25235 configure-readline
25236 @: $(MAKE); $(unstage)
25237 @[ -f ./readline/Makefile ] || exit 0; \
25238 r=`${PWD_COMMAND}`; export r; \
25239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25240 $(HOST_EXPORTS) \
25241 for flag in $(EXTRA_HOST_FLAGS) ; do \
25242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25243 done; \
25244 echo "Doing installcheck in readline" ; \
25245 (cd $(HOST_SUBDIR)/readline && \
25246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25248 "RANLIB=$${RANLIB}" \
25249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25250 installcheck) \
25251 || exit 1
25253 @endif readline
25255 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
25256 maybe-mostlyclean-readline:
25257 @if readline
25258 maybe-mostlyclean-readline: mostlyclean-readline
25260 mostlyclean-readline:
25261 @: $(MAKE); $(unstage)
25262 @[ -f ./readline/Makefile ] || exit 0; \
25263 r=`${PWD_COMMAND}`; export r; \
25264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25265 $(HOST_EXPORTS) \
25266 for flag in $(EXTRA_HOST_FLAGS) ; do \
25267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25268 done; \
25269 echo "Doing mostlyclean in readline" ; \
25270 (cd $(HOST_SUBDIR)/readline && \
25271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25273 "RANLIB=$${RANLIB}" \
25274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25275 mostlyclean) \
25276 || exit 1
25278 @endif readline
25280 .PHONY: maybe-clean-readline clean-readline
25281 maybe-clean-readline:
25282 @if readline
25283 maybe-clean-readline: clean-readline
25285 clean-readline:
25286 @: $(MAKE); $(unstage)
25287 @[ -f ./readline/Makefile ] || exit 0; \
25288 r=`${PWD_COMMAND}`; export r; \
25289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25290 $(HOST_EXPORTS) \
25291 for flag in $(EXTRA_HOST_FLAGS) ; do \
25292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25293 done; \
25294 echo "Doing clean in readline" ; \
25295 (cd $(HOST_SUBDIR)/readline && \
25296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25298 "RANLIB=$${RANLIB}" \
25299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25300 clean) \
25301 || exit 1
25303 @endif readline
25305 .PHONY: maybe-distclean-readline distclean-readline
25306 maybe-distclean-readline:
25307 @if readline
25308 maybe-distclean-readline: distclean-readline
25310 distclean-readline:
25311 @: $(MAKE); $(unstage)
25312 @[ -f ./readline/Makefile ] || exit 0; \
25313 r=`${PWD_COMMAND}`; export r; \
25314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25315 $(HOST_EXPORTS) \
25316 for flag in $(EXTRA_HOST_FLAGS) ; do \
25317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25318 done; \
25319 echo "Doing distclean in readline" ; \
25320 (cd $(HOST_SUBDIR)/readline && \
25321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25323 "RANLIB=$${RANLIB}" \
25324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25325 distclean) \
25326 || exit 1
25328 @endif readline
25330 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
25331 maybe-maintainer-clean-readline:
25332 @if readline
25333 maybe-maintainer-clean-readline: maintainer-clean-readline
25335 maintainer-clean-readline:
25336 @: $(MAKE); $(unstage)
25337 @[ -f ./readline/Makefile ] || exit 0; \
25338 r=`${PWD_COMMAND}`; export r; \
25339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25340 $(HOST_EXPORTS) \
25341 for flag in $(EXTRA_HOST_FLAGS) ; do \
25342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25343 done; \
25344 echo "Doing maintainer-clean in readline" ; \
25345 (cd $(HOST_SUBDIR)/readline && \
25346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25348 "RANLIB=$${RANLIB}" \
25349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25350 maintainer-clean) \
25351 || exit 1
25353 @endif readline
25357 .PHONY: configure-sid maybe-configure-sid
25358 maybe-configure-sid:
25359 @if gcc-bootstrap
25360 configure-sid: stage_current
25361 @endif gcc-bootstrap
25362 @if sid
25363 maybe-configure-sid: configure-sid
25364 configure-sid:
25365 @: $(MAKE); $(unstage)
25366 @r=`${PWD_COMMAND}`; export r; \
25367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25368 test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
25369 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid ; \
25370 $(HOST_EXPORTS) \
25371 echo Configuring in $(HOST_SUBDIR)/sid; \
25372 cd "$(HOST_SUBDIR)/sid" || exit 1; \
25373 case $(srcdir) in \
25374 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25375 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
25376 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25377 esac; \
25378 module_srcdir=sid; \
25379 $(SHELL) \
25380 $$s/$$module_srcdir/configure \
25381 --srcdir=$${topdir}/$$module_srcdir \
25382 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25383 --target=${target_alias} \
25384 || exit 1
25385 @endif sid
25391 .PHONY: all-sid maybe-all-sid
25392 maybe-all-sid:
25393 @if gcc-bootstrap
25394 all-sid: stage_current
25395 @endif gcc-bootstrap
25396 @if sid
25397 TARGET-sid=all
25398 maybe-all-sid: all-sid
25399 all-sid: configure-sid
25400 @: $(MAKE); $(unstage)
25401 @r=`${PWD_COMMAND}`; export r; \
25402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25403 $(HOST_EXPORTS) \
25404 (cd $(HOST_SUBDIR)/sid && \
25405 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
25406 $(TARGET-sid))
25407 @endif sid
25412 .PHONY: check-sid maybe-check-sid
25413 maybe-check-sid:
25414 @if sid
25415 maybe-check-sid: check-sid
25417 check-sid:
25418 @: $(MAKE); $(unstage)
25419 @r=`${PWD_COMMAND}`; export r; \
25420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25421 $(HOST_EXPORTS) \
25422 (cd $(HOST_SUBDIR)/sid && \
25423 $(MAKE) $(FLAGS_TO_PASS) check)
25425 @endif sid
25427 .PHONY: install-sid maybe-install-sid
25428 maybe-install-sid:
25429 @if sid
25430 maybe-install-sid: install-sid
25432 install-sid: installdirs
25433 @: $(MAKE); $(unstage)
25434 @r=`${PWD_COMMAND}`; export r; \
25435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25436 $(HOST_EXPORTS) \
25437 (cd $(HOST_SUBDIR)/sid && \
25438 $(MAKE) $(FLAGS_TO_PASS) install)
25440 @endif sid
25442 .PHONY: install-strip-sid maybe-install-strip-sid
25443 maybe-install-strip-sid:
25444 @if sid
25445 maybe-install-strip-sid: install-strip-sid
25447 install-strip-sid: installdirs
25448 @: $(MAKE); $(unstage)
25449 @r=`${PWD_COMMAND}`; export r; \
25450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25451 $(HOST_EXPORTS) \
25452 (cd $(HOST_SUBDIR)/sid && \
25453 $(MAKE) $(FLAGS_TO_PASS) install-strip)
25455 @endif sid
25457 # Other targets (info, dvi, pdf, etc.)
25459 .PHONY: maybe-info-sid info-sid
25460 maybe-info-sid:
25461 @if sid
25462 maybe-info-sid: info-sid
25464 info-sid: \
25465 configure-sid
25466 @: $(MAKE); $(unstage)
25467 @[ -f ./sid/Makefile ] || exit 0; \
25468 r=`${PWD_COMMAND}`; export r; \
25469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25470 $(HOST_EXPORTS) \
25471 for flag in $(EXTRA_HOST_FLAGS) ; do \
25472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25473 done; \
25474 echo "Doing info in sid" ; \
25475 (cd $(HOST_SUBDIR)/sid && \
25476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25478 "RANLIB=$${RANLIB}" \
25479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25480 info) \
25481 || exit 1
25483 @endif sid
25485 .PHONY: maybe-dvi-sid dvi-sid
25486 maybe-dvi-sid:
25487 @if sid
25488 maybe-dvi-sid: dvi-sid
25490 dvi-sid: \
25491 configure-sid
25492 @: $(MAKE); $(unstage)
25493 @[ -f ./sid/Makefile ] || exit 0; \
25494 r=`${PWD_COMMAND}`; export r; \
25495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25496 $(HOST_EXPORTS) \
25497 for flag in $(EXTRA_HOST_FLAGS) ; do \
25498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25499 done; \
25500 echo "Doing dvi in sid" ; \
25501 (cd $(HOST_SUBDIR)/sid && \
25502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25504 "RANLIB=$${RANLIB}" \
25505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25506 dvi) \
25507 || exit 1
25509 @endif sid
25511 .PHONY: maybe-pdf-sid pdf-sid
25512 maybe-pdf-sid:
25513 @if sid
25514 maybe-pdf-sid: pdf-sid
25516 pdf-sid: \
25517 configure-sid
25518 @: $(MAKE); $(unstage)
25519 @[ -f ./sid/Makefile ] || exit 0; \
25520 r=`${PWD_COMMAND}`; export r; \
25521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25522 $(HOST_EXPORTS) \
25523 for flag in $(EXTRA_HOST_FLAGS) ; do \
25524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25525 done; \
25526 echo "Doing pdf in sid" ; \
25527 (cd $(HOST_SUBDIR)/sid && \
25528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25530 "RANLIB=$${RANLIB}" \
25531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25532 pdf) \
25533 || exit 1
25535 @endif sid
25537 .PHONY: maybe-html-sid html-sid
25538 maybe-html-sid:
25539 @if sid
25540 maybe-html-sid: html-sid
25542 html-sid: \
25543 configure-sid
25544 @: $(MAKE); $(unstage)
25545 @[ -f ./sid/Makefile ] || exit 0; \
25546 r=`${PWD_COMMAND}`; export r; \
25547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25548 $(HOST_EXPORTS) \
25549 for flag in $(EXTRA_HOST_FLAGS) ; do \
25550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25551 done; \
25552 echo "Doing html in sid" ; \
25553 (cd $(HOST_SUBDIR)/sid && \
25554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25556 "RANLIB=$${RANLIB}" \
25557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25558 html) \
25559 || exit 1
25561 @endif sid
25563 .PHONY: maybe-TAGS-sid TAGS-sid
25564 maybe-TAGS-sid:
25565 @if sid
25566 maybe-TAGS-sid: TAGS-sid
25568 TAGS-sid: \
25569 configure-sid
25570 @: $(MAKE); $(unstage)
25571 @[ -f ./sid/Makefile ] || exit 0; \
25572 r=`${PWD_COMMAND}`; export r; \
25573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25574 $(HOST_EXPORTS) \
25575 for flag in $(EXTRA_HOST_FLAGS) ; do \
25576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25577 done; \
25578 echo "Doing TAGS in sid" ; \
25579 (cd $(HOST_SUBDIR)/sid && \
25580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25582 "RANLIB=$${RANLIB}" \
25583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25584 TAGS) \
25585 || exit 1
25587 @endif sid
25589 .PHONY: maybe-install-info-sid install-info-sid
25590 maybe-install-info-sid:
25591 @if sid
25592 maybe-install-info-sid: install-info-sid
25594 install-info-sid: \
25595 configure-sid \
25596 info-sid
25597 @: $(MAKE); $(unstage)
25598 @[ -f ./sid/Makefile ] || exit 0; \
25599 r=`${PWD_COMMAND}`; export r; \
25600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25601 $(HOST_EXPORTS) \
25602 for flag in $(EXTRA_HOST_FLAGS) ; do \
25603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25604 done; \
25605 echo "Doing install-info in sid" ; \
25606 (cd $(HOST_SUBDIR)/sid && \
25607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25609 "RANLIB=$${RANLIB}" \
25610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25611 install-info) \
25612 || exit 1
25614 @endif sid
25616 .PHONY: maybe-install-pdf-sid install-pdf-sid
25617 maybe-install-pdf-sid:
25618 @if sid
25619 maybe-install-pdf-sid: install-pdf-sid
25621 install-pdf-sid: \
25622 configure-sid \
25623 pdf-sid
25624 @: $(MAKE); $(unstage)
25625 @[ -f ./sid/Makefile ] || exit 0; \
25626 r=`${PWD_COMMAND}`; export r; \
25627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25628 $(HOST_EXPORTS) \
25629 for flag in $(EXTRA_HOST_FLAGS) ; do \
25630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25631 done; \
25632 echo "Doing install-pdf in sid" ; \
25633 (cd $(HOST_SUBDIR)/sid && \
25634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25636 "RANLIB=$${RANLIB}" \
25637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25638 install-pdf) \
25639 || exit 1
25641 @endif sid
25643 .PHONY: maybe-install-html-sid install-html-sid
25644 maybe-install-html-sid:
25645 @if sid
25646 maybe-install-html-sid: install-html-sid
25648 install-html-sid: \
25649 configure-sid \
25650 html-sid
25651 @: $(MAKE); $(unstage)
25652 @[ -f ./sid/Makefile ] || exit 0; \
25653 r=`${PWD_COMMAND}`; export r; \
25654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25655 $(HOST_EXPORTS) \
25656 for flag in $(EXTRA_HOST_FLAGS) ; do \
25657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25658 done; \
25659 echo "Doing install-html in sid" ; \
25660 (cd $(HOST_SUBDIR)/sid && \
25661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25663 "RANLIB=$${RANLIB}" \
25664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25665 install-html) \
25666 || exit 1
25668 @endif sid
25670 .PHONY: maybe-installcheck-sid installcheck-sid
25671 maybe-installcheck-sid:
25672 @if sid
25673 maybe-installcheck-sid: installcheck-sid
25675 installcheck-sid: \
25676 configure-sid
25677 @: $(MAKE); $(unstage)
25678 @[ -f ./sid/Makefile ] || exit 0; \
25679 r=`${PWD_COMMAND}`; export r; \
25680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25681 $(HOST_EXPORTS) \
25682 for flag in $(EXTRA_HOST_FLAGS) ; do \
25683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25684 done; \
25685 echo "Doing installcheck in sid" ; \
25686 (cd $(HOST_SUBDIR)/sid && \
25687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25689 "RANLIB=$${RANLIB}" \
25690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25691 installcheck) \
25692 || exit 1
25694 @endif sid
25696 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
25697 maybe-mostlyclean-sid:
25698 @if sid
25699 maybe-mostlyclean-sid: mostlyclean-sid
25701 mostlyclean-sid:
25702 @: $(MAKE); $(unstage)
25703 @[ -f ./sid/Makefile ] || exit 0; \
25704 r=`${PWD_COMMAND}`; export r; \
25705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25706 $(HOST_EXPORTS) \
25707 for flag in $(EXTRA_HOST_FLAGS) ; do \
25708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25709 done; \
25710 echo "Doing mostlyclean in sid" ; \
25711 (cd $(HOST_SUBDIR)/sid && \
25712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25714 "RANLIB=$${RANLIB}" \
25715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25716 mostlyclean) \
25717 || exit 1
25719 @endif sid
25721 .PHONY: maybe-clean-sid clean-sid
25722 maybe-clean-sid:
25723 @if sid
25724 maybe-clean-sid: clean-sid
25726 clean-sid:
25727 @: $(MAKE); $(unstage)
25728 @[ -f ./sid/Makefile ] || exit 0; \
25729 r=`${PWD_COMMAND}`; export r; \
25730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25731 $(HOST_EXPORTS) \
25732 for flag in $(EXTRA_HOST_FLAGS) ; do \
25733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25734 done; \
25735 echo "Doing clean in sid" ; \
25736 (cd $(HOST_SUBDIR)/sid && \
25737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25739 "RANLIB=$${RANLIB}" \
25740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25741 clean) \
25742 || exit 1
25744 @endif sid
25746 .PHONY: maybe-distclean-sid distclean-sid
25747 maybe-distclean-sid:
25748 @if sid
25749 maybe-distclean-sid: distclean-sid
25751 distclean-sid:
25752 @: $(MAKE); $(unstage)
25753 @[ -f ./sid/Makefile ] || exit 0; \
25754 r=`${PWD_COMMAND}`; export r; \
25755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25756 $(HOST_EXPORTS) \
25757 for flag in $(EXTRA_HOST_FLAGS) ; do \
25758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25759 done; \
25760 echo "Doing distclean in sid" ; \
25761 (cd $(HOST_SUBDIR)/sid && \
25762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25764 "RANLIB=$${RANLIB}" \
25765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25766 distclean) \
25767 || exit 1
25769 @endif sid
25771 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
25772 maybe-maintainer-clean-sid:
25773 @if sid
25774 maybe-maintainer-clean-sid: maintainer-clean-sid
25776 maintainer-clean-sid:
25777 @: $(MAKE); $(unstage)
25778 @[ -f ./sid/Makefile ] || exit 0; \
25779 r=`${PWD_COMMAND}`; export r; \
25780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25781 $(HOST_EXPORTS) \
25782 for flag in $(EXTRA_HOST_FLAGS) ; do \
25783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25784 done; \
25785 echo "Doing maintainer-clean in sid" ; \
25786 (cd $(HOST_SUBDIR)/sid && \
25787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25789 "RANLIB=$${RANLIB}" \
25790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25791 maintainer-clean) \
25792 || exit 1
25794 @endif sid
25798 .PHONY: configure-sim maybe-configure-sim
25799 maybe-configure-sim:
25800 @if gcc-bootstrap
25801 configure-sim: stage_current
25802 @endif gcc-bootstrap
25803 @if sim
25804 maybe-configure-sim: configure-sim
25805 configure-sim:
25806 @: $(MAKE); $(unstage)
25807 @r=`${PWD_COMMAND}`; export r; \
25808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25809 test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
25810 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim ; \
25811 $(HOST_EXPORTS) \
25812 echo Configuring in $(HOST_SUBDIR)/sim; \
25813 cd "$(HOST_SUBDIR)/sim" || exit 1; \
25814 case $(srcdir) in \
25815 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25816 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
25817 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25818 esac; \
25819 module_srcdir=sim; \
25820 $(SHELL) \
25821 $$s/$$module_srcdir/configure \
25822 --srcdir=$${topdir}/$$module_srcdir \
25823 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
25824 --target=${target_alias} \
25825 || exit 1
25826 @endif sim
25832 .PHONY: all-sim maybe-all-sim
25833 maybe-all-sim:
25834 @if gcc-bootstrap
25835 all-sim: stage_current
25836 @endif gcc-bootstrap
25837 @if sim
25838 TARGET-sim=all
25839 maybe-all-sim: all-sim
25840 all-sim: configure-sim
25841 @: $(MAKE); $(unstage)
25842 @r=`${PWD_COMMAND}`; export r; \
25843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25844 $(HOST_EXPORTS) \
25845 (cd $(HOST_SUBDIR)/sim && \
25846 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
25847 $(TARGET-sim))
25848 @endif sim
25853 .PHONY: check-sim maybe-check-sim
25854 maybe-check-sim:
25855 @if sim
25856 maybe-check-sim: check-sim
25858 check-sim:
25859 @: $(MAKE); $(unstage)
25860 @r=`${PWD_COMMAND}`; export r; \
25861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25862 $(HOST_EXPORTS) \
25863 (cd $(HOST_SUBDIR)/sim && \
25864 $(MAKE) $(FLAGS_TO_PASS) check)
25866 @endif sim
25868 .PHONY: install-sim maybe-install-sim
25869 maybe-install-sim:
25870 @if sim
25871 maybe-install-sim: install-sim
25873 install-sim: installdirs
25874 @: $(MAKE); $(unstage)
25875 @r=`${PWD_COMMAND}`; export r; \
25876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25877 $(HOST_EXPORTS) \
25878 (cd $(HOST_SUBDIR)/sim && \
25879 $(MAKE) $(FLAGS_TO_PASS) install)
25881 @endif sim
25883 .PHONY: install-strip-sim maybe-install-strip-sim
25884 maybe-install-strip-sim:
25885 @if sim
25886 maybe-install-strip-sim: install-strip-sim
25888 install-strip-sim: installdirs
25889 @: $(MAKE); $(unstage)
25890 @r=`${PWD_COMMAND}`; export r; \
25891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25892 $(HOST_EXPORTS) \
25893 (cd $(HOST_SUBDIR)/sim && \
25894 $(MAKE) $(FLAGS_TO_PASS) install-strip)
25896 @endif sim
25898 # Other targets (info, dvi, pdf, etc.)
25900 .PHONY: maybe-info-sim info-sim
25901 maybe-info-sim:
25902 @if sim
25903 maybe-info-sim: info-sim
25905 info-sim: \
25906 configure-sim
25907 @: $(MAKE); $(unstage)
25908 @[ -f ./sim/Makefile ] || exit 0; \
25909 r=`${PWD_COMMAND}`; export r; \
25910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25911 $(HOST_EXPORTS) \
25912 for flag in $(EXTRA_HOST_FLAGS) ; do \
25913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25914 done; \
25915 echo "Doing info in sim" ; \
25916 (cd $(HOST_SUBDIR)/sim && \
25917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25919 "RANLIB=$${RANLIB}" \
25920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25921 info) \
25922 || exit 1
25924 @endif sim
25926 .PHONY: maybe-dvi-sim dvi-sim
25927 maybe-dvi-sim:
25928 @if sim
25929 maybe-dvi-sim: dvi-sim
25931 dvi-sim: \
25932 configure-sim
25933 @: $(MAKE); $(unstage)
25934 @[ -f ./sim/Makefile ] || exit 0; \
25935 r=`${PWD_COMMAND}`; export r; \
25936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25937 $(HOST_EXPORTS) \
25938 for flag in $(EXTRA_HOST_FLAGS) ; do \
25939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25940 done; \
25941 echo "Doing dvi in sim" ; \
25942 (cd $(HOST_SUBDIR)/sim && \
25943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25945 "RANLIB=$${RANLIB}" \
25946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25947 dvi) \
25948 || exit 1
25950 @endif sim
25952 .PHONY: maybe-pdf-sim pdf-sim
25953 maybe-pdf-sim:
25954 @if sim
25955 maybe-pdf-sim: pdf-sim
25957 pdf-sim: \
25958 configure-sim
25959 @: $(MAKE); $(unstage)
25960 @[ -f ./sim/Makefile ] || exit 0; \
25961 r=`${PWD_COMMAND}`; export r; \
25962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25963 $(HOST_EXPORTS) \
25964 for flag in $(EXTRA_HOST_FLAGS) ; do \
25965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25966 done; \
25967 echo "Doing pdf in sim" ; \
25968 (cd $(HOST_SUBDIR)/sim && \
25969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25971 "RANLIB=$${RANLIB}" \
25972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25973 pdf) \
25974 || exit 1
25976 @endif sim
25978 .PHONY: maybe-html-sim html-sim
25979 maybe-html-sim:
25980 @if sim
25981 maybe-html-sim: html-sim
25983 html-sim: \
25984 configure-sim
25985 @: $(MAKE); $(unstage)
25986 @[ -f ./sim/Makefile ] || exit 0; \
25987 r=`${PWD_COMMAND}`; export r; \
25988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25989 $(HOST_EXPORTS) \
25990 for flag in $(EXTRA_HOST_FLAGS) ; do \
25991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25992 done; \
25993 echo "Doing html in sim" ; \
25994 (cd $(HOST_SUBDIR)/sim && \
25995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25997 "RANLIB=$${RANLIB}" \
25998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
25999 html) \
26000 || exit 1
26002 @endif sim
26004 .PHONY: maybe-TAGS-sim TAGS-sim
26005 maybe-TAGS-sim:
26006 @if sim
26007 maybe-TAGS-sim: TAGS-sim
26009 TAGS-sim: \
26010 configure-sim
26011 @: $(MAKE); $(unstage)
26012 @[ -f ./sim/Makefile ] || exit 0; \
26013 r=`${PWD_COMMAND}`; export r; \
26014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26015 $(HOST_EXPORTS) \
26016 for flag in $(EXTRA_HOST_FLAGS) ; do \
26017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26018 done; \
26019 echo "Doing TAGS in sim" ; \
26020 (cd $(HOST_SUBDIR)/sim && \
26021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26023 "RANLIB=$${RANLIB}" \
26024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26025 TAGS) \
26026 || exit 1
26028 @endif sim
26030 .PHONY: maybe-install-info-sim install-info-sim
26031 maybe-install-info-sim:
26032 @if sim
26033 maybe-install-info-sim: install-info-sim
26035 install-info-sim: \
26036 configure-sim \
26037 info-sim
26038 @: $(MAKE); $(unstage)
26039 @[ -f ./sim/Makefile ] || exit 0; \
26040 r=`${PWD_COMMAND}`; export r; \
26041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26042 $(HOST_EXPORTS) \
26043 for flag in $(EXTRA_HOST_FLAGS) ; do \
26044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26045 done; \
26046 echo "Doing install-info in sim" ; \
26047 (cd $(HOST_SUBDIR)/sim && \
26048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26050 "RANLIB=$${RANLIB}" \
26051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26052 install-info) \
26053 || exit 1
26055 @endif sim
26057 .PHONY: maybe-install-pdf-sim install-pdf-sim
26058 maybe-install-pdf-sim:
26059 @if sim
26060 maybe-install-pdf-sim: install-pdf-sim
26062 install-pdf-sim: \
26063 configure-sim \
26064 pdf-sim
26065 @: $(MAKE); $(unstage)
26066 @[ -f ./sim/Makefile ] || exit 0; \
26067 r=`${PWD_COMMAND}`; export r; \
26068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26069 $(HOST_EXPORTS) \
26070 for flag in $(EXTRA_HOST_FLAGS) ; do \
26071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26072 done; \
26073 echo "Doing install-pdf in sim" ; \
26074 (cd $(HOST_SUBDIR)/sim && \
26075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26077 "RANLIB=$${RANLIB}" \
26078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26079 install-pdf) \
26080 || exit 1
26082 @endif sim
26084 .PHONY: maybe-install-html-sim install-html-sim
26085 maybe-install-html-sim:
26086 @if sim
26087 maybe-install-html-sim: install-html-sim
26089 install-html-sim: \
26090 configure-sim \
26091 html-sim
26092 @: $(MAKE); $(unstage)
26093 @[ -f ./sim/Makefile ] || exit 0; \
26094 r=`${PWD_COMMAND}`; export r; \
26095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26096 $(HOST_EXPORTS) \
26097 for flag in $(EXTRA_HOST_FLAGS) ; do \
26098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26099 done; \
26100 echo "Doing install-html in sim" ; \
26101 (cd $(HOST_SUBDIR)/sim && \
26102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26104 "RANLIB=$${RANLIB}" \
26105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26106 install-html) \
26107 || exit 1
26109 @endif sim
26111 .PHONY: maybe-installcheck-sim installcheck-sim
26112 maybe-installcheck-sim:
26113 @if sim
26114 maybe-installcheck-sim: installcheck-sim
26116 installcheck-sim: \
26117 configure-sim
26118 @: $(MAKE); $(unstage)
26119 @[ -f ./sim/Makefile ] || exit 0; \
26120 r=`${PWD_COMMAND}`; export r; \
26121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26122 $(HOST_EXPORTS) \
26123 for flag in $(EXTRA_HOST_FLAGS) ; do \
26124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26125 done; \
26126 echo "Doing installcheck in sim" ; \
26127 (cd $(HOST_SUBDIR)/sim && \
26128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26130 "RANLIB=$${RANLIB}" \
26131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26132 installcheck) \
26133 || exit 1
26135 @endif sim
26137 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
26138 maybe-mostlyclean-sim:
26139 @if sim
26140 maybe-mostlyclean-sim: mostlyclean-sim
26142 mostlyclean-sim:
26143 @: $(MAKE); $(unstage)
26144 @[ -f ./sim/Makefile ] || exit 0; \
26145 r=`${PWD_COMMAND}`; export r; \
26146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26147 $(HOST_EXPORTS) \
26148 for flag in $(EXTRA_HOST_FLAGS) ; do \
26149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26150 done; \
26151 echo "Doing mostlyclean in sim" ; \
26152 (cd $(HOST_SUBDIR)/sim && \
26153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26155 "RANLIB=$${RANLIB}" \
26156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26157 mostlyclean) \
26158 || exit 1
26160 @endif sim
26162 .PHONY: maybe-clean-sim clean-sim
26163 maybe-clean-sim:
26164 @if sim
26165 maybe-clean-sim: clean-sim
26167 clean-sim:
26168 @: $(MAKE); $(unstage)
26169 @[ -f ./sim/Makefile ] || exit 0; \
26170 r=`${PWD_COMMAND}`; export r; \
26171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26172 $(HOST_EXPORTS) \
26173 for flag in $(EXTRA_HOST_FLAGS) ; do \
26174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26175 done; \
26176 echo "Doing clean in sim" ; \
26177 (cd $(HOST_SUBDIR)/sim && \
26178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26180 "RANLIB=$${RANLIB}" \
26181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26182 clean) \
26183 || exit 1
26185 @endif sim
26187 .PHONY: maybe-distclean-sim distclean-sim
26188 maybe-distclean-sim:
26189 @if sim
26190 maybe-distclean-sim: distclean-sim
26192 distclean-sim:
26193 @: $(MAKE); $(unstage)
26194 @[ -f ./sim/Makefile ] || exit 0; \
26195 r=`${PWD_COMMAND}`; export r; \
26196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26197 $(HOST_EXPORTS) \
26198 for flag in $(EXTRA_HOST_FLAGS) ; do \
26199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26200 done; \
26201 echo "Doing distclean in sim" ; \
26202 (cd $(HOST_SUBDIR)/sim && \
26203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26205 "RANLIB=$${RANLIB}" \
26206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26207 distclean) \
26208 || exit 1
26210 @endif sim
26212 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
26213 maybe-maintainer-clean-sim:
26214 @if sim
26215 maybe-maintainer-clean-sim: maintainer-clean-sim
26217 maintainer-clean-sim:
26218 @: $(MAKE); $(unstage)
26219 @[ -f ./sim/Makefile ] || exit 0; \
26220 r=`${PWD_COMMAND}`; export r; \
26221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26222 $(HOST_EXPORTS) \
26223 for flag in $(EXTRA_HOST_FLAGS) ; do \
26224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26225 done; \
26226 echo "Doing maintainer-clean in sim" ; \
26227 (cd $(HOST_SUBDIR)/sim && \
26228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26230 "RANLIB=$${RANLIB}" \
26231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26232 maintainer-clean) \
26233 || exit 1
26235 @endif sim
26239 .PHONY: configure-texinfo maybe-configure-texinfo
26240 maybe-configure-texinfo:
26241 @if gcc-bootstrap
26242 configure-texinfo: stage_current
26243 @endif gcc-bootstrap
26244 @if texinfo
26245 maybe-configure-texinfo: configure-texinfo
26246 configure-texinfo:
26247 @: $(MAKE); $(unstage)
26248 @r=`${PWD_COMMAND}`; export r; \
26249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26250 test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
26251 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo ; \
26252 $(HOST_EXPORTS) \
26253 echo Configuring in $(HOST_SUBDIR)/texinfo; \
26254 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
26255 case $(srcdir) in \
26256 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26257 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
26258 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26259 esac; \
26260 module_srcdir=texinfo; \
26261 $(SHELL) \
26262 $$s/$$module_srcdir/configure \
26263 --srcdir=$${topdir}/$$module_srcdir \
26264 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26265 --target=${target_alias} \
26266 || exit 1
26267 @endif texinfo
26273 .PHONY: all-texinfo maybe-all-texinfo
26274 maybe-all-texinfo:
26275 @if gcc-bootstrap
26276 all-texinfo: stage_current
26277 @endif gcc-bootstrap
26278 @if texinfo
26279 TARGET-texinfo=all
26280 maybe-all-texinfo: all-texinfo
26281 all-texinfo: configure-texinfo
26282 @: $(MAKE); $(unstage)
26283 @r=`${PWD_COMMAND}`; export r; \
26284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26285 $(HOST_EXPORTS) \
26286 (cd $(HOST_SUBDIR)/texinfo && \
26287 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
26288 $(TARGET-texinfo))
26289 @endif texinfo
26294 .PHONY: check-texinfo maybe-check-texinfo
26295 maybe-check-texinfo:
26296 @if texinfo
26297 maybe-check-texinfo: check-texinfo
26299 check-texinfo:
26300 @: $(MAKE); $(unstage)
26301 @r=`${PWD_COMMAND}`; export r; \
26302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26303 $(HOST_EXPORTS) \
26304 (cd $(HOST_SUBDIR)/texinfo && \
26305 $(MAKE) $(FLAGS_TO_PASS) check)
26307 @endif texinfo
26309 .PHONY: install-texinfo maybe-install-texinfo
26310 maybe-install-texinfo:
26311 @if texinfo
26312 maybe-install-texinfo: install-texinfo
26314 install-texinfo:
26316 @endif texinfo
26318 .PHONY: install-strip-texinfo maybe-install-strip-texinfo
26319 maybe-install-strip-texinfo:
26320 @if texinfo
26321 maybe-install-strip-texinfo: install-strip-texinfo
26323 install-strip-texinfo:
26325 @endif texinfo
26327 # Other targets (info, dvi, pdf, etc.)
26329 .PHONY: maybe-info-texinfo info-texinfo
26330 maybe-info-texinfo:
26331 @if texinfo
26332 maybe-info-texinfo: info-texinfo
26334 info-texinfo: \
26335 configure-texinfo
26336 @: $(MAKE); $(unstage)
26337 @[ -f ./texinfo/Makefile ] || exit 0; \
26338 r=`${PWD_COMMAND}`; export r; \
26339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26340 $(HOST_EXPORTS) \
26341 for flag in $(EXTRA_HOST_FLAGS) ; do \
26342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26343 done; \
26344 echo "Doing info in texinfo" ; \
26345 (cd $(HOST_SUBDIR)/texinfo && \
26346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26348 "RANLIB=$${RANLIB}" \
26349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26350 info) \
26351 || exit 1
26353 @endif texinfo
26355 .PHONY: maybe-dvi-texinfo dvi-texinfo
26356 maybe-dvi-texinfo:
26357 @if texinfo
26358 maybe-dvi-texinfo: dvi-texinfo
26360 dvi-texinfo: \
26361 configure-texinfo
26362 @: $(MAKE); $(unstage)
26363 @[ -f ./texinfo/Makefile ] || exit 0; \
26364 r=`${PWD_COMMAND}`; export r; \
26365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26366 $(HOST_EXPORTS) \
26367 for flag in $(EXTRA_HOST_FLAGS) ; do \
26368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26369 done; \
26370 echo "Doing dvi in texinfo" ; \
26371 (cd $(HOST_SUBDIR)/texinfo && \
26372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26374 "RANLIB=$${RANLIB}" \
26375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26376 dvi) \
26377 || exit 1
26379 @endif texinfo
26381 .PHONY: maybe-pdf-texinfo pdf-texinfo
26382 maybe-pdf-texinfo:
26383 @if texinfo
26384 maybe-pdf-texinfo: pdf-texinfo
26386 pdf-texinfo: \
26387 configure-texinfo
26388 @: $(MAKE); $(unstage)
26389 @[ -f ./texinfo/Makefile ] || exit 0; \
26390 r=`${PWD_COMMAND}`; export r; \
26391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26392 $(HOST_EXPORTS) \
26393 for flag in $(EXTRA_HOST_FLAGS) ; do \
26394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26395 done; \
26396 echo "Doing pdf in texinfo" ; \
26397 (cd $(HOST_SUBDIR)/texinfo && \
26398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26400 "RANLIB=$${RANLIB}" \
26401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26402 pdf) \
26403 || exit 1
26405 @endif texinfo
26407 .PHONY: maybe-html-texinfo html-texinfo
26408 maybe-html-texinfo:
26409 @if texinfo
26410 maybe-html-texinfo: html-texinfo
26412 html-texinfo: \
26413 configure-texinfo
26414 @: $(MAKE); $(unstage)
26415 @[ -f ./texinfo/Makefile ] || exit 0; \
26416 r=`${PWD_COMMAND}`; export r; \
26417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26418 $(HOST_EXPORTS) \
26419 for flag in $(EXTRA_HOST_FLAGS) ; do \
26420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26421 done; \
26422 echo "Doing html in texinfo" ; \
26423 (cd $(HOST_SUBDIR)/texinfo && \
26424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26426 "RANLIB=$${RANLIB}" \
26427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26428 html) \
26429 || exit 1
26431 @endif texinfo
26433 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
26434 maybe-TAGS-texinfo:
26435 @if texinfo
26436 maybe-TAGS-texinfo: TAGS-texinfo
26438 TAGS-texinfo: \
26439 configure-texinfo
26440 @: $(MAKE); $(unstage)
26441 @[ -f ./texinfo/Makefile ] || exit 0; \
26442 r=`${PWD_COMMAND}`; export r; \
26443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26444 $(HOST_EXPORTS) \
26445 for flag in $(EXTRA_HOST_FLAGS) ; do \
26446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26447 done; \
26448 echo "Doing TAGS in texinfo" ; \
26449 (cd $(HOST_SUBDIR)/texinfo && \
26450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26452 "RANLIB=$${RANLIB}" \
26453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26454 TAGS) \
26455 || exit 1
26457 @endif texinfo
26459 .PHONY: maybe-install-info-texinfo install-info-texinfo
26460 maybe-install-info-texinfo:
26461 @if texinfo
26462 maybe-install-info-texinfo: install-info-texinfo
26464 install-info-texinfo: \
26465 configure-texinfo \
26466 info-texinfo
26467 @: $(MAKE); $(unstage)
26468 @[ -f ./texinfo/Makefile ] || exit 0; \
26469 r=`${PWD_COMMAND}`; export r; \
26470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26471 $(HOST_EXPORTS) \
26472 for flag in $(EXTRA_HOST_FLAGS) ; do \
26473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26474 done; \
26475 echo "Doing install-info in texinfo" ; \
26476 (cd $(HOST_SUBDIR)/texinfo && \
26477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26479 "RANLIB=$${RANLIB}" \
26480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26481 install-info) \
26482 || exit 1
26484 @endif texinfo
26486 .PHONY: maybe-install-pdf-texinfo install-pdf-texinfo
26487 maybe-install-pdf-texinfo:
26488 @if texinfo
26489 maybe-install-pdf-texinfo: install-pdf-texinfo
26491 install-pdf-texinfo: \
26492 configure-texinfo \
26493 pdf-texinfo
26494 @: $(MAKE); $(unstage)
26495 @[ -f ./texinfo/Makefile ] || exit 0; \
26496 r=`${PWD_COMMAND}`; export r; \
26497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26498 $(HOST_EXPORTS) \
26499 for flag in $(EXTRA_HOST_FLAGS) ; do \
26500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26501 done; \
26502 echo "Doing install-pdf in texinfo" ; \
26503 (cd $(HOST_SUBDIR)/texinfo && \
26504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26506 "RANLIB=$${RANLIB}" \
26507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26508 install-pdf) \
26509 || exit 1
26511 @endif texinfo
26513 .PHONY: maybe-install-html-texinfo install-html-texinfo
26514 maybe-install-html-texinfo:
26515 @if texinfo
26516 maybe-install-html-texinfo: install-html-texinfo
26518 install-html-texinfo: \
26519 configure-texinfo \
26520 html-texinfo
26521 @: $(MAKE); $(unstage)
26522 @[ -f ./texinfo/Makefile ] || exit 0; \
26523 r=`${PWD_COMMAND}`; export r; \
26524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26525 $(HOST_EXPORTS) \
26526 for flag in $(EXTRA_HOST_FLAGS) ; do \
26527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26528 done; \
26529 echo "Doing install-html in texinfo" ; \
26530 (cd $(HOST_SUBDIR)/texinfo && \
26531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26533 "RANLIB=$${RANLIB}" \
26534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26535 install-html) \
26536 || exit 1
26538 @endif texinfo
26540 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
26541 maybe-installcheck-texinfo:
26542 @if texinfo
26543 maybe-installcheck-texinfo: installcheck-texinfo
26545 installcheck-texinfo: \
26546 configure-texinfo
26547 @: $(MAKE); $(unstage)
26548 @[ -f ./texinfo/Makefile ] || exit 0; \
26549 r=`${PWD_COMMAND}`; export r; \
26550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26551 $(HOST_EXPORTS) \
26552 for flag in $(EXTRA_HOST_FLAGS) ; do \
26553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26554 done; \
26555 echo "Doing installcheck in texinfo" ; \
26556 (cd $(HOST_SUBDIR)/texinfo && \
26557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26559 "RANLIB=$${RANLIB}" \
26560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26561 installcheck) \
26562 || exit 1
26564 @endif texinfo
26566 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
26567 maybe-mostlyclean-texinfo:
26568 @if texinfo
26569 maybe-mostlyclean-texinfo: mostlyclean-texinfo
26571 mostlyclean-texinfo:
26572 @: $(MAKE); $(unstage)
26573 @[ -f ./texinfo/Makefile ] || exit 0; \
26574 r=`${PWD_COMMAND}`; export r; \
26575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26576 $(HOST_EXPORTS) \
26577 for flag in $(EXTRA_HOST_FLAGS) ; do \
26578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26579 done; \
26580 echo "Doing mostlyclean in texinfo" ; \
26581 (cd $(HOST_SUBDIR)/texinfo && \
26582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26584 "RANLIB=$${RANLIB}" \
26585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26586 mostlyclean) \
26587 || exit 1
26589 @endif texinfo
26591 .PHONY: maybe-clean-texinfo clean-texinfo
26592 maybe-clean-texinfo:
26593 @if texinfo
26594 maybe-clean-texinfo: clean-texinfo
26596 clean-texinfo:
26597 @: $(MAKE); $(unstage)
26598 @[ -f ./texinfo/Makefile ] || exit 0; \
26599 r=`${PWD_COMMAND}`; export r; \
26600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26601 $(HOST_EXPORTS) \
26602 for flag in $(EXTRA_HOST_FLAGS) ; do \
26603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26604 done; \
26605 echo "Doing clean in texinfo" ; \
26606 (cd $(HOST_SUBDIR)/texinfo && \
26607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26609 "RANLIB=$${RANLIB}" \
26610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26611 clean) \
26612 || exit 1
26614 @endif texinfo
26616 .PHONY: maybe-distclean-texinfo distclean-texinfo
26617 maybe-distclean-texinfo:
26618 @if texinfo
26619 maybe-distclean-texinfo: distclean-texinfo
26621 distclean-texinfo:
26622 @: $(MAKE); $(unstage)
26623 @[ -f ./texinfo/Makefile ] || exit 0; \
26624 r=`${PWD_COMMAND}`; export r; \
26625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26626 $(HOST_EXPORTS) \
26627 for flag in $(EXTRA_HOST_FLAGS) ; do \
26628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26629 done; \
26630 echo "Doing distclean in texinfo" ; \
26631 (cd $(HOST_SUBDIR)/texinfo && \
26632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26634 "RANLIB=$${RANLIB}" \
26635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26636 distclean) \
26637 || exit 1
26639 @endif texinfo
26641 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
26642 maybe-maintainer-clean-texinfo:
26643 @if texinfo
26644 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
26646 maintainer-clean-texinfo:
26647 @: $(MAKE); $(unstage)
26648 @[ -f ./texinfo/Makefile ] || exit 0; \
26649 r=`${PWD_COMMAND}`; export r; \
26650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26651 $(HOST_EXPORTS) \
26652 for flag in $(EXTRA_HOST_FLAGS) ; do \
26653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26654 done; \
26655 echo "Doing maintainer-clean in texinfo" ; \
26656 (cd $(HOST_SUBDIR)/texinfo && \
26657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26659 "RANLIB=$${RANLIB}" \
26660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
26661 maintainer-clean) \
26662 || exit 1
26664 @endif texinfo
26668 .PHONY: configure-zlib maybe-configure-zlib
26669 maybe-configure-zlib:
26670 @if gcc-bootstrap
26671 configure-zlib: stage_current
26672 @endif gcc-bootstrap
26673 @if zlib
26674 maybe-configure-zlib: configure-zlib
26675 configure-zlib:
26676 @r=`${PWD_COMMAND}`; export r; \
26677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26678 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26679 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26680 $(HOST_EXPORTS) \
26681 echo Configuring in $(HOST_SUBDIR)/zlib; \
26682 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
26683 case $(srcdir) in \
26684 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26685 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26686 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26687 esac; \
26688 module_srcdir=zlib; \
26689 $(SHELL) \
26690 $$s/$$module_srcdir/configure \
26691 --srcdir=$${topdir}/$$module_srcdir \
26692 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26693 --target=${target_alias} \
26694 || exit 1
26695 @endif zlib
26699 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
26700 maybe-configure-stage1-zlib:
26701 @if zlib-bootstrap
26702 maybe-configure-stage1-zlib: configure-stage1-zlib
26703 configure-stage1-zlib:
26704 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
26705 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26706 @r=`${PWD_COMMAND}`; export r; \
26707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26708 TFLAGS="$(STAGE1_TFLAGS)"; \
26709 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26710 $(HOST_EXPORTS) \
26711 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
26712 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
26713 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
26714 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib ; \
26715 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26716 cd $(HOST_SUBDIR)/zlib || exit 1; \
26717 case $(srcdir) in \
26718 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26719 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26720 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26721 esac; \
26722 module_srcdir=zlib; \
26723 $(SHELL) $$s/$$module_srcdir/configure \
26724 --srcdir=$${topdir}/$$module_srcdir \
26725 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26726 --target=${target_alias} \
26728 $(STAGE1_CONFIGURE_FLAGS)
26729 @endif zlib-bootstrap
26731 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
26732 maybe-configure-stage2-zlib:
26733 @if zlib-bootstrap
26734 maybe-configure-stage2-zlib: configure-stage2-zlib
26735 configure-stage2-zlib:
26736 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
26737 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26738 @r=`${PWD_COMMAND}`; export r; \
26739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26740 TFLAGS="$(STAGE2_TFLAGS)"; \
26741 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26742 $(HOST_EXPORTS) \
26743 $(POSTSTAGE1_HOST_EXPORTS) \
26744 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
26745 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
26746 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
26747 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib ; \
26748 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26749 cd $(HOST_SUBDIR)/zlib || exit 1; \
26750 case $(srcdir) in \
26751 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26752 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26753 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26754 esac; \
26755 module_srcdir=zlib; \
26756 $(SHELL) $$s/$$module_srcdir/configure \
26757 --srcdir=$${topdir}/$$module_srcdir \
26758 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26759 --target=${target_alias} \
26760 --with-build-libsubdir=$(HOST_SUBDIR) \
26761 $(STAGE2_CONFIGURE_FLAGS)
26762 @endif zlib-bootstrap
26764 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
26765 maybe-configure-stage3-zlib:
26766 @if zlib-bootstrap
26767 maybe-configure-stage3-zlib: configure-stage3-zlib
26768 configure-stage3-zlib:
26769 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
26770 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26771 @r=`${PWD_COMMAND}`; export r; \
26772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26773 TFLAGS="$(STAGE3_TFLAGS)"; \
26774 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26775 $(HOST_EXPORTS) \
26776 $(POSTSTAGE1_HOST_EXPORTS) \
26777 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
26778 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
26779 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
26780 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib ; \
26781 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26782 cd $(HOST_SUBDIR)/zlib || exit 1; \
26783 case $(srcdir) in \
26784 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26785 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26786 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26787 esac; \
26788 module_srcdir=zlib; \
26789 $(SHELL) $$s/$$module_srcdir/configure \
26790 --srcdir=$${topdir}/$$module_srcdir \
26791 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26792 --target=${target_alias} \
26793 --with-build-libsubdir=$(HOST_SUBDIR) \
26794 $(STAGE3_CONFIGURE_FLAGS)
26795 @endif zlib-bootstrap
26797 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
26798 maybe-configure-stage4-zlib:
26799 @if zlib-bootstrap
26800 maybe-configure-stage4-zlib: configure-stage4-zlib
26801 configure-stage4-zlib:
26802 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
26803 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26804 @r=`${PWD_COMMAND}`; export r; \
26805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26806 TFLAGS="$(STAGE4_TFLAGS)"; \
26807 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26808 $(HOST_EXPORTS) \
26809 $(POSTSTAGE1_HOST_EXPORTS) \
26810 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
26811 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
26812 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
26813 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib ; \
26814 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26815 cd $(HOST_SUBDIR)/zlib || exit 1; \
26816 case $(srcdir) in \
26817 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26818 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26819 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26820 esac; \
26821 module_srcdir=zlib; \
26822 $(SHELL) $$s/$$module_srcdir/configure \
26823 --srcdir=$${topdir}/$$module_srcdir \
26824 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26825 --target=${target_alias} \
26826 --with-build-libsubdir=$(HOST_SUBDIR) \
26827 $(STAGE4_CONFIGURE_FLAGS)
26828 @endif zlib-bootstrap
26830 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
26831 maybe-configure-stageprofile-zlib:
26832 @if zlib-bootstrap
26833 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
26834 configure-stageprofile-zlib:
26835 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
26836 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26837 @r=`${PWD_COMMAND}`; export r; \
26838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26839 TFLAGS="$(STAGEprofile_TFLAGS)"; \
26840 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26841 $(HOST_EXPORTS) \
26842 $(POSTSTAGE1_HOST_EXPORTS) \
26843 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
26844 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
26845 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
26846 echo Configuring stage profile in $(HOST_SUBDIR)/zlib ; \
26847 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26848 cd $(HOST_SUBDIR)/zlib || exit 1; \
26849 case $(srcdir) in \
26850 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26851 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26852 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26853 esac; \
26854 module_srcdir=zlib; \
26855 $(SHELL) $$s/$$module_srcdir/configure \
26856 --srcdir=$${topdir}/$$module_srcdir \
26857 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26858 --target=${target_alias} \
26859 --with-build-libsubdir=$(HOST_SUBDIR) \
26860 $(STAGEprofile_CONFIGURE_FLAGS)
26861 @endif zlib-bootstrap
26863 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
26864 maybe-configure-stagefeedback-zlib:
26865 @if zlib-bootstrap
26866 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
26867 configure-stagefeedback-zlib:
26868 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
26869 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
26870 @r=`${PWD_COMMAND}`; export r; \
26871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26872 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
26873 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26874 $(HOST_EXPORTS) \
26875 $(POSTSTAGE1_HOST_EXPORTS) \
26876 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
26877 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
26878 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
26879 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib ; \
26880 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26881 cd $(HOST_SUBDIR)/zlib || exit 1; \
26882 case $(srcdir) in \
26883 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26884 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26885 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26886 esac; \
26887 module_srcdir=zlib; \
26888 $(SHELL) $$s/$$module_srcdir/configure \
26889 --srcdir=$${topdir}/$$module_srcdir \
26890 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
26891 --target=${target_alias} \
26892 --with-build-libsubdir=$(HOST_SUBDIR) \
26893 $(STAGEfeedback_CONFIGURE_FLAGS)
26894 @endif zlib-bootstrap
26900 .PHONY: all-zlib maybe-all-zlib
26901 maybe-all-zlib:
26902 @if gcc-bootstrap
26903 all-zlib: stage_current
26904 @endif gcc-bootstrap
26905 @if zlib
26906 TARGET-zlib=all
26907 maybe-all-zlib: all-zlib
26908 all-zlib: configure-zlib
26909 @r=`${PWD_COMMAND}`; export r; \
26910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26911 $(HOST_EXPORTS) \
26912 (cd $(HOST_SUBDIR)/zlib && \
26913 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
26914 $(TARGET-zlib))
26915 @endif zlib
26919 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
26920 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
26921 maybe-all-stage1-zlib:
26922 maybe-clean-stage1-zlib:
26923 @if zlib-bootstrap
26924 maybe-all-stage1-zlib: all-stage1-zlib
26925 all-stage1: all-stage1-zlib
26926 TARGET-stage1-zlib = $(TARGET-zlib)
26927 all-stage1-zlib: configure-stage1-zlib
26928 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
26929 @r=`${PWD_COMMAND}`; export r; \
26930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26931 TFLAGS="$(STAGE1_TFLAGS)"; \
26932 $(HOST_EXPORTS) \
26933 cd $(HOST_SUBDIR)/zlib && \
26934 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26935 CFLAGS="$(STAGE1_CFLAGS)" \
26936 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
26937 LIBCFLAGS="$(LIBCFLAGS)" \
26938 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26939 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26940 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26941 $(EXTRA_HOST_FLAGS) \
26942 $(STAGE1_FLAGS_TO_PASS) \
26943 TFLAGS="$(STAGE1_TFLAGS)" \
26944 $(TARGET-stage1-zlib)
26946 maybe-clean-stage1-zlib: clean-stage1-zlib
26947 clean-stage1: clean-stage1-zlib
26948 clean-stage1-zlib:
26949 @if [ $(current_stage) = stage1 ]; then \
26950 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
26951 else \
26952 [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] || exit 0; \
26953 $(MAKE) stage1-start; \
26954 fi; \
26955 cd $(HOST_SUBDIR)/zlib && \
26956 $(MAKE) $(EXTRA_HOST_FLAGS) \
26957 $(STAGE1_FLAGS_TO_PASS) clean
26958 @endif zlib-bootstrap
26961 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
26962 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
26963 maybe-all-stage2-zlib:
26964 maybe-clean-stage2-zlib:
26965 @if zlib-bootstrap
26966 maybe-all-stage2-zlib: all-stage2-zlib
26967 all-stage2: all-stage2-zlib
26968 TARGET-stage2-zlib = $(TARGET-zlib)
26969 all-stage2-zlib: configure-stage2-zlib
26970 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
26971 @r=`${PWD_COMMAND}`; export r; \
26972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26973 TFLAGS="$(STAGE2_TFLAGS)"; \
26974 $(HOST_EXPORTS) \
26975 $(POSTSTAGE1_HOST_EXPORTS) \
26976 cd $(HOST_SUBDIR)/zlib && \
26977 $(MAKE) $(BASE_FLAGS_TO_PASS) \
26978 CFLAGS="$(STAGE2_CFLAGS)" \
26979 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
26980 LIBCFLAGS="$(STAGE2_CFLAGS)" \
26981 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
26982 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
26983 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
26984 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26985 TFLAGS="$(STAGE2_TFLAGS)" \
26986 $(TARGET-stage2-zlib)
26988 maybe-clean-stage2-zlib: clean-stage2-zlib
26989 clean-stage2: clean-stage2-zlib
26990 clean-stage2-zlib:
26991 @if [ $(current_stage) = stage2 ]; then \
26992 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
26993 else \
26994 [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] || exit 0; \
26995 $(MAKE) stage2-start; \
26996 fi; \
26997 cd $(HOST_SUBDIR)/zlib && \
26998 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
26999 @endif zlib-bootstrap
27002 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
27003 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
27004 maybe-all-stage3-zlib:
27005 maybe-clean-stage3-zlib:
27006 @if zlib-bootstrap
27007 maybe-all-stage3-zlib: all-stage3-zlib
27008 all-stage3: all-stage3-zlib
27009 TARGET-stage3-zlib = $(TARGET-zlib)
27010 all-stage3-zlib: configure-stage3-zlib
27011 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
27012 @r=`${PWD_COMMAND}`; export r; \
27013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27014 TFLAGS="$(STAGE3_TFLAGS)"; \
27015 $(HOST_EXPORTS) \
27016 $(POSTSTAGE1_HOST_EXPORTS) \
27017 cd $(HOST_SUBDIR)/zlib && \
27018 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27019 CFLAGS="$(STAGE3_CFLAGS)" \
27020 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
27021 LIBCFLAGS="$(STAGE3_CFLAGS)" \
27022 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27023 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27024 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27025 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27026 TFLAGS="$(STAGE3_TFLAGS)" \
27027 $(TARGET-stage3-zlib)
27029 maybe-clean-stage3-zlib: clean-stage3-zlib
27030 clean-stage3: clean-stage3-zlib
27031 clean-stage3-zlib:
27032 @if [ $(current_stage) = stage3 ]; then \
27033 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
27034 else \
27035 [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] || exit 0; \
27036 $(MAKE) stage3-start; \
27037 fi; \
27038 cd $(HOST_SUBDIR)/zlib && \
27039 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27040 @endif zlib-bootstrap
27043 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
27044 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
27045 maybe-all-stage4-zlib:
27046 maybe-clean-stage4-zlib:
27047 @if zlib-bootstrap
27048 maybe-all-stage4-zlib: all-stage4-zlib
27049 all-stage4: all-stage4-zlib
27050 TARGET-stage4-zlib = $(TARGET-zlib)
27051 all-stage4-zlib: configure-stage4-zlib
27052 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
27053 @r=`${PWD_COMMAND}`; export r; \
27054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27055 TFLAGS="$(STAGE4_TFLAGS)"; \
27056 $(HOST_EXPORTS) \
27057 $(POSTSTAGE1_HOST_EXPORTS) \
27058 cd $(HOST_SUBDIR)/zlib && \
27059 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27060 CFLAGS="$(STAGE4_CFLAGS)" \
27061 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
27062 LIBCFLAGS="$(STAGE4_CFLAGS)" \
27063 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27064 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27065 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27066 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27067 TFLAGS="$(STAGE4_TFLAGS)" \
27068 $(TARGET-stage4-zlib)
27070 maybe-clean-stage4-zlib: clean-stage4-zlib
27071 clean-stage4: clean-stage4-zlib
27072 clean-stage4-zlib:
27073 @if [ $(current_stage) = stage4 ]; then \
27074 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
27075 else \
27076 [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] || exit 0; \
27077 $(MAKE) stage4-start; \
27078 fi; \
27079 cd $(HOST_SUBDIR)/zlib && \
27080 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27081 @endif zlib-bootstrap
27084 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
27085 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
27086 maybe-all-stageprofile-zlib:
27087 maybe-clean-stageprofile-zlib:
27088 @if zlib-bootstrap
27089 maybe-all-stageprofile-zlib: all-stageprofile-zlib
27090 all-stageprofile: all-stageprofile-zlib
27091 TARGET-stageprofile-zlib = $(TARGET-zlib)
27092 all-stageprofile-zlib: configure-stageprofile-zlib
27093 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
27094 @r=`${PWD_COMMAND}`; export r; \
27095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27096 TFLAGS="$(STAGEprofile_TFLAGS)"; \
27097 $(HOST_EXPORTS) \
27098 $(POSTSTAGE1_HOST_EXPORTS) \
27099 cd $(HOST_SUBDIR)/zlib && \
27100 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27101 CFLAGS="$(STAGEprofile_CFLAGS)" \
27102 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
27103 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
27104 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27105 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27106 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27107 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27108 TFLAGS="$(STAGEprofile_TFLAGS)" \
27109 $(TARGET-stageprofile-zlib)
27111 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
27112 clean-stageprofile: clean-stageprofile-zlib
27113 clean-stageprofile-zlib:
27114 @if [ $(current_stage) = stageprofile ]; then \
27115 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
27116 else \
27117 [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] || exit 0; \
27118 $(MAKE) stageprofile-start; \
27119 fi; \
27120 cd $(HOST_SUBDIR)/zlib && \
27121 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27122 @endif zlib-bootstrap
27125 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
27126 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
27127 maybe-all-stagefeedback-zlib:
27128 maybe-clean-stagefeedback-zlib:
27129 @if zlib-bootstrap
27130 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
27131 all-stagefeedback: all-stagefeedback-zlib
27132 TARGET-stagefeedback-zlib = $(TARGET-zlib)
27133 all-stagefeedback-zlib: configure-stagefeedback-zlib
27134 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
27135 @r=`${PWD_COMMAND}`; export r; \
27136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27137 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
27138 $(HOST_EXPORTS) \
27139 $(POSTSTAGE1_HOST_EXPORTS) \
27140 cd $(HOST_SUBDIR)/zlib && \
27141 $(MAKE) $(BASE_FLAGS_TO_PASS) \
27142 CFLAGS="$(STAGEfeedback_CFLAGS)" \
27143 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
27144 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
27145 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
27146 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
27147 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
27148 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
27149 TFLAGS="$(STAGEfeedback_TFLAGS)" \
27150 $(TARGET-stagefeedback-zlib)
27152 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
27153 clean-stagefeedback: clean-stagefeedback-zlib
27154 clean-stagefeedback-zlib:
27155 @if [ $(current_stage) = stagefeedback ]; then \
27156 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
27157 else \
27158 [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] || exit 0; \
27159 $(MAKE) stagefeedback-start; \
27160 fi; \
27161 cd $(HOST_SUBDIR)/zlib && \
27162 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
27163 @endif zlib-bootstrap
27169 .PHONY: check-zlib maybe-check-zlib
27170 maybe-check-zlib:
27171 @if zlib
27172 maybe-check-zlib: check-zlib
27174 check-zlib:
27176 @endif zlib
27178 .PHONY: install-zlib maybe-install-zlib
27179 maybe-install-zlib:
27180 @if zlib
27181 maybe-install-zlib: install-zlib
27183 install-zlib:
27185 @endif zlib
27187 .PHONY: install-strip-zlib maybe-install-strip-zlib
27188 maybe-install-strip-zlib:
27189 @if zlib
27190 maybe-install-strip-zlib: install-strip-zlib
27192 install-strip-zlib:
27194 @endif zlib
27196 # Other targets (info, dvi, pdf, etc.)
27198 .PHONY: maybe-info-zlib info-zlib
27199 maybe-info-zlib:
27200 @if zlib
27201 maybe-info-zlib: info-zlib
27203 info-zlib: \
27204 configure-zlib
27205 @[ -f ./zlib/Makefile ] || exit 0; \
27206 r=`${PWD_COMMAND}`; export r; \
27207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27208 $(HOST_EXPORTS) \
27209 for flag in $(EXTRA_HOST_FLAGS) ; do \
27210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27211 done; \
27212 echo "Doing info in zlib" ; \
27213 (cd $(HOST_SUBDIR)/zlib && \
27214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27216 "RANLIB=$${RANLIB}" \
27217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27218 info) \
27219 || exit 1
27221 @endif zlib
27223 .PHONY: maybe-dvi-zlib dvi-zlib
27224 maybe-dvi-zlib:
27225 @if zlib
27226 maybe-dvi-zlib: dvi-zlib
27228 dvi-zlib: \
27229 configure-zlib
27230 @[ -f ./zlib/Makefile ] || exit 0; \
27231 r=`${PWD_COMMAND}`; export r; \
27232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27233 $(HOST_EXPORTS) \
27234 for flag in $(EXTRA_HOST_FLAGS) ; do \
27235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27236 done; \
27237 echo "Doing dvi in zlib" ; \
27238 (cd $(HOST_SUBDIR)/zlib && \
27239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27241 "RANLIB=$${RANLIB}" \
27242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27243 dvi) \
27244 || exit 1
27246 @endif zlib
27248 .PHONY: maybe-pdf-zlib pdf-zlib
27249 maybe-pdf-zlib:
27250 @if zlib
27251 maybe-pdf-zlib: pdf-zlib
27253 pdf-zlib: \
27254 configure-zlib
27255 @[ -f ./zlib/Makefile ] || exit 0; \
27256 r=`${PWD_COMMAND}`; export r; \
27257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27258 $(HOST_EXPORTS) \
27259 for flag in $(EXTRA_HOST_FLAGS) ; do \
27260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27261 done; \
27262 echo "Doing pdf in zlib" ; \
27263 (cd $(HOST_SUBDIR)/zlib && \
27264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27266 "RANLIB=$${RANLIB}" \
27267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27268 pdf) \
27269 || exit 1
27271 @endif zlib
27273 .PHONY: maybe-html-zlib html-zlib
27274 maybe-html-zlib:
27275 @if zlib
27276 maybe-html-zlib: html-zlib
27278 html-zlib: \
27279 configure-zlib
27280 @[ -f ./zlib/Makefile ] || exit 0; \
27281 r=`${PWD_COMMAND}`; export r; \
27282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27283 $(HOST_EXPORTS) \
27284 for flag in $(EXTRA_HOST_FLAGS) ; do \
27285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27286 done; \
27287 echo "Doing html in zlib" ; \
27288 (cd $(HOST_SUBDIR)/zlib && \
27289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27291 "RANLIB=$${RANLIB}" \
27292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27293 html) \
27294 || exit 1
27296 @endif zlib
27298 .PHONY: maybe-TAGS-zlib TAGS-zlib
27299 maybe-TAGS-zlib:
27300 @if zlib
27301 maybe-TAGS-zlib: TAGS-zlib
27303 TAGS-zlib: \
27304 configure-zlib
27305 @[ -f ./zlib/Makefile ] || exit 0; \
27306 r=`${PWD_COMMAND}`; export r; \
27307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27308 $(HOST_EXPORTS) \
27309 for flag in $(EXTRA_HOST_FLAGS) ; do \
27310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27311 done; \
27312 echo "Doing TAGS in zlib" ; \
27313 (cd $(HOST_SUBDIR)/zlib && \
27314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27316 "RANLIB=$${RANLIB}" \
27317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27318 TAGS) \
27319 || exit 1
27321 @endif zlib
27323 .PHONY: maybe-install-info-zlib install-info-zlib
27324 maybe-install-info-zlib:
27325 @if zlib
27326 maybe-install-info-zlib: install-info-zlib
27328 install-info-zlib: \
27329 configure-zlib \
27330 info-zlib
27331 @[ -f ./zlib/Makefile ] || exit 0; \
27332 r=`${PWD_COMMAND}`; export r; \
27333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27334 $(HOST_EXPORTS) \
27335 for flag in $(EXTRA_HOST_FLAGS) ; do \
27336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27337 done; \
27338 echo "Doing install-info in zlib" ; \
27339 (cd $(HOST_SUBDIR)/zlib && \
27340 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27341 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27342 "RANLIB=$${RANLIB}" \
27343 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27344 install-info) \
27345 || exit 1
27347 @endif zlib
27349 .PHONY: maybe-install-pdf-zlib install-pdf-zlib
27350 maybe-install-pdf-zlib:
27351 @if zlib
27352 maybe-install-pdf-zlib: install-pdf-zlib
27354 install-pdf-zlib: \
27355 configure-zlib \
27356 pdf-zlib
27357 @[ -f ./zlib/Makefile ] || exit 0; \
27358 r=`${PWD_COMMAND}`; export r; \
27359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27360 $(HOST_EXPORTS) \
27361 for flag in $(EXTRA_HOST_FLAGS) ; do \
27362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27363 done; \
27364 echo "Doing install-pdf in zlib" ; \
27365 (cd $(HOST_SUBDIR)/zlib && \
27366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27368 "RANLIB=$${RANLIB}" \
27369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27370 install-pdf) \
27371 || exit 1
27373 @endif zlib
27375 .PHONY: maybe-install-html-zlib install-html-zlib
27376 maybe-install-html-zlib:
27377 @if zlib
27378 maybe-install-html-zlib: install-html-zlib
27380 install-html-zlib: \
27381 configure-zlib \
27382 html-zlib
27383 @[ -f ./zlib/Makefile ] || exit 0; \
27384 r=`${PWD_COMMAND}`; export r; \
27385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27386 $(HOST_EXPORTS) \
27387 for flag in $(EXTRA_HOST_FLAGS) ; do \
27388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27389 done; \
27390 echo "Doing install-html in zlib" ; \
27391 (cd $(HOST_SUBDIR)/zlib && \
27392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27394 "RANLIB=$${RANLIB}" \
27395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27396 install-html) \
27397 || exit 1
27399 @endif zlib
27401 .PHONY: maybe-installcheck-zlib installcheck-zlib
27402 maybe-installcheck-zlib:
27403 @if zlib
27404 maybe-installcheck-zlib: installcheck-zlib
27406 installcheck-zlib: \
27407 configure-zlib
27408 @[ -f ./zlib/Makefile ] || exit 0; \
27409 r=`${PWD_COMMAND}`; export r; \
27410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27411 $(HOST_EXPORTS) \
27412 for flag in $(EXTRA_HOST_FLAGS) ; do \
27413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27414 done; \
27415 echo "Doing installcheck in zlib" ; \
27416 (cd $(HOST_SUBDIR)/zlib && \
27417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27419 "RANLIB=$${RANLIB}" \
27420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27421 installcheck) \
27422 || exit 1
27424 @endif zlib
27426 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
27427 maybe-mostlyclean-zlib:
27428 @if zlib
27429 maybe-mostlyclean-zlib: mostlyclean-zlib
27431 mostlyclean-zlib:
27432 @[ -f ./zlib/Makefile ] || exit 0; \
27433 r=`${PWD_COMMAND}`; export r; \
27434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27435 $(HOST_EXPORTS) \
27436 for flag in $(EXTRA_HOST_FLAGS) ; do \
27437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27438 done; \
27439 echo "Doing mostlyclean in zlib" ; \
27440 (cd $(HOST_SUBDIR)/zlib && \
27441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27443 "RANLIB=$${RANLIB}" \
27444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27445 mostlyclean) \
27446 || exit 1
27448 @endif zlib
27450 .PHONY: maybe-clean-zlib clean-zlib
27451 maybe-clean-zlib:
27452 @if zlib
27453 maybe-clean-zlib: clean-zlib
27455 clean-zlib:
27456 @[ -f ./zlib/Makefile ] || exit 0; \
27457 r=`${PWD_COMMAND}`; export r; \
27458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27459 $(HOST_EXPORTS) \
27460 for flag in $(EXTRA_HOST_FLAGS) ; do \
27461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27462 done; \
27463 echo "Doing clean in zlib" ; \
27464 (cd $(HOST_SUBDIR)/zlib && \
27465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27467 "RANLIB=$${RANLIB}" \
27468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27469 clean) \
27470 || exit 1
27472 @endif zlib
27474 .PHONY: maybe-distclean-zlib distclean-zlib
27475 maybe-distclean-zlib:
27476 @if zlib
27477 maybe-distclean-zlib: distclean-zlib
27479 distclean-zlib:
27480 @[ -f ./zlib/Makefile ] || exit 0; \
27481 r=`${PWD_COMMAND}`; export r; \
27482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27483 $(HOST_EXPORTS) \
27484 for flag in $(EXTRA_HOST_FLAGS) ; do \
27485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27486 done; \
27487 echo "Doing distclean in zlib" ; \
27488 (cd $(HOST_SUBDIR)/zlib && \
27489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27491 "RANLIB=$${RANLIB}" \
27492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27493 distclean) \
27494 || exit 1
27496 @endif zlib
27498 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
27499 maybe-maintainer-clean-zlib:
27500 @if zlib
27501 maybe-maintainer-clean-zlib: maintainer-clean-zlib
27503 maintainer-clean-zlib:
27504 @[ -f ./zlib/Makefile ] || exit 0; \
27505 r=`${PWD_COMMAND}`; export r; \
27506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27507 $(HOST_EXPORTS) \
27508 for flag in $(EXTRA_HOST_FLAGS) ; do \
27509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27510 done; \
27511 echo "Doing maintainer-clean in zlib" ; \
27512 (cd $(HOST_SUBDIR)/zlib && \
27513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27515 "RANLIB=$${RANLIB}" \
27516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27517 maintainer-clean) \
27518 || exit 1
27520 @endif zlib
27524 .PHONY: configure-gdb maybe-configure-gdb
27525 maybe-configure-gdb:
27526 @if gcc-bootstrap
27527 configure-gdb: stage_current
27528 @endif gcc-bootstrap
27529 @if gdb
27530 maybe-configure-gdb: configure-gdb
27531 configure-gdb:
27532 @: $(MAKE); $(unstage)
27533 @r=`${PWD_COMMAND}`; export r; \
27534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27535 test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
27536 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb ; \
27537 $(HOST_EXPORTS) \
27538 echo Configuring in $(HOST_SUBDIR)/gdb; \
27539 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
27540 case $(srcdir) in \
27541 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27542 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
27543 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27544 esac; \
27545 module_srcdir=gdb; \
27546 $(SHELL) \
27547 $$s/$$module_srcdir/configure \
27548 --srcdir=$${topdir}/$$module_srcdir \
27549 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27550 --target=${target_alias} \
27551 || exit 1
27552 @endif gdb
27558 .PHONY: all-gdb maybe-all-gdb
27559 maybe-all-gdb:
27560 @if gcc-bootstrap
27561 all-gdb: stage_current
27562 @endif gcc-bootstrap
27563 @if gdb
27564 TARGET-gdb=all
27565 maybe-all-gdb: all-gdb
27566 all-gdb: configure-gdb
27567 @: $(MAKE); $(unstage)
27568 @r=`${PWD_COMMAND}`; export r; \
27569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27570 $(HOST_EXPORTS) \
27571 (cd $(HOST_SUBDIR)/gdb && \
27572 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
27573 $(TARGET-gdb))
27574 @endif gdb
27579 .PHONY: check-gdb maybe-check-gdb
27580 maybe-check-gdb:
27581 @if gdb
27582 maybe-check-gdb: check-gdb
27584 check-gdb:
27585 @: $(MAKE); $(unstage)
27586 @r=`${PWD_COMMAND}`; export r; \
27587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27588 $(HOST_EXPORTS) \
27589 (cd $(HOST_SUBDIR)/gdb && \
27590 $(MAKE) $(FLAGS_TO_PASS) check)
27592 @endif gdb
27594 .PHONY: install-gdb maybe-install-gdb
27595 maybe-install-gdb:
27596 @if gdb
27597 maybe-install-gdb: install-gdb
27599 install-gdb: installdirs
27600 @: $(MAKE); $(unstage)
27601 @r=`${PWD_COMMAND}`; export r; \
27602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27603 $(HOST_EXPORTS) \
27604 (cd $(HOST_SUBDIR)/gdb && \
27605 $(MAKE) $(FLAGS_TO_PASS) install)
27607 @endif gdb
27609 .PHONY: install-strip-gdb maybe-install-strip-gdb
27610 maybe-install-strip-gdb:
27611 @if gdb
27612 maybe-install-strip-gdb: install-strip-gdb
27614 install-strip-gdb: installdirs
27615 @: $(MAKE); $(unstage)
27616 @r=`${PWD_COMMAND}`; export r; \
27617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27618 $(HOST_EXPORTS) \
27619 (cd $(HOST_SUBDIR)/gdb && \
27620 $(MAKE) $(FLAGS_TO_PASS) install-strip)
27622 @endif gdb
27624 # Other targets (info, dvi, pdf, etc.)
27626 .PHONY: maybe-info-gdb info-gdb
27627 maybe-info-gdb:
27628 @if gdb
27629 maybe-info-gdb: info-gdb
27631 info-gdb: \
27632 configure-gdb
27633 @: $(MAKE); $(unstage)
27634 @[ -f ./gdb/Makefile ] || exit 0; \
27635 r=`${PWD_COMMAND}`; export r; \
27636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27637 $(HOST_EXPORTS) \
27638 for flag in $(EXTRA_HOST_FLAGS) ; do \
27639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27640 done; \
27641 echo "Doing info in gdb" ; \
27642 (cd $(HOST_SUBDIR)/gdb && \
27643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27645 "RANLIB=$${RANLIB}" \
27646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27647 info) \
27648 || exit 1
27650 @endif gdb
27652 .PHONY: maybe-dvi-gdb dvi-gdb
27653 maybe-dvi-gdb:
27654 @if gdb
27655 maybe-dvi-gdb: dvi-gdb
27657 dvi-gdb: \
27658 configure-gdb
27659 @: $(MAKE); $(unstage)
27660 @[ -f ./gdb/Makefile ] || exit 0; \
27661 r=`${PWD_COMMAND}`; export r; \
27662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27663 $(HOST_EXPORTS) \
27664 for flag in $(EXTRA_HOST_FLAGS) ; do \
27665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27666 done; \
27667 echo "Doing dvi in gdb" ; \
27668 (cd $(HOST_SUBDIR)/gdb && \
27669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27671 "RANLIB=$${RANLIB}" \
27672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27673 dvi) \
27674 || exit 1
27676 @endif gdb
27678 .PHONY: maybe-pdf-gdb pdf-gdb
27679 maybe-pdf-gdb:
27680 @if gdb
27681 maybe-pdf-gdb: pdf-gdb
27683 pdf-gdb: \
27684 configure-gdb
27685 @: $(MAKE); $(unstage)
27686 @[ -f ./gdb/Makefile ] || exit 0; \
27687 r=`${PWD_COMMAND}`; export r; \
27688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27689 $(HOST_EXPORTS) \
27690 for flag in $(EXTRA_HOST_FLAGS) ; do \
27691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27692 done; \
27693 echo "Doing pdf in gdb" ; \
27694 (cd $(HOST_SUBDIR)/gdb && \
27695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27697 "RANLIB=$${RANLIB}" \
27698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27699 pdf) \
27700 || exit 1
27702 @endif gdb
27704 .PHONY: maybe-html-gdb html-gdb
27705 maybe-html-gdb:
27706 @if gdb
27707 maybe-html-gdb: html-gdb
27709 html-gdb: \
27710 configure-gdb
27711 @: $(MAKE); $(unstage)
27712 @[ -f ./gdb/Makefile ] || exit 0; \
27713 r=`${PWD_COMMAND}`; export r; \
27714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27715 $(HOST_EXPORTS) \
27716 for flag in $(EXTRA_HOST_FLAGS) ; do \
27717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27718 done; \
27719 echo "Doing html in gdb" ; \
27720 (cd $(HOST_SUBDIR)/gdb && \
27721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27723 "RANLIB=$${RANLIB}" \
27724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27725 html) \
27726 || exit 1
27728 @endif gdb
27730 .PHONY: maybe-TAGS-gdb TAGS-gdb
27731 maybe-TAGS-gdb:
27732 @if gdb
27733 maybe-TAGS-gdb: TAGS-gdb
27735 TAGS-gdb: \
27736 configure-gdb
27737 @: $(MAKE); $(unstage)
27738 @[ -f ./gdb/Makefile ] || exit 0; \
27739 r=`${PWD_COMMAND}`; export r; \
27740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27741 $(HOST_EXPORTS) \
27742 for flag in $(EXTRA_HOST_FLAGS) ; do \
27743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27744 done; \
27745 echo "Doing TAGS in gdb" ; \
27746 (cd $(HOST_SUBDIR)/gdb && \
27747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27749 "RANLIB=$${RANLIB}" \
27750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27751 TAGS) \
27752 || exit 1
27754 @endif gdb
27756 .PHONY: maybe-install-info-gdb install-info-gdb
27757 maybe-install-info-gdb:
27758 @if gdb
27759 maybe-install-info-gdb: install-info-gdb
27761 install-info-gdb: \
27762 configure-gdb \
27763 info-gdb
27764 @: $(MAKE); $(unstage)
27765 @[ -f ./gdb/Makefile ] || exit 0; \
27766 r=`${PWD_COMMAND}`; export r; \
27767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27768 $(HOST_EXPORTS) \
27769 for flag in $(EXTRA_HOST_FLAGS) ; do \
27770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27771 done; \
27772 echo "Doing install-info in gdb" ; \
27773 (cd $(HOST_SUBDIR)/gdb && \
27774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27776 "RANLIB=$${RANLIB}" \
27777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27778 install-info) \
27779 || exit 1
27781 @endif gdb
27783 .PHONY: maybe-install-pdf-gdb install-pdf-gdb
27784 maybe-install-pdf-gdb:
27785 @if gdb
27786 maybe-install-pdf-gdb: install-pdf-gdb
27788 install-pdf-gdb: \
27789 configure-gdb \
27790 pdf-gdb
27791 @: $(MAKE); $(unstage)
27792 @[ -f ./gdb/Makefile ] || exit 0; \
27793 r=`${PWD_COMMAND}`; export r; \
27794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27795 $(HOST_EXPORTS) \
27796 for flag in $(EXTRA_HOST_FLAGS) ; do \
27797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27798 done; \
27799 echo "Doing install-pdf in gdb" ; \
27800 (cd $(HOST_SUBDIR)/gdb && \
27801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27803 "RANLIB=$${RANLIB}" \
27804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27805 install-pdf) \
27806 || exit 1
27808 @endif gdb
27810 .PHONY: maybe-install-html-gdb install-html-gdb
27811 maybe-install-html-gdb:
27812 @if gdb
27813 maybe-install-html-gdb: install-html-gdb
27815 install-html-gdb: \
27816 configure-gdb \
27817 html-gdb
27818 @: $(MAKE); $(unstage)
27819 @[ -f ./gdb/Makefile ] || exit 0; \
27820 r=`${PWD_COMMAND}`; export r; \
27821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27822 $(HOST_EXPORTS) \
27823 for flag in $(EXTRA_HOST_FLAGS) ; do \
27824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27825 done; \
27826 echo "Doing install-html in gdb" ; \
27827 (cd $(HOST_SUBDIR)/gdb && \
27828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27830 "RANLIB=$${RANLIB}" \
27831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27832 install-html) \
27833 || exit 1
27835 @endif gdb
27837 .PHONY: maybe-installcheck-gdb installcheck-gdb
27838 maybe-installcheck-gdb:
27839 @if gdb
27840 maybe-installcheck-gdb: installcheck-gdb
27842 installcheck-gdb: \
27843 configure-gdb
27844 @: $(MAKE); $(unstage)
27845 @[ -f ./gdb/Makefile ] || exit 0; \
27846 r=`${PWD_COMMAND}`; export r; \
27847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27848 $(HOST_EXPORTS) \
27849 for flag in $(EXTRA_HOST_FLAGS) ; do \
27850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27851 done; \
27852 echo "Doing installcheck in gdb" ; \
27853 (cd $(HOST_SUBDIR)/gdb && \
27854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27856 "RANLIB=$${RANLIB}" \
27857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27858 installcheck) \
27859 || exit 1
27861 @endif gdb
27863 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
27864 maybe-mostlyclean-gdb:
27865 @if gdb
27866 maybe-mostlyclean-gdb: mostlyclean-gdb
27868 mostlyclean-gdb:
27869 @: $(MAKE); $(unstage)
27870 @[ -f ./gdb/Makefile ] || exit 0; \
27871 r=`${PWD_COMMAND}`; export r; \
27872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27873 $(HOST_EXPORTS) \
27874 for flag in $(EXTRA_HOST_FLAGS) ; do \
27875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27876 done; \
27877 echo "Doing mostlyclean in gdb" ; \
27878 (cd $(HOST_SUBDIR)/gdb && \
27879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27881 "RANLIB=$${RANLIB}" \
27882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27883 mostlyclean) \
27884 || exit 1
27886 @endif gdb
27888 .PHONY: maybe-clean-gdb clean-gdb
27889 maybe-clean-gdb:
27890 @if gdb
27891 maybe-clean-gdb: clean-gdb
27893 clean-gdb:
27894 @: $(MAKE); $(unstage)
27895 @[ -f ./gdb/Makefile ] || exit 0; \
27896 r=`${PWD_COMMAND}`; export r; \
27897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27898 $(HOST_EXPORTS) \
27899 for flag in $(EXTRA_HOST_FLAGS) ; do \
27900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27901 done; \
27902 echo "Doing clean in gdb" ; \
27903 (cd $(HOST_SUBDIR)/gdb && \
27904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27906 "RANLIB=$${RANLIB}" \
27907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27908 clean) \
27909 || exit 1
27911 @endif gdb
27913 .PHONY: maybe-distclean-gdb distclean-gdb
27914 maybe-distclean-gdb:
27915 @if gdb
27916 maybe-distclean-gdb: distclean-gdb
27918 distclean-gdb:
27919 @: $(MAKE); $(unstage)
27920 @[ -f ./gdb/Makefile ] || exit 0; \
27921 r=`${PWD_COMMAND}`; export r; \
27922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27923 $(HOST_EXPORTS) \
27924 for flag in $(EXTRA_HOST_FLAGS) ; do \
27925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27926 done; \
27927 echo "Doing distclean in gdb" ; \
27928 (cd $(HOST_SUBDIR)/gdb && \
27929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27931 "RANLIB=$${RANLIB}" \
27932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27933 distclean) \
27934 || exit 1
27936 @endif gdb
27938 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
27939 maybe-maintainer-clean-gdb:
27940 @if gdb
27941 maybe-maintainer-clean-gdb: maintainer-clean-gdb
27943 maintainer-clean-gdb:
27944 @: $(MAKE); $(unstage)
27945 @[ -f ./gdb/Makefile ] || exit 0; \
27946 r=`${PWD_COMMAND}`; export r; \
27947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27948 $(HOST_EXPORTS) \
27949 for flag in $(EXTRA_HOST_FLAGS) ; do \
27950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27951 done; \
27952 echo "Doing maintainer-clean in gdb" ; \
27953 (cd $(HOST_SUBDIR)/gdb && \
27954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27956 "RANLIB=$${RANLIB}" \
27957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
27958 maintainer-clean) \
27959 || exit 1
27961 @endif gdb
27965 .PHONY: configure-expect maybe-configure-expect
27966 maybe-configure-expect:
27967 @if gcc-bootstrap
27968 configure-expect: stage_current
27969 @endif gcc-bootstrap
27970 @if expect
27971 maybe-configure-expect: configure-expect
27972 configure-expect:
27973 @: $(MAKE); $(unstage)
27974 @r=`${PWD_COMMAND}`; export r; \
27975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27976 test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
27977 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect ; \
27978 $(HOST_EXPORTS) \
27979 echo Configuring in $(HOST_SUBDIR)/expect; \
27980 cd "$(HOST_SUBDIR)/expect" || exit 1; \
27981 case $(srcdir) in \
27982 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27983 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
27984 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27985 esac; \
27986 module_srcdir=expect; \
27987 $(SHELL) \
27988 $$s/$$module_srcdir/configure \
27989 --srcdir=$${topdir}/$$module_srcdir \
27990 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
27991 --target=${target_alias} \
27992 || exit 1
27993 @endif expect
27999 .PHONY: all-expect maybe-all-expect
28000 maybe-all-expect:
28001 @if gcc-bootstrap
28002 all-expect: stage_current
28003 @endif gcc-bootstrap
28004 @if expect
28005 TARGET-expect=all
28006 maybe-all-expect: all-expect
28007 all-expect: configure-expect
28008 @: $(MAKE); $(unstage)
28009 @r=`${PWD_COMMAND}`; export r; \
28010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28011 $(HOST_EXPORTS) \
28012 (cd $(HOST_SUBDIR)/expect && \
28013 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
28014 $(TARGET-expect))
28015 @endif expect
28020 .PHONY: check-expect maybe-check-expect
28021 maybe-check-expect:
28022 @if expect
28023 maybe-check-expect: check-expect
28025 check-expect:
28026 @: $(MAKE); $(unstage)
28027 @r=`${PWD_COMMAND}`; export r; \
28028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28029 $(HOST_EXPORTS) \
28030 (cd $(HOST_SUBDIR)/expect && \
28031 $(MAKE) $(FLAGS_TO_PASS) check)
28033 @endif expect
28035 .PHONY: install-expect maybe-install-expect
28036 maybe-install-expect:
28037 @if expect
28038 maybe-install-expect: install-expect
28040 install-expect: installdirs
28041 @: $(MAKE); $(unstage)
28042 @r=`${PWD_COMMAND}`; export r; \
28043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28044 $(HOST_EXPORTS) \
28045 (cd $(HOST_SUBDIR)/expect && \
28046 $(MAKE) $(FLAGS_TO_PASS) install)
28048 @endif expect
28050 .PHONY: install-strip-expect maybe-install-strip-expect
28051 maybe-install-strip-expect:
28052 @if expect
28053 maybe-install-strip-expect: install-strip-expect
28055 install-strip-expect: installdirs
28056 @: $(MAKE); $(unstage)
28057 @r=`${PWD_COMMAND}`; export r; \
28058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28059 $(HOST_EXPORTS) \
28060 (cd $(HOST_SUBDIR)/expect && \
28061 $(MAKE) $(FLAGS_TO_PASS) install-strip)
28063 @endif expect
28065 # Other targets (info, dvi, pdf, etc.)
28067 .PHONY: maybe-info-expect info-expect
28068 maybe-info-expect:
28069 @if expect
28070 maybe-info-expect: info-expect
28072 info-expect: \
28073 configure-expect
28074 @: $(MAKE); $(unstage)
28075 @[ -f ./expect/Makefile ] || exit 0; \
28076 r=`${PWD_COMMAND}`; export r; \
28077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28078 $(HOST_EXPORTS) \
28079 for flag in $(EXTRA_HOST_FLAGS) ; do \
28080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28081 done; \
28082 echo "Doing info in expect" ; \
28083 (cd $(HOST_SUBDIR)/expect && \
28084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28086 "RANLIB=$${RANLIB}" \
28087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28088 info) \
28089 || exit 1
28091 @endif expect
28093 .PHONY: maybe-dvi-expect dvi-expect
28094 maybe-dvi-expect:
28095 @if expect
28096 maybe-dvi-expect: dvi-expect
28098 dvi-expect: \
28099 configure-expect
28100 @: $(MAKE); $(unstage)
28101 @[ -f ./expect/Makefile ] || exit 0; \
28102 r=`${PWD_COMMAND}`; export r; \
28103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28104 $(HOST_EXPORTS) \
28105 for flag in $(EXTRA_HOST_FLAGS) ; do \
28106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28107 done; \
28108 echo "Doing dvi in expect" ; \
28109 (cd $(HOST_SUBDIR)/expect && \
28110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28112 "RANLIB=$${RANLIB}" \
28113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28114 dvi) \
28115 || exit 1
28117 @endif expect
28119 .PHONY: maybe-pdf-expect pdf-expect
28120 maybe-pdf-expect:
28121 @if expect
28122 maybe-pdf-expect: pdf-expect
28124 pdf-expect: \
28125 configure-expect
28126 @: $(MAKE); $(unstage)
28127 @[ -f ./expect/Makefile ] || exit 0; \
28128 r=`${PWD_COMMAND}`; export r; \
28129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28130 $(HOST_EXPORTS) \
28131 for flag in $(EXTRA_HOST_FLAGS) ; do \
28132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28133 done; \
28134 echo "Doing pdf in expect" ; \
28135 (cd $(HOST_SUBDIR)/expect && \
28136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28138 "RANLIB=$${RANLIB}" \
28139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28140 pdf) \
28141 || exit 1
28143 @endif expect
28145 .PHONY: maybe-html-expect html-expect
28146 maybe-html-expect:
28147 @if expect
28148 maybe-html-expect: html-expect
28150 html-expect: \
28151 configure-expect
28152 @: $(MAKE); $(unstage)
28153 @[ -f ./expect/Makefile ] || exit 0; \
28154 r=`${PWD_COMMAND}`; export r; \
28155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28156 $(HOST_EXPORTS) \
28157 for flag in $(EXTRA_HOST_FLAGS) ; do \
28158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28159 done; \
28160 echo "Doing html in expect" ; \
28161 (cd $(HOST_SUBDIR)/expect && \
28162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28164 "RANLIB=$${RANLIB}" \
28165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28166 html) \
28167 || exit 1
28169 @endif expect
28171 .PHONY: maybe-TAGS-expect TAGS-expect
28172 maybe-TAGS-expect:
28173 @if expect
28174 maybe-TAGS-expect: TAGS-expect
28176 TAGS-expect: \
28177 configure-expect
28178 @: $(MAKE); $(unstage)
28179 @[ -f ./expect/Makefile ] || exit 0; \
28180 r=`${PWD_COMMAND}`; export r; \
28181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28182 $(HOST_EXPORTS) \
28183 for flag in $(EXTRA_HOST_FLAGS) ; do \
28184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28185 done; \
28186 echo "Doing TAGS in expect" ; \
28187 (cd $(HOST_SUBDIR)/expect && \
28188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28190 "RANLIB=$${RANLIB}" \
28191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28192 TAGS) \
28193 || exit 1
28195 @endif expect
28197 .PHONY: maybe-install-info-expect install-info-expect
28198 maybe-install-info-expect:
28199 @if expect
28200 maybe-install-info-expect: install-info-expect
28202 install-info-expect: \
28203 configure-expect \
28204 info-expect
28205 @: $(MAKE); $(unstage)
28206 @[ -f ./expect/Makefile ] || exit 0; \
28207 r=`${PWD_COMMAND}`; export r; \
28208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28209 $(HOST_EXPORTS) \
28210 for flag in $(EXTRA_HOST_FLAGS) ; do \
28211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28212 done; \
28213 echo "Doing install-info in expect" ; \
28214 (cd $(HOST_SUBDIR)/expect && \
28215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28217 "RANLIB=$${RANLIB}" \
28218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28219 install-info) \
28220 || exit 1
28222 @endif expect
28224 .PHONY: maybe-install-pdf-expect install-pdf-expect
28225 maybe-install-pdf-expect:
28226 @if expect
28227 maybe-install-pdf-expect: install-pdf-expect
28229 install-pdf-expect: \
28230 configure-expect \
28231 pdf-expect
28232 @: $(MAKE); $(unstage)
28233 @[ -f ./expect/Makefile ] || exit 0; \
28234 r=`${PWD_COMMAND}`; export r; \
28235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28236 $(HOST_EXPORTS) \
28237 for flag in $(EXTRA_HOST_FLAGS) ; do \
28238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28239 done; \
28240 echo "Doing install-pdf in expect" ; \
28241 (cd $(HOST_SUBDIR)/expect && \
28242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28244 "RANLIB=$${RANLIB}" \
28245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28246 install-pdf) \
28247 || exit 1
28249 @endif expect
28251 .PHONY: maybe-install-html-expect install-html-expect
28252 maybe-install-html-expect:
28253 @if expect
28254 maybe-install-html-expect: install-html-expect
28256 install-html-expect: \
28257 configure-expect \
28258 html-expect
28259 @: $(MAKE); $(unstage)
28260 @[ -f ./expect/Makefile ] || exit 0; \
28261 r=`${PWD_COMMAND}`; export r; \
28262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28263 $(HOST_EXPORTS) \
28264 for flag in $(EXTRA_HOST_FLAGS) ; do \
28265 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28266 done; \
28267 echo "Doing install-html in expect" ; \
28268 (cd $(HOST_SUBDIR)/expect && \
28269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28271 "RANLIB=$${RANLIB}" \
28272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28273 install-html) \
28274 || exit 1
28276 @endif expect
28278 .PHONY: maybe-installcheck-expect installcheck-expect
28279 maybe-installcheck-expect:
28280 @if expect
28281 maybe-installcheck-expect: installcheck-expect
28283 installcheck-expect: \
28284 configure-expect
28285 @: $(MAKE); $(unstage)
28286 @[ -f ./expect/Makefile ] || exit 0; \
28287 r=`${PWD_COMMAND}`; export r; \
28288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28289 $(HOST_EXPORTS) \
28290 for flag in $(EXTRA_HOST_FLAGS) ; do \
28291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28292 done; \
28293 echo "Doing installcheck in expect" ; \
28294 (cd $(HOST_SUBDIR)/expect && \
28295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28297 "RANLIB=$${RANLIB}" \
28298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28299 installcheck) \
28300 || exit 1
28302 @endif expect
28304 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
28305 maybe-mostlyclean-expect:
28306 @if expect
28307 maybe-mostlyclean-expect: mostlyclean-expect
28309 mostlyclean-expect:
28310 @: $(MAKE); $(unstage)
28311 @[ -f ./expect/Makefile ] || exit 0; \
28312 r=`${PWD_COMMAND}`; export r; \
28313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28314 $(HOST_EXPORTS) \
28315 for flag in $(EXTRA_HOST_FLAGS) ; do \
28316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28317 done; \
28318 echo "Doing mostlyclean in expect" ; \
28319 (cd $(HOST_SUBDIR)/expect && \
28320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28322 "RANLIB=$${RANLIB}" \
28323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28324 mostlyclean) \
28325 || exit 1
28327 @endif expect
28329 .PHONY: maybe-clean-expect clean-expect
28330 maybe-clean-expect:
28331 @if expect
28332 maybe-clean-expect: clean-expect
28334 clean-expect:
28335 @: $(MAKE); $(unstage)
28336 @[ -f ./expect/Makefile ] || exit 0; \
28337 r=`${PWD_COMMAND}`; export r; \
28338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28339 $(HOST_EXPORTS) \
28340 for flag in $(EXTRA_HOST_FLAGS) ; do \
28341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28342 done; \
28343 echo "Doing clean in expect" ; \
28344 (cd $(HOST_SUBDIR)/expect && \
28345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28347 "RANLIB=$${RANLIB}" \
28348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28349 clean) \
28350 || exit 1
28352 @endif expect
28354 .PHONY: maybe-distclean-expect distclean-expect
28355 maybe-distclean-expect:
28356 @if expect
28357 maybe-distclean-expect: distclean-expect
28359 distclean-expect:
28360 @: $(MAKE); $(unstage)
28361 @[ -f ./expect/Makefile ] || exit 0; \
28362 r=`${PWD_COMMAND}`; export r; \
28363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28364 $(HOST_EXPORTS) \
28365 for flag in $(EXTRA_HOST_FLAGS) ; do \
28366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28367 done; \
28368 echo "Doing distclean in expect" ; \
28369 (cd $(HOST_SUBDIR)/expect && \
28370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28372 "RANLIB=$${RANLIB}" \
28373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28374 distclean) \
28375 || exit 1
28377 @endif expect
28379 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
28380 maybe-maintainer-clean-expect:
28381 @if expect
28382 maybe-maintainer-clean-expect: maintainer-clean-expect
28384 maintainer-clean-expect:
28385 @: $(MAKE); $(unstage)
28386 @[ -f ./expect/Makefile ] || exit 0; \
28387 r=`${PWD_COMMAND}`; export r; \
28388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28389 $(HOST_EXPORTS) \
28390 for flag in $(EXTRA_HOST_FLAGS) ; do \
28391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28392 done; \
28393 echo "Doing maintainer-clean in expect" ; \
28394 (cd $(HOST_SUBDIR)/expect && \
28395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28397 "RANLIB=$${RANLIB}" \
28398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28399 maintainer-clean) \
28400 || exit 1
28402 @endif expect
28406 .PHONY: configure-guile maybe-configure-guile
28407 maybe-configure-guile:
28408 @if gcc-bootstrap
28409 configure-guile: stage_current
28410 @endif gcc-bootstrap
28411 @if guile
28412 maybe-configure-guile: configure-guile
28413 configure-guile:
28414 @: $(MAKE); $(unstage)
28415 @r=`${PWD_COMMAND}`; export r; \
28416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28417 test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
28418 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile ; \
28419 $(HOST_EXPORTS) \
28420 echo Configuring in $(HOST_SUBDIR)/guile; \
28421 cd "$(HOST_SUBDIR)/guile" || exit 1; \
28422 case $(srcdir) in \
28423 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28424 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
28425 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28426 esac; \
28427 module_srcdir=guile; \
28428 $(SHELL) \
28429 $$s/$$module_srcdir/configure \
28430 --srcdir=$${topdir}/$$module_srcdir \
28431 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28432 --target=${target_alias} \
28433 || exit 1
28434 @endif guile
28440 .PHONY: all-guile maybe-all-guile
28441 maybe-all-guile:
28442 @if gcc-bootstrap
28443 all-guile: stage_current
28444 @endif gcc-bootstrap
28445 @if guile
28446 TARGET-guile=all
28447 maybe-all-guile: all-guile
28448 all-guile: configure-guile
28449 @: $(MAKE); $(unstage)
28450 @r=`${PWD_COMMAND}`; export r; \
28451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28452 $(HOST_EXPORTS) \
28453 (cd $(HOST_SUBDIR)/guile && \
28454 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
28455 $(TARGET-guile))
28456 @endif guile
28461 .PHONY: check-guile maybe-check-guile
28462 maybe-check-guile:
28463 @if guile
28464 maybe-check-guile: check-guile
28466 check-guile:
28467 @: $(MAKE); $(unstage)
28468 @r=`${PWD_COMMAND}`; export r; \
28469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28470 $(HOST_EXPORTS) \
28471 (cd $(HOST_SUBDIR)/guile && \
28472 $(MAKE) $(FLAGS_TO_PASS) check)
28474 @endif guile
28476 .PHONY: install-guile maybe-install-guile
28477 maybe-install-guile:
28478 @if guile
28479 maybe-install-guile: install-guile
28481 install-guile: installdirs
28482 @: $(MAKE); $(unstage)
28483 @r=`${PWD_COMMAND}`; export r; \
28484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28485 $(HOST_EXPORTS) \
28486 (cd $(HOST_SUBDIR)/guile && \
28487 $(MAKE) $(FLAGS_TO_PASS) install)
28489 @endif guile
28491 .PHONY: install-strip-guile maybe-install-strip-guile
28492 maybe-install-strip-guile:
28493 @if guile
28494 maybe-install-strip-guile: install-strip-guile
28496 install-strip-guile: installdirs
28497 @: $(MAKE); $(unstage)
28498 @r=`${PWD_COMMAND}`; export r; \
28499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28500 $(HOST_EXPORTS) \
28501 (cd $(HOST_SUBDIR)/guile && \
28502 $(MAKE) $(FLAGS_TO_PASS) install-strip)
28504 @endif guile
28506 # Other targets (info, dvi, pdf, etc.)
28508 .PHONY: maybe-info-guile info-guile
28509 maybe-info-guile:
28510 @if guile
28511 maybe-info-guile: info-guile
28513 info-guile: \
28514 configure-guile
28515 @: $(MAKE); $(unstage)
28516 @[ -f ./guile/Makefile ] || exit 0; \
28517 r=`${PWD_COMMAND}`; export r; \
28518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28519 $(HOST_EXPORTS) \
28520 for flag in $(EXTRA_HOST_FLAGS) ; do \
28521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28522 done; \
28523 echo "Doing info in guile" ; \
28524 (cd $(HOST_SUBDIR)/guile && \
28525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28527 "RANLIB=$${RANLIB}" \
28528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28529 info) \
28530 || exit 1
28532 @endif guile
28534 .PHONY: maybe-dvi-guile dvi-guile
28535 maybe-dvi-guile:
28536 @if guile
28537 maybe-dvi-guile: dvi-guile
28539 dvi-guile: \
28540 configure-guile
28541 @: $(MAKE); $(unstage)
28542 @[ -f ./guile/Makefile ] || exit 0; \
28543 r=`${PWD_COMMAND}`; export r; \
28544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28545 $(HOST_EXPORTS) \
28546 for flag in $(EXTRA_HOST_FLAGS) ; do \
28547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28548 done; \
28549 echo "Doing dvi in guile" ; \
28550 (cd $(HOST_SUBDIR)/guile && \
28551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28553 "RANLIB=$${RANLIB}" \
28554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28555 dvi) \
28556 || exit 1
28558 @endif guile
28560 .PHONY: maybe-pdf-guile pdf-guile
28561 maybe-pdf-guile:
28562 @if guile
28563 maybe-pdf-guile: pdf-guile
28565 pdf-guile: \
28566 configure-guile
28567 @: $(MAKE); $(unstage)
28568 @[ -f ./guile/Makefile ] || exit 0; \
28569 r=`${PWD_COMMAND}`; export r; \
28570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28571 $(HOST_EXPORTS) \
28572 for flag in $(EXTRA_HOST_FLAGS) ; do \
28573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28574 done; \
28575 echo "Doing pdf in guile" ; \
28576 (cd $(HOST_SUBDIR)/guile && \
28577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28579 "RANLIB=$${RANLIB}" \
28580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28581 pdf) \
28582 || exit 1
28584 @endif guile
28586 .PHONY: maybe-html-guile html-guile
28587 maybe-html-guile:
28588 @if guile
28589 maybe-html-guile: html-guile
28591 html-guile: \
28592 configure-guile
28593 @: $(MAKE); $(unstage)
28594 @[ -f ./guile/Makefile ] || exit 0; \
28595 r=`${PWD_COMMAND}`; export r; \
28596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28597 $(HOST_EXPORTS) \
28598 for flag in $(EXTRA_HOST_FLAGS) ; do \
28599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28600 done; \
28601 echo "Doing html in guile" ; \
28602 (cd $(HOST_SUBDIR)/guile && \
28603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28605 "RANLIB=$${RANLIB}" \
28606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28607 html) \
28608 || exit 1
28610 @endif guile
28612 .PHONY: maybe-TAGS-guile TAGS-guile
28613 maybe-TAGS-guile:
28614 @if guile
28615 maybe-TAGS-guile: TAGS-guile
28617 TAGS-guile: \
28618 configure-guile
28619 @: $(MAKE); $(unstage)
28620 @[ -f ./guile/Makefile ] || exit 0; \
28621 r=`${PWD_COMMAND}`; export r; \
28622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28623 $(HOST_EXPORTS) \
28624 for flag in $(EXTRA_HOST_FLAGS) ; do \
28625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28626 done; \
28627 echo "Doing TAGS in guile" ; \
28628 (cd $(HOST_SUBDIR)/guile && \
28629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28631 "RANLIB=$${RANLIB}" \
28632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28633 TAGS) \
28634 || exit 1
28636 @endif guile
28638 .PHONY: maybe-install-info-guile install-info-guile
28639 maybe-install-info-guile:
28640 @if guile
28641 maybe-install-info-guile: install-info-guile
28643 install-info-guile: \
28644 configure-guile \
28645 info-guile
28646 @: $(MAKE); $(unstage)
28647 @[ -f ./guile/Makefile ] || exit 0; \
28648 r=`${PWD_COMMAND}`; export r; \
28649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28650 $(HOST_EXPORTS) \
28651 for flag in $(EXTRA_HOST_FLAGS) ; do \
28652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28653 done; \
28654 echo "Doing install-info in guile" ; \
28655 (cd $(HOST_SUBDIR)/guile && \
28656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28658 "RANLIB=$${RANLIB}" \
28659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28660 install-info) \
28661 || exit 1
28663 @endif guile
28665 .PHONY: maybe-install-pdf-guile install-pdf-guile
28666 maybe-install-pdf-guile:
28667 @if guile
28668 maybe-install-pdf-guile: install-pdf-guile
28670 install-pdf-guile: \
28671 configure-guile \
28672 pdf-guile
28673 @: $(MAKE); $(unstage)
28674 @[ -f ./guile/Makefile ] || exit 0; \
28675 r=`${PWD_COMMAND}`; export r; \
28676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28677 $(HOST_EXPORTS) \
28678 for flag in $(EXTRA_HOST_FLAGS) ; do \
28679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28680 done; \
28681 echo "Doing install-pdf in guile" ; \
28682 (cd $(HOST_SUBDIR)/guile && \
28683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28685 "RANLIB=$${RANLIB}" \
28686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28687 install-pdf) \
28688 || exit 1
28690 @endif guile
28692 .PHONY: maybe-install-html-guile install-html-guile
28693 maybe-install-html-guile:
28694 @if guile
28695 maybe-install-html-guile: install-html-guile
28697 install-html-guile: \
28698 configure-guile \
28699 html-guile
28700 @: $(MAKE); $(unstage)
28701 @[ -f ./guile/Makefile ] || exit 0; \
28702 r=`${PWD_COMMAND}`; export r; \
28703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28704 $(HOST_EXPORTS) \
28705 for flag in $(EXTRA_HOST_FLAGS) ; do \
28706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28707 done; \
28708 echo "Doing install-html in guile" ; \
28709 (cd $(HOST_SUBDIR)/guile && \
28710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28712 "RANLIB=$${RANLIB}" \
28713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28714 install-html) \
28715 || exit 1
28717 @endif guile
28719 .PHONY: maybe-installcheck-guile installcheck-guile
28720 maybe-installcheck-guile:
28721 @if guile
28722 maybe-installcheck-guile: installcheck-guile
28724 installcheck-guile: \
28725 configure-guile
28726 @: $(MAKE); $(unstage)
28727 @[ -f ./guile/Makefile ] || exit 0; \
28728 r=`${PWD_COMMAND}`; export r; \
28729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28730 $(HOST_EXPORTS) \
28731 for flag in $(EXTRA_HOST_FLAGS) ; do \
28732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28733 done; \
28734 echo "Doing installcheck in guile" ; \
28735 (cd $(HOST_SUBDIR)/guile && \
28736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28738 "RANLIB=$${RANLIB}" \
28739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28740 installcheck) \
28741 || exit 1
28743 @endif guile
28745 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
28746 maybe-mostlyclean-guile:
28747 @if guile
28748 maybe-mostlyclean-guile: mostlyclean-guile
28750 mostlyclean-guile:
28751 @: $(MAKE); $(unstage)
28752 @[ -f ./guile/Makefile ] || exit 0; \
28753 r=`${PWD_COMMAND}`; export r; \
28754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28755 $(HOST_EXPORTS) \
28756 for flag in $(EXTRA_HOST_FLAGS) ; do \
28757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28758 done; \
28759 echo "Doing mostlyclean in guile" ; \
28760 (cd $(HOST_SUBDIR)/guile && \
28761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28763 "RANLIB=$${RANLIB}" \
28764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28765 mostlyclean) \
28766 || exit 1
28768 @endif guile
28770 .PHONY: maybe-clean-guile clean-guile
28771 maybe-clean-guile:
28772 @if guile
28773 maybe-clean-guile: clean-guile
28775 clean-guile:
28776 @: $(MAKE); $(unstage)
28777 @[ -f ./guile/Makefile ] || exit 0; \
28778 r=`${PWD_COMMAND}`; export r; \
28779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28780 $(HOST_EXPORTS) \
28781 for flag in $(EXTRA_HOST_FLAGS) ; do \
28782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28783 done; \
28784 echo "Doing clean in guile" ; \
28785 (cd $(HOST_SUBDIR)/guile && \
28786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28788 "RANLIB=$${RANLIB}" \
28789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28790 clean) \
28791 || exit 1
28793 @endif guile
28795 .PHONY: maybe-distclean-guile distclean-guile
28796 maybe-distclean-guile:
28797 @if guile
28798 maybe-distclean-guile: distclean-guile
28800 distclean-guile:
28801 @: $(MAKE); $(unstage)
28802 @[ -f ./guile/Makefile ] || exit 0; \
28803 r=`${PWD_COMMAND}`; export r; \
28804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28805 $(HOST_EXPORTS) \
28806 for flag in $(EXTRA_HOST_FLAGS) ; do \
28807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28808 done; \
28809 echo "Doing distclean in guile" ; \
28810 (cd $(HOST_SUBDIR)/guile && \
28811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28813 "RANLIB=$${RANLIB}" \
28814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28815 distclean) \
28816 || exit 1
28818 @endif guile
28820 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
28821 maybe-maintainer-clean-guile:
28822 @if guile
28823 maybe-maintainer-clean-guile: maintainer-clean-guile
28825 maintainer-clean-guile:
28826 @: $(MAKE); $(unstage)
28827 @[ -f ./guile/Makefile ] || exit 0; \
28828 r=`${PWD_COMMAND}`; export r; \
28829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28830 $(HOST_EXPORTS) \
28831 for flag in $(EXTRA_HOST_FLAGS) ; do \
28832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28833 done; \
28834 echo "Doing maintainer-clean in guile" ; \
28835 (cd $(HOST_SUBDIR)/guile && \
28836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28838 "RANLIB=$${RANLIB}" \
28839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28840 maintainer-clean) \
28841 || exit 1
28843 @endif guile
28847 .PHONY: configure-tk maybe-configure-tk
28848 maybe-configure-tk:
28849 @if gcc-bootstrap
28850 configure-tk: stage_current
28851 @endif gcc-bootstrap
28852 @if tk
28853 maybe-configure-tk: configure-tk
28854 configure-tk:
28855 @: $(MAKE); $(unstage)
28856 @r=`${PWD_COMMAND}`; export r; \
28857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28858 test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
28859 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk ; \
28860 $(HOST_EXPORTS) \
28861 echo Configuring in $(HOST_SUBDIR)/tk; \
28862 cd "$(HOST_SUBDIR)/tk" || exit 1; \
28863 case $(srcdir) in \
28864 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28865 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
28866 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28867 esac; \
28868 module_srcdir=tk; \
28869 $(SHELL) \
28870 $$s/$$module_srcdir/configure \
28871 --srcdir=$${topdir}/$$module_srcdir \
28872 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
28873 --target=${target_alias} \
28874 || exit 1
28875 @endif tk
28881 .PHONY: all-tk maybe-all-tk
28882 maybe-all-tk:
28883 @if gcc-bootstrap
28884 all-tk: stage_current
28885 @endif gcc-bootstrap
28886 @if tk
28887 TARGET-tk=all
28888 maybe-all-tk: all-tk
28889 all-tk: configure-tk
28890 @: $(MAKE); $(unstage)
28891 @r=`${PWD_COMMAND}`; export r; \
28892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28893 $(HOST_EXPORTS) \
28894 (cd $(HOST_SUBDIR)/tk && \
28895 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
28896 $(TARGET-tk))
28897 @endif tk
28902 .PHONY: check-tk maybe-check-tk
28903 maybe-check-tk:
28904 @if tk
28905 maybe-check-tk: check-tk
28907 check-tk:
28908 @: $(MAKE); $(unstage)
28909 @r=`${PWD_COMMAND}`; export r; \
28910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28911 $(HOST_EXPORTS) \
28912 (cd $(HOST_SUBDIR)/tk && \
28913 $(MAKE) $(FLAGS_TO_PASS) check)
28915 @endif tk
28917 .PHONY: install-tk maybe-install-tk
28918 maybe-install-tk:
28919 @if tk
28920 maybe-install-tk: install-tk
28922 install-tk: installdirs
28923 @: $(MAKE); $(unstage)
28924 @r=`${PWD_COMMAND}`; export r; \
28925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28926 $(HOST_EXPORTS) \
28927 (cd $(HOST_SUBDIR)/tk && \
28928 $(MAKE) $(FLAGS_TO_PASS) install)
28930 @endif tk
28932 .PHONY: install-strip-tk maybe-install-strip-tk
28933 maybe-install-strip-tk:
28934 @if tk
28935 maybe-install-strip-tk: install-strip-tk
28937 install-strip-tk: installdirs
28938 @: $(MAKE); $(unstage)
28939 @r=`${PWD_COMMAND}`; export r; \
28940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28941 $(HOST_EXPORTS) \
28942 (cd $(HOST_SUBDIR)/tk && \
28943 $(MAKE) $(FLAGS_TO_PASS) install-strip)
28945 @endif tk
28947 # Other targets (info, dvi, pdf, etc.)
28949 .PHONY: maybe-info-tk info-tk
28950 maybe-info-tk:
28951 @if tk
28952 maybe-info-tk: info-tk
28954 info-tk: \
28955 configure-tk
28956 @: $(MAKE); $(unstage)
28957 @[ -f ./tk/Makefile ] || exit 0; \
28958 r=`${PWD_COMMAND}`; export r; \
28959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28960 $(HOST_EXPORTS) \
28961 for flag in $(EXTRA_HOST_FLAGS) ; do \
28962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28963 done; \
28964 echo "Doing info in tk" ; \
28965 (cd $(HOST_SUBDIR)/tk && \
28966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28968 "RANLIB=$${RANLIB}" \
28969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28970 info) \
28971 || exit 1
28973 @endif tk
28975 .PHONY: maybe-dvi-tk dvi-tk
28976 maybe-dvi-tk:
28977 @if tk
28978 maybe-dvi-tk: dvi-tk
28980 dvi-tk: \
28981 configure-tk
28982 @: $(MAKE); $(unstage)
28983 @[ -f ./tk/Makefile ] || exit 0; \
28984 r=`${PWD_COMMAND}`; export r; \
28985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28986 $(HOST_EXPORTS) \
28987 for flag in $(EXTRA_HOST_FLAGS) ; do \
28988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28989 done; \
28990 echo "Doing dvi in tk" ; \
28991 (cd $(HOST_SUBDIR)/tk && \
28992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28994 "RANLIB=$${RANLIB}" \
28995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
28996 dvi) \
28997 || exit 1
28999 @endif tk
29001 .PHONY: maybe-pdf-tk pdf-tk
29002 maybe-pdf-tk:
29003 @if tk
29004 maybe-pdf-tk: pdf-tk
29006 pdf-tk: \
29007 configure-tk
29008 @: $(MAKE); $(unstage)
29009 @[ -f ./tk/Makefile ] || exit 0; \
29010 r=`${PWD_COMMAND}`; export r; \
29011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29012 $(HOST_EXPORTS) \
29013 for flag in $(EXTRA_HOST_FLAGS) ; do \
29014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29015 done; \
29016 echo "Doing pdf in tk" ; \
29017 (cd $(HOST_SUBDIR)/tk && \
29018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29020 "RANLIB=$${RANLIB}" \
29021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29022 pdf) \
29023 || exit 1
29025 @endif tk
29027 .PHONY: maybe-html-tk html-tk
29028 maybe-html-tk:
29029 @if tk
29030 maybe-html-tk: html-tk
29032 html-tk: \
29033 configure-tk
29034 @: $(MAKE); $(unstage)
29035 @[ -f ./tk/Makefile ] || exit 0; \
29036 r=`${PWD_COMMAND}`; export r; \
29037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29038 $(HOST_EXPORTS) \
29039 for flag in $(EXTRA_HOST_FLAGS) ; do \
29040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29041 done; \
29042 echo "Doing html in tk" ; \
29043 (cd $(HOST_SUBDIR)/tk && \
29044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29046 "RANLIB=$${RANLIB}" \
29047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29048 html) \
29049 || exit 1
29051 @endif tk
29053 .PHONY: maybe-TAGS-tk TAGS-tk
29054 maybe-TAGS-tk:
29055 @if tk
29056 maybe-TAGS-tk: TAGS-tk
29058 TAGS-tk: \
29059 configure-tk
29060 @: $(MAKE); $(unstage)
29061 @[ -f ./tk/Makefile ] || exit 0; \
29062 r=`${PWD_COMMAND}`; export r; \
29063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29064 $(HOST_EXPORTS) \
29065 for flag in $(EXTRA_HOST_FLAGS) ; do \
29066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29067 done; \
29068 echo "Doing TAGS in tk" ; \
29069 (cd $(HOST_SUBDIR)/tk && \
29070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29072 "RANLIB=$${RANLIB}" \
29073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29074 TAGS) \
29075 || exit 1
29077 @endif tk
29079 .PHONY: maybe-install-info-tk install-info-tk
29080 maybe-install-info-tk:
29081 @if tk
29082 maybe-install-info-tk: install-info-tk
29084 install-info-tk: \
29085 configure-tk \
29086 info-tk
29087 @: $(MAKE); $(unstage)
29088 @[ -f ./tk/Makefile ] || exit 0; \
29089 r=`${PWD_COMMAND}`; export r; \
29090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29091 $(HOST_EXPORTS) \
29092 for flag in $(EXTRA_HOST_FLAGS) ; do \
29093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29094 done; \
29095 echo "Doing install-info in tk" ; \
29096 (cd $(HOST_SUBDIR)/tk && \
29097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29099 "RANLIB=$${RANLIB}" \
29100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29101 install-info) \
29102 || exit 1
29104 @endif tk
29106 .PHONY: maybe-install-pdf-tk install-pdf-tk
29107 maybe-install-pdf-tk:
29108 @if tk
29109 maybe-install-pdf-tk: install-pdf-tk
29111 install-pdf-tk: \
29112 configure-tk \
29113 pdf-tk
29114 @: $(MAKE); $(unstage)
29115 @[ -f ./tk/Makefile ] || exit 0; \
29116 r=`${PWD_COMMAND}`; export r; \
29117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29118 $(HOST_EXPORTS) \
29119 for flag in $(EXTRA_HOST_FLAGS) ; do \
29120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29121 done; \
29122 echo "Doing install-pdf in tk" ; \
29123 (cd $(HOST_SUBDIR)/tk && \
29124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29126 "RANLIB=$${RANLIB}" \
29127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29128 install-pdf) \
29129 || exit 1
29131 @endif tk
29133 .PHONY: maybe-install-html-tk install-html-tk
29134 maybe-install-html-tk:
29135 @if tk
29136 maybe-install-html-tk: install-html-tk
29138 install-html-tk: \
29139 configure-tk \
29140 html-tk
29141 @: $(MAKE); $(unstage)
29142 @[ -f ./tk/Makefile ] || exit 0; \
29143 r=`${PWD_COMMAND}`; export r; \
29144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29145 $(HOST_EXPORTS) \
29146 for flag in $(EXTRA_HOST_FLAGS) ; do \
29147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29148 done; \
29149 echo "Doing install-html in tk" ; \
29150 (cd $(HOST_SUBDIR)/tk && \
29151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29153 "RANLIB=$${RANLIB}" \
29154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29155 install-html) \
29156 || exit 1
29158 @endif tk
29160 .PHONY: maybe-installcheck-tk installcheck-tk
29161 maybe-installcheck-tk:
29162 @if tk
29163 maybe-installcheck-tk: installcheck-tk
29165 installcheck-tk: \
29166 configure-tk
29167 @: $(MAKE); $(unstage)
29168 @[ -f ./tk/Makefile ] || exit 0; \
29169 r=`${PWD_COMMAND}`; export r; \
29170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29171 $(HOST_EXPORTS) \
29172 for flag in $(EXTRA_HOST_FLAGS) ; do \
29173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29174 done; \
29175 echo "Doing installcheck in tk" ; \
29176 (cd $(HOST_SUBDIR)/tk && \
29177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29179 "RANLIB=$${RANLIB}" \
29180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29181 installcheck) \
29182 || exit 1
29184 @endif tk
29186 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
29187 maybe-mostlyclean-tk:
29188 @if tk
29189 maybe-mostlyclean-tk: mostlyclean-tk
29191 mostlyclean-tk:
29192 @: $(MAKE); $(unstage)
29193 @[ -f ./tk/Makefile ] || exit 0; \
29194 r=`${PWD_COMMAND}`; export r; \
29195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29196 $(HOST_EXPORTS) \
29197 for flag in $(EXTRA_HOST_FLAGS) ; do \
29198 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29199 done; \
29200 echo "Doing mostlyclean in tk" ; \
29201 (cd $(HOST_SUBDIR)/tk && \
29202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29204 "RANLIB=$${RANLIB}" \
29205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29206 mostlyclean) \
29207 || exit 1
29209 @endif tk
29211 .PHONY: maybe-clean-tk clean-tk
29212 maybe-clean-tk:
29213 @if tk
29214 maybe-clean-tk: clean-tk
29216 clean-tk:
29217 @: $(MAKE); $(unstage)
29218 @[ -f ./tk/Makefile ] || exit 0; \
29219 r=`${PWD_COMMAND}`; export r; \
29220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29221 $(HOST_EXPORTS) \
29222 for flag in $(EXTRA_HOST_FLAGS) ; do \
29223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29224 done; \
29225 echo "Doing clean in tk" ; \
29226 (cd $(HOST_SUBDIR)/tk && \
29227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29229 "RANLIB=$${RANLIB}" \
29230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29231 clean) \
29232 || exit 1
29234 @endif tk
29236 .PHONY: maybe-distclean-tk distclean-tk
29237 maybe-distclean-tk:
29238 @if tk
29239 maybe-distclean-tk: distclean-tk
29241 distclean-tk:
29242 @: $(MAKE); $(unstage)
29243 @[ -f ./tk/Makefile ] || exit 0; \
29244 r=`${PWD_COMMAND}`; export r; \
29245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29246 $(HOST_EXPORTS) \
29247 for flag in $(EXTRA_HOST_FLAGS) ; do \
29248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29249 done; \
29250 echo "Doing distclean in tk" ; \
29251 (cd $(HOST_SUBDIR)/tk && \
29252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29254 "RANLIB=$${RANLIB}" \
29255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29256 distclean) \
29257 || exit 1
29259 @endif tk
29261 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
29262 maybe-maintainer-clean-tk:
29263 @if tk
29264 maybe-maintainer-clean-tk: maintainer-clean-tk
29266 maintainer-clean-tk:
29267 @: $(MAKE); $(unstage)
29268 @[ -f ./tk/Makefile ] || exit 0; \
29269 r=`${PWD_COMMAND}`; export r; \
29270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29271 $(HOST_EXPORTS) \
29272 for flag in $(EXTRA_HOST_FLAGS) ; do \
29273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29274 done; \
29275 echo "Doing maintainer-clean in tk" ; \
29276 (cd $(HOST_SUBDIR)/tk && \
29277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29279 "RANLIB=$${RANLIB}" \
29280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29281 maintainer-clean) \
29282 || exit 1
29284 @endif tk
29288 .PHONY: configure-libtermcap maybe-configure-libtermcap
29289 maybe-configure-libtermcap:
29290 @if gcc-bootstrap
29291 configure-libtermcap: stage_current
29292 @endif gcc-bootstrap
29293 @if libtermcap
29294 maybe-configure-libtermcap: configure-libtermcap
29295 configure-libtermcap:
29296 @: $(MAKE); $(unstage)
29297 @r=`${PWD_COMMAND}`; export r; \
29298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29299 test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
29300 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap ; \
29301 $(HOST_EXPORTS) \
29302 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
29303 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
29304 case $(srcdir) in \
29305 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29306 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
29307 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29308 esac; \
29309 module_srcdir=libtermcap; \
29310 $(SHELL) \
29311 $$s/$$module_srcdir/configure \
29312 --srcdir=$${topdir}/$$module_srcdir \
29313 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29314 --target=${target_alias} \
29315 || exit 1
29316 @endif libtermcap
29322 .PHONY: all-libtermcap maybe-all-libtermcap
29323 maybe-all-libtermcap:
29324 @if gcc-bootstrap
29325 all-libtermcap: stage_current
29326 @endif gcc-bootstrap
29327 @if libtermcap
29328 TARGET-libtermcap=all
29329 maybe-all-libtermcap: all-libtermcap
29330 all-libtermcap: configure-libtermcap
29331 @: $(MAKE); $(unstage)
29332 @r=`${PWD_COMMAND}`; export r; \
29333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29334 $(HOST_EXPORTS) \
29335 (cd $(HOST_SUBDIR)/libtermcap && \
29336 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
29337 $(TARGET-libtermcap))
29338 @endif libtermcap
29343 .PHONY: check-libtermcap maybe-check-libtermcap
29344 maybe-check-libtermcap:
29345 @if libtermcap
29346 maybe-check-libtermcap: check-libtermcap
29348 check-libtermcap:
29350 @endif libtermcap
29352 .PHONY: install-libtermcap maybe-install-libtermcap
29353 maybe-install-libtermcap:
29354 @if libtermcap
29355 maybe-install-libtermcap: install-libtermcap
29357 install-libtermcap: installdirs
29358 @: $(MAKE); $(unstage)
29359 @r=`${PWD_COMMAND}`; export r; \
29360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29361 $(HOST_EXPORTS) \
29362 (cd $(HOST_SUBDIR)/libtermcap && \
29363 $(MAKE) $(FLAGS_TO_PASS) install)
29365 @endif libtermcap
29367 .PHONY: install-strip-libtermcap maybe-install-strip-libtermcap
29368 maybe-install-strip-libtermcap:
29369 @if libtermcap
29370 maybe-install-strip-libtermcap: install-strip-libtermcap
29372 install-strip-libtermcap: installdirs
29373 @: $(MAKE); $(unstage)
29374 @r=`${PWD_COMMAND}`; export r; \
29375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29376 $(HOST_EXPORTS) \
29377 (cd $(HOST_SUBDIR)/libtermcap && \
29378 $(MAKE) $(FLAGS_TO_PASS) install-strip)
29380 @endif libtermcap
29382 # Other targets (info, dvi, pdf, etc.)
29384 .PHONY: maybe-info-libtermcap info-libtermcap
29385 maybe-info-libtermcap:
29386 @if libtermcap
29387 maybe-info-libtermcap: info-libtermcap
29389 info-libtermcap: \
29390 configure-libtermcap
29391 @: $(MAKE); $(unstage)
29392 @[ -f ./libtermcap/Makefile ] || exit 0; \
29393 r=`${PWD_COMMAND}`; export r; \
29394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29395 $(HOST_EXPORTS) \
29396 for flag in $(EXTRA_HOST_FLAGS) ; do \
29397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29398 done; \
29399 echo "Doing info in libtermcap" ; \
29400 (cd $(HOST_SUBDIR)/libtermcap && \
29401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29403 "RANLIB=$${RANLIB}" \
29404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29405 info) \
29406 || exit 1
29408 @endif libtermcap
29410 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
29411 maybe-dvi-libtermcap:
29412 @if libtermcap
29413 maybe-dvi-libtermcap: dvi-libtermcap
29415 dvi-libtermcap: \
29416 configure-libtermcap
29417 @: $(MAKE); $(unstage)
29418 @[ -f ./libtermcap/Makefile ] || exit 0; \
29419 r=`${PWD_COMMAND}`; export r; \
29420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29421 $(HOST_EXPORTS) \
29422 for flag in $(EXTRA_HOST_FLAGS) ; do \
29423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29424 done; \
29425 echo "Doing dvi in libtermcap" ; \
29426 (cd $(HOST_SUBDIR)/libtermcap && \
29427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29429 "RANLIB=$${RANLIB}" \
29430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29431 dvi) \
29432 || exit 1
29434 @endif libtermcap
29436 .PHONY: maybe-pdf-libtermcap pdf-libtermcap
29437 maybe-pdf-libtermcap:
29438 @if libtermcap
29439 maybe-pdf-libtermcap: pdf-libtermcap
29441 pdf-libtermcap: \
29442 configure-libtermcap
29443 @: $(MAKE); $(unstage)
29444 @[ -f ./libtermcap/Makefile ] || exit 0; \
29445 r=`${PWD_COMMAND}`; export r; \
29446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29447 $(HOST_EXPORTS) \
29448 for flag in $(EXTRA_HOST_FLAGS) ; do \
29449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29450 done; \
29451 echo "Doing pdf in libtermcap" ; \
29452 (cd $(HOST_SUBDIR)/libtermcap && \
29453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29455 "RANLIB=$${RANLIB}" \
29456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29457 pdf) \
29458 || exit 1
29460 @endif libtermcap
29462 .PHONY: maybe-html-libtermcap html-libtermcap
29463 maybe-html-libtermcap:
29464 @if libtermcap
29465 maybe-html-libtermcap: html-libtermcap
29467 html-libtermcap: \
29468 configure-libtermcap
29469 @: $(MAKE); $(unstage)
29470 @[ -f ./libtermcap/Makefile ] || exit 0; \
29471 r=`${PWD_COMMAND}`; export r; \
29472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29473 $(HOST_EXPORTS) \
29474 for flag in $(EXTRA_HOST_FLAGS) ; do \
29475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29476 done; \
29477 echo "Doing html in libtermcap" ; \
29478 (cd $(HOST_SUBDIR)/libtermcap && \
29479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29481 "RANLIB=$${RANLIB}" \
29482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29483 html) \
29484 || exit 1
29486 @endif libtermcap
29488 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
29489 maybe-TAGS-libtermcap:
29490 @if libtermcap
29491 maybe-TAGS-libtermcap: TAGS-libtermcap
29493 TAGS-libtermcap: \
29494 configure-libtermcap
29495 @: $(MAKE); $(unstage)
29496 @[ -f ./libtermcap/Makefile ] || exit 0; \
29497 r=`${PWD_COMMAND}`; export r; \
29498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29499 $(HOST_EXPORTS) \
29500 for flag in $(EXTRA_HOST_FLAGS) ; do \
29501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29502 done; \
29503 echo "Doing TAGS in libtermcap" ; \
29504 (cd $(HOST_SUBDIR)/libtermcap && \
29505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29507 "RANLIB=$${RANLIB}" \
29508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29509 TAGS) \
29510 || exit 1
29512 @endif libtermcap
29514 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
29515 maybe-install-info-libtermcap:
29516 @if libtermcap
29517 maybe-install-info-libtermcap: install-info-libtermcap
29519 install-info-libtermcap: \
29520 configure-libtermcap \
29521 info-libtermcap
29522 @: $(MAKE); $(unstage)
29523 @[ -f ./libtermcap/Makefile ] || exit 0; \
29524 r=`${PWD_COMMAND}`; export r; \
29525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29526 $(HOST_EXPORTS) \
29527 for flag in $(EXTRA_HOST_FLAGS) ; do \
29528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29529 done; \
29530 echo "Doing install-info in libtermcap" ; \
29531 (cd $(HOST_SUBDIR)/libtermcap && \
29532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29534 "RANLIB=$${RANLIB}" \
29535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29536 install-info) \
29537 || exit 1
29539 @endif libtermcap
29541 .PHONY: maybe-install-pdf-libtermcap install-pdf-libtermcap
29542 maybe-install-pdf-libtermcap:
29543 @if libtermcap
29544 maybe-install-pdf-libtermcap: install-pdf-libtermcap
29546 install-pdf-libtermcap: \
29547 configure-libtermcap \
29548 pdf-libtermcap
29549 @: $(MAKE); $(unstage)
29550 @[ -f ./libtermcap/Makefile ] || exit 0; \
29551 r=`${PWD_COMMAND}`; export r; \
29552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29553 $(HOST_EXPORTS) \
29554 for flag in $(EXTRA_HOST_FLAGS) ; do \
29555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29556 done; \
29557 echo "Doing install-pdf in libtermcap" ; \
29558 (cd $(HOST_SUBDIR)/libtermcap && \
29559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29561 "RANLIB=$${RANLIB}" \
29562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29563 install-pdf) \
29564 || exit 1
29566 @endif libtermcap
29568 .PHONY: maybe-install-html-libtermcap install-html-libtermcap
29569 maybe-install-html-libtermcap:
29570 @if libtermcap
29571 maybe-install-html-libtermcap: install-html-libtermcap
29573 install-html-libtermcap: \
29574 configure-libtermcap \
29575 html-libtermcap
29576 @: $(MAKE); $(unstage)
29577 @[ -f ./libtermcap/Makefile ] || exit 0; \
29578 r=`${PWD_COMMAND}`; export r; \
29579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29580 $(HOST_EXPORTS) \
29581 for flag in $(EXTRA_HOST_FLAGS) ; do \
29582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29583 done; \
29584 echo "Doing install-html in libtermcap" ; \
29585 (cd $(HOST_SUBDIR)/libtermcap && \
29586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29588 "RANLIB=$${RANLIB}" \
29589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29590 install-html) \
29591 || exit 1
29593 @endif libtermcap
29595 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
29596 maybe-installcheck-libtermcap:
29597 @if libtermcap
29598 maybe-installcheck-libtermcap: installcheck-libtermcap
29600 installcheck-libtermcap: \
29601 configure-libtermcap
29602 @: $(MAKE); $(unstage)
29603 @[ -f ./libtermcap/Makefile ] || exit 0; \
29604 r=`${PWD_COMMAND}`; export r; \
29605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29606 $(HOST_EXPORTS) \
29607 for flag in $(EXTRA_HOST_FLAGS) ; do \
29608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29609 done; \
29610 echo "Doing installcheck in libtermcap" ; \
29611 (cd $(HOST_SUBDIR)/libtermcap && \
29612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29614 "RANLIB=$${RANLIB}" \
29615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29616 installcheck) \
29617 || exit 1
29619 @endif libtermcap
29621 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
29622 maybe-mostlyclean-libtermcap:
29623 @if libtermcap
29624 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
29626 # libtermcap doesn't support mostlyclean.
29627 mostlyclean-libtermcap:
29629 @endif libtermcap
29631 .PHONY: maybe-clean-libtermcap clean-libtermcap
29632 maybe-clean-libtermcap:
29633 @if libtermcap
29634 maybe-clean-libtermcap: clean-libtermcap
29636 # libtermcap doesn't support clean.
29637 clean-libtermcap:
29639 @endif libtermcap
29641 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
29642 maybe-distclean-libtermcap:
29643 @if libtermcap
29644 maybe-distclean-libtermcap: distclean-libtermcap
29646 # libtermcap doesn't support distclean.
29647 distclean-libtermcap:
29649 @endif libtermcap
29651 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
29652 maybe-maintainer-clean-libtermcap:
29653 @if libtermcap
29654 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
29656 # libtermcap doesn't support maintainer-clean.
29657 maintainer-clean-libtermcap:
29659 @endif libtermcap
29663 .PHONY: configure-utils maybe-configure-utils
29664 maybe-configure-utils:
29665 @if gcc-bootstrap
29666 configure-utils: stage_current
29667 @endif gcc-bootstrap
29668 @if utils
29669 maybe-configure-utils: configure-utils
29670 configure-utils:
29671 @: $(MAKE); $(unstage)
29672 @r=`${PWD_COMMAND}`; export r; \
29673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29674 test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
29675 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils ; \
29676 $(HOST_EXPORTS) \
29677 echo Configuring in $(HOST_SUBDIR)/utils; \
29678 cd "$(HOST_SUBDIR)/utils" || exit 1; \
29679 case $(srcdir) in \
29680 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29681 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
29682 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29683 esac; \
29684 module_srcdir=utils; \
29685 $(SHELL) \
29686 $$s/$$module_srcdir/configure \
29687 --srcdir=$${topdir}/$$module_srcdir \
29688 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
29689 --target=${target_alias} \
29690 || exit 1
29691 @endif utils
29697 .PHONY: all-utils maybe-all-utils
29698 maybe-all-utils:
29699 @if gcc-bootstrap
29700 all-utils: stage_current
29701 @endif gcc-bootstrap
29702 @if utils
29703 TARGET-utils=all
29704 maybe-all-utils: all-utils
29705 all-utils: configure-utils
29706 @: $(MAKE); $(unstage)
29707 @r=`${PWD_COMMAND}`; export r; \
29708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29709 $(HOST_EXPORTS) \
29710 (cd $(HOST_SUBDIR)/utils && \
29711 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
29712 $(TARGET-utils))
29713 @endif utils
29718 .PHONY: check-utils maybe-check-utils
29719 maybe-check-utils:
29720 @if utils
29721 maybe-check-utils: check-utils
29723 check-utils:
29725 @endif utils
29727 .PHONY: install-utils maybe-install-utils
29728 maybe-install-utils:
29729 @if utils
29730 maybe-install-utils: install-utils
29732 install-utils: installdirs
29733 @: $(MAKE); $(unstage)
29734 @r=`${PWD_COMMAND}`; export r; \
29735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29736 $(HOST_EXPORTS) \
29737 (cd $(HOST_SUBDIR)/utils && \
29738 $(MAKE) $(FLAGS_TO_PASS) install)
29740 @endif utils
29742 .PHONY: install-strip-utils maybe-install-strip-utils
29743 maybe-install-strip-utils:
29744 @if utils
29745 maybe-install-strip-utils: install-strip-utils
29747 install-strip-utils: installdirs
29748 @: $(MAKE); $(unstage)
29749 @r=`${PWD_COMMAND}`; export r; \
29750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29751 $(HOST_EXPORTS) \
29752 (cd $(HOST_SUBDIR)/utils && \
29753 $(MAKE) $(FLAGS_TO_PASS) install-strip)
29755 @endif utils
29757 # Other targets (info, dvi, pdf, etc.)
29759 .PHONY: maybe-info-utils info-utils
29760 maybe-info-utils:
29761 @if utils
29762 maybe-info-utils: info-utils
29764 info-utils: \
29765 configure-utils
29766 @: $(MAKE); $(unstage)
29767 @[ -f ./utils/Makefile ] || exit 0; \
29768 r=`${PWD_COMMAND}`; export r; \
29769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29770 $(HOST_EXPORTS) \
29771 for flag in $(EXTRA_HOST_FLAGS) ; do \
29772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29773 done; \
29774 echo "Doing info in utils" ; \
29775 (cd $(HOST_SUBDIR)/utils && \
29776 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29778 "RANLIB=$${RANLIB}" \
29779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29780 info) \
29781 || exit 1
29783 @endif utils
29785 .PHONY: maybe-dvi-utils dvi-utils
29786 maybe-dvi-utils:
29787 @if utils
29788 maybe-dvi-utils: dvi-utils
29790 dvi-utils: \
29791 configure-utils
29792 @: $(MAKE); $(unstage)
29793 @[ -f ./utils/Makefile ] || exit 0; \
29794 r=`${PWD_COMMAND}`; export r; \
29795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29796 $(HOST_EXPORTS) \
29797 for flag in $(EXTRA_HOST_FLAGS) ; do \
29798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29799 done; \
29800 echo "Doing dvi in utils" ; \
29801 (cd $(HOST_SUBDIR)/utils && \
29802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29804 "RANLIB=$${RANLIB}" \
29805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29806 dvi) \
29807 || exit 1
29809 @endif utils
29811 .PHONY: maybe-pdf-utils pdf-utils
29812 maybe-pdf-utils:
29813 @if utils
29814 maybe-pdf-utils: pdf-utils
29816 pdf-utils: \
29817 configure-utils
29818 @: $(MAKE); $(unstage)
29819 @[ -f ./utils/Makefile ] || exit 0; \
29820 r=`${PWD_COMMAND}`; export r; \
29821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29822 $(HOST_EXPORTS) \
29823 for flag in $(EXTRA_HOST_FLAGS) ; do \
29824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29825 done; \
29826 echo "Doing pdf in utils" ; \
29827 (cd $(HOST_SUBDIR)/utils && \
29828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29830 "RANLIB=$${RANLIB}" \
29831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29832 pdf) \
29833 || exit 1
29835 @endif utils
29837 .PHONY: maybe-html-utils html-utils
29838 maybe-html-utils:
29839 @if utils
29840 maybe-html-utils: html-utils
29842 html-utils: \
29843 configure-utils
29844 @: $(MAKE); $(unstage)
29845 @[ -f ./utils/Makefile ] || exit 0; \
29846 r=`${PWD_COMMAND}`; export r; \
29847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29848 $(HOST_EXPORTS) \
29849 for flag in $(EXTRA_HOST_FLAGS) ; do \
29850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29851 done; \
29852 echo "Doing html in utils" ; \
29853 (cd $(HOST_SUBDIR)/utils && \
29854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29856 "RANLIB=$${RANLIB}" \
29857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29858 html) \
29859 || exit 1
29861 @endif utils
29863 .PHONY: maybe-TAGS-utils TAGS-utils
29864 maybe-TAGS-utils:
29865 @if utils
29866 maybe-TAGS-utils: TAGS-utils
29868 TAGS-utils: \
29869 configure-utils
29870 @: $(MAKE); $(unstage)
29871 @[ -f ./utils/Makefile ] || exit 0; \
29872 r=`${PWD_COMMAND}`; export r; \
29873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29874 $(HOST_EXPORTS) \
29875 for flag in $(EXTRA_HOST_FLAGS) ; do \
29876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29877 done; \
29878 echo "Doing TAGS in utils" ; \
29879 (cd $(HOST_SUBDIR)/utils && \
29880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29882 "RANLIB=$${RANLIB}" \
29883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29884 TAGS) \
29885 || exit 1
29887 @endif utils
29889 .PHONY: maybe-install-info-utils install-info-utils
29890 maybe-install-info-utils:
29891 @if utils
29892 maybe-install-info-utils: install-info-utils
29894 install-info-utils: \
29895 configure-utils \
29896 info-utils
29897 @: $(MAKE); $(unstage)
29898 @[ -f ./utils/Makefile ] || exit 0; \
29899 r=`${PWD_COMMAND}`; export r; \
29900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29901 $(HOST_EXPORTS) \
29902 for flag in $(EXTRA_HOST_FLAGS) ; do \
29903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29904 done; \
29905 echo "Doing install-info in utils" ; \
29906 (cd $(HOST_SUBDIR)/utils && \
29907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29909 "RANLIB=$${RANLIB}" \
29910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29911 install-info) \
29912 || exit 1
29914 @endif utils
29916 .PHONY: maybe-install-pdf-utils install-pdf-utils
29917 maybe-install-pdf-utils:
29918 @if utils
29919 maybe-install-pdf-utils: install-pdf-utils
29921 install-pdf-utils: \
29922 configure-utils \
29923 pdf-utils
29924 @: $(MAKE); $(unstage)
29925 @[ -f ./utils/Makefile ] || exit 0; \
29926 r=`${PWD_COMMAND}`; export r; \
29927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29928 $(HOST_EXPORTS) \
29929 for flag in $(EXTRA_HOST_FLAGS) ; do \
29930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29931 done; \
29932 echo "Doing install-pdf in utils" ; \
29933 (cd $(HOST_SUBDIR)/utils && \
29934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29936 "RANLIB=$${RANLIB}" \
29937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29938 install-pdf) \
29939 || exit 1
29941 @endif utils
29943 .PHONY: maybe-install-html-utils install-html-utils
29944 maybe-install-html-utils:
29945 @if utils
29946 maybe-install-html-utils: install-html-utils
29948 install-html-utils: \
29949 configure-utils \
29950 html-utils
29951 @: $(MAKE); $(unstage)
29952 @[ -f ./utils/Makefile ] || exit 0; \
29953 r=`${PWD_COMMAND}`; export r; \
29954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29955 $(HOST_EXPORTS) \
29956 for flag in $(EXTRA_HOST_FLAGS) ; do \
29957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29958 done; \
29959 echo "Doing install-html in utils" ; \
29960 (cd $(HOST_SUBDIR)/utils && \
29961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29963 "RANLIB=$${RANLIB}" \
29964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29965 install-html) \
29966 || exit 1
29968 @endif utils
29970 .PHONY: maybe-installcheck-utils installcheck-utils
29971 maybe-installcheck-utils:
29972 @if utils
29973 maybe-installcheck-utils: installcheck-utils
29975 installcheck-utils: \
29976 configure-utils
29977 @: $(MAKE); $(unstage)
29978 @[ -f ./utils/Makefile ] || exit 0; \
29979 r=`${PWD_COMMAND}`; export r; \
29980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29981 $(HOST_EXPORTS) \
29982 for flag in $(EXTRA_HOST_FLAGS) ; do \
29983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29984 done; \
29985 echo "Doing installcheck in utils" ; \
29986 (cd $(HOST_SUBDIR)/utils && \
29987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29989 "RANLIB=$${RANLIB}" \
29990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
29991 installcheck) \
29992 || exit 1
29994 @endif utils
29996 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
29997 maybe-mostlyclean-utils:
29998 @if utils
29999 maybe-mostlyclean-utils: mostlyclean-utils
30001 mostlyclean-utils:
30002 @: $(MAKE); $(unstage)
30003 @[ -f ./utils/Makefile ] || exit 0; \
30004 r=`${PWD_COMMAND}`; export r; \
30005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30006 $(HOST_EXPORTS) \
30007 for flag in $(EXTRA_HOST_FLAGS) ; do \
30008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30009 done; \
30010 echo "Doing mostlyclean in utils" ; \
30011 (cd $(HOST_SUBDIR)/utils && \
30012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30014 "RANLIB=$${RANLIB}" \
30015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30016 mostlyclean) \
30017 || exit 1
30019 @endif utils
30021 .PHONY: maybe-clean-utils clean-utils
30022 maybe-clean-utils:
30023 @if utils
30024 maybe-clean-utils: clean-utils
30026 clean-utils:
30027 @: $(MAKE); $(unstage)
30028 @[ -f ./utils/Makefile ] || exit 0; \
30029 r=`${PWD_COMMAND}`; export r; \
30030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30031 $(HOST_EXPORTS) \
30032 for flag in $(EXTRA_HOST_FLAGS) ; do \
30033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30034 done; \
30035 echo "Doing clean in utils" ; \
30036 (cd $(HOST_SUBDIR)/utils && \
30037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30039 "RANLIB=$${RANLIB}" \
30040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30041 clean) \
30042 || exit 1
30044 @endif utils
30046 .PHONY: maybe-distclean-utils distclean-utils
30047 maybe-distclean-utils:
30048 @if utils
30049 maybe-distclean-utils: distclean-utils
30051 distclean-utils:
30052 @: $(MAKE); $(unstage)
30053 @[ -f ./utils/Makefile ] || exit 0; \
30054 r=`${PWD_COMMAND}`; export r; \
30055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30056 $(HOST_EXPORTS) \
30057 for flag in $(EXTRA_HOST_FLAGS) ; do \
30058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30059 done; \
30060 echo "Doing distclean in utils" ; \
30061 (cd $(HOST_SUBDIR)/utils && \
30062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30064 "RANLIB=$${RANLIB}" \
30065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30066 distclean) \
30067 || exit 1
30069 @endif utils
30071 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
30072 maybe-maintainer-clean-utils:
30073 @if utils
30074 maybe-maintainer-clean-utils: maintainer-clean-utils
30076 maintainer-clean-utils:
30077 @: $(MAKE); $(unstage)
30078 @[ -f ./utils/Makefile ] || exit 0; \
30079 r=`${PWD_COMMAND}`; export r; \
30080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30081 $(HOST_EXPORTS) \
30082 for flag in $(EXTRA_HOST_FLAGS) ; do \
30083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30084 done; \
30085 echo "Doing maintainer-clean in utils" ; \
30086 (cd $(HOST_SUBDIR)/utils && \
30087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30089 "RANLIB=$${RANLIB}" \
30090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30091 maintainer-clean) \
30092 || exit 1
30094 @endif utils
30098 .PHONY: configure-gnattools maybe-configure-gnattools
30099 maybe-configure-gnattools:
30100 @if gcc-bootstrap
30101 configure-gnattools: stage_current
30102 @endif gcc-bootstrap
30103 @if gnattools
30104 maybe-configure-gnattools: configure-gnattools
30105 configure-gnattools:
30106 @: $(MAKE); $(unstage)
30107 @r=`${PWD_COMMAND}`; export r; \
30108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30109 test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
30110 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools ; \
30111 $(HOST_EXPORTS) \
30112 echo Configuring in $(HOST_SUBDIR)/gnattools; \
30113 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
30114 case $(srcdir) in \
30115 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30116 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
30117 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30118 esac; \
30119 module_srcdir=gnattools; \
30120 $(SHELL) \
30121 $$s/$$module_srcdir/configure \
30122 --srcdir=$${topdir}/$$module_srcdir \
30123 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30124 --target=${target_alias} \
30125 || exit 1
30126 @endif gnattools
30132 .PHONY: all-gnattools maybe-all-gnattools
30133 maybe-all-gnattools:
30134 @if gcc-bootstrap
30135 all-gnattools: stage_current
30136 @endif gcc-bootstrap
30137 @if gnattools
30138 TARGET-gnattools=all
30139 maybe-all-gnattools: all-gnattools
30140 all-gnattools: configure-gnattools
30141 @: $(MAKE); $(unstage)
30142 @r=`${PWD_COMMAND}`; export r; \
30143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30144 $(HOST_EXPORTS) \
30145 (cd $(HOST_SUBDIR)/gnattools && \
30146 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
30147 $(TARGET-gnattools))
30148 @endif gnattools
30153 .PHONY: check-gnattools maybe-check-gnattools
30154 maybe-check-gnattools:
30155 @if gnattools
30156 maybe-check-gnattools: check-gnattools
30158 check-gnattools:
30159 @: $(MAKE); $(unstage)
30160 @r=`${PWD_COMMAND}`; export r; \
30161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30162 $(HOST_EXPORTS) \
30163 (cd $(HOST_SUBDIR)/gnattools && \
30164 $(MAKE) $(FLAGS_TO_PASS) check)
30166 @endif gnattools
30168 .PHONY: install-gnattools maybe-install-gnattools
30169 maybe-install-gnattools:
30170 @if gnattools
30171 maybe-install-gnattools: install-gnattools
30173 install-gnattools: installdirs
30174 @: $(MAKE); $(unstage)
30175 @r=`${PWD_COMMAND}`; export r; \
30176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30177 $(HOST_EXPORTS) \
30178 (cd $(HOST_SUBDIR)/gnattools && \
30179 $(MAKE) $(FLAGS_TO_PASS) install)
30181 @endif gnattools
30183 .PHONY: install-strip-gnattools maybe-install-strip-gnattools
30184 maybe-install-strip-gnattools:
30185 @if gnattools
30186 maybe-install-strip-gnattools: install-strip-gnattools
30188 install-strip-gnattools: installdirs
30189 @: $(MAKE); $(unstage)
30190 @r=`${PWD_COMMAND}`; export r; \
30191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30192 $(HOST_EXPORTS) \
30193 (cd $(HOST_SUBDIR)/gnattools && \
30194 $(MAKE) $(FLAGS_TO_PASS) install-strip)
30196 @endif gnattools
30198 # Other targets (info, dvi, pdf, etc.)
30200 .PHONY: maybe-info-gnattools info-gnattools
30201 maybe-info-gnattools:
30202 @if gnattools
30203 maybe-info-gnattools: info-gnattools
30205 info-gnattools: \
30206 configure-gnattools
30207 @: $(MAKE); $(unstage)
30208 @[ -f ./gnattools/Makefile ] || exit 0; \
30209 r=`${PWD_COMMAND}`; export r; \
30210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30211 $(HOST_EXPORTS) \
30212 for flag in $(EXTRA_HOST_FLAGS) ; do \
30213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30214 done; \
30215 echo "Doing info in gnattools" ; \
30216 (cd $(HOST_SUBDIR)/gnattools && \
30217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30219 "RANLIB=$${RANLIB}" \
30220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30221 info) \
30222 || exit 1
30224 @endif gnattools
30226 .PHONY: maybe-dvi-gnattools dvi-gnattools
30227 maybe-dvi-gnattools:
30228 @if gnattools
30229 maybe-dvi-gnattools: dvi-gnattools
30231 dvi-gnattools: \
30232 configure-gnattools
30233 @: $(MAKE); $(unstage)
30234 @[ -f ./gnattools/Makefile ] || exit 0; \
30235 r=`${PWD_COMMAND}`; export r; \
30236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30237 $(HOST_EXPORTS) \
30238 for flag in $(EXTRA_HOST_FLAGS) ; do \
30239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30240 done; \
30241 echo "Doing dvi in gnattools" ; \
30242 (cd $(HOST_SUBDIR)/gnattools && \
30243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30245 "RANLIB=$${RANLIB}" \
30246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30247 dvi) \
30248 || exit 1
30250 @endif gnattools
30252 .PHONY: maybe-pdf-gnattools pdf-gnattools
30253 maybe-pdf-gnattools:
30254 @if gnattools
30255 maybe-pdf-gnattools: pdf-gnattools
30257 pdf-gnattools: \
30258 configure-gnattools
30259 @: $(MAKE); $(unstage)
30260 @[ -f ./gnattools/Makefile ] || exit 0; \
30261 r=`${PWD_COMMAND}`; export r; \
30262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30263 $(HOST_EXPORTS) \
30264 for flag in $(EXTRA_HOST_FLAGS) ; do \
30265 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30266 done; \
30267 echo "Doing pdf in gnattools" ; \
30268 (cd $(HOST_SUBDIR)/gnattools && \
30269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30271 "RANLIB=$${RANLIB}" \
30272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30273 pdf) \
30274 || exit 1
30276 @endif gnattools
30278 .PHONY: maybe-html-gnattools html-gnattools
30279 maybe-html-gnattools:
30280 @if gnattools
30281 maybe-html-gnattools: html-gnattools
30283 html-gnattools: \
30284 configure-gnattools
30285 @: $(MAKE); $(unstage)
30286 @[ -f ./gnattools/Makefile ] || exit 0; \
30287 r=`${PWD_COMMAND}`; export r; \
30288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30289 $(HOST_EXPORTS) \
30290 for flag in $(EXTRA_HOST_FLAGS) ; do \
30291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30292 done; \
30293 echo "Doing html in gnattools" ; \
30294 (cd $(HOST_SUBDIR)/gnattools && \
30295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30297 "RANLIB=$${RANLIB}" \
30298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30299 html) \
30300 || exit 1
30302 @endif gnattools
30304 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
30305 maybe-TAGS-gnattools:
30306 @if gnattools
30307 maybe-TAGS-gnattools: TAGS-gnattools
30309 TAGS-gnattools: \
30310 configure-gnattools
30311 @: $(MAKE); $(unstage)
30312 @[ -f ./gnattools/Makefile ] || exit 0; \
30313 r=`${PWD_COMMAND}`; export r; \
30314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30315 $(HOST_EXPORTS) \
30316 for flag in $(EXTRA_HOST_FLAGS) ; do \
30317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30318 done; \
30319 echo "Doing TAGS in gnattools" ; \
30320 (cd $(HOST_SUBDIR)/gnattools && \
30321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30323 "RANLIB=$${RANLIB}" \
30324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30325 TAGS) \
30326 || exit 1
30328 @endif gnattools
30330 .PHONY: maybe-install-info-gnattools install-info-gnattools
30331 maybe-install-info-gnattools:
30332 @if gnattools
30333 maybe-install-info-gnattools: install-info-gnattools
30335 install-info-gnattools: \
30336 configure-gnattools \
30337 info-gnattools
30338 @: $(MAKE); $(unstage)
30339 @[ -f ./gnattools/Makefile ] || exit 0; \
30340 r=`${PWD_COMMAND}`; export r; \
30341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30342 $(HOST_EXPORTS) \
30343 for flag in $(EXTRA_HOST_FLAGS) ; do \
30344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30345 done; \
30346 echo "Doing install-info in gnattools" ; \
30347 (cd $(HOST_SUBDIR)/gnattools && \
30348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30350 "RANLIB=$${RANLIB}" \
30351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30352 install-info) \
30353 || exit 1
30355 @endif gnattools
30357 .PHONY: maybe-install-pdf-gnattools install-pdf-gnattools
30358 maybe-install-pdf-gnattools:
30359 @if gnattools
30360 maybe-install-pdf-gnattools: install-pdf-gnattools
30362 install-pdf-gnattools: \
30363 configure-gnattools \
30364 pdf-gnattools
30365 @: $(MAKE); $(unstage)
30366 @[ -f ./gnattools/Makefile ] || exit 0; \
30367 r=`${PWD_COMMAND}`; export r; \
30368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30369 $(HOST_EXPORTS) \
30370 for flag in $(EXTRA_HOST_FLAGS) ; do \
30371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30372 done; \
30373 echo "Doing install-pdf in gnattools" ; \
30374 (cd $(HOST_SUBDIR)/gnattools && \
30375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30377 "RANLIB=$${RANLIB}" \
30378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30379 install-pdf) \
30380 || exit 1
30382 @endif gnattools
30384 .PHONY: maybe-install-html-gnattools install-html-gnattools
30385 maybe-install-html-gnattools:
30386 @if gnattools
30387 maybe-install-html-gnattools: install-html-gnattools
30389 install-html-gnattools: \
30390 configure-gnattools \
30391 html-gnattools
30392 @: $(MAKE); $(unstage)
30393 @[ -f ./gnattools/Makefile ] || exit 0; \
30394 r=`${PWD_COMMAND}`; export r; \
30395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30396 $(HOST_EXPORTS) \
30397 for flag in $(EXTRA_HOST_FLAGS) ; do \
30398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30399 done; \
30400 echo "Doing install-html in gnattools" ; \
30401 (cd $(HOST_SUBDIR)/gnattools && \
30402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30404 "RANLIB=$${RANLIB}" \
30405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30406 install-html) \
30407 || exit 1
30409 @endif gnattools
30411 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
30412 maybe-installcheck-gnattools:
30413 @if gnattools
30414 maybe-installcheck-gnattools: installcheck-gnattools
30416 installcheck-gnattools: \
30417 configure-gnattools
30418 @: $(MAKE); $(unstage)
30419 @[ -f ./gnattools/Makefile ] || exit 0; \
30420 r=`${PWD_COMMAND}`; export r; \
30421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30422 $(HOST_EXPORTS) \
30423 for flag in $(EXTRA_HOST_FLAGS) ; do \
30424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30425 done; \
30426 echo "Doing installcheck in gnattools" ; \
30427 (cd $(HOST_SUBDIR)/gnattools && \
30428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30430 "RANLIB=$${RANLIB}" \
30431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30432 installcheck) \
30433 || exit 1
30435 @endif gnattools
30437 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
30438 maybe-mostlyclean-gnattools:
30439 @if gnattools
30440 maybe-mostlyclean-gnattools: mostlyclean-gnattools
30442 mostlyclean-gnattools:
30443 @: $(MAKE); $(unstage)
30444 @[ -f ./gnattools/Makefile ] || exit 0; \
30445 r=`${PWD_COMMAND}`; export r; \
30446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30447 $(HOST_EXPORTS) \
30448 for flag in $(EXTRA_HOST_FLAGS) ; do \
30449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30450 done; \
30451 echo "Doing mostlyclean in gnattools" ; \
30452 (cd $(HOST_SUBDIR)/gnattools && \
30453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30455 "RANLIB=$${RANLIB}" \
30456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30457 mostlyclean) \
30458 || exit 1
30460 @endif gnattools
30462 .PHONY: maybe-clean-gnattools clean-gnattools
30463 maybe-clean-gnattools:
30464 @if gnattools
30465 maybe-clean-gnattools: clean-gnattools
30467 clean-gnattools:
30468 @: $(MAKE); $(unstage)
30469 @[ -f ./gnattools/Makefile ] || exit 0; \
30470 r=`${PWD_COMMAND}`; export r; \
30471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30472 $(HOST_EXPORTS) \
30473 for flag in $(EXTRA_HOST_FLAGS) ; do \
30474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30475 done; \
30476 echo "Doing clean in gnattools" ; \
30477 (cd $(HOST_SUBDIR)/gnattools && \
30478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30480 "RANLIB=$${RANLIB}" \
30481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30482 clean) \
30483 || exit 1
30485 @endif gnattools
30487 .PHONY: maybe-distclean-gnattools distclean-gnattools
30488 maybe-distclean-gnattools:
30489 @if gnattools
30490 maybe-distclean-gnattools: distclean-gnattools
30492 distclean-gnattools:
30493 @: $(MAKE); $(unstage)
30494 @[ -f ./gnattools/Makefile ] || exit 0; \
30495 r=`${PWD_COMMAND}`; export r; \
30496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30497 $(HOST_EXPORTS) \
30498 for flag in $(EXTRA_HOST_FLAGS) ; do \
30499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30500 done; \
30501 echo "Doing distclean in gnattools" ; \
30502 (cd $(HOST_SUBDIR)/gnattools && \
30503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30505 "RANLIB=$${RANLIB}" \
30506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30507 distclean) \
30508 || exit 1
30510 @endif gnattools
30512 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
30513 maybe-maintainer-clean-gnattools:
30514 @if gnattools
30515 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
30517 maintainer-clean-gnattools:
30518 @: $(MAKE); $(unstage)
30519 @[ -f ./gnattools/Makefile ] || exit 0; \
30520 r=`${PWD_COMMAND}`; export r; \
30521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30522 $(HOST_EXPORTS) \
30523 for flag in $(EXTRA_HOST_FLAGS) ; do \
30524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30525 done; \
30526 echo "Doing maintainer-clean in gnattools" ; \
30527 (cd $(HOST_SUBDIR)/gnattools && \
30528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30530 "RANLIB=$${RANLIB}" \
30531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
30532 maintainer-clean) \
30533 || exit 1
30535 @endif gnattools
30539 .PHONY: configure-lto-plugin maybe-configure-lto-plugin
30540 maybe-configure-lto-plugin:
30541 @if gcc-bootstrap
30542 configure-lto-plugin: stage_current
30543 @endif gcc-bootstrap
30544 @if lto-plugin
30545 maybe-configure-lto-plugin: configure-lto-plugin
30546 configure-lto-plugin:
30547 @r=`${PWD_COMMAND}`; export r; \
30548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30549 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
30550 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
30551 $(HOST_EXPORTS) \
30552 echo Configuring in $(HOST_SUBDIR)/lto-plugin; \
30553 cd "$(HOST_SUBDIR)/lto-plugin" || exit 1; \
30554 case $(srcdir) in \
30555 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30556 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
30557 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30558 esac; \
30559 module_srcdir=lto-plugin; \
30560 $(SHELL) \
30561 $$s/$$module_srcdir/configure \
30562 --srcdir=$${topdir}/$$module_srcdir \
30563 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30564 --target=${target_alias} --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@ \
30565 || exit 1
30566 @endif lto-plugin
30570 .PHONY: configure-stage1-lto-plugin maybe-configure-stage1-lto-plugin
30571 maybe-configure-stage1-lto-plugin:
30572 @if lto-plugin-bootstrap
30573 maybe-configure-stage1-lto-plugin: configure-stage1-lto-plugin
30574 configure-stage1-lto-plugin:
30575 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
30576 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
30577 @r=`${PWD_COMMAND}`; export r; \
30578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30579 TFLAGS="$(STAGE1_TFLAGS)"; \
30580 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
30581 $(HOST_EXPORTS) \
30582 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
30583 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
30584 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
30585 echo Configuring stage 1 in $(HOST_SUBDIR)/lto-plugin ; \
30586 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
30587 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
30588 case $(srcdir) in \
30589 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30590 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
30591 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30592 esac; \
30593 module_srcdir=lto-plugin; \
30594 $(SHELL) $$s/$$module_srcdir/configure \
30595 --srcdir=$${topdir}/$$module_srcdir \
30596 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30597 --target=${target_alias} \
30599 $(STAGE1_CONFIGURE_FLAGS) \
30600 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
30601 @endif lto-plugin-bootstrap
30603 .PHONY: configure-stage2-lto-plugin maybe-configure-stage2-lto-plugin
30604 maybe-configure-stage2-lto-plugin:
30605 @if lto-plugin-bootstrap
30606 maybe-configure-stage2-lto-plugin: configure-stage2-lto-plugin
30607 configure-stage2-lto-plugin:
30608 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
30609 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
30610 @r=`${PWD_COMMAND}`; export r; \
30611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30612 TFLAGS="$(STAGE2_TFLAGS)"; \
30613 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
30614 $(HOST_EXPORTS) \
30615 $(POSTSTAGE1_HOST_EXPORTS) \
30616 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
30617 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
30618 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
30619 echo Configuring stage 2 in $(HOST_SUBDIR)/lto-plugin ; \
30620 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
30621 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
30622 case $(srcdir) in \
30623 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30624 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
30625 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30626 esac; \
30627 module_srcdir=lto-plugin; \
30628 $(SHELL) $$s/$$module_srcdir/configure \
30629 --srcdir=$${topdir}/$$module_srcdir \
30630 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30631 --target=${target_alias} \
30632 --with-build-libsubdir=$(HOST_SUBDIR) \
30633 $(STAGE2_CONFIGURE_FLAGS) \
30634 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
30635 @endif lto-plugin-bootstrap
30637 .PHONY: configure-stage3-lto-plugin maybe-configure-stage3-lto-plugin
30638 maybe-configure-stage3-lto-plugin:
30639 @if lto-plugin-bootstrap
30640 maybe-configure-stage3-lto-plugin: configure-stage3-lto-plugin
30641 configure-stage3-lto-plugin:
30642 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
30643 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
30644 @r=`${PWD_COMMAND}`; export r; \
30645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30646 TFLAGS="$(STAGE3_TFLAGS)"; \
30647 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
30648 $(HOST_EXPORTS) \
30649 $(POSTSTAGE1_HOST_EXPORTS) \
30650 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
30651 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
30652 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
30653 echo Configuring stage 3 in $(HOST_SUBDIR)/lto-plugin ; \
30654 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
30655 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
30656 case $(srcdir) in \
30657 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30658 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
30659 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30660 esac; \
30661 module_srcdir=lto-plugin; \
30662 $(SHELL) $$s/$$module_srcdir/configure \
30663 --srcdir=$${topdir}/$$module_srcdir \
30664 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30665 --target=${target_alias} \
30666 --with-build-libsubdir=$(HOST_SUBDIR) \
30667 $(STAGE3_CONFIGURE_FLAGS) \
30668 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
30669 @endif lto-plugin-bootstrap
30671 .PHONY: configure-stage4-lto-plugin maybe-configure-stage4-lto-plugin
30672 maybe-configure-stage4-lto-plugin:
30673 @if lto-plugin-bootstrap
30674 maybe-configure-stage4-lto-plugin: configure-stage4-lto-plugin
30675 configure-stage4-lto-plugin:
30676 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
30677 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
30678 @r=`${PWD_COMMAND}`; export r; \
30679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30680 TFLAGS="$(STAGE4_TFLAGS)"; \
30681 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
30682 $(HOST_EXPORTS) \
30683 $(POSTSTAGE1_HOST_EXPORTS) \
30684 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
30685 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
30686 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
30687 echo Configuring stage 4 in $(HOST_SUBDIR)/lto-plugin ; \
30688 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
30689 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
30690 case $(srcdir) in \
30691 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30692 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
30693 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30694 esac; \
30695 module_srcdir=lto-plugin; \
30696 $(SHELL) $$s/$$module_srcdir/configure \
30697 --srcdir=$${topdir}/$$module_srcdir \
30698 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30699 --target=${target_alias} \
30700 --with-build-libsubdir=$(HOST_SUBDIR) \
30701 $(STAGE4_CONFIGURE_FLAGS) \
30702 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
30703 @endif lto-plugin-bootstrap
30705 .PHONY: configure-stageprofile-lto-plugin maybe-configure-stageprofile-lto-plugin
30706 maybe-configure-stageprofile-lto-plugin:
30707 @if lto-plugin-bootstrap
30708 maybe-configure-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
30709 configure-stageprofile-lto-plugin:
30710 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
30711 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
30712 @r=`${PWD_COMMAND}`; export r; \
30713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30714 TFLAGS="$(STAGEprofile_TFLAGS)"; \
30715 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
30716 $(HOST_EXPORTS) \
30717 $(POSTSTAGE1_HOST_EXPORTS) \
30718 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
30719 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
30720 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
30721 echo Configuring stage profile in $(HOST_SUBDIR)/lto-plugin ; \
30722 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
30723 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
30724 case $(srcdir) in \
30725 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30726 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
30727 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30728 esac; \
30729 module_srcdir=lto-plugin; \
30730 $(SHELL) $$s/$$module_srcdir/configure \
30731 --srcdir=$${topdir}/$$module_srcdir \
30732 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30733 --target=${target_alias} \
30734 --with-build-libsubdir=$(HOST_SUBDIR) \
30735 $(STAGEprofile_CONFIGURE_FLAGS) \
30736 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
30737 @endif lto-plugin-bootstrap
30739 .PHONY: configure-stagefeedback-lto-plugin maybe-configure-stagefeedback-lto-plugin
30740 maybe-configure-stagefeedback-lto-plugin:
30741 @if lto-plugin-bootstrap
30742 maybe-configure-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
30743 configure-stagefeedback-lto-plugin:
30744 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
30745 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
30746 @r=`${PWD_COMMAND}`; export r; \
30747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30748 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
30749 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
30750 $(HOST_EXPORTS) \
30751 $(POSTSTAGE1_HOST_EXPORTS) \
30752 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
30753 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
30754 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
30755 echo Configuring stage feedback in $(HOST_SUBDIR)/lto-plugin ; \
30756 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
30757 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
30758 case $(srcdir) in \
30759 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30760 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
30761 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30762 esac; \
30763 module_srcdir=lto-plugin; \
30764 $(SHELL) $$s/$$module_srcdir/configure \
30765 --srcdir=$${topdir}/$$module_srcdir \
30766 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
30767 --target=${target_alias} \
30768 --with-build-libsubdir=$(HOST_SUBDIR) \
30769 $(STAGEfeedback_CONFIGURE_FLAGS) \
30770 --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
30771 @endif lto-plugin-bootstrap
30777 .PHONY: all-lto-plugin maybe-all-lto-plugin
30778 maybe-all-lto-plugin:
30779 @if gcc-bootstrap
30780 all-lto-plugin: stage_current
30781 @endif gcc-bootstrap
30782 @if lto-plugin
30783 TARGET-lto-plugin=all
30784 maybe-all-lto-plugin: all-lto-plugin
30785 all-lto-plugin: configure-lto-plugin
30786 @r=`${PWD_COMMAND}`; export r; \
30787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30788 $(HOST_EXPORTS) \
30789 (cd $(HOST_SUBDIR)/lto-plugin && \
30790 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
30791 $(TARGET-lto-plugin))
30792 @endif lto-plugin
30796 .PHONY: all-stage1-lto-plugin maybe-all-stage1-lto-plugin
30797 .PHONY: clean-stage1-lto-plugin maybe-clean-stage1-lto-plugin
30798 maybe-all-stage1-lto-plugin:
30799 maybe-clean-stage1-lto-plugin:
30800 @if lto-plugin-bootstrap
30801 maybe-all-stage1-lto-plugin: all-stage1-lto-plugin
30802 all-stage1: all-stage1-lto-plugin
30803 TARGET-stage1-lto-plugin = $(TARGET-lto-plugin)
30804 all-stage1-lto-plugin: configure-stage1-lto-plugin
30805 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
30806 @r=`${PWD_COMMAND}`; export r; \
30807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30808 TFLAGS="$(STAGE1_TFLAGS)"; \
30809 $(HOST_EXPORTS) \
30810 cd $(HOST_SUBDIR)/lto-plugin && \
30811 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30812 CFLAGS="$(STAGE1_CFLAGS)" \
30813 CXXFLAGS="$(STAGE1_CXXFLAGS)" \
30814 LIBCFLAGS="$(LIBCFLAGS)" \
30815 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30816 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30817 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30818 $(EXTRA_HOST_FLAGS) \
30819 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
30820 TFLAGS="$(STAGE1_TFLAGS)" \
30821 $(TARGET-stage1-lto-plugin)
30823 maybe-clean-stage1-lto-plugin: clean-stage1-lto-plugin
30824 clean-stage1: clean-stage1-lto-plugin
30825 clean-stage1-lto-plugin:
30826 @if [ $(current_stage) = stage1 ]; then \
30827 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
30828 else \
30829 [ -f $(HOST_SUBDIR)/stage1-lto-plugin/Makefile ] || exit 0; \
30830 $(MAKE) stage1-start; \
30831 fi; \
30832 cd $(HOST_SUBDIR)/lto-plugin && \
30833 $(MAKE) $(EXTRA_HOST_FLAGS) \
30834 $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
30835 @endif lto-plugin-bootstrap
30838 .PHONY: all-stage2-lto-plugin maybe-all-stage2-lto-plugin
30839 .PHONY: clean-stage2-lto-plugin maybe-clean-stage2-lto-plugin
30840 maybe-all-stage2-lto-plugin:
30841 maybe-clean-stage2-lto-plugin:
30842 @if lto-plugin-bootstrap
30843 maybe-all-stage2-lto-plugin: all-stage2-lto-plugin
30844 all-stage2: all-stage2-lto-plugin
30845 TARGET-stage2-lto-plugin = $(TARGET-lto-plugin)
30846 all-stage2-lto-plugin: configure-stage2-lto-plugin
30847 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
30848 @r=`${PWD_COMMAND}`; export r; \
30849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30850 TFLAGS="$(STAGE2_TFLAGS)"; \
30851 $(HOST_EXPORTS) \
30852 $(POSTSTAGE1_HOST_EXPORTS) \
30853 cd $(HOST_SUBDIR)/lto-plugin && \
30854 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30855 CFLAGS="$(STAGE2_CFLAGS)" \
30856 CXXFLAGS="$(STAGE2_CXXFLAGS)" \
30857 LIBCFLAGS="$(STAGE2_CFLAGS)" \
30858 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30859 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30860 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30861 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
30862 TFLAGS="$(STAGE2_TFLAGS)" \
30863 $(TARGET-stage2-lto-plugin)
30865 maybe-clean-stage2-lto-plugin: clean-stage2-lto-plugin
30866 clean-stage2: clean-stage2-lto-plugin
30867 clean-stage2-lto-plugin:
30868 @if [ $(current_stage) = stage2 ]; then \
30869 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
30870 else \
30871 [ -f $(HOST_SUBDIR)/stage2-lto-plugin/Makefile ] || exit 0; \
30872 $(MAKE) stage2-start; \
30873 fi; \
30874 cd $(HOST_SUBDIR)/lto-plugin && \
30875 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
30876 @endif lto-plugin-bootstrap
30879 .PHONY: all-stage3-lto-plugin maybe-all-stage3-lto-plugin
30880 .PHONY: clean-stage3-lto-plugin maybe-clean-stage3-lto-plugin
30881 maybe-all-stage3-lto-plugin:
30882 maybe-clean-stage3-lto-plugin:
30883 @if lto-plugin-bootstrap
30884 maybe-all-stage3-lto-plugin: all-stage3-lto-plugin
30885 all-stage3: all-stage3-lto-plugin
30886 TARGET-stage3-lto-plugin = $(TARGET-lto-plugin)
30887 all-stage3-lto-plugin: configure-stage3-lto-plugin
30888 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
30889 @r=`${PWD_COMMAND}`; export r; \
30890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30891 TFLAGS="$(STAGE3_TFLAGS)"; \
30892 $(HOST_EXPORTS) \
30893 $(POSTSTAGE1_HOST_EXPORTS) \
30894 cd $(HOST_SUBDIR)/lto-plugin && \
30895 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30896 CFLAGS="$(STAGE3_CFLAGS)" \
30897 CXXFLAGS="$(STAGE3_CXXFLAGS)" \
30898 LIBCFLAGS="$(STAGE3_CFLAGS)" \
30899 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30900 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30901 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30902 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
30903 TFLAGS="$(STAGE3_TFLAGS)" \
30904 $(TARGET-stage3-lto-plugin)
30906 maybe-clean-stage3-lto-plugin: clean-stage3-lto-plugin
30907 clean-stage3: clean-stage3-lto-plugin
30908 clean-stage3-lto-plugin:
30909 @if [ $(current_stage) = stage3 ]; then \
30910 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
30911 else \
30912 [ -f $(HOST_SUBDIR)/stage3-lto-plugin/Makefile ] || exit 0; \
30913 $(MAKE) stage3-start; \
30914 fi; \
30915 cd $(HOST_SUBDIR)/lto-plugin && \
30916 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
30917 @endif lto-plugin-bootstrap
30920 .PHONY: all-stage4-lto-plugin maybe-all-stage4-lto-plugin
30921 .PHONY: clean-stage4-lto-plugin maybe-clean-stage4-lto-plugin
30922 maybe-all-stage4-lto-plugin:
30923 maybe-clean-stage4-lto-plugin:
30924 @if lto-plugin-bootstrap
30925 maybe-all-stage4-lto-plugin: all-stage4-lto-plugin
30926 all-stage4: all-stage4-lto-plugin
30927 TARGET-stage4-lto-plugin = $(TARGET-lto-plugin)
30928 all-stage4-lto-plugin: configure-stage4-lto-plugin
30929 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
30930 @r=`${PWD_COMMAND}`; export r; \
30931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30932 TFLAGS="$(STAGE4_TFLAGS)"; \
30933 $(HOST_EXPORTS) \
30934 $(POSTSTAGE1_HOST_EXPORTS) \
30935 cd $(HOST_SUBDIR)/lto-plugin && \
30936 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30937 CFLAGS="$(STAGE4_CFLAGS)" \
30938 CXXFLAGS="$(STAGE4_CXXFLAGS)" \
30939 LIBCFLAGS="$(STAGE4_CFLAGS)" \
30940 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30941 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30942 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30943 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
30944 TFLAGS="$(STAGE4_TFLAGS)" \
30945 $(TARGET-stage4-lto-plugin)
30947 maybe-clean-stage4-lto-plugin: clean-stage4-lto-plugin
30948 clean-stage4: clean-stage4-lto-plugin
30949 clean-stage4-lto-plugin:
30950 @if [ $(current_stage) = stage4 ]; then \
30951 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
30952 else \
30953 [ -f $(HOST_SUBDIR)/stage4-lto-plugin/Makefile ] || exit 0; \
30954 $(MAKE) stage4-start; \
30955 fi; \
30956 cd $(HOST_SUBDIR)/lto-plugin && \
30957 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
30958 @endif lto-plugin-bootstrap
30961 .PHONY: all-stageprofile-lto-plugin maybe-all-stageprofile-lto-plugin
30962 .PHONY: clean-stageprofile-lto-plugin maybe-clean-stageprofile-lto-plugin
30963 maybe-all-stageprofile-lto-plugin:
30964 maybe-clean-stageprofile-lto-plugin:
30965 @if lto-plugin-bootstrap
30966 maybe-all-stageprofile-lto-plugin: all-stageprofile-lto-plugin
30967 all-stageprofile: all-stageprofile-lto-plugin
30968 TARGET-stageprofile-lto-plugin = $(TARGET-lto-plugin)
30969 all-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
30970 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
30971 @r=`${PWD_COMMAND}`; export r; \
30972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30973 TFLAGS="$(STAGEprofile_TFLAGS)"; \
30974 $(HOST_EXPORTS) \
30975 $(POSTSTAGE1_HOST_EXPORTS) \
30976 cd $(HOST_SUBDIR)/lto-plugin && \
30977 $(MAKE) $(BASE_FLAGS_TO_PASS) \
30978 CFLAGS="$(STAGEprofile_CFLAGS)" \
30979 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
30980 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
30981 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
30982 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
30983 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
30984 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
30985 TFLAGS="$(STAGEprofile_TFLAGS)" \
30986 $(TARGET-stageprofile-lto-plugin)
30988 maybe-clean-stageprofile-lto-plugin: clean-stageprofile-lto-plugin
30989 clean-stageprofile: clean-stageprofile-lto-plugin
30990 clean-stageprofile-lto-plugin:
30991 @if [ $(current_stage) = stageprofile ]; then \
30992 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
30993 else \
30994 [ -f $(HOST_SUBDIR)/stageprofile-lto-plugin/Makefile ] || exit 0; \
30995 $(MAKE) stageprofile-start; \
30996 fi; \
30997 cd $(HOST_SUBDIR)/lto-plugin && \
30998 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
30999 @endif lto-plugin-bootstrap
31002 .PHONY: all-stagefeedback-lto-plugin maybe-all-stagefeedback-lto-plugin
31003 .PHONY: clean-stagefeedback-lto-plugin maybe-clean-stagefeedback-lto-plugin
31004 maybe-all-stagefeedback-lto-plugin:
31005 maybe-clean-stagefeedback-lto-plugin:
31006 @if lto-plugin-bootstrap
31007 maybe-all-stagefeedback-lto-plugin: all-stagefeedback-lto-plugin
31008 all-stagefeedback: all-stagefeedback-lto-plugin
31009 TARGET-stagefeedback-lto-plugin = $(TARGET-lto-plugin)
31010 all-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
31011 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
31012 @r=`${PWD_COMMAND}`; export r; \
31013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31014 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
31015 $(HOST_EXPORTS) \
31016 $(POSTSTAGE1_HOST_EXPORTS) \
31017 cd $(HOST_SUBDIR)/lto-plugin && \
31018 $(MAKE) $(BASE_FLAGS_TO_PASS) \
31019 CFLAGS="$(STAGEfeedback_CFLAGS)" \
31020 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
31021 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
31022 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
31023 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
31024 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
31025 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
31026 TFLAGS="$(STAGEfeedback_TFLAGS)" \
31027 $(TARGET-stagefeedback-lto-plugin)
31029 maybe-clean-stagefeedback-lto-plugin: clean-stagefeedback-lto-plugin
31030 clean-stagefeedback: clean-stagefeedback-lto-plugin
31031 clean-stagefeedback-lto-plugin:
31032 @if [ $(current_stage) = stagefeedback ]; then \
31033 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
31034 else \
31035 [ -f $(HOST_SUBDIR)/stagefeedback-lto-plugin/Makefile ] || exit 0; \
31036 $(MAKE) stagefeedback-start; \
31037 fi; \
31038 cd $(HOST_SUBDIR)/lto-plugin && \
31039 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
31040 @endif lto-plugin-bootstrap
31046 .PHONY: check-lto-plugin maybe-check-lto-plugin
31047 maybe-check-lto-plugin:
31048 @if lto-plugin
31049 maybe-check-lto-plugin: check-lto-plugin
31051 check-lto-plugin:
31052 @: $(MAKE); $(unstage)
31053 @r=`${PWD_COMMAND}`; export r; \
31054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31055 $(HOST_EXPORTS) \
31056 (cd $(HOST_SUBDIR)/lto-plugin && \
31057 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ check)
31059 @endif lto-plugin
31061 .PHONY: install-lto-plugin maybe-install-lto-plugin
31062 maybe-install-lto-plugin:
31063 @if lto-plugin
31064 maybe-install-lto-plugin: install-lto-plugin
31066 install-lto-plugin: installdirs
31067 @: $(MAKE); $(unstage)
31068 @r=`${PWD_COMMAND}`; export r; \
31069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31070 $(HOST_EXPORTS) \
31071 (cd $(HOST_SUBDIR)/lto-plugin && \
31072 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install)
31074 @endif lto-plugin
31076 .PHONY: install-strip-lto-plugin maybe-install-strip-lto-plugin
31077 maybe-install-strip-lto-plugin:
31078 @if lto-plugin
31079 maybe-install-strip-lto-plugin: install-strip-lto-plugin
31081 install-strip-lto-plugin: installdirs
31082 @: $(MAKE); $(unstage)
31083 @r=`${PWD_COMMAND}`; export r; \
31084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31085 $(HOST_EXPORTS) \
31086 (cd $(HOST_SUBDIR)/lto-plugin && \
31087 $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install-strip)
31089 @endif lto-plugin
31091 # Other targets (info, dvi, pdf, etc.)
31093 .PHONY: maybe-info-lto-plugin info-lto-plugin
31094 maybe-info-lto-plugin:
31095 @if lto-plugin
31096 maybe-info-lto-plugin: info-lto-plugin
31098 info-lto-plugin: \
31099 configure-lto-plugin
31100 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31101 r=`${PWD_COMMAND}`; export r; \
31102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31103 $(HOST_EXPORTS) \
31104 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31106 done; \
31107 echo "Doing info in lto-plugin" ; \
31108 (cd $(HOST_SUBDIR)/lto-plugin && \
31109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31111 "RANLIB=$${RANLIB}" \
31112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31113 info) \
31114 || exit 1
31116 @endif lto-plugin
31118 .PHONY: maybe-dvi-lto-plugin dvi-lto-plugin
31119 maybe-dvi-lto-plugin:
31120 @if lto-plugin
31121 maybe-dvi-lto-plugin: dvi-lto-plugin
31123 dvi-lto-plugin: \
31124 configure-lto-plugin
31125 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31126 r=`${PWD_COMMAND}`; export r; \
31127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31128 $(HOST_EXPORTS) \
31129 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31131 done; \
31132 echo "Doing dvi in lto-plugin" ; \
31133 (cd $(HOST_SUBDIR)/lto-plugin && \
31134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31136 "RANLIB=$${RANLIB}" \
31137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31138 dvi) \
31139 || exit 1
31141 @endif lto-plugin
31143 .PHONY: maybe-pdf-lto-plugin pdf-lto-plugin
31144 maybe-pdf-lto-plugin:
31145 @if lto-plugin
31146 maybe-pdf-lto-plugin: pdf-lto-plugin
31148 pdf-lto-plugin: \
31149 configure-lto-plugin
31150 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31151 r=`${PWD_COMMAND}`; export r; \
31152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31153 $(HOST_EXPORTS) \
31154 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31156 done; \
31157 echo "Doing pdf in lto-plugin" ; \
31158 (cd $(HOST_SUBDIR)/lto-plugin && \
31159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31161 "RANLIB=$${RANLIB}" \
31162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31163 pdf) \
31164 || exit 1
31166 @endif lto-plugin
31168 .PHONY: maybe-html-lto-plugin html-lto-plugin
31169 maybe-html-lto-plugin:
31170 @if lto-plugin
31171 maybe-html-lto-plugin: html-lto-plugin
31173 html-lto-plugin: \
31174 configure-lto-plugin
31175 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31176 r=`${PWD_COMMAND}`; export r; \
31177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31178 $(HOST_EXPORTS) \
31179 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31181 done; \
31182 echo "Doing html in lto-plugin" ; \
31183 (cd $(HOST_SUBDIR)/lto-plugin && \
31184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31186 "RANLIB=$${RANLIB}" \
31187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31188 html) \
31189 || exit 1
31191 @endif lto-plugin
31193 .PHONY: maybe-TAGS-lto-plugin TAGS-lto-plugin
31194 maybe-TAGS-lto-plugin:
31195 @if lto-plugin
31196 maybe-TAGS-lto-plugin: TAGS-lto-plugin
31198 TAGS-lto-plugin: \
31199 configure-lto-plugin
31200 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31201 r=`${PWD_COMMAND}`; export r; \
31202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31203 $(HOST_EXPORTS) \
31204 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31206 done; \
31207 echo "Doing TAGS in lto-plugin" ; \
31208 (cd $(HOST_SUBDIR)/lto-plugin && \
31209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31211 "RANLIB=$${RANLIB}" \
31212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31213 TAGS) \
31214 || exit 1
31216 @endif lto-plugin
31218 .PHONY: maybe-install-info-lto-plugin install-info-lto-plugin
31219 maybe-install-info-lto-plugin:
31220 @if lto-plugin
31221 maybe-install-info-lto-plugin: install-info-lto-plugin
31223 install-info-lto-plugin: \
31224 configure-lto-plugin \
31225 info-lto-plugin
31226 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31227 r=`${PWD_COMMAND}`; export r; \
31228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31229 $(HOST_EXPORTS) \
31230 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31232 done; \
31233 echo "Doing install-info in lto-plugin" ; \
31234 (cd $(HOST_SUBDIR)/lto-plugin && \
31235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31237 "RANLIB=$${RANLIB}" \
31238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31239 install-info) \
31240 || exit 1
31242 @endif lto-plugin
31244 .PHONY: maybe-install-pdf-lto-plugin install-pdf-lto-plugin
31245 maybe-install-pdf-lto-plugin:
31246 @if lto-plugin
31247 maybe-install-pdf-lto-plugin: install-pdf-lto-plugin
31249 install-pdf-lto-plugin: \
31250 configure-lto-plugin \
31251 pdf-lto-plugin
31252 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31253 r=`${PWD_COMMAND}`; export r; \
31254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31255 $(HOST_EXPORTS) \
31256 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31258 done; \
31259 echo "Doing install-pdf in lto-plugin" ; \
31260 (cd $(HOST_SUBDIR)/lto-plugin && \
31261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31263 "RANLIB=$${RANLIB}" \
31264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31265 install-pdf) \
31266 || exit 1
31268 @endif lto-plugin
31270 .PHONY: maybe-install-html-lto-plugin install-html-lto-plugin
31271 maybe-install-html-lto-plugin:
31272 @if lto-plugin
31273 maybe-install-html-lto-plugin: install-html-lto-plugin
31275 install-html-lto-plugin: \
31276 configure-lto-plugin \
31277 html-lto-plugin
31278 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31279 r=`${PWD_COMMAND}`; export r; \
31280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31281 $(HOST_EXPORTS) \
31282 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31284 done; \
31285 echo "Doing install-html in lto-plugin" ; \
31286 (cd $(HOST_SUBDIR)/lto-plugin && \
31287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31289 "RANLIB=$${RANLIB}" \
31290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31291 install-html) \
31292 || exit 1
31294 @endif lto-plugin
31296 .PHONY: maybe-installcheck-lto-plugin installcheck-lto-plugin
31297 maybe-installcheck-lto-plugin:
31298 @if lto-plugin
31299 maybe-installcheck-lto-plugin: installcheck-lto-plugin
31301 installcheck-lto-plugin: \
31302 configure-lto-plugin
31303 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31304 r=`${PWD_COMMAND}`; export r; \
31305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31306 $(HOST_EXPORTS) \
31307 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31309 done; \
31310 echo "Doing installcheck in lto-plugin" ; \
31311 (cd $(HOST_SUBDIR)/lto-plugin && \
31312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31314 "RANLIB=$${RANLIB}" \
31315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31316 installcheck) \
31317 || exit 1
31319 @endif lto-plugin
31321 .PHONY: maybe-mostlyclean-lto-plugin mostlyclean-lto-plugin
31322 maybe-mostlyclean-lto-plugin:
31323 @if lto-plugin
31324 maybe-mostlyclean-lto-plugin: mostlyclean-lto-plugin
31326 mostlyclean-lto-plugin:
31327 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31328 r=`${PWD_COMMAND}`; export r; \
31329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31330 $(HOST_EXPORTS) \
31331 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31333 done; \
31334 echo "Doing mostlyclean in lto-plugin" ; \
31335 (cd $(HOST_SUBDIR)/lto-plugin && \
31336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31338 "RANLIB=$${RANLIB}" \
31339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31340 mostlyclean) \
31341 || exit 1
31343 @endif lto-plugin
31345 .PHONY: maybe-clean-lto-plugin clean-lto-plugin
31346 maybe-clean-lto-plugin:
31347 @if lto-plugin
31348 maybe-clean-lto-plugin: clean-lto-plugin
31350 clean-lto-plugin:
31351 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31352 r=`${PWD_COMMAND}`; export r; \
31353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31354 $(HOST_EXPORTS) \
31355 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31357 done; \
31358 echo "Doing clean in lto-plugin" ; \
31359 (cd $(HOST_SUBDIR)/lto-plugin && \
31360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31362 "RANLIB=$${RANLIB}" \
31363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31364 clean) \
31365 || exit 1
31367 @endif lto-plugin
31369 .PHONY: maybe-distclean-lto-plugin distclean-lto-plugin
31370 maybe-distclean-lto-plugin:
31371 @if lto-plugin
31372 maybe-distclean-lto-plugin: distclean-lto-plugin
31374 distclean-lto-plugin:
31375 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31376 r=`${PWD_COMMAND}`; export r; \
31377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31378 $(HOST_EXPORTS) \
31379 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31380 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31381 done; \
31382 echo "Doing distclean in lto-plugin" ; \
31383 (cd $(HOST_SUBDIR)/lto-plugin && \
31384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31386 "RANLIB=$${RANLIB}" \
31387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31388 distclean) \
31389 || exit 1
31391 @endif lto-plugin
31393 .PHONY: maybe-maintainer-clean-lto-plugin maintainer-clean-lto-plugin
31394 maybe-maintainer-clean-lto-plugin:
31395 @if lto-plugin
31396 maybe-maintainer-clean-lto-plugin: maintainer-clean-lto-plugin
31398 maintainer-clean-lto-plugin:
31399 @[ -f ./lto-plugin/Makefile ] || exit 0; \
31400 r=`${PWD_COMMAND}`; export r; \
31401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31402 $(HOST_EXPORTS) \
31403 for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
31404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31405 done; \
31406 echo "Doing maintainer-clean in lto-plugin" ; \
31407 (cd $(HOST_SUBDIR)/lto-plugin && \
31408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31410 "RANLIB=$${RANLIB}" \
31411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31412 maintainer-clean) \
31413 || exit 1
31415 @endif lto-plugin
31419 .PHONY: configure-libcc1 maybe-configure-libcc1
31420 maybe-configure-libcc1:
31421 @if gcc-bootstrap
31422 configure-libcc1: stage_current
31423 @endif gcc-bootstrap
31424 @if libcc1
31425 maybe-configure-libcc1: configure-libcc1
31426 configure-libcc1:
31427 @: $(MAKE); $(unstage)
31428 @r=`${PWD_COMMAND}`; export r; \
31429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31430 test ! -f $(HOST_SUBDIR)/libcc1/Makefile || exit 0; \
31431 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcc1 ; \
31432 $(HOST_EXPORTS) \
31433 echo Configuring in $(HOST_SUBDIR)/libcc1; \
31434 cd "$(HOST_SUBDIR)/libcc1" || exit 1; \
31435 case $(srcdir) in \
31436 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31437 *) topdir=`echo $(HOST_SUBDIR)/libcc1/ | \
31438 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31439 esac; \
31440 module_srcdir=libcc1; \
31441 $(SHELL) \
31442 $$s/$$module_srcdir/configure \
31443 --srcdir=$${topdir}/$$module_srcdir \
31444 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31445 --target=${target_alias} --enable-shared \
31446 || exit 1
31447 @endif libcc1
31453 .PHONY: all-libcc1 maybe-all-libcc1
31454 maybe-all-libcc1:
31455 @if gcc-bootstrap
31456 all-libcc1: stage_current
31457 @endif gcc-bootstrap
31458 @if libcc1
31459 TARGET-libcc1=all
31460 maybe-all-libcc1: all-libcc1
31461 all-libcc1: configure-libcc1
31462 @: $(MAKE); $(unstage)
31463 @r=`${PWD_COMMAND}`; export r; \
31464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31465 $(HOST_EXPORTS) \
31466 (cd $(HOST_SUBDIR)/libcc1 && \
31467 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
31468 $(TARGET-libcc1))
31469 @endif libcc1
31474 .PHONY: check-libcc1 maybe-check-libcc1
31475 maybe-check-libcc1:
31476 @if libcc1
31477 maybe-check-libcc1: check-libcc1
31479 check-libcc1:
31480 @: $(MAKE); $(unstage)
31481 @r=`${PWD_COMMAND}`; export r; \
31482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31483 $(HOST_EXPORTS) \
31484 (cd $(HOST_SUBDIR)/libcc1 && \
31485 $(MAKE) $(FLAGS_TO_PASS) check)
31487 @endif libcc1
31489 .PHONY: install-libcc1 maybe-install-libcc1
31490 maybe-install-libcc1:
31491 @if libcc1
31492 maybe-install-libcc1: install-libcc1
31494 install-libcc1: installdirs
31495 @: $(MAKE); $(unstage)
31496 @r=`${PWD_COMMAND}`; export r; \
31497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31498 $(HOST_EXPORTS) \
31499 (cd $(HOST_SUBDIR)/libcc1 && \
31500 $(MAKE) $(FLAGS_TO_PASS) install)
31502 @endif libcc1
31504 .PHONY: install-strip-libcc1 maybe-install-strip-libcc1
31505 maybe-install-strip-libcc1:
31506 @if libcc1
31507 maybe-install-strip-libcc1: install-strip-libcc1
31509 install-strip-libcc1: installdirs
31510 @: $(MAKE); $(unstage)
31511 @r=`${PWD_COMMAND}`; export r; \
31512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31513 $(HOST_EXPORTS) \
31514 (cd $(HOST_SUBDIR)/libcc1 && \
31515 $(MAKE) $(FLAGS_TO_PASS) install-strip)
31517 @endif libcc1
31519 # Other targets (info, dvi, pdf, etc.)
31521 .PHONY: maybe-info-libcc1 info-libcc1
31522 maybe-info-libcc1:
31523 @if libcc1
31524 maybe-info-libcc1: info-libcc1
31526 info-libcc1: \
31527 configure-libcc1
31528 @: $(MAKE); $(unstage)
31529 @[ -f ./libcc1/Makefile ] || exit 0; \
31530 r=`${PWD_COMMAND}`; export r; \
31531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31532 $(HOST_EXPORTS) \
31533 for flag in $(EXTRA_HOST_FLAGS) ; do \
31534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31535 done; \
31536 echo "Doing info in libcc1" ; \
31537 (cd $(HOST_SUBDIR)/libcc1 && \
31538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31540 "RANLIB=$${RANLIB}" \
31541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31542 info) \
31543 || exit 1
31545 @endif libcc1
31547 .PHONY: maybe-dvi-libcc1 dvi-libcc1
31548 maybe-dvi-libcc1:
31549 @if libcc1
31550 maybe-dvi-libcc1: dvi-libcc1
31552 dvi-libcc1: \
31553 configure-libcc1
31554 @: $(MAKE); $(unstage)
31555 @[ -f ./libcc1/Makefile ] || exit 0; \
31556 r=`${PWD_COMMAND}`; export r; \
31557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31558 $(HOST_EXPORTS) \
31559 for flag in $(EXTRA_HOST_FLAGS) ; do \
31560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31561 done; \
31562 echo "Doing dvi in libcc1" ; \
31563 (cd $(HOST_SUBDIR)/libcc1 && \
31564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31566 "RANLIB=$${RANLIB}" \
31567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31568 dvi) \
31569 || exit 1
31571 @endif libcc1
31573 .PHONY: maybe-pdf-libcc1 pdf-libcc1
31574 maybe-pdf-libcc1:
31575 @if libcc1
31576 maybe-pdf-libcc1: pdf-libcc1
31578 pdf-libcc1: \
31579 configure-libcc1
31580 @: $(MAKE); $(unstage)
31581 @[ -f ./libcc1/Makefile ] || exit 0; \
31582 r=`${PWD_COMMAND}`; export r; \
31583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31584 $(HOST_EXPORTS) \
31585 for flag in $(EXTRA_HOST_FLAGS) ; do \
31586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31587 done; \
31588 echo "Doing pdf in libcc1" ; \
31589 (cd $(HOST_SUBDIR)/libcc1 && \
31590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31592 "RANLIB=$${RANLIB}" \
31593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31594 pdf) \
31595 || exit 1
31597 @endif libcc1
31599 .PHONY: maybe-html-libcc1 html-libcc1
31600 maybe-html-libcc1:
31601 @if libcc1
31602 maybe-html-libcc1: html-libcc1
31604 html-libcc1: \
31605 configure-libcc1
31606 @: $(MAKE); $(unstage)
31607 @[ -f ./libcc1/Makefile ] || exit 0; \
31608 r=`${PWD_COMMAND}`; export r; \
31609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31610 $(HOST_EXPORTS) \
31611 for flag in $(EXTRA_HOST_FLAGS) ; do \
31612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31613 done; \
31614 echo "Doing html in libcc1" ; \
31615 (cd $(HOST_SUBDIR)/libcc1 && \
31616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31618 "RANLIB=$${RANLIB}" \
31619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31620 html) \
31621 || exit 1
31623 @endif libcc1
31625 .PHONY: maybe-TAGS-libcc1 TAGS-libcc1
31626 maybe-TAGS-libcc1:
31627 @if libcc1
31628 maybe-TAGS-libcc1: TAGS-libcc1
31630 TAGS-libcc1: \
31631 configure-libcc1
31632 @: $(MAKE); $(unstage)
31633 @[ -f ./libcc1/Makefile ] || exit 0; \
31634 r=`${PWD_COMMAND}`; export r; \
31635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31636 $(HOST_EXPORTS) \
31637 for flag in $(EXTRA_HOST_FLAGS) ; do \
31638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31639 done; \
31640 echo "Doing TAGS in libcc1" ; \
31641 (cd $(HOST_SUBDIR)/libcc1 && \
31642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31644 "RANLIB=$${RANLIB}" \
31645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31646 TAGS) \
31647 || exit 1
31649 @endif libcc1
31651 .PHONY: maybe-install-info-libcc1 install-info-libcc1
31652 maybe-install-info-libcc1:
31653 @if libcc1
31654 maybe-install-info-libcc1: install-info-libcc1
31656 install-info-libcc1: \
31657 configure-libcc1 \
31658 info-libcc1
31659 @: $(MAKE); $(unstage)
31660 @[ -f ./libcc1/Makefile ] || exit 0; \
31661 r=`${PWD_COMMAND}`; export r; \
31662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31663 $(HOST_EXPORTS) \
31664 for flag in $(EXTRA_HOST_FLAGS) ; do \
31665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31666 done; \
31667 echo "Doing install-info in libcc1" ; \
31668 (cd $(HOST_SUBDIR)/libcc1 && \
31669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31671 "RANLIB=$${RANLIB}" \
31672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31673 install-info) \
31674 || exit 1
31676 @endif libcc1
31678 .PHONY: maybe-install-pdf-libcc1 install-pdf-libcc1
31679 maybe-install-pdf-libcc1:
31680 @if libcc1
31681 maybe-install-pdf-libcc1: install-pdf-libcc1
31683 install-pdf-libcc1: \
31684 configure-libcc1 \
31685 pdf-libcc1
31686 @: $(MAKE); $(unstage)
31687 @[ -f ./libcc1/Makefile ] || exit 0; \
31688 r=`${PWD_COMMAND}`; export r; \
31689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31690 $(HOST_EXPORTS) \
31691 for flag in $(EXTRA_HOST_FLAGS) ; do \
31692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31693 done; \
31694 echo "Doing install-pdf in libcc1" ; \
31695 (cd $(HOST_SUBDIR)/libcc1 && \
31696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31698 "RANLIB=$${RANLIB}" \
31699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31700 install-pdf) \
31701 || exit 1
31703 @endif libcc1
31705 .PHONY: maybe-install-html-libcc1 install-html-libcc1
31706 maybe-install-html-libcc1:
31707 @if libcc1
31708 maybe-install-html-libcc1: install-html-libcc1
31710 install-html-libcc1: \
31711 configure-libcc1 \
31712 html-libcc1
31713 @: $(MAKE); $(unstage)
31714 @[ -f ./libcc1/Makefile ] || exit 0; \
31715 r=`${PWD_COMMAND}`; export r; \
31716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31717 $(HOST_EXPORTS) \
31718 for flag in $(EXTRA_HOST_FLAGS) ; do \
31719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31720 done; \
31721 echo "Doing install-html in libcc1" ; \
31722 (cd $(HOST_SUBDIR)/libcc1 && \
31723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31725 "RANLIB=$${RANLIB}" \
31726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31727 install-html) \
31728 || exit 1
31730 @endif libcc1
31732 .PHONY: maybe-installcheck-libcc1 installcheck-libcc1
31733 maybe-installcheck-libcc1:
31734 @if libcc1
31735 maybe-installcheck-libcc1: installcheck-libcc1
31737 installcheck-libcc1: \
31738 configure-libcc1
31739 @: $(MAKE); $(unstage)
31740 @[ -f ./libcc1/Makefile ] || exit 0; \
31741 r=`${PWD_COMMAND}`; export r; \
31742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31743 $(HOST_EXPORTS) \
31744 for flag in $(EXTRA_HOST_FLAGS) ; do \
31745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31746 done; \
31747 echo "Doing installcheck in libcc1" ; \
31748 (cd $(HOST_SUBDIR)/libcc1 && \
31749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31751 "RANLIB=$${RANLIB}" \
31752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31753 installcheck) \
31754 || exit 1
31756 @endif libcc1
31758 .PHONY: maybe-mostlyclean-libcc1 mostlyclean-libcc1
31759 maybe-mostlyclean-libcc1:
31760 @if libcc1
31761 maybe-mostlyclean-libcc1: mostlyclean-libcc1
31763 mostlyclean-libcc1:
31764 @: $(MAKE); $(unstage)
31765 @[ -f ./libcc1/Makefile ] || exit 0; \
31766 r=`${PWD_COMMAND}`; export r; \
31767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31768 $(HOST_EXPORTS) \
31769 for flag in $(EXTRA_HOST_FLAGS) ; do \
31770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31771 done; \
31772 echo "Doing mostlyclean in libcc1" ; \
31773 (cd $(HOST_SUBDIR)/libcc1 && \
31774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31776 "RANLIB=$${RANLIB}" \
31777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31778 mostlyclean) \
31779 || exit 1
31781 @endif libcc1
31783 .PHONY: maybe-clean-libcc1 clean-libcc1
31784 maybe-clean-libcc1:
31785 @if libcc1
31786 maybe-clean-libcc1: clean-libcc1
31788 clean-libcc1:
31789 @: $(MAKE); $(unstage)
31790 @[ -f ./libcc1/Makefile ] || exit 0; \
31791 r=`${PWD_COMMAND}`; export r; \
31792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31793 $(HOST_EXPORTS) \
31794 for flag in $(EXTRA_HOST_FLAGS) ; do \
31795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31796 done; \
31797 echo "Doing clean in libcc1" ; \
31798 (cd $(HOST_SUBDIR)/libcc1 && \
31799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31801 "RANLIB=$${RANLIB}" \
31802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31803 clean) \
31804 || exit 1
31806 @endif libcc1
31808 .PHONY: maybe-distclean-libcc1 distclean-libcc1
31809 maybe-distclean-libcc1:
31810 @if libcc1
31811 maybe-distclean-libcc1: distclean-libcc1
31813 distclean-libcc1:
31814 @: $(MAKE); $(unstage)
31815 @[ -f ./libcc1/Makefile ] || exit 0; \
31816 r=`${PWD_COMMAND}`; export r; \
31817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31818 $(HOST_EXPORTS) \
31819 for flag in $(EXTRA_HOST_FLAGS) ; do \
31820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31821 done; \
31822 echo "Doing distclean in libcc1" ; \
31823 (cd $(HOST_SUBDIR)/libcc1 && \
31824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31826 "RANLIB=$${RANLIB}" \
31827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31828 distclean) \
31829 || exit 1
31831 @endif libcc1
31833 .PHONY: maybe-maintainer-clean-libcc1 maintainer-clean-libcc1
31834 maybe-maintainer-clean-libcc1:
31835 @if libcc1
31836 maybe-maintainer-clean-libcc1: maintainer-clean-libcc1
31838 maintainer-clean-libcc1:
31839 @: $(MAKE); $(unstage)
31840 @[ -f ./libcc1/Makefile ] || exit 0; \
31841 r=`${PWD_COMMAND}`; export r; \
31842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31843 $(HOST_EXPORTS) \
31844 for flag in $(EXTRA_HOST_FLAGS) ; do \
31845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31846 done; \
31847 echo "Doing maintainer-clean in libcc1" ; \
31848 (cd $(HOST_SUBDIR)/libcc1 && \
31849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31851 "RANLIB=$${RANLIB}" \
31852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31853 maintainer-clean) \
31854 || exit 1
31856 @endif libcc1
31860 .PHONY: configure-gotools maybe-configure-gotools
31861 maybe-configure-gotools:
31862 @if gcc-bootstrap
31863 configure-gotools: stage_current
31864 @endif gcc-bootstrap
31865 @if gotools
31866 maybe-configure-gotools: configure-gotools
31867 configure-gotools:
31868 @: $(MAKE); $(unstage)
31869 @r=`${PWD_COMMAND}`; export r; \
31870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31871 test ! -f $(HOST_SUBDIR)/gotools/Makefile || exit 0; \
31872 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gotools ; \
31873 $(HOST_EXPORTS) \
31874 echo Configuring in $(HOST_SUBDIR)/gotools; \
31875 cd "$(HOST_SUBDIR)/gotools" || exit 1; \
31876 case $(srcdir) in \
31877 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31878 *) topdir=`echo $(HOST_SUBDIR)/gotools/ | \
31879 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31880 esac; \
31881 module_srcdir=gotools; \
31882 $(SHELL) \
31883 $$s/$$module_srcdir/configure \
31884 --srcdir=$${topdir}/$$module_srcdir \
31885 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
31886 --target=${target_alias} \
31887 || exit 1
31888 @endif gotools
31894 .PHONY: all-gotools maybe-all-gotools
31895 maybe-all-gotools:
31896 @if gcc-bootstrap
31897 all-gotools: stage_current
31898 @endif gcc-bootstrap
31899 @if gotools
31900 TARGET-gotools=all
31901 maybe-all-gotools: all-gotools
31902 all-gotools: configure-gotools
31903 @: $(MAKE); $(unstage)
31904 @r=`${PWD_COMMAND}`; export r; \
31905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31906 $(HOST_EXPORTS) \
31907 (cd $(HOST_SUBDIR)/gotools && \
31908 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
31909 $(TARGET-gotools))
31910 @endif gotools
31915 .PHONY: check-gotools maybe-check-gotools
31916 maybe-check-gotools:
31917 @if gotools
31918 maybe-check-gotools: check-gotools
31920 check-gotools:
31921 @: $(MAKE); $(unstage)
31922 @r=`${PWD_COMMAND}`; export r; \
31923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31924 $(HOST_EXPORTS) \
31925 (cd $(HOST_SUBDIR)/gotools && \
31926 $(MAKE) $(FLAGS_TO_PASS) check)
31928 @endif gotools
31930 .PHONY: install-gotools maybe-install-gotools
31931 maybe-install-gotools:
31932 @if gotools
31933 maybe-install-gotools: install-gotools
31935 install-gotools: installdirs
31936 @: $(MAKE); $(unstage)
31937 @r=`${PWD_COMMAND}`; export r; \
31938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31939 $(HOST_EXPORTS) \
31940 (cd $(HOST_SUBDIR)/gotools && \
31941 $(MAKE) $(FLAGS_TO_PASS) install)
31943 @endif gotools
31945 .PHONY: install-strip-gotools maybe-install-strip-gotools
31946 maybe-install-strip-gotools:
31947 @if gotools
31948 maybe-install-strip-gotools: install-strip-gotools
31950 install-strip-gotools: installdirs
31951 @: $(MAKE); $(unstage)
31952 @r=`${PWD_COMMAND}`; export r; \
31953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31954 $(HOST_EXPORTS) \
31955 (cd $(HOST_SUBDIR)/gotools && \
31956 $(MAKE) $(FLAGS_TO_PASS) install-strip)
31958 @endif gotools
31960 # Other targets (info, dvi, pdf, etc.)
31962 .PHONY: maybe-info-gotools info-gotools
31963 maybe-info-gotools:
31964 @if gotools
31965 maybe-info-gotools: info-gotools
31967 info-gotools: \
31968 configure-gotools
31969 @: $(MAKE); $(unstage)
31970 @[ -f ./gotools/Makefile ] || exit 0; \
31971 r=`${PWD_COMMAND}`; export r; \
31972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31973 $(HOST_EXPORTS) \
31974 for flag in $(EXTRA_HOST_FLAGS) ; do \
31975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31976 done; \
31977 echo "Doing info in gotools" ; \
31978 (cd $(HOST_SUBDIR)/gotools && \
31979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31981 "RANLIB=$${RANLIB}" \
31982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
31983 info) \
31984 || exit 1
31986 @endif gotools
31988 .PHONY: maybe-dvi-gotools dvi-gotools
31989 maybe-dvi-gotools:
31990 @if gotools
31991 maybe-dvi-gotools: dvi-gotools
31993 dvi-gotools: \
31994 configure-gotools
31995 @: $(MAKE); $(unstage)
31996 @[ -f ./gotools/Makefile ] || exit 0; \
31997 r=`${PWD_COMMAND}`; export r; \
31998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31999 $(HOST_EXPORTS) \
32000 for flag in $(EXTRA_HOST_FLAGS) ; do \
32001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32002 done; \
32003 echo "Doing dvi in gotools" ; \
32004 (cd $(HOST_SUBDIR)/gotools && \
32005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32007 "RANLIB=$${RANLIB}" \
32008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32009 dvi) \
32010 || exit 1
32012 @endif gotools
32014 .PHONY: maybe-pdf-gotools pdf-gotools
32015 maybe-pdf-gotools:
32016 @if gotools
32017 maybe-pdf-gotools: pdf-gotools
32019 pdf-gotools: \
32020 configure-gotools
32021 @: $(MAKE); $(unstage)
32022 @[ -f ./gotools/Makefile ] || exit 0; \
32023 r=`${PWD_COMMAND}`; export r; \
32024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32025 $(HOST_EXPORTS) \
32026 for flag in $(EXTRA_HOST_FLAGS) ; do \
32027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32028 done; \
32029 echo "Doing pdf in gotools" ; \
32030 (cd $(HOST_SUBDIR)/gotools && \
32031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32033 "RANLIB=$${RANLIB}" \
32034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32035 pdf) \
32036 || exit 1
32038 @endif gotools
32040 .PHONY: maybe-html-gotools html-gotools
32041 maybe-html-gotools:
32042 @if gotools
32043 maybe-html-gotools: html-gotools
32045 html-gotools: \
32046 configure-gotools
32047 @: $(MAKE); $(unstage)
32048 @[ -f ./gotools/Makefile ] || exit 0; \
32049 r=`${PWD_COMMAND}`; export r; \
32050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32051 $(HOST_EXPORTS) \
32052 for flag in $(EXTRA_HOST_FLAGS) ; do \
32053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32054 done; \
32055 echo "Doing html in gotools" ; \
32056 (cd $(HOST_SUBDIR)/gotools && \
32057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32059 "RANLIB=$${RANLIB}" \
32060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32061 html) \
32062 || exit 1
32064 @endif gotools
32066 .PHONY: maybe-TAGS-gotools TAGS-gotools
32067 maybe-TAGS-gotools:
32068 @if gotools
32069 maybe-TAGS-gotools: TAGS-gotools
32071 TAGS-gotools: \
32072 configure-gotools
32073 @: $(MAKE); $(unstage)
32074 @[ -f ./gotools/Makefile ] || exit 0; \
32075 r=`${PWD_COMMAND}`; export r; \
32076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32077 $(HOST_EXPORTS) \
32078 for flag in $(EXTRA_HOST_FLAGS) ; do \
32079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32080 done; \
32081 echo "Doing TAGS in gotools" ; \
32082 (cd $(HOST_SUBDIR)/gotools && \
32083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32085 "RANLIB=$${RANLIB}" \
32086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32087 TAGS) \
32088 || exit 1
32090 @endif gotools
32092 .PHONY: maybe-install-info-gotools install-info-gotools
32093 maybe-install-info-gotools:
32094 @if gotools
32095 maybe-install-info-gotools: install-info-gotools
32097 install-info-gotools: \
32098 configure-gotools \
32099 info-gotools
32100 @: $(MAKE); $(unstage)
32101 @[ -f ./gotools/Makefile ] || exit 0; \
32102 r=`${PWD_COMMAND}`; export r; \
32103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32104 $(HOST_EXPORTS) \
32105 for flag in $(EXTRA_HOST_FLAGS) ; do \
32106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32107 done; \
32108 echo "Doing install-info in gotools" ; \
32109 (cd $(HOST_SUBDIR)/gotools && \
32110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32112 "RANLIB=$${RANLIB}" \
32113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32114 install-info) \
32115 || exit 1
32117 @endif gotools
32119 .PHONY: maybe-install-pdf-gotools install-pdf-gotools
32120 maybe-install-pdf-gotools:
32121 @if gotools
32122 maybe-install-pdf-gotools: install-pdf-gotools
32124 install-pdf-gotools: \
32125 configure-gotools \
32126 pdf-gotools
32127 @: $(MAKE); $(unstage)
32128 @[ -f ./gotools/Makefile ] || exit 0; \
32129 r=`${PWD_COMMAND}`; export r; \
32130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32131 $(HOST_EXPORTS) \
32132 for flag in $(EXTRA_HOST_FLAGS) ; do \
32133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32134 done; \
32135 echo "Doing install-pdf in gotools" ; \
32136 (cd $(HOST_SUBDIR)/gotools && \
32137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32139 "RANLIB=$${RANLIB}" \
32140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32141 install-pdf) \
32142 || exit 1
32144 @endif gotools
32146 .PHONY: maybe-install-html-gotools install-html-gotools
32147 maybe-install-html-gotools:
32148 @if gotools
32149 maybe-install-html-gotools: install-html-gotools
32151 install-html-gotools: \
32152 configure-gotools \
32153 html-gotools
32154 @: $(MAKE); $(unstage)
32155 @[ -f ./gotools/Makefile ] || exit 0; \
32156 r=`${PWD_COMMAND}`; export r; \
32157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32158 $(HOST_EXPORTS) \
32159 for flag in $(EXTRA_HOST_FLAGS) ; do \
32160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32161 done; \
32162 echo "Doing install-html in gotools" ; \
32163 (cd $(HOST_SUBDIR)/gotools && \
32164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32166 "RANLIB=$${RANLIB}" \
32167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32168 install-html) \
32169 || exit 1
32171 @endif gotools
32173 .PHONY: maybe-installcheck-gotools installcheck-gotools
32174 maybe-installcheck-gotools:
32175 @if gotools
32176 maybe-installcheck-gotools: installcheck-gotools
32178 installcheck-gotools: \
32179 configure-gotools
32180 @: $(MAKE); $(unstage)
32181 @[ -f ./gotools/Makefile ] || exit 0; \
32182 r=`${PWD_COMMAND}`; export r; \
32183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32184 $(HOST_EXPORTS) \
32185 for flag in $(EXTRA_HOST_FLAGS) ; do \
32186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32187 done; \
32188 echo "Doing installcheck in gotools" ; \
32189 (cd $(HOST_SUBDIR)/gotools && \
32190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32192 "RANLIB=$${RANLIB}" \
32193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32194 installcheck) \
32195 || exit 1
32197 @endif gotools
32199 .PHONY: maybe-mostlyclean-gotools mostlyclean-gotools
32200 maybe-mostlyclean-gotools:
32201 @if gotools
32202 maybe-mostlyclean-gotools: mostlyclean-gotools
32204 mostlyclean-gotools:
32205 @: $(MAKE); $(unstage)
32206 @[ -f ./gotools/Makefile ] || exit 0; \
32207 r=`${PWD_COMMAND}`; export r; \
32208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32209 $(HOST_EXPORTS) \
32210 for flag in $(EXTRA_HOST_FLAGS) ; do \
32211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32212 done; \
32213 echo "Doing mostlyclean in gotools" ; \
32214 (cd $(HOST_SUBDIR)/gotools && \
32215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32217 "RANLIB=$${RANLIB}" \
32218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32219 mostlyclean) \
32220 || exit 1
32222 @endif gotools
32224 .PHONY: maybe-clean-gotools clean-gotools
32225 maybe-clean-gotools:
32226 @if gotools
32227 maybe-clean-gotools: clean-gotools
32229 clean-gotools:
32230 @: $(MAKE); $(unstage)
32231 @[ -f ./gotools/Makefile ] || exit 0; \
32232 r=`${PWD_COMMAND}`; export r; \
32233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32234 $(HOST_EXPORTS) \
32235 for flag in $(EXTRA_HOST_FLAGS) ; do \
32236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32237 done; \
32238 echo "Doing clean in gotools" ; \
32239 (cd $(HOST_SUBDIR)/gotools && \
32240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32242 "RANLIB=$${RANLIB}" \
32243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32244 clean) \
32245 || exit 1
32247 @endif gotools
32249 .PHONY: maybe-distclean-gotools distclean-gotools
32250 maybe-distclean-gotools:
32251 @if gotools
32252 maybe-distclean-gotools: distclean-gotools
32254 distclean-gotools:
32255 @: $(MAKE); $(unstage)
32256 @[ -f ./gotools/Makefile ] || exit 0; \
32257 r=`${PWD_COMMAND}`; export r; \
32258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32259 $(HOST_EXPORTS) \
32260 for flag in $(EXTRA_HOST_FLAGS) ; do \
32261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32262 done; \
32263 echo "Doing distclean in gotools" ; \
32264 (cd $(HOST_SUBDIR)/gotools && \
32265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32267 "RANLIB=$${RANLIB}" \
32268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32269 distclean) \
32270 || exit 1
32272 @endif gotools
32274 .PHONY: maybe-maintainer-clean-gotools maintainer-clean-gotools
32275 maybe-maintainer-clean-gotools:
32276 @if gotools
32277 maybe-maintainer-clean-gotools: maintainer-clean-gotools
32279 maintainer-clean-gotools:
32280 @: $(MAKE); $(unstage)
32281 @[ -f ./gotools/Makefile ] || exit 0; \
32282 r=`${PWD_COMMAND}`; export r; \
32283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32284 $(HOST_EXPORTS) \
32285 for flag in $(EXTRA_HOST_FLAGS) ; do \
32286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32287 done; \
32288 echo "Doing maintainer-clean in gotools" ; \
32289 (cd $(HOST_SUBDIR)/gotools && \
32290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32292 "RANLIB=$${RANLIB}" \
32293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32294 maintainer-clean) \
32295 || exit 1
32297 @endif gotools
32301 # ---------------------------------------
32302 # Modules which run on the target machine
32303 # ---------------------------------------
32308 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
32309 maybe-configure-target-libstdc++-v3:
32310 @if gcc-bootstrap
32311 configure-target-libstdc++-v3: stage_current
32312 @endif gcc-bootstrap
32313 @if target-libstdc++-v3
32314 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
32315 configure-target-libstdc++-v3:
32316 @r=`${PWD_COMMAND}`; export r; \
32317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32318 echo "Checking multilib configuration for libstdc++-v3..."; \
32319 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
32320 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
32321 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32322 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32323 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
32324 else \
32325 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
32326 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32327 fi; \
32328 else \
32329 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32330 fi; \
32331 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
32332 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
32333 $(RAW_CXX_TARGET_EXPORTS) \
32334 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
32335 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
32336 case $(srcdir) in \
32337 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32338 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
32339 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32340 esac; \
32341 module_srcdir=libstdc++-v3; \
32342 rm -f no-such-file || : ; \
32343 CONFIG_SITE=no-such-file $(SHELL) \
32344 $$s/$$module_srcdir/configure \
32345 --srcdir=$${topdir}/$$module_srcdir \
32346 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32347 --target=${target_alias} \
32348 || exit 1
32349 @endif target-libstdc++-v3
32353 .PHONY: configure-stage1-target-libstdc++-v3 maybe-configure-stage1-target-libstdc++-v3
32354 maybe-configure-stage1-target-libstdc++-v3:
32355 @if target-libstdc++-v3-bootstrap
32356 maybe-configure-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
32357 configure-stage1-target-libstdc++-v3:
32358 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
32359 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
32360 @r=`${PWD_COMMAND}`; export r; \
32361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32362 TFLAGS="$(STAGE1_TFLAGS)"; \
32363 echo "Checking multilib configuration for libstdc++-v3..."; \
32364 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
32365 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32366 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32367 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
32368 else \
32369 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
32370 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32371 fi; \
32372 else \
32373 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32374 fi; \
32375 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
32376 $(RAW_CXX_TARGET_EXPORTS) \
32377 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32378 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32379 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32380 echo Configuring stage 1 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
32381 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
32382 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
32383 case $(srcdir) in \
32384 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32385 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
32386 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32387 esac; \
32388 module_srcdir=libstdc++-v3; \
32389 $(SHELL) $$s/$$module_srcdir/configure \
32390 --srcdir=$${topdir}/$$module_srcdir \
32391 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32392 --target=${target_alias} \
32394 $(STAGE1_CONFIGURE_FLAGS)
32395 @endif target-libstdc++-v3-bootstrap
32397 .PHONY: configure-stage2-target-libstdc++-v3 maybe-configure-stage2-target-libstdc++-v3
32398 maybe-configure-stage2-target-libstdc++-v3:
32399 @if target-libstdc++-v3-bootstrap
32400 maybe-configure-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
32401 configure-stage2-target-libstdc++-v3:
32402 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
32403 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
32404 @r=`${PWD_COMMAND}`; export r; \
32405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32406 TFLAGS="$(STAGE2_TFLAGS)"; \
32407 echo "Checking multilib configuration for libstdc++-v3..."; \
32408 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
32409 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32410 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32411 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
32412 else \
32413 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
32414 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32415 fi; \
32416 else \
32417 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32418 fi; \
32419 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
32420 $(RAW_CXX_TARGET_EXPORTS) \
32422 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32423 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32424 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32425 echo Configuring stage 2 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
32426 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
32427 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
32428 case $(srcdir) in \
32429 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32430 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
32431 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32432 esac; \
32433 module_srcdir=libstdc++-v3; \
32434 $(SHELL) $$s/$$module_srcdir/configure \
32435 --srcdir=$${topdir}/$$module_srcdir \
32436 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32437 --target=${target_alias} \
32438 --with-build-libsubdir=$(HOST_SUBDIR) \
32439 $(STAGE2_CONFIGURE_FLAGS)
32440 @endif target-libstdc++-v3-bootstrap
32442 .PHONY: configure-stage3-target-libstdc++-v3 maybe-configure-stage3-target-libstdc++-v3
32443 maybe-configure-stage3-target-libstdc++-v3:
32444 @if target-libstdc++-v3-bootstrap
32445 maybe-configure-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
32446 configure-stage3-target-libstdc++-v3:
32447 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
32448 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
32449 @r=`${PWD_COMMAND}`; export r; \
32450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32451 TFLAGS="$(STAGE3_TFLAGS)"; \
32452 echo "Checking multilib configuration for libstdc++-v3..."; \
32453 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
32454 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32455 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32456 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
32457 else \
32458 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
32459 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32460 fi; \
32461 else \
32462 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32463 fi; \
32464 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
32465 $(RAW_CXX_TARGET_EXPORTS) \
32467 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32468 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32469 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32470 echo Configuring stage 3 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
32471 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
32472 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
32473 case $(srcdir) in \
32474 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32475 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
32476 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32477 esac; \
32478 module_srcdir=libstdc++-v3; \
32479 $(SHELL) $$s/$$module_srcdir/configure \
32480 --srcdir=$${topdir}/$$module_srcdir \
32481 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32482 --target=${target_alias} \
32483 --with-build-libsubdir=$(HOST_SUBDIR) \
32484 $(STAGE3_CONFIGURE_FLAGS)
32485 @endif target-libstdc++-v3-bootstrap
32487 .PHONY: configure-stage4-target-libstdc++-v3 maybe-configure-stage4-target-libstdc++-v3
32488 maybe-configure-stage4-target-libstdc++-v3:
32489 @if target-libstdc++-v3-bootstrap
32490 maybe-configure-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
32491 configure-stage4-target-libstdc++-v3:
32492 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
32493 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
32494 @r=`${PWD_COMMAND}`; export r; \
32495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32496 TFLAGS="$(STAGE4_TFLAGS)"; \
32497 echo "Checking multilib configuration for libstdc++-v3..."; \
32498 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
32499 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32500 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32501 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
32502 else \
32503 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
32504 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32505 fi; \
32506 else \
32507 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32508 fi; \
32509 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
32510 $(RAW_CXX_TARGET_EXPORTS) \
32512 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32513 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32514 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32515 echo Configuring stage 4 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
32516 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
32517 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
32518 case $(srcdir) in \
32519 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32520 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
32521 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32522 esac; \
32523 module_srcdir=libstdc++-v3; \
32524 $(SHELL) $$s/$$module_srcdir/configure \
32525 --srcdir=$${topdir}/$$module_srcdir \
32526 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32527 --target=${target_alias} \
32528 --with-build-libsubdir=$(HOST_SUBDIR) \
32529 $(STAGE4_CONFIGURE_FLAGS)
32530 @endif target-libstdc++-v3-bootstrap
32532 .PHONY: configure-stageprofile-target-libstdc++-v3 maybe-configure-stageprofile-target-libstdc++-v3
32533 maybe-configure-stageprofile-target-libstdc++-v3:
32534 @if target-libstdc++-v3-bootstrap
32535 maybe-configure-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
32536 configure-stageprofile-target-libstdc++-v3:
32537 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
32538 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
32539 @r=`${PWD_COMMAND}`; export r; \
32540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32541 TFLAGS="$(STAGEprofile_TFLAGS)"; \
32542 echo "Checking multilib configuration for libstdc++-v3..."; \
32543 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
32544 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32545 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32546 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
32547 else \
32548 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
32549 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32550 fi; \
32551 else \
32552 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32553 fi; \
32554 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
32555 $(RAW_CXX_TARGET_EXPORTS) \
32557 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32558 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32559 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32560 echo Configuring stage profile in $(TARGET_SUBDIR)/libstdc++-v3 ; \
32561 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
32562 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
32563 case $(srcdir) in \
32564 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32565 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
32566 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32567 esac; \
32568 module_srcdir=libstdc++-v3; \
32569 $(SHELL) $$s/$$module_srcdir/configure \
32570 --srcdir=$${topdir}/$$module_srcdir \
32571 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32572 --target=${target_alias} \
32573 --with-build-libsubdir=$(HOST_SUBDIR) \
32574 $(STAGEprofile_CONFIGURE_FLAGS)
32575 @endif target-libstdc++-v3-bootstrap
32577 .PHONY: configure-stagefeedback-target-libstdc++-v3 maybe-configure-stagefeedback-target-libstdc++-v3
32578 maybe-configure-stagefeedback-target-libstdc++-v3:
32579 @if target-libstdc++-v3-bootstrap
32580 maybe-configure-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
32581 configure-stagefeedback-target-libstdc++-v3:
32582 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
32583 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
32584 @r=`${PWD_COMMAND}`; export r; \
32585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32586 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
32587 echo "Checking multilib configuration for libstdc++-v3..."; \
32588 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
32589 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32590 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
32591 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
32592 else \
32593 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
32594 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32595 fi; \
32596 else \
32597 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
32598 fi; \
32599 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
32600 $(RAW_CXX_TARGET_EXPORTS) \
32602 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
32603 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
32604 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
32605 echo Configuring stage feedback in $(TARGET_SUBDIR)/libstdc++-v3 ; \
32606 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
32607 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
32608 case $(srcdir) in \
32609 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32610 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
32611 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32612 esac; \
32613 module_srcdir=libstdc++-v3; \
32614 $(SHELL) $$s/$$module_srcdir/configure \
32615 --srcdir=$${topdir}/$$module_srcdir \
32616 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
32617 --target=${target_alias} \
32618 --with-build-libsubdir=$(HOST_SUBDIR) \
32619 $(STAGEfeedback_CONFIGURE_FLAGS)
32620 @endif target-libstdc++-v3-bootstrap
32626 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
32627 maybe-all-target-libstdc++-v3:
32628 @if gcc-bootstrap
32629 all-target-libstdc++-v3: stage_current
32630 @endif gcc-bootstrap
32631 @if target-libstdc++-v3
32632 TARGET-target-libstdc++-v3=all
32633 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
32634 all-target-libstdc++-v3: configure-target-libstdc++-v3
32635 @r=`${PWD_COMMAND}`; export r; \
32636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32637 $(RAW_CXX_TARGET_EXPORTS) \
32638 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32639 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32640 $(TARGET-target-libstdc++-v3))
32641 @endif target-libstdc++-v3
32645 .PHONY: all-stage1-target-libstdc++-v3 maybe-all-stage1-target-libstdc++-v3
32646 .PHONY: clean-stage1-target-libstdc++-v3 maybe-clean-stage1-target-libstdc++-v3
32647 maybe-all-stage1-target-libstdc++-v3:
32648 maybe-clean-stage1-target-libstdc++-v3:
32649 @if target-libstdc++-v3-bootstrap
32650 maybe-all-stage1-target-libstdc++-v3: all-stage1-target-libstdc++-v3
32651 all-stage1: all-stage1-target-libstdc++-v3
32652 TARGET-stage1-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
32653 all-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
32654 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
32655 @r=`${PWD_COMMAND}`; export r; \
32656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32657 TFLAGS="$(STAGE1_TFLAGS)"; \
32658 $(RAW_CXX_TARGET_EXPORTS) \
32659 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32660 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32661 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32662 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32663 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32664 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32665 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32666 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32667 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32669 TFLAGS="$(STAGE1_TFLAGS)" \
32670 $(TARGET-stage1-target-libstdc++-v3)
32672 maybe-clean-stage1-target-libstdc++-v3: clean-stage1-target-libstdc++-v3
32673 clean-stage1: clean-stage1-target-libstdc++-v3
32674 clean-stage1-target-libstdc++-v3:
32675 @if [ $(current_stage) = stage1 ]; then \
32676 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
32677 else \
32678 [ -f $(TARGET_SUBDIR)/stage1-libstdc++-v3/Makefile ] || exit 0; \
32679 $(MAKE) stage1-start; \
32680 fi; \
32681 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32682 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32683 clean
32684 @endif target-libstdc++-v3-bootstrap
32687 .PHONY: all-stage2-target-libstdc++-v3 maybe-all-stage2-target-libstdc++-v3
32688 .PHONY: clean-stage2-target-libstdc++-v3 maybe-clean-stage2-target-libstdc++-v3
32689 maybe-all-stage2-target-libstdc++-v3:
32690 maybe-clean-stage2-target-libstdc++-v3:
32691 @if target-libstdc++-v3-bootstrap
32692 maybe-all-stage2-target-libstdc++-v3: all-stage2-target-libstdc++-v3
32693 all-stage2: all-stage2-target-libstdc++-v3
32694 TARGET-stage2-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
32695 all-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
32696 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
32697 @r=`${PWD_COMMAND}`; export r; \
32698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32699 TFLAGS="$(STAGE2_TFLAGS)"; \
32700 $(RAW_CXX_TARGET_EXPORTS) \
32702 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32703 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32704 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32705 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32706 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32707 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32708 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32709 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32710 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32711 TFLAGS="$(STAGE2_TFLAGS)" \
32712 $(TARGET-stage2-target-libstdc++-v3)
32714 maybe-clean-stage2-target-libstdc++-v3: clean-stage2-target-libstdc++-v3
32715 clean-stage2: clean-stage2-target-libstdc++-v3
32716 clean-stage2-target-libstdc++-v3:
32717 @if [ $(current_stage) = stage2 ]; then \
32718 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
32719 else \
32720 [ -f $(TARGET_SUBDIR)/stage2-libstdc++-v3/Makefile ] || exit 0; \
32721 $(MAKE) stage2-start; \
32722 fi; \
32723 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32724 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
32725 @endif target-libstdc++-v3-bootstrap
32728 .PHONY: all-stage3-target-libstdc++-v3 maybe-all-stage3-target-libstdc++-v3
32729 .PHONY: clean-stage3-target-libstdc++-v3 maybe-clean-stage3-target-libstdc++-v3
32730 maybe-all-stage3-target-libstdc++-v3:
32731 maybe-clean-stage3-target-libstdc++-v3:
32732 @if target-libstdc++-v3-bootstrap
32733 maybe-all-stage3-target-libstdc++-v3: all-stage3-target-libstdc++-v3
32734 all-stage3: all-stage3-target-libstdc++-v3
32735 TARGET-stage3-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
32736 all-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
32737 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
32738 @r=`${PWD_COMMAND}`; export r; \
32739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32740 TFLAGS="$(STAGE3_TFLAGS)"; \
32741 $(RAW_CXX_TARGET_EXPORTS) \
32743 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32744 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32745 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32746 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32747 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32748 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32749 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32750 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32751 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32752 TFLAGS="$(STAGE3_TFLAGS)" \
32753 $(TARGET-stage3-target-libstdc++-v3)
32755 maybe-clean-stage3-target-libstdc++-v3: clean-stage3-target-libstdc++-v3
32756 clean-stage3: clean-stage3-target-libstdc++-v3
32757 clean-stage3-target-libstdc++-v3:
32758 @if [ $(current_stage) = stage3 ]; then \
32759 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
32760 else \
32761 [ -f $(TARGET_SUBDIR)/stage3-libstdc++-v3/Makefile ] || exit 0; \
32762 $(MAKE) stage3-start; \
32763 fi; \
32764 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32765 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
32766 @endif target-libstdc++-v3-bootstrap
32769 .PHONY: all-stage4-target-libstdc++-v3 maybe-all-stage4-target-libstdc++-v3
32770 .PHONY: clean-stage4-target-libstdc++-v3 maybe-clean-stage4-target-libstdc++-v3
32771 maybe-all-stage4-target-libstdc++-v3:
32772 maybe-clean-stage4-target-libstdc++-v3:
32773 @if target-libstdc++-v3-bootstrap
32774 maybe-all-stage4-target-libstdc++-v3: all-stage4-target-libstdc++-v3
32775 all-stage4: all-stage4-target-libstdc++-v3
32776 TARGET-stage4-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
32777 all-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
32778 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
32779 @r=`${PWD_COMMAND}`; export r; \
32780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32781 TFLAGS="$(STAGE4_TFLAGS)"; \
32782 $(RAW_CXX_TARGET_EXPORTS) \
32784 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32785 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32786 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32787 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32788 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32789 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32790 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32791 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32792 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32793 TFLAGS="$(STAGE4_TFLAGS)" \
32794 $(TARGET-stage4-target-libstdc++-v3)
32796 maybe-clean-stage4-target-libstdc++-v3: clean-stage4-target-libstdc++-v3
32797 clean-stage4: clean-stage4-target-libstdc++-v3
32798 clean-stage4-target-libstdc++-v3:
32799 @if [ $(current_stage) = stage4 ]; then \
32800 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
32801 else \
32802 [ -f $(TARGET_SUBDIR)/stage4-libstdc++-v3/Makefile ] || exit 0; \
32803 $(MAKE) stage4-start; \
32804 fi; \
32805 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32806 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
32807 @endif target-libstdc++-v3-bootstrap
32810 .PHONY: all-stageprofile-target-libstdc++-v3 maybe-all-stageprofile-target-libstdc++-v3
32811 .PHONY: clean-stageprofile-target-libstdc++-v3 maybe-clean-stageprofile-target-libstdc++-v3
32812 maybe-all-stageprofile-target-libstdc++-v3:
32813 maybe-clean-stageprofile-target-libstdc++-v3:
32814 @if target-libstdc++-v3-bootstrap
32815 maybe-all-stageprofile-target-libstdc++-v3: all-stageprofile-target-libstdc++-v3
32816 all-stageprofile: all-stageprofile-target-libstdc++-v3
32817 TARGET-stageprofile-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
32818 all-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
32819 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
32820 @r=`${PWD_COMMAND}`; export r; \
32821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32822 TFLAGS="$(STAGEprofile_TFLAGS)"; \
32823 $(RAW_CXX_TARGET_EXPORTS) \
32825 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32826 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32827 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32828 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32829 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32830 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32831 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32832 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32833 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32834 TFLAGS="$(STAGEprofile_TFLAGS)" \
32835 $(TARGET-stageprofile-target-libstdc++-v3)
32837 maybe-clean-stageprofile-target-libstdc++-v3: clean-stageprofile-target-libstdc++-v3
32838 clean-stageprofile: clean-stageprofile-target-libstdc++-v3
32839 clean-stageprofile-target-libstdc++-v3:
32840 @if [ $(current_stage) = stageprofile ]; then \
32841 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
32842 else \
32843 [ -f $(TARGET_SUBDIR)/stageprofile-libstdc++-v3/Makefile ] || exit 0; \
32844 $(MAKE) stageprofile-start; \
32845 fi; \
32846 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32847 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
32848 @endif target-libstdc++-v3-bootstrap
32851 .PHONY: all-stagefeedback-target-libstdc++-v3 maybe-all-stagefeedback-target-libstdc++-v3
32852 .PHONY: clean-stagefeedback-target-libstdc++-v3 maybe-clean-stagefeedback-target-libstdc++-v3
32853 maybe-all-stagefeedback-target-libstdc++-v3:
32854 maybe-clean-stagefeedback-target-libstdc++-v3:
32855 @if target-libstdc++-v3-bootstrap
32856 maybe-all-stagefeedback-target-libstdc++-v3: all-stagefeedback-target-libstdc++-v3
32857 all-stagefeedback: all-stagefeedback-target-libstdc++-v3
32858 TARGET-stagefeedback-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
32859 all-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
32860 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
32861 @r=`${PWD_COMMAND}`; export r; \
32862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32863 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
32864 $(RAW_CXX_TARGET_EXPORTS) \
32866 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32867 $(MAKE) $(BASE_FLAGS_TO_PASS) \
32868 CFLAGS="$(CFLAGS_FOR_TARGET)" \
32869 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
32870 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
32871 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
32872 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
32873 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
32874 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
32875 TFLAGS="$(STAGEfeedback_TFLAGS)" \
32876 $(TARGET-stagefeedback-target-libstdc++-v3)
32878 maybe-clean-stagefeedback-target-libstdc++-v3: clean-stagefeedback-target-libstdc++-v3
32879 clean-stagefeedback: clean-stagefeedback-target-libstdc++-v3
32880 clean-stagefeedback-target-libstdc++-v3:
32881 @if [ $(current_stage) = stagefeedback ]; then \
32882 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
32883 else \
32884 [ -f $(TARGET_SUBDIR)/stagefeedback-libstdc++-v3/Makefile ] || exit 0; \
32885 $(MAKE) stagefeedback-start; \
32886 fi; \
32887 cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32888 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
32889 @endif target-libstdc++-v3-bootstrap
32896 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
32897 maybe-check-target-libstdc++-v3:
32898 @if target-libstdc++-v3
32899 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
32901 check-target-libstdc++-v3:
32902 @: $(MAKE); $(unstage)
32903 @r=`${PWD_COMMAND}`; export r; \
32904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32905 $(RAW_CXX_TARGET_EXPORTS) \
32906 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32907 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
32909 @endif target-libstdc++-v3
32911 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
32912 maybe-install-target-libstdc++-v3:
32913 @if target-libstdc++-v3
32914 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
32916 install-target-libstdc++-v3: installdirs
32917 @: $(MAKE); $(unstage)
32918 @r=`${PWD_COMMAND}`; export r; \
32919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32920 $(RAW_CXX_TARGET_EXPORTS) \
32921 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32922 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32924 @endif target-libstdc++-v3
32926 .PHONY: install-strip-target-libstdc++-v3 maybe-install-strip-target-libstdc++-v3
32927 maybe-install-strip-target-libstdc++-v3:
32928 @if target-libstdc++-v3
32929 maybe-install-strip-target-libstdc++-v3: install-strip-target-libstdc++-v3
32931 install-strip-target-libstdc++-v3: installdirs
32932 @: $(MAKE); $(unstage)
32933 @r=`${PWD_COMMAND}`; export r; \
32934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32935 $(RAW_CXX_TARGET_EXPORTS) \
32936 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32937 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
32939 @endif target-libstdc++-v3
32941 # Other targets (info, dvi, pdf, etc.)
32943 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
32944 maybe-info-target-libstdc++-v3:
32945 @if target-libstdc++-v3
32946 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
32948 info-target-libstdc++-v3: \
32949 configure-target-libstdc++-v3
32950 @: $(MAKE); $(unstage)
32951 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32952 r=`${PWD_COMMAND}`; export r; \
32953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32954 $(RAW_CXX_TARGET_EXPORTS) \
32955 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32956 for flag in $(EXTRA_TARGET_FLAGS); do \
32957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32958 done; \
32959 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32962 "RANLIB=$${RANLIB}" \
32963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32964 info) \
32965 || exit 1
32967 @endif target-libstdc++-v3
32969 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
32970 maybe-dvi-target-libstdc++-v3:
32971 @if target-libstdc++-v3
32972 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
32974 dvi-target-libstdc++-v3: \
32975 configure-target-libstdc++-v3
32976 @: $(MAKE); $(unstage)
32977 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
32978 r=`${PWD_COMMAND}`; export r; \
32979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32980 $(RAW_CXX_TARGET_EXPORTS) \
32981 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
32982 for flag in $(EXTRA_TARGET_FLAGS); do \
32983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32984 done; \
32985 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
32986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32988 "RANLIB=$${RANLIB}" \
32989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
32990 dvi) \
32991 || exit 1
32993 @endif target-libstdc++-v3
32995 .PHONY: maybe-pdf-target-libstdc++-v3 pdf-target-libstdc++-v3
32996 maybe-pdf-target-libstdc++-v3:
32997 @if target-libstdc++-v3
32998 maybe-pdf-target-libstdc++-v3: pdf-target-libstdc++-v3
33000 pdf-target-libstdc++-v3: \
33001 configure-target-libstdc++-v3
33002 @: $(MAKE); $(unstage)
33003 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33004 r=`${PWD_COMMAND}`; export r; \
33005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33006 $(RAW_CXX_TARGET_EXPORTS) \
33007 echo "Doing pdf in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33008 for flag in $(EXTRA_TARGET_FLAGS); do \
33009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33010 done; \
33011 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33014 "RANLIB=$${RANLIB}" \
33015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33016 pdf) \
33017 || exit 1
33019 @endif target-libstdc++-v3
33021 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
33022 maybe-html-target-libstdc++-v3:
33023 @if target-libstdc++-v3
33024 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
33026 html-target-libstdc++-v3: \
33027 configure-target-libstdc++-v3
33028 @: $(MAKE); $(unstage)
33029 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33030 r=`${PWD_COMMAND}`; export r; \
33031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33032 $(RAW_CXX_TARGET_EXPORTS) \
33033 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33034 for flag in $(EXTRA_TARGET_FLAGS); do \
33035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33036 done; \
33037 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33040 "RANLIB=$${RANLIB}" \
33041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33042 html) \
33043 || exit 1
33045 @endif target-libstdc++-v3
33047 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
33048 maybe-TAGS-target-libstdc++-v3:
33049 @if target-libstdc++-v3
33050 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
33052 TAGS-target-libstdc++-v3: \
33053 configure-target-libstdc++-v3
33054 @: $(MAKE); $(unstage)
33055 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33056 r=`${PWD_COMMAND}`; export r; \
33057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33058 $(RAW_CXX_TARGET_EXPORTS) \
33059 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33060 for flag in $(EXTRA_TARGET_FLAGS); do \
33061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33062 done; \
33063 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33066 "RANLIB=$${RANLIB}" \
33067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33068 TAGS) \
33069 || exit 1
33071 @endif target-libstdc++-v3
33073 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
33074 maybe-install-info-target-libstdc++-v3:
33075 @if target-libstdc++-v3
33076 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
33078 install-info-target-libstdc++-v3: \
33079 configure-target-libstdc++-v3 \
33080 info-target-libstdc++-v3
33081 @: $(MAKE); $(unstage)
33082 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33083 r=`${PWD_COMMAND}`; export r; \
33084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33085 $(RAW_CXX_TARGET_EXPORTS) \
33086 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33087 for flag in $(EXTRA_TARGET_FLAGS); do \
33088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33089 done; \
33090 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33093 "RANLIB=$${RANLIB}" \
33094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33095 install-info) \
33096 || exit 1
33098 @endif target-libstdc++-v3
33100 .PHONY: maybe-install-pdf-target-libstdc++-v3 install-pdf-target-libstdc++-v3
33101 maybe-install-pdf-target-libstdc++-v3:
33102 @if target-libstdc++-v3
33103 maybe-install-pdf-target-libstdc++-v3: install-pdf-target-libstdc++-v3
33105 install-pdf-target-libstdc++-v3: \
33106 configure-target-libstdc++-v3 \
33107 pdf-target-libstdc++-v3
33108 @: $(MAKE); $(unstage)
33109 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33110 r=`${PWD_COMMAND}`; export r; \
33111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33112 $(RAW_CXX_TARGET_EXPORTS) \
33113 echo "Doing install-pdf in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33114 for flag in $(EXTRA_TARGET_FLAGS); do \
33115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33116 done; \
33117 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33120 "RANLIB=$${RANLIB}" \
33121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33122 install-pdf) \
33123 || exit 1
33125 @endif target-libstdc++-v3
33127 .PHONY: maybe-install-html-target-libstdc++-v3 install-html-target-libstdc++-v3
33128 maybe-install-html-target-libstdc++-v3:
33129 @if target-libstdc++-v3
33130 maybe-install-html-target-libstdc++-v3: install-html-target-libstdc++-v3
33132 install-html-target-libstdc++-v3: \
33133 configure-target-libstdc++-v3 \
33134 html-target-libstdc++-v3
33135 @: $(MAKE); $(unstage)
33136 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33137 r=`${PWD_COMMAND}`; export r; \
33138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33139 $(RAW_CXX_TARGET_EXPORTS) \
33140 echo "Doing install-html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33141 for flag in $(EXTRA_TARGET_FLAGS); do \
33142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33143 done; \
33144 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33147 "RANLIB=$${RANLIB}" \
33148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33149 install-html) \
33150 || exit 1
33152 @endif target-libstdc++-v3
33154 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
33155 maybe-installcheck-target-libstdc++-v3:
33156 @if target-libstdc++-v3
33157 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
33159 installcheck-target-libstdc++-v3: \
33160 configure-target-libstdc++-v3
33161 @: $(MAKE); $(unstage)
33162 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33163 r=`${PWD_COMMAND}`; export r; \
33164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33165 $(RAW_CXX_TARGET_EXPORTS) \
33166 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33167 for flag in $(EXTRA_TARGET_FLAGS); do \
33168 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33169 done; \
33170 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33171 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33172 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33173 "RANLIB=$${RANLIB}" \
33174 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33175 installcheck) \
33176 || exit 1
33178 @endif target-libstdc++-v3
33180 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
33181 maybe-mostlyclean-target-libstdc++-v3:
33182 @if target-libstdc++-v3
33183 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
33185 mostlyclean-target-libstdc++-v3:
33186 @: $(MAKE); $(unstage)
33187 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33188 r=`${PWD_COMMAND}`; export r; \
33189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33190 $(RAW_CXX_TARGET_EXPORTS) \
33191 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33192 for flag in $(EXTRA_TARGET_FLAGS); do \
33193 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33194 done; \
33195 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33198 "RANLIB=$${RANLIB}" \
33199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33200 mostlyclean) \
33201 || exit 1
33203 @endif target-libstdc++-v3
33205 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
33206 maybe-clean-target-libstdc++-v3:
33207 @if target-libstdc++-v3
33208 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
33210 clean-target-libstdc++-v3:
33211 @: $(MAKE); $(unstage)
33212 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33213 r=`${PWD_COMMAND}`; export r; \
33214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33215 $(RAW_CXX_TARGET_EXPORTS) \
33216 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33217 for flag in $(EXTRA_TARGET_FLAGS); do \
33218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33219 done; \
33220 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33223 "RANLIB=$${RANLIB}" \
33224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33225 clean) \
33226 || exit 1
33228 @endif target-libstdc++-v3
33230 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
33231 maybe-distclean-target-libstdc++-v3:
33232 @if target-libstdc++-v3
33233 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
33235 distclean-target-libstdc++-v3:
33236 @: $(MAKE); $(unstage)
33237 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33238 r=`${PWD_COMMAND}`; export r; \
33239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33240 $(RAW_CXX_TARGET_EXPORTS) \
33241 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33242 for flag in $(EXTRA_TARGET_FLAGS); do \
33243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33244 done; \
33245 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33248 "RANLIB=$${RANLIB}" \
33249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33250 distclean) \
33251 || exit 1
33253 @endif target-libstdc++-v3
33255 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
33256 maybe-maintainer-clean-target-libstdc++-v3:
33257 @if target-libstdc++-v3
33258 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
33260 maintainer-clean-target-libstdc++-v3:
33261 @: $(MAKE); $(unstage)
33262 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
33263 r=`${PWD_COMMAND}`; export r; \
33264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33265 $(RAW_CXX_TARGET_EXPORTS) \
33266 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
33267 for flag in $(EXTRA_TARGET_FLAGS); do \
33268 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33269 done; \
33270 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
33271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33273 "RANLIB=$${RANLIB}" \
33274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33275 maintainer-clean) \
33276 || exit 1
33278 @endif target-libstdc++-v3
33284 .PHONY: configure-target-libsanitizer maybe-configure-target-libsanitizer
33285 maybe-configure-target-libsanitizer:
33286 @if gcc-bootstrap
33287 configure-target-libsanitizer: stage_current
33288 @endif gcc-bootstrap
33289 @if target-libsanitizer
33290 maybe-configure-target-libsanitizer: configure-target-libsanitizer
33291 configure-target-libsanitizer:
33292 @r=`${PWD_COMMAND}`; export r; \
33293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33294 echo "Checking multilib configuration for libsanitizer..."; \
33295 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
33296 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
33297 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33298 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33299 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
33300 else \
33301 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
33302 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33303 fi; \
33304 else \
33305 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33306 fi; \
33307 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
33308 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
33309 $(RAW_CXX_TARGET_EXPORTS) \
33310 echo Configuring in $(TARGET_SUBDIR)/libsanitizer; \
33311 cd "$(TARGET_SUBDIR)/libsanitizer" || exit 1; \
33312 case $(srcdir) in \
33313 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33314 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
33315 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33316 esac; \
33317 module_srcdir=libsanitizer; \
33318 rm -f no-such-file || : ; \
33319 CONFIG_SITE=no-such-file $(SHELL) \
33320 $$s/$$module_srcdir/configure \
33321 --srcdir=$${topdir}/$$module_srcdir \
33322 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33323 --target=${target_alias} \
33324 || exit 1
33325 @endif target-libsanitizer
33329 .PHONY: configure-stage1-target-libsanitizer maybe-configure-stage1-target-libsanitizer
33330 maybe-configure-stage1-target-libsanitizer:
33331 @if target-libsanitizer-bootstrap
33332 maybe-configure-stage1-target-libsanitizer: configure-stage1-target-libsanitizer
33333 configure-stage1-target-libsanitizer:
33334 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
33335 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
33336 @r=`${PWD_COMMAND}`; export r; \
33337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33338 TFLAGS="$(STAGE1_TFLAGS)"; \
33339 echo "Checking multilib configuration for libsanitizer..."; \
33340 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
33341 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33342 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33343 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
33344 else \
33345 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
33346 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33347 fi; \
33348 else \
33349 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33350 fi; \
33351 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
33352 $(RAW_CXX_TARGET_EXPORTS) \
33353 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33354 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33355 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33356 echo Configuring stage 1 in $(TARGET_SUBDIR)/libsanitizer ; \
33357 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
33358 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
33359 case $(srcdir) in \
33360 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33361 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
33362 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33363 esac; \
33364 module_srcdir=libsanitizer; \
33365 $(SHELL) $$s/$$module_srcdir/configure \
33366 --srcdir=$${topdir}/$$module_srcdir \
33367 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33368 --target=${target_alias} \
33370 $(STAGE1_CONFIGURE_FLAGS)
33371 @endif target-libsanitizer-bootstrap
33373 .PHONY: configure-stage2-target-libsanitizer maybe-configure-stage2-target-libsanitizer
33374 maybe-configure-stage2-target-libsanitizer:
33375 @if target-libsanitizer-bootstrap
33376 maybe-configure-stage2-target-libsanitizer: configure-stage2-target-libsanitizer
33377 configure-stage2-target-libsanitizer:
33378 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
33379 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
33380 @r=`${PWD_COMMAND}`; export r; \
33381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33382 TFLAGS="$(STAGE2_TFLAGS)"; \
33383 echo "Checking multilib configuration for libsanitizer..."; \
33384 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
33385 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33386 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33387 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
33388 else \
33389 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
33390 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33391 fi; \
33392 else \
33393 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33394 fi; \
33395 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
33396 $(RAW_CXX_TARGET_EXPORTS) \
33398 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33399 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33400 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33401 echo Configuring stage 2 in $(TARGET_SUBDIR)/libsanitizer ; \
33402 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
33403 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
33404 case $(srcdir) in \
33405 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33406 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
33407 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33408 esac; \
33409 module_srcdir=libsanitizer; \
33410 $(SHELL) $$s/$$module_srcdir/configure \
33411 --srcdir=$${topdir}/$$module_srcdir \
33412 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33413 --target=${target_alias} \
33414 --with-build-libsubdir=$(HOST_SUBDIR) \
33415 $(STAGE2_CONFIGURE_FLAGS)
33416 @endif target-libsanitizer-bootstrap
33418 .PHONY: configure-stage3-target-libsanitizer maybe-configure-stage3-target-libsanitizer
33419 maybe-configure-stage3-target-libsanitizer:
33420 @if target-libsanitizer-bootstrap
33421 maybe-configure-stage3-target-libsanitizer: configure-stage3-target-libsanitizer
33422 configure-stage3-target-libsanitizer:
33423 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
33424 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
33425 @r=`${PWD_COMMAND}`; export r; \
33426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33427 TFLAGS="$(STAGE3_TFLAGS)"; \
33428 echo "Checking multilib configuration for libsanitizer..."; \
33429 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
33430 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33431 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33432 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
33433 else \
33434 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
33435 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33436 fi; \
33437 else \
33438 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33439 fi; \
33440 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
33441 $(RAW_CXX_TARGET_EXPORTS) \
33443 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33444 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33445 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33446 echo Configuring stage 3 in $(TARGET_SUBDIR)/libsanitizer ; \
33447 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
33448 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
33449 case $(srcdir) in \
33450 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33451 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
33452 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33453 esac; \
33454 module_srcdir=libsanitizer; \
33455 $(SHELL) $$s/$$module_srcdir/configure \
33456 --srcdir=$${topdir}/$$module_srcdir \
33457 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33458 --target=${target_alias} \
33459 --with-build-libsubdir=$(HOST_SUBDIR) \
33460 $(STAGE3_CONFIGURE_FLAGS)
33461 @endif target-libsanitizer-bootstrap
33463 .PHONY: configure-stage4-target-libsanitizer maybe-configure-stage4-target-libsanitizer
33464 maybe-configure-stage4-target-libsanitizer:
33465 @if target-libsanitizer-bootstrap
33466 maybe-configure-stage4-target-libsanitizer: configure-stage4-target-libsanitizer
33467 configure-stage4-target-libsanitizer:
33468 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
33469 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
33470 @r=`${PWD_COMMAND}`; export r; \
33471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33472 TFLAGS="$(STAGE4_TFLAGS)"; \
33473 echo "Checking multilib configuration for libsanitizer..."; \
33474 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
33475 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33476 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33477 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
33478 else \
33479 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
33480 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33481 fi; \
33482 else \
33483 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33484 fi; \
33485 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
33486 $(RAW_CXX_TARGET_EXPORTS) \
33488 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33489 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33490 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33491 echo Configuring stage 4 in $(TARGET_SUBDIR)/libsanitizer ; \
33492 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
33493 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
33494 case $(srcdir) in \
33495 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33496 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
33497 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33498 esac; \
33499 module_srcdir=libsanitizer; \
33500 $(SHELL) $$s/$$module_srcdir/configure \
33501 --srcdir=$${topdir}/$$module_srcdir \
33502 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33503 --target=${target_alias} \
33504 --with-build-libsubdir=$(HOST_SUBDIR) \
33505 $(STAGE4_CONFIGURE_FLAGS)
33506 @endif target-libsanitizer-bootstrap
33508 .PHONY: configure-stageprofile-target-libsanitizer maybe-configure-stageprofile-target-libsanitizer
33509 maybe-configure-stageprofile-target-libsanitizer:
33510 @if target-libsanitizer-bootstrap
33511 maybe-configure-stageprofile-target-libsanitizer: configure-stageprofile-target-libsanitizer
33512 configure-stageprofile-target-libsanitizer:
33513 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
33514 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
33515 @r=`${PWD_COMMAND}`; export r; \
33516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33517 TFLAGS="$(STAGEprofile_TFLAGS)"; \
33518 echo "Checking multilib configuration for libsanitizer..."; \
33519 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
33520 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33521 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33522 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
33523 else \
33524 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
33525 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33526 fi; \
33527 else \
33528 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33529 fi; \
33530 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
33531 $(RAW_CXX_TARGET_EXPORTS) \
33533 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33534 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33535 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33536 echo Configuring stage profile in $(TARGET_SUBDIR)/libsanitizer ; \
33537 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
33538 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
33539 case $(srcdir) in \
33540 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33541 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
33542 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33543 esac; \
33544 module_srcdir=libsanitizer; \
33545 $(SHELL) $$s/$$module_srcdir/configure \
33546 --srcdir=$${topdir}/$$module_srcdir \
33547 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33548 --target=${target_alias} \
33549 --with-build-libsubdir=$(HOST_SUBDIR) \
33550 $(STAGEprofile_CONFIGURE_FLAGS)
33551 @endif target-libsanitizer-bootstrap
33553 .PHONY: configure-stagefeedback-target-libsanitizer maybe-configure-stagefeedback-target-libsanitizer
33554 maybe-configure-stagefeedback-target-libsanitizer:
33555 @if target-libsanitizer-bootstrap
33556 maybe-configure-stagefeedback-target-libsanitizer: configure-stagefeedback-target-libsanitizer
33557 configure-stagefeedback-target-libsanitizer:
33558 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
33559 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
33560 @r=`${PWD_COMMAND}`; export r; \
33561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33562 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
33563 echo "Checking multilib configuration for libsanitizer..."; \
33564 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
33565 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33566 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
33567 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
33568 else \
33569 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
33570 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33571 fi; \
33572 else \
33573 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
33574 fi; \
33575 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
33576 $(RAW_CXX_TARGET_EXPORTS) \
33578 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
33579 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
33580 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
33581 echo Configuring stage feedback in $(TARGET_SUBDIR)/libsanitizer ; \
33582 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
33583 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
33584 case $(srcdir) in \
33585 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33586 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
33587 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33588 esac; \
33589 module_srcdir=libsanitizer; \
33590 $(SHELL) $$s/$$module_srcdir/configure \
33591 --srcdir=$${topdir}/$$module_srcdir \
33592 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
33593 --target=${target_alias} \
33594 --with-build-libsubdir=$(HOST_SUBDIR) \
33595 $(STAGEfeedback_CONFIGURE_FLAGS)
33596 @endif target-libsanitizer-bootstrap
33602 .PHONY: all-target-libsanitizer maybe-all-target-libsanitizer
33603 maybe-all-target-libsanitizer:
33604 @if gcc-bootstrap
33605 all-target-libsanitizer: stage_current
33606 @endif gcc-bootstrap
33607 @if target-libsanitizer
33608 TARGET-target-libsanitizer=all
33609 maybe-all-target-libsanitizer: all-target-libsanitizer
33610 all-target-libsanitizer: configure-target-libsanitizer
33611 @r=`${PWD_COMMAND}`; export r; \
33612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33613 $(RAW_CXX_TARGET_EXPORTS) \
33614 (cd $(TARGET_SUBDIR)/libsanitizer && \
33615 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33616 $(TARGET-target-libsanitizer))
33617 @endif target-libsanitizer
33621 .PHONY: all-stage1-target-libsanitizer maybe-all-stage1-target-libsanitizer
33622 .PHONY: clean-stage1-target-libsanitizer maybe-clean-stage1-target-libsanitizer
33623 maybe-all-stage1-target-libsanitizer:
33624 maybe-clean-stage1-target-libsanitizer:
33625 @if target-libsanitizer-bootstrap
33626 maybe-all-stage1-target-libsanitizer: all-stage1-target-libsanitizer
33627 all-stage1: all-stage1-target-libsanitizer
33628 TARGET-stage1-target-libsanitizer = $(TARGET-target-libsanitizer)
33629 all-stage1-target-libsanitizer: configure-stage1-target-libsanitizer
33630 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
33631 @r=`${PWD_COMMAND}`; export r; \
33632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33633 TFLAGS="$(STAGE1_TFLAGS)"; \
33634 $(RAW_CXX_TARGET_EXPORTS) \
33635 cd $(TARGET_SUBDIR)/libsanitizer && \
33636 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33637 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33638 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33639 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33640 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33641 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33642 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33643 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33645 TFLAGS="$(STAGE1_TFLAGS)" \
33646 $(TARGET-stage1-target-libsanitizer)
33648 maybe-clean-stage1-target-libsanitizer: clean-stage1-target-libsanitizer
33649 clean-stage1: clean-stage1-target-libsanitizer
33650 clean-stage1-target-libsanitizer:
33651 @if [ $(current_stage) = stage1 ]; then \
33652 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
33653 else \
33654 [ -f $(TARGET_SUBDIR)/stage1-libsanitizer/Makefile ] || exit 0; \
33655 $(MAKE) stage1-start; \
33656 fi; \
33657 cd $(TARGET_SUBDIR)/libsanitizer && \
33658 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33659 clean
33660 @endif target-libsanitizer-bootstrap
33663 .PHONY: all-stage2-target-libsanitizer maybe-all-stage2-target-libsanitizer
33664 .PHONY: clean-stage2-target-libsanitizer maybe-clean-stage2-target-libsanitizer
33665 maybe-all-stage2-target-libsanitizer:
33666 maybe-clean-stage2-target-libsanitizer:
33667 @if target-libsanitizer-bootstrap
33668 maybe-all-stage2-target-libsanitizer: all-stage2-target-libsanitizer
33669 all-stage2: all-stage2-target-libsanitizer
33670 TARGET-stage2-target-libsanitizer = $(TARGET-target-libsanitizer)
33671 all-stage2-target-libsanitizer: configure-stage2-target-libsanitizer
33672 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
33673 @r=`${PWD_COMMAND}`; export r; \
33674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33675 TFLAGS="$(STAGE2_TFLAGS)"; \
33676 $(RAW_CXX_TARGET_EXPORTS) \
33678 cd $(TARGET_SUBDIR)/libsanitizer && \
33679 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33680 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33681 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33682 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33683 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33684 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33685 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33686 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33687 TFLAGS="$(STAGE2_TFLAGS)" \
33688 $(TARGET-stage2-target-libsanitizer)
33690 maybe-clean-stage2-target-libsanitizer: clean-stage2-target-libsanitizer
33691 clean-stage2: clean-stage2-target-libsanitizer
33692 clean-stage2-target-libsanitizer:
33693 @if [ $(current_stage) = stage2 ]; then \
33694 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
33695 else \
33696 [ -f $(TARGET_SUBDIR)/stage2-libsanitizer/Makefile ] || exit 0; \
33697 $(MAKE) stage2-start; \
33698 fi; \
33699 cd $(TARGET_SUBDIR)/libsanitizer && \
33700 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
33701 @endif target-libsanitizer-bootstrap
33704 .PHONY: all-stage3-target-libsanitizer maybe-all-stage3-target-libsanitizer
33705 .PHONY: clean-stage3-target-libsanitizer maybe-clean-stage3-target-libsanitizer
33706 maybe-all-stage3-target-libsanitizer:
33707 maybe-clean-stage3-target-libsanitizer:
33708 @if target-libsanitizer-bootstrap
33709 maybe-all-stage3-target-libsanitizer: all-stage3-target-libsanitizer
33710 all-stage3: all-stage3-target-libsanitizer
33711 TARGET-stage3-target-libsanitizer = $(TARGET-target-libsanitizer)
33712 all-stage3-target-libsanitizer: configure-stage3-target-libsanitizer
33713 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
33714 @r=`${PWD_COMMAND}`; export r; \
33715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33716 TFLAGS="$(STAGE3_TFLAGS)"; \
33717 $(RAW_CXX_TARGET_EXPORTS) \
33719 cd $(TARGET_SUBDIR)/libsanitizer && \
33720 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33721 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33722 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33723 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33724 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33725 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33726 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33727 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33728 TFLAGS="$(STAGE3_TFLAGS)" \
33729 $(TARGET-stage3-target-libsanitizer)
33731 maybe-clean-stage3-target-libsanitizer: clean-stage3-target-libsanitizer
33732 clean-stage3: clean-stage3-target-libsanitizer
33733 clean-stage3-target-libsanitizer:
33734 @if [ $(current_stage) = stage3 ]; then \
33735 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
33736 else \
33737 [ -f $(TARGET_SUBDIR)/stage3-libsanitizer/Makefile ] || exit 0; \
33738 $(MAKE) stage3-start; \
33739 fi; \
33740 cd $(TARGET_SUBDIR)/libsanitizer && \
33741 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
33742 @endif target-libsanitizer-bootstrap
33745 .PHONY: all-stage4-target-libsanitizer maybe-all-stage4-target-libsanitizer
33746 .PHONY: clean-stage4-target-libsanitizer maybe-clean-stage4-target-libsanitizer
33747 maybe-all-stage4-target-libsanitizer:
33748 maybe-clean-stage4-target-libsanitizer:
33749 @if target-libsanitizer-bootstrap
33750 maybe-all-stage4-target-libsanitizer: all-stage4-target-libsanitizer
33751 all-stage4: all-stage4-target-libsanitizer
33752 TARGET-stage4-target-libsanitizer = $(TARGET-target-libsanitizer)
33753 all-stage4-target-libsanitizer: configure-stage4-target-libsanitizer
33754 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
33755 @r=`${PWD_COMMAND}`; export r; \
33756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33757 TFLAGS="$(STAGE4_TFLAGS)"; \
33758 $(RAW_CXX_TARGET_EXPORTS) \
33760 cd $(TARGET_SUBDIR)/libsanitizer && \
33761 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33762 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33763 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33764 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33765 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33766 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33767 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33768 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33769 TFLAGS="$(STAGE4_TFLAGS)" \
33770 $(TARGET-stage4-target-libsanitizer)
33772 maybe-clean-stage4-target-libsanitizer: clean-stage4-target-libsanitizer
33773 clean-stage4: clean-stage4-target-libsanitizer
33774 clean-stage4-target-libsanitizer:
33775 @if [ $(current_stage) = stage4 ]; then \
33776 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
33777 else \
33778 [ -f $(TARGET_SUBDIR)/stage4-libsanitizer/Makefile ] || exit 0; \
33779 $(MAKE) stage4-start; \
33780 fi; \
33781 cd $(TARGET_SUBDIR)/libsanitizer && \
33782 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
33783 @endif target-libsanitizer-bootstrap
33786 .PHONY: all-stageprofile-target-libsanitizer maybe-all-stageprofile-target-libsanitizer
33787 .PHONY: clean-stageprofile-target-libsanitizer maybe-clean-stageprofile-target-libsanitizer
33788 maybe-all-stageprofile-target-libsanitizer:
33789 maybe-clean-stageprofile-target-libsanitizer:
33790 @if target-libsanitizer-bootstrap
33791 maybe-all-stageprofile-target-libsanitizer: all-stageprofile-target-libsanitizer
33792 all-stageprofile: all-stageprofile-target-libsanitizer
33793 TARGET-stageprofile-target-libsanitizer = $(TARGET-target-libsanitizer)
33794 all-stageprofile-target-libsanitizer: configure-stageprofile-target-libsanitizer
33795 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
33796 @r=`${PWD_COMMAND}`; export r; \
33797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33798 TFLAGS="$(STAGEprofile_TFLAGS)"; \
33799 $(RAW_CXX_TARGET_EXPORTS) \
33801 cd $(TARGET_SUBDIR)/libsanitizer && \
33802 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33803 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33804 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33805 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33806 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33807 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33808 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33809 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33810 TFLAGS="$(STAGEprofile_TFLAGS)" \
33811 $(TARGET-stageprofile-target-libsanitizer)
33813 maybe-clean-stageprofile-target-libsanitizer: clean-stageprofile-target-libsanitizer
33814 clean-stageprofile: clean-stageprofile-target-libsanitizer
33815 clean-stageprofile-target-libsanitizer:
33816 @if [ $(current_stage) = stageprofile ]; then \
33817 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
33818 else \
33819 [ -f $(TARGET_SUBDIR)/stageprofile-libsanitizer/Makefile ] || exit 0; \
33820 $(MAKE) stageprofile-start; \
33821 fi; \
33822 cd $(TARGET_SUBDIR)/libsanitizer && \
33823 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
33824 @endif target-libsanitizer-bootstrap
33827 .PHONY: all-stagefeedback-target-libsanitizer maybe-all-stagefeedback-target-libsanitizer
33828 .PHONY: clean-stagefeedback-target-libsanitizer maybe-clean-stagefeedback-target-libsanitizer
33829 maybe-all-stagefeedback-target-libsanitizer:
33830 maybe-clean-stagefeedback-target-libsanitizer:
33831 @if target-libsanitizer-bootstrap
33832 maybe-all-stagefeedback-target-libsanitizer: all-stagefeedback-target-libsanitizer
33833 all-stagefeedback: all-stagefeedback-target-libsanitizer
33834 TARGET-stagefeedback-target-libsanitizer = $(TARGET-target-libsanitizer)
33835 all-stagefeedback-target-libsanitizer: configure-stagefeedback-target-libsanitizer
33836 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
33837 @r=`${PWD_COMMAND}`; export r; \
33838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33839 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
33840 $(RAW_CXX_TARGET_EXPORTS) \
33842 cd $(TARGET_SUBDIR)/libsanitizer && \
33843 $(MAKE) $(BASE_FLAGS_TO_PASS) \
33844 CFLAGS="$(CFLAGS_FOR_TARGET)" \
33845 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
33846 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
33847 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
33848 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
33849 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
33850 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
33851 TFLAGS="$(STAGEfeedback_TFLAGS)" \
33852 $(TARGET-stagefeedback-target-libsanitizer)
33854 maybe-clean-stagefeedback-target-libsanitizer: clean-stagefeedback-target-libsanitizer
33855 clean-stagefeedback: clean-stagefeedback-target-libsanitizer
33856 clean-stagefeedback-target-libsanitizer:
33857 @if [ $(current_stage) = stagefeedback ]; then \
33858 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
33859 else \
33860 [ -f $(TARGET_SUBDIR)/stagefeedback-libsanitizer/Makefile ] || exit 0; \
33861 $(MAKE) stagefeedback-start; \
33862 fi; \
33863 cd $(TARGET_SUBDIR)/libsanitizer && \
33864 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
33865 @endif target-libsanitizer-bootstrap
33872 .PHONY: check-target-libsanitizer maybe-check-target-libsanitizer
33873 maybe-check-target-libsanitizer:
33874 @if target-libsanitizer
33875 maybe-check-target-libsanitizer: check-target-libsanitizer
33877 check-target-libsanitizer:
33878 @: $(MAKE); $(unstage)
33879 @r=`${PWD_COMMAND}`; export r; \
33880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33881 $(RAW_CXX_TARGET_EXPORTS) \
33882 (cd $(TARGET_SUBDIR)/libsanitizer && \
33883 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
33885 @endif target-libsanitizer
33887 .PHONY: install-target-libsanitizer maybe-install-target-libsanitizer
33888 maybe-install-target-libsanitizer:
33889 @if target-libsanitizer
33890 maybe-install-target-libsanitizer: install-target-libsanitizer
33892 install-target-libsanitizer: installdirs
33893 @: $(MAKE); $(unstage)
33894 @r=`${PWD_COMMAND}`; export r; \
33895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33896 $(RAW_CXX_TARGET_EXPORTS) \
33897 (cd $(TARGET_SUBDIR)/libsanitizer && \
33898 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33900 @endif target-libsanitizer
33902 .PHONY: install-strip-target-libsanitizer maybe-install-strip-target-libsanitizer
33903 maybe-install-strip-target-libsanitizer:
33904 @if target-libsanitizer
33905 maybe-install-strip-target-libsanitizer: install-strip-target-libsanitizer
33907 install-strip-target-libsanitizer: installdirs
33908 @: $(MAKE); $(unstage)
33909 @r=`${PWD_COMMAND}`; export r; \
33910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33911 $(RAW_CXX_TARGET_EXPORTS) \
33912 (cd $(TARGET_SUBDIR)/libsanitizer && \
33913 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
33915 @endif target-libsanitizer
33917 # Other targets (info, dvi, pdf, etc.)
33919 .PHONY: maybe-info-target-libsanitizer info-target-libsanitizer
33920 maybe-info-target-libsanitizer:
33921 @if target-libsanitizer
33922 maybe-info-target-libsanitizer: info-target-libsanitizer
33924 info-target-libsanitizer: \
33925 configure-target-libsanitizer
33926 @: $(MAKE); $(unstage)
33927 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33928 r=`${PWD_COMMAND}`; export r; \
33929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33930 $(RAW_CXX_TARGET_EXPORTS) \
33931 echo "Doing info in $(TARGET_SUBDIR)/libsanitizer" ; \
33932 for flag in $(EXTRA_TARGET_FLAGS); do \
33933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33934 done; \
33935 (cd $(TARGET_SUBDIR)/libsanitizer && \
33936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33938 "RANLIB=$${RANLIB}" \
33939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33940 info) \
33941 || exit 1
33943 @endif target-libsanitizer
33945 .PHONY: maybe-dvi-target-libsanitizer dvi-target-libsanitizer
33946 maybe-dvi-target-libsanitizer:
33947 @if target-libsanitizer
33948 maybe-dvi-target-libsanitizer: dvi-target-libsanitizer
33950 dvi-target-libsanitizer: \
33951 configure-target-libsanitizer
33952 @: $(MAKE); $(unstage)
33953 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33954 r=`${PWD_COMMAND}`; export r; \
33955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33956 $(RAW_CXX_TARGET_EXPORTS) \
33957 echo "Doing dvi in $(TARGET_SUBDIR)/libsanitizer" ; \
33958 for flag in $(EXTRA_TARGET_FLAGS); do \
33959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33960 done; \
33961 (cd $(TARGET_SUBDIR)/libsanitizer && \
33962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33964 "RANLIB=$${RANLIB}" \
33965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33966 dvi) \
33967 || exit 1
33969 @endif target-libsanitizer
33971 .PHONY: maybe-pdf-target-libsanitizer pdf-target-libsanitizer
33972 maybe-pdf-target-libsanitizer:
33973 @if target-libsanitizer
33974 maybe-pdf-target-libsanitizer: pdf-target-libsanitizer
33976 pdf-target-libsanitizer: \
33977 configure-target-libsanitizer
33978 @: $(MAKE); $(unstage)
33979 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
33980 r=`${PWD_COMMAND}`; export r; \
33981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33982 $(RAW_CXX_TARGET_EXPORTS) \
33983 echo "Doing pdf in $(TARGET_SUBDIR)/libsanitizer" ; \
33984 for flag in $(EXTRA_TARGET_FLAGS); do \
33985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33986 done; \
33987 (cd $(TARGET_SUBDIR)/libsanitizer && \
33988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33990 "RANLIB=$${RANLIB}" \
33991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
33992 pdf) \
33993 || exit 1
33995 @endif target-libsanitizer
33997 .PHONY: maybe-html-target-libsanitizer html-target-libsanitizer
33998 maybe-html-target-libsanitizer:
33999 @if target-libsanitizer
34000 maybe-html-target-libsanitizer: html-target-libsanitizer
34002 html-target-libsanitizer: \
34003 configure-target-libsanitizer
34004 @: $(MAKE); $(unstage)
34005 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
34006 r=`${PWD_COMMAND}`; export r; \
34007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34008 $(RAW_CXX_TARGET_EXPORTS) \
34009 echo "Doing html in $(TARGET_SUBDIR)/libsanitizer" ; \
34010 for flag in $(EXTRA_TARGET_FLAGS); do \
34011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34012 done; \
34013 (cd $(TARGET_SUBDIR)/libsanitizer && \
34014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34016 "RANLIB=$${RANLIB}" \
34017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34018 html) \
34019 || exit 1
34021 @endif target-libsanitizer
34023 .PHONY: maybe-TAGS-target-libsanitizer TAGS-target-libsanitizer
34024 maybe-TAGS-target-libsanitizer:
34025 @if target-libsanitizer
34026 maybe-TAGS-target-libsanitizer: TAGS-target-libsanitizer
34028 TAGS-target-libsanitizer: \
34029 configure-target-libsanitizer
34030 @: $(MAKE); $(unstage)
34031 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
34032 r=`${PWD_COMMAND}`; export r; \
34033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34034 $(RAW_CXX_TARGET_EXPORTS) \
34035 echo "Doing TAGS in $(TARGET_SUBDIR)/libsanitizer" ; \
34036 for flag in $(EXTRA_TARGET_FLAGS); do \
34037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34038 done; \
34039 (cd $(TARGET_SUBDIR)/libsanitizer && \
34040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34042 "RANLIB=$${RANLIB}" \
34043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34044 TAGS) \
34045 || exit 1
34047 @endif target-libsanitizer
34049 .PHONY: maybe-install-info-target-libsanitizer install-info-target-libsanitizer
34050 maybe-install-info-target-libsanitizer:
34051 @if target-libsanitizer
34052 maybe-install-info-target-libsanitizer: install-info-target-libsanitizer
34054 install-info-target-libsanitizer: \
34055 configure-target-libsanitizer \
34056 info-target-libsanitizer
34057 @: $(MAKE); $(unstage)
34058 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
34059 r=`${PWD_COMMAND}`; export r; \
34060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34061 $(RAW_CXX_TARGET_EXPORTS) \
34062 echo "Doing install-info in $(TARGET_SUBDIR)/libsanitizer" ; \
34063 for flag in $(EXTRA_TARGET_FLAGS); do \
34064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34065 done; \
34066 (cd $(TARGET_SUBDIR)/libsanitizer && \
34067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34069 "RANLIB=$${RANLIB}" \
34070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34071 install-info) \
34072 || exit 1
34074 @endif target-libsanitizer
34076 .PHONY: maybe-install-pdf-target-libsanitizer install-pdf-target-libsanitizer
34077 maybe-install-pdf-target-libsanitizer:
34078 @if target-libsanitizer
34079 maybe-install-pdf-target-libsanitizer: install-pdf-target-libsanitizer
34081 install-pdf-target-libsanitizer: \
34082 configure-target-libsanitizer \
34083 pdf-target-libsanitizer
34084 @: $(MAKE); $(unstage)
34085 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
34086 r=`${PWD_COMMAND}`; export r; \
34087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34088 $(RAW_CXX_TARGET_EXPORTS) \
34089 echo "Doing install-pdf in $(TARGET_SUBDIR)/libsanitizer" ; \
34090 for flag in $(EXTRA_TARGET_FLAGS); do \
34091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34092 done; \
34093 (cd $(TARGET_SUBDIR)/libsanitizer && \
34094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34096 "RANLIB=$${RANLIB}" \
34097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34098 install-pdf) \
34099 || exit 1
34101 @endif target-libsanitizer
34103 .PHONY: maybe-install-html-target-libsanitizer install-html-target-libsanitizer
34104 maybe-install-html-target-libsanitizer:
34105 @if target-libsanitizer
34106 maybe-install-html-target-libsanitizer: install-html-target-libsanitizer
34108 install-html-target-libsanitizer: \
34109 configure-target-libsanitizer \
34110 html-target-libsanitizer
34111 @: $(MAKE); $(unstage)
34112 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
34113 r=`${PWD_COMMAND}`; export r; \
34114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34115 $(RAW_CXX_TARGET_EXPORTS) \
34116 echo "Doing install-html in $(TARGET_SUBDIR)/libsanitizer" ; \
34117 for flag in $(EXTRA_TARGET_FLAGS); do \
34118 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34119 done; \
34120 (cd $(TARGET_SUBDIR)/libsanitizer && \
34121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34123 "RANLIB=$${RANLIB}" \
34124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34125 install-html) \
34126 || exit 1
34128 @endif target-libsanitizer
34130 .PHONY: maybe-installcheck-target-libsanitizer installcheck-target-libsanitizer
34131 maybe-installcheck-target-libsanitizer:
34132 @if target-libsanitizer
34133 maybe-installcheck-target-libsanitizer: installcheck-target-libsanitizer
34135 installcheck-target-libsanitizer: \
34136 configure-target-libsanitizer
34137 @: $(MAKE); $(unstage)
34138 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
34139 r=`${PWD_COMMAND}`; export r; \
34140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34141 $(RAW_CXX_TARGET_EXPORTS) \
34142 echo "Doing installcheck in $(TARGET_SUBDIR)/libsanitizer" ; \
34143 for flag in $(EXTRA_TARGET_FLAGS); do \
34144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34145 done; \
34146 (cd $(TARGET_SUBDIR)/libsanitizer && \
34147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34149 "RANLIB=$${RANLIB}" \
34150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34151 installcheck) \
34152 || exit 1
34154 @endif target-libsanitizer
34156 .PHONY: maybe-mostlyclean-target-libsanitizer mostlyclean-target-libsanitizer
34157 maybe-mostlyclean-target-libsanitizer:
34158 @if target-libsanitizer
34159 maybe-mostlyclean-target-libsanitizer: mostlyclean-target-libsanitizer
34161 mostlyclean-target-libsanitizer:
34162 @: $(MAKE); $(unstage)
34163 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
34164 r=`${PWD_COMMAND}`; export r; \
34165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34166 $(RAW_CXX_TARGET_EXPORTS) \
34167 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libsanitizer" ; \
34168 for flag in $(EXTRA_TARGET_FLAGS); do \
34169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34170 done; \
34171 (cd $(TARGET_SUBDIR)/libsanitizer && \
34172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34174 "RANLIB=$${RANLIB}" \
34175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34176 mostlyclean) \
34177 || exit 1
34179 @endif target-libsanitizer
34181 .PHONY: maybe-clean-target-libsanitizer clean-target-libsanitizer
34182 maybe-clean-target-libsanitizer:
34183 @if target-libsanitizer
34184 maybe-clean-target-libsanitizer: clean-target-libsanitizer
34186 clean-target-libsanitizer:
34187 @: $(MAKE); $(unstage)
34188 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
34189 r=`${PWD_COMMAND}`; export r; \
34190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34191 $(RAW_CXX_TARGET_EXPORTS) \
34192 echo "Doing clean in $(TARGET_SUBDIR)/libsanitizer" ; \
34193 for flag in $(EXTRA_TARGET_FLAGS); do \
34194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34195 done; \
34196 (cd $(TARGET_SUBDIR)/libsanitizer && \
34197 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34198 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34199 "RANLIB=$${RANLIB}" \
34200 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34201 clean) \
34202 || exit 1
34204 @endif target-libsanitizer
34206 .PHONY: maybe-distclean-target-libsanitizer distclean-target-libsanitizer
34207 maybe-distclean-target-libsanitizer:
34208 @if target-libsanitizer
34209 maybe-distclean-target-libsanitizer: distclean-target-libsanitizer
34211 distclean-target-libsanitizer:
34212 @: $(MAKE); $(unstage)
34213 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
34214 r=`${PWD_COMMAND}`; export r; \
34215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34216 $(RAW_CXX_TARGET_EXPORTS) \
34217 echo "Doing distclean in $(TARGET_SUBDIR)/libsanitizer" ; \
34218 for flag in $(EXTRA_TARGET_FLAGS); do \
34219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34220 done; \
34221 (cd $(TARGET_SUBDIR)/libsanitizer && \
34222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34224 "RANLIB=$${RANLIB}" \
34225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34226 distclean) \
34227 || exit 1
34229 @endif target-libsanitizer
34231 .PHONY: maybe-maintainer-clean-target-libsanitizer maintainer-clean-target-libsanitizer
34232 maybe-maintainer-clean-target-libsanitizer:
34233 @if target-libsanitizer
34234 maybe-maintainer-clean-target-libsanitizer: maintainer-clean-target-libsanitizer
34236 maintainer-clean-target-libsanitizer:
34237 @: $(MAKE); $(unstage)
34238 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
34239 r=`${PWD_COMMAND}`; export r; \
34240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34241 $(RAW_CXX_TARGET_EXPORTS) \
34242 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libsanitizer" ; \
34243 for flag in $(EXTRA_TARGET_FLAGS); do \
34244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34245 done; \
34246 (cd $(TARGET_SUBDIR)/libsanitizer && \
34247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34249 "RANLIB=$${RANLIB}" \
34250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34251 maintainer-clean) \
34252 || exit 1
34254 @endif target-libsanitizer
34260 .PHONY: configure-target-libvtv maybe-configure-target-libvtv
34261 maybe-configure-target-libvtv:
34262 @if gcc-bootstrap
34263 configure-target-libvtv: stage_current
34264 @endif gcc-bootstrap
34265 @if target-libvtv
34266 maybe-configure-target-libvtv: configure-target-libvtv
34267 configure-target-libvtv:
34268 @r=`${PWD_COMMAND}`; export r; \
34269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34270 echo "Checking multilib configuration for libvtv..."; \
34271 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
34272 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
34273 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
34274 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
34275 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
34276 else \
34277 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
34278 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
34279 fi; \
34280 else \
34281 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
34282 fi; \
34283 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
34284 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
34285 $(RAW_CXX_TARGET_EXPORTS) \
34286 echo Configuring in $(TARGET_SUBDIR)/libvtv; \
34287 cd "$(TARGET_SUBDIR)/libvtv" || exit 1; \
34288 case $(srcdir) in \
34289 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34290 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
34291 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34292 esac; \
34293 module_srcdir=libvtv; \
34294 rm -f no-such-file || : ; \
34295 CONFIG_SITE=no-such-file $(SHELL) \
34296 $$s/$$module_srcdir/configure \
34297 --srcdir=$${topdir}/$$module_srcdir \
34298 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34299 --target=${target_alias} \
34300 || exit 1
34301 @endif target-libvtv
34305 .PHONY: configure-stage1-target-libvtv maybe-configure-stage1-target-libvtv
34306 maybe-configure-stage1-target-libvtv:
34307 @if target-libvtv-bootstrap
34308 maybe-configure-stage1-target-libvtv: configure-stage1-target-libvtv
34309 configure-stage1-target-libvtv:
34310 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
34311 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
34312 @r=`${PWD_COMMAND}`; export r; \
34313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34314 TFLAGS="$(STAGE1_TFLAGS)"; \
34315 echo "Checking multilib configuration for libvtv..."; \
34316 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
34317 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
34318 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
34319 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
34320 else \
34321 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
34322 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
34323 fi; \
34324 else \
34325 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
34326 fi; \
34327 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
34328 $(RAW_CXX_TARGET_EXPORTS) \
34329 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
34330 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
34331 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
34332 echo Configuring stage 1 in $(TARGET_SUBDIR)/libvtv ; \
34333 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
34334 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
34335 case $(srcdir) in \
34336 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34337 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
34338 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34339 esac; \
34340 module_srcdir=libvtv; \
34341 $(SHELL) $$s/$$module_srcdir/configure \
34342 --srcdir=$${topdir}/$$module_srcdir \
34343 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34344 --target=${target_alias} \
34346 $(STAGE1_CONFIGURE_FLAGS)
34347 @endif target-libvtv-bootstrap
34349 .PHONY: configure-stage2-target-libvtv maybe-configure-stage2-target-libvtv
34350 maybe-configure-stage2-target-libvtv:
34351 @if target-libvtv-bootstrap
34352 maybe-configure-stage2-target-libvtv: configure-stage2-target-libvtv
34353 configure-stage2-target-libvtv:
34354 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
34355 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
34356 @r=`${PWD_COMMAND}`; export r; \
34357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34358 TFLAGS="$(STAGE2_TFLAGS)"; \
34359 echo "Checking multilib configuration for libvtv..."; \
34360 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
34361 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
34362 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
34363 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
34364 else \
34365 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
34366 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
34367 fi; \
34368 else \
34369 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
34370 fi; \
34371 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
34372 $(RAW_CXX_TARGET_EXPORTS) \
34374 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
34375 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
34376 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
34377 echo Configuring stage 2 in $(TARGET_SUBDIR)/libvtv ; \
34378 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
34379 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
34380 case $(srcdir) in \
34381 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34382 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
34383 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34384 esac; \
34385 module_srcdir=libvtv; \
34386 $(SHELL) $$s/$$module_srcdir/configure \
34387 --srcdir=$${topdir}/$$module_srcdir \
34388 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34389 --target=${target_alias} \
34390 --with-build-libsubdir=$(HOST_SUBDIR) \
34391 $(STAGE2_CONFIGURE_FLAGS)
34392 @endif target-libvtv-bootstrap
34394 .PHONY: configure-stage3-target-libvtv maybe-configure-stage3-target-libvtv
34395 maybe-configure-stage3-target-libvtv:
34396 @if target-libvtv-bootstrap
34397 maybe-configure-stage3-target-libvtv: configure-stage3-target-libvtv
34398 configure-stage3-target-libvtv:
34399 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
34400 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
34401 @r=`${PWD_COMMAND}`; export r; \
34402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34403 TFLAGS="$(STAGE3_TFLAGS)"; \
34404 echo "Checking multilib configuration for libvtv..."; \
34405 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
34406 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
34407 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
34408 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
34409 else \
34410 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
34411 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
34412 fi; \
34413 else \
34414 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
34415 fi; \
34416 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
34417 $(RAW_CXX_TARGET_EXPORTS) \
34419 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
34420 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
34421 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
34422 echo Configuring stage 3 in $(TARGET_SUBDIR)/libvtv ; \
34423 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
34424 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
34425 case $(srcdir) in \
34426 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34427 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
34428 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34429 esac; \
34430 module_srcdir=libvtv; \
34431 $(SHELL) $$s/$$module_srcdir/configure \
34432 --srcdir=$${topdir}/$$module_srcdir \
34433 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34434 --target=${target_alias} \
34435 --with-build-libsubdir=$(HOST_SUBDIR) \
34436 $(STAGE3_CONFIGURE_FLAGS)
34437 @endif target-libvtv-bootstrap
34439 .PHONY: configure-stage4-target-libvtv maybe-configure-stage4-target-libvtv
34440 maybe-configure-stage4-target-libvtv:
34441 @if target-libvtv-bootstrap
34442 maybe-configure-stage4-target-libvtv: configure-stage4-target-libvtv
34443 configure-stage4-target-libvtv:
34444 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
34445 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
34446 @r=`${PWD_COMMAND}`; export r; \
34447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34448 TFLAGS="$(STAGE4_TFLAGS)"; \
34449 echo "Checking multilib configuration for libvtv..."; \
34450 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
34451 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
34452 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
34453 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
34454 else \
34455 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
34456 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
34457 fi; \
34458 else \
34459 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
34460 fi; \
34461 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
34462 $(RAW_CXX_TARGET_EXPORTS) \
34464 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
34465 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
34466 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
34467 echo Configuring stage 4 in $(TARGET_SUBDIR)/libvtv ; \
34468 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
34469 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
34470 case $(srcdir) in \
34471 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34472 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
34473 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34474 esac; \
34475 module_srcdir=libvtv; \
34476 $(SHELL) $$s/$$module_srcdir/configure \
34477 --srcdir=$${topdir}/$$module_srcdir \
34478 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34479 --target=${target_alias} \
34480 --with-build-libsubdir=$(HOST_SUBDIR) \
34481 $(STAGE4_CONFIGURE_FLAGS)
34482 @endif target-libvtv-bootstrap
34484 .PHONY: configure-stageprofile-target-libvtv maybe-configure-stageprofile-target-libvtv
34485 maybe-configure-stageprofile-target-libvtv:
34486 @if target-libvtv-bootstrap
34487 maybe-configure-stageprofile-target-libvtv: configure-stageprofile-target-libvtv
34488 configure-stageprofile-target-libvtv:
34489 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
34490 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
34491 @r=`${PWD_COMMAND}`; export r; \
34492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34493 TFLAGS="$(STAGEprofile_TFLAGS)"; \
34494 echo "Checking multilib configuration for libvtv..."; \
34495 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
34496 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
34497 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
34498 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
34499 else \
34500 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
34501 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
34502 fi; \
34503 else \
34504 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
34505 fi; \
34506 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
34507 $(RAW_CXX_TARGET_EXPORTS) \
34509 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
34510 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
34511 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
34512 echo Configuring stage profile in $(TARGET_SUBDIR)/libvtv ; \
34513 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
34514 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
34515 case $(srcdir) in \
34516 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34517 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
34518 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34519 esac; \
34520 module_srcdir=libvtv; \
34521 $(SHELL) $$s/$$module_srcdir/configure \
34522 --srcdir=$${topdir}/$$module_srcdir \
34523 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34524 --target=${target_alias} \
34525 --with-build-libsubdir=$(HOST_SUBDIR) \
34526 $(STAGEprofile_CONFIGURE_FLAGS)
34527 @endif target-libvtv-bootstrap
34529 .PHONY: configure-stagefeedback-target-libvtv maybe-configure-stagefeedback-target-libvtv
34530 maybe-configure-stagefeedback-target-libvtv:
34531 @if target-libvtv-bootstrap
34532 maybe-configure-stagefeedback-target-libvtv: configure-stagefeedback-target-libvtv
34533 configure-stagefeedback-target-libvtv:
34534 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
34535 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
34536 @r=`${PWD_COMMAND}`; export r; \
34537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34538 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
34539 echo "Checking multilib configuration for libvtv..."; \
34540 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
34541 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
34542 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
34543 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
34544 else \
34545 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
34546 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
34547 fi; \
34548 else \
34549 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
34550 fi; \
34551 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
34552 $(RAW_CXX_TARGET_EXPORTS) \
34554 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
34555 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
34556 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
34557 echo Configuring stage feedback in $(TARGET_SUBDIR)/libvtv ; \
34558 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
34559 cd $(TARGET_SUBDIR)/libvtv || exit 1; \
34560 case $(srcdir) in \
34561 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34562 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
34563 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34564 esac; \
34565 module_srcdir=libvtv; \
34566 $(SHELL) $$s/$$module_srcdir/configure \
34567 --srcdir=$${topdir}/$$module_srcdir \
34568 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
34569 --target=${target_alias} \
34570 --with-build-libsubdir=$(HOST_SUBDIR) \
34571 $(STAGEfeedback_CONFIGURE_FLAGS)
34572 @endif target-libvtv-bootstrap
34578 .PHONY: all-target-libvtv maybe-all-target-libvtv
34579 maybe-all-target-libvtv:
34580 @if gcc-bootstrap
34581 all-target-libvtv: stage_current
34582 @endif gcc-bootstrap
34583 @if target-libvtv
34584 TARGET-target-libvtv=all
34585 maybe-all-target-libvtv: all-target-libvtv
34586 all-target-libvtv: configure-target-libvtv
34587 @r=`${PWD_COMMAND}`; export r; \
34588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34589 $(RAW_CXX_TARGET_EXPORTS) \
34590 (cd $(TARGET_SUBDIR)/libvtv && \
34591 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
34592 $(TARGET-target-libvtv))
34593 @endif target-libvtv
34597 .PHONY: all-stage1-target-libvtv maybe-all-stage1-target-libvtv
34598 .PHONY: clean-stage1-target-libvtv maybe-clean-stage1-target-libvtv
34599 maybe-all-stage1-target-libvtv:
34600 maybe-clean-stage1-target-libvtv:
34601 @if target-libvtv-bootstrap
34602 maybe-all-stage1-target-libvtv: all-stage1-target-libvtv
34603 all-stage1: all-stage1-target-libvtv
34604 TARGET-stage1-target-libvtv = $(TARGET-target-libvtv)
34605 all-stage1-target-libvtv: configure-stage1-target-libvtv
34606 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
34607 @r=`${PWD_COMMAND}`; export r; \
34608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34609 TFLAGS="$(STAGE1_TFLAGS)"; \
34610 $(RAW_CXX_TARGET_EXPORTS) \
34611 cd $(TARGET_SUBDIR)/libvtv && \
34612 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34613 CFLAGS="$(CFLAGS_FOR_TARGET)" \
34614 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
34615 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
34616 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34617 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34618 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34619 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
34621 TFLAGS="$(STAGE1_TFLAGS)" \
34622 $(TARGET-stage1-target-libvtv)
34624 maybe-clean-stage1-target-libvtv: clean-stage1-target-libvtv
34625 clean-stage1: clean-stage1-target-libvtv
34626 clean-stage1-target-libvtv:
34627 @if [ $(current_stage) = stage1 ]; then \
34628 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
34629 else \
34630 [ -f $(TARGET_SUBDIR)/stage1-libvtv/Makefile ] || exit 0; \
34631 $(MAKE) stage1-start; \
34632 fi; \
34633 cd $(TARGET_SUBDIR)/libvtv && \
34634 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
34635 clean
34636 @endif target-libvtv-bootstrap
34639 .PHONY: all-stage2-target-libvtv maybe-all-stage2-target-libvtv
34640 .PHONY: clean-stage2-target-libvtv maybe-clean-stage2-target-libvtv
34641 maybe-all-stage2-target-libvtv:
34642 maybe-clean-stage2-target-libvtv:
34643 @if target-libvtv-bootstrap
34644 maybe-all-stage2-target-libvtv: all-stage2-target-libvtv
34645 all-stage2: all-stage2-target-libvtv
34646 TARGET-stage2-target-libvtv = $(TARGET-target-libvtv)
34647 all-stage2-target-libvtv: configure-stage2-target-libvtv
34648 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
34649 @r=`${PWD_COMMAND}`; export r; \
34650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34651 TFLAGS="$(STAGE2_TFLAGS)"; \
34652 $(RAW_CXX_TARGET_EXPORTS) \
34654 cd $(TARGET_SUBDIR)/libvtv && \
34655 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34656 CFLAGS="$(CFLAGS_FOR_TARGET)" \
34657 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
34658 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
34659 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34660 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34661 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34662 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
34663 TFLAGS="$(STAGE2_TFLAGS)" \
34664 $(TARGET-stage2-target-libvtv)
34666 maybe-clean-stage2-target-libvtv: clean-stage2-target-libvtv
34667 clean-stage2: clean-stage2-target-libvtv
34668 clean-stage2-target-libvtv:
34669 @if [ $(current_stage) = stage2 ]; then \
34670 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
34671 else \
34672 [ -f $(TARGET_SUBDIR)/stage2-libvtv/Makefile ] || exit 0; \
34673 $(MAKE) stage2-start; \
34674 fi; \
34675 cd $(TARGET_SUBDIR)/libvtv && \
34676 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
34677 @endif target-libvtv-bootstrap
34680 .PHONY: all-stage3-target-libvtv maybe-all-stage3-target-libvtv
34681 .PHONY: clean-stage3-target-libvtv maybe-clean-stage3-target-libvtv
34682 maybe-all-stage3-target-libvtv:
34683 maybe-clean-stage3-target-libvtv:
34684 @if target-libvtv-bootstrap
34685 maybe-all-stage3-target-libvtv: all-stage3-target-libvtv
34686 all-stage3: all-stage3-target-libvtv
34687 TARGET-stage3-target-libvtv = $(TARGET-target-libvtv)
34688 all-stage3-target-libvtv: configure-stage3-target-libvtv
34689 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
34690 @r=`${PWD_COMMAND}`; export r; \
34691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34692 TFLAGS="$(STAGE3_TFLAGS)"; \
34693 $(RAW_CXX_TARGET_EXPORTS) \
34695 cd $(TARGET_SUBDIR)/libvtv && \
34696 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34697 CFLAGS="$(CFLAGS_FOR_TARGET)" \
34698 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
34699 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
34700 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34701 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34702 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34703 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
34704 TFLAGS="$(STAGE3_TFLAGS)" \
34705 $(TARGET-stage3-target-libvtv)
34707 maybe-clean-stage3-target-libvtv: clean-stage3-target-libvtv
34708 clean-stage3: clean-stage3-target-libvtv
34709 clean-stage3-target-libvtv:
34710 @if [ $(current_stage) = stage3 ]; then \
34711 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
34712 else \
34713 [ -f $(TARGET_SUBDIR)/stage3-libvtv/Makefile ] || exit 0; \
34714 $(MAKE) stage3-start; \
34715 fi; \
34716 cd $(TARGET_SUBDIR)/libvtv && \
34717 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
34718 @endif target-libvtv-bootstrap
34721 .PHONY: all-stage4-target-libvtv maybe-all-stage4-target-libvtv
34722 .PHONY: clean-stage4-target-libvtv maybe-clean-stage4-target-libvtv
34723 maybe-all-stage4-target-libvtv:
34724 maybe-clean-stage4-target-libvtv:
34725 @if target-libvtv-bootstrap
34726 maybe-all-stage4-target-libvtv: all-stage4-target-libvtv
34727 all-stage4: all-stage4-target-libvtv
34728 TARGET-stage4-target-libvtv = $(TARGET-target-libvtv)
34729 all-stage4-target-libvtv: configure-stage4-target-libvtv
34730 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
34731 @r=`${PWD_COMMAND}`; export r; \
34732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34733 TFLAGS="$(STAGE4_TFLAGS)"; \
34734 $(RAW_CXX_TARGET_EXPORTS) \
34736 cd $(TARGET_SUBDIR)/libvtv && \
34737 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34738 CFLAGS="$(CFLAGS_FOR_TARGET)" \
34739 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
34740 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
34741 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34742 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34743 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34744 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
34745 TFLAGS="$(STAGE4_TFLAGS)" \
34746 $(TARGET-stage4-target-libvtv)
34748 maybe-clean-stage4-target-libvtv: clean-stage4-target-libvtv
34749 clean-stage4: clean-stage4-target-libvtv
34750 clean-stage4-target-libvtv:
34751 @if [ $(current_stage) = stage4 ]; then \
34752 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
34753 else \
34754 [ -f $(TARGET_SUBDIR)/stage4-libvtv/Makefile ] || exit 0; \
34755 $(MAKE) stage4-start; \
34756 fi; \
34757 cd $(TARGET_SUBDIR)/libvtv && \
34758 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
34759 @endif target-libvtv-bootstrap
34762 .PHONY: all-stageprofile-target-libvtv maybe-all-stageprofile-target-libvtv
34763 .PHONY: clean-stageprofile-target-libvtv maybe-clean-stageprofile-target-libvtv
34764 maybe-all-stageprofile-target-libvtv:
34765 maybe-clean-stageprofile-target-libvtv:
34766 @if target-libvtv-bootstrap
34767 maybe-all-stageprofile-target-libvtv: all-stageprofile-target-libvtv
34768 all-stageprofile: all-stageprofile-target-libvtv
34769 TARGET-stageprofile-target-libvtv = $(TARGET-target-libvtv)
34770 all-stageprofile-target-libvtv: configure-stageprofile-target-libvtv
34771 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
34772 @r=`${PWD_COMMAND}`; export r; \
34773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34774 TFLAGS="$(STAGEprofile_TFLAGS)"; \
34775 $(RAW_CXX_TARGET_EXPORTS) \
34777 cd $(TARGET_SUBDIR)/libvtv && \
34778 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34779 CFLAGS="$(CFLAGS_FOR_TARGET)" \
34780 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
34781 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
34782 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34783 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34784 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34785 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
34786 TFLAGS="$(STAGEprofile_TFLAGS)" \
34787 $(TARGET-stageprofile-target-libvtv)
34789 maybe-clean-stageprofile-target-libvtv: clean-stageprofile-target-libvtv
34790 clean-stageprofile: clean-stageprofile-target-libvtv
34791 clean-stageprofile-target-libvtv:
34792 @if [ $(current_stage) = stageprofile ]; then \
34793 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
34794 else \
34795 [ -f $(TARGET_SUBDIR)/stageprofile-libvtv/Makefile ] || exit 0; \
34796 $(MAKE) stageprofile-start; \
34797 fi; \
34798 cd $(TARGET_SUBDIR)/libvtv && \
34799 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
34800 @endif target-libvtv-bootstrap
34803 .PHONY: all-stagefeedback-target-libvtv maybe-all-stagefeedback-target-libvtv
34804 .PHONY: clean-stagefeedback-target-libvtv maybe-clean-stagefeedback-target-libvtv
34805 maybe-all-stagefeedback-target-libvtv:
34806 maybe-clean-stagefeedback-target-libvtv:
34807 @if target-libvtv-bootstrap
34808 maybe-all-stagefeedback-target-libvtv: all-stagefeedback-target-libvtv
34809 all-stagefeedback: all-stagefeedback-target-libvtv
34810 TARGET-stagefeedback-target-libvtv = $(TARGET-target-libvtv)
34811 all-stagefeedback-target-libvtv: configure-stagefeedback-target-libvtv
34812 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
34813 @r=`${PWD_COMMAND}`; export r; \
34814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34815 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
34816 $(RAW_CXX_TARGET_EXPORTS) \
34818 cd $(TARGET_SUBDIR)/libvtv && \
34819 $(MAKE) $(BASE_FLAGS_TO_PASS) \
34820 CFLAGS="$(CFLAGS_FOR_TARGET)" \
34821 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
34822 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
34823 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
34824 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
34825 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
34826 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
34827 TFLAGS="$(STAGEfeedback_TFLAGS)" \
34828 $(TARGET-stagefeedback-target-libvtv)
34830 maybe-clean-stagefeedback-target-libvtv: clean-stagefeedback-target-libvtv
34831 clean-stagefeedback: clean-stagefeedback-target-libvtv
34832 clean-stagefeedback-target-libvtv:
34833 @if [ $(current_stage) = stagefeedback ]; then \
34834 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
34835 else \
34836 [ -f $(TARGET_SUBDIR)/stagefeedback-libvtv/Makefile ] || exit 0; \
34837 $(MAKE) stagefeedback-start; \
34838 fi; \
34839 cd $(TARGET_SUBDIR)/libvtv && \
34840 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
34841 @endif target-libvtv-bootstrap
34848 .PHONY: check-target-libvtv maybe-check-target-libvtv
34849 maybe-check-target-libvtv:
34850 @if target-libvtv
34851 maybe-check-target-libvtv: check-target-libvtv
34853 check-target-libvtv:
34854 @: $(MAKE); $(unstage)
34855 @r=`${PWD_COMMAND}`; export r; \
34856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34857 $(RAW_CXX_TARGET_EXPORTS) \
34858 (cd $(TARGET_SUBDIR)/libvtv && \
34859 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
34861 @endif target-libvtv
34863 .PHONY: install-target-libvtv maybe-install-target-libvtv
34864 maybe-install-target-libvtv:
34865 @if target-libvtv
34866 maybe-install-target-libvtv: install-target-libvtv
34868 install-target-libvtv: installdirs
34869 @: $(MAKE); $(unstage)
34870 @r=`${PWD_COMMAND}`; export r; \
34871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34872 $(RAW_CXX_TARGET_EXPORTS) \
34873 (cd $(TARGET_SUBDIR)/libvtv && \
34874 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34876 @endif target-libvtv
34878 .PHONY: install-strip-target-libvtv maybe-install-strip-target-libvtv
34879 maybe-install-strip-target-libvtv:
34880 @if target-libvtv
34881 maybe-install-strip-target-libvtv: install-strip-target-libvtv
34883 install-strip-target-libvtv: installdirs
34884 @: $(MAKE); $(unstage)
34885 @r=`${PWD_COMMAND}`; export r; \
34886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34887 $(RAW_CXX_TARGET_EXPORTS) \
34888 (cd $(TARGET_SUBDIR)/libvtv && \
34889 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
34891 @endif target-libvtv
34893 # Other targets (info, dvi, pdf, etc.)
34895 .PHONY: maybe-info-target-libvtv info-target-libvtv
34896 maybe-info-target-libvtv:
34897 @if target-libvtv
34898 maybe-info-target-libvtv: info-target-libvtv
34900 info-target-libvtv: \
34901 configure-target-libvtv
34902 @: $(MAKE); $(unstage)
34903 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34904 r=`${PWD_COMMAND}`; export r; \
34905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34906 $(RAW_CXX_TARGET_EXPORTS) \
34907 echo "Doing info in $(TARGET_SUBDIR)/libvtv" ; \
34908 for flag in $(EXTRA_TARGET_FLAGS); do \
34909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34910 done; \
34911 (cd $(TARGET_SUBDIR)/libvtv && \
34912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34914 "RANLIB=$${RANLIB}" \
34915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34916 info) \
34917 || exit 1
34919 @endif target-libvtv
34921 .PHONY: maybe-dvi-target-libvtv dvi-target-libvtv
34922 maybe-dvi-target-libvtv:
34923 @if target-libvtv
34924 maybe-dvi-target-libvtv: dvi-target-libvtv
34926 dvi-target-libvtv: \
34927 configure-target-libvtv
34928 @: $(MAKE); $(unstage)
34929 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34930 r=`${PWD_COMMAND}`; export r; \
34931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34932 $(RAW_CXX_TARGET_EXPORTS) \
34933 echo "Doing dvi in $(TARGET_SUBDIR)/libvtv" ; \
34934 for flag in $(EXTRA_TARGET_FLAGS); do \
34935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34936 done; \
34937 (cd $(TARGET_SUBDIR)/libvtv && \
34938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34940 "RANLIB=$${RANLIB}" \
34941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34942 dvi) \
34943 || exit 1
34945 @endif target-libvtv
34947 .PHONY: maybe-pdf-target-libvtv pdf-target-libvtv
34948 maybe-pdf-target-libvtv:
34949 @if target-libvtv
34950 maybe-pdf-target-libvtv: pdf-target-libvtv
34952 pdf-target-libvtv: \
34953 configure-target-libvtv
34954 @: $(MAKE); $(unstage)
34955 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34956 r=`${PWD_COMMAND}`; export r; \
34957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34958 $(RAW_CXX_TARGET_EXPORTS) \
34959 echo "Doing pdf in $(TARGET_SUBDIR)/libvtv" ; \
34960 for flag in $(EXTRA_TARGET_FLAGS); do \
34961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34962 done; \
34963 (cd $(TARGET_SUBDIR)/libvtv && \
34964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34966 "RANLIB=$${RANLIB}" \
34967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34968 pdf) \
34969 || exit 1
34971 @endif target-libvtv
34973 .PHONY: maybe-html-target-libvtv html-target-libvtv
34974 maybe-html-target-libvtv:
34975 @if target-libvtv
34976 maybe-html-target-libvtv: html-target-libvtv
34978 html-target-libvtv: \
34979 configure-target-libvtv
34980 @: $(MAKE); $(unstage)
34981 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
34982 r=`${PWD_COMMAND}`; export r; \
34983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34984 $(RAW_CXX_TARGET_EXPORTS) \
34985 echo "Doing html in $(TARGET_SUBDIR)/libvtv" ; \
34986 for flag in $(EXTRA_TARGET_FLAGS); do \
34987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34988 done; \
34989 (cd $(TARGET_SUBDIR)/libvtv && \
34990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34992 "RANLIB=$${RANLIB}" \
34993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
34994 html) \
34995 || exit 1
34997 @endif target-libvtv
34999 .PHONY: maybe-TAGS-target-libvtv TAGS-target-libvtv
35000 maybe-TAGS-target-libvtv:
35001 @if target-libvtv
35002 maybe-TAGS-target-libvtv: TAGS-target-libvtv
35004 TAGS-target-libvtv: \
35005 configure-target-libvtv
35006 @: $(MAKE); $(unstage)
35007 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
35008 r=`${PWD_COMMAND}`; export r; \
35009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35010 $(RAW_CXX_TARGET_EXPORTS) \
35011 echo "Doing TAGS in $(TARGET_SUBDIR)/libvtv" ; \
35012 for flag in $(EXTRA_TARGET_FLAGS); do \
35013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35014 done; \
35015 (cd $(TARGET_SUBDIR)/libvtv && \
35016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35018 "RANLIB=$${RANLIB}" \
35019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35020 TAGS) \
35021 || exit 1
35023 @endif target-libvtv
35025 .PHONY: maybe-install-info-target-libvtv install-info-target-libvtv
35026 maybe-install-info-target-libvtv:
35027 @if target-libvtv
35028 maybe-install-info-target-libvtv: install-info-target-libvtv
35030 install-info-target-libvtv: \
35031 configure-target-libvtv \
35032 info-target-libvtv
35033 @: $(MAKE); $(unstage)
35034 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
35035 r=`${PWD_COMMAND}`; export r; \
35036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35037 $(RAW_CXX_TARGET_EXPORTS) \
35038 echo "Doing install-info in $(TARGET_SUBDIR)/libvtv" ; \
35039 for flag in $(EXTRA_TARGET_FLAGS); do \
35040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35041 done; \
35042 (cd $(TARGET_SUBDIR)/libvtv && \
35043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35045 "RANLIB=$${RANLIB}" \
35046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35047 install-info) \
35048 || exit 1
35050 @endif target-libvtv
35052 .PHONY: maybe-install-pdf-target-libvtv install-pdf-target-libvtv
35053 maybe-install-pdf-target-libvtv:
35054 @if target-libvtv
35055 maybe-install-pdf-target-libvtv: install-pdf-target-libvtv
35057 install-pdf-target-libvtv: \
35058 configure-target-libvtv \
35059 pdf-target-libvtv
35060 @: $(MAKE); $(unstage)
35061 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
35062 r=`${PWD_COMMAND}`; export r; \
35063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35064 $(RAW_CXX_TARGET_EXPORTS) \
35065 echo "Doing install-pdf in $(TARGET_SUBDIR)/libvtv" ; \
35066 for flag in $(EXTRA_TARGET_FLAGS); do \
35067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35068 done; \
35069 (cd $(TARGET_SUBDIR)/libvtv && \
35070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35072 "RANLIB=$${RANLIB}" \
35073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35074 install-pdf) \
35075 || exit 1
35077 @endif target-libvtv
35079 .PHONY: maybe-install-html-target-libvtv install-html-target-libvtv
35080 maybe-install-html-target-libvtv:
35081 @if target-libvtv
35082 maybe-install-html-target-libvtv: install-html-target-libvtv
35084 install-html-target-libvtv: \
35085 configure-target-libvtv \
35086 html-target-libvtv
35087 @: $(MAKE); $(unstage)
35088 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
35089 r=`${PWD_COMMAND}`; export r; \
35090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35091 $(RAW_CXX_TARGET_EXPORTS) \
35092 echo "Doing install-html in $(TARGET_SUBDIR)/libvtv" ; \
35093 for flag in $(EXTRA_TARGET_FLAGS); do \
35094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35095 done; \
35096 (cd $(TARGET_SUBDIR)/libvtv && \
35097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35099 "RANLIB=$${RANLIB}" \
35100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35101 install-html) \
35102 || exit 1
35104 @endif target-libvtv
35106 .PHONY: maybe-installcheck-target-libvtv installcheck-target-libvtv
35107 maybe-installcheck-target-libvtv:
35108 @if target-libvtv
35109 maybe-installcheck-target-libvtv: installcheck-target-libvtv
35111 installcheck-target-libvtv: \
35112 configure-target-libvtv
35113 @: $(MAKE); $(unstage)
35114 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
35115 r=`${PWD_COMMAND}`; export r; \
35116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35117 $(RAW_CXX_TARGET_EXPORTS) \
35118 echo "Doing installcheck in $(TARGET_SUBDIR)/libvtv" ; \
35119 for flag in $(EXTRA_TARGET_FLAGS); do \
35120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35121 done; \
35122 (cd $(TARGET_SUBDIR)/libvtv && \
35123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35125 "RANLIB=$${RANLIB}" \
35126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35127 installcheck) \
35128 || exit 1
35130 @endif target-libvtv
35132 .PHONY: maybe-mostlyclean-target-libvtv mostlyclean-target-libvtv
35133 maybe-mostlyclean-target-libvtv:
35134 @if target-libvtv
35135 maybe-mostlyclean-target-libvtv: mostlyclean-target-libvtv
35137 mostlyclean-target-libvtv:
35138 @: $(MAKE); $(unstage)
35139 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
35140 r=`${PWD_COMMAND}`; export r; \
35141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35142 $(RAW_CXX_TARGET_EXPORTS) \
35143 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libvtv" ; \
35144 for flag in $(EXTRA_TARGET_FLAGS); do \
35145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35146 done; \
35147 (cd $(TARGET_SUBDIR)/libvtv && \
35148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35150 "RANLIB=$${RANLIB}" \
35151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35152 mostlyclean) \
35153 || exit 1
35155 @endif target-libvtv
35157 .PHONY: maybe-clean-target-libvtv clean-target-libvtv
35158 maybe-clean-target-libvtv:
35159 @if target-libvtv
35160 maybe-clean-target-libvtv: clean-target-libvtv
35162 clean-target-libvtv:
35163 @: $(MAKE); $(unstage)
35164 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
35165 r=`${PWD_COMMAND}`; export r; \
35166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35167 $(RAW_CXX_TARGET_EXPORTS) \
35168 echo "Doing clean in $(TARGET_SUBDIR)/libvtv" ; \
35169 for flag in $(EXTRA_TARGET_FLAGS); do \
35170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35171 done; \
35172 (cd $(TARGET_SUBDIR)/libvtv && \
35173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35175 "RANLIB=$${RANLIB}" \
35176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35177 clean) \
35178 || exit 1
35180 @endif target-libvtv
35182 .PHONY: maybe-distclean-target-libvtv distclean-target-libvtv
35183 maybe-distclean-target-libvtv:
35184 @if target-libvtv
35185 maybe-distclean-target-libvtv: distclean-target-libvtv
35187 distclean-target-libvtv:
35188 @: $(MAKE); $(unstage)
35189 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
35190 r=`${PWD_COMMAND}`; export r; \
35191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35192 $(RAW_CXX_TARGET_EXPORTS) \
35193 echo "Doing distclean in $(TARGET_SUBDIR)/libvtv" ; \
35194 for flag in $(EXTRA_TARGET_FLAGS); do \
35195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35196 done; \
35197 (cd $(TARGET_SUBDIR)/libvtv && \
35198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35200 "RANLIB=$${RANLIB}" \
35201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35202 distclean) \
35203 || exit 1
35205 @endif target-libvtv
35207 .PHONY: maybe-maintainer-clean-target-libvtv maintainer-clean-target-libvtv
35208 maybe-maintainer-clean-target-libvtv:
35209 @if target-libvtv
35210 maybe-maintainer-clean-target-libvtv: maintainer-clean-target-libvtv
35212 maintainer-clean-target-libvtv:
35213 @: $(MAKE); $(unstage)
35214 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
35215 r=`${PWD_COMMAND}`; export r; \
35216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35217 $(RAW_CXX_TARGET_EXPORTS) \
35218 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libvtv" ; \
35219 for flag in $(EXTRA_TARGET_FLAGS); do \
35220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35221 done; \
35222 (cd $(TARGET_SUBDIR)/libvtv && \
35223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35225 "RANLIB=$${RANLIB}" \
35226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35227 maintainer-clean) \
35228 || exit 1
35230 @endif target-libvtv
35236 .PHONY: configure-target-libcilkrts maybe-configure-target-libcilkrts
35237 maybe-configure-target-libcilkrts:
35238 @if gcc-bootstrap
35239 configure-target-libcilkrts: stage_current
35240 @endif gcc-bootstrap
35241 @if target-libcilkrts
35242 maybe-configure-target-libcilkrts: configure-target-libcilkrts
35243 configure-target-libcilkrts:
35244 @: $(MAKE); $(unstage)
35245 @r=`${PWD_COMMAND}`; export r; \
35246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35247 echo "Checking multilib configuration for libcilkrts..."; \
35248 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libcilkrts ; \
35249 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libcilkrts/multilib.tmp 2> /dev/null ; \
35250 if test -r $(TARGET_SUBDIR)/libcilkrts/multilib.out; then \
35251 if cmp -s $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; then \
35252 rm -f $(TARGET_SUBDIR)/libcilkrts/multilib.tmp; \
35253 else \
35254 rm -f $(TARGET_SUBDIR)/libcilkrts/Makefile; \
35255 mv $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; \
35256 fi; \
35257 else \
35258 mv $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; \
35259 fi; \
35260 test ! -f $(TARGET_SUBDIR)/libcilkrts/Makefile || exit 0; \
35261 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libcilkrts ; \
35262 $(NORMAL_TARGET_EXPORTS) \
35263 echo Configuring in $(TARGET_SUBDIR)/libcilkrts; \
35264 cd "$(TARGET_SUBDIR)/libcilkrts" || exit 1; \
35265 case $(srcdir) in \
35266 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35267 *) topdir=`echo $(TARGET_SUBDIR)/libcilkrts/ | \
35268 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35269 esac; \
35270 module_srcdir=libcilkrts; \
35271 rm -f no-such-file || : ; \
35272 CONFIG_SITE=no-such-file $(SHELL) \
35273 $$s/$$module_srcdir/configure \
35274 --srcdir=$${topdir}/$$module_srcdir \
35275 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35276 --target=${target_alias} \
35277 || exit 1
35278 @endif target-libcilkrts
35284 .PHONY: all-target-libcilkrts maybe-all-target-libcilkrts
35285 maybe-all-target-libcilkrts:
35286 @if gcc-bootstrap
35287 all-target-libcilkrts: stage_current
35288 @endif gcc-bootstrap
35289 @if target-libcilkrts
35290 TARGET-target-libcilkrts=all
35291 maybe-all-target-libcilkrts: all-target-libcilkrts
35292 all-target-libcilkrts: configure-target-libcilkrts
35293 @: $(MAKE); $(unstage)
35294 @r=`${PWD_COMMAND}`; export r; \
35295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35296 $(NORMAL_TARGET_EXPORTS) \
35297 (cd $(TARGET_SUBDIR)/libcilkrts && \
35298 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
35299 $(TARGET-target-libcilkrts))
35300 @endif target-libcilkrts
35306 .PHONY: check-target-libcilkrts maybe-check-target-libcilkrts
35307 maybe-check-target-libcilkrts:
35308 @if target-libcilkrts
35309 maybe-check-target-libcilkrts: check-target-libcilkrts
35311 check-target-libcilkrts:
35312 @: $(MAKE); $(unstage)
35313 @r=`${PWD_COMMAND}`; export r; \
35314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35315 $(NORMAL_TARGET_EXPORTS) \
35316 (cd $(TARGET_SUBDIR)/libcilkrts && \
35317 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
35319 @endif target-libcilkrts
35321 .PHONY: install-target-libcilkrts maybe-install-target-libcilkrts
35322 maybe-install-target-libcilkrts:
35323 @if target-libcilkrts
35324 maybe-install-target-libcilkrts: install-target-libcilkrts
35326 install-target-libcilkrts: installdirs
35327 @: $(MAKE); $(unstage)
35328 @r=`${PWD_COMMAND}`; export r; \
35329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35330 $(NORMAL_TARGET_EXPORTS) \
35331 (cd $(TARGET_SUBDIR)/libcilkrts && \
35332 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35334 @endif target-libcilkrts
35336 .PHONY: install-strip-target-libcilkrts maybe-install-strip-target-libcilkrts
35337 maybe-install-strip-target-libcilkrts:
35338 @if target-libcilkrts
35339 maybe-install-strip-target-libcilkrts: install-strip-target-libcilkrts
35341 install-strip-target-libcilkrts: installdirs
35342 @: $(MAKE); $(unstage)
35343 @r=`${PWD_COMMAND}`; export r; \
35344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35345 $(NORMAL_TARGET_EXPORTS) \
35346 (cd $(TARGET_SUBDIR)/libcilkrts && \
35347 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
35349 @endif target-libcilkrts
35351 # Other targets (info, dvi, pdf, etc.)
35353 .PHONY: maybe-info-target-libcilkrts info-target-libcilkrts
35354 maybe-info-target-libcilkrts:
35355 @if target-libcilkrts
35356 maybe-info-target-libcilkrts: info-target-libcilkrts
35358 info-target-libcilkrts: \
35359 configure-target-libcilkrts
35360 @: $(MAKE); $(unstage)
35361 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35362 r=`${PWD_COMMAND}`; export r; \
35363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35364 $(NORMAL_TARGET_EXPORTS) \
35365 echo "Doing info in $(TARGET_SUBDIR)/libcilkrts" ; \
35366 for flag in $(EXTRA_TARGET_FLAGS); do \
35367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35368 done; \
35369 (cd $(TARGET_SUBDIR)/libcilkrts && \
35370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35372 "RANLIB=$${RANLIB}" \
35373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35374 info) \
35375 || exit 1
35377 @endif target-libcilkrts
35379 .PHONY: maybe-dvi-target-libcilkrts dvi-target-libcilkrts
35380 maybe-dvi-target-libcilkrts:
35381 @if target-libcilkrts
35382 maybe-dvi-target-libcilkrts: dvi-target-libcilkrts
35384 dvi-target-libcilkrts: \
35385 configure-target-libcilkrts
35386 @: $(MAKE); $(unstage)
35387 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35388 r=`${PWD_COMMAND}`; export r; \
35389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35390 $(NORMAL_TARGET_EXPORTS) \
35391 echo "Doing dvi in $(TARGET_SUBDIR)/libcilkrts" ; \
35392 for flag in $(EXTRA_TARGET_FLAGS); do \
35393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35394 done; \
35395 (cd $(TARGET_SUBDIR)/libcilkrts && \
35396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35398 "RANLIB=$${RANLIB}" \
35399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35400 dvi) \
35401 || exit 1
35403 @endif target-libcilkrts
35405 .PHONY: maybe-pdf-target-libcilkrts pdf-target-libcilkrts
35406 maybe-pdf-target-libcilkrts:
35407 @if target-libcilkrts
35408 maybe-pdf-target-libcilkrts: pdf-target-libcilkrts
35410 pdf-target-libcilkrts: \
35411 configure-target-libcilkrts
35412 @: $(MAKE); $(unstage)
35413 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35414 r=`${PWD_COMMAND}`; export r; \
35415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35416 $(NORMAL_TARGET_EXPORTS) \
35417 echo "Doing pdf in $(TARGET_SUBDIR)/libcilkrts" ; \
35418 for flag in $(EXTRA_TARGET_FLAGS); do \
35419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35420 done; \
35421 (cd $(TARGET_SUBDIR)/libcilkrts && \
35422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35424 "RANLIB=$${RANLIB}" \
35425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35426 pdf) \
35427 || exit 1
35429 @endif target-libcilkrts
35431 .PHONY: maybe-html-target-libcilkrts html-target-libcilkrts
35432 maybe-html-target-libcilkrts:
35433 @if target-libcilkrts
35434 maybe-html-target-libcilkrts: html-target-libcilkrts
35436 html-target-libcilkrts: \
35437 configure-target-libcilkrts
35438 @: $(MAKE); $(unstage)
35439 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35440 r=`${PWD_COMMAND}`; export r; \
35441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35442 $(NORMAL_TARGET_EXPORTS) \
35443 echo "Doing html in $(TARGET_SUBDIR)/libcilkrts" ; \
35444 for flag in $(EXTRA_TARGET_FLAGS); do \
35445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35446 done; \
35447 (cd $(TARGET_SUBDIR)/libcilkrts && \
35448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35450 "RANLIB=$${RANLIB}" \
35451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35452 html) \
35453 || exit 1
35455 @endif target-libcilkrts
35457 .PHONY: maybe-TAGS-target-libcilkrts TAGS-target-libcilkrts
35458 maybe-TAGS-target-libcilkrts:
35459 @if target-libcilkrts
35460 maybe-TAGS-target-libcilkrts: TAGS-target-libcilkrts
35462 TAGS-target-libcilkrts: \
35463 configure-target-libcilkrts
35464 @: $(MAKE); $(unstage)
35465 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35466 r=`${PWD_COMMAND}`; export r; \
35467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35468 $(NORMAL_TARGET_EXPORTS) \
35469 echo "Doing TAGS in $(TARGET_SUBDIR)/libcilkrts" ; \
35470 for flag in $(EXTRA_TARGET_FLAGS); do \
35471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35472 done; \
35473 (cd $(TARGET_SUBDIR)/libcilkrts && \
35474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35476 "RANLIB=$${RANLIB}" \
35477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35478 TAGS) \
35479 || exit 1
35481 @endif target-libcilkrts
35483 .PHONY: maybe-install-info-target-libcilkrts install-info-target-libcilkrts
35484 maybe-install-info-target-libcilkrts:
35485 @if target-libcilkrts
35486 maybe-install-info-target-libcilkrts: install-info-target-libcilkrts
35488 install-info-target-libcilkrts: \
35489 configure-target-libcilkrts \
35490 info-target-libcilkrts
35491 @: $(MAKE); $(unstage)
35492 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35493 r=`${PWD_COMMAND}`; export r; \
35494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35495 $(NORMAL_TARGET_EXPORTS) \
35496 echo "Doing install-info in $(TARGET_SUBDIR)/libcilkrts" ; \
35497 for flag in $(EXTRA_TARGET_FLAGS); do \
35498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35499 done; \
35500 (cd $(TARGET_SUBDIR)/libcilkrts && \
35501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35503 "RANLIB=$${RANLIB}" \
35504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35505 install-info) \
35506 || exit 1
35508 @endif target-libcilkrts
35510 .PHONY: maybe-install-pdf-target-libcilkrts install-pdf-target-libcilkrts
35511 maybe-install-pdf-target-libcilkrts:
35512 @if target-libcilkrts
35513 maybe-install-pdf-target-libcilkrts: install-pdf-target-libcilkrts
35515 install-pdf-target-libcilkrts: \
35516 configure-target-libcilkrts \
35517 pdf-target-libcilkrts
35518 @: $(MAKE); $(unstage)
35519 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35520 r=`${PWD_COMMAND}`; export r; \
35521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35522 $(NORMAL_TARGET_EXPORTS) \
35523 echo "Doing install-pdf in $(TARGET_SUBDIR)/libcilkrts" ; \
35524 for flag in $(EXTRA_TARGET_FLAGS); do \
35525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35526 done; \
35527 (cd $(TARGET_SUBDIR)/libcilkrts && \
35528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35530 "RANLIB=$${RANLIB}" \
35531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35532 install-pdf) \
35533 || exit 1
35535 @endif target-libcilkrts
35537 .PHONY: maybe-install-html-target-libcilkrts install-html-target-libcilkrts
35538 maybe-install-html-target-libcilkrts:
35539 @if target-libcilkrts
35540 maybe-install-html-target-libcilkrts: install-html-target-libcilkrts
35542 install-html-target-libcilkrts: \
35543 configure-target-libcilkrts \
35544 html-target-libcilkrts
35545 @: $(MAKE); $(unstage)
35546 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35547 r=`${PWD_COMMAND}`; export r; \
35548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35549 $(NORMAL_TARGET_EXPORTS) \
35550 echo "Doing install-html in $(TARGET_SUBDIR)/libcilkrts" ; \
35551 for flag in $(EXTRA_TARGET_FLAGS); do \
35552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35553 done; \
35554 (cd $(TARGET_SUBDIR)/libcilkrts && \
35555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35557 "RANLIB=$${RANLIB}" \
35558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35559 install-html) \
35560 || exit 1
35562 @endif target-libcilkrts
35564 .PHONY: maybe-installcheck-target-libcilkrts installcheck-target-libcilkrts
35565 maybe-installcheck-target-libcilkrts:
35566 @if target-libcilkrts
35567 maybe-installcheck-target-libcilkrts: installcheck-target-libcilkrts
35569 installcheck-target-libcilkrts: \
35570 configure-target-libcilkrts
35571 @: $(MAKE); $(unstage)
35572 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35573 r=`${PWD_COMMAND}`; export r; \
35574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35575 $(NORMAL_TARGET_EXPORTS) \
35576 echo "Doing installcheck in $(TARGET_SUBDIR)/libcilkrts" ; \
35577 for flag in $(EXTRA_TARGET_FLAGS); do \
35578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35579 done; \
35580 (cd $(TARGET_SUBDIR)/libcilkrts && \
35581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35583 "RANLIB=$${RANLIB}" \
35584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35585 installcheck) \
35586 || exit 1
35588 @endif target-libcilkrts
35590 .PHONY: maybe-mostlyclean-target-libcilkrts mostlyclean-target-libcilkrts
35591 maybe-mostlyclean-target-libcilkrts:
35592 @if target-libcilkrts
35593 maybe-mostlyclean-target-libcilkrts: mostlyclean-target-libcilkrts
35595 mostlyclean-target-libcilkrts:
35596 @: $(MAKE); $(unstage)
35597 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35598 r=`${PWD_COMMAND}`; export r; \
35599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35600 $(NORMAL_TARGET_EXPORTS) \
35601 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libcilkrts" ; \
35602 for flag in $(EXTRA_TARGET_FLAGS); do \
35603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35604 done; \
35605 (cd $(TARGET_SUBDIR)/libcilkrts && \
35606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35608 "RANLIB=$${RANLIB}" \
35609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35610 mostlyclean) \
35611 || exit 1
35613 @endif target-libcilkrts
35615 .PHONY: maybe-clean-target-libcilkrts clean-target-libcilkrts
35616 maybe-clean-target-libcilkrts:
35617 @if target-libcilkrts
35618 maybe-clean-target-libcilkrts: clean-target-libcilkrts
35620 clean-target-libcilkrts:
35621 @: $(MAKE); $(unstage)
35622 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35623 r=`${PWD_COMMAND}`; export r; \
35624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35625 $(NORMAL_TARGET_EXPORTS) \
35626 echo "Doing clean in $(TARGET_SUBDIR)/libcilkrts" ; \
35627 for flag in $(EXTRA_TARGET_FLAGS); do \
35628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35629 done; \
35630 (cd $(TARGET_SUBDIR)/libcilkrts && \
35631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35633 "RANLIB=$${RANLIB}" \
35634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35635 clean) \
35636 || exit 1
35638 @endif target-libcilkrts
35640 .PHONY: maybe-distclean-target-libcilkrts distclean-target-libcilkrts
35641 maybe-distclean-target-libcilkrts:
35642 @if target-libcilkrts
35643 maybe-distclean-target-libcilkrts: distclean-target-libcilkrts
35645 distclean-target-libcilkrts:
35646 @: $(MAKE); $(unstage)
35647 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35648 r=`${PWD_COMMAND}`; export r; \
35649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35650 $(NORMAL_TARGET_EXPORTS) \
35651 echo "Doing distclean in $(TARGET_SUBDIR)/libcilkrts" ; \
35652 for flag in $(EXTRA_TARGET_FLAGS); do \
35653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35654 done; \
35655 (cd $(TARGET_SUBDIR)/libcilkrts && \
35656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35658 "RANLIB=$${RANLIB}" \
35659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35660 distclean) \
35661 || exit 1
35663 @endif target-libcilkrts
35665 .PHONY: maybe-maintainer-clean-target-libcilkrts maintainer-clean-target-libcilkrts
35666 maybe-maintainer-clean-target-libcilkrts:
35667 @if target-libcilkrts
35668 maybe-maintainer-clean-target-libcilkrts: maintainer-clean-target-libcilkrts
35670 maintainer-clean-target-libcilkrts:
35671 @: $(MAKE); $(unstage)
35672 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
35673 r=`${PWD_COMMAND}`; export r; \
35674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35675 $(NORMAL_TARGET_EXPORTS) \
35676 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libcilkrts" ; \
35677 for flag in $(EXTRA_TARGET_FLAGS); do \
35678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35679 done; \
35680 (cd $(TARGET_SUBDIR)/libcilkrts && \
35681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35683 "RANLIB=$${RANLIB}" \
35684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35685 maintainer-clean) \
35686 || exit 1
35688 @endif target-libcilkrts
35694 .PHONY: configure-target-liboffloadmic maybe-configure-target-liboffloadmic
35695 maybe-configure-target-liboffloadmic:
35696 @if gcc-bootstrap
35697 configure-target-liboffloadmic: stage_current
35698 @endif gcc-bootstrap
35699 @if target-liboffloadmic
35700 maybe-configure-target-liboffloadmic: configure-target-liboffloadmic
35701 configure-target-liboffloadmic:
35702 @: $(MAKE); $(unstage)
35703 @r=`${PWD_COMMAND}`; export r; \
35704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35705 echo "Checking multilib configuration for liboffloadmic..."; \
35706 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/liboffloadmic ; \
35707 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp 2> /dev/null ; \
35708 if test -r $(TARGET_SUBDIR)/liboffloadmic/multilib.out; then \
35709 if cmp -s $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp $(TARGET_SUBDIR)/liboffloadmic/multilib.out; then \
35710 rm -f $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp; \
35711 else \
35712 rm -f $(TARGET_SUBDIR)/liboffloadmic/Makefile; \
35713 mv $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp $(TARGET_SUBDIR)/liboffloadmic/multilib.out; \
35714 fi; \
35715 else \
35716 mv $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp $(TARGET_SUBDIR)/liboffloadmic/multilib.out; \
35717 fi; \
35718 test ! -f $(TARGET_SUBDIR)/liboffloadmic/Makefile || exit 0; \
35719 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/liboffloadmic ; \
35720 $(NORMAL_TARGET_EXPORTS) \
35721 echo Configuring in $(TARGET_SUBDIR)/liboffloadmic; \
35722 cd "$(TARGET_SUBDIR)/liboffloadmic" || exit 1; \
35723 case $(srcdir) in \
35724 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35725 *) topdir=`echo $(TARGET_SUBDIR)/liboffloadmic/ | \
35726 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35727 esac; \
35728 module_srcdir=liboffloadmic; \
35729 rm -f no-such-file || : ; \
35730 CONFIG_SITE=no-such-file $(SHELL) \
35731 $$s/$$module_srcdir/configure \
35732 --srcdir=$${topdir}/$$module_srcdir \
35733 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
35734 --target=${target_alias} @extra_liboffloadmic_configure_flags@ \
35735 || exit 1
35736 @endif target-liboffloadmic
35742 .PHONY: all-target-liboffloadmic maybe-all-target-liboffloadmic
35743 maybe-all-target-liboffloadmic:
35744 @if gcc-bootstrap
35745 all-target-liboffloadmic: stage_current
35746 @endif gcc-bootstrap
35747 @if target-liboffloadmic
35748 TARGET-target-liboffloadmic=all
35749 maybe-all-target-liboffloadmic: all-target-liboffloadmic
35750 all-target-liboffloadmic: configure-target-liboffloadmic
35751 @: $(MAKE); $(unstage)
35752 @r=`${PWD_COMMAND}`; export r; \
35753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35754 $(NORMAL_TARGET_EXPORTS) \
35755 (cd $(TARGET_SUBDIR)/liboffloadmic && \
35756 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
35757 $(TARGET-target-liboffloadmic))
35758 @endif target-liboffloadmic
35764 .PHONY: check-target-liboffloadmic maybe-check-target-liboffloadmic
35765 maybe-check-target-liboffloadmic:
35766 @if target-liboffloadmic
35767 maybe-check-target-liboffloadmic: check-target-liboffloadmic
35769 check-target-liboffloadmic:
35770 @: $(MAKE); $(unstage)
35771 @r=`${PWD_COMMAND}`; export r; \
35772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35773 $(NORMAL_TARGET_EXPORTS) \
35774 (cd $(TARGET_SUBDIR)/liboffloadmic && \
35775 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
35777 @endif target-liboffloadmic
35779 .PHONY: install-target-liboffloadmic maybe-install-target-liboffloadmic
35780 maybe-install-target-liboffloadmic:
35781 @if target-liboffloadmic
35782 maybe-install-target-liboffloadmic: install-target-liboffloadmic
35784 install-target-liboffloadmic: installdirs
35785 @: $(MAKE); $(unstage)
35786 @r=`${PWD_COMMAND}`; export r; \
35787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35788 $(NORMAL_TARGET_EXPORTS) \
35789 (cd $(TARGET_SUBDIR)/liboffloadmic && \
35790 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35792 @endif target-liboffloadmic
35794 .PHONY: install-strip-target-liboffloadmic maybe-install-strip-target-liboffloadmic
35795 maybe-install-strip-target-liboffloadmic:
35796 @if target-liboffloadmic
35797 maybe-install-strip-target-liboffloadmic: install-strip-target-liboffloadmic
35799 install-strip-target-liboffloadmic: installdirs
35800 @: $(MAKE); $(unstage)
35801 @r=`${PWD_COMMAND}`; export r; \
35802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35803 $(NORMAL_TARGET_EXPORTS) \
35804 (cd $(TARGET_SUBDIR)/liboffloadmic && \
35805 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
35807 @endif target-liboffloadmic
35809 # Other targets (info, dvi, pdf, etc.)
35811 .PHONY: maybe-info-target-liboffloadmic info-target-liboffloadmic
35812 maybe-info-target-liboffloadmic:
35813 @if target-liboffloadmic
35814 maybe-info-target-liboffloadmic: info-target-liboffloadmic
35816 info-target-liboffloadmic: \
35817 configure-target-liboffloadmic
35818 @: $(MAKE); $(unstage)
35819 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0 ; \
35820 r=`${PWD_COMMAND}`; export r; \
35821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35822 $(NORMAL_TARGET_EXPORTS) \
35823 echo "Doing info in $(TARGET_SUBDIR)/liboffloadmic" ; \
35824 for flag in $(EXTRA_TARGET_FLAGS); do \
35825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35826 done; \
35827 (cd $(TARGET_SUBDIR)/liboffloadmic && \
35828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35830 "RANLIB=$${RANLIB}" \
35831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35832 info) \
35833 || exit 1
35835 @endif target-liboffloadmic
35837 .PHONY: maybe-dvi-target-liboffloadmic dvi-target-liboffloadmic
35838 maybe-dvi-target-liboffloadmic:
35839 @if target-liboffloadmic
35840 maybe-dvi-target-liboffloadmic: dvi-target-liboffloadmic
35842 dvi-target-liboffloadmic: \
35843 configure-target-liboffloadmic
35844 @: $(MAKE); $(unstage)
35845 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0 ; \
35846 r=`${PWD_COMMAND}`; export r; \
35847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35848 $(NORMAL_TARGET_EXPORTS) \
35849 echo "Doing dvi in $(TARGET_SUBDIR)/liboffloadmic" ; \
35850 for flag in $(EXTRA_TARGET_FLAGS); do \
35851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35852 done; \
35853 (cd $(TARGET_SUBDIR)/liboffloadmic && \
35854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35856 "RANLIB=$${RANLIB}" \
35857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35858 dvi) \
35859 || exit 1
35861 @endif target-liboffloadmic
35863 .PHONY: maybe-pdf-target-liboffloadmic pdf-target-liboffloadmic
35864 maybe-pdf-target-liboffloadmic:
35865 @if target-liboffloadmic
35866 maybe-pdf-target-liboffloadmic: pdf-target-liboffloadmic
35868 pdf-target-liboffloadmic: \
35869 configure-target-liboffloadmic
35870 @: $(MAKE); $(unstage)
35871 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0 ; \
35872 r=`${PWD_COMMAND}`; export r; \
35873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35874 $(NORMAL_TARGET_EXPORTS) \
35875 echo "Doing pdf in $(TARGET_SUBDIR)/liboffloadmic" ; \
35876 for flag in $(EXTRA_TARGET_FLAGS); do \
35877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35878 done; \
35879 (cd $(TARGET_SUBDIR)/liboffloadmic && \
35880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35882 "RANLIB=$${RANLIB}" \
35883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35884 pdf) \
35885 || exit 1
35887 @endif target-liboffloadmic
35889 .PHONY: maybe-html-target-liboffloadmic html-target-liboffloadmic
35890 maybe-html-target-liboffloadmic:
35891 @if target-liboffloadmic
35892 maybe-html-target-liboffloadmic: html-target-liboffloadmic
35894 html-target-liboffloadmic: \
35895 configure-target-liboffloadmic
35896 @: $(MAKE); $(unstage)
35897 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0 ; \
35898 r=`${PWD_COMMAND}`; export r; \
35899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35900 $(NORMAL_TARGET_EXPORTS) \
35901 echo "Doing html in $(TARGET_SUBDIR)/liboffloadmic" ; \
35902 for flag in $(EXTRA_TARGET_FLAGS); do \
35903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35904 done; \
35905 (cd $(TARGET_SUBDIR)/liboffloadmic && \
35906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35908 "RANLIB=$${RANLIB}" \
35909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35910 html) \
35911 || exit 1
35913 @endif target-liboffloadmic
35915 .PHONY: maybe-TAGS-target-liboffloadmic TAGS-target-liboffloadmic
35916 maybe-TAGS-target-liboffloadmic:
35917 @if target-liboffloadmic
35918 maybe-TAGS-target-liboffloadmic: TAGS-target-liboffloadmic
35920 TAGS-target-liboffloadmic: \
35921 configure-target-liboffloadmic
35922 @: $(MAKE); $(unstage)
35923 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0 ; \
35924 r=`${PWD_COMMAND}`; export r; \
35925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35926 $(NORMAL_TARGET_EXPORTS) \
35927 echo "Doing TAGS in $(TARGET_SUBDIR)/liboffloadmic" ; \
35928 for flag in $(EXTRA_TARGET_FLAGS); do \
35929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35930 done; \
35931 (cd $(TARGET_SUBDIR)/liboffloadmic && \
35932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35934 "RANLIB=$${RANLIB}" \
35935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35936 TAGS) \
35937 || exit 1
35939 @endif target-liboffloadmic
35941 .PHONY: maybe-install-info-target-liboffloadmic install-info-target-liboffloadmic
35942 maybe-install-info-target-liboffloadmic:
35943 @if target-liboffloadmic
35944 maybe-install-info-target-liboffloadmic: install-info-target-liboffloadmic
35946 install-info-target-liboffloadmic: \
35947 configure-target-liboffloadmic \
35948 info-target-liboffloadmic
35949 @: $(MAKE); $(unstage)
35950 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0 ; \
35951 r=`${PWD_COMMAND}`; export r; \
35952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35953 $(NORMAL_TARGET_EXPORTS) \
35954 echo "Doing install-info in $(TARGET_SUBDIR)/liboffloadmic" ; \
35955 for flag in $(EXTRA_TARGET_FLAGS); do \
35956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35957 done; \
35958 (cd $(TARGET_SUBDIR)/liboffloadmic && \
35959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35961 "RANLIB=$${RANLIB}" \
35962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35963 install-info) \
35964 || exit 1
35966 @endif target-liboffloadmic
35968 .PHONY: maybe-install-pdf-target-liboffloadmic install-pdf-target-liboffloadmic
35969 maybe-install-pdf-target-liboffloadmic:
35970 @if target-liboffloadmic
35971 maybe-install-pdf-target-liboffloadmic: install-pdf-target-liboffloadmic
35973 install-pdf-target-liboffloadmic: \
35974 configure-target-liboffloadmic \
35975 pdf-target-liboffloadmic
35976 @: $(MAKE); $(unstage)
35977 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0 ; \
35978 r=`${PWD_COMMAND}`; export r; \
35979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35980 $(NORMAL_TARGET_EXPORTS) \
35981 echo "Doing install-pdf in $(TARGET_SUBDIR)/liboffloadmic" ; \
35982 for flag in $(EXTRA_TARGET_FLAGS); do \
35983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35984 done; \
35985 (cd $(TARGET_SUBDIR)/liboffloadmic && \
35986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35988 "RANLIB=$${RANLIB}" \
35989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
35990 install-pdf) \
35991 || exit 1
35993 @endif target-liboffloadmic
35995 .PHONY: maybe-install-html-target-liboffloadmic install-html-target-liboffloadmic
35996 maybe-install-html-target-liboffloadmic:
35997 @if target-liboffloadmic
35998 maybe-install-html-target-liboffloadmic: install-html-target-liboffloadmic
36000 install-html-target-liboffloadmic: \
36001 configure-target-liboffloadmic \
36002 html-target-liboffloadmic
36003 @: $(MAKE); $(unstage)
36004 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0 ; \
36005 r=`${PWD_COMMAND}`; export r; \
36006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36007 $(NORMAL_TARGET_EXPORTS) \
36008 echo "Doing install-html in $(TARGET_SUBDIR)/liboffloadmic" ; \
36009 for flag in $(EXTRA_TARGET_FLAGS); do \
36010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36011 done; \
36012 (cd $(TARGET_SUBDIR)/liboffloadmic && \
36013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36015 "RANLIB=$${RANLIB}" \
36016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36017 install-html) \
36018 || exit 1
36020 @endif target-liboffloadmic
36022 .PHONY: maybe-installcheck-target-liboffloadmic installcheck-target-liboffloadmic
36023 maybe-installcheck-target-liboffloadmic:
36024 @if target-liboffloadmic
36025 maybe-installcheck-target-liboffloadmic: installcheck-target-liboffloadmic
36027 installcheck-target-liboffloadmic: \
36028 configure-target-liboffloadmic
36029 @: $(MAKE); $(unstage)
36030 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0 ; \
36031 r=`${PWD_COMMAND}`; export r; \
36032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36033 $(NORMAL_TARGET_EXPORTS) \
36034 echo "Doing installcheck in $(TARGET_SUBDIR)/liboffloadmic" ; \
36035 for flag in $(EXTRA_TARGET_FLAGS); do \
36036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36037 done; \
36038 (cd $(TARGET_SUBDIR)/liboffloadmic && \
36039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36041 "RANLIB=$${RANLIB}" \
36042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36043 installcheck) \
36044 || exit 1
36046 @endif target-liboffloadmic
36048 .PHONY: maybe-mostlyclean-target-liboffloadmic mostlyclean-target-liboffloadmic
36049 maybe-mostlyclean-target-liboffloadmic:
36050 @if target-liboffloadmic
36051 maybe-mostlyclean-target-liboffloadmic: mostlyclean-target-liboffloadmic
36053 mostlyclean-target-liboffloadmic:
36054 @: $(MAKE); $(unstage)
36055 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0 ; \
36056 r=`${PWD_COMMAND}`; export r; \
36057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36058 $(NORMAL_TARGET_EXPORTS) \
36059 echo "Doing mostlyclean in $(TARGET_SUBDIR)/liboffloadmic" ; \
36060 for flag in $(EXTRA_TARGET_FLAGS); do \
36061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36062 done; \
36063 (cd $(TARGET_SUBDIR)/liboffloadmic && \
36064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36066 "RANLIB=$${RANLIB}" \
36067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36068 mostlyclean) \
36069 || exit 1
36071 @endif target-liboffloadmic
36073 .PHONY: maybe-clean-target-liboffloadmic clean-target-liboffloadmic
36074 maybe-clean-target-liboffloadmic:
36075 @if target-liboffloadmic
36076 maybe-clean-target-liboffloadmic: clean-target-liboffloadmic
36078 clean-target-liboffloadmic:
36079 @: $(MAKE); $(unstage)
36080 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0 ; \
36081 r=`${PWD_COMMAND}`; export r; \
36082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36083 $(NORMAL_TARGET_EXPORTS) \
36084 echo "Doing clean in $(TARGET_SUBDIR)/liboffloadmic" ; \
36085 for flag in $(EXTRA_TARGET_FLAGS); do \
36086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36087 done; \
36088 (cd $(TARGET_SUBDIR)/liboffloadmic && \
36089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36091 "RANLIB=$${RANLIB}" \
36092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36093 clean) \
36094 || exit 1
36096 @endif target-liboffloadmic
36098 .PHONY: maybe-distclean-target-liboffloadmic distclean-target-liboffloadmic
36099 maybe-distclean-target-liboffloadmic:
36100 @if target-liboffloadmic
36101 maybe-distclean-target-liboffloadmic: distclean-target-liboffloadmic
36103 distclean-target-liboffloadmic:
36104 @: $(MAKE); $(unstage)
36105 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0 ; \
36106 r=`${PWD_COMMAND}`; export r; \
36107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36108 $(NORMAL_TARGET_EXPORTS) \
36109 echo "Doing distclean in $(TARGET_SUBDIR)/liboffloadmic" ; \
36110 for flag in $(EXTRA_TARGET_FLAGS); do \
36111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36112 done; \
36113 (cd $(TARGET_SUBDIR)/liboffloadmic && \
36114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36116 "RANLIB=$${RANLIB}" \
36117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36118 distclean) \
36119 || exit 1
36121 @endif target-liboffloadmic
36123 .PHONY: maybe-maintainer-clean-target-liboffloadmic maintainer-clean-target-liboffloadmic
36124 maybe-maintainer-clean-target-liboffloadmic:
36125 @if target-liboffloadmic
36126 maybe-maintainer-clean-target-liboffloadmic: maintainer-clean-target-liboffloadmic
36128 maintainer-clean-target-liboffloadmic:
36129 @: $(MAKE); $(unstage)
36130 @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0 ; \
36131 r=`${PWD_COMMAND}`; export r; \
36132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36133 $(NORMAL_TARGET_EXPORTS) \
36134 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/liboffloadmic" ; \
36135 for flag in $(EXTRA_TARGET_FLAGS); do \
36136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36137 done; \
36138 (cd $(TARGET_SUBDIR)/liboffloadmic && \
36139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36141 "RANLIB=$${RANLIB}" \
36142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36143 maintainer-clean) \
36144 || exit 1
36146 @endif target-liboffloadmic
36152 .PHONY: configure-target-libssp maybe-configure-target-libssp
36153 maybe-configure-target-libssp:
36154 @if gcc-bootstrap
36155 configure-target-libssp: stage_current
36156 @endif gcc-bootstrap
36157 @if target-libssp
36158 maybe-configure-target-libssp: configure-target-libssp
36159 configure-target-libssp:
36160 @: $(MAKE); $(unstage)
36161 @r=`${PWD_COMMAND}`; export r; \
36162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36163 echo "Checking multilib configuration for libssp..."; \
36164 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
36165 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libssp/multilib.tmp 2> /dev/null ; \
36166 if test -r $(TARGET_SUBDIR)/libssp/multilib.out; then \
36167 if cmp -s $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; then \
36168 rm -f $(TARGET_SUBDIR)/libssp/multilib.tmp; \
36169 else \
36170 rm -f $(TARGET_SUBDIR)/libssp/Makefile; \
36171 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
36172 fi; \
36173 else \
36174 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
36175 fi; \
36176 test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
36177 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
36178 $(NORMAL_TARGET_EXPORTS) \
36179 echo Configuring in $(TARGET_SUBDIR)/libssp; \
36180 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
36181 case $(srcdir) in \
36182 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36183 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
36184 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36185 esac; \
36186 module_srcdir=libssp; \
36187 rm -f no-such-file || : ; \
36188 CONFIG_SITE=no-such-file $(SHELL) \
36189 $$s/$$module_srcdir/configure \
36190 --srcdir=$${topdir}/$$module_srcdir \
36191 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36192 --target=${target_alias} \
36193 || exit 1
36194 @endif target-libssp
36200 .PHONY: all-target-libssp maybe-all-target-libssp
36201 maybe-all-target-libssp:
36202 @if gcc-bootstrap
36203 all-target-libssp: stage_current
36204 @endif gcc-bootstrap
36205 @if target-libssp
36206 TARGET-target-libssp=all
36207 maybe-all-target-libssp: all-target-libssp
36208 all-target-libssp: configure-target-libssp
36209 @: $(MAKE); $(unstage)
36210 @r=`${PWD_COMMAND}`; export r; \
36211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36212 $(NORMAL_TARGET_EXPORTS) \
36213 (cd $(TARGET_SUBDIR)/libssp && \
36214 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
36215 $(TARGET-target-libssp))
36216 @endif target-libssp
36222 .PHONY: check-target-libssp maybe-check-target-libssp
36223 maybe-check-target-libssp:
36224 @if target-libssp
36225 maybe-check-target-libssp: check-target-libssp
36227 check-target-libssp:
36228 @: $(MAKE); $(unstage)
36229 @r=`${PWD_COMMAND}`; export r; \
36230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36231 $(NORMAL_TARGET_EXPORTS) \
36232 (cd $(TARGET_SUBDIR)/libssp && \
36233 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
36235 @endif target-libssp
36237 .PHONY: install-target-libssp maybe-install-target-libssp
36238 maybe-install-target-libssp:
36239 @if target-libssp
36240 maybe-install-target-libssp: install-target-libssp
36242 install-target-libssp: installdirs
36243 @: $(MAKE); $(unstage)
36244 @r=`${PWD_COMMAND}`; export r; \
36245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36246 $(NORMAL_TARGET_EXPORTS) \
36247 (cd $(TARGET_SUBDIR)/libssp && \
36248 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36250 @endif target-libssp
36252 .PHONY: install-strip-target-libssp maybe-install-strip-target-libssp
36253 maybe-install-strip-target-libssp:
36254 @if target-libssp
36255 maybe-install-strip-target-libssp: install-strip-target-libssp
36257 install-strip-target-libssp: installdirs
36258 @: $(MAKE); $(unstage)
36259 @r=`${PWD_COMMAND}`; export r; \
36260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36261 $(NORMAL_TARGET_EXPORTS) \
36262 (cd $(TARGET_SUBDIR)/libssp && \
36263 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
36265 @endif target-libssp
36267 # Other targets (info, dvi, pdf, etc.)
36269 .PHONY: maybe-info-target-libssp info-target-libssp
36270 maybe-info-target-libssp:
36271 @if target-libssp
36272 maybe-info-target-libssp: info-target-libssp
36274 info-target-libssp: \
36275 configure-target-libssp
36276 @: $(MAKE); $(unstage)
36277 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
36278 r=`${PWD_COMMAND}`; export r; \
36279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36280 $(NORMAL_TARGET_EXPORTS) \
36281 echo "Doing info in $(TARGET_SUBDIR)/libssp" ; \
36282 for flag in $(EXTRA_TARGET_FLAGS); do \
36283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36284 done; \
36285 (cd $(TARGET_SUBDIR)/libssp && \
36286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36288 "RANLIB=$${RANLIB}" \
36289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36290 info) \
36291 || exit 1
36293 @endif target-libssp
36295 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
36296 maybe-dvi-target-libssp:
36297 @if target-libssp
36298 maybe-dvi-target-libssp: dvi-target-libssp
36300 dvi-target-libssp: \
36301 configure-target-libssp
36302 @: $(MAKE); $(unstage)
36303 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
36304 r=`${PWD_COMMAND}`; export r; \
36305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36306 $(NORMAL_TARGET_EXPORTS) \
36307 echo "Doing dvi in $(TARGET_SUBDIR)/libssp" ; \
36308 for flag in $(EXTRA_TARGET_FLAGS); do \
36309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36310 done; \
36311 (cd $(TARGET_SUBDIR)/libssp && \
36312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36314 "RANLIB=$${RANLIB}" \
36315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36316 dvi) \
36317 || exit 1
36319 @endif target-libssp
36321 .PHONY: maybe-pdf-target-libssp pdf-target-libssp
36322 maybe-pdf-target-libssp:
36323 @if target-libssp
36324 maybe-pdf-target-libssp: pdf-target-libssp
36326 pdf-target-libssp: \
36327 configure-target-libssp
36328 @: $(MAKE); $(unstage)
36329 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
36330 r=`${PWD_COMMAND}`; export r; \
36331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36332 $(NORMAL_TARGET_EXPORTS) \
36333 echo "Doing pdf in $(TARGET_SUBDIR)/libssp" ; \
36334 for flag in $(EXTRA_TARGET_FLAGS); do \
36335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36336 done; \
36337 (cd $(TARGET_SUBDIR)/libssp && \
36338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36340 "RANLIB=$${RANLIB}" \
36341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36342 pdf) \
36343 || exit 1
36345 @endif target-libssp
36347 .PHONY: maybe-html-target-libssp html-target-libssp
36348 maybe-html-target-libssp:
36349 @if target-libssp
36350 maybe-html-target-libssp: html-target-libssp
36352 html-target-libssp: \
36353 configure-target-libssp
36354 @: $(MAKE); $(unstage)
36355 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
36356 r=`${PWD_COMMAND}`; export r; \
36357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36358 $(NORMAL_TARGET_EXPORTS) \
36359 echo "Doing html in $(TARGET_SUBDIR)/libssp" ; \
36360 for flag in $(EXTRA_TARGET_FLAGS); do \
36361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36362 done; \
36363 (cd $(TARGET_SUBDIR)/libssp && \
36364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36366 "RANLIB=$${RANLIB}" \
36367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36368 html) \
36369 || exit 1
36371 @endif target-libssp
36373 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
36374 maybe-TAGS-target-libssp:
36375 @if target-libssp
36376 maybe-TAGS-target-libssp: TAGS-target-libssp
36378 TAGS-target-libssp: \
36379 configure-target-libssp
36380 @: $(MAKE); $(unstage)
36381 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
36382 r=`${PWD_COMMAND}`; export r; \
36383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36384 $(NORMAL_TARGET_EXPORTS) \
36385 echo "Doing TAGS in $(TARGET_SUBDIR)/libssp" ; \
36386 for flag in $(EXTRA_TARGET_FLAGS); do \
36387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36388 done; \
36389 (cd $(TARGET_SUBDIR)/libssp && \
36390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36392 "RANLIB=$${RANLIB}" \
36393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36394 TAGS) \
36395 || exit 1
36397 @endif target-libssp
36399 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
36400 maybe-install-info-target-libssp:
36401 @if target-libssp
36402 maybe-install-info-target-libssp: install-info-target-libssp
36404 install-info-target-libssp: \
36405 configure-target-libssp \
36406 info-target-libssp
36407 @: $(MAKE); $(unstage)
36408 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
36409 r=`${PWD_COMMAND}`; export r; \
36410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36411 $(NORMAL_TARGET_EXPORTS) \
36412 echo "Doing install-info in $(TARGET_SUBDIR)/libssp" ; \
36413 for flag in $(EXTRA_TARGET_FLAGS); do \
36414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36415 done; \
36416 (cd $(TARGET_SUBDIR)/libssp && \
36417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36419 "RANLIB=$${RANLIB}" \
36420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36421 install-info) \
36422 || exit 1
36424 @endif target-libssp
36426 .PHONY: maybe-install-pdf-target-libssp install-pdf-target-libssp
36427 maybe-install-pdf-target-libssp:
36428 @if target-libssp
36429 maybe-install-pdf-target-libssp: install-pdf-target-libssp
36431 install-pdf-target-libssp: \
36432 configure-target-libssp \
36433 pdf-target-libssp
36434 @: $(MAKE); $(unstage)
36435 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
36436 r=`${PWD_COMMAND}`; export r; \
36437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36438 $(NORMAL_TARGET_EXPORTS) \
36439 echo "Doing install-pdf in $(TARGET_SUBDIR)/libssp" ; \
36440 for flag in $(EXTRA_TARGET_FLAGS); do \
36441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36442 done; \
36443 (cd $(TARGET_SUBDIR)/libssp && \
36444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36446 "RANLIB=$${RANLIB}" \
36447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36448 install-pdf) \
36449 || exit 1
36451 @endif target-libssp
36453 .PHONY: maybe-install-html-target-libssp install-html-target-libssp
36454 maybe-install-html-target-libssp:
36455 @if target-libssp
36456 maybe-install-html-target-libssp: install-html-target-libssp
36458 install-html-target-libssp: \
36459 configure-target-libssp \
36460 html-target-libssp
36461 @: $(MAKE); $(unstage)
36462 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
36463 r=`${PWD_COMMAND}`; export r; \
36464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36465 $(NORMAL_TARGET_EXPORTS) \
36466 echo "Doing install-html in $(TARGET_SUBDIR)/libssp" ; \
36467 for flag in $(EXTRA_TARGET_FLAGS); do \
36468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36469 done; \
36470 (cd $(TARGET_SUBDIR)/libssp && \
36471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36473 "RANLIB=$${RANLIB}" \
36474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36475 install-html) \
36476 || exit 1
36478 @endif target-libssp
36480 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
36481 maybe-installcheck-target-libssp:
36482 @if target-libssp
36483 maybe-installcheck-target-libssp: installcheck-target-libssp
36485 installcheck-target-libssp: \
36486 configure-target-libssp
36487 @: $(MAKE); $(unstage)
36488 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
36489 r=`${PWD_COMMAND}`; export r; \
36490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36491 $(NORMAL_TARGET_EXPORTS) \
36492 echo "Doing installcheck in $(TARGET_SUBDIR)/libssp" ; \
36493 for flag in $(EXTRA_TARGET_FLAGS); do \
36494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36495 done; \
36496 (cd $(TARGET_SUBDIR)/libssp && \
36497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36499 "RANLIB=$${RANLIB}" \
36500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36501 installcheck) \
36502 || exit 1
36504 @endif target-libssp
36506 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
36507 maybe-mostlyclean-target-libssp:
36508 @if target-libssp
36509 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
36511 mostlyclean-target-libssp:
36512 @: $(MAKE); $(unstage)
36513 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
36514 r=`${PWD_COMMAND}`; export r; \
36515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36516 $(NORMAL_TARGET_EXPORTS) \
36517 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp" ; \
36518 for flag in $(EXTRA_TARGET_FLAGS); do \
36519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36520 done; \
36521 (cd $(TARGET_SUBDIR)/libssp && \
36522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36524 "RANLIB=$${RANLIB}" \
36525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36526 mostlyclean) \
36527 || exit 1
36529 @endif target-libssp
36531 .PHONY: maybe-clean-target-libssp clean-target-libssp
36532 maybe-clean-target-libssp:
36533 @if target-libssp
36534 maybe-clean-target-libssp: clean-target-libssp
36536 clean-target-libssp:
36537 @: $(MAKE); $(unstage)
36538 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
36539 r=`${PWD_COMMAND}`; export r; \
36540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36541 $(NORMAL_TARGET_EXPORTS) \
36542 echo "Doing clean in $(TARGET_SUBDIR)/libssp" ; \
36543 for flag in $(EXTRA_TARGET_FLAGS); do \
36544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36545 done; \
36546 (cd $(TARGET_SUBDIR)/libssp && \
36547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36549 "RANLIB=$${RANLIB}" \
36550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36551 clean) \
36552 || exit 1
36554 @endif target-libssp
36556 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
36557 maybe-distclean-target-libssp:
36558 @if target-libssp
36559 maybe-distclean-target-libssp: distclean-target-libssp
36561 distclean-target-libssp:
36562 @: $(MAKE); $(unstage)
36563 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
36564 r=`${PWD_COMMAND}`; export r; \
36565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36566 $(NORMAL_TARGET_EXPORTS) \
36567 echo "Doing distclean in $(TARGET_SUBDIR)/libssp" ; \
36568 for flag in $(EXTRA_TARGET_FLAGS); do \
36569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36570 done; \
36571 (cd $(TARGET_SUBDIR)/libssp && \
36572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36574 "RANLIB=$${RANLIB}" \
36575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36576 distclean) \
36577 || exit 1
36579 @endif target-libssp
36581 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
36582 maybe-maintainer-clean-target-libssp:
36583 @if target-libssp
36584 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
36586 maintainer-clean-target-libssp:
36587 @: $(MAKE); $(unstage)
36588 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
36589 r=`${PWD_COMMAND}`; export r; \
36590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36591 $(NORMAL_TARGET_EXPORTS) \
36592 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp" ; \
36593 for flag in $(EXTRA_TARGET_FLAGS); do \
36594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36595 done; \
36596 (cd $(TARGET_SUBDIR)/libssp && \
36597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36599 "RANLIB=$${RANLIB}" \
36600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36601 maintainer-clean) \
36602 || exit 1
36604 @endif target-libssp
36610 .PHONY: configure-target-newlib maybe-configure-target-newlib
36611 maybe-configure-target-newlib:
36612 @if gcc-bootstrap
36613 configure-target-newlib: stage_current
36614 @endif gcc-bootstrap
36615 @if target-newlib
36616 maybe-configure-target-newlib: configure-target-newlib
36617 configure-target-newlib:
36618 @: $(MAKE); $(unstage)
36619 @r=`${PWD_COMMAND}`; export r; \
36620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36621 echo "Checking multilib configuration for newlib..."; \
36622 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
36623 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/newlib/multilib.tmp 2> /dev/null ; \
36624 if test -r $(TARGET_SUBDIR)/newlib/multilib.out; then \
36625 if cmp -s $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; then \
36626 rm -f $(TARGET_SUBDIR)/newlib/multilib.tmp; \
36627 else \
36628 rm -f $(TARGET_SUBDIR)/newlib/Makefile; \
36629 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
36630 fi; \
36631 else \
36632 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
36633 fi; \
36634 test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
36635 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
36636 $(NORMAL_TARGET_EXPORTS) \
36637 echo Configuring in $(TARGET_SUBDIR)/newlib; \
36638 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
36639 case $(srcdir) in \
36640 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
36641 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
36642 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
36643 esac; \
36644 module_srcdir=newlib; \
36645 rm -f no-such-file || : ; \
36646 CONFIG_SITE=no-such-file $(SHELL) \
36647 $$s/$$module_srcdir/configure \
36648 --srcdir=$${topdir}/$$module_srcdir \
36649 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
36650 --target=${target_alias} \
36651 || exit 1
36652 @endif target-newlib
36658 .PHONY: all-target-newlib maybe-all-target-newlib
36659 maybe-all-target-newlib:
36660 @if gcc-bootstrap
36661 all-target-newlib: stage_current
36662 @endif gcc-bootstrap
36663 @if target-newlib
36664 TARGET-target-newlib=all
36665 maybe-all-target-newlib: all-target-newlib
36666 all-target-newlib: configure-target-newlib
36667 @: $(MAKE); $(unstage)
36668 @r=`${PWD_COMMAND}`; export r; \
36669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36670 $(NORMAL_TARGET_EXPORTS) \
36671 (cd $(TARGET_SUBDIR)/newlib && \
36672 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
36673 $(TARGET-target-newlib))
36674 @endif target-newlib
36680 .PHONY: check-target-newlib maybe-check-target-newlib
36681 maybe-check-target-newlib:
36682 @if target-newlib
36683 maybe-check-target-newlib: check-target-newlib
36685 check-target-newlib:
36686 @: $(MAKE); $(unstage)
36687 @r=`${PWD_COMMAND}`; export r; \
36688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36689 $(NORMAL_TARGET_EXPORTS) \
36690 (cd $(TARGET_SUBDIR)/newlib && \
36691 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
36693 @endif target-newlib
36695 .PHONY: install-target-newlib maybe-install-target-newlib
36696 maybe-install-target-newlib:
36697 @if target-newlib
36698 maybe-install-target-newlib: install-target-newlib
36700 install-target-newlib: installdirs
36701 @: $(MAKE); $(unstage)
36702 @r=`${PWD_COMMAND}`; export r; \
36703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36704 $(NORMAL_TARGET_EXPORTS) \
36705 (cd $(TARGET_SUBDIR)/newlib && \
36706 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
36708 @endif target-newlib
36710 .PHONY: install-strip-target-newlib maybe-install-strip-target-newlib
36711 maybe-install-strip-target-newlib:
36712 @if target-newlib
36713 maybe-install-strip-target-newlib: install-strip-target-newlib
36715 install-strip-target-newlib: installdirs
36716 @: $(MAKE); $(unstage)
36717 @r=`${PWD_COMMAND}`; export r; \
36718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36719 $(NORMAL_TARGET_EXPORTS) \
36720 (cd $(TARGET_SUBDIR)/newlib && \
36721 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
36723 @endif target-newlib
36725 # Other targets (info, dvi, pdf, etc.)
36727 .PHONY: maybe-info-target-newlib info-target-newlib
36728 maybe-info-target-newlib:
36729 @if target-newlib
36730 maybe-info-target-newlib: info-target-newlib
36732 info-target-newlib: \
36733 configure-target-newlib
36734 @: $(MAKE); $(unstage)
36735 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36736 r=`${PWD_COMMAND}`; export r; \
36737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36738 $(NORMAL_TARGET_EXPORTS) \
36739 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
36740 for flag in $(EXTRA_TARGET_FLAGS); do \
36741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36742 done; \
36743 (cd $(TARGET_SUBDIR)/newlib && \
36744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36746 "RANLIB=$${RANLIB}" \
36747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36748 info) \
36749 || exit 1
36751 @endif target-newlib
36753 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
36754 maybe-dvi-target-newlib:
36755 @if target-newlib
36756 maybe-dvi-target-newlib: dvi-target-newlib
36758 dvi-target-newlib: \
36759 configure-target-newlib
36760 @: $(MAKE); $(unstage)
36761 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36762 r=`${PWD_COMMAND}`; export r; \
36763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36764 $(NORMAL_TARGET_EXPORTS) \
36765 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
36766 for flag in $(EXTRA_TARGET_FLAGS); do \
36767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36768 done; \
36769 (cd $(TARGET_SUBDIR)/newlib && \
36770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36772 "RANLIB=$${RANLIB}" \
36773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36774 dvi) \
36775 || exit 1
36777 @endif target-newlib
36779 .PHONY: maybe-pdf-target-newlib pdf-target-newlib
36780 maybe-pdf-target-newlib:
36781 @if target-newlib
36782 maybe-pdf-target-newlib: pdf-target-newlib
36784 pdf-target-newlib: \
36785 configure-target-newlib
36786 @: $(MAKE); $(unstage)
36787 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36788 r=`${PWD_COMMAND}`; export r; \
36789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36790 $(NORMAL_TARGET_EXPORTS) \
36791 echo "Doing pdf in $(TARGET_SUBDIR)/newlib" ; \
36792 for flag in $(EXTRA_TARGET_FLAGS); do \
36793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36794 done; \
36795 (cd $(TARGET_SUBDIR)/newlib && \
36796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36798 "RANLIB=$${RANLIB}" \
36799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36800 pdf) \
36801 || exit 1
36803 @endif target-newlib
36805 .PHONY: maybe-html-target-newlib html-target-newlib
36806 maybe-html-target-newlib:
36807 @if target-newlib
36808 maybe-html-target-newlib: html-target-newlib
36810 html-target-newlib: \
36811 configure-target-newlib
36812 @: $(MAKE); $(unstage)
36813 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36814 r=`${PWD_COMMAND}`; export r; \
36815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36816 $(NORMAL_TARGET_EXPORTS) \
36817 echo "Doing html in $(TARGET_SUBDIR)/newlib" ; \
36818 for flag in $(EXTRA_TARGET_FLAGS); do \
36819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36820 done; \
36821 (cd $(TARGET_SUBDIR)/newlib && \
36822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36824 "RANLIB=$${RANLIB}" \
36825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36826 html) \
36827 || exit 1
36829 @endif target-newlib
36831 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
36832 maybe-TAGS-target-newlib:
36833 @if target-newlib
36834 maybe-TAGS-target-newlib: TAGS-target-newlib
36836 TAGS-target-newlib: \
36837 configure-target-newlib
36838 @: $(MAKE); $(unstage)
36839 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36840 r=`${PWD_COMMAND}`; export r; \
36841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36842 $(NORMAL_TARGET_EXPORTS) \
36843 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
36844 for flag in $(EXTRA_TARGET_FLAGS); do \
36845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36846 done; \
36847 (cd $(TARGET_SUBDIR)/newlib && \
36848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36850 "RANLIB=$${RANLIB}" \
36851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36852 TAGS) \
36853 || exit 1
36855 @endif target-newlib
36857 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
36858 maybe-install-info-target-newlib:
36859 @if target-newlib
36860 maybe-install-info-target-newlib: install-info-target-newlib
36862 install-info-target-newlib: \
36863 configure-target-newlib \
36864 info-target-newlib
36865 @: $(MAKE); $(unstage)
36866 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36867 r=`${PWD_COMMAND}`; export r; \
36868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36869 $(NORMAL_TARGET_EXPORTS) \
36870 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
36871 for flag in $(EXTRA_TARGET_FLAGS); do \
36872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36873 done; \
36874 (cd $(TARGET_SUBDIR)/newlib && \
36875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36877 "RANLIB=$${RANLIB}" \
36878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36879 install-info) \
36880 || exit 1
36882 @endif target-newlib
36884 .PHONY: maybe-install-pdf-target-newlib install-pdf-target-newlib
36885 maybe-install-pdf-target-newlib:
36886 @if target-newlib
36887 maybe-install-pdf-target-newlib: install-pdf-target-newlib
36889 install-pdf-target-newlib: \
36890 configure-target-newlib \
36891 pdf-target-newlib
36892 @: $(MAKE); $(unstage)
36893 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36894 r=`${PWD_COMMAND}`; export r; \
36895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36896 $(NORMAL_TARGET_EXPORTS) \
36897 echo "Doing install-pdf in $(TARGET_SUBDIR)/newlib" ; \
36898 for flag in $(EXTRA_TARGET_FLAGS); do \
36899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36900 done; \
36901 (cd $(TARGET_SUBDIR)/newlib && \
36902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36904 "RANLIB=$${RANLIB}" \
36905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36906 install-pdf) \
36907 || exit 1
36909 @endif target-newlib
36911 .PHONY: maybe-install-html-target-newlib install-html-target-newlib
36912 maybe-install-html-target-newlib:
36913 @if target-newlib
36914 maybe-install-html-target-newlib: install-html-target-newlib
36916 install-html-target-newlib: \
36917 configure-target-newlib \
36918 html-target-newlib
36919 @: $(MAKE); $(unstage)
36920 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36921 r=`${PWD_COMMAND}`; export r; \
36922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36923 $(NORMAL_TARGET_EXPORTS) \
36924 echo "Doing install-html in $(TARGET_SUBDIR)/newlib" ; \
36925 for flag in $(EXTRA_TARGET_FLAGS); do \
36926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36927 done; \
36928 (cd $(TARGET_SUBDIR)/newlib && \
36929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36931 "RANLIB=$${RANLIB}" \
36932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36933 install-html) \
36934 || exit 1
36936 @endif target-newlib
36938 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
36939 maybe-installcheck-target-newlib:
36940 @if target-newlib
36941 maybe-installcheck-target-newlib: installcheck-target-newlib
36943 installcheck-target-newlib: \
36944 configure-target-newlib
36945 @: $(MAKE); $(unstage)
36946 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36947 r=`${PWD_COMMAND}`; export r; \
36948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36949 $(NORMAL_TARGET_EXPORTS) \
36950 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
36951 for flag in $(EXTRA_TARGET_FLAGS); do \
36952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36953 done; \
36954 (cd $(TARGET_SUBDIR)/newlib && \
36955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36957 "RANLIB=$${RANLIB}" \
36958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36959 installcheck) \
36960 || exit 1
36962 @endif target-newlib
36964 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
36965 maybe-mostlyclean-target-newlib:
36966 @if target-newlib
36967 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
36969 mostlyclean-target-newlib:
36970 @: $(MAKE); $(unstage)
36971 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36972 r=`${PWD_COMMAND}`; export r; \
36973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36974 $(NORMAL_TARGET_EXPORTS) \
36975 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
36976 for flag in $(EXTRA_TARGET_FLAGS); do \
36977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
36978 done; \
36979 (cd $(TARGET_SUBDIR)/newlib && \
36980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
36981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
36982 "RANLIB=$${RANLIB}" \
36983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
36984 mostlyclean) \
36985 || exit 1
36987 @endif target-newlib
36989 .PHONY: maybe-clean-target-newlib clean-target-newlib
36990 maybe-clean-target-newlib:
36991 @if target-newlib
36992 maybe-clean-target-newlib: clean-target-newlib
36994 clean-target-newlib:
36995 @: $(MAKE); $(unstage)
36996 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
36997 r=`${PWD_COMMAND}`; export r; \
36998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36999 $(NORMAL_TARGET_EXPORTS) \
37000 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
37001 for flag in $(EXTRA_TARGET_FLAGS); do \
37002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37003 done; \
37004 (cd $(TARGET_SUBDIR)/newlib && \
37005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37007 "RANLIB=$${RANLIB}" \
37008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37009 clean) \
37010 || exit 1
37012 @endif target-newlib
37014 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
37015 maybe-distclean-target-newlib:
37016 @if target-newlib
37017 maybe-distclean-target-newlib: distclean-target-newlib
37019 distclean-target-newlib:
37020 @: $(MAKE); $(unstage)
37021 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
37022 r=`${PWD_COMMAND}`; export r; \
37023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37024 $(NORMAL_TARGET_EXPORTS) \
37025 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
37026 for flag in $(EXTRA_TARGET_FLAGS); do \
37027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37028 done; \
37029 (cd $(TARGET_SUBDIR)/newlib && \
37030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37032 "RANLIB=$${RANLIB}" \
37033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37034 distclean) \
37035 || exit 1
37037 @endif target-newlib
37039 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
37040 maybe-maintainer-clean-target-newlib:
37041 @if target-newlib
37042 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
37044 maintainer-clean-target-newlib:
37045 @: $(MAKE); $(unstage)
37046 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
37047 r=`${PWD_COMMAND}`; export r; \
37048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37049 $(NORMAL_TARGET_EXPORTS) \
37050 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
37051 for flag in $(EXTRA_TARGET_FLAGS); do \
37052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37053 done; \
37054 (cd $(TARGET_SUBDIR)/newlib && \
37055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37057 "RANLIB=$${RANLIB}" \
37058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37059 maintainer-clean) \
37060 || exit 1
37062 @endif target-newlib
37068 .PHONY: configure-target-libgcc maybe-configure-target-libgcc
37069 maybe-configure-target-libgcc:
37070 @if gcc-bootstrap
37071 configure-target-libgcc: stage_current
37072 @endif gcc-bootstrap
37073 @if target-libgcc
37074 maybe-configure-target-libgcc: configure-target-libgcc
37075 configure-target-libgcc:
37076 @r=`${PWD_COMMAND}`; export r; \
37077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37078 echo "Checking multilib configuration for libgcc..."; \
37079 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
37080 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
37081 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
37082 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
37083 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
37084 else \
37085 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
37086 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
37087 fi; \
37088 else \
37089 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
37090 fi; \
37091 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
37092 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
37093 $(NORMAL_TARGET_EXPORTS) \
37094 echo Configuring in $(TARGET_SUBDIR)/libgcc; \
37095 cd "$(TARGET_SUBDIR)/libgcc" || exit 1; \
37096 case $(srcdir) in \
37097 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37098 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
37099 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37100 esac; \
37101 module_srcdir=libgcc; \
37102 rm -f no-such-file || : ; \
37103 CONFIG_SITE=no-such-file $(SHELL) \
37104 $$s/$$module_srcdir/configure \
37105 --srcdir=$${topdir}/$$module_srcdir \
37106 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37107 --target=${target_alias} \
37108 || exit 1
37109 @endif target-libgcc
37113 .PHONY: configure-stage1-target-libgcc maybe-configure-stage1-target-libgcc
37114 maybe-configure-stage1-target-libgcc:
37115 @if target-libgcc-bootstrap
37116 maybe-configure-stage1-target-libgcc: configure-stage1-target-libgcc
37117 configure-stage1-target-libgcc:
37118 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
37119 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
37120 @r=`${PWD_COMMAND}`; export r; \
37121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37122 TFLAGS="$(STAGE1_TFLAGS)"; \
37123 echo "Checking multilib configuration for libgcc..."; \
37124 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
37125 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
37126 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
37127 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
37128 else \
37129 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
37130 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
37131 fi; \
37132 else \
37133 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
37134 fi; \
37135 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
37136 $(NORMAL_TARGET_EXPORTS) \
37137 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
37138 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
37139 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
37140 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgcc ; \
37141 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
37142 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
37143 case $(srcdir) in \
37144 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37145 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
37146 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37147 esac; \
37148 module_srcdir=libgcc; \
37149 $(SHELL) $$s/$$module_srcdir/configure \
37150 --srcdir=$${topdir}/$$module_srcdir \
37151 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37152 --target=${target_alias} \
37154 $(STAGE1_CONFIGURE_FLAGS)
37155 @endif target-libgcc-bootstrap
37157 .PHONY: configure-stage2-target-libgcc maybe-configure-stage2-target-libgcc
37158 maybe-configure-stage2-target-libgcc:
37159 @if target-libgcc-bootstrap
37160 maybe-configure-stage2-target-libgcc: configure-stage2-target-libgcc
37161 configure-stage2-target-libgcc:
37162 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
37163 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
37164 @r=`${PWD_COMMAND}`; export r; \
37165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37166 TFLAGS="$(STAGE2_TFLAGS)"; \
37167 echo "Checking multilib configuration for libgcc..."; \
37168 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
37169 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
37170 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
37171 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
37172 else \
37173 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
37174 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
37175 fi; \
37176 else \
37177 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
37178 fi; \
37179 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
37180 $(NORMAL_TARGET_EXPORTS) \
37182 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
37183 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
37184 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
37185 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgcc ; \
37186 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
37187 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
37188 case $(srcdir) in \
37189 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37190 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
37191 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37192 esac; \
37193 module_srcdir=libgcc; \
37194 $(SHELL) $$s/$$module_srcdir/configure \
37195 --srcdir=$${topdir}/$$module_srcdir \
37196 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37197 --target=${target_alias} \
37198 --with-build-libsubdir=$(HOST_SUBDIR) \
37199 $(STAGE2_CONFIGURE_FLAGS)
37200 @endif target-libgcc-bootstrap
37202 .PHONY: configure-stage3-target-libgcc maybe-configure-stage3-target-libgcc
37203 maybe-configure-stage3-target-libgcc:
37204 @if target-libgcc-bootstrap
37205 maybe-configure-stage3-target-libgcc: configure-stage3-target-libgcc
37206 configure-stage3-target-libgcc:
37207 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
37208 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
37209 @r=`${PWD_COMMAND}`; export r; \
37210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37211 TFLAGS="$(STAGE3_TFLAGS)"; \
37212 echo "Checking multilib configuration for libgcc..."; \
37213 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
37214 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
37215 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
37216 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
37217 else \
37218 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
37219 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
37220 fi; \
37221 else \
37222 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
37223 fi; \
37224 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
37225 $(NORMAL_TARGET_EXPORTS) \
37227 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
37228 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
37229 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
37230 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgcc ; \
37231 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
37232 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
37233 case $(srcdir) in \
37234 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37235 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
37236 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37237 esac; \
37238 module_srcdir=libgcc; \
37239 $(SHELL) $$s/$$module_srcdir/configure \
37240 --srcdir=$${topdir}/$$module_srcdir \
37241 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37242 --target=${target_alias} \
37243 --with-build-libsubdir=$(HOST_SUBDIR) \
37244 $(STAGE3_CONFIGURE_FLAGS)
37245 @endif target-libgcc-bootstrap
37247 .PHONY: configure-stage4-target-libgcc maybe-configure-stage4-target-libgcc
37248 maybe-configure-stage4-target-libgcc:
37249 @if target-libgcc-bootstrap
37250 maybe-configure-stage4-target-libgcc: configure-stage4-target-libgcc
37251 configure-stage4-target-libgcc:
37252 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
37253 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
37254 @r=`${PWD_COMMAND}`; export r; \
37255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37256 TFLAGS="$(STAGE4_TFLAGS)"; \
37257 echo "Checking multilib configuration for libgcc..."; \
37258 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
37259 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
37260 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
37261 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
37262 else \
37263 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
37264 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
37265 fi; \
37266 else \
37267 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
37268 fi; \
37269 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
37270 $(NORMAL_TARGET_EXPORTS) \
37272 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
37273 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
37274 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
37275 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgcc ; \
37276 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
37277 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
37278 case $(srcdir) in \
37279 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37280 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
37281 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37282 esac; \
37283 module_srcdir=libgcc; \
37284 $(SHELL) $$s/$$module_srcdir/configure \
37285 --srcdir=$${topdir}/$$module_srcdir \
37286 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37287 --target=${target_alias} \
37288 --with-build-libsubdir=$(HOST_SUBDIR) \
37289 $(STAGE4_CONFIGURE_FLAGS)
37290 @endif target-libgcc-bootstrap
37292 .PHONY: configure-stageprofile-target-libgcc maybe-configure-stageprofile-target-libgcc
37293 maybe-configure-stageprofile-target-libgcc:
37294 @if target-libgcc-bootstrap
37295 maybe-configure-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
37296 configure-stageprofile-target-libgcc:
37297 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
37298 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
37299 @r=`${PWD_COMMAND}`; export r; \
37300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37301 TFLAGS="$(STAGEprofile_TFLAGS)"; \
37302 echo "Checking multilib configuration for libgcc..."; \
37303 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
37304 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
37305 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
37306 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
37307 else \
37308 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
37309 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
37310 fi; \
37311 else \
37312 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
37313 fi; \
37314 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
37315 $(NORMAL_TARGET_EXPORTS) \
37317 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
37318 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
37319 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
37320 echo Configuring stage profile in $(TARGET_SUBDIR)/libgcc ; \
37321 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
37322 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
37323 case $(srcdir) in \
37324 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37325 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
37326 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37327 esac; \
37328 module_srcdir=libgcc; \
37329 $(SHELL) $$s/$$module_srcdir/configure \
37330 --srcdir=$${topdir}/$$module_srcdir \
37331 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37332 --target=${target_alias} \
37333 --with-build-libsubdir=$(HOST_SUBDIR) \
37334 $(STAGEprofile_CONFIGURE_FLAGS)
37335 @endif target-libgcc-bootstrap
37337 .PHONY: configure-stagefeedback-target-libgcc maybe-configure-stagefeedback-target-libgcc
37338 maybe-configure-stagefeedback-target-libgcc:
37339 @if target-libgcc-bootstrap
37340 maybe-configure-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
37341 configure-stagefeedback-target-libgcc:
37342 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
37343 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
37344 @r=`${PWD_COMMAND}`; export r; \
37345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37346 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
37347 echo "Checking multilib configuration for libgcc..."; \
37348 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
37349 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
37350 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
37351 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
37352 else \
37353 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
37354 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
37355 fi; \
37356 else \
37357 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
37358 fi; \
37359 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
37360 $(NORMAL_TARGET_EXPORTS) \
37362 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
37363 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
37364 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
37365 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgcc ; \
37366 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
37367 cd $(TARGET_SUBDIR)/libgcc || exit 1; \
37368 case $(srcdir) in \
37369 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
37370 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
37371 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
37372 esac; \
37373 module_srcdir=libgcc; \
37374 $(SHELL) $$s/$$module_srcdir/configure \
37375 --srcdir=$${topdir}/$$module_srcdir \
37376 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
37377 --target=${target_alias} \
37378 --with-build-libsubdir=$(HOST_SUBDIR) \
37379 $(STAGEfeedback_CONFIGURE_FLAGS)
37380 @endif target-libgcc-bootstrap
37386 .PHONY: all-target-libgcc maybe-all-target-libgcc
37387 maybe-all-target-libgcc:
37388 @if gcc-bootstrap
37389 all-target-libgcc: stage_current
37390 @endif gcc-bootstrap
37391 @if target-libgcc
37392 TARGET-target-libgcc=all
37393 maybe-all-target-libgcc: all-target-libgcc
37394 all-target-libgcc: configure-target-libgcc
37395 @r=`${PWD_COMMAND}`; export r; \
37396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37397 $(NORMAL_TARGET_EXPORTS) \
37398 (cd $(TARGET_SUBDIR)/libgcc && \
37399 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
37400 $(TARGET-target-libgcc))
37401 @endif target-libgcc
37405 .PHONY: all-stage1-target-libgcc maybe-all-stage1-target-libgcc
37406 .PHONY: clean-stage1-target-libgcc maybe-clean-stage1-target-libgcc
37407 maybe-all-stage1-target-libgcc:
37408 maybe-clean-stage1-target-libgcc:
37409 @if target-libgcc-bootstrap
37410 maybe-all-stage1-target-libgcc: all-stage1-target-libgcc
37411 all-stage1: all-stage1-target-libgcc
37412 TARGET-stage1-target-libgcc = $(TARGET-target-libgcc)
37413 all-stage1-target-libgcc: configure-stage1-target-libgcc
37414 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
37415 @r=`${PWD_COMMAND}`; export r; \
37416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37417 TFLAGS="$(STAGE1_TFLAGS)"; \
37418 $(NORMAL_TARGET_EXPORTS) \
37419 cd $(TARGET_SUBDIR)/libgcc && \
37420 $(MAKE) $(BASE_FLAGS_TO_PASS) \
37421 CFLAGS="$(CFLAGS_FOR_TARGET)" \
37422 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
37423 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
37424 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
37425 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
37426 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
37427 $(EXTRA_TARGET_FLAGS) \
37429 TFLAGS="$(STAGE1_TFLAGS)" \
37430 $(TARGET-stage1-target-libgcc)
37432 maybe-clean-stage1-target-libgcc: clean-stage1-target-libgcc
37433 clean-stage1: clean-stage1-target-libgcc
37434 clean-stage1-target-libgcc:
37435 @if [ $(current_stage) = stage1 ]; then \
37436 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
37437 else \
37438 [ -f $(TARGET_SUBDIR)/stage1-libgcc/Makefile ] || exit 0; \
37439 $(MAKE) stage1-start; \
37440 fi; \
37441 cd $(TARGET_SUBDIR)/libgcc && \
37442 $(MAKE) $(EXTRA_TARGET_FLAGS) \
37443 clean
37444 @endif target-libgcc-bootstrap
37447 .PHONY: all-stage2-target-libgcc maybe-all-stage2-target-libgcc
37448 .PHONY: clean-stage2-target-libgcc maybe-clean-stage2-target-libgcc
37449 maybe-all-stage2-target-libgcc:
37450 maybe-clean-stage2-target-libgcc:
37451 @if target-libgcc-bootstrap
37452 maybe-all-stage2-target-libgcc: all-stage2-target-libgcc
37453 all-stage2: all-stage2-target-libgcc
37454 TARGET-stage2-target-libgcc = $(TARGET-target-libgcc)
37455 all-stage2-target-libgcc: configure-stage2-target-libgcc
37456 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
37457 @r=`${PWD_COMMAND}`; export r; \
37458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37459 TFLAGS="$(STAGE2_TFLAGS)"; \
37460 $(NORMAL_TARGET_EXPORTS) \
37462 cd $(TARGET_SUBDIR)/libgcc && \
37463 $(MAKE) $(BASE_FLAGS_TO_PASS) \
37464 CFLAGS="$(CFLAGS_FOR_TARGET)" \
37465 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
37466 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
37467 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
37468 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
37469 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
37470 $(EXTRA_TARGET_FLAGS) \
37471 TFLAGS="$(STAGE2_TFLAGS)" \
37472 $(TARGET-stage2-target-libgcc)
37474 maybe-clean-stage2-target-libgcc: clean-stage2-target-libgcc
37475 clean-stage2: clean-stage2-target-libgcc
37476 clean-stage2-target-libgcc:
37477 @if [ $(current_stage) = stage2 ]; then \
37478 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
37479 else \
37480 [ -f $(TARGET_SUBDIR)/stage2-libgcc/Makefile ] || exit 0; \
37481 $(MAKE) stage2-start; \
37482 fi; \
37483 cd $(TARGET_SUBDIR)/libgcc && \
37484 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
37485 @endif target-libgcc-bootstrap
37488 .PHONY: all-stage3-target-libgcc maybe-all-stage3-target-libgcc
37489 .PHONY: clean-stage3-target-libgcc maybe-clean-stage3-target-libgcc
37490 maybe-all-stage3-target-libgcc:
37491 maybe-clean-stage3-target-libgcc:
37492 @if target-libgcc-bootstrap
37493 maybe-all-stage3-target-libgcc: all-stage3-target-libgcc
37494 all-stage3: all-stage3-target-libgcc
37495 TARGET-stage3-target-libgcc = $(TARGET-target-libgcc)
37496 all-stage3-target-libgcc: configure-stage3-target-libgcc
37497 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
37498 @r=`${PWD_COMMAND}`; export r; \
37499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37500 TFLAGS="$(STAGE3_TFLAGS)"; \
37501 $(NORMAL_TARGET_EXPORTS) \
37503 cd $(TARGET_SUBDIR)/libgcc && \
37504 $(MAKE) $(BASE_FLAGS_TO_PASS) \
37505 CFLAGS="$(CFLAGS_FOR_TARGET)" \
37506 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
37507 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
37508 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
37509 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
37510 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
37511 $(EXTRA_TARGET_FLAGS) \
37512 TFLAGS="$(STAGE3_TFLAGS)" \
37513 $(TARGET-stage3-target-libgcc)
37515 maybe-clean-stage3-target-libgcc: clean-stage3-target-libgcc
37516 clean-stage3: clean-stage3-target-libgcc
37517 clean-stage3-target-libgcc:
37518 @if [ $(current_stage) = stage3 ]; then \
37519 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
37520 else \
37521 [ -f $(TARGET_SUBDIR)/stage3-libgcc/Makefile ] || exit 0; \
37522 $(MAKE) stage3-start; \
37523 fi; \
37524 cd $(TARGET_SUBDIR)/libgcc && \
37525 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
37526 @endif target-libgcc-bootstrap
37529 .PHONY: all-stage4-target-libgcc maybe-all-stage4-target-libgcc
37530 .PHONY: clean-stage4-target-libgcc maybe-clean-stage4-target-libgcc
37531 maybe-all-stage4-target-libgcc:
37532 maybe-clean-stage4-target-libgcc:
37533 @if target-libgcc-bootstrap
37534 maybe-all-stage4-target-libgcc: all-stage4-target-libgcc
37535 all-stage4: all-stage4-target-libgcc
37536 TARGET-stage4-target-libgcc = $(TARGET-target-libgcc)
37537 all-stage4-target-libgcc: configure-stage4-target-libgcc
37538 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
37539 @r=`${PWD_COMMAND}`; export r; \
37540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37541 TFLAGS="$(STAGE4_TFLAGS)"; \
37542 $(NORMAL_TARGET_EXPORTS) \
37544 cd $(TARGET_SUBDIR)/libgcc && \
37545 $(MAKE) $(BASE_FLAGS_TO_PASS) \
37546 CFLAGS="$(CFLAGS_FOR_TARGET)" \
37547 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
37548 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
37549 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
37550 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
37551 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
37552 $(EXTRA_TARGET_FLAGS) \
37553 TFLAGS="$(STAGE4_TFLAGS)" \
37554 $(TARGET-stage4-target-libgcc)
37556 maybe-clean-stage4-target-libgcc: clean-stage4-target-libgcc
37557 clean-stage4: clean-stage4-target-libgcc
37558 clean-stage4-target-libgcc:
37559 @if [ $(current_stage) = stage4 ]; then \
37560 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
37561 else \
37562 [ -f $(TARGET_SUBDIR)/stage4-libgcc/Makefile ] || exit 0; \
37563 $(MAKE) stage4-start; \
37564 fi; \
37565 cd $(TARGET_SUBDIR)/libgcc && \
37566 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
37567 @endif target-libgcc-bootstrap
37570 .PHONY: all-stageprofile-target-libgcc maybe-all-stageprofile-target-libgcc
37571 .PHONY: clean-stageprofile-target-libgcc maybe-clean-stageprofile-target-libgcc
37572 maybe-all-stageprofile-target-libgcc:
37573 maybe-clean-stageprofile-target-libgcc:
37574 @if target-libgcc-bootstrap
37575 maybe-all-stageprofile-target-libgcc: all-stageprofile-target-libgcc
37576 all-stageprofile: all-stageprofile-target-libgcc
37577 TARGET-stageprofile-target-libgcc = $(TARGET-target-libgcc)
37578 all-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
37579 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
37580 @r=`${PWD_COMMAND}`; export r; \
37581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37582 TFLAGS="$(STAGEprofile_TFLAGS)"; \
37583 $(NORMAL_TARGET_EXPORTS) \
37585 cd $(TARGET_SUBDIR)/libgcc && \
37586 $(MAKE) $(BASE_FLAGS_TO_PASS) \
37587 CFLAGS="$(CFLAGS_FOR_TARGET)" \
37588 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
37589 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
37590 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
37591 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
37592 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
37593 $(EXTRA_TARGET_FLAGS) \
37594 TFLAGS="$(STAGEprofile_TFLAGS)" \
37595 $(TARGET-stageprofile-target-libgcc)
37597 maybe-clean-stageprofile-target-libgcc: clean-stageprofile-target-libgcc
37598 clean-stageprofile: clean-stageprofile-target-libgcc
37599 clean-stageprofile-target-libgcc:
37600 @if [ $(current_stage) = stageprofile ]; then \
37601 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
37602 else \
37603 [ -f $(TARGET_SUBDIR)/stageprofile-libgcc/Makefile ] || exit 0; \
37604 $(MAKE) stageprofile-start; \
37605 fi; \
37606 cd $(TARGET_SUBDIR)/libgcc && \
37607 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
37608 @endif target-libgcc-bootstrap
37611 .PHONY: all-stagefeedback-target-libgcc maybe-all-stagefeedback-target-libgcc
37612 .PHONY: clean-stagefeedback-target-libgcc maybe-clean-stagefeedback-target-libgcc
37613 maybe-all-stagefeedback-target-libgcc:
37614 maybe-clean-stagefeedback-target-libgcc:
37615 @if target-libgcc-bootstrap
37616 maybe-all-stagefeedback-target-libgcc: all-stagefeedback-target-libgcc
37617 all-stagefeedback: all-stagefeedback-target-libgcc
37618 TARGET-stagefeedback-target-libgcc = $(TARGET-target-libgcc)
37619 all-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
37620 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
37621 @r=`${PWD_COMMAND}`; export r; \
37622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37623 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
37624 $(NORMAL_TARGET_EXPORTS) \
37626 cd $(TARGET_SUBDIR)/libgcc && \
37627 $(MAKE) $(BASE_FLAGS_TO_PASS) \
37628 CFLAGS="$(CFLAGS_FOR_TARGET)" \
37629 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
37630 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
37631 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
37632 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
37633 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
37634 $(EXTRA_TARGET_FLAGS) \
37635 TFLAGS="$(STAGEfeedback_TFLAGS)" \
37636 $(TARGET-stagefeedback-target-libgcc)
37638 maybe-clean-stagefeedback-target-libgcc: clean-stagefeedback-target-libgcc
37639 clean-stagefeedback: clean-stagefeedback-target-libgcc
37640 clean-stagefeedback-target-libgcc:
37641 @if [ $(current_stage) = stagefeedback ]; then \
37642 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
37643 else \
37644 [ -f $(TARGET_SUBDIR)/stagefeedback-libgcc/Makefile ] || exit 0; \
37645 $(MAKE) stagefeedback-start; \
37646 fi; \
37647 cd $(TARGET_SUBDIR)/libgcc && \
37648 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
37649 @endif target-libgcc-bootstrap
37656 .PHONY: check-target-libgcc maybe-check-target-libgcc
37657 maybe-check-target-libgcc:
37658 @if target-libgcc
37659 maybe-check-target-libgcc: check-target-libgcc
37661 # Dummy target for uncheckable module.
37662 check-target-libgcc:
37664 @endif target-libgcc
37666 .PHONY: install-target-libgcc maybe-install-target-libgcc
37667 maybe-install-target-libgcc:
37668 @if target-libgcc
37669 maybe-install-target-libgcc: install-target-libgcc
37671 install-target-libgcc: installdirs
37672 @: $(MAKE); $(unstage)
37673 @r=`${PWD_COMMAND}`; export r; \
37674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37675 $(NORMAL_TARGET_EXPORTS) \
37676 (cd $(TARGET_SUBDIR)/libgcc && \
37677 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
37679 @endif target-libgcc
37681 .PHONY: install-strip-target-libgcc maybe-install-strip-target-libgcc
37682 maybe-install-strip-target-libgcc:
37683 @if target-libgcc
37684 maybe-install-strip-target-libgcc: install-strip-target-libgcc
37686 install-strip-target-libgcc: installdirs
37687 @: $(MAKE); $(unstage)
37688 @r=`${PWD_COMMAND}`; export r; \
37689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37690 $(NORMAL_TARGET_EXPORTS) \
37691 (cd $(TARGET_SUBDIR)/libgcc && \
37692 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
37694 @endif target-libgcc
37696 # Other targets (info, dvi, pdf, etc.)
37698 .PHONY: maybe-info-target-libgcc info-target-libgcc
37699 maybe-info-target-libgcc:
37700 @if target-libgcc
37701 maybe-info-target-libgcc: info-target-libgcc
37703 info-target-libgcc: \
37704 configure-target-libgcc
37705 @: $(MAKE); $(unstage)
37706 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37707 r=`${PWD_COMMAND}`; export r; \
37708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37709 $(NORMAL_TARGET_EXPORTS) \
37710 echo "Doing info in $(TARGET_SUBDIR)/libgcc" ; \
37711 for flag in $(EXTRA_TARGET_FLAGS); do \
37712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37713 done; \
37714 (cd $(TARGET_SUBDIR)/libgcc && \
37715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37717 "RANLIB=$${RANLIB}" \
37718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37719 info) \
37720 || exit 1
37722 @endif target-libgcc
37724 .PHONY: maybe-dvi-target-libgcc dvi-target-libgcc
37725 maybe-dvi-target-libgcc:
37726 @if target-libgcc
37727 maybe-dvi-target-libgcc: dvi-target-libgcc
37729 dvi-target-libgcc: \
37730 configure-target-libgcc
37731 @: $(MAKE); $(unstage)
37732 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37733 r=`${PWD_COMMAND}`; export r; \
37734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37735 $(NORMAL_TARGET_EXPORTS) \
37736 echo "Doing dvi in $(TARGET_SUBDIR)/libgcc" ; \
37737 for flag in $(EXTRA_TARGET_FLAGS); do \
37738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37739 done; \
37740 (cd $(TARGET_SUBDIR)/libgcc && \
37741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37743 "RANLIB=$${RANLIB}" \
37744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37745 dvi) \
37746 || exit 1
37748 @endif target-libgcc
37750 .PHONY: maybe-pdf-target-libgcc pdf-target-libgcc
37751 maybe-pdf-target-libgcc:
37752 @if target-libgcc
37753 maybe-pdf-target-libgcc: pdf-target-libgcc
37755 pdf-target-libgcc: \
37756 configure-target-libgcc
37757 @: $(MAKE); $(unstage)
37758 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37759 r=`${PWD_COMMAND}`; export r; \
37760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37761 $(NORMAL_TARGET_EXPORTS) \
37762 echo "Doing pdf in $(TARGET_SUBDIR)/libgcc" ; \
37763 for flag in $(EXTRA_TARGET_FLAGS); do \
37764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37765 done; \
37766 (cd $(TARGET_SUBDIR)/libgcc && \
37767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37769 "RANLIB=$${RANLIB}" \
37770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37771 pdf) \
37772 || exit 1
37774 @endif target-libgcc
37776 .PHONY: maybe-html-target-libgcc html-target-libgcc
37777 maybe-html-target-libgcc:
37778 @if target-libgcc
37779 maybe-html-target-libgcc: html-target-libgcc
37781 html-target-libgcc: \
37782 configure-target-libgcc
37783 @: $(MAKE); $(unstage)
37784 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37785 r=`${PWD_COMMAND}`; export r; \
37786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37787 $(NORMAL_TARGET_EXPORTS) \
37788 echo "Doing html in $(TARGET_SUBDIR)/libgcc" ; \
37789 for flag in $(EXTRA_TARGET_FLAGS); do \
37790 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37791 done; \
37792 (cd $(TARGET_SUBDIR)/libgcc && \
37793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37795 "RANLIB=$${RANLIB}" \
37796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37797 html) \
37798 || exit 1
37800 @endif target-libgcc
37802 .PHONY: maybe-TAGS-target-libgcc TAGS-target-libgcc
37803 maybe-TAGS-target-libgcc:
37804 @if target-libgcc
37805 maybe-TAGS-target-libgcc: TAGS-target-libgcc
37807 TAGS-target-libgcc: \
37808 configure-target-libgcc
37809 @: $(MAKE); $(unstage)
37810 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37811 r=`${PWD_COMMAND}`; export r; \
37812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37813 $(NORMAL_TARGET_EXPORTS) \
37814 echo "Doing TAGS in $(TARGET_SUBDIR)/libgcc" ; \
37815 for flag in $(EXTRA_TARGET_FLAGS); do \
37816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37817 done; \
37818 (cd $(TARGET_SUBDIR)/libgcc && \
37819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37821 "RANLIB=$${RANLIB}" \
37822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37823 TAGS) \
37824 || exit 1
37826 @endif target-libgcc
37828 .PHONY: maybe-install-info-target-libgcc install-info-target-libgcc
37829 maybe-install-info-target-libgcc:
37830 @if target-libgcc
37831 maybe-install-info-target-libgcc: install-info-target-libgcc
37833 install-info-target-libgcc: \
37834 configure-target-libgcc \
37835 info-target-libgcc
37836 @: $(MAKE); $(unstage)
37837 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37838 r=`${PWD_COMMAND}`; export r; \
37839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37840 $(NORMAL_TARGET_EXPORTS) \
37841 echo "Doing install-info in $(TARGET_SUBDIR)/libgcc" ; \
37842 for flag in $(EXTRA_TARGET_FLAGS); do \
37843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37844 done; \
37845 (cd $(TARGET_SUBDIR)/libgcc && \
37846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37848 "RANLIB=$${RANLIB}" \
37849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37850 install-info) \
37851 || exit 1
37853 @endif target-libgcc
37855 .PHONY: maybe-install-pdf-target-libgcc install-pdf-target-libgcc
37856 maybe-install-pdf-target-libgcc:
37857 @if target-libgcc
37858 maybe-install-pdf-target-libgcc: install-pdf-target-libgcc
37860 install-pdf-target-libgcc: \
37861 configure-target-libgcc \
37862 pdf-target-libgcc
37863 @: $(MAKE); $(unstage)
37864 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37865 r=`${PWD_COMMAND}`; export r; \
37866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37867 $(NORMAL_TARGET_EXPORTS) \
37868 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgcc" ; \
37869 for flag in $(EXTRA_TARGET_FLAGS); do \
37870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37871 done; \
37872 (cd $(TARGET_SUBDIR)/libgcc && \
37873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37875 "RANLIB=$${RANLIB}" \
37876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37877 install-pdf) \
37878 || exit 1
37880 @endif target-libgcc
37882 .PHONY: maybe-install-html-target-libgcc install-html-target-libgcc
37883 maybe-install-html-target-libgcc:
37884 @if target-libgcc
37885 maybe-install-html-target-libgcc: install-html-target-libgcc
37887 install-html-target-libgcc: \
37888 configure-target-libgcc \
37889 html-target-libgcc
37890 @: $(MAKE); $(unstage)
37891 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37892 r=`${PWD_COMMAND}`; export r; \
37893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37894 $(NORMAL_TARGET_EXPORTS) \
37895 echo "Doing install-html in $(TARGET_SUBDIR)/libgcc" ; \
37896 for flag in $(EXTRA_TARGET_FLAGS); do \
37897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37898 done; \
37899 (cd $(TARGET_SUBDIR)/libgcc && \
37900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37902 "RANLIB=$${RANLIB}" \
37903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37904 install-html) \
37905 || exit 1
37907 @endif target-libgcc
37909 .PHONY: maybe-installcheck-target-libgcc installcheck-target-libgcc
37910 maybe-installcheck-target-libgcc:
37911 @if target-libgcc
37912 maybe-installcheck-target-libgcc: installcheck-target-libgcc
37914 installcheck-target-libgcc: \
37915 configure-target-libgcc
37916 @: $(MAKE); $(unstage)
37917 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37918 r=`${PWD_COMMAND}`; export r; \
37919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37920 $(NORMAL_TARGET_EXPORTS) \
37921 echo "Doing installcheck in $(TARGET_SUBDIR)/libgcc" ; \
37922 for flag in $(EXTRA_TARGET_FLAGS); do \
37923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37924 done; \
37925 (cd $(TARGET_SUBDIR)/libgcc && \
37926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37928 "RANLIB=$${RANLIB}" \
37929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37930 installcheck) \
37931 || exit 1
37933 @endif target-libgcc
37935 .PHONY: maybe-mostlyclean-target-libgcc mostlyclean-target-libgcc
37936 maybe-mostlyclean-target-libgcc:
37937 @if target-libgcc
37938 maybe-mostlyclean-target-libgcc: mostlyclean-target-libgcc
37940 mostlyclean-target-libgcc:
37941 @: $(MAKE); $(unstage)
37942 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37943 r=`${PWD_COMMAND}`; export r; \
37944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37945 $(NORMAL_TARGET_EXPORTS) \
37946 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgcc" ; \
37947 for flag in $(EXTRA_TARGET_FLAGS); do \
37948 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37949 done; \
37950 (cd $(TARGET_SUBDIR)/libgcc && \
37951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37953 "RANLIB=$${RANLIB}" \
37954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37955 mostlyclean) \
37956 || exit 1
37958 @endif target-libgcc
37960 .PHONY: maybe-clean-target-libgcc clean-target-libgcc
37961 maybe-clean-target-libgcc:
37962 @if target-libgcc
37963 maybe-clean-target-libgcc: clean-target-libgcc
37965 clean-target-libgcc:
37966 @: $(MAKE); $(unstage)
37967 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37968 r=`${PWD_COMMAND}`; export r; \
37969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37970 $(NORMAL_TARGET_EXPORTS) \
37971 echo "Doing clean in $(TARGET_SUBDIR)/libgcc" ; \
37972 for flag in $(EXTRA_TARGET_FLAGS); do \
37973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37974 done; \
37975 (cd $(TARGET_SUBDIR)/libgcc && \
37976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
37977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
37978 "RANLIB=$${RANLIB}" \
37979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
37980 clean) \
37981 || exit 1
37983 @endif target-libgcc
37985 .PHONY: maybe-distclean-target-libgcc distclean-target-libgcc
37986 maybe-distclean-target-libgcc:
37987 @if target-libgcc
37988 maybe-distclean-target-libgcc: distclean-target-libgcc
37990 distclean-target-libgcc:
37991 @: $(MAKE); $(unstage)
37992 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
37993 r=`${PWD_COMMAND}`; export r; \
37994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37995 $(NORMAL_TARGET_EXPORTS) \
37996 echo "Doing distclean in $(TARGET_SUBDIR)/libgcc" ; \
37997 for flag in $(EXTRA_TARGET_FLAGS); do \
37998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
37999 done; \
38000 (cd $(TARGET_SUBDIR)/libgcc && \
38001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38003 "RANLIB=$${RANLIB}" \
38004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38005 distclean) \
38006 || exit 1
38008 @endif target-libgcc
38010 .PHONY: maybe-maintainer-clean-target-libgcc maintainer-clean-target-libgcc
38011 maybe-maintainer-clean-target-libgcc:
38012 @if target-libgcc
38013 maybe-maintainer-clean-target-libgcc: maintainer-clean-target-libgcc
38015 maintainer-clean-target-libgcc:
38016 @: $(MAKE); $(unstage)
38017 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
38018 r=`${PWD_COMMAND}`; export r; \
38019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38020 $(NORMAL_TARGET_EXPORTS) \
38021 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgcc" ; \
38022 for flag in $(EXTRA_TARGET_FLAGS); do \
38023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38024 done; \
38025 (cd $(TARGET_SUBDIR)/libgcc && \
38026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38028 "RANLIB=$${RANLIB}" \
38029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38030 maintainer-clean) \
38031 || exit 1
38033 @endif target-libgcc
38039 .PHONY: configure-target-libbacktrace maybe-configure-target-libbacktrace
38040 maybe-configure-target-libbacktrace:
38041 @if gcc-bootstrap
38042 configure-target-libbacktrace: stage_current
38043 @endif gcc-bootstrap
38044 @if target-libbacktrace
38045 maybe-configure-target-libbacktrace: configure-target-libbacktrace
38046 configure-target-libbacktrace:
38047 @: $(MAKE); $(unstage)
38048 @r=`${PWD_COMMAND}`; export r; \
38049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38050 echo "Checking multilib configuration for libbacktrace..."; \
38051 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace ; \
38052 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libbacktrace/multilib.tmp 2> /dev/null ; \
38053 if test -r $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
38054 if cmp -s $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
38055 rm -f $(TARGET_SUBDIR)/libbacktrace/multilib.tmp; \
38056 else \
38057 rm -f $(TARGET_SUBDIR)/libbacktrace/Makefile; \
38058 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
38059 fi; \
38060 else \
38061 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
38062 fi; \
38063 test ! -f $(TARGET_SUBDIR)/libbacktrace/Makefile || exit 0; \
38064 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace ; \
38065 $(NORMAL_TARGET_EXPORTS) \
38066 echo Configuring in $(TARGET_SUBDIR)/libbacktrace; \
38067 cd "$(TARGET_SUBDIR)/libbacktrace" || exit 1; \
38068 case $(srcdir) in \
38069 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38070 *) topdir=`echo $(TARGET_SUBDIR)/libbacktrace/ | \
38071 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38072 esac; \
38073 module_srcdir=libbacktrace; \
38074 rm -f no-such-file || : ; \
38075 CONFIG_SITE=no-such-file $(SHELL) \
38076 $$s/$$module_srcdir/configure \
38077 --srcdir=$${topdir}/$$module_srcdir \
38078 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38079 --target=${target_alias} \
38080 || exit 1
38081 @endif target-libbacktrace
38087 .PHONY: all-target-libbacktrace maybe-all-target-libbacktrace
38088 maybe-all-target-libbacktrace:
38089 @if gcc-bootstrap
38090 all-target-libbacktrace: stage_current
38091 @endif gcc-bootstrap
38092 @if target-libbacktrace
38093 TARGET-target-libbacktrace=all
38094 maybe-all-target-libbacktrace: all-target-libbacktrace
38095 all-target-libbacktrace: configure-target-libbacktrace
38096 @: $(MAKE); $(unstage)
38097 @r=`${PWD_COMMAND}`; export r; \
38098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38099 $(NORMAL_TARGET_EXPORTS) \
38100 (cd $(TARGET_SUBDIR)/libbacktrace && \
38101 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
38102 $(TARGET-target-libbacktrace))
38103 @endif target-libbacktrace
38109 .PHONY: check-target-libbacktrace maybe-check-target-libbacktrace
38110 maybe-check-target-libbacktrace:
38111 @if target-libbacktrace
38112 maybe-check-target-libbacktrace: check-target-libbacktrace
38114 check-target-libbacktrace:
38115 @: $(MAKE); $(unstage)
38116 @r=`${PWD_COMMAND}`; export r; \
38117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38118 $(NORMAL_TARGET_EXPORTS) \
38119 (cd $(TARGET_SUBDIR)/libbacktrace && \
38120 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
38122 @endif target-libbacktrace
38124 .PHONY: install-target-libbacktrace maybe-install-target-libbacktrace
38125 maybe-install-target-libbacktrace:
38126 @if target-libbacktrace
38127 maybe-install-target-libbacktrace: install-target-libbacktrace
38129 install-target-libbacktrace: installdirs
38130 @: $(MAKE); $(unstage)
38131 @r=`${PWD_COMMAND}`; export r; \
38132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38133 $(NORMAL_TARGET_EXPORTS) \
38134 (cd $(TARGET_SUBDIR)/libbacktrace && \
38135 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38137 @endif target-libbacktrace
38139 .PHONY: install-strip-target-libbacktrace maybe-install-strip-target-libbacktrace
38140 maybe-install-strip-target-libbacktrace:
38141 @if target-libbacktrace
38142 maybe-install-strip-target-libbacktrace: install-strip-target-libbacktrace
38144 install-strip-target-libbacktrace: installdirs
38145 @: $(MAKE); $(unstage)
38146 @r=`${PWD_COMMAND}`; export r; \
38147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38148 $(NORMAL_TARGET_EXPORTS) \
38149 (cd $(TARGET_SUBDIR)/libbacktrace && \
38150 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
38152 @endif target-libbacktrace
38154 # Other targets (info, dvi, pdf, etc.)
38156 .PHONY: maybe-info-target-libbacktrace info-target-libbacktrace
38157 maybe-info-target-libbacktrace:
38158 @if target-libbacktrace
38159 maybe-info-target-libbacktrace: info-target-libbacktrace
38161 info-target-libbacktrace: \
38162 configure-target-libbacktrace
38163 @: $(MAKE); $(unstage)
38164 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
38165 r=`${PWD_COMMAND}`; export r; \
38166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38167 $(NORMAL_TARGET_EXPORTS) \
38168 echo "Doing info in $(TARGET_SUBDIR)/libbacktrace" ; \
38169 for flag in $(EXTRA_TARGET_FLAGS); do \
38170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38171 done; \
38172 (cd $(TARGET_SUBDIR)/libbacktrace && \
38173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38175 "RANLIB=$${RANLIB}" \
38176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38177 info) \
38178 || exit 1
38180 @endif target-libbacktrace
38182 .PHONY: maybe-dvi-target-libbacktrace dvi-target-libbacktrace
38183 maybe-dvi-target-libbacktrace:
38184 @if target-libbacktrace
38185 maybe-dvi-target-libbacktrace: dvi-target-libbacktrace
38187 dvi-target-libbacktrace: \
38188 configure-target-libbacktrace
38189 @: $(MAKE); $(unstage)
38190 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
38191 r=`${PWD_COMMAND}`; export r; \
38192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38193 $(NORMAL_TARGET_EXPORTS) \
38194 echo "Doing dvi in $(TARGET_SUBDIR)/libbacktrace" ; \
38195 for flag in $(EXTRA_TARGET_FLAGS); do \
38196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38197 done; \
38198 (cd $(TARGET_SUBDIR)/libbacktrace && \
38199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38201 "RANLIB=$${RANLIB}" \
38202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38203 dvi) \
38204 || exit 1
38206 @endif target-libbacktrace
38208 .PHONY: maybe-pdf-target-libbacktrace pdf-target-libbacktrace
38209 maybe-pdf-target-libbacktrace:
38210 @if target-libbacktrace
38211 maybe-pdf-target-libbacktrace: pdf-target-libbacktrace
38213 pdf-target-libbacktrace: \
38214 configure-target-libbacktrace
38215 @: $(MAKE); $(unstage)
38216 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
38217 r=`${PWD_COMMAND}`; export r; \
38218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38219 $(NORMAL_TARGET_EXPORTS) \
38220 echo "Doing pdf in $(TARGET_SUBDIR)/libbacktrace" ; \
38221 for flag in $(EXTRA_TARGET_FLAGS); do \
38222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38223 done; \
38224 (cd $(TARGET_SUBDIR)/libbacktrace && \
38225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38227 "RANLIB=$${RANLIB}" \
38228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38229 pdf) \
38230 || exit 1
38232 @endif target-libbacktrace
38234 .PHONY: maybe-html-target-libbacktrace html-target-libbacktrace
38235 maybe-html-target-libbacktrace:
38236 @if target-libbacktrace
38237 maybe-html-target-libbacktrace: html-target-libbacktrace
38239 html-target-libbacktrace: \
38240 configure-target-libbacktrace
38241 @: $(MAKE); $(unstage)
38242 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
38243 r=`${PWD_COMMAND}`; export r; \
38244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38245 $(NORMAL_TARGET_EXPORTS) \
38246 echo "Doing html in $(TARGET_SUBDIR)/libbacktrace" ; \
38247 for flag in $(EXTRA_TARGET_FLAGS); do \
38248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38249 done; \
38250 (cd $(TARGET_SUBDIR)/libbacktrace && \
38251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38253 "RANLIB=$${RANLIB}" \
38254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38255 html) \
38256 || exit 1
38258 @endif target-libbacktrace
38260 .PHONY: maybe-TAGS-target-libbacktrace TAGS-target-libbacktrace
38261 maybe-TAGS-target-libbacktrace:
38262 @if target-libbacktrace
38263 maybe-TAGS-target-libbacktrace: TAGS-target-libbacktrace
38265 TAGS-target-libbacktrace: \
38266 configure-target-libbacktrace
38267 @: $(MAKE); $(unstage)
38268 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
38269 r=`${PWD_COMMAND}`; export r; \
38270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38271 $(NORMAL_TARGET_EXPORTS) \
38272 echo "Doing TAGS in $(TARGET_SUBDIR)/libbacktrace" ; \
38273 for flag in $(EXTRA_TARGET_FLAGS); do \
38274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38275 done; \
38276 (cd $(TARGET_SUBDIR)/libbacktrace && \
38277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38279 "RANLIB=$${RANLIB}" \
38280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38281 TAGS) \
38282 || exit 1
38284 @endif target-libbacktrace
38286 .PHONY: maybe-install-info-target-libbacktrace install-info-target-libbacktrace
38287 maybe-install-info-target-libbacktrace:
38288 @if target-libbacktrace
38289 maybe-install-info-target-libbacktrace: install-info-target-libbacktrace
38291 install-info-target-libbacktrace: \
38292 configure-target-libbacktrace \
38293 info-target-libbacktrace
38294 @: $(MAKE); $(unstage)
38295 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
38296 r=`${PWD_COMMAND}`; export r; \
38297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38298 $(NORMAL_TARGET_EXPORTS) \
38299 echo "Doing install-info in $(TARGET_SUBDIR)/libbacktrace" ; \
38300 for flag in $(EXTRA_TARGET_FLAGS); do \
38301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38302 done; \
38303 (cd $(TARGET_SUBDIR)/libbacktrace && \
38304 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38305 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38306 "RANLIB=$${RANLIB}" \
38307 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38308 install-info) \
38309 || exit 1
38311 @endif target-libbacktrace
38313 .PHONY: maybe-install-pdf-target-libbacktrace install-pdf-target-libbacktrace
38314 maybe-install-pdf-target-libbacktrace:
38315 @if target-libbacktrace
38316 maybe-install-pdf-target-libbacktrace: install-pdf-target-libbacktrace
38318 install-pdf-target-libbacktrace: \
38319 configure-target-libbacktrace \
38320 pdf-target-libbacktrace
38321 @: $(MAKE); $(unstage)
38322 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
38323 r=`${PWD_COMMAND}`; export r; \
38324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38325 $(NORMAL_TARGET_EXPORTS) \
38326 echo "Doing install-pdf in $(TARGET_SUBDIR)/libbacktrace" ; \
38327 for flag in $(EXTRA_TARGET_FLAGS); do \
38328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38329 done; \
38330 (cd $(TARGET_SUBDIR)/libbacktrace && \
38331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38333 "RANLIB=$${RANLIB}" \
38334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38335 install-pdf) \
38336 || exit 1
38338 @endif target-libbacktrace
38340 .PHONY: maybe-install-html-target-libbacktrace install-html-target-libbacktrace
38341 maybe-install-html-target-libbacktrace:
38342 @if target-libbacktrace
38343 maybe-install-html-target-libbacktrace: install-html-target-libbacktrace
38345 install-html-target-libbacktrace: \
38346 configure-target-libbacktrace \
38347 html-target-libbacktrace
38348 @: $(MAKE); $(unstage)
38349 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
38350 r=`${PWD_COMMAND}`; export r; \
38351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38352 $(NORMAL_TARGET_EXPORTS) \
38353 echo "Doing install-html in $(TARGET_SUBDIR)/libbacktrace" ; \
38354 for flag in $(EXTRA_TARGET_FLAGS); do \
38355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38356 done; \
38357 (cd $(TARGET_SUBDIR)/libbacktrace && \
38358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38360 "RANLIB=$${RANLIB}" \
38361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38362 install-html) \
38363 || exit 1
38365 @endif target-libbacktrace
38367 .PHONY: maybe-installcheck-target-libbacktrace installcheck-target-libbacktrace
38368 maybe-installcheck-target-libbacktrace:
38369 @if target-libbacktrace
38370 maybe-installcheck-target-libbacktrace: installcheck-target-libbacktrace
38372 installcheck-target-libbacktrace: \
38373 configure-target-libbacktrace
38374 @: $(MAKE); $(unstage)
38375 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
38376 r=`${PWD_COMMAND}`; export r; \
38377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38378 $(NORMAL_TARGET_EXPORTS) \
38379 echo "Doing installcheck in $(TARGET_SUBDIR)/libbacktrace" ; \
38380 for flag in $(EXTRA_TARGET_FLAGS); do \
38381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38382 done; \
38383 (cd $(TARGET_SUBDIR)/libbacktrace && \
38384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38386 "RANLIB=$${RANLIB}" \
38387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38388 installcheck) \
38389 || exit 1
38391 @endif target-libbacktrace
38393 .PHONY: maybe-mostlyclean-target-libbacktrace mostlyclean-target-libbacktrace
38394 maybe-mostlyclean-target-libbacktrace:
38395 @if target-libbacktrace
38396 maybe-mostlyclean-target-libbacktrace: mostlyclean-target-libbacktrace
38398 mostlyclean-target-libbacktrace:
38399 @: $(MAKE); $(unstage)
38400 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
38401 r=`${PWD_COMMAND}`; export r; \
38402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38403 $(NORMAL_TARGET_EXPORTS) \
38404 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libbacktrace" ; \
38405 for flag in $(EXTRA_TARGET_FLAGS); do \
38406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38407 done; \
38408 (cd $(TARGET_SUBDIR)/libbacktrace && \
38409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38411 "RANLIB=$${RANLIB}" \
38412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38413 mostlyclean) \
38414 || exit 1
38416 @endif target-libbacktrace
38418 .PHONY: maybe-clean-target-libbacktrace clean-target-libbacktrace
38419 maybe-clean-target-libbacktrace:
38420 @if target-libbacktrace
38421 maybe-clean-target-libbacktrace: clean-target-libbacktrace
38423 clean-target-libbacktrace:
38424 @: $(MAKE); $(unstage)
38425 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
38426 r=`${PWD_COMMAND}`; export r; \
38427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38428 $(NORMAL_TARGET_EXPORTS) \
38429 echo "Doing clean in $(TARGET_SUBDIR)/libbacktrace" ; \
38430 for flag in $(EXTRA_TARGET_FLAGS); do \
38431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38432 done; \
38433 (cd $(TARGET_SUBDIR)/libbacktrace && \
38434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38436 "RANLIB=$${RANLIB}" \
38437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38438 clean) \
38439 || exit 1
38441 @endif target-libbacktrace
38443 .PHONY: maybe-distclean-target-libbacktrace distclean-target-libbacktrace
38444 maybe-distclean-target-libbacktrace:
38445 @if target-libbacktrace
38446 maybe-distclean-target-libbacktrace: distclean-target-libbacktrace
38448 distclean-target-libbacktrace:
38449 @: $(MAKE); $(unstage)
38450 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
38451 r=`${PWD_COMMAND}`; export r; \
38452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38453 $(NORMAL_TARGET_EXPORTS) \
38454 echo "Doing distclean in $(TARGET_SUBDIR)/libbacktrace" ; \
38455 for flag in $(EXTRA_TARGET_FLAGS); do \
38456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38457 done; \
38458 (cd $(TARGET_SUBDIR)/libbacktrace && \
38459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38461 "RANLIB=$${RANLIB}" \
38462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38463 distclean) \
38464 || exit 1
38466 @endif target-libbacktrace
38468 .PHONY: maybe-maintainer-clean-target-libbacktrace maintainer-clean-target-libbacktrace
38469 maybe-maintainer-clean-target-libbacktrace:
38470 @if target-libbacktrace
38471 maybe-maintainer-clean-target-libbacktrace: maintainer-clean-target-libbacktrace
38473 maintainer-clean-target-libbacktrace:
38474 @: $(MAKE); $(unstage)
38475 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
38476 r=`${PWD_COMMAND}`; export r; \
38477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38478 $(NORMAL_TARGET_EXPORTS) \
38479 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libbacktrace" ; \
38480 for flag in $(EXTRA_TARGET_FLAGS); do \
38481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38482 done; \
38483 (cd $(TARGET_SUBDIR)/libbacktrace && \
38484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38486 "RANLIB=$${RANLIB}" \
38487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38488 maintainer-clean) \
38489 || exit 1
38491 @endif target-libbacktrace
38497 .PHONY: configure-target-libquadmath maybe-configure-target-libquadmath
38498 maybe-configure-target-libquadmath:
38499 @if gcc-bootstrap
38500 configure-target-libquadmath: stage_current
38501 @endif gcc-bootstrap
38502 @if target-libquadmath
38503 maybe-configure-target-libquadmath: configure-target-libquadmath
38504 configure-target-libquadmath:
38505 @: $(MAKE); $(unstage)
38506 @r=`${PWD_COMMAND}`; export r; \
38507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38508 echo "Checking multilib configuration for libquadmath..."; \
38509 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath ; \
38510 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libquadmath/multilib.tmp 2> /dev/null ; \
38511 if test -r $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
38512 if cmp -s $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
38513 rm -f $(TARGET_SUBDIR)/libquadmath/multilib.tmp; \
38514 else \
38515 rm -f $(TARGET_SUBDIR)/libquadmath/Makefile; \
38516 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
38517 fi; \
38518 else \
38519 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
38520 fi; \
38521 test ! -f $(TARGET_SUBDIR)/libquadmath/Makefile || exit 0; \
38522 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath ; \
38523 $(NORMAL_TARGET_EXPORTS) \
38524 echo Configuring in $(TARGET_SUBDIR)/libquadmath; \
38525 cd "$(TARGET_SUBDIR)/libquadmath" || exit 1; \
38526 case $(srcdir) in \
38527 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38528 *) topdir=`echo $(TARGET_SUBDIR)/libquadmath/ | \
38529 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38530 esac; \
38531 module_srcdir=libquadmath; \
38532 rm -f no-such-file || : ; \
38533 CONFIG_SITE=no-such-file $(SHELL) \
38534 $$s/$$module_srcdir/configure \
38535 --srcdir=$${topdir}/$$module_srcdir \
38536 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38537 --target=${target_alias} \
38538 || exit 1
38539 @endif target-libquadmath
38545 .PHONY: all-target-libquadmath maybe-all-target-libquadmath
38546 maybe-all-target-libquadmath:
38547 @if gcc-bootstrap
38548 all-target-libquadmath: stage_current
38549 @endif gcc-bootstrap
38550 @if target-libquadmath
38551 TARGET-target-libquadmath=all
38552 maybe-all-target-libquadmath: all-target-libquadmath
38553 all-target-libquadmath: configure-target-libquadmath
38554 @: $(MAKE); $(unstage)
38555 @r=`${PWD_COMMAND}`; export r; \
38556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38557 $(NORMAL_TARGET_EXPORTS) \
38558 (cd $(TARGET_SUBDIR)/libquadmath && \
38559 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
38560 $(TARGET-target-libquadmath))
38561 @endif target-libquadmath
38567 .PHONY: check-target-libquadmath maybe-check-target-libquadmath
38568 maybe-check-target-libquadmath:
38569 @if target-libquadmath
38570 maybe-check-target-libquadmath: check-target-libquadmath
38572 check-target-libquadmath:
38573 @: $(MAKE); $(unstage)
38574 @r=`${PWD_COMMAND}`; export r; \
38575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38576 $(NORMAL_TARGET_EXPORTS) \
38577 (cd $(TARGET_SUBDIR)/libquadmath && \
38578 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
38580 @endif target-libquadmath
38582 .PHONY: install-target-libquadmath maybe-install-target-libquadmath
38583 maybe-install-target-libquadmath:
38584 @if target-libquadmath
38585 maybe-install-target-libquadmath: install-target-libquadmath
38587 install-target-libquadmath: installdirs
38588 @: $(MAKE); $(unstage)
38589 @r=`${PWD_COMMAND}`; export r; \
38590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38591 $(NORMAL_TARGET_EXPORTS) \
38592 (cd $(TARGET_SUBDIR)/libquadmath && \
38593 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
38595 @endif target-libquadmath
38597 .PHONY: install-strip-target-libquadmath maybe-install-strip-target-libquadmath
38598 maybe-install-strip-target-libquadmath:
38599 @if target-libquadmath
38600 maybe-install-strip-target-libquadmath: install-strip-target-libquadmath
38602 install-strip-target-libquadmath: installdirs
38603 @: $(MAKE); $(unstage)
38604 @r=`${PWD_COMMAND}`; export r; \
38605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38606 $(NORMAL_TARGET_EXPORTS) \
38607 (cd $(TARGET_SUBDIR)/libquadmath && \
38608 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
38610 @endif target-libquadmath
38612 # Other targets (info, dvi, pdf, etc.)
38614 .PHONY: maybe-info-target-libquadmath info-target-libquadmath
38615 maybe-info-target-libquadmath:
38616 @if target-libquadmath
38617 maybe-info-target-libquadmath: info-target-libquadmath
38619 info-target-libquadmath: \
38620 configure-target-libquadmath
38621 @: $(MAKE); $(unstage)
38622 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38623 r=`${PWD_COMMAND}`; export r; \
38624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38625 $(NORMAL_TARGET_EXPORTS) \
38626 echo "Doing info in $(TARGET_SUBDIR)/libquadmath" ; \
38627 for flag in $(EXTRA_TARGET_FLAGS); do \
38628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38629 done; \
38630 (cd $(TARGET_SUBDIR)/libquadmath && \
38631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38633 "RANLIB=$${RANLIB}" \
38634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38635 info) \
38636 || exit 1
38638 @endif target-libquadmath
38640 .PHONY: maybe-dvi-target-libquadmath dvi-target-libquadmath
38641 maybe-dvi-target-libquadmath:
38642 @if target-libquadmath
38643 maybe-dvi-target-libquadmath: dvi-target-libquadmath
38645 dvi-target-libquadmath: \
38646 configure-target-libquadmath
38647 @: $(MAKE); $(unstage)
38648 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38649 r=`${PWD_COMMAND}`; export r; \
38650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38651 $(NORMAL_TARGET_EXPORTS) \
38652 echo "Doing dvi in $(TARGET_SUBDIR)/libquadmath" ; \
38653 for flag in $(EXTRA_TARGET_FLAGS); do \
38654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38655 done; \
38656 (cd $(TARGET_SUBDIR)/libquadmath && \
38657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38659 "RANLIB=$${RANLIB}" \
38660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38661 dvi) \
38662 || exit 1
38664 @endif target-libquadmath
38666 .PHONY: maybe-pdf-target-libquadmath pdf-target-libquadmath
38667 maybe-pdf-target-libquadmath:
38668 @if target-libquadmath
38669 maybe-pdf-target-libquadmath: pdf-target-libquadmath
38671 pdf-target-libquadmath: \
38672 configure-target-libquadmath
38673 @: $(MAKE); $(unstage)
38674 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38675 r=`${PWD_COMMAND}`; export r; \
38676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38677 $(NORMAL_TARGET_EXPORTS) \
38678 echo "Doing pdf in $(TARGET_SUBDIR)/libquadmath" ; \
38679 for flag in $(EXTRA_TARGET_FLAGS); do \
38680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38681 done; \
38682 (cd $(TARGET_SUBDIR)/libquadmath && \
38683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38685 "RANLIB=$${RANLIB}" \
38686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38687 pdf) \
38688 || exit 1
38690 @endif target-libquadmath
38692 .PHONY: maybe-html-target-libquadmath html-target-libquadmath
38693 maybe-html-target-libquadmath:
38694 @if target-libquadmath
38695 maybe-html-target-libquadmath: html-target-libquadmath
38697 html-target-libquadmath: \
38698 configure-target-libquadmath
38699 @: $(MAKE); $(unstage)
38700 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38701 r=`${PWD_COMMAND}`; export r; \
38702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38703 $(NORMAL_TARGET_EXPORTS) \
38704 echo "Doing html in $(TARGET_SUBDIR)/libquadmath" ; \
38705 for flag in $(EXTRA_TARGET_FLAGS); do \
38706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38707 done; \
38708 (cd $(TARGET_SUBDIR)/libquadmath && \
38709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38711 "RANLIB=$${RANLIB}" \
38712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38713 html) \
38714 || exit 1
38716 @endif target-libquadmath
38718 .PHONY: maybe-TAGS-target-libquadmath TAGS-target-libquadmath
38719 maybe-TAGS-target-libquadmath:
38720 @if target-libquadmath
38721 maybe-TAGS-target-libquadmath: TAGS-target-libquadmath
38723 TAGS-target-libquadmath: \
38724 configure-target-libquadmath
38725 @: $(MAKE); $(unstage)
38726 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38727 r=`${PWD_COMMAND}`; export r; \
38728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38729 $(NORMAL_TARGET_EXPORTS) \
38730 echo "Doing TAGS in $(TARGET_SUBDIR)/libquadmath" ; \
38731 for flag in $(EXTRA_TARGET_FLAGS); do \
38732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38733 done; \
38734 (cd $(TARGET_SUBDIR)/libquadmath && \
38735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38737 "RANLIB=$${RANLIB}" \
38738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38739 TAGS) \
38740 || exit 1
38742 @endif target-libquadmath
38744 .PHONY: maybe-install-info-target-libquadmath install-info-target-libquadmath
38745 maybe-install-info-target-libquadmath:
38746 @if target-libquadmath
38747 maybe-install-info-target-libquadmath: install-info-target-libquadmath
38749 install-info-target-libquadmath: \
38750 configure-target-libquadmath \
38751 info-target-libquadmath
38752 @: $(MAKE); $(unstage)
38753 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38754 r=`${PWD_COMMAND}`; export r; \
38755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38756 $(NORMAL_TARGET_EXPORTS) \
38757 echo "Doing install-info in $(TARGET_SUBDIR)/libquadmath" ; \
38758 for flag in $(EXTRA_TARGET_FLAGS); do \
38759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38760 done; \
38761 (cd $(TARGET_SUBDIR)/libquadmath && \
38762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38764 "RANLIB=$${RANLIB}" \
38765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38766 install-info) \
38767 || exit 1
38769 @endif target-libquadmath
38771 .PHONY: maybe-install-pdf-target-libquadmath install-pdf-target-libquadmath
38772 maybe-install-pdf-target-libquadmath:
38773 @if target-libquadmath
38774 maybe-install-pdf-target-libquadmath: install-pdf-target-libquadmath
38776 install-pdf-target-libquadmath: \
38777 configure-target-libquadmath \
38778 pdf-target-libquadmath
38779 @: $(MAKE); $(unstage)
38780 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38781 r=`${PWD_COMMAND}`; export r; \
38782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38783 $(NORMAL_TARGET_EXPORTS) \
38784 echo "Doing install-pdf in $(TARGET_SUBDIR)/libquadmath" ; \
38785 for flag in $(EXTRA_TARGET_FLAGS); do \
38786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38787 done; \
38788 (cd $(TARGET_SUBDIR)/libquadmath && \
38789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38791 "RANLIB=$${RANLIB}" \
38792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38793 install-pdf) \
38794 || exit 1
38796 @endif target-libquadmath
38798 .PHONY: maybe-install-html-target-libquadmath install-html-target-libquadmath
38799 maybe-install-html-target-libquadmath:
38800 @if target-libquadmath
38801 maybe-install-html-target-libquadmath: install-html-target-libquadmath
38803 install-html-target-libquadmath: \
38804 configure-target-libquadmath \
38805 html-target-libquadmath
38806 @: $(MAKE); $(unstage)
38807 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38808 r=`${PWD_COMMAND}`; export r; \
38809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38810 $(NORMAL_TARGET_EXPORTS) \
38811 echo "Doing install-html in $(TARGET_SUBDIR)/libquadmath" ; \
38812 for flag in $(EXTRA_TARGET_FLAGS); do \
38813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38814 done; \
38815 (cd $(TARGET_SUBDIR)/libquadmath && \
38816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38818 "RANLIB=$${RANLIB}" \
38819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38820 install-html) \
38821 || exit 1
38823 @endif target-libquadmath
38825 .PHONY: maybe-installcheck-target-libquadmath installcheck-target-libquadmath
38826 maybe-installcheck-target-libquadmath:
38827 @if target-libquadmath
38828 maybe-installcheck-target-libquadmath: installcheck-target-libquadmath
38830 installcheck-target-libquadmath: \
38831 configure-target-libquadmath
38832 @: $(MAKE); $(unstage)
38833 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38834 r=`${PWD_COMMAND}`; export r; \
38835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38836 $(NORMAL_TARGET_EXPORTS) \
38837 echo "Doing installcheck in $(TARGET_SUBDIR)/libquadmath" ; \
38838 for flag in $(EXTRA_TARGET_FLAGS); do \
38839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38840 done; \
38841 (cd $(TARGET_SUBDIR)/libquadmath && \
38842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38844 "RANLIB=$${RANLIB}" \
38845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38846 installcheck) \
38847 || exit 1
38849 @endif target-libquadmath
38851 .PHONY: maybe-mostlyclean-target-libquadmath mostlyclean-target-libquadmath
38852 maybe-mostlyclean-target-libquadmath:
38853 @if target-libquadmath
38854 maybe-mostlyclean-target-libquadmath: mostlyclean-target-libquadmath
38856 mostlyclean-target-libquadmath:
38857 @: $(MAKE); $(unstage)
38858 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38859 r=`${PWD_COMMAND}`; export r; \
38860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38861 $(NORMAL_TARGET_EXPORTS) \
38862 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libquadmath" ; \
38863 for flag in $(EXTRA_TARGET_FLAGS); do \
38864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38865 done; \
38866 (cd $(TARGET_SUBDIR)/libquadmath && \
38867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38869 "RANLIB=$${RANLIB}" \
38870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38871 mostlyclean) \
38872 || exit 1
38874 @endif target-libquadmath
38876 .PHONY: maybe-clean-target-libquadmath clean-target-libquadmath
38877 maybe-clean-target-libquadmath:
38878 @if target-libquadmath
38879 maybe-clean-target-libquadmath: clean-target-libquadmath
38881 clean-target-libquadmath:
38882 @: $(MAKE); $(unstage)
38883 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38884 r=`${PWD_COMMAND}`; export r; \
38885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38886 $(NORMAL_TARGET_EXPORTS) \
38887 echo "Doing clean in $(TARGET_SUBDIR)/libquadmath" ; \
38888 for flag in $(EXTRA_TARGET_FLAGS); do \
38889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38890 done; \
38891 (cd $(TARGET_SUBDIR)/libquadmath && \
38892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38894 "RANLIB=$${RANLIB}" \
38895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38896 clean) \
38897 || exit 1
38899 @endif target-libquadmath
38901 .PHONY: maybe-distclean-target-libquadmath distclean-target-libquadmath
38902 maybe-distclean-target-libquadmath:
38903 @if target-libquadmath
38904 maybe-distclean-target-libquadmath: distclean-target-libquadmath
38906 distclean-target-libquadmath:
38907 @: $(MAKE); $(unstage)
38908 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38909 r=`${PWD_COMMAND}`; export r; \
38910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38911 $(NORMAL_TARGET_EXPORTS) \
38912 echo "Doing distclean in $(TARGET_SUBDIR)/libquadmath" ; \
38913 for flag in $(EXTRA_TARGET_FLAGS); do \
38914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38915 done; \
38916 (cd $(TARGET_SUBDIR)/libquadmath && \
38917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38919 "RANLIB=$${RANLIB}" \
38920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38921 distclean) \
38922 || exit 1
38924 @endif target-libquadmath
38926 .PHONY: maybe-maintainer-clean-target-libquadmath maintainer-clean-target-libquadmath
38927 maybe-maintainer-clean-target-libquadmath:
38928 @if target-libquadmath
38929 maybe-maintainer-clean-target-libquadmath: maintainer-clean-target-libquadmath
38931 maintainer-clean-target-libquadmath:
38932 @: $(MAKE); $(unstage)
38933 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
38934 r=`${PWD_COMMAND}`; export r; \
38935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38936 $(NORMAL_TARGET_EXPORTS) \
38937 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libquadmath" ; \
38938 for flag in $(EXTRA_TARGET_FLAGS); do \
38939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
38940 done; \
38941 (cd $(TARGET_SUBDIR)/libquadmath && \
38942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
38943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
38944 "RANLIB=$${RANLIB}" \
38945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
38946 maintainer-clean) \
38947 || exit 1
38949 @endif target-libquadmath
38955 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
38956 maybe-configure-target-libgfortran:
38957 @if gcc-bootstrap
38958 configure-target-libgfortran: stage_current
38959 @endif gcc-bootstrap
38960 @if target-libgfortran
38961 maybe-configure-target-libgfortran: configure-target-libgfortran
38962 configure-target-libgfortran:
38963 @: $(MAKE); $(unstage)
38964 @r=`${PWD_COMMAND}`; export r; \
38965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
38966 echo "Checking multilib configuration for libgfortran..."; \
38967 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
38968 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgfortran/multilib.tmp 2> /dev/null ; \
38969 if test -r $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
38970 if cmp -s $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
38971 rm -f $(TARGET_SUBDIR)/libgfortran/multilib.tmp; \
38972 else \
38973 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile; \
38974 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
38975 fi; \
38976 else \
38977 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
38978 fi; \
38979 test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
38980 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
38981 $(NORMAL_TARGET_EXPORTS) \
38982 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
38983 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
38984 case $(srcdir) in \
38985 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
38986 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
38987 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
38988 esac; \
38989 module_srcdir=libgfortran; \
38990 rm -f no-such-file || : ; \
38991 CONFIG_SITE=no-such-file $(SHELL) \
38992 $$s/$$module_srcdir/configure \
38993 --srcdir=$${topdir}/$$module_srcdir \
38994 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
38995 --target=${target_alias} \
38996 || exit 1
38997 @endif target-libgfortran
39003 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
39004 maybe-all-target-libgfortran:
39005 @if gcc-bootstrap
39006 all-target-libgfortran: stage_current
39007 @endif gcc-bootstrap
39008 @if target-libgfortran
39009 TARGET-target-libgfortran=all
39010 maybe-all-target-libgfortran: all-target-libgfortran
39011 all-target-libgfortran: configure-target-libgfortran
39012 @: $(MAKE); $(unstage)
39013 @r=`${PWD_COMMAND}`; export r; \
39014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39015 $(NORMAL_TARGET_EXPORTS) \
39016 (cd $(TARGET_SUBDIR)/libgfortran && \
39017 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
39018 $(TARGET-target-libgfortran))
39019 @endif target-libgfortran
39025 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
39026 maybe-check-target-libgfortran:
39027 @if target-libgfortran
39028 maybe-check-target-libgfortran: check-target-libgfortran
39030 check-target-libgfortran:
39031 @: $(MAKE); $(unstage)
39032 @r=`${PWD_COMMAND}`; export r; \
39033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39034 $(NORMAL_TARGET_EXPORTS) \
39035 (cd $(TARGET_SUBDIR)/libgfortran && \
39036 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
39038 @endif target-libgfortran
39040 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
39041 maybe-install-target-libgfortran:
39042 @if target-libgfortran
39043 maybe-install-target-libgfortran: install-target-libgfortran
39045 install-target-libgfortran: installdirs
39046 @: $(MAKE); $(unstage)
39047 @r=`${PWD_COMMAND}`; export r; \
39048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39049 $(NORMAL_TARGET_EXPORTS) \
39050 (cd $(TARGET_SUBDIR)/libgfortran && \
39051 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
39053 @endif target-libgfortran
39055 .PHONY: install-strip-target-libgfortran maybe-install-strip-target-libgfortran
39056 maybe-install-strip-target-libgfortran:
39057 @if target-libgfortran
39058 maybe-install-strip-target-libgfortran: install-strip-target-libgfortran
39060 install-strip-target-libgfortran: installdirs
39061 @: $(MAKE); $(unstage)
39062 @r=`${PWD_COMMAND}`; export r; \
39063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39064 $(NORMAL_TARGET_EXPORTS) \
39065 (cd $(TARGET_SUBDIR)/libgfortran && \
39066 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
39068 @endif target-libgfortran
39070 # Other targets (info, dvi, pdf, etc.)
39072 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
39073 maybe-info-target-libgfortran:
39074 @if target-libgfortran
39075 maybe-info-target-libgfortran: info-target-libgfortran
39077 info-target-libgfortran: \
39078 configure-target-libgfortran
39079 @: $(MAKE); $(unstage)
39080 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
39081 r=`${PWD_COMMAND}`; export r; \
39082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39083 $(NORMAL_TARGET_EXPORTS) \
39084 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
39085 for flag in $(EXTRA_TARGET_FLAGS); do \
39086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39087 done; \
39088 (cd $(TARGET_SUBDIR)/libgfortran && \
39089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39091 "RANLIB=$${RANLIB}" \
39092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39093 info) \
39094 || exit 1
39096 @endif target-libgfortran
39098 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
39099 maybe-dvi-target-libgfortran:
39100 @if target-libgfortran
39101 maybe-dvi-target-libgfortran: dvi-target-libgfortran
39103 dvi-target-libgfortran: \
39104 configure-target-libgfortran
39105 @: $(MAKE); $(unstage)
39106 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
39107 r=`${PWD_COMMAND}`; export r; \
39108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39109 $(NORMAL_TARGET_EXPORTS) \
39110 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
39111 for flag in $(EXTRA_TARGET_FLAGS); do \
39112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39113 done; \
39114 (cd $(TARGET_SUBDIR)/libgfortran && \
39115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39117 "RANLIB=$${RANLIB}" \
39118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39119 dvi) \
39120 || exit 1
39122 @endif target-libgfortran
39124 .PHONY: maybe-pdf-target-libgfortran pdf-target-libgfortran
39125 maybe-pdf-target-libgfortran:
39126 @if target-libgfortran
39127 maybe-pdf-target-libgfortran: pdf-target-libgfortran
39129 pdf-target-libgfortran: \
39130 configure-target-libgfortran
39131 @: $(MAKE); $(unstage)
39132 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
39133 r=`${PWD_COMMAND}`; export r; \
39134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39135 $(NORMAL_TARGET_EXPORTS) \
39136 echo "Doing pdf in $(TARGET_SUBDIR)/libgfortran" ; \
39137 for flag in $(EXTRA_TARGET_FLAGS); do \
39138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39139 done; \
39140 (cd $(TARGET_SUBDIR)/libgfortran && \
39141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39143 "RANLIB=$${RANLIB}" \
39144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39145 pdf) \
39146 || exit 1
39148 @endif target-libgfortran
39150 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
39151 maybe-html-target-libgfortran:
39152 @if target-libgfortran
39153 maybe-html-target-libgfortran: html-target-libgfortran
39155 html-target-libgfortran: \
39156 configure-target-libgfortran
39157 @: $(MAKE); $(unstage)
39158 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
39159 r=`${PWD_COMMAND}`; export r; \
39160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39161 $(NORMAL_TARGET_EXPORTS) \
39162 echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \
39163 for flag in $(EXTRA_TARGET_FLAGS); do \
39164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39165 done; \
39166 (cd $(TARGET_SUBDIR)/libgfortran && \
39167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39169 "RANLIB=$${RANLIB}" \
39170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39171 html) \
39172 || exit 1
39174 @endif target-libgfortran
39176 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
39177 maybe-TAGS-target-libgfortran:
39178 @if target-libgfortran
39179 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
39181 TAGS-target-libgfortran: \
39182 configure-target-libgfortran
39183 @: $(MAKE); $(unstage)
39184 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
39185 r=`${PWD_COMMAND}`; export r; \
39186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39187 $(NORMAL_TARGET_EXPORTS) \
39188 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
39189 for flag in $(EXTRA_TARGET_FLAGS); do \
39190 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39191 done; \
39192 (cd $(TARGET_SUBDIR)/libgfortran && \
39193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39195 "RANLIB=$${RANLIB}" \
39196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39197 TAGS) \
39198 || exit 1
39200 @endif target-libgfortran
39202 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
39203 maybe-install-info-target-libgfortran:
39204 @if target-libgfortran
39205 maybe-install-info-target-libgfortran: install-info-target-libgfortran
39207 install-info-target-libgfortran: \
39208 configure-target-libgfortran \
39209 info-target-libgfortran
39210 @: $(MAKE); $(unstage)
39211 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
39212 r=`${PWD_COMMAND}`; export r; \
39213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39214 $(NORMAL_TARGET_EXPORTS) \
39215 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
39216 for flag in $(EXTRA_TARGET_FLAGS); do \
39217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39218 done; \
39219 (cd $(TARGET_SUBDIR)/libgfortran && \
39220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39222 "RANLIB=$${RANLIB}" \
39223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39224 install-info) \
39225 || exit 1
39227 @endif target-libgfortran
39229 .PHONY: maybe-install-pdf-target-libgfortran install-pdf-target-libgfortran
39230 maybe-install-pdf-target-libgfortran:
39231 @if target-libgfortran
39232 maybe-install-pdf-target-libgfortran: install-pdf-target-libgfortran
39234 install-pdf-target-libgfortran: \
39235 configure-target-libgfortran \
39236 pdf-target-libgfortran
39237 @: $(MAKE); $(unstage)
39238 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
39239 r=`${PWD_COMMAND}`; export r; \
39240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39241 $(NORMAL_TARGET_EXPORTS) \
39242 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgfortran" ; \
39243 for flag in $(EXTRA_TARGET_FLAGS); do \
39244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39245 done; \
39246 (cd $(TARGET_SUBDIR)/libgfortran && \
39247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39249 "RANLIB=$${RANLIB}" \
39250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39251 install-pdf) \
39252 || exit 1
39254 @endif target-libgfortran
39256 .PHONY: maybe-install-html-target-libgfortran install-html-target-libgfortran
39257 maybe-install-html-target-libgfortran:
39258 @if target-libgfortran
39259 maybe-install-html-target-libgfortran: install-html-target-libgfortran
39261 install-html-target-libgfortran: \
39262 configure-target-libgfortran \
39263 html-target-libgfortran
39264 @: $(MAKE); $(unstage)
39265 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
39266 r=`${PWD_COMMAND}`; export r; \
39267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39268 $(NORMAL_TARGET_EXPORTS) \
39269 echo "Doing install-html in $(TARGET_SUBDIR)/libgfortran" ; \
39270 for flag in $(EXTRA_TARGET_FLAGS); do \
39271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39272 done; \
39273 (cd $(TARGET_SUBDIR)/libgfortran && \
39274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39276 "RANLIB=$${RANLIB}" \
39277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39278 install-html) \
39279 || exit 1
39281 @endif target-libgfortran
39283 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
39284 maybe-installcheck-target-libgfortran:
39285 @if target-libgfortran
39286 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
39288 installcheck-target-libgfortran: \
39289 configure-target-libgfortran
39290 @: $(MAKE); $(unstage)
39291 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
39292 r=`${PWD_COMMAND}`; export r; \
39293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39294 $(NORMAL_TARGET_EXPORTS) \
39295 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
39296 for flag in $(EXTRA_TARGET_FLAGS); do \
39297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39298 done; \
39299 (cd $(TARGET_SUBDIR)/libgfortran && \
39300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39302 "RANLIB=$${RANLIB}" \
39303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39304 installcheck) \
39305 || exit 1
39307 @endif target-libgfortran
39309 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
39310 maybe-mostlyclean-target-libgfortran:
39311 @if target-libgfortran
39312 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
39314 mostlyclean-target-libgfortran:
39315 @: $(MAKE); $(unstage)
39316 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
39317 r=`${PWD_COMMAND}`; export r; \
39318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39319 $(NORMAL_TARGET_EXPORTS) \
39320 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
39321 for flag in $(EXTRA_TARGET_FLAGS); do \
39322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39323 done; \
39324 (cd $(TARGET_SUBDIR)/libgfortran && \
39325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39327 "RANLIB=$${RANLIB}" \
39328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39329 mostlyclean) \
39330 || exit 1
39332 @endif target-libgfortran
39334 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
39335 maybe-clean-target-libgfortran:
39336 @if target-libgfortran
39337 maybe-clean-target-libgfortran: clean-target-libgfortran
39339 clean-target-libgfortran:
39340 @: $(MAKE); $(unstage)
39341 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
39342 r=`${PWD_COMMAND}`; export r; \
39343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39344 $(NORMAL_TARGET_EXPORTS) \
39345 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
39346 for flag in $(EXTRA_TARGET_FLAGS); do \
39347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39348 done; \
39349 (cd $(TARGET_SUBDIR)/libgfortran && \
39350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39352 "RANLIB=$${RANLIB}" \
39353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39354 clean) \
39355 || exit 1
39357 @endif target-libgfortran
39359 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
39360 maybe-distclean-target-libgfortran:
39361 @if target-libgfortran
39362 maybe-distclean-target-libgfortran: distclean-target-libgfortran
39364 distclean-target-libgfortran:
39365 @: $(MAKE); $(unstage)
39366 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
39367 r=`${PWD_COMMAND}`; export r; \
39368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39369 $(NORMAL_TARGET_EXPORTS) \
39370 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
39371 for flag in $(EXTRA_TARGET_FLAGS); do \
39372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39373 done; \
39374 (cd $(TARGET_SUBDIR)/libgfortran && \
39375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39377 "RANLIB=$${RANLIB}" \
39378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39379 distclean) \
39380 || exit 1
39382 @endif target-libgfortran
39384 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
39385 maybe-maintainer-clean-target-libgfortran:
39386 @if target-libgfortran
39387 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
39389 maintainer-clean-target-libgfortran:
39390 @: $(MAKE); $(unstage)
39391 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
39392 r=`${PWD_COMMAND}`; export r; \
39393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39394 $(NORMAL_TARGET_EXPORTS) \
39395 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
39396 for flag in $(EXTRA_TARGET_FLAGS); do \
39397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39398 done; \
39399 (cd $(TARGET_SUBDIR)/libgfortran && \
39400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39402 "RANLIB=$${RANLIB}" \
39403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39404 maintainer-clean) \
39405 || exit 1
39407 @endif target-libgfortran
39413 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
39414 maybe-configure-target-libobjc:
39415 @if gcc-bootstrap
39416 configure-target-libobjc: stage_current
39417 @endif gcc-bootstrap
39418 @if target-libobjc
39419 maybe-configure-target-libobjc: configure-target-libobjc
39420 configure-target-libobjc:
39421 @: $(MAKE); $(unstage)
39422 @r=`${PWD_COMMAND}`; export r; \
39423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39424 echo "Checking multilib configuration for libobjc..."; \
39425 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
39426 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libobjc/multilib.tmp 2> /dev/null ; \
39427 if test -r $(TARGET_SUBDIR)/libobjc/multilib.out; then \
39428 if cmp -s $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; then \
39429 rm -f $(TARGET_SUBDIR)/libobjc/multilib.tmp; \
39430 else \
39431 rm -f $(TARGET_SUBDIR)/libobjc/Makefile; \
39432 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
39433 fi; \
39434 else \
39435 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
39436 fi; \
39437 test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
39438 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
39439 $(NORMAL_TARGET_EXPORTS) \
39440 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
39441 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
39442 case $(srcdir) in \
39443 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39444 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
39445 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39446 esac; \
39447 module_srcdir=libobjc; \
39448 rm -f no-such-file || : ; \
39449 CONFIG_SITE=no-such-file $(SHELL) \
39450 $$s/$$module_srcdir/configure \
39451 --srcdir=$${topdir}/$$module_srcdir \
39452 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39453 --target=${target_alias} \
39454 || exit 1
39455 @endif target-libobjc
39461 .PHONY: all-target-libobjc maybe-all-target-libobjc
39462 maybe-all-target-libobjc:
39463 @if gcc-bootstrap
39464 all-target-libobjc: stage_current
39465 @endif gcc-bootstrap
39466 @if target-libobjc
39467 TARGET-target-libobjc=all
39468 maybe-all-target-libobjc: all-target-libobjc
39469 all-target-libobjc: configure-target-libobjc
39470 @: $(MAKE); $(unstage)
39471 @r=`${PWD_COMMAND}`; export r; \
39472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39473 $(NORMAL_TARGET_EXPORTS) \
39474 (cd $(TARGET_SUBDIR)/libobjc && \
39475 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
39476 $(TARGET-target-libobjc))
39477 @endif target-libobjc
39483 .PHONY: check-target-libobjc maybe-check-target-libobjc
39484 maybe-check-target-libobjc:
39485 @if target-libobjc
39486 maybe-check-target-libobjc: check-target-libobjc
39488 check-target-libobjc:
39489 @: $(MAKE); $(unstage)
39490 @r=`${PWD_COMMAND}`; export r; \
39491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39492 $(NORMAL_TARGET_EXPORTS) \
39493 (cd $(TARGET_SUBDIR)/libobjc && \
39494 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
39496 @endif target-libobjc
39498 .PHONY: install-target-libobjc maybe-install-target-libobjc
39499 maybe-install-target-libobjc:
39500 @if target-libobjc
39501 maybe-install-target-libobjc: install-target-libobjc
39503 install-target-libobjc: installdirs
39504 @: $(MAKE); $(unstage)
39505 @r=`${PWD_COMMAND}`; export r; \
39506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39507 $(NORMAL_TARGET_EXPORTS) \
39508 (cd $(TARGET_SUBDIR)/libobjc && \
39509 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
39511 @endif target-libobjc
39513 .PHONY: install-strip-target-libobjc maybe-install-strip-target-libobjc
39514 maybe-install-strip-target-libobjc:
39515 @if target-libobjc
39516 maybe-install-strip-target-libobjc: install-strip-target-libobjc
39518 install-strip-target-libobjc: installdirs
39519 @: $(MAKE); $(unstage)
39520 @r=`${PWD_COMMAND}`; export r; \
39521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39522 $(NORMAL_TARGET_EXPORTS) \
39523 (cd $(TARGET_SUBDIR)/libobjc && \
39524 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
39526 @endif target-libobjc
39528 # Other targets (info, dvi, pdf, etc.)
39530 .PHONY: maybe-info-target-libobjc info-target-libobjc
39531 maybe-info-target-libobjc:
39532 @if target-libobjc
39533 maybe-info-target-libobjc: info-target-libobjc
39535 info-target-libobjc: \
39536 configure-target-libobjc
39537 @: $(MAKE); $(unstage)
39538 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39539 r=`${PWD_COMMAND}`; export r; \
39540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39541 $(NORMAL_TARGET_EXPORTS) \
39542 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
39543 for flag in $(EXTRA_TARGET_FLAGS); do \
39544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39545 done; \
39546 (cd $(TARGET_SUBDIR)/libobjc && \
39547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39549 "RANLIB=$${RANLIB}" \
39550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39551 info) \
39552 || exit 1
39554 @endif target-libobjc
39556 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
39557 maybe-dvi-target-libobjc:
39558 @if target-libobjc
39559 maybe-dvi-target-libobjc: dvi-target-libobjc
39561 dvi-target-libobjc: \
39562 configure-target-libobjc
39563 @: $(MAKE); $(unstage)
39564 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39565 r=`${PWD_COMMAND}`; export r; \
39566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39567 $(NORMAL_TARGET_EXPORTS) \
39568 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
39569 for flag in $(EXTRA_TARGET_FLAGS); do \
39570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39571 done; \
39572 (cd $(TARGET_SUBDIR)/libobjc && \
39573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39575 "RANLIB=$${RANLIB}" \
39576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39577 dvi) \
39578 || exit 1
39580 @endif target-libobjc
39582 .PHONY: maybe-pdf-target-libobjc pdf-target-libobjc
39583 maybe-pdf-target-libobjc:
39584 @if target-libobjc
39585 maybe-pdf-target-libobjc: pdf-target-libobjc
39587 pdf-target-libobjc: \
39588 configure-target-libobjc
39589 @: $(MAKE); $(unstage)
39590 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39591 r=`${PWD_COMMAND}`; export r; \
39592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39593 $(NORMAL_TARGET_EXPORTS) \
39594 echo "Doing pdf in $(TARGET_SUBDIR)/libobjc" ; \
39595 for flag in $(EXTRA_TARGET_FLAGS); do \
39596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39597 done; \
39598 (cd $(TARGET_SUBDIR)/libobjc && \
39599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39601 "RANLIB=$${RANLIB}" \
39602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39603 pdf) \
39604 || exit 1
39606 @endif target-libobjc
39608 .PHONY: maybe-html-target-libobjc html-target-libobjc
39609 maybe-html-target-libobjc:
39610 @if target-libobjc
39611 maybe-html-target-libobjc: html-target-libobjc
39613 html-target-libobjc: \
39614 configure-target-libobjc
39615 @: $(MAKE); $(unstage)
39616 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39617 r=`${PWD_COMMAND}`; export r; \
39618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39619 $(NORMAL_TARGET_EXPORTS) \
39620 echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \
39621 for flag in $(EXTRA_TARGET_FLAGS); do \
39622 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39623 done; \
39624 (cd $(TARGET_SUBDIR)/libobjc && \
39625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39627 "RANLIB=$${RANLIB}" \
39628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39629 html) \
39630 || exit 1
39632 @endif target-libobjc
39634 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
39635 maybe-TAGS-target-libobjc:
39636 @if target-libobjc
39637 maybe-TAGS-target-libobjc: TAGS-target-libobjc
39639 TAGS-target-libobjc: \
39640 configure-target-libobjc
39641 @: $(MAKE); $(unstage)
39642 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39643 r=`${PWD_COMMAND}`; export r; \
39644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39645 $(NORMAL_TARGET_EXPORTS) \
39646 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
39647 for flag in $(EXTRA_TARGET_FLAGS); do \
39648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39649 done; \
39650 (cd $(TARGET_SUBDIR)/libobjc && \
39651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39653 "RANLIB=$${RANLIB}" \
39654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39655 TAGS) \
39656 || exit 1
39658 @endif target-libobjc
39660 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
39661 maybe-install-info-target-libobjc:
39662 @if target-libobjc
39663 maybe-install-info-target-libobjc: install-info-target-libobjc
39665 install-info-target-libobjc: \
39666 configure-target-libobjc \
39667 info-target-libobjc
39668 @: $(MAKE); $(unstage)
39669 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39670 r=`${PWD_COMMAND}`; export r; \
39671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39672 $(NORMAL_TARGET_EXPORTS) \
39673 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
39674 for flag in $(EXTRA_TARGET_FLAGS); do \
39675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39676 done; \
39677 (cd $(TARGET_SUBDIR)/libobjc && \
39678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39680 "RANLIB=$${RANLIB}" \
39681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39682 install-info) \
39683 || exit 1
39685 @endif target-libobjc
39687 .PHONY: maybe-install-pdf-target-libobjc install-pdf-target-libobjc
39688 maybe-install-pdf-target-libobjc:
39689 @if target-libobjc
39690 maybe-install-pdf-target-libobjc: install-pdf-target-libobjc
39692 install-pdf-target-libobjc: \
39693 configure-target-libobjc \
39694 pdf-target-libobjc
39695 @: $(MAKE); $(unstage)
39696 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39697 r=`${PWD_COMMAND}`; export r; \
39698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39699 $(NORMAL_TARGET_EXPORTS) \
39700 echo "Doing install-pdf in $(TARGET_SUBDIR)/libobjc" ; \
39701 for flag in $(EXTRA_TARGET_FLAGS); do \
39702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39703 done; \
39704 (cd $(TARGET_SUBDIR)/libobjc && \
39705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39707 "RANLIB=$${RANLIB}" \
39708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39709 install-pdf) \
39710 || exit 1
39712 @endif target-libobjc
39714 .PHONY: maybe-install-html-target-libobjc install-html-target-libobjc
39715 maybe-install-html-target-libobjc:
39716 @if target-libobjc
39717 maybe-install-html-target-libobjc: install-html-target-libobjc
39719 install-html-target-libobjc: \
39720 configure-target-libobjc \
39721 html-target-libobjc
39722 @: $(MAKE); $(unstage)
39723 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39724 r=`${PWD_COMMAND}`; export r; \
39725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39726 $(NORMAL_TARGET_EXPORTS) \
39727 echo "Doing install-html in $(TARGET_SUBDIR)/libobjc" ; \
39728 for flag in $(EXTRA_TARGET_FLAGS); do \
39729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39730 done; \
39731 (cd $(TARGET_SUBDIR)/libobjc && \
39732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39734 "RANLIB=$${RANLIB}" \
39735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39736 install-html) \
39737 || exit 1
39739 @endif target-libobjc
39741 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
39742 maybe-installcheck-target-libobjc:
39743 @if target-libobjc
39744 maybe-installcheck-target-libobjc: installcheck-target-libobjc
39746 installcheck-target-libobjc: \
39747 configure-target-libobjc
39748 @: $(MAKE); $(unstage)
39749 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39750 r=`${PWD_COMMAND}`; export r; \
39751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39752 $(NORMAL_TARGET_EXPORTS) \
39753 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
39754 for flag in $(EXTRA_TARGET_FLAGS); do \
39755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39756 done; \
39757 (cd $(TARGET_SUBDIR)/libobjc && \
39758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39760 "RANLIB=$${RANLIB}" \
39761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39762 installcheck) \
39763 || exit 1
39765 @endif target-libobjc
39767 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
39768 maybe-mostlyclean-target-libobjc:
39769 @if target-libobjc
39770 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
39772 mostlyclean-target-libobjc:
39773 @: $(MAKE); $(unstage)
39774 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39775 r=`${PWD_COMMAND}`; export r; \
39776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39777 $(NORMAL_TARGET_EXPORTS) \
39778 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
39779 for flag in $(EXTRA_TARGET_FLAGS); do \
39780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39781 done; \
39782 (cd $(TARGET_SUBDIR)/libobjc && \
39783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39785 "RANLIB=$${RANLIB}" \
39786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39787 mostlyclean) \
39788 || exit 1
39790 @endif target-libobjc
39792 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
39793 maybe-clean-target-libobjc:
39794 @if target-libobjc
39795 maybe-clean-target-libobjc: clean-target-libobjc
39797 clean-target-libobjc:
39798 @: $(MAKE); $(unstage)
39799 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39800 r=`${PWD_COMMAND}`; export r; \
39801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39802 $(NORMAL_TARGET_EXPORTS) \
39803 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
39804 for flag in $(EXTRA_TARGET_FLAGS); do \
39805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39806 done; \
39807 (cd $(TARGET_SUBDIR)/libobjc && \
39808 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39809 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39810 "RANLIB=$${RANLIB}" \
39811 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39812 clean) \
39813 || exit 1
39815 @endif target-libobjc
39817 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
39818 maybe-distclean-target-libobjc:
39819 @if target-libobjc
39820 maybe-distclean-target-libobjc: distclean-target-libobjc
39822 distclean-target-libobjc:
39823 @: $(MAKE); $(unstage)
39824 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39825 r=`${PWD_COMMAND}`; export r; \
39826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39827 $(NORMAL_TARGET_EXPORTS) \
39828 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
39829 for flag in $(EXTRA_TARGET_FLAGS); do \
39830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39831 done; \
39832 (cd $(TARGET_SUBDIR)/libobjc && \
39833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39835 "RANLIB=$${RANLIB}" \
39836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39837 distclean) \
39838 || exit 1
39840 @endif target-libobjc
39842 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
39843 maybe-maintainer-clean-target-libobjc:
39844 @if target-libobjc
39845 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
39847 maintainer-clean-target-libobjc:
39848 @: $(MAKE); $(unstage)
39849 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
39850 r=`${PWD_COMMAND}`; export r; \
39851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39852 $(NORMAL_TARGET_EXPORTS) \
39853 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
39854 for flag in $(EXTRA_TARGET_FLAGS); do \
39855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
39856 done; \
39857 (cd $(TARGET_SUBDIR)/libobjc && \
39858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
39859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
39860 "RANLIB=$${RANLIB}" \
39861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
39862 maintainer-clean) \
39863 || exit 1
39865 @endif target-libobjc
39871 .PHONY: configure-target-libgo maybe-configure-target-libgo
39872 maybe-configure-target-libgo:
39873 @if gcc-bootstrap
39874 configure-target-libgo: stage_current
39875 @endif gcc-bootstrap
39876 @if target-libgo
39877 maybe-configure-target-libgo: configure-target-libgo
39878 configure-target-libgo:
39879 @: $(MAKE); $(unstage)
39880 @r=`${PWD_COMMAND}`; export r; \
39881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39882 echo "Checking multilib configuration for libgo..."; \
39883 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo ; \
39884 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgo/multilib.tmp 2> /dev/null ; \
39885 if test -r $(TARGET_SUBDIR)/libgo/multilib.out; then \
39886 if cmp -s $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; then \
39887 rm -f $(TARGET_SUBDIR)/libgo/multilib.tmp; \
39888 else \
39889 rm -f $(TARGET_SUBDIR)/libgo/Makefile; \
39890 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
39891 fi; \
39892 else \
39893 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
39894 fi; \
39895 test ! -f $(TARGET_SUBDIR)/libgo/Makefile || exit 0; \
39896 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo ; \
39897 $(NORMAL_TARGET_EXPORTS) \
39898 echo Configuring in $(TARGET_SUBDIR)/libgo; \
39899 cd "$(TARGET_SUBDIR)/libgo" || exit 1; \
39900 case $(srcdir) in \
39901 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
39902 *) topdir=`echo $(TARGET_SUBDIR)/libgo/ | \
39903 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
39904 esac; \
39905 module_srcdir=libgo; \
39906 rm -f no-such-file || : ; \
39907 CONFIG_SITE=no-such-file $(SHELL) \
39908 $$s/$$module_srcdir/configure \
39909 --srcdir=$${topdir}/$$module_srcdir \
39910 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
39911 --target=${target_alias} \
39912 || exit 1
39913 @endif target-libgo
39919 .PHONY: all-target-libgo maybe-all-target-libgo
39920 maybe-all-target-libgo:
39921 @if gcc-bootstrap
39922 all-target-libgo: stage_current
39923 @endif gcc-bootstrap
39924 @if target-libgo
39925 TARGET-target-libgo=all
39926 maybe-all-target-libgo: all-target-libgo
39927 all-target-libgo: configure-target-libgo
39928 @: $(MAKE); $(unstage)
39929 @r=`${PWD_COMMAND}`; export r; \
39930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39931 $(NORMAL_TARGET_EXPORTS) \
39932 (cd $(TARGET_SUBDIR)/libgo && \
39933 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
39934 $(TARGET-target-libgo))
39935 @endif target-libgo
39941 .PHONY: check-target-libgo maybe-check-target-libgo
39942 maybe-check-target-libgo:
39943 @if target-libgo
39944 maybe-check-target-libgo: check-target-libgo
39946 check-target-libgo:
39947 @: $(MAKE); $(unstage)
39948 @r=`${PWD_COMMAND}`; export r; \
39949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39950 $(NORMAL_TARGET_EXPORTS) \
39951 (cd $(TARGET_SUBDIR)/libgo && \
39952 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
39954 @endif target-libgo
39956 .PHONY: install-target-libgo maybe-install-target-libgo
39957 maybe-install-target-libgo:
39958 @if target-libgo
39959 maybe-install-target-libgo: install-target-libgo
39961 install-target-libgo: installdirs
39962 @: $(MAKE); $(unstage)
39963 @r=`${PWD_COMMAND}`; export r; \
39964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39965 $(NORMAL_TARGET_EXPORTS) \
39966 (cd $(TARGET_SUBDIR)/libgo && \
39967 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
39969 @endif target-libgo
39971 .PHONY: install-strip-target-libgo maybe-install-strip-target-libgo
39972 maybe-install-strip-target-libgo:
39973 @if target-libgo
39974 maybe-install-strip-target-libgo: install-strip-target-libgo
39976 install-strip-target-libgo: installdirs
39977 @: $(MAKE); $(unstage)
39978 @r=`${PWD_COMMAND}`; export r; \
39979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39980 $(NORMAL_TARGET_EXPORTS) \
39981 (cd $(TARGET_SUBDIR)/libgo && \
39982 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
39984 @endif target-libgo
39986 # Other targets (info, dvi, pdf, etc.)
39988 .PHONY: maybe-info-target-libgo info-target-libgo
39989 maybe-info-target-libgo:
39990 @if target-libgo
39991 maybe-info-target-libgo: info-target-libgo
39993 info-target-libgo: \
39994 configure-target-libgo
39995 @: $(MAKE); $(unstage)
39996 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
39997 r=`${PWD_COMMAND}`; export r; \
39998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
39999 $(NORMAL_TARGET_EXPORTS) \
40000 echo "Doing info in $(TARGET_SUBDIR)/libgo" ; \
40001 for flag in $(EXTRA_TARGET_FLAGS); do \
40002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40003 done; \
40004 (cd $(TARGET_SUBDIR)/libgo && \
40005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40007 "RANLIB=$${RANLIB}" \
40008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40009 info) \
40010 || exit 1
40012 @endif target-libgo
40014 .PHONY: maybe-dvi-target-libgo dvi-target-libgo
40015 maybe-dvi-target-libgo:
40016 @if target-libgo
40017 maybe-dvi-target-libgo: dvi-target-libgo
40019 dvi-target-libgo: \
40020 configure-target-libgo
40021 @: $(MAKE); $(unstage)
40022 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
40023 r=`${PWD_COMMAND}`; export r; \
40024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40025 $(NORMAL_TARGET_EXPORTS) \
40026 echo "Doing dvi in $(TARGET_SUBDIR)/libgo" ; \
40027 for flag in $(EXTRA_TARGET_FLAGS); do \
40028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40029 done; \
40030 (cd $(TARGET_SUBDIR)/libgo && \
40031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40033 "RANLIB=$${RANLIB}" \
40034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40035 dvi) \
40036 || exit 1
40038 @endif target-libgo
40040 .PHONY: maybe-pdf-target-libgo pdf-target-libgo
40041 maybe-pdf-target-libgo:
40042 @if target-libgo
40043 maybe-pdf-target-libgo: pdf-target-libgo
40045 pdf-target-libgo: \
40046 configure-target-libgo
40047 @: $(MAKE); $(unstage)
40048 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
40049 r=`${PWD_COMMAND}`; export r; \
40050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40051 $(NORMAL_TARGET_EXPORTS) \
40052 echo "Doing pdf in $(TARGET_SUBDIR)/libgo" ; \
40053 for flag in $(EXTRA_TARGET_FLAGS); do \
40054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40055 done; \
40056 (cd $(TARGET_SUBDIR)/libgo && \
40057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40059 "RANLIB=$${RANLIB}" \
40060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40061 pdf) \
40062 || exit 1
40064 @endif target-libgo
40066 .PHONY: maybe-html-target-libgo html-target-libgo
40067 maybe-html-target-libgo:
40068 @if target-libgo
40069 maybe-html-target-libgo: html-target-libgo
40071 html-target-libgo: \
40072 configure-target-libgo
40073 @: $(MAKE); $(unstage)
40074 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
40075 r=`${PWD_COMMAND}`; export r; \
40076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40077 $(NORMAL_TARGET_EXPORTS) \
40078 echo "Doing html in $(TARGET_SUBDIR)/libgo" ; \
40079 for flag in $(EXTRA_TARGET_FLAGS); do \
40080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40081 done; \
40082 (cd $(TARGET_SUBDIR)/libgo && \
40083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40085 "RANLIB=$${RANLIB}" \
40086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40087 html) \
40088 || exit 1
40090 @endif target-libgo
40092 .PHONY: maybe-TAGS-target-libgo TAGS-target-libgo
40093 maybe-TAGS-target-libgo:
40094 @if target-libgo
40095 maybe-TAGS-target-libgo: TAGS-target-libgo
40097 TAGS-target-libgo: \
40098 configure-target-libgo
40099 @: $(MAKE); $(unstage)
40100 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
40101 r=`${PWD_COMMAND}`; export r; \
40102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40103 $(NORMAL_TARGET_EXPORTS) \
40104 echo "Doing TAGS in $(TARGET_SUBDIR)/libgo" ; \
40105 for flag in $(EXTRA_TARGET_FLAGS); do \
40106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40107 done; \
40108 (cd $(TARGET_SUBDIR)/libgo && \
40109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40111 "RANLIB=$${RANLIB}" \
40112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40113 TAGS) \
40114 || exit 1
40116 @endif target-libgo
40118 .PHONY: maybe-install-info-target-libgo install-info-target-libgo
40119 maybe-install-info-target-libgo:
40120 @if target-libgo
40121 maybe-install-info-target-libgo: install-info-target-libgo
40123 install-info-target-libgo: \
40124 configure-target-libgo \
40125 info-target-libgo
40126 @: $(MAKE); $(unstage)
40127 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
40128 r=`${PWD_COMMAND}`; export r; \
40129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40130 $(NORMAL_TARGET_EXPORTS) \
40131 echo "Doing install-info in $(TARGET_SUBDIR)/libgo" ; \
40132 for flag in $(EXTRA_TARGET_FLAGS); do \
40133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40134 done; \
40135 (cd $(TARGET_SUBDIR)/libgo && \
40136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40138 "RANLIB=$${RANLIB}" \
40139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40140 install-info) \
40141 || exit 1
40143 @endif target-libgo
40145 .PHONY: maybe-install-pdf-target-libgo install-pdf-target-libgo
40146 maybe-install-pdf-target-libgo:
40147 @if target-libgo
40148 maybe-install-pdf-target-libgo: install-pdf-target-libgo
40150 install-pdf-target-libgo: \
40151 configure-target-libgo \
40152 pdf-target-libgo
40153 @: $(MAKE); $(unstage)
40154 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
40155 r=`${PWD_COMMAND}`; export r; \
40156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40157 $(NORMAL_TARGET_EXPORTS) \
40158 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgo" ; \
40159 for flag in $(EXTRA_TARGET_FLAGS); do \
40160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40161 done; \
40162 (cd $(TARGET_SUBDIR)/libgo && \
40163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40165 "RANLIB=$${RANLIB}" \
40166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40167 install-pdf) \
40168 || exit 1
40170 @endif target-libgo
40172 .PHONY: maybe-install-html-target-libgo install-html-target-libgo
40173 maybe-install-html-target-libgo:
40174 @if target-libgo
40175 maybe-install-html-target-libgo: install-html-target-libgo
40177 install-html-target-libgo: \
40178 configure-target-libgo \
40179 html-target-libgo
40180 @: $(MAKE); $(unstage)
40181 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
40182 r=`${PWD_COMMAND}`; export r; \
40183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40184 $(NORMAL_TARGET_EXPORTS) \
40185 echo "Doing install-html in $(TARGET_SUBDIR)/libgo" ; \
40186 for flag in $(EXTRA_TARGET_FLAGS); do \
40187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40188 done; \
40189 (cd $(TARGET_SUBDIR)/libgo && \
40190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40192 "RANLIB=$${RANLIB}" \
40193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40194 install-html) \
40195 || exit 1
40197 @endif target-libgo
40199 .PHONY: maybe-installcheck-target-libgo installcheck-target-libgo
40200 maybe-installcheck-target-libgo:
40201 @if target-libgo
40202 maybe-installcheck-target-libgo: installcheck-target-libgo
40204 installcheck-target-libgo: \
40205 configure-target-libgo
40206 @: $(MAKE); $(unstage)
40207 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
40208 r=`${PWD_COMMAND}`; export r; \
40209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40210 $(NORMAL_TARGET_EXPORTS) \
40211 echo "Doing installcheck in $(TARGET_SUBDIR)/libgo" ; \
40212 for flag in $(EXTRA_TARGET_FLAGS); do \
40213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40214 done; \
40215 (cd $(TARGET_SUBDIR)/libgo && \
40216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40218 "RANLIB=$${RANLIB}" \
40219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40220 installcheck) \
40221 || exit 1
40223 @endif target-libgo
40225 .PHONY: maybe-mostlyclean-target-libgo mostlyclean-target-libgo
40226 maybe-mostlyclean-target-libgo:
40227 @if target-libgo
40228 maybe-mostlyclean-target-libgo: mostlyclean-target-libgo
40230 mostlyclean-target-libgo:
40231 @: $(MAKE); $(unstage)
40232 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
40233 r=`${PWD_COMMAND}`; export r; \
40234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40235 $(NORMAL_TARGET_EXPORTS) \
40236 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgo" ; \
40237 for flag in $(EXTRA_TARGET_FLAGS); do \
40238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40239 done; \
40240 (cd $(TARGET_SUBDIR)/libgo && \
40241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40243 "RANLIB=$${RANLIB}" \
40244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40245 mostlyclean) \
40246 || exit 1
40248 @endif target-libgo
40250 .PHONY: maybe-clean-target-libgo clean-target-libgo
40251 maybe-clean-target-libgo:
40252 @if target-libgo
40253 maybe-clean-target-libgo: clean-target-libgo
40255 clean-target-libgo:
40256 @: $(MAKE); $(unstage)
40257 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
40258 r=`${PWD_COMMAND}`; export r; \
40259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40260 $(NORMAL_TARGET_EXPORTS) \
40261 echo "Doing clean in $(TARGET_SUBDIR)/libgo" ; \
40262 for flag in $(EXTRA_TARGET_FLAGS); do \
40263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40264 done; \
40265 (cd $(TARGET_SUBDIR)/libgo && \
40266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40268 "RANLIB=$${RANLIB}" \
40269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40270 clean) \
40271 || exit 1
40273 @endif target-libgo
40275 .PHONY: maybe-distclean-target-libgo distclean-target-libgo
40276 maybe-distclean-target-libgo:
40277 @if target-libgo
40278 maybe-distclean-target-libgo: distclean-target-libgo
40280 distclean-target-libgo:
40281 @: $(MAKE); $(unstage)
40282 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
40283 r=`${PWD_COMMAND}`; export r; \
40284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40285 $(NORMAL_TARGET_EXPORTS) \
40286 echo "Doing distclean in $(TARGET_SUBDIR)/libgo" ; \
40287 for flag in $(EXTRA_TARGET_FLAGS); do \
40288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40289 done; \
40290 (cd $(TARGET_SUBDIR)/libgo && \
40291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40293 "RANLIB=$${RANLIB}" \
40294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40295 distclean) \
40296 || exit 1
40298 @endif target-libgo
40300 .PHONY: maybe-maintainer-clean-target-libgo maintainer-clean-target-libgo
40301 maybe-maintainer-clean-target-libgo:
40302 @if target-libgo
40303 maybe-maintainer-clean-target-libgo: maintainer-clean-target-libgo
40305 maintainer-clean-target-libgo:
40306 @: $(MAKE); $(unstage)
40307 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
40308 r=`${PWD_COMMAND}`; export r; \
40309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40310 $(NORMAL_TARGET_EXPORTS) \
40311 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgo" ; \
40312 for flag in $(EXTRA_TARGET_FLAGS); do \
40313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40314 done; \
40315 (cd $(TARGET_SUBDIR)/libgo && \
40316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40318 "RANLIB=$${RANLIB}" \
40319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40320 maintainer-clean) \
40321 || exit 1
40323 @endif target-libgo
40329 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
40330 maybe-configure-target-libtermcap:
40331 @if gcc-bootstrap
40332 configure-target-libtermcap: stage_current
40333 @endif gcc-bootstrap
40334 @if target-libtermcap
40335 maybe-configure-target-libtermcap: configure-target-libtermcap
40336 configure-target-libtermcap:
40337 @: $(MAKE); $(unstage)
40338 @r=`${PWD_COMMAND}`; export r; \
40339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40340 echo "Checking multilib configuration for libtermcap..."; \
40341 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
40342 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libtermcap/multilib.tmp 2> /dev/null ; \
40343 if test -r $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
40344 if cmp -s $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
40345 rm -f $(TARGET_SUBDIR)/libtermcap/multilib.tmp; \
40346 else \
40347 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile; \
40348 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
40349 fi; \
40350 else \
40351 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
40352 fi; \
40353 test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
40354 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
40355 $(NORMAL_TARGET_EXPORTS) \
40356 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
40357 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
40358 case $(srcdir) in \
40359 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40360 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
40361 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40362 esac; \
40363 module_srcdir=libtermcap; \
40364 rm -f no-such-file || : ; \
40365 CONFIG_SITE=no-such-file $(SHELL) \
40366 $$s/$$module_srcdir/configure \
40367 --srcdir=$${topdir}/$$module_srcdir \
40368 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40369 --target=${target_alias} \
40370 || exit 1
40371 @endif target-libtermcap
40377 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
40378 maybe-all-target-libtermcap:
40379 @if gcc-bootstrap
40380 all-target-libtermcap: stage_current
40381 @endif gcc-bootstrap
40382 @if target-libtermcap
40383 TARGET-target-libtermcap=all
40384 maybe-all-target-libtermcap: all-target-libtermcap
40385 all-target-libtermcap: configure-target-libtermcap
40386 @: $(MAKE); $(unstage)
40387 @r=`${PWD_COMMAND}`; export r; \
40388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40389 $(NORMAL_TARGET_EXPORTS) \
40390 (cd $(TARGET_SUBDIR)/libtermcap && \
40391 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
40392 $(TARGET-target-libtermcap))
40393 @endif target-libtermcap
40399 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
40400 maybe-check-target-libtermcap:
40401 @if target-libtermcap
40402 maybe-check-target-libtermcap: check-target-libtermcap
40404 # Dummy target for uncheckable module.
40405 check-target-libtermcap:
40407 @endif target-libtermcap
40409 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
40410 maybe-install-target-libtermcap:
40411 @if target-libtermcap
40412 maybe-install-target-libtermcap: install-target-libtermcap
40414 install-target-libtermcap: installdirs
40415 @: $(MAKE); $(unstage)
40416 @r=`${PWD_COMMAND}`; export r; \
40417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40418 $(NORMAL_TARGET_EXPORTS) \
40419 (cd $(TARGET_SUBDIR)/libtermcap && \
40420 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40422 @endif target-libtermcap
40424 .PHONY: install-strip-target-libtermcap maybe-install-strip-target-libtermcap
40425 maybe-install-strip-target-libtermcap:
40426 @if target-libtermcap
40427 maybe-install-strip-target-libtermcap: install-strip-target-libtermcap
40429 install-strip-target-libtermcap: installdirs
40430 @: $(MAKE); $(unstage)
40431 @r=`${PWD_COMMAND}`; export r; \
40432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40433 $(NORMAL_TARGET_EXPORTS) \
40434 (cd $(TARGET_SUBDIR)/libtermcap && \
40435 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
40437 @endif target-libtermcap
40439 # Other targets (info, dvi, pdf, etc.)
40441 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
40442 maybe-info-target-libtermcap:
40443 @if target-libtermcap
40444 maybe-info-target-libtermcap: info-target-libtermcap
40446 info-target-libtermcap: \
40447 configure-target-libtermcap
40448 @: $(MAKE); $(unstage)
40449 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
40450 r=`${PWD_COMMAND}`; export r; \
40451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40452 $(NORMAL_TARGET_EXPORTS) \
40453 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
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)/libtermcap && \
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 info) \
40463 || exit 1
40465 @endif target-libtermcap
40467 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
40468 maybe-dvi-target-libtermcap:
40469 @if target-libtermcap
40470 maybe-dvi-target-libtermcap: dvi-target-libtermcap
40472 dvi-target-libtermcap: \
40473 configure-target-libtermcap
40474 @: $(MAKE); $(unstage)
40475 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
40476 r=`${PWD_COMMAND}`; export r; \
40477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40478 $(NORMAL_TARGET_EXPORTS) \
40479 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
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)/libtermcap && \
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 dvi) \
40489 || exit 1
40491 @endif target-libtermcap
40493 .PHONY: maybe-pdf-target-libtermcap pdf-target-libtermcap
40494 maybe-pdf-target-libtermcap:
40495 @if target-libtermcap
40496 maybe-pdf-target-libtermcap: pdf-target-libtermcap
40498 pdf-target-libtermcap: \
40499 configure-target-libtermcap
40500 @: $(MAKE); $(unstage)
40501 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
40502 r=`${PWD_COMMAND}`; export r; \
40503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40504 $(NORMAL_TARGET_EXPORTS) \
40505 echo "Doing pdf in $(TARGET_SUBDIR)/libtermcap" ; \
40506 for flag in $(EXTRA_TARGET_FLAGS); do \
40507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40508 done; \
40509 (cd $(TARGET_SUBDIR)/libtermcap && \
40510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40512 "RANLIB=$${RANLIB}" \
40513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40514 pdf) \
40515 || exit 1
40517 @endif target-libtermcap
40519 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
40520 maybe-html-target-libtermcap:
40521 @if target-libtermcap
40522 maybe-html-target-libtermcap: html-target-libtermcap
40524 html-target-libtermcap: \
40525 configure-target-libtermcap
40526 @: $(MAKE); $(unstage)
40527 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
40528 r=`${PWD_COMMAND}`; export r; \
40529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40530 $(NORMAL_TARGET_EXPORTS) \
40531 echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \
40532 for flag in $(EXTRA_TARGET_FLAGS); do \
40533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40534 done; \
40535 (cd $(TARGET_SUBDIR)/libtermcap && \
40536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40538 "RANLIB=$${RANLIB}" \
40539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40540 html) \
40541 || exit 1
40543 @endif target-libtermcap
40545 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
40546 maybe-TAGS-target-libtermcap:
40547 @if target-libtermcap
40548 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
40550 TAGS-target-libtermcap: \
40551 configure-target-libtermcap
40552 @: $(MAKE); $(unstage)
40553 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
40554 r=`${PWD_COMMAND}`; export r; \
40555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40556 $(NORMAL_TARGET_EXPORTS) \
40557 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
40558 for flag in $(EXTRA_TARGET_FLAGS); do \
40559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40560 done; \
40561 (cd $(TARGET_SUBDIR)/libtermcap && \
40562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40564 "RANLIB=$${RANLIB}" \
40565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40566 TAGS) \
40567 || exit 1
40569 @endif target-libtermcap
40571 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
40572 maybe-install-info-target-libtermcap:
40573 @if target-libtermcap
40574 maybe-install-info-target-libtermcap: install-info-target-libtermcap
40576 install-info-target-libtermcap: \
40577 configure-target-libtermcap \
40578 info-target-libtermcap
40579 @: $(MAKE); $(unstage)
40580 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
40581 r=`${PWD_COMMAND}`; export r; \
40582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40583 $(NORMAL_TARGET_EXPORTS) \
40584 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
40585 for flag in $(EXTRA_TARGET_FLAGS); do \
40586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40587 done; \
40588 (cd $(TARGET_SUBDIR)/libtermcap && \
40589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40591 "RANLIB=$${RANLIB}" \
40592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40593 install-info) \
40594 || exit 1
40596 @endif target-libtermcap
40598 .PHONY: maybe-install-pdf-target-libtermcap install-pdf-target-libtermcap
40599 maybe-install-pdf-target-libtermcap:
40600 @if target-libtermcap
40601 maybe-install-pdf-target-libtermcap: install-pdf-target-libtermcap
40603 install-pdf-target-libtermcap: \
40604 configure-target-libtermcap \
40605 pdf-target-libtermcap
40606 @: $(MAKE); $(unstage)
40607 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
40608 r=`${PWD_COMMAND}`; export r; \
40609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40610 $(NORMAL_TARGET_EXPORTS) \
40611 echo "Doing install-pdf in $(TARGET_SUBDIR)/libtermcap" ; \
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)/libtermcap && \
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 install-pdf) \
40621 || exit 1
40623 @endif target-libtermcap
40625 .PHONY: maybe-install-html-target-libtermcap install-html-target-libtermcap
40626 maybe-install-html-target-libtermcap:
40627 @if target-libtermcap
40628 maybe-install-html-target-libtermcap: install-html-target-libtermcap
40630 install-html-target-libtermcap: \
40631 configure-target-libtermcap \
40632 html-target-libtermcap
40633 @: $(MAKE); $(unstage)
40634 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
40635 r=`${PWD_COMMAND}`; export r; \
40636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40637 $(NORMAL_TARGET_EXPORTS) \
40638 echo "Doing install-html in $(TARGET_SUBDIR)/libtermcap" ; \
40639 for flag in $(EXTRA_TARGET_FLAGS); do \
40640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40641 done; \
40642 (cd $(TARGET_SUBDIR)/libtermcap && \
40643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40645 "RANLIB=$${RANLIB}" \
40646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40647 install-html) \
40648 || exit 1
40650 @endif target-libtermcap
40652 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
40653 maybe-installcheck-target-libtermcap:
40654 @if target-libtermcap
40655 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
40657 installcheck-target-libtermcap: \
40658 configure-target-libtermcap
40659 @: $(MAKE); $(unstage)
40660 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
40661 r=`${PWD_COMMAND}`; export r; \
40662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40663 $(NORMAL_TARGET_EXPORTS) \
40664 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
40665 for flag in $(EXTRA_TARGET_FLAGS); do \
40666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40667 done; \
40668 (cd $(TARGET_SUBDIR)/libtermcap && \
40669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40671 "RANLIB=$${RANLIB}" \
40672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40673 installcheck) \
40674 || exit 1
40676 @endif target-libtermcap
40678 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
40679 maybe-mostlyclean-target-libtermcap:
40680 @if target-libtermcap
40681 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
40683 # libtermcap doesn't support mostlyclean.
40684 mostlyclean-target-libtermcap:
40686 @endif target-libtermcap
40688 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
40689 maybe-clean-target-libtermcap:
40690 @if target-libtermcap
40691 maybe-clean-target-libtermcap: clean-target-libtermcap
40693 # libtermcap doesn't support clean.
40694 clean-target-libtermcap:
40696 @endif target-libtermcap
40698 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
40699 maybe-distclean-target-libtermcap:
40700 @if target-libtermcap
40701 maybe-distclean-target-libtermcap: distclean-target-libtermcap
40703 # libtermcap doesn't support distclean.
40704 distclean-target-libtermcap:
40706 @endif target-libtermcap
40708 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
40709 maybe-maintainer-clean-target-libtermcap:
40710 @if target-libtermcap
40711 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
40713 # libtermcap doesn't support maintainer-clean.
40714 maintainer-clean-target-libtermcap:
40716 @endif target-libtermcap
40722 .PHONY: configure-target-winsup maybe-configure-target-winsup
40723 maybe-configure-target-winsup:
40724 @if gcc-bootstrap
40725 configure-target-winsup: stage_current
40726 @endif gcc-bootstrap
40727 @if target-winsup
40728 maybe-configure-target-winsup: configure-target-winsup
40729 configure-target-winsup:
40730 @: $(MAKE); $(unstage)
40731 @r=`${PWD_COMMAND}`; export r; \
40732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40733 echo "Checking multilib configuration for winsup..."; \
40734 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
40735 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/winsup/multilib.tmp 2> /dev/null ; \
40736 if test -r $(TARGET_SUBDIR)/winsup/multilib.out; then \
40737 if cmp -s $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; then \
40738 rm -f $(TARGET_SUBDIR)/winsup/multilib.tmp; \
40739 else \
40740 rm -f $(TARGET_SUBDIR)/winsup/Makefile; \
40741 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
40742 fi; \
40743 else \
40744 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
40745 fi; \
40746 test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
40747 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
40748 $(NORMAL_TARGET_EXPORTS) \
40749 echo Configuring in $(TARGET_SUBDIR)/winsup; \
40750 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
40751 case $(srcdir) in \
40752 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
40753 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
40754 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
40755 esac; \
40756 module_srcdir=winsup; \
40757 rm -f no-such-file || : ; \
40758 CONFIG_SITE=no-such-file $(SHELL) \
40759 $$s/$$module_srcdir/configure \
40760 --srcdir=$${topdir}/$$module_srcdir \
40761 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
40762 --target=${target_alias} \
40763 || exit 1
40764 @endif target-winsup
40770 .PHONY: all-target-winsup maybe-all-target-winsup
40771 maybe-all-target-winsup:
40772 @if gcc-bootstrap
40773 all-target-winsup: stage_current
40774 @endif gcc-bootstrap
40775 @if target-winsup
40776 TARGET-target-winsup=all
40777 maybe-all-target-winsup: all-target-winsup
40778 all-target-winsup: configure-target-winsup
40779 @: $(MAKE); $(unstage)
40780 @r=`${PWD_COMMAND}`; export r; \
40781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40782 $(NORMAL_TARGET_EXPORTS) \
40783 (cd $(TARGET_SUBDIR)/winsup && \
40784 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
40785 $(TARGET-target-winsup))
40786 @endif target-winsup
40792 .PHONY: check-target-winsup maybe-check-target-winsup
40793 maybe-check-target-winsup:
40794 @if target-winsup
40795 maybe-check-target-winsup: check-target-winsup
40797 check-target-winsup:
40798 @: $(MAKE); $(unstage)
40799 @r=`${PWD_COMMAND}`; export r; \
40800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40801 $(NORMAL_TARGET_EXPORTS) \
40802 (cd $(TARGET_SUBDIR)/winsup && \
40803 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
40805 @endif target-winsup
40807 .PHONY: install-target-winsup maybe-install-target-winsup
40808 maybe-install-target-winsup:
40809 @if target-winsup
40810 maybe-install-target-winsup: install-target-winsup
40812 install-target-winsup: installdirs
40813 @: $(MAKE); $(unstage)
40814 @r=`${PWD_COMMAND}`; export r; \
40815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40816 $(NORMAL_TARGET_EXPORTS) \
40817 (cd $(TARGET_SUBDIR)/winsup && \
40818 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
40820 @endif target-winsup
40822 .PHONY: install-strip-target-winsup maybe-install-strip-target-winsup
40823 maybe-install-strip-target-winsup:
40824 @if target-winsup
40825 maybe-install-strip-target-winsup: install-strip-target-winsup
40827 install-strip-target-winsup: installdirs
40828 @: $(MAKE); $(unstage)
40829 @r=`${PWD_COMMAND}`; export r; \
40830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40831 $(NORMAL_TARGET_EXPORTS) \
40832 (cd $(TARGET_SUBDIR)/winsup && \
40833 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
40835 @endif target-winsup
40837 # Other targets (info, dvi, pdf, etc.)
40839 .PHONY: maybe-info-target-winsup info-target-winsup
40840 maybe-info-target-winsup:
40841 @if target-winsup
40842 maybe-info-target-winsup: info-target-winsup
40844 info-target-winsup: \
40845 configure-target-winsup
40846 @: $(MAKE); $(unstage)
40847 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40848 r=`${PWD_COMMAND}`; export r; \
40849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40850 $(NORMAL_TARGET_EXPORTS) \
40851 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
40852 for flag in $(EXTRA_TARGET_FLAGS); do \
40853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40854 done; \
40855 (cd $(TARGET_SUBDIR)/winsup && \
40856 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40857 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40858 "RANLIB=$${RANLIB}" \
40859 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40860 info) \
40861 || exit 1
40863 @endif target-winsup
40865 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
40866 maybe-dvi-target-winsup:
40867 @if target-winsup
40868 maybe-dvi-target-winsup: dvi-target-winsup
40870 dvi-target-winsup: \
40871 configure-target-winsup
40872 @: $(MAKE); $(unstage)
40873 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40874 r=`${PWD_COMMAND}`; export r; \
40875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40876 $(NORMAL_TARGET_EXPORTS) \
40877 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
40878 for flag in $(EXTRA_TARGET_FLAGS); do \
40879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40880 done; \
40881 (cd $(TARGET_SUBDIR)/winsup && \
40882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40884 "RANLIB=$${RANLIB}" \
40885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40886 dvi) \
40887 || exit 1
40889 @endif target-winsup
40891 .PHONY: maybe-pdf-target-winsup pdf-target-winsup
40892 maybe-pdf-target-winsup:
40893 @if target-winsup
40894 maybe-pdf-target-winsup: pdf-target-winsup
40896 pdf-target-winsup: \
40897 configure-target-winsup
40898 @: $(MAKE); $(unstage)
40899 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40900 r=`${PWD_COMMAND}`; export r; \
40901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40902 $(NORMAL_TARGET_EXPORTS) \
40903 echo "Doing pdf in $(TARGET_SUBDIR)/winsup" ; \
40904 for flag in $(EXTRA_TARGET_FLAGS); do \
40905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40906 done; \
40907 (cd $(TARGET_SUBDIR)/winsup && \
40908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40910 "RANLIB=$${RANLIB}" \
40911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40912 pdf) \
40913 || exit 1
40915 @endif target-winsup
40917 .PHONY: maybe-html-target-winsup html-target-winsup
40918 maybe-html-target-winsup:
40919 @if target-winsup
40920 maybe-html-target-winsup: html-target-winsup
40922 html-target-winsup: \
40923 configure-target-winsup
40924 @: $(MAKE); $(unstage)
40925 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40926 r=`${PWD_COMMAND}`; export r; \
40927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40928 $(NORMAL_TARGET_EXPORTS) \
40929 echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \
40930 for flag in $(EXTRA_TARGET_FLAGS); do \
40931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40932 done; \
40933 (cd $(TARGET_SUBDIR)/winsup && \
40934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40936 "RANLIB=$${RANLIB}" \
40937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40938 html) \
40939 || exit 1
40941 @endif target-winsup
40943 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
40944 maybe-TAGS-target-winsup:
40945 @if target-winsup
40946 maybe-TAGS-target-winsup: TAGS-target-winsup
40948 TAGS-target-winsup: \
40949 configure-target-winsup
40950 @: $(MAKE); $(unstage)
40951 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40952 r=`${PWD_COMMAND}`; export r; \
40953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40954 $(NORMAL_TARGET_EXPORTS) \
40955 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
40956 for flag in $(EXTRA_TARGET_FLAGS); do \
40957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40958 done; \
40959 (cd $(TARGET_SUBDIR)/winsup && \
40960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40962 "RANLIB=$${RANLIB}" \
40963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40964 TAGS) \
40965 || exit 1
40967 @endif target-winsup
40969 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
40970 maybe-install-info-target-winsup:
40971 @if target-winsup
40972 maybe-install-info-target-winsup: install-info-target-winsup
40974 install-info-target-winsup: \
40975 configure-target-winsup \
40976 info-target-winsup
40977 @: $(MAKE); $(unstage)
40978 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
40979 r=`${PWD_COMMAND}`; export r; \
40980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
40981 $(NORMAL_TARGET_EXPORTS) \
40982 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
40983 for flag in $(EXTRA_TARGET_FLAGS); do \
40984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
40985 done; \
40986 (cd $(TARGET_SUBDIR)/winsup && \
40987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
40988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
40989 "RANLIB=$${RANLIB}" \
40990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
40991 install-info) \
40992 || exit 1
40994 @endif target-winsup
40996 .PHONY: maybe-install-pdf-target-winsup install-pdf-target-winsup
40997 maybe-install-pdf-target-winsup:
40998 @if target-winsup
40999 maybe-install-pdf-target-winsup: install-pdf-target-winsup
41001 install-pdf-target-winsup: \
41002 configure-target-winsup \
41003 pdf-target-winsup
41004 @: $(MAKE); $(unstage)
41005 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
41006 r=`${PWD_COMMAND}`; export r; \
41007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41008 $(NORMAL_TARGET_EXPORTS) \
41009 echo "Doing install-pdf in $(TARGET_SUBDIR)/winsup" ; \
41010 for flag in $(EXTRA_TARGET_FLAGS); do \
41011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41012 done; \
41013 (cd $(TARGET_SUBDIR)/winsup && \
41014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41016 "RANLIB=$${RANLIB}" \
41017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41018 install-pdf) \
41019 || exit 1
41021 @endif target-winsup
41023 .PHONY: maybe-install-html-target-winsup install-html-target-winsup
41024 maybe-install-html-target-winsup:
41025 @if target-winsup
41026 maybe-install-html-target-winsup: install-html-target-winsup
41028 install-html-target-winsup: \
41029 configure-target-winsup \
41030 html-target-winsup
41031 @: $(MAKE); $(unstage)
41032 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
41033 r=`${PWD_COMMAND}`; export r; \
41034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41035 $(NORMAL_TARGET_EXPORTS) \
41036 echo "Doing install-html in $(TARGET_SUBDIR)/winsup" ; \
41037 for flag in $(EXTRA_TARGET_FLAGS); do \
41038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41039 done; \
41040 (cd $(TARGET_SUBDIR)/winsup && \
41041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41043 "RANLIB=$${RANLIB}" \
41044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41045 install-html) \
41046 || exit 1
41048 @endif target-winsup
41050 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
41051 maybe-installcheck-target-winsup:
41052 @if target-winsup
41053 maybe-installcheck-target-winsup: installcheck-target-winsup
41055 installcheck-target-winsup: \
41056 configure-target-winsup
41057 @: $(MAKE); $(unstage)
41058 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
41059 r=`${PWD_COMMAND}`; export r; \
41060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41061 $(NORMAL_TARGET_EXPORTS) \
41062 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
41063 for flag in $(EXTRA_TARGET_FLAGS); do \
41064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41065 done; \
41066 (cd $(TARGET_SUBDIR)/winsup && \
41067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41069 "RANLIB=$${RANLIB}" \
41070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41071 installcheck) \
41072 || exit 1
41074 @endif target-winsup
41076 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
41077 maybe-mostlyclean-target-winsup:
41078 @if target-winsup
41079 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
41081 mostlyclean-target-winsup:
41082 @: $(MAKE); $(unstage)
41083 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
41084 r=`${PWD_COMMAND}`; export r; \
41085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41086 $(NORMAL_TARGET_EXPORTS) \
41087 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
41088 for flag in $(EXTRA_TARGET_FLAGS); do \
41089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41090 done; \
41091 (cd $(TARGET_SUBDIR)/winsup && \
41092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41094 "RANLIB=$${RANLIB}" \
41095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41096 mostlyclean) \
41097 || exit 1
41099 @endif target-winsup
41101 .PHONY: maybe-clean-target-winsup clean-target-winsup
41102 maybe-clean-target-winsup:
41103 @if target-winsup
41104 maybe-clean-target-winsup: clean-target-winsup
41106 clean-target-winsup:
41107 @: $(MAKE); $(unstage)
41108 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
41109 r=`${PWD_COMMAND}`; export r; \
41110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41111 $(NORMAL_TARGET_EXPORTS) \
41112 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
41113 for flag in $(EXTRA_TARGET_FLAGS); do \
41114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41115 done; \
41116 (cd $(TARGET_SUBDIR)/winsup && \
41117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41119 "RANLIB=$${RANLIB}" \
41120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41121 clean) \
41122 || exit 1
41124 @endif target-winsup
41126 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
41127 maybe-distclean-target-winsup:
41128 @if target-winsup
41129 maybe-distclean-target-winsup: distclean-target-winsup
41131 distclean-target-winsup:
41132 @: $(MAKE); $(unstage)
41133 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
41134 r=`${PWD_COMMAND}`; export r; \
41135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41136 $(NORMAL_TARGET_EXPORTS) \
41137 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
41138 for flag in $(EXTRA_TARGET_FLAGS); do \
41139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41140 done; \
41141 (cd $(TARGET_SUBDIR)/winsup && \
41142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41144 "RANLIB=$${RANLIB}" \
41145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41146 distclean) \
41147 || exit 1
41149 @endif target-winsup
41151 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
41152 maybe-maintainer-clean-target-winsup:
41153 @if target-winsup
41154 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
41156 maintainer-clean-target-winsup:
41157 @: $(MAKE); $(unstage)
41158 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
41159 r=`${PWD_COMMAND}`; export r; \
41160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41161 $(NORMAL_TARGET_EXPORTS) \
41162 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
41163 for flag in $(EXTRA_TARGET_FLAGS); do \
41164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41165 done; \
41166 (cd $(TARGET_SUBDIR)/winsup && \
41167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41169 "RANLIB=$${RANLIB}" \
41170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41171 maintainer-clean) \
41172 || exit 1
41174 @endif target-winsup
41180 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
41181 maybe-configure-target-libgloss:
41182 @if gcc-bootstrap
41183 configure-target-libgloss: stage_current
41184 @endif gcc-bootstrap
41185 @if target-libgloss
41186 maybe-configure-target-libgloss: configure-target-libgloss
41187 configure-target-libgloss:
41188 @: $(MAKE); $(unstage)
41189 @r=`${PWD_COMMAND}`; export r; \
41190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41191 echo "Checking multilib configuration for libgloss..."; \
41192 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
41193 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgloss/multilib.tmp 2> /dev/null ; \
41194 if test -r $(TARGET_SUBDIR)/libgloss/multilib.out; then \
41195 if cmp -s $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; then \
41196 rm -f $(TARGET_SUBDIR)/libgloss/multilib.tmp; \
41197 else \
41198 rm -f $(TARGET_SUBDIR)/libgloss/Makefile; \
41199 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
41200 fi; \
41201 else \
41202 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
41203 fi; \
41204 test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
41205 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
41206 $(NORMAL_TARGET_EXPORTS) \
41207 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
41208 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
41209 case $(srcdir) in \
41210 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41211 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
41212 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41213 esac; \
41214 module_srcdir=libgloss; \
41215 rm -f no-such-file || : ; \
41216 CONFIG_SITE=no-such-file $(SHELL) \
41217 $$s/$$module_srcdir/configure \
41218 --srcdir=$${topdir}/$$module_srcdir \
41219 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41220 --target=${target_alias} \
41221 || exit 1
41222 @endif target-libgloss
41228 .PHONY: all-target-libgloss maybe-all-target-libgloss
41229 maybe-all-target-libgloss:
41230 @if gcc-bootstrap
41231 all-target-libgloss: stage_current
41232 @endif gcc-bootstrap
41233 @if target-libgloss
41234 TARGET-target-libgloss=all
41235 maybe-all-target-libgloss: all-target-libgloss
41236 all-target-libgloss: configure-target-libgloss
41237 @: $(MAKE); $(unstage)
41238 @r=`${PWD_COMMAND}`; export r; \
41239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41240 $(NORMAL_TARGET_EXPORTS) \
41241 (cd $(TARGET_SUBDIR)/libgloss && \
41242 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
41243 $(TARGET-target-libgloss))
41244 @endif target-libgloss
41250 .PHONY: check-target-libgloss maybe-check-target-libgloss
41251 maybe-check-target-libgloss:
41252 @if target-libgloss
41253 maybe-check-target-libgloss: check-target-libgloss
41255 # Dummy target for uncheckable module.
41256 check-target-libgloss:
41258 @endif target-libgloss
41260 .PHONY: install-target-libgloss maybe-install-target-libgloss
41261 maybe-install-target-libgloss:
41262 @if target-libgloss
41263 maybe-install-target-libgloss: install-target-libgloss
41265 install-target-libgloss: installdirs
41266 @: $(MAKE); $(unstage)
41267 @r=`${PWD_COMMAND}`; export r; \
41268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41269 $(NORMAL_TARGET_EXPORTS) \
41270 (cd $(TARGET_SUBDIR)/libgloss && \
41271 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
41273 @endif target-libgloss
41275 .PHONY: install-strip-target-libgloss maybe-install-strip-target-libgloss
41276 maybe-install-strip-target-libgloss:
41277 @if target-libgloss
41278 maybe-install-strip-target-libgloss: install-strip-target-libgloss
41280 install-strip-target-libgloss: installdirs
41281 @: $(MAKE); $(unstage)
41282 @r=`${PWD_COMMAND}`; export r; \
41283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41284 $(NORMAL_TARGET_EXPORTS) \
41285 (cd $(TARGET_SUBDIR)/libgloss && \
41286 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
41288 @endif target-libgloss
41290 # Other targets (info, dvi, pdf, etc.)
41292 .PHONY: maybe-info-target-libgloss info-target-libgloss
41293 maybe-info-target-libgloss:
41294 @if target-libgloss
41295 maybe-info-target-libgloss: info-target-libgloss
41297 info-target-libgloss: \
41298 configure-target-libgloss
41299 @: $(MAKE); $(unstage)
41300 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
41301 r=`${PWD_COMMAND}`; export r; \
41302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41303 $(NORMAL_TARGET_EXPORTS) \
41304 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
41305 for flag in $(EXTRA_TARGET_FLAGS); do \
41306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41307 done; \
41308 (cd $(TARGET_SUBDIR)/libgloss && \
41309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41311 "RANLIB=$${RANLIB}" \
41312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41313 info) \
41314 || exit 1
41316 @endif target-libgloss
41318 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
41319 maybe-dvi-target-libgloss:
41320 @if target-libgloss
41321 maybe-dvi-target-libgloss: dvi-target-libgloss
41323 dvi-target-libgloss: \
41324 configure-target-libgloss
41325 @: $(MAKE); $(unstage)
41326 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
41327 r=`${PWD_COMMAND}`; export r; \
41328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41329 $(NORMAL_TARGET_EXPORTS) \
41330 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
41331 for flag in $(EXTRA_TARGET_FLAGS); do \
41332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41333 done; \
41334 (cd $(TARGET_SUBDIR)/libgloss && \
41335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41337 "RANLIB=$${RANLIB}" \
41338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41339 dvi) \
41340 || exit 1
41342 @endif target-libgloss
41344 .PHONY: maybe-pdf-target-libgloss pdf-target-libgloss
41345 maybe-pdf-target-libgloss:
41346 @if target-libgloss
41347 maybe-pdf-target-libgloss: pdf-target-libgloss
41349 pdf-target-libgloss: \
41350 configure-target-libgloss
41351 @: $(MAKE); $(unstage)
41352 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
41353 r=`${PWD_COMMAND}`; export r; \
41354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41355 $(NORMAL_TARGET_EXPORTS) \
41356 echo "Doing pdf in $(TARGET_SUBDIR)/libgloss" ; \
41357 for flag in $(EXTRA_TARGET_FLAGS); do \
41358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41359 done; \
41360 (cd $(TARGET_SUBDIR)/libgloss && \
41361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41363 "RANLIB=$${RANLIB}" \
41364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41365 pdf) \
41366 || exit 1
41368 @endif target-libgloss
41370 .PHONY: maybe-html-target-libgloss html-target-libgloss
41371 maybe-html-target-libgloss:
41372 @if target-libgloss
41373 maybe-html-target-libgloss: html-target-libgloss
41375 html-target-libgloss: \
41376 configure-target-libgloss
41377 @: $(MAKE); $(unstage)
41378 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
41379 r=`${PWD_COMMAND}`; export r; \
41380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41381 $(NORMAL_TARGET_EXPORTS) \
41382 echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \
41383 for flag in $(EXTRA_TARGET_FLAGS); do \
41384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41385 done; \
41386 (cd $(TARGET_SUBDIR)/libgloss && \
41387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41389 "RANLIB=$${RANLIB}" \
41390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41391 html) \
41392 || exit 1
41394 @endif target-libgloss
41396 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
41397 maybe-TAGS-target-libgloss:
41398 @if target-libgloss
41399 maybe-TAGS-target-libgloss: TAGS-target-libgloss
41401 TAGS-target-libgloss: \
41402 configure-target-libgloss
41403 @: $(MAKE); $(unstage)
41404 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
41405 r=`${PWD_COMMAND}`; export r; \
41406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41407 $(NORMAL_TARGET_EXPORTS) \
41408 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
41409 for flag in $(EXTRA_TARGET_FLAGS); do \
41410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41411 done; \
41412 (cd $(TARGET_SUBDIR)/libgloss && \
41413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41415 "RANLIB=$${RANLIB}" \
41416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41417 TAGS) \
41418 || exit 1
41420 @endif target-libgloss
41422 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
41423 maybe-install-info-target-libgloss:
41424 @if target-libgloss
41425 maybe-install-info-target-libgloss: install-info-target-libgloss
41427 install-info-target-libgloss: \
41428 configure-target-libgloss \
41429 info-target-libgloss
41430 @: $(MAKE); $(unstage)
41431 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
41432 r=`${PWD_COMMAND}`; export r; \
41433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41434 $(NORMAL_TARGET_EXPORTS) \
41435 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
41436 for flag in $(EXTRA_TARGET_FLAGS); do \
41437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41438 done; \
41439 (cd $(TARGET_SUBDIR)/libgloss && \
41440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41442 "RANLIB=$${RANLIB}" \
41443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41444 install-info) \
41445 || exit 1
41447 @endif target-libgloss
41449 .PHONY: maybe-install-pdf-target-libgloss install-pdf-target-libgloss
41450 maybe-install-pdf-target-libgloss:
41451 @if target-libgloss
41452 maybe-install-pdf-target-libgloss: install-pdf-target-libgloss
41454 install-pdf-target-libgloss: \
41455 configure-target-libgloss \
41456 pdf-target-libgloss
41457 @: $(MAKE); $(unstage)
41458 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
41459 r=`${PWD_COMMAND}`; export r; \
41460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41461 $(NORMAL_TARGET_EXPORTS) \
41462 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgloss" ; \
41463 for flag in $(EXTRA_TARGET_FLAGS); do \
41464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41465 done; \
41466 (cd $(TARGET_SUBDIR)/libgloss && \
41467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41469 "RANLIB=$${RANLIB}" \
41470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41471 install-pdf) \
41472 || exit 1
41474 @endif target-libgloss
41476 .PHONY: maybe-install-html-target-libgloss install-html-target-libgloss
41477 maybe-install-html-target-libgloss:
41478 @if target-libgloss
41479 maybe-install-html-target-libgloss: install-html-target-libgloss
41481 install-html-target-libgloss: \
41482 configure-target-libgloss \
41483 html-target-libgloss
41484 @: $(MAKE); $(unstage)
41485 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
41486 r=`${PWD_COMMAND}`; export r; \
41487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41488 $(NORMAL_TARGET_EXPORTS) \
41489 echo "Doing install-html in $(TARGET_SUBDIR)/libgloss" ; \
41490 for flag in $(EXTRA_TARGET_FLAGS); do \
41491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41492 done; \
41493 (cd $(TARGET_SUBDIR)/libgloss && \
41494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41496 "RANLIB=$${RANLIB}" \
41497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41498 install-html) \
41499 || exit 1
41501 @endif target-libgloss
41503 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
41504 maybe-installcheck-target-libgloss:
41505 @if target-libgloss
41506 maybe-installcheck-target-libgloss: installcheck-target-libgloss
41508 installcheck-target-libgloss: \
41509 configure-target-libgloss
41510 @: $(MAKE); $(unstage)
41511 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
41512 r=`${PWD_COMMAND}`; export r; \
41513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41514 $(NORMAL_TARGET_EXPORTS) \
41515 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
41516 for flag in $(EXTRA_TARGET_FLAGS); do \
41517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41518 done; \
41519 (cd $(TARGET_SUBDIR)/libgloss && \
41520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41522 "RANLIB=$${RANLIB}" \
41523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41524 installcheck) \
41525 || exit 1
41527 @endif target-libgloss
41529 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
41530 maybe-mostlyclean-target-libgloss:
41531 @if target-libgloss
41532 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
41534 mostlyclean-target-libgloss:
41535 @: $(MAKE); $(unstage)
41536 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
41537 r=`${PWD_COMMAND}`; export r; \
41538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41539 $(NORMAL_TARGET_EXPORTS) \
41540 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
41541 for flag in $(EXTRA_TARGET_FLAGS); do \
41542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41543 done; \
41544 (cd $(TARGET_SUBDIR)/libgloss && \
41545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41547 "RANLIB=$${RANLIB}" \
41548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41549 mostlyclean) \
41550 || exit 1
41552 @endif target-libgloss
41554 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
41555 maybe-clean-target-libgloss:
41556 @if target-libgloss
41557 maybe-clean-target-libgloss: clean-target-libgloss
41559 clean-target-libgloss:
41560 @: $(MAKE); $(unstage)
41561 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
41562 r=`${PWD_COMMAND}`; export r; \
41563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41564 $(NORMAL_TARGET_EXPORTS) \
41565 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
41566 for flag in $(EXTRA_TARGET_FLAGS); do \
41567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41568 done; \
41569 (cd $(TARGET_SUBDIR)/libgloss && \
41570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41572 "RANLIB=$${RANLIB}" \
41573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41574 clean) \
41575 || exit 1
41577 @endif target-libgloss
41579 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
41580 maybe-distclean-target-libgloss:
41581 @if target-libgloss
41582 maybe-distclean-target-libgloss: distclean-target-libgloss
41584 distclean-target-libgloss:
41585 @: $(MAKE); $(unstage)
41586 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
41587 r=`${PWD_COMMAND}`; export r; \
41588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41589 $(NORMAL_TARGET_EXPORTS) \
41590 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
41591 for flag in $(EXTRA_TARGET_FLAGS); do \
41592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41593 done; \
41594 (cd $(TARGET_SUBDIR)/libgloss && \
41595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41597 "RANLIB=$${RANLIB}" \
41598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41599 distclean) \
41600 || exit 1
41602 @endif target-libgloss
41604 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
41605 maybe-maintainer-clean-target-libgloss:
41606 @if target-libgloss
41607 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
41609 maintainer-clean-target-libgloss:
41610 @: $(MAKE); $(unstage)
41611 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
41612 r=`${PWD_COMMAND}`; export r; \
41613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41614 $(NORMAL_TARGET_EXPORTS) \
41615 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
41616 for flag in $(EXTRA_TARGET_FLAGS); do \
41617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41618 done; \
41619 (cd $(TARGET_SUBDIR)/libgloss && \
41620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41622 "RANLIB=$${RANLIB}" \
41623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41624 maintainer-clean) \
41625 || exit 1
41627 @endif target-libgloss
41633 .PHONY: configure-target-libffi maybe-configure-target-libffi
41634 maybe-configure-target-libffi:
41635 @if gcc-bootstrap
41636 configure-target-libffi: stage_current
41637 @endif gcc-bootstrap
41638 @if target-libffi
41639 maybe-configure-target-libffi: configure-target-libffi
41640 configure-target-libffi:
41641 @: $(MAKE); $(unstage)
41642 @r=`${PWD_COMMAND}`; export r; \
41643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41644 echo "Checking multilib configuration for libffi..."; \
41645 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
41646 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libffi/multilib.tmp 2> /dev/null ; \
41647 if test -r $(TARGET_SUBDIR)/libffi/multilib.out; then \
41648 if cmp -s $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; then \
41649 rm -f $(TARGET_SUBDIR)/libffi/multilib.tmp; \
41650 else \
41651 rm -f $(TARGET_SUBDIR)/libffi/Makefile; \
41652 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
41653 fi; \
41654 else \
41655 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
41656 fi; \
41657 test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
41658 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
41659 $(NORMAL_TARGET_EXPORTS) \
41660 echo Configuring in $(TARGET_SUBDIR)/libffi; \
41661 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
41662 case $(srcdir) in \
41663 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
41664 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
41665 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
41666 esac; \
41667 module_srcdir=libffi; \
41668 rm -f no-such-file || : ; \
41669 CONFIG_SITE=no-such-file $(SHELL) \
41670 $$s/$$module_srcdir/configure \
41671 --srcdir=$${topdir}/$$module_srcdir \
41672 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
41673 --target=${target_alias} \
41674 || exit 1
41675 @endif target-libffi
41681 .PHONY: all-target-libffi maybe-all-target-libffi
41682 maybe-all-target-libffi:
41683 @if gcc-bootstrap
41684 all-target-libffi: stage_current
41685 @endif gcc-bootstrap
41686 @if target-libffi
41687 TARGET-target-libffi=all
41688 maybe-all-target-libffi: all-target-libffi
41689 all-target-libffi: configure-target-libffi
41690 @: $(MAKE); $(unstage)
41691 @r=`${PWD_COMMAND}`; export r; \
41692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41693 $(NORMAL_TARGET_EXPORTS) \
41694 (cd $(TARGET_SUBDIR)/libffi && \
41695 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
41696 $(TARGET-target-libffi))
41697 @endif target-libffi
41703 .PHONY: check-target-libffi maybe-check-target-libffi
41704 maybe-check-target-libffi:
41705 @if target-libffi
41706 maybe-check-target-libffi: check-target-libffi
41708 check-target-libffi:
41709 @: $(MAKE); $(unstage)
41710 @r=`${PWD_COMMAND}`; export r; \
41711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41712 $(NORMAL_TARGET_EXPORTS) \
41713 (cd $(TARGET_SUBDIR)/libffi && \
41714 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
41716 @endif target-libffi
41718 .PHONY: install-target-libffi maybe-install-target-libffi
41719 maybe-install-target-libffi:
41720 @if target-libffi
41721 maybe-install-target-libffi: install-target-libffi
41723 # Dummy target for uninstallable.
41724 install-target-libffi:
41726 @endif target-libffi
41728 .PHONY: install-strip-target-libffi maybe-install-strip-target-libffi
41729 maybe-install-strip-target-libffi:
41730 @if target-libffi
41731 maybe-install-strip-target-libffi: install-strip-target-libffi
41733 # Dummy target for uninstallable.
41734 install-strip-target-libffi:
41736 @endif target-libffi
41738 # Other targets (info, dvi, pdf, etc.)
41740 .PHONY: maybe-info-target-libffi info-target-libffi
41741 maybe-info-target-libffi:
41742 @if target-libffi
41743 maybe-info-target-libffi: info-target-libffi
41745 info-target-libffi: \
41746 configure-target-libffi
41747 @: $(MAKE); $(unstage)
41748 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41749 r=`${PWD_COMMAND}`; export r; \
41750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41751 $(NORMAL_TARGET_EXPORTS) \
41752 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
41753 for flag in $(EXTRA_TARGET_FLAGS); do \
41754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41755 done; \
41756 (cd $(TARGET_SUBDIR)/libffi && \
41757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41759 "RANLIB=$${RANLIB}" \
41760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41761 info) \
41762 || exit 1
41764 @endif target-libffi
41766 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
41767 maybe-dvi-target-libffi:
41768 @if target-libffi
41769 maybe-dvi-target-libffi: dvi-target-libffi
41771 dvi-target-libffi: \
41772 configure-target-libffi
41773 @: $(MAKE); $(unstage)
41774 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41775 r=`${PWD_COMMAND}`; export r; \
41776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41777 $(NORMAL_TARGET_EXPORTS) \
41778 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
41779 for flag in $(EXTRA_TARGET_FLAGS); do \
41780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41781 done; \
41782 (cd $(TARGET_SUBDIR)/libffi && \
41783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41785 "RANLIB=$${RANLIB}" \
41786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41787 dvi) \
41788 || exit 1
41790 @endif target-libffi
41792 .PHONY: maybe-pdf-target-libffi pdf-target-libffi
41793 maybe-pdf-target-libffi:
41794 @if target-libffi
41795 maybe-pdf-target-libffi: pdf-target-libffi
41797 pdf-target-libffi: \
41798 configure-target-libffi
41799 @: $(MAKE); $(unstage)
41800 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41801 r=`${PWD_COMMAND}`; export r; \
41802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41803 $(NORMAL_TARGET_EXPORTS) \
41804 echo "Doing pdf in $(TARGET_SUBDIR)/libffi" ; \
41805 for flag in $(EXTRA_TARGET_FLAGS); do \
41806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41807 done; \
41808 (cd $(TARGET_SUBDIR)/libffi && \
41809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41811 "RANLIB=$${RANLIB}" \
41812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41813 pdf) \
41814 || exit 1
41816 @endif target-libffi
41818 .PHONY: maybe-html-target-libffi html-target-libffi
41819 maybe-html-target-libffi:
41820 @if target-libffi
41821 maybe-html-target-libffi: html-target-libffi
41823 html-target-libffi: \
41824 configure-target-libffi
41825 @: $(MAKE); $(unstage)
41826 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41827 r=`${PWD_COMMAND}`; export r; \
41828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41829 $(NORMAL_TARGET_EXPORTS) \
41830 echo "Doing html in $(TARGET_SUBDIR)/libffi" ; \
41831 for flag in $(EXTRA_TARGET_FLAGS); do \
41832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41833 done; \
41834 (cd $(TARGET_SUBDIR)/libffi && \
41835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41837 "RANLIB=$${RANLIB}" \
41838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41839 html) \
41840 || exit 1
41842 @endif target-libffi
41844 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
41845 maybe-TAGS-target-libffi:
41846 @if target-libffi
41847 maybe-TAGS-target-libffi: TAGS-target-libffi
41849 TAGS-target-libffi: \
41850 configure-target-libffi
41851 @: $(MAKE); $(unstage)
41852 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41853 r=`${PWD_COMMAND}`; export r; \
41854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41855 $(NORMAL_TARGET_EXPORTS) \
41856 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
41857 for flag in $(EXTRA_TARGET_FLAGS); do \
41858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41859 done; \
41860 (cd $(TARGET_SUBDIR)/libffi && \
41861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41863 "RANLIB=$${RANLIB}" \
41864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41865 TAGS) \
41866 || exit 1
41868 @endif target-libffi
41870 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
41871 maybe-install-info-target-libffi:
41872 @if target-libffi
41873 maybe-install-info-target-libffi: install-info-target-libffi
41875 install-info-target-libffi: \
41876 configure-target-libffi \
41877 info-target-libffi
41878 @: $(MAKE); $(unstage)
41879 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41880 r=`${PWD_COMMAND}`; export r; \
41881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41882 $(NORMAL_TARGET_EXPORTS) \
41883 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
41884 for flag in $(EXTRA_TARGET_FLAGS); do \
41885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41886 done; \
41887 (cd $(TARGET_SUBDIR)/libffi && \
41888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41890 "RANLIB=$${RANLIB}" \
41891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41892 install-info) \
41893 || exit 1
41895 @endif target-libffi
41897 .PHONY: maybe-install-pdf-target-libffi install-pdf-target-libffi
41898 maybe-install-pdf-target-libffi:
41899 @if target-libffi
41900 maybe-install-pdf-target-libffi: install-pdf-target-libffi
41902 install-pdf-target-libffi: \
41903 configure-target-libffi \
41904 pdf-target-libffi
41905 @: $(MAKE); $(unstage)
41906 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41907 r=`${PWD_COMMAND}`; export r; \
41908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41909 $(NORMAL_TARGET_EXPORTS) \
41910 echo "Doing install-pdf in $(TARGET_SUBDIR)/libffi" ; \
41911 for flag in $(EXTRA_TARGET_FLAGS); do \
41912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41913 done; \
41914 (cd $(TARGET_SUBDIR)/libffi && \
41915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41917 "RANLIB=$${RANLIB}" \
41918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41919 install-pdf) \
41920 || exit 1
41922 @endif target-libffi
41924 .PHONY: maybe-install-html-target-libffi install-html-target-libffi
41925 maybe-install-html-target-libffi:
41926 @if target-libffi
41927 maybe-install-html-target-libffi: install-html-target-libffi
41929 install-html-target-libffi: \
41930 configure-target-libffi \
41931 html-target-libffi
41932 @: $(MAKE); $(unstage)
41933 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41934 r=`${PWD_COMMAND}`; export r; \
41935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41936 $(NORMAL_TARGET_EXPORTS) \
41937 echo "Doing install-html in $(TARGET_SUBDIR)/libffi" ; \
41938 for flag in $(EXTRA_TARGET_FLAGS); do \
41939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41940 done; \
41941 (cd $(TARGET_SUBDIR)/libffi && \
41942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41944 "RANLIB=$${RANLIB}" \
41945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41946 install-html) \
41947 || exit 1
41949 @endif target-libffi
41951 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
41952 maybe-installcheck-target-libffi:
41953 @if target-libffi
41954 maybe-installcheck-target-libffi: installcheck-target-libffi
41956 installcheck-target-libffi: \
41957 configure-target-libffi
41958 @: $(MAKE); $(unstage)
41959 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41960 r=`${PWD_COMMAND}`; export r; \
41961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41962 $(NORMAL_TARGET_EXPORTS) \
41963 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
41964 for flag in $(EXTRA_TARGET_FLAGS); do \
41965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41966 done; \
41967 (cd $(TARGET_SUBDIR)/libffi && \
41968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41970 "RANLIB=$${RANLIB}" \
41971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41972 installcheck) \
41973 || exit 1
41975 @endif target-libffi
41977 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
41978 maybe-mostlyclean-target-libffi:
41979 @if target-libffi
41980 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
41982 mostlyclean-target-libffi:
41983 @: $(MAKE); $(unstage)
41984 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
41985 r=`${PWD_COMMAND}`; export r; \
41986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
41987 $(NORMAL_TARGET_EXPORTS) \
41988 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
41989 for flag in $(EXTRA_TARGET_FLAGS); do \
41990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
41991 done; \
41992 (cd $(TARGET_SUBDIR)/libffi && \
41993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
41994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
41995 "RANLIB=$${RANLIB}" \
41996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
41997 mostlyclean) \
41998 || exit 1
42000 @endif target-libffi
42002 .PHONY: maybe-clean-target-libffi clean-target-libffi
42003 maybe-clean-target-libffi:
42004 @if target-libffi
42005 maybe-clean-target-libffi: clean-target-libffi
42007 clean-target-libffi:
42008 @: $(MAKE); $(unstage)
42009 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
42010 r=`${PWD_COMMAND}`; export r; \
42011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42012 $(NORMAL_TARGET_EXPORTS) \
42013 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
42014 for flag in $(EXTRA_TARGET_FLAGS); do \
42015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42016 done; \
42017 (cd $(TARGET_SUBDIR)/libffi && \
42018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42020 "RANLIB=$${RANLIB}" \
42021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42022 clean) \
42023 || exit 1
42025 @endif target-libffi
42027 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
42028 maybe-distclean-target-libffi:
42029 @if target-libffi
42030 maybe-distclean-target-libffi: distclean-target-libffi
42032 distclean-target-libffi:
42033 @: $(MAKE); $(unstage)
42034 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
42035 r=`${PWD_COMMAND}`; export r; \
42036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42037 $(NORMAL_TARGET_EXPORTS) \
42038 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
42039 for flag in $(EXTRA_TARGET_FLAGS); do \
42040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42041 done; \
42042 (cd $(TARGET_SUBDIR)/libffi && \
42043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42045 "RANLIB=$${RANLIB}" \
42046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42047 distclean) \
42048 || exit 1
42050 @endif target-libffi
42052 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
42053 maybe-maintainer-clean-target-libffi:
42054 @if target-libffi
42055 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
42057 maintainer-clean-target-libffi:
42058 @: $(MAKE); $(unstage)
42059 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
42060 r=`${PWD_COMMAND}`; export r; \
42061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42062 $(NORMAL_TARGET_EXPORTS) \
42063 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
42064 for flag in $(EXTRA_TARGET_FLAGS); do \
42065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42066 done; \
42067 (cd $(TARGET_SUBDIR)/libffi && \
42068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42070 "RANLIB=$${RANLIB}" \
42071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42072 maintainer-clean) \
42073 || exit 1
42075 @endif target-libffi
42081 .PHONY: configure-target-libjava maybe-configure-target-libjava
42082 maybe-configure-target-libjava:
42083 @if gcc-bootstrap
42084 configure-target-libjava: stage_current
42085 @endif gcc-bootstrap
42086 @if target-libjava
42087 maybe-configure-target-libjava: configure-target-libjava
42088 configure-target-libjava:
42089 @: $(MAKE); $(unstage)
42090 @r=`${PWD_COMMAND}`; export r; \
42091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42092 echo "Checking multilib configuration for libjava..."; \
42093 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
42094 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libjava/multilib.tmp 2> /dev/null ; \
42095 if test -r $(TARGET_SUBDIR)/libjava/multilib.out; then \
42096 if cmp -s $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; then \
42097 rm -f $(TARGET_SUBDIR)/libjava/multilib.tmp; \
42098 else \
42099 rm -f $(TARGET_SUBDIR)/libjava/Makefile; \
42100 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
42101 fi; \
42102 else \
42103 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
42104 fi; \
42105 test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
42106 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
42107 $(RAW_CXX_TARGET_EXPORTS) \
42108 echo Configuring in $(TARGET_SUBDIR)/libjava; \
42109 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
42110 case $(srcdir) in \
42111 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42112 *) topdir=`echo $(TARGET_SUBDIR)/libjava/ | \
42113 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42114 esac; \
42115 module_srcdir=libjava; \
42116 rm -f no-such-file || : ; \
42117 CONFIG_SITE=no-such-file $(SHELL) \
42118 $$s/$$module_srcdir/configure \
42119 --srcdir=$${topdir}/$$module_srcdir \
42120 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42121 --target=${target_alias} $(EXTRA_CONFIGARGS_LIBJAVA) \
42122 || exit 1
42123 @endif target-libjava
42129 .PHONY: all-target-libjava maybe-all-target-libjava
42130 maybe-all-target-libjava:
42131 @if gcc-bootstrap
42132 all-target-libjava: stage_current
42133 @endif gcc-bootstrap
42134 @if target-libjava
42135 TARGET-target-libjava=all
42136 maybe-all-target-libjava: all-target-libjava
42137 all-target-libjava: configure-target-libjava
42138 @: $(MAKE); $(unstage)
42139 @r=`${PWD_COMMAND}`; export r; \
42140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42141 $(RAW_CXX_TARGET_EXPORTS) \
42142 (cd $(TARGET_SUBDIR)/libjava && \
42143 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
42144 $(TARGET-target-libjava))
42145 @endif target-libjava
42151 .PHONY: check-target-libjava maybe-check-target-libjava
42152 maybe-check-target-libjava:
42153 @if target-libjava
42154 maybe-check-target-libjava: check-target-libjava
42156 check-target-libjava:
42157 @: $(MAKE); $(unstage)
42158 @r=`${PWD_COMMAND}`; export r; \
42159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42160 $(RAW_CXX_TARGET_EXPORTS) \
42161 (cd $(TARGET_SUBDIR)/libjava && \
42162 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
42164 @endif target-libjava
42166 .PHONY: install-target-libjava maybe-install-target-libjava
42167 maybe-install-target-libjava:
42168 @if target-libjava
42169 maybe-install-target-libjava: install-target-libjava
42171 install-target-libjava: installdirs
42172 @: $(MAKE); $(unstage)
42173 @r=`${PWD_COMMAND}`; export r; \
42174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42175 $(RAW_CXX_TARGET_EXPORTS) \
42176 (cd $(TARGET_SUBDIR)/libjava && \
42177 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
42179 @endif target-libjava
42181 .PHONY: install-strip-target-libjava maybe-install-strip-target-libjava
42182 maybe-install-strip-target-libjava:
42183 @if target-libjava
42184 maybe-install-strip-target-libjava: install-strip-target-libjava
42186 install-strip-target-libjava: installdirs
42187 @: $(MAKE); $(unstage)
42188 @r=`${PWD_COMMAND}`; export r; \
42189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42190 $(RAW_CXX_TARGET_EXPORTS) \
42191 (cd $(TARGET_SUBDIR)/libjava && \
42192 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
42194 @endif target-libjava
42196 # Other targets (info, dvi, pdf, etc.)
42198 .PHONY: maybe-info-target-libjava info-target-libjava
42199 maybe-info-target-libjava:
42200 @if target-libjava
42201 maybe-info-target-libjava: info-target-libjava
42203 info-target-libjava: \
42204 configure-target-libjava
42205 @: $(MAKE); $(unstage)
42206 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
42207 r=`${PWD_COMMAND}`; export r; \
42208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42209 $(RAW_CXX_TARGET_EXPORTS) \
42210 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
42211 for flag in $(EXTRA_TARGET_FLAGS); do \
42212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42213 done; \
42214 (cd $(TARGET_SUBDIR)/libjava && \
42215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42217 "RANLIB=$${RANLIB}" \
42218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42219 info) \
42220 || exit 1
42222 @endif target-libjava
42224 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
42225 maybe-dvi-target-libjava:
42226 @if target-libjava
42227 maybe-dvi-target-libjava: dvi-target-libjava
42229 dvi-target-libjava: \
42230 configure-target-libjava
42231 @: $(MAKE); $(unstage)
42232 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
42233 r=`${PWD_COMMAND}`; export r; \
42234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42235 $(RAW_CXX_TARGET_EXPORTS) \
42236 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
42237 for flag in $(EXTRA_TARGET_FLAGS); do \
42238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42239 done; \
42240 (cd $(TARGET_SUBDIR)/libjava && \
42241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42243 "RANLIB=$${RANLIB}" \
42244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42245 dvi) \
42246 || exit 1
42248 @endif target-libjava
42250 .PHONY: maybe-pdf-target-libjava pdf-target-libjava
42251 maybe-pdf-target-libjava:
42252 @if target-libjava
42253 maybe-pdf-target-libjava: pdf-target-libjava
42255 pdf-target-libjava: \
42256 configure-target-libjava
42257 @: $(MAKE); $(unstage)
42258 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
42259 r=`${PWD_COMMAND}`; export r; \
42260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42261 $(RAW_CXX_TARGET_EXPORTS) \
42262 echo "Doing pdf in $(TARGET_SUBDIR)/libjava" ; \
42263 for flag in $(EXTRA_TARGET_FLAGS); do \
42264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42265 done; \
42266 (cd $(TARGET_SUBDIR)/libjava && \
42267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42269 "RANLIB=$${RANLIB}" \
42270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42271 pdf) \
42272 || exit 1
42274 @endif target-libjava
42276 .PHONY: maybe-html-target-libjava html-target-libjava
42277 maybe-html-target-libjava:
42278 @if target-libjava
42279 maybe-html-target-libjava: html-target-libjava
42281 html-target-libjava: \
42282 configure-target-libjava
42283 @: $(MAKE); $(unstage)
42284 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
42285 r=`${PWD_COMMAND}`; export r; \
42286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42287 $(RAW_CXX_TARGET_EXPORTS) \
42288 echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \
42289 for flag in $(EXTRA_TARGET_FLAGS); do \
42290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42291 done; \
42292 (cd $(TARGET_SUBDIR)/libjava && \
42293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42295 "RANLIB=$${RANLIB}" \
42296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42297 html) \
42298 || exit 1
42300 @endif target-libjava
42302 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
42303 maybe-TAGS-target-libjava:
42304 @if target-libjava
42305 maybe-TAGS-target-libjava: TAGS-target-libjava
42307 TAGS-target-libjava: \
42308 configure-target-libjava
42309 @: $(MAKE); $(unstage)
42310 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
42311 r=`${PWD_COMMAND}`; export r; \
42312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42313 $(RAW_CXX_TARGET_EXPORTS) \
42314 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
42315 for flag in $(EXTRA_TARGET_FLAGS); do \
42316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42317 done; \
42318 (cd $(TARGET_SUBDIR)/libjava && \
42319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42321 "RANLIB=$${RANLIB}" \
42322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42323 TAGS) \
42324 || exit 1
42326 @endif target-libjava
42328 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
42329 maybe-install-info-target-libjava:
42330 @if target-libjava
42331 maybe-install-info-target-libjava: install-info-target-libjava
42333 install-info-target-libjava: \
42334 configure-target-libjava \
42335 info-target-libjava
42336 @: $(MAKE); $(unstage)
42337 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
42338 r=`${PWD_COMMAND}`; export r; \
42339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42340 $(RAW_CXX_TARGET_EXPORTS) \
42341 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
42342 for flag in $(EXTRA_TARGET_FLAGS); do \
42343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42344 done; \
42345 (cd $(TARGET_SUBDIR)/libjava && \
42346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42348 "RANLIB=$${RANLIB}" \
42349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42350 install-info) \
42351 || exit 1
42353 @endif target-libjava
42355 .PHONY: maybe-install-pdf-target-libjava install-pdf-target-libjava
42356 maybe-install-pdf-target-libjava:
42357 @if target-libjava
42358 maybe-install-pdf-target-libjava: install-pdf-target-libjava
42360 install-pdf-target-libjava: \
42361 configure-target-libjava \
42362 pdf-target-libjava
42363 @: $(MAKE); $(unstage)
42364 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
42365 r=`${PWD_COMMAND}`; export r; \
42366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42367 $(RAW_CXX_TARGET_EXPORTS) \
42368 echo "Doing install-pdf in $(TARGET_SUBDIR)/libjava" ; \
42369 for flag in $(EXTRA_TARGET_FLAGS); do \
42370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42371 done; \
42372 (cd $(TARGET_SUBDIR)/libjava && \
42373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42375 "RANLIB=$${RANLIB}" \
42376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42377 install-pdf) \
42378 || exit 1
42380 @endif target-libjava
42382 .PHONY: maybe-install-html-target-libjava install-html-target-libjava
42383 maybe-install-html-target-libjava:
42384 @if target-libjava
42385 maybe-install-html-target-libjava: install-html-target-libjava
42387 install-html-target-libjava: \
42388 configure-target-libjava \
42389 html-target-libjava
42390 @: $(MAKE); $(unstage)
42391 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
42392 r=`${PWD_COMMAND}`; export r; \
42393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42394 $(RAW_CXX_TARGET_EXPORTS) \
42395 echo "Doing install-html in $(TARGET_SUBDIR)/libjava" ; \
42396 for flag in $(EXTRA_TARGET_FLAGS); do \
42397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42398 done; \
42399 (cd $(TARGET_SUBDIR)/libjava && \
42400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42402 "RANLIB=$${RANLIB}" \
42403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42404 install-html) \
42405 || exit 1
42407 @endif target-libjava
42409 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
42410 maybe-installcheck-target-libjava:
42411 @if target-libjava
42412 maybe-installcheck-target-libjava: installcheck-target-libjava
42414 installcheck-target-libjava: \
42415 configure-target-libjava
42416 @: $(MAKE); $(unstage)
42417 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
42418 r=`${PWD_COMMAND}`; export r; \
42419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42420 $(RAW_CXX_TARGET_EXPORTS) \
42421 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
42422 for flag in $(EXTRA_TARGET_FLAGS); do \
42423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42424 done; \
42425 (cd $(TARGET_SUBDIR)/libjava && \
42426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42428 "RANLIB=$${RANLIB}" \
42429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42430 installcheck) \
42431 || exit 1
42433 @endif target-libjava
42435 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
42436 maybe-mostlyclean-target-libjava:
42437 @if target-libjava
42438 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
42440 mostlyclean-target-libjava:
42441 @: $(MAKE); $(unstage)
42442 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
42443 r=`${PWD_COMMAND}`; export r; \
42444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42445 $(RAW_CXX_TARGET_EXPORTS) \
42446 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
42447 for flag in $(EXTRA_TARGET_FLAGS); do \
42448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42449 done; \
42450 (cd $(TARGET_SUBDIR)/libjava && \
42451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42453 "RANLIB=$${RANLIB}" \
42454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42455 mostlyclean) \
42456 || exit 1
42458 @endif target-libjava
42460 .PHONY: maybe-clean-target-libjava clean-target-libjava
42461 maybe-clean-target-libjava:
42462 @if target-libjava
42463 maybe-clean-target-libjava: clean-target-libjava
42465 clean-target-libjava:
42466 @: $(MAKE); $(unstage)
42467 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
42468 r=`${PWD_COMMAND}`; export r; \
42469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42470 $(RAW_CXX_TARGET_EXPORTS) \
42471 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
42472 for flag in $(EXTRA_TARGET_FLAGS); do \
42473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42474 done; \
42475 (cd $(TARGET_SUBDIR)/libjava && \
42476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42478 "RANLIB=$${RANLIB}" \
42479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42480 clean) \
42481 || exit 1
42483 @endif target-libjava
42485 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
42486 maybe-distclean-target-libjava:
42487 @if target-libjava
42488 maybe-distclean-target-libjava: distclean-target-libjava
42490 distclean-target-libjava:
42491 @: $(MAKE); $(unstage)
42492 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
42493 r=`${PWD_COMMAND}`; export r; \
42494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42495 $(RAW_CXX_TARGET_EXPORTS) \
42496 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
42497 for flag in $(EXTRA_TARGET_FLAGS); do \
42498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42499 done; \
42500 (cd $(TARGET_SUBDIR)/libjava && \
42501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42503 "RANLIB=$${RANLIB}" \
42504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42505 distclean) \
42506 || exit 1
42508 @endif target-libjava
42510 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
42511 maybe-maintainer-clean-target-libjava:
42512 @if target-libjava
42513 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
42515 maintainer-clean-target-libjava:
42516 @: $(MAKE); $(unstage)
42517 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
42518 r=`${PWD_COMMAND}`; export r; \
42519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42520 $(RAW_CXX_TARGET_EXPORTS) \
42521 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
42522 for flag in $(EXTRA_TARGET_FLAGS); do \
42523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42524 done; \
42525 (cd $(TARGET_SUBDIR)/libjava && \
42526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42528 "RANLIB=$${RANLIB}" \
42529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42530 maintainer-clean) \
42531 || exit 1
42533 @endif target-libjava
42539 .PHONY: configure-target-zlib maybe-configure-target-zlib
42540 maybe-configure-target-zlib:
42541 @if gcc-bootstrap
42542 configure-target-zlib: stage_current
42543 @endif gcc-bootstrap
42544 @if target-zlib
42545 maybe-configure-target-zlib: configure-target-zlib
42546 configure-target-zlib:
42547 @: $(MAKE); $(unstage)
42548 @r=`${PWD_COMMAND}`; export r; \
42549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42550 echo "Checking multilib configuration for zlib..."; \
42551 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
42552 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null ; \
42553 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
42554 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
42555 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
42556 else \
42557 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
42558 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
42559 fi; \
42560 else \
42561 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
42562 fi; \
42563 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
42564 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
42565 $(NORMAL_TARGET_EXPORTS) \
42566 echo Configuring in $(TARGET_SUBDIR)/zlib; \
42567 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
42568 case $(srcdir) in \
42569 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
42570 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
42571 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
42572 esac; \
42573 module_srcdir=zlib; \
42574 rm -f no-such-file || : ; \
42575 CONFIG_SITE=no-such-file $(SHELL) \
42576 $$s/$$module_srcdir/configure \
42577 --srcdir=$${topdir}/$$module_srcdir \
42578 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
42579 --target=${target_alias} \
42580 || exit 1
42581 @endif target-zlib
42587 .PHONY: all-target-zlib maybe-all-target-zlib
42588 maybe-all-target-zlib:
42589 @if gcc-bootstrap
42590 all-target-zlib: stage_current
42591 @endif gcc-bootstrap
42592 @if target-zlib
42593 TARGET-target-zlib=all
42594 maybe-all-target-zlib: all-target-zlib
42595 all-target-zlib: configure-target-zlib
42596 @: $(MAKE); $(unstage)
42597 @r=`${PWD_COMMAND}`; export r; \
42598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42599 $(NORMAL_TARGET_EXPORTS) \
42600 (cd $(TARGET_SUBDIR)/zlib && \
42601 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
42602 $(TARGET-target-zlib))
42603 @endif target-zlib
42609 .PHONY: check-target-zlib maybe-check-target-zlib
42610 maybe-check-target-zlib:
42611 @if target-zlib
42612 maybe-check-target-zlib: check-target-zlib
42614 check-target-zlib:
42615 @: $(MAKE); $(unstage)
42616 @r=`${PWD_COMMAND}`; export r; \
42617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42618 $(NORMAL_TARGET_EXPORTS) \
42619 (cd $(TARGET_SUBDIR)/zlib && \
42620 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
42622 @endif target-zlib
42624 .PHONY: install-target-zlib maybe-install-target-zlib
42625 maybe-install-target-zlib:
42626 @if target-zlib
42627 maybe-install-target-zlib: install-target-zlib
42629 install-target-zlib: installdirs
42630 @: $(MAKE); $(unstage)
42631 @r=`${PWD_COMMAND}`; export r; \
42632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42633 $(NORMAL_TARGET_EXPORTS) \
42634 (cd $(TARGET_SUBDIR)/zlib && \
42635 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
42637 @endif target-zlib
42639 .PHONY: install-strip-target-zlib maybe-install-strip-target-zlib
42640 maybe-install-strip-target-zlib:
42641 @if target-zlib
42642 maybe-install-strip-target-zlib: install-strip-target-zlib
42644 install-strip-target-zlib: installdirs
42645 @: $(MAKE); $(unstage)
42646 @r=`${PWD_COMMAND}`; export r; \
42647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42648 $(NORMAL_TARGET_EXPORTS) \
42649 (cd $(TARGET_SUBDIR)/zlib && \
42650 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
42652 @endif target-zlib
42654 # Other targets (info, dvi, pdf, etc.)
42656 .PHONY: maybe-info-target-zlib info-target-zlib
42657 maybe-info-target-zlib:
42658 @if target-zlib
42659 maybe-info-target-zlib: info-target-zlib
42661 info-target-zlib: \
42662 configure-target-zlib
42663 @: $(MAKE); $(unstage)
42664 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42665 r=`${PWD_COMMAND}`; export r; \
42666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42667 $(NORMAL_TARGET_EXPORTS) \
42668 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
42669 for flag in $(EXTRA_TARGET_FLAGS); do \
42670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42671 done; \
42672 (cd $(TARGET_SUBDIR)/zlib && \
42673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42675 "RANLIB=$${RANLIB}" \
42676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42677 info) \
42678 || exit 1
42680 @endif target-zlib
42682 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
42683 maybe-dvi-target-zlib:
42684 @if target-zlib
42685 maybe-dvi-target-zlib: dvi-target-zlib
42687 dvi-target-zlib: \
42688 configure-target-zlib
42689 @: $(MAKE); $(unstage)
42690 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42691 r=`${PWD_COMMAND}`; export r; \
42692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42693 $(NORMAL_TARGET_EXPORTS) \
42694 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
42695 for flag in $(EXTRA_TARGET_FLAGS); do \
42696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42697 done; \
42698 (cd $(TARGET_SUBDIR)/zlib && \
42699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42701 "RANLIB=$${RANLIB}" \
42702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42703 dvi) \
42704 || exit 1
42706 @endif target-zlib
42708 .PHONY: maybe-pdf-target-zlib pdf-target-zlib
42709 maybe-pdf-target-zlib:
42710 @if target-zlib
42711 maybe-pdf-target-zlib: pdf-target-zlib
42713 pdf-target-zlib: \
42714 configure-target-zlib
42715 @: $(MAKE); $(unstage)
42716 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42717 r=`${PWD_COMMAND}`; export r; \
42718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42719 $(NORMAL_TARGET_EXPORTS) \
42720 echo "Doing pdf in $(TARGET_SUBDIR)/zlib" ; \
42721 for flag in $(EXTRA_TARGET_FLAGS); do \
42722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42723 done; \
42724 (cd $(TARGET_SUBDIR)/zlib && \
42725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42727 "RANLIB=$${RANLIB}" \
42728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42729 pdf) \
42730 || exit 1
42732 @endif target-zlib
42734 .PHONY: maybe-html-target-zlib html-target-zlib
42735 maybe-html-target-zlib:
42736 @if target-zlib
42737 maybe-html-target-zlib: html-target-zlib
42739 html-target-zlib: \
42740 configure-target-zlib
42741 @: $(MAKE); $(unstage)
42742 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42743 r=`${PWD_COMMAND}`; export r; \
42744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42745 $(NORMAL_TARGET_EXPORTS) \
42746 echo "Doing html in $(TARGET_SUBDIR)/zlib" ; \
42747 for flag in $(EXTRA_TARGET_FLAGS); do \
42748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42749 done; \
42750 (cd $(TARGET_SUBDIR)/zlib && \
42751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42753 "RANLIB=$${RANLIB}" \
42754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42755 html) \
42756 || exit 1
42758 @endif target-zlib
42760 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
42761 maybe-TAGS-target-zlib:
42762 @if target-zlib
42763 maybe-TAGS-target-zlib: TAGS-target-zlib
42765 TAGS-target-zlib: \
42766 configure-target-zlib
42767 @: $(MAKE); $(unstage)
42768 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42769 r=`${PWD_COMMAND}`; export r; \
42770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42771 $(NORMAL_TARGET_EXPORTS) \
42772 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
42773 for flag in $(EXTRA_TARGET_FLAGS); do \
42774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42775 done; \
42776 (cd $(TARGET_SUBDIR)/zlib && \
42777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42779 "RANLIB=$${RANLIB}" \
42780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42781 TAGS) \
42782 || exit 1
42784 @endif target-zlib
42786 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
42787 maybe-install-info-target-zlib:
42788 @if target-zlib
42789 maybe-install-info-target-zlib: install-info-target-zlib
42791 install-info-target-zlib: \
42792 configure-target-zlib \
42793 info-target-zlib
42794 @: $(MAKE); $(unstage)
42795 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42796 r=`${PWD_COMMAND}`; export r; \
42797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42798 $(NORMAL_TARGET_EXPORTS) \
42799 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
42800 for flag in $(EXTRA_TARGET_FLAGS); do \
42801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42802 done; \
42803 (cd $(TARGET_SUBDIR)/zlib && \
42804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42806 "RANLIB=$${RANLIB}" \
42807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42808 install-info) \
42809 || exit 1
42811 @endif target-zlib
42813 .PHONY: maybe-install-pdf-target-zlib install-pdf-target-zlib
42814 maybe-install-pdf-target-zlib:
42815 @if target-zlib
42816 maybe-install-pdf-target-zlib: install-pdf-target-zlib
42818 install-pdf-target-zlib: \
42819 configure-target-zlib \
42820 pdf-target-zlib
42821 @: $(MAKE); $(unstage)
42822 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42823 r=`${PWD_COMMAND}`; export r; \
42824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42825 $(NORMAL_TARGET_EXPORTS) \
42826 echo "Doing install-pdf in $(TARGET_SUBDIR)/zlib" ; \
42827 for flag in $(EXTRA_TARGET_FLAGS); do \
42828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42829 done; \
42830 (cd $(TARGET_SUBDIR)/zlib && \
42831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42833 "RANLIB=$${RANLIB}" \
42834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42835 install-pdf) \
42836 || exit 1
42838 @endif target-zlib
42840 .PHONY: maybe-install-html-target-zlib install-html-target-zlib
42841 maybe-install-html-target-zlib:
42842 @if target-zlib
42843 maybe-install-html-target-zlib: install-html-target-zlib
42845 install-html-target-zlib: \
42846 configure-target-zlib \
42847 html-target-zlib
42848 @: $(MAKE); $(unstage)
42849 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42850 r=`${PWD_COMMAND}`; export r; \
42851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42852 $(NORMAL_TARGET_EXPORTS) \
42853 echo "Doing install-html in $(TARGET_SUBDIR)/zlib" ; \
42854 for flag in $(EXTRA_TARGET_FLAGS); do \
42855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42856 done; \
42857 (cd $(TARGET_SUBDIR)/zlib && \
42858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42860 "RANLIB=$${RANLIB}" \
42861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42862 install-html) \
42863 || exit 1
42865 @endif target-zlib
42867 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
42868 maybe-installcheck-target-zlib:
42869 @if target-zlib
42870 maybe-installcheck-target-zlib: installcheck-target-zlib
42872 installcheck-target-zlib: \
42873 configure-target-zlib
42874 @: $(MAKE); $(unstage)
42875 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42876 r=`${PWD_COMMAND}`; export r; \
42877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42878 $(NORMAL_TARGET_EXPORTS) \
42879 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
42880 for flag in $(EXTRA_TARGET_FLAGS); do \
42881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42882 done; \
42883 (cd $(TARGET_SUBDIR)/zlib && \
42884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42886 "RANLIB=$${RANLIB}" \
42887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42888 installcheck) \
42889 || exit 1
42891 @endif target-zlib
42893 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
42894 maybe-mostlyclean-target-zlib:
42895 @if target-zlib
42896 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
42898 mostlyclean-target-zlib:
42899 @: $(MAKE); $(unstage)
42900 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42901 r=`${PWD_COMMAND}`; export r; \
42902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42903 $(NORMAL_TARGET_EXPORTS) \
42904 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
42905 for flag in $(EXTRA_TARGET_FLAGS); do \
42906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42907 done; \
42908 (cd $(TARGET_SUBDIR)/zlib && \
42909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42911 "RANLIB=$${RANLIB}" \
42912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42913 mostlyclean) \
42914 || exit 1
42916 @endif target-zlib
42918 .PHONY: maybe-clean-target-zlib clean-target-zlib
42919 maybe-clean-target-zlib:
42920 @if target-zlib
42921 maybe-clean-target-zlib: clean-target-zlib
42923 clean-target-zlib:
42924 @: $(MAKE); $(unstage)
42925 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42926 r=`${PWD_COMMAND}`; export r; \
42927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42928 $(NORMAL_TARGET_EXPORTS) \
42929 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
42930 for flag in $(EXTRA_TARGET_FLAGS); do \
42931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42932 done; \
42933 (cd $(TARGET_SUBDIR)/zlib && \
42934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42936 "RANLIB=$${RANLIB}" \
42937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42938 clean) \
42939 || exit 1
42941 @endif target-zlib
42943 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
42944 maybe-distclean-target-zlib:
42945 @if target-zlib
42946 maybe-distclean-target-zlib: distclean-target-zlib
42948 distclean-target-zlib:
42949 @: $(MAKE); $(unstage)
42950 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42951 r=`${PWD_COMMAND}`; export r; \
42952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42953 $(NORMAL_TARGET_EXPORTS) \
42954 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
42955 for flag in $(EXTRA_TARGET_FLAGS); do \
42956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42957 done; \
42958 (cd $(TARGET_SUBDIR)/zlib && \
42959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42961 "RANLIB=$${RANLIB}" \
42962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42963 distclean) \
42964 || exit 1
42966 @endif target-zlib
42968 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
42969 maybe-maintainer-clean-target-zlib:
42970 @if target-zlib
42971 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
42973 maintainer-clean-target-zlib:
42974 @: $(MAKE); $(unstage)
42975 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
42976 r=`${PWD_COMMAND}`; export r; \
42977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
42978 $(NORMAL_TARGET_EXPORTS) \
42979 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
42980 for flag in $(EXTRA_TARGET_FLAGS); do \
42981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
42982 done; \
42983 (cd $(TARGET_SUBDIR)/zlib && \
42984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
42985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
42986 "RANLIB=$${RANLIB}" \
42987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
42988 maintainer-clean) \
42989 || exit 1
42991 @endif target-zlib
42997 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
42998 maybe-configure-target-boehm-gc:
42999 @if gcc-bootstrap
43000 configure-target-boehm-gc: stage_current
43001 @endif gcc-bootstrap
43002 @if target-boehm-gc
43003 maybe-configure-target-boehm-gc: configure-target-boehm-gc
43004 configure-target-boehm-gc:
43005 @: $(MAKE); $(unstage)
43006 @r=`${PWD_COMMAND}`; export r; \
43007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43008 echo "Checking multilib configuration for boehm-gc..."; \
43009 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
43010 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/boehm-gc/multilib.tmp 2> /dev/null ; \
43011 if test -r $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
43012 if cmp -s $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
43013 rm -f $(TARGET_SUBDIR)/boehm-gc/multilib.tmp; \
43014 else \
43015 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile; \
43016 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
43017 fi; \
43018 else \
43019 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
43020 fi; \
43021 test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
43022 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
43023 $(NORMAL_TARGET_EXPORTS) \
43024 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
43025 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
43026 case $(srcdir) in \
43027 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43028 *) topdir=`echo $(TARGET_SUBDIR)/boehm-gc/ | \
43029 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43030 esac; \
43031 module_srcdir=boehm-gc; \
43032 rm -f no-such-file || : ; \
43033 CONFIG_SITE=no-such-file $(SHELL) \
43034 $$s/$$module_srcdir/configure \
43035 --srcdir=$${topdir}/$$module_srcdir \
43036 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43037 --target=${target_alias} \
43038 || exit 1
43039 @endif target-boehm-gc
43045 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
43046 maybe-all-target-boehm-gc:
43047 @if gcc-bootstrap
43048 all-target-boehm-gc: stage_current
43049 @endif gcc-bootstrap
43050 @if target-boehm-gc
43051 TARGET-target-boehm-gc=all
43052 maybe-all-target-boehm-gc: all-target-boehm-gc
43053 all-target-boehm-gc: configure-target-boehm-gc
43054 @: $(MAKE); $(unstage)
43055 @r=`${PWD_COMMAND}`; export r; \
43056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43057 $(NORMAL_TARGET_EXPORTS) \
43058 (cd $(TARGET_SUBDIR)/boehm-gc && \
43059 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
43060 $(TARGET-target-boehm-gc))
43061 @endif target-boehm-gc
43067 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
43068 maybe-check-target-boehm-gc:
43069 @if target-boehm-gc
43070 maybe-check-target-boehm-gc: check-target-boehm-gc
43072 check-target-boehm-gc:
43073 @: $(MAKE); $(unstage)
43074 @r=`${PWD_COMMAND}`; export r; \
43075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43076 $(NORMAL_TARGET_EXPORTS) \
43077 (cd $(TARGET_SUBDIR)/boehm-gc && \
43078 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
43080 @endif target-boehm-gc
43082 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
43083 maybe-install-target-boehm-gc:
43084 @if target-boehm-gc
43085 maybe-install-target-boehm-gc: install-target-boehm-gc
43087 install-target-boehm-gc: installdirs
43088 @: $(MAKE); $(unstage)
43089 @r=`${PWD_COMMAND}`; export r; \
43090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43091 $(NORMAL_TARGET_EXPORTS) \
43092 (cd $(TARGET_SUBDIR)/boehm-gc && \
43093 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
43095 @endif target-boehm-gc
43097 .PHONY: install-strip-target-boehm-gc maybe-install-strip-target-boehm-gc
43098 maybe-install-strip-target-boehm-gc:
43099 @if target-boehm-gc
43100 maybe-install-strip-target-boehm-gc: install-strip-target-boehm-gc
43102 install-strip-target-boehm-gc: installdirs
43103 @: $(MAKE); $(unstage)
43104 @r=`${PWD_COMMAND}`; export r; \
43105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43106 $(NORMAL_TARGET_EXPORTS) \
43107 (cd $(TARGET_SUBDIR)/boehm-gc && \
43108 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
43110 @endif target-boehm-gc
43112 # Other targets (info, dvi, pdf, etc.)
43114 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
43115 maybe-info-target-boehm-gc:
43116 @if target-boehm-gc
43117 maybe-info-target-boehm-gc: info-target-boehm-gc
43119 info-target-boehm-gc: \
43120 configure-target-boehm-gc
43121 @: $(MAKE); $(unstage)
43122 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
43123 r=`${PWD_COMMAND}`; export r; \
43124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43125 $(NORMAL_TARGET_EXPORTS) \
43126 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
43127 for flag in $(EXTRA_TARGET_FLAGS); do \
43128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43129 done; \
43130 (cd $(TARGET_SUBDIR)/boehm-gc && \
43131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43133 "RANLIB=$${RANLIB}" \
43134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43135 info) \
43136 || exit 1
43138 @endif target-boehm-gc
43140 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
43141 maybe-dvi-target-boehm-gc:
43142 @if target-boehm-gc
43143 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
43145 dvi-target-boehm-gc: \
43146 configure-target-boehm-gc
43147 @: $(MAKE); $(unstage)
43148 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
43149 r=`${PWD_COMMAND}`; export r; \
43150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43151 $(NORMAL_TARGET_EXPORTS) \
43152 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
43153 for flag in $(EXTRA_TARGET_FLAGS); do \
43154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43155 done; \
43156 (cd $(TARGET_SUBDIR)/boehm-gc && \
43157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43159 "RANLIB=$${RANLIB}" \
43160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43161 dvi) \
43162 || exit 1
43164 @endif target-boehm-gc
43166 .PHONY: maybe-pdf-target-boehm-gc pdf-target-boehm-gc
43167 maybe-pdf-target-boehm-gc:
43168 @if target-boehm-gc
43169 maybe-pdf-target-boehm-gc: pdf-target-boehm-gc
43171 pdf-target-boehm-gc: \
43172 configure-target-boehm-gc
43173 @: $(MAKE); $(unstage)
43174 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
43175 r=`${PWD_COMMAND}`; export r; \
43176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43177 $(NORMAL_TARGET_EXPORTS) \
43178 echo "Doing pdf in $(TARGET_SUBDIR)/boehm-gc" ; \
43179 for flag in $(EXTRA_TARGET_FLAGS); do \
43180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43181 done; \
43182 (cd $(TARGET_SUBDIR)/boehm-gc && \
43183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43185 "RANLIB=$${RANLIB}" \
43186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43187 pdf) \
43188 || exit 1
43190 @endif target-boehm-gc
43192 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
43193 maybe-html-target-boehm-gc:
43194 @if target-boehm-gc
43195 maybe-html-target-boehm-gc: html-target-boehm-gc
43197 html-target-boehm-gc: \
43198 configure-target-boehm-gc
43199 @: $(MAKE); $(unstage)
43200 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
43201 r=`${PWD_COMMAND}`; export r; \
43202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43203 $(NORMAL_TARGET_EXPORTS) \
43204 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
43205 for flag in $(EXTRA_TARGET_FLAGS); do \
43206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43207 done; \
43208 (cd $(TARGET_SUBDIR)/boehm-gc && \
43209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43211 "RANLIB=$${RANLIB}" \
43212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43213 html) \
43214 || exit 1
43216 @endif target-boehm-gc
43218 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
43219 maybe-TAGS-target-boehm-gc:
43220 @if target-boehm-gc
43221 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
43223 TAGS-target-boehm-gc: \
43224 configure-target-boehm-gc
43225 @: $(MAKE); $(unstage)
43226 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
43227 r=`${PWD_COMMAND}`; export r; \
43228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43229 $(NORMAL_TARGET_EXPORTS) \
43230 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
43231 for flag in $(EXTRA_TARGET_FLAGS); do \
43232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43233 done; \
43234 (cd $(TARGET_SUBDIR)/boehm-gc && \
43235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43237 "RANLIB=$${RANLIB}" \
43238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43239 TAGS) \
43240 || exit 1
43242 @endif target-boehm-gc
43244 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
43245 maybe-install-info-target-boehm-gc:
43246 @if target-boehm-gc
43247 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
43249 install-info-target-boehm-gc: \
43250 configure-target-boehm-gc \
43251 info-target-boehm-gc
43252 @: $(MAKE); $(unstage)
43253 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
43254 r=`${PWD_COMMAND}`; export r; \
43255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43256 $(NORMAL_TARGET_EXPORTS) \
43257 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
43258 for flag in $(EXTRA_TARGET_FLAGS); do \
43259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43260 done; \
43261 (cd $(TARGET_SUBDIR)/boehm-gc && \
43262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43264 "RANLIB=$${RANLIB}" \
43265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43266 install-info) \
43267 || exit 1
43269 @endif target-boehm-gc
43271 .PHONY: maybe-install-pdf-target-boehm-gc install-pdf-target-boehm-gc
43272 maybe-install-pdf-target-boehm-gc:
43273 @if target-boehm-gc
43274 maybe-install-pdf-target-boehm-gc: install-pdf-target-boehm-gc
43276 install-pdf-target-boehm-gc: \
43277 configure-target-boehm-gc \
43278 pdf-target-boehm-gc
43279 @: $(MAKE); $(unstage)
43280 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
43281 r=`${PWD_COMMAND}`; export r; \
43282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43283 $(NORMAL_TARGET_EXPORTS) \
43284 echo "Doing install-pdf in $(TARGET_SUBDIR)/boehm-gc" ; \
43285 for flag in $(EXTRA_TARGET_FLAGS); do \
43286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43287 done; \
43288 (cd $(TARGET_SUBDIR)/boehm-gc && \
43289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43291 "RANLIB=$${RANLIB}" \
43292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43293 install-pdf) \
43294 || exit 1
43296 @endif target-boehm-gc
43298 .PHONY: maybe-install-html-target-boehm-gc install-html-target-boehm-gc
43299 maybe-install-html-target-boehm-gc:
43300 @if target-boehm-gc
43301 maybe-install-html-target-boehm-gc: install-html-target-boehm-gc
43303 install-html-target-boehm-gc: \
43304 configure-target-boehm-gc \
43305 html-target-boehm-gc
43306 @: $(MAKE); $(unstage)
43307 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
43308 r=`${PWD_COMMAND}`; export r; \
43309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43310 $(NORMAL_TARGET_EXPORTS) \
43311 echo "Doing install-html in $(TARGET_SUBDIR)/boehm-gc" ; \
43312 for flag in $(EXTRA_TARGET_FLAGS); do \
43313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43314 done; \
43315 (cd $(TARGET_SUBDIR)/boehm-gc && \
43316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43318 "RANLIB=$${RANLIB}" \
43319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43320 install-html) \
43321 || exit 1
43323 @endif target-boehm-gc
43325 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
43326 maybe-installcheck-target-boehm-gc:
43327 @if target-boehm-gc
43328 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
43330 installcheck-target-boehm-gc: \
43331 configure-target-boehm-gc
43332 @: $(MAKE); $(unstage)
43333 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
43334 r=`${PWD_COMMAND}`; export r; \
43335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43336 $(NORMAL_TARGET_EXPORTS) \
43337 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
43338 for flag in $(EXTRA_TARGET_FLAGS); do \
43339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43340 done; \
43341 (cd $(TARGET_SUBDIR)/boehm-gc && \
43342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43344 "RANLIB=$${RANLIB}" \
43345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43346 installcheck) \
43347 || exit 1
43349 @endif target-boehm-gc
43351 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
43352 maybe-mostlyclean-target-boehm-gc:
43353 @if target-boehm-gc
43354 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
43356 mostlyclean-target-boehm-gc:
43357 @: $(MAKE); $(unstage)
43358 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
43359 r=`${PWD_COMMAND}`; export r; \
43360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43361 $(NORMAL_TARGET_EXPORTS) \
43362 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
43363 for flag in $(EXTRA_TARGET_FLAGS); do \
43364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43365 done; \
43366 (cd $(TARGET_SUBDIR)/boehm-gc && \
43367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43369 "RANLIB=$${RANLIB}" \
43370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43371 mostlyclean) \
43372 || exit 1
43374 @endif target-boehm-gc
43376 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
43377 maybe-clean-target-boehm-gc:
43378 @if target-boehm-gc
43379 maybe-clean-target-boehm-gc: clean-target-boehm-gc
43381 clean-target-boehm-gc:
43382 @: $(MAKE); $(unstage)
43383 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
43384 r=`${PWD_COMMAND}`; export r; \
43385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43386 $(NORMAL_TARGET_EXPORTS) \
43387 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
43388 for flag in $(EXTRA_TARGET_FLAGS); do \
43389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43390 done; \
43391 (cd $(TARGET_SUBDIR)/boehm-gc && \
43392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43394 "RANLIB=$${RANLIB}" \
43395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43396 clean) \
43397 || exit 1
43399 @endif target-boehm-gc
43401 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
43402 maybe-distclean-target-boehm-gc:
43403 @if target-boehm-gc
43404 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
43406 distclean-target-boehm-gc:
43407 @: $(MAKE); $(unstage)
43408 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
43409 r=`${PWD_COMMAND}`; export r; \
43410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43411 $(NORMAL_TARGET_EXPORTS) \
43412 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
43413 for flag in $(EXTRA_TARGET_FLAGS); do \
43414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43415 done; \
43416 (cd $(TARGET_SUBDIR)/boehm-gc && \
43417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43419 "RANLIB=$${RANLIB}" \
43420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43421 distclean) \
43422 || exit 1
43424 @endif target-boehm-gc
43426 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
43427 maybe-maintainer-clean-target-boehm-gc:
43428 @if target-boehm-gc
43429 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
43431 maintainer-clean-target-boehm-gc:
43432 @: $(MAKE); $(unstage)
43433 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
43434 r=`${PWD_COMMAND}`; export r; \
43435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43436 $(NORMAL_TARGET_EXPORTS) \
43437 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
43438 for flag in $(EXTRA_TARGET_FLAGS); do \
43439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43440 done; \
43441 (cd $(TARGET_SUBDIR)/boehm-gc && \
43442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43444 "RANLIB=$${RANLIB}" \
43445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43446 maintainer-clean) \
43447 || exit 1
43449 @endif target-boehm-gc
43455 .PHONY: configure-target-rda maybe-configure-target-rda
43456 maybe-configure-target-rda:
43457 @if gcc-bootstrap
43458 configure-target-rda: stage_current
43459 @endif gcc-bootstrap
43460 @if target-rda
43461 maybe-configure-target-rda: configure-target-rda
43462 configure-target-rda:
43463 @: $(MAKE); $(unstage)
43464 @r=`${PWD_COMMAND}`; export r; \
43465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43466 echo "Checking multilib configuration for rda..."; \
43467 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
43468 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/rda/multilib.tmp 2> /dev/null ; \
43469 if test -r $(TARGET_SUBDIR)/rda/multilib.out; then \
43470 if cmp -s $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; then \
43471 rm -f $(TARGET_SUBDIR)/rda/multilib.tmp; \
43472 else \
43473 rm -f $(TARGET_SUBDIR)/rda/Makefile; \
43474 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
43475 fi; \
43476 else \
43477 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
43478 fi; \
43479 test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
43480 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
43481 $(NORMAL_TARGET_EXPORTS) \
43482 echo Configuring in $(TARGET_SUBDIR)/rda; \
43483 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
43484 case $(srcdir) in \
43485 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43486 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
43487 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43488 esac; \
43489 module_srcdir=rda; \
43490 rm -f no-such-file || : ; \
43491 CONFIG_SITE=no-such-file $(SHELL) \
43492 $$s/$$module_srcdir/configure \
43493 --srcdir=$${topdir}/$$module_srcdir \
43494 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43495 --target=${target_alias} \
43496 || exit 1
43497 @endif target-rda
43503 .PHONY: all-target-rda maybe-all-target-rda
43504 maybe-all-target-rda:
43505 @if gcc-bootstrap
43506 all-target-rda: stage_current
43507 @endif gcc-bootstrap
43508 @if target-rda
43509 TARGET-target-rda=all
43510 maybe-all-target-rda: all-target-rda
43511 all-target-rda: configure-target-rda
43512 @: $(MAKE); $(unstage)
43513 @r=`${PWD_COMMAND}`; export r; \
43514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43515 $(NORMAL_TARGET_EXPORTS) \
43516 (cd $(TARGET_SUBDIR)/rda && \
43517 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
43518 $(TARGET-target-rda))
43519 @endif target-rda
43525 .PHONY: check-target-rda maybe-check-target-rda
43526 maybe-check-target-rda:
43527 @if target-rda
43528 maybe-check-target-rda: check-target-rda
43530 check-target-rda:
43531 @: $(MAKE); $(unstage)
43532 @r=`${PWD_COMMAND}`; export r; \
43533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43534 $(NORMAL_TARGET_EXPORTS) \
43535 (cd $(TARGET_SUBDIR)/rda && \
43536 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
43538 @endif target-rda
43540 .PHONY: install-target-rda maybe-install-target-rda
43541 maybe-install-target-rda:
43542 @if target-rda
43543 maybe-install-target-rda: install-target-rda
43545 install-target-rda: installdirs
43546 @: $(MAKE); $(unstage)
43547 @r=`${PWD_COMMAND}`; export r; \
43548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43549 $(NORMAL_TARGET_EXPORTS) \
43550 (cd $(TARGET_SUBDIR)/rda && \
43551 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
43553 @endif target-rda
43555 .PHONY: install-strip-target-rda maybe-install-strip-target-rda
43556 maybe-install-strip-target-rda:
43557 @if target-rda
43558 maybe-install-strip-target-rda: install-strip-target-rda
43560 install-strip-target-rda: installdirs
43561 @: $(MAKE); $(unstage)
43562 @r=`${PWD_COMMAND}`; export r; \
43563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43564 $(NORMAL_TARGET_EXPORTS) \
43565 (cd $(TARGET_SUBDIR)/rda && \
43566 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
43568 @endif target-rda
43570 # Other targets (info, dvi, pdf, etc.)
43572 .PHONY: maybe-info-target-rda info-target-rda
43573 maybe-info-target-rda:
43574 @if target-rda
43575 maybe-info-target-rda: info-target-rda
43577 info-target-rda: \
43578 configure-target-rda
43579 @: $(MAKE); $(unstage)
43580 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43581 r=`${PWD_COMMAND}`; export r; \
43582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43583 $(NORMAL_TARGET_EXPORTS) \
43584 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
43585 for flag in $(EXTRA_TARGET_FLAGS); do \
43586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43587 done; \
43588 (cd $(TARGET_SUBDIR)/rda && \
43589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43591 "RANLIB=$${RANLIB}" \
43592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43593 info) \
43594 || exit 1
43596 @endif target-rda
43598 .PHONY: maybe-dvi-target-rda dvi-target-rda
43599 maybe-dvi-target-rda:
43600 @if target-rda
43601 maybe-dvi-target-rda: dvi-target-rda
43603 dvi-target-rda: \
43604 configure-target-rda
43605 @: $(MAKE); $(unstage)
43606 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43607 r=`${PWD_COMMAND}`; export r; \
43608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43609 $(NORMAL_TARGET_EXPORTS) \
43610 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
43611 for flag in $(EXTRA_TARGET_FLAGS); do \
43612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43613 done; \
43614 (cd $(TARGET_SUBDIR)/rda && \
43615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43617 "RANLIB=$${RANLIB}" \
43618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43619 dvi) \
43620 || exit 1
43622 @endif target-rda
43624 .PHONY: maybe-pdf-target-rda pdf-target-rda
43625 maybe-pdf-target-rda:
43626 @if target-rda
43627 maybe-pdf-target-rda: pdf-target-rda
43629 pdf-target-rda: \
43630 configure-target-rda
43631 @: $(MAKE); $(unstage)
43632 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43633 r=`${PWD_COMMAND}`; export r; \
43634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43635 $(NORMAL_TARGET_EXPORTS) \
43636 echo "Doing pdf in $(TARGET_SUBDIR)/rda" ; \
43637 for flag in $(EXTRA_TARGET_FLAGS); do \
43638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43639 done; \
43640 (cd $(TARGET_SUBDIR)/rda && \
43641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43643 "RANLIB=$${RANLIB}" \
43644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43645 pdf) \
43646 || exit 1
43648 @endif target-rda
43650 .PHONY: maybe-html-target-rda html-target-rda
43651 maybe-html-target-rda:
43652 @if target-rda
43653 maybe-html-target-rda: html-target-rda
43655 html-target-rda: \
43656 configure-target-rda
43657 @: $(MAKE); $(unstage)
43658 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43659 r=`${PWD_COMMAND}`; export r; \
43660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43661 $(NORMAL_TARGET_EXPORTS) \
43662 echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
43663 for flag in $(EXTRA_TARGET_FLAGS); do \
43664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43665 done; \
43666 (cd $(TARGET_SUBDIR)/rda && \
43667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43669 "RANLIB=$${RANLIB}" \
43670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43671 html) \
43672 || exit 1
43674 @endif target-rda
43676 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
43677 maybe-TAGS-target-rda:
43678 @if target-rda
43679 maybe-TAGS-target-rda: TAGS-target-rda
43681 TAGS-target-rda: \
43682 configure-target-rda
43683 @: $(MAKE); $(unstage)
43684 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43685 r=`${PWD_COMMAND}`; export r; \
43686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43687 $(NORMAL_TARGET_EXPORTS) \
43688 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
43689 for flag in $(EXTRA_TARGET_FLAGS); do \
43690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43691 done; \
43692 (cd $(TARGET_SUBDIR)/rda && \
43693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43695 "RANLIB=$${RANLIB}" \
43696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43697 TAGS) \
43698 || exit 1
43700 @endif target-rda
43702 .PHONY: maybe-install-info-target-rda install-info-target-rda
43703 maybe-install-info-target-rda:
43704 @if target-rda
43705 maybe-install-info-target-rda: install-info-target-rda
43707 install-info-target-rda: \
43708 configure-target-rda \
43709 info-target-rda
43710 @: $(MAKE); $(unstage)
43711 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43712 r=`${PWD_COMMAND}`; export r; \
43713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43714 $(NORMAL_TARGET_EXPORTS) \
43715 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
43716 for flag in $(EXTRA_TARGET_FLAGS); do \
43717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43718 done; \
43719 (cd $(TARGET_SUBDIR)/rda && \
43720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43722 "RANLIB=$${RANLIB}" \
43723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43724 install-info) \
43725 || exit 1
43727 @endif target-rda
43729 .PHONY: maybe-install-pdf-target-rda install-pdf-target-rda
43730 maybe-install-pdf-target-rda:
43731 @if target-rda
43732 maybe-install-pdf-target-rda: install-pdf-target-rda
43734 install-pdf-target-rda: \
43735 configure-target-rda \
43736 pdf-target-rda
43737 @: $(MAKE); $(unstage)
43738 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43739 r=`${PWD_COMMAND}`; export r; \
43740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43741 $(NORMAL_TARGET_EXPORTS) \
43742 echo "Doing install-pdf in $(TARGET_SUBDIR)/rda" ; \
43743 for flag in $(EXTRA_TARGET_FLAGS); do \
43744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43745 done; \
43746 (cd $(TARGET_SUBDIR)/rda && \
43747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43749 "RANLIB=$${RANLIB}" \
43750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43751 install-pdf) \
43752 || exit 1
43754 @endif target-rda
43756 .PHONY: maybe-install-html-target-rda install-html-target-rda
43757 maybe-install-html-target-rda:
43758 @if target-rda
43759 maybe-install-html-target-rda: install-html-target-rda
43761 install-html-target-rda: \
43762 configure-target-rda \
43763 html-target-rda
43764 @: $(MAKE); $(unstage)
43765 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43766 r=`${PWD_COMMAND}`; export r; \
43767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43768 $(NORMAL_TARGET_EXPORTS) \
43769 echo "Doing install-html in $(TARGET_SUBDIR)/rda" ; \
43770 for flag in $(EXTRA_TARGET_FLAGS); do \
43771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43772 done; \
43773 (cd $(TARGET_SUBDIR)/rda && \
43774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43776 "RANLIB=$${RANLIB}" \
43777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43778 install-html) \
43779 || exit 1
43781 @endif target-rda
43783 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
43784 maybe-installcheck-target-rda:
43785 @if target-rda
43786 maybe-installcheck-target-rda: installcheck-target-rda
43788 installcheck-target-rda: \
43789 configure-target-rda
43790 @: $(MAKE); $(unstage)
43791 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43792 r=`${PWD_COMMAND}`; export r; \
43793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43794 $(NORMAL_TARGET_EXPORTS) \
43795 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
43796 for flag in $(EXTRA_TARGET_FLAGS); do \
43797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43798 done; \
43799 (cd $(TARGET_SUBDIR)/rda && \
43800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43802 "RANLIB=$${RANLIB}" \
43803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43804 installcheck) \
43805 || exit 1
43807 @endif target-rda
43809 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
43810 maybe-mostlyclean-target-rda:
43811 @if target-rda
43812 maybe-mostlyclean-target-rda: mostlyclean-target-rda
43814 mostlyclean-target-rda:
43815 @: $(MAKE); $(unstage)
43816 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43817 r=`${PWD_COMMAND}`; export r; \
43818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43819 $(NORMAL_TARGET_EXPORTS) \
43820 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
43821 for flag in $(EXTRA_TARGET_FLAGS); do \
43822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43823 done; \
43824 (cd $(TARGET_SUBDIR)/rda && \
43825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43827 "RANLIB=$${RANLIB}" \
43828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43829 mostlyclean) \
43830 || exit 1
43832 @endif target-rda
43834 .PHONY: maybe-clean-target-rda clean-target-rda
43835 maybe-clean-target-rda:
43836 @if target-rda
43837 maybe-clean-target-rda: clean-target-rda
43839 clean-target-rda:
43840 @: $(MAKE); $(unstage)
43841 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43842 r=`${PWD_COMMAND}`; export r; \
43843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43844 $(NORMAL_TARGET_EXPORTS) \
43845 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
43846 for flag in $(EXTRA_TARGET_FLAGS); do \
43847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43848 done; \
43849 (cd $(TARGET_SUBDIR)/rda && \
43850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43852 "RANLIB=$${RANLIB}" \
43853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43854 clean) \
43855 || exit 1
43857 @endif target-rda
43859 .PHONY: maybe-distclean-target-rda distclean-target-rda
43860 maybe-distclean-target-rda:
43861 @if target-rda
43862 maybe-distclean-target-rda: distclean-target-rda
43864 distclean-target-rda:
43865 @: $(MAKE); $(unstage)
43866 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43867 r=`${PWD_COMMAND}`; export r; \
43868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43869 $(NORMAL_TARGET_EXPORTS) \
43870 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
43871 for flag in $(EXTRA_TARGET_FLAGS); do \
43872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43873 done; \
43874 (cd $(TARGET_SUBDIR)/rda && \
43875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43877 "RANLIB=$${RANLIB}" \
43878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43879 distclean) \
43880 || exit 1
43882 @endif target-rda
43884 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
43885 maybe-maintainer-clean-target-rda:
43886 @if target-rda
43887 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
43889 maintainer-clean-target-rda:
43890 @: $(MAKE); $(unstage)
43891 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
43892 r=`${PWD_COMMAND}`; export r; \
43893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43894 $(NORMAL_TARGET_EXPORTS) \
43895 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
43896 for flag in $(EXTRA_TARGET_FLAGS); do \
43897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
43898 done; \
43899 (cd $(TARGET_SUBDIR)/rda && \
43900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
43901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
43902 "RANLIB=$${RANLIB}" \
43903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
43904 maintainer-clean) \
43905 || exit 1
43907 @endif target-rda
43913 .PHONY: configure-target-libada maybe-configure-target-libada
43914 maybe-configure-target-libada:
43915 @if gcc-bootstrap
43916 configure-target-libada: stage_current
43917 @endif gcc-bootstrap
43918 @if target-libada
43919 maybe-configure-target-libada: configure-target-libada
43920 configure-target-libada:
43921 @: $(MAKE); $(unstage)
43922 @r=`${PWD_COMMAND}`; export r; \
43923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43924 echo "Checking multilib configuration for libada..."; \
43925 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
43926 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libada/multilib.tmp 2> /dev/null ; \
43927 if test -r $(TARGET_SUBDIR)/libada/multilib.out; then \
43928 if cmp -s $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; then \
43929 rm -f $(TARGET_SUBDIR)/libada/multilib.tmp; \
43930 else \
43931 rm -f $(TARGET_SUBDIR)/libada/Makefile; \
43932 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
43933 fi; \
43934 else \
43935 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
43936 fi; \
43937 test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
43938 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
43939 $(NORMAL_TARGET_EXPORTS) \
43940 echo Configuring in $(TARGET_SUBDIR)/libada; \
43941 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
43942 case $(srcdir) in \
43943 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
43944 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
43945 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
43946 esac; \
43947 module_srcdir=libada; \
43948 rm -f no-such-file || : ; \
43949 CONFIG_SITE=no-such-file $(SHELL) \
43950 $$s/$$module_srcdir/configure \
43951 --srcdir=$${topdir}/$$module_srcdir \
43952 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
43953 --target=${target_alias} \
43954 || exit 1
43955 @endif target-libada
43961 .PHONY: all-target-libada maybe-all-target-libada
43962 maybe-all-target-libada:
43963 @if gcc-bootstrap
43964 all-target-libada: stage_current
43965 @endif gcc-bootstrap
43966 @if target-libada
43967 TARGET-target-libada=all
43968 maybe-all-target-libada: all-target-libada
43969 all-target-libada: configure-target-libada
43970 @: $(MAKE); $(unstage)
43971 @r=`${PWD_COMMAND}`; export r; \
43972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43973 $(NORMAL_TARGET_EXPORTS) \
43974 (cd $(TARGET_SUBDIR)/libada && \
43975 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
43976 $(TARGET-target-libada))
43977 @endif target-libada
43983 .PHONY: check-target-libada maybe-check-target-libada
43984 maybe-check-target-libada:
43985 @if target-libada
43986 maybe-check-target-libada: check-target-libada
43988 check-target-libada:
43989 @: $(MAKE); $(unstage)
43990 @r=`${PWD_COMMAND}`; export r; \
43991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
43992 $(NORMAL_TARGET_EXPORTS) \
43993 (cd $(TARGET_SUBDIR)/libada && \
43994 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
43996 @endif target-libada
43998 .PHONY: install-target-libada maybe-install-target-libada
43999 maybe-install-target-libada:
44000 @if target-libada
44001 maybe-install-target-libada: install-target-libada
44003 install-target-libada: installdirs
44004 @: $(MAKE); $(unstage)
44005 @r=`${PWD_COMMAND}`; export r; \
44006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44007 $(NORMAL_TARGET_EXPORTS) \
44008 (cd $(TARGET_SUBDIR)/libada && \
44009 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
44011 @endif target-libada
44013 .PHONY: install-strip-target-libada maybe-install-strip-target-libada
44014 maybe-install-strip-target-libada:
44015 @if target-libada
44016 maybe-install-strip-target-libada: install-strip-target-libada
44018 install-strip-target-libada: installdirs
44019 @: $(MAKE); $(unstage)
44020 @r=`${PWD_COMMAND}`; export r; \
44021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44022 $(NORMAL_TARGET_EXPORTS) \
44023 (cd $(TARGET_SUBDIR)/libada && \
44024 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
44026 @endif target-libada
44028 # Other targets (info, dvi, pdf, etc.)
44030 .PHONY: maybe-info-target-libada info-target-libada
44031 maybe-info-target-libada:
44032 @if target-libada
44033 maybe-info-target-libada: info-target-libada
44035 info-target-libada: \
44036 configure-target-libada
44037 @: $(MAKE); $(unstage)
44038 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
44039 r=`${PWD_COMMAND}`; export r; \
44040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44041 $(NORMAL_TARGET_EXPORTS) \
44042 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
44043 for flag in $(EXTRA_TARGET_FLAGS); do \
44044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44045 done; \
44046 (cd $(TARGET_SUBDIR)/libada && \
44047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44049 "RANLIB=$${RANLIB}" \
44050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44051 info) \
44052 || exit 1
44054 @endif target-libada
44056 .PHONY: maybe-dvi-target-libada dvi-target-libada
44057 maybe-dvi-target-libada:
44058 @if target-libada
44059 maybe-dvi-target-libada: dvi-target-libada
44061 dvi-target-libada: \
44062 configure-target-libada
44063 @: $(MAKE); $(unstage)
44064 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
44065 r=`${PWD_COMMAND}`; export r; \
44066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44067 $(NORMAL_TARGET_EXPORTS) \
44068 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
44069 for flag in $(EXTRA_TARGET_FLAGS); do \
44070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44071 done; \
44072 (cd $(TARGET_SUBDIR)/libada && \
44073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44075 "RANLIB=$${RANLIB}" \
44076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44077 dvi) \
44078 || exit 1
44080 @endif target-libada
44082 .PHONY: maybe-pdf-target-libada pdf-target-libada
44083 maybe-pdf-target-libada:
44084 @if target-libada
44085 maybe-pdf-target-libada: pdf-target-libada
44087 pdf-target-libada: \
44088 configure-target-libada
44089 @: $(MAKE); $(unstage)
44090 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
44091 r=`${PWD_COMMAND}`; export r; \
44092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44093 $(NORMAL_TARGET_EXPORTS) \
44094 echo "Doing pdf in $(TARGET_SUBDIR)/libada" ; \
44095 for flag in $(EXTRA_TARGET_FLAGS); do \
44096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44097 done; \
44098 (cd $(TARGET_SUBDIR)/libada && \
44099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44101 "RANLIB=$${RANLIB}" \
44102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44103 pdf) \
44104 || exit 1
44106 @endif target-libada
44108 .PHONY: maybe-html-target-libada html-target-libada
44109 maybe-html-target-libada:
44110 @if target-libada
44111 maybe-html-target-libada: html-target-libada
44113 html-target-libada: \
44114 configure-target-libada
44115 @: $(MAKE); $(unstage)
44116 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
44117 r=`${PWD_COMMAND}`; export r; \
44118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44119 $(NORMAL_TARGET_EXPORTS) \
44120 echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
44121 for flag in $(EXTRA_TARGET_FLAGS); do \
44122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44123 done; \
44124 (cd $(TARGET_SUBDIR)/libada && \
44125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44127 "RANLIB=$${RANLIB}" \
44128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44129 html) \
44130 || exit 1
44132 @endif target-libada
44134 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
44135 maybe-TAGS-target-libada:
44136 @if target-libada
44137 maybe-TAGS-target-libada: TAGS-target-libada
44139 TAGS-target-libada: \
44140 configure-target-libada
44141 @: $(MAKE); $(unstage)
44142 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
44143 r=`${PWD_COMMAND}`; export r; \
44144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44145 $(NORMAL_TARGET_EXPORTS) \
44146 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
44147 for flag in $(EXTRA_TARGET_FLAGS); do \
44148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44149 done; \
44150 (cd $(TARGET_SUBDIR)/libada && \
44151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44153 "RANLIB=$${RANLIB}" \
44154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44155 TAGS) \
44156 || exit 1
44158 @endif target-libada
44160 .PHONY: maybe-install-info-target-libada install-info-target-libada
44161 maybe-install-info-target-libada:
44162 @if target-libada
44163 maybe-install-info-target-libada: install-info-target-libada
44165 install-info-target-libada: \
44166 configure-target-libada \
44167 info-target-libada
44168 @: $(MAKE); $(unstage)
44169 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
44170 r=`${PWD_COMMAND}`; export r; \
44171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44172 $(NORMAL_TARGET_EXPORTS) \
44173 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
44174 for flag in $(EXTRA_TARGET_FLAGS); do \
44175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44176 done; \
44177 (cd $(TARGET_SUBDIR)/libada && \
44178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44180 "RANLIB=$${RANLIB}" \
44181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44182 install-info) \
44183 || exit 1
44185 @endif target-libada
44187 .PHONY: maybe-install-pdf-target-libada install-pdf-target-libada
44188 maybe-install-pdf-target-libada:
44189 @if target-libada
44190 maybe-install-pdf-target-libada: install-pdf-target-libada
44192 install-pdf-target-libada: \
44193 configure-target-libada \
44194 pdf-target-libada
44195 @: $(MAKE); $(unstage)
44196 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
44197 r=`${PWD_COMMAND}`; export r; \
44198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44199 $(NORMAL_TARGET_EXPORTS) \
44200 echo "Doing install-pdf in $(TARGET_SUBDIR)/libada" ; \
44201 for flag in $(EXTRA_TARGET_FLAGS); do \
44202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44203 done; \
44204 (cd $(TARGET_SUBDIR)/libada && \
44205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44207 "RANLIB=$${RANLIB}" \
44208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44209 install-pdf) \
44210 || exit 1
44212 @endif target-libada
44214 .PHONY: maybe-install-html-target-libada install-html-target-libada
44215 maybe-install-html-target-libada:
44216 @if target-libada
44217 maybe-install-html-target-libada: install-html-target-libada
44219 install-html-target-libada: \
44220 configure-target-libada \
44221 html-target-libada
44222 @: $(MAKE); $(unstage)
44223 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
44224 r=`${PWD_COMMAND}`; export r; \
44225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44226 $(NORMAL_TARGET_EXPORTS) \
44227 echo "Doing install-html in $(TARGET_SUBDIR)/libada" ; \
44228 for flag in $(EXTRA_TARGET_FLAGS); do \
44229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44230 done; \
44231 (cd $(TARGET_SUBDIR)/libada && \
44232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44234 "RANLIB=$${RANLIB}" \
44235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44236 install-html) \
44237 || exit 1
44239 @endif target-libada
44241 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
44242 maybe-installcheck-target-libada:
44243 @if target-libada
44244 maybe-installcheck-target-libada: installcheck-target-libada
44246 installcheck-target-libada: \
44247 configure-target-libada
44248 @: $(MAKE); $(unstage)
44249 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
44250 r=`${PWD_COMMAND}`; export r; \
44251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44252 $(NORMAL_TARGET_EXPORTS) \
44253 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
44254 for flag in $(EXTRA_TARGET_FLAGS); do \
44255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44256 done; \
44257 (cd $(TARGET_SUBDIR)/libada && \
44258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44260 "RANLIB=$${RANLIB}" \
44261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44262 installcheck) \
44263 || exit 1
44265 @endif target-libada
44267 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
44268 maybe-mostlyclean-target-libada:
44269 @if target-libada
44270 maybe-mostlyclean-target-libada: mostlyclean-target-libada
44272 mostlyclean-target-libada:
44273 @: $(MAKE); $(unstage)
44274 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
44275 r=`${PWD_COMMAND}`; export r; \
44276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44277 $(NORMAL_TARGET_EXPORTS) \
44278 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
44279 for flag in $(EXTRA_TARGET_FLAGS); do \
44280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44281 done; \
44282 (cd $(TARGET_SUBDIR)/libada && \
44283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44285 "RANLIB=$${RANLIB}" \
44286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44287 mostlyclean) \
44288 || exit 1
44290 @endif target-libada
44292 .PHONY: maybe-clean-target-libada clean-target-libada
44293 maybe-clean-target-libada:
44294 @if target-libada
44295 maybe-clean-target-libada: clean-target-libada
44297 clean-target-libada:
44298 @: $(MAKE); $(unstage)
44299 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
44300 r=`${PWD_COMMAND}`; export r; \
44301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44302 $(NORMAL_TARGET_EXPORTS) \
44303 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
44304 for flag in $(EXTRA_TARGET_FLAGS); do \
44305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44306 done; \
44307 (cd $(TARGET_SUBDIR)/libada && \
44308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44310 "RANLIB=$${RANLIB}" \
44311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44312 clean) \
44313 || exit 1
44315 @endif target-libada
44317 .PHONY: maybe-distclean-target-libada distclean-target-libada
44318 maybe-distclean-target-libada:
44319 @if target-libada
44320 maybe-distclean-target-libada: distclean-target-libada
44322 distclean-target-libada:
44323 @: $(MAKE); $(unstage)
44324 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
44325 r=`${PWD_COMMAND}`; export r; \
44326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44327 $(NORMAL_TARGET_EXPORTS) \
44328 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
44329 for flag in $(EXTRA_TARGET_FLAGS); do \
44330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44331 done; \
44332 (cd $(TARGET_SUBDIR)/libada && \
44333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44335 "RANLIB=$${RANLIB}" \
44336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44337 distclean) \
44338 || exit 1
44340 @endif target-libada
44342 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
44343 maybe-maintainer-clean-target-libada:
44344 @if target-libada
44345 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
44347 maintainer-clean-target-libada:
44348 @: $(MAKE); $(unstage)
44349 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
44350 r=`${PWD_COMMAND}`; export r; \
44351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44352 $(NORMAL_TARGET_EXPORTS) \
44353 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
44354 for flag in $(EXTRA_TARGET_FLAGS); do \
44355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
44356 done; \
44357 (cd $(TARGET_SUBDIR)/libada && \
44358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
44359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
44360 "RANLIB=$${RANLIB}" \
44361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
44362 maintainer-clean) \
44363 || exit 1
44365 @endif target-libada
44371 .PHONY: configure-target-libgomp maybe-configure-target-libgomp
44372 maybe-configure-target-libgomp:
44373 @if gcc-bootstrap
44374 configure-target-libgomp: stage_current
44375 @endif gcc-bootstrap
44376 @if target-libgomp
44377 maybe-configure-target-libgomp: configure-target-libgomp
44378 configure-target-libgomp:
44379 @r=`${PWD_COMMAND}`; export r; \
44380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44381 echo "Checking multilib configuration for libgomp..."; \
44382 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
44383 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
44384 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
44385 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
44386 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
44387 else \
44388 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
44389 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
44390 fi; \
44391 else \
44392 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
44393 fi; \
44394 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
44395 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
44396 $(NORMAL_TARGET_EXPORTS) \
44397 echo Configuring in $(TARGET_SUBDIR)/libgomp; \
44398 cd "$(TARGET_SUBDIR)/libgomp" || exit 1; \
44399 case $(srcdir) in \
44400 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44401 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
44402 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44403 esac; \
44404 module_srcdir=libgomp; \
44405 rm -f no-such-file || : ; \
44406 CONFIG_SITE=no-such-file $(SHELL) \
44407 $$s/$$module_srcdir/configure \
44408 --srcdir=$${topdir}/$$module_srcdir \
44409 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44410 --target=${target_alias} \
44411 || exit 1
44412 @endif target-libgomp
44416 .PHONY: configure-stage1-target-libgomp maybe-configure-stage1-target-libgomp
44417 maybe-configure-stage1-target-libgomp:
44418 @if target-libgomp-bootstrap
44419 maybe-configure-stage1-target-libgomp: configure-stage1-target-libgomp
44420 configure-stage1-target-libgomp:
44421 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
44422 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
44423 @r=`${PWD_COMMAND}`; export r; \
44424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44425 TFLAGS="$(STAGE1_TFLAGS)"; \
44426 echo "Checking multilib configuration for libgomp..."; \
44427 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
44428 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
44429 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
44430 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
44431 else \
44432 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
44433 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
44434 fi; \
44435 else \
44436 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
44437 fi; \
44438 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
44439 $(NORMAL_TARGET_EXPORTS) \
44440 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44441 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44442 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44443 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgomp ; \
44444 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
44445 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
44446 case $(srcdir) in \
44447 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44448 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
44449 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44450 esac; \
44451 module_srcdir=libgomp; \
44452 $(SHELL) $$s/$$module_srcdir/configure \
44453 --srcdir=$${topdir}/$$module_srcdir \
44454 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44455 --target=${target_alias} \
44457 $(STAGE1_CONFIGURE_FLAGS)
44458 @endif target-libgomp-bootstrap
44460 .PHONY: configure-stage2-target-libgomp maybe-configure-stage2-target-libgomp
44461 maybe-configure-stage2-target-libgomp:
44462 @if target-libgomp-bootstrap
44463 maybe-configure-stage2-target-libgomp: configure-stage2-target-libgomp
44464 configure-stage2-target-libgomp:
44465 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
44466 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
44467 @r=`${PWD_COMMAND}`; export r; \
44468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44469 TFLAGS="$(STAGE2_TFLAGS)"; \
44470 echo "Checking multilib configuration for libgomp..."; \
44471 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
44472 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
44473 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
44474 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
44475 else \
44476 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
44477 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
44478 fi; \
44479 else \
44480 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
44481 fi; \
44482 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
44483 $(NORMAL_TARGET_EXPORTS) \
44485 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44486 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44487 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44488 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgomp ; \
44489 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
44490 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
44491 case $(srcdir) in \
44492 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44493 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
44494 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44495 esac; \
44496 module_srcdir=libgomp; \
44497 $(SHELL) $$s/$$module_srcdir/configure \
44498 --srcdir=$${topdir}/$$module_srcdir \
44499 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44500 --target=${target_alias} \
44501 --with-build-libsubdir=$(HOST_SUBDIR) \
44502 $(STAGE2_CONFIGURE_FLAGS)
44503 @endif target-libgomp-bootstrap
44505 .PHONY: configure-stage3-target-libgomp maybe-configure-stage3-target-libgomp
44506 maybe-configure-stage3-target-libgomp:
44507 @if target-libgomp-bootstrap
44508 maybe-configure-stage3-target-libgomp: configure-stage3-target-libgomp
44509 configure-stage3-target-libgomp:
44510 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
44511 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
44512 @r=`${PWD_COMMAND}`; export r; \
44513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44514 TFLAGS="$(STAGE3_TFLAGS)"; \
44515 echo "Checking multilib configuration for libgomp..."; \
44516 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
44517 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
44518 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
44519 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
44520 else \
44521 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
44522 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
44523 fi; \
44524 else \
44525 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
44526 fi; \
44527 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
44528 $(NORMAL_TARGET_EXPORTS) \
44530 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44531 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44532 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44533 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgomp ; \
44534 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
44535 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
44536 case $(srcdir) in \
44537 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44538 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
44539 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44540 esac; \
44541 module_srcdir=libgomp; \
44542 $(SHELL) $$s/$$module_srcdir/configure \
44543 --srcdir=$${topdir}/$$module_srcdir \
44544 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44545 --target=${target_alias} \
44546 --with-build-libsubdir=$(HOST_SUBDIR) \
44547 $(STAGE3_CONFIGURE_FLAGS)
44548 @endif target-libgomp-bootstrap
44550 .PHONY: configure-stage4-target-libgomp maybe-configure-stage4-target-libgomp
44551 maybe-configure-stage4-target-libgomp:
44552 @if target-libgomp-bootstrap
44553 maybe-configure-stage4-target-libgomp: configure-stage4-target-libgomp
44554 configure-stage4-target-libgomp:
44555 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
44556 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
44557 @r=`${PWD_COMMAND}`; export r; \
44558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44559 TFLAGS="$(STAGE4_TFLAGS)"; \
44560 echo "Checking multilib configuration for libgomp..."; \
44561 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
44562 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
44563 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
44564 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
44565 else \
44566 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
44567 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
44568 fi; \
44569 else \
44570 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
44571 fi; \
44572 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
44573 $(NORMAL_TARGET_EXPORTS) \
44575 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44576 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44577 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44578 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgomp ; \
44579 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
44580 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
44581 case $(srcdir) in \
44582 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44583 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
44584 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44585 esac; \
44586 module_srcdir=libgomp; \
44587 $(SHELL) $$s/$$module_srcdir/configure \
44588 --srcdir=$${topdir}/$$module_srcdir \
44589 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44590 --target=${target_alias} \
44591 --with-build-libsubdir=$(HOST_SUBDIR) \
44592 $(STAGE4_CONFIGURE_FLAGS)
44593 @endif target-libgomp-bootstrap
44595 .PHONY: configure-stageprofile-target-libgomp maybe-configure-stageprofile-target-libgomp
44596 maybe-configure-stageprofile-target-libgomp:
44597 @if target-libgomp-bootstrap
44598 maybe-configure-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
44599 configure-stageprofile-target-libgomp:
44600 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
44601 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
44602 @r=`${PWD_COMMAND}`; export r; \
44603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44604 TFLAGS="$(STAGEprofile_TFLAGS)"; \
44605 echo "Checking multilib configuration for libgomp..."; \
44606 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
44607 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
44608 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
44609 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
44610 else \
44611 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
44612 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
44613 fi; \
44614 else \
44615 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
44616 fi; \
44617 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
44618 $(NORMAL_TARGET_EXPORTS) \
44620 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44621 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44622 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44623 echo Configuring stage profile in $(TARGET_SUBDIR)/libgomp ; \
44624 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
44625 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
44626 case $(srcdir) in \
44627 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44628 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
44629 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44630 esac; \
44631 module_srcdir=libgomp; \
44632 $(SHELL) $$s/$$module_srcdir/configure \
44633 --srcdir=$${topdir}/$$module_srcdir \
44634 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44635 --target=${target_alias} \
44636 --with-build-libsubdir=$(HOST_SUBDIR) \
44637 $(STAGEprofile_CONFIGURE_FLAGS)
44638 @endif target-libgomp-bootstrap
44640 .PHONY: configure-stagefeedback-target-libgomp maybe-configure-stagefeedback-target-libgomp
44641 maybe-configure-stagefeedback-target-libgomp:
44642 @if target-libgomp-bootstrap
44643 maybe-configure-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
44644 configure-stagefeedback-target-libgomp:
44645 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
44646 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
44647 @r=`${PWD_COMMAND}`; export r; \
44648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44649 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
44650 echo "Checking multilib configuration for libgomp..."; \
44651 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
44652 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
44653 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
44654 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
44655 else \
44656 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
44657 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
44658 fi; \
44659 else \
44660 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
44661 fi; \
44662 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
44663 $(NORMAL_TARGET_EXPORTS) \
44665 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
44666 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
44667 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
44668 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgomp ; \
44669 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
44670 cd $(TARGET_SUBDIR)/libgomp || exit 1; \
44671 case $(srcdir) in \
44672 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
44673 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
44674 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
44675 esac; \
44676 module_srcdir=libgomp; \
44677 $(SHELL) $$s/$$module_srcdir/configure \
44678 --srcdir=$${topdir}/$$module_srcdir \
44679 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
44680 --target=${target_alias} \
44681 --with-build-libsubdir=$(HOST_SUBDIR) \
44682 $(STAGEfeedback_CONFIGURE_FLAGS)
44683 @endif target-libgomp-bootstrap
44689 .PHONY: all-target-libgomp maybe-all-target-libgomp
44690 maybe-all-target-libgomp:
44691 @if gcc-bootstrap
44692 all-target-libgomp: stage_current
44693 @endif gcc-bootstrap
44694 @if target-libgomp
44695 TARGET-target-libgomp=all
44696 maybe-all-target-libgomp: all-target-libgomp
44697 all-target-libgomp: configure-target-libgomp
44698 @r=`${PWD_COMMAND}`; export r; \
44699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44700 $(NORMAL_TARGET_EXPORTS) \
44701 (cd $(TARGET_SUBDIR)/libgomp && \
44702 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
44703 $(TARGET-target-libgomp))
44704 @endif target-libgomp
44708 .PHONY: all-stage1-target-libgomp maybe-all-stage1-target-libgomp
44709 .PHONY: clean-stage1-target-libgomp maybe-clean-stage1-target-libgomp
44710 maybe-all-stage1-target-libgomp:
44711 maybe-clean-stage1-target-libgomp:
44712 @if target-libgomp-bootstrap
44713 maybe-all-stage1-target-libgomp: all-stage1-target-libgomp
44714 all-stage1: all-stage1-target-libgomp
44715 TARGET-stage1-target-libgomp = $(TARGET-target-libgomp)
44716 all-stage1-target-libgomp: configure-stage1-target-libgomp
44717 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
44718 @r=`${PWD_COMMAND}`; export r; \
44719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44720 TFLAGS="$(STAGE1_TFLAGS)"; \
44721 $(NORMAL_TARGET_EXPORTS) \
44722 cd $(TARGET_SUBDIR)/libgomp && \
44723 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44724 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44725 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44726 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44727 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44728 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44729 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44730 $(EXTRA_TARGET_FLAGS) \
44732 TFLAGS="$(STAGE1_TFLAGS)" \
44733 $(TARGET-stage1-target-libgomp)
44735 maybe-clean-stage1-target-libgomp: clean-stage1-target-libgomp
44736 clean-stage1: clean-stage1-target-libgomp
44737 clean-stage1-target-libgomp:
44738 @if [ $(current_stage) = stage1 ]; then \
44739 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
44740 else \
44741 [ -f $(TARGET_SUBDIR)/stage1-libgomp/Makefile ] || exit 0; \
44742 $(MAKE) stage1-start; \
44743 fi; \
44744 cd $(TARGET_SUBDIR)/libgomp && \
44745 $(MAKE) $(EXTRA_TARGET_FLAGS) \
44746 clean
44747 @endif target-libgomp-bootstrap
44750 .PHONY: all-stage2-target-libgomp maybe-all-stage2-target-libgomp
44751 .PHONY: clean-stage2-target-libgomp maybe-clean-stage2-target-libgomp
44752 maybe-all-stage2-target-libgomp:
44753 maybe-clean-stage2-target-libgomp:
44754 @if target-libgomp-bootstrap
44755 maybe-all-stage2-target-libgomp: all-stage2-target-libgomp
44756 all-stage2: all-stage2-target-libgomp
44757 TARGET-stage2-target-libgomp = $(TARGET-target-libgomp)
44758 all-stage2-target-libgomp: configure-stage2-target-libgomp
44759 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
44760 @r=`${PWD_COMMAND}`; export r; \
44761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44762 TFLAGS="$(STAGE2_TFLAGS)"; \
44763 $(NORMAL_TARGET_EXPORTS) \
44765 cd $(TARGET_SUBDIR)/libgomp && \
44766 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44767 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44768 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44769 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44770 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44771 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44772 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44773 $(EXTRA_TARGET_FLAGS) \
44774 TFLAGS="$(STAGE2_TFLAGS)" \
44775 $(TARGET-stage2-target-libgomp)
44777 maybe-clean-stage2-target-libgomp: clean-stage2-target-libgomp
44778 clean-stage2: clean-stage2-target-libgomp
44779 clean-stage2-target-libgomp:
44780 @if [ $(current_stage) = stage2 ]; then \
44781 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
44782 else \
44783 [ -f $(TARGET_SUBDIR)/stage2-libgomp/Makefile ] || exit 0; \
44784 $(MAKE) stage2-start; \
44785 fi; \
44786 cd $(TARGET_SUBDIR)/libgomp && \
44787 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
44788 @endif target-libgomp-bootstrap
44791 .PHONY: all-stage3-target-libgomp maybe-all-stage3-target-libgomp
44792 .PHONY: clean-stage3-target-libgomp maybe-clean-stage3-target-libgomp
44793 maybe-all-stage3-target-libgomp:
44794 maybe-clean-stage3-target-libgomp:
44795 @if target-libgomp-bootstrap
44796 maybe-all-stage3-target-libgomp: all-stage3-target-libgomp
44797 all-stage3: all-stage3-target-libgomp
44798 TARGET-stage3-target-libgomp = $(TARGET-target-libgomp)
44799 all-stage3-target-libgomp: configure-stage3-target-libgomp
44800 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
44801 @r=`${PWD_COMMAND}`; export r; \
44802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44803 TFLAGS="$(STAGE3_TFLAGS)"; \
44804 $(NORMAL_TARGET_EXPORTS) \
44806 cd $(TARGET_SUBDIR)/libgomp && \
44807 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44808 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44809 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44810 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44811 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44812 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44813 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44814 $(EXTRA_TARGET_FLAGS) \
44815 TFLAGS="$(STAGE3_TFLAGS)" \
44816 $(TARGET-stage3-target-libgomp)
44818 maybe-clean-stage3-target-libgomp: clean-stage3-target-libgomp
44819 clean-stage3: clean-stage3-target-libgomp
44820 clean-stage3-target-libgomp:
44821 @if [ $(current_stage) = stage3 ]; then \
44822 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
44823 else \
44824 [ -f $(TARGET_SUBDIR)/stage3-libgomp/Makefile ] || exit 0; \
44825 $(MAKE) stage3-start; \
44826 fi; \
44827 cd $(TARGET_SUBDIR)/libgomp && \
44828 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
44829 @endif target-libgomp-bootstrap
44832 .PHONY: all-stage4-target-libgomp maybe-all-stage4-target-libgomp
44833 .PHONY: clean-stage4-target-libgomp maybe-clean-stage4-target-libgomp
44834 maybe-all-stage4-target-libgomp:
44835 maybe-clean-stage4-target-libgomp:
44836 @if target-libgomp-bootstrap
44837 maybe-all-stage4-target-libgomp: all-stage4-target-libgomp
44838 all-stage4: all-stage4-target-libgomp
44839 TARGET-stage4-target-libgomp = $(TARGET-target-libgomp)
44840 all-stage4-target-libgomp: configure-stage4-target-libgomp
44841 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
44842 @r=`${PWD_COMMAND}`; export r; \
44843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44844 TFLAGS="$(STAGE4_TFLAGS)"; \
44845 $(NORMAL_TARGET_EXPORTS) \
44847 cd $(TARGET_SUBDIR)/libgomp && \
44848 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44849 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44850 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44851 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44852 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44853 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44854 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44855 $(EXTRA_TARGET_FLAGS) \
44856 TFLAGS="$(STAGE4_TFLAGS)" \
44857 $(TARGET-stage4-target-libgomp)
44859 maybe-clean-stage4-target-libgomp: clean-stage4-target-libgomp
44860 clean-stage4: clean-stage4-target-libgomp
44861 clean-stage4-target-libgomp:
44862 @if [ $(current_stage) = stage4 ]; then \
44863 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
44864 else \
44865 [ -f $(TARGET_SUBDIR)/stage4-libgomp/Makefile ] || exit 0; \
44866 $(MAKE) stage4-start; \
44867 fi; \
44868 cd $(TARGET_SUBDIR)/libgomp && \
44869 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
44870 @endif target-libgomp-bootstrap
44873 .PHONY: all-stageprofile-target-libgomp maybe-all-stageprofile-target-libgomp
44874 .PHONY: clean-stageprofile-target-libgomp maybe-clean-stageprofile-target-libgomp
44875 maybe-all-stageprofile-target-libgomp:
44876 maybe-clean-stageprofile-target-libgomp:
44877 @if target-libgomp-bootstrap
44878 maybe-all-stageprofile-target-libgomp: all-stageprofile-target-libgomp
44879 all-stageprofile: all-stageprofile-target-libgomp
44880 TARGET-stageprofile-target-libgomp = $(TARGET-target-libgomp)
44881 all-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
44882 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
44883 @r=`${PWD_COMMAND}`; export r; \
44884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44885 TFLAGS="$(STAGEprofile_TFLAGS)"; \
44886 $(NORMAL_TARGET_EXPORTS) \
44888 cd $(TARGET_SUBDIR)/libgomp && \
44889 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44890 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44891 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44892 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44893 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44894 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44895 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44896 $(EXTRA_TARGET_FLAGS) \
44897 TFLAGS="$(STAGEprofile_TFLAGS)" \
44898 $(TARGET-stageprofile-target-libgomp)
44900 maybe-clean-stageprofile-target-libgomp: clean-stageprofile-target-libgomp
44901 clean-stageprofile: clean-stageprofile-target-libgomp
44902 clean-stageprofile-target-libgomp:
44903 @if [ $(current_stage) = stageprofile ]; then \
44904 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
44905 else \
44906 [ -f $(TARGET_SUBDIR)/stageprofile-libgomp/Makefile ] || exit 0; \
44907 $(MAKE) stageprofile-start; \
44908 fi; \
44909 cd $(TARGET_SUBDIR)/libgomp && \
44910 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
44911 @endif target-libgomp-bootstrap
44914 .PHONY: all-stagefeedback-target-libgomp maybe-all-stagefeedback-target-libgomp
44915 .PHONY: clean-stagefeedback-target-libgomp maybe-clean-stagefeedback-target-libgomp
44916 maybe-all-stagefeedback-target-libgomp:
44917 maybe-clean-stagefeedback-target-libgomp:
44918 @if target-libgomp-bootstrap
44919 maybe-all-stagefeedback-target-libgomp: all-stagefeedback-target-libgomp
44920 all-stagefeedback: all-stagefeedback-target-libgomp
44921 TARGET-stagefeedback-target-libgomp = $(TARGET-target-libgomp)
44922 all-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
44923 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
44924 @r=`${PWD_COMMAND}`; export r; \
44925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44926 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
44927 $(NORMAL_TARGET_EXPORTS) \
44929 cd $(TARGET_SUBDIR)/libgomp && \
44930 $(MAKE) $(BASE_FLAGS_TO_PASS) \
44931 CFLAGS="$(CFLAGS_FOR_TARGET)" \
44932 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
44933 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
44934 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
44935 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
44936 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
44937 $(EXTRA_TARGET_FLAGS) \
44938 TFLAGS="$(STAGEfeedback_TFLAGS)" \
44939 $(TARGET-stagefeedback-target-libgomp)
44941 maybe-clean-stagefeedback-target-libgomp: clean-stagefeedback-target-libgomp
44942 clean-stagefeedback: clean-stagefeedback-target-libgomp
44943 clean-stagefeedback-target-libgomp:
44944 @if [ $(current_stage) = stagefeedback ]; then \
44945 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
44946 else \
44947 [ -f $(TARGET_SUBDIR)/stagefeedback-libgomp/Makefile ] || exit 0; \
44948 $(MAKE) stagefeedback-start; \
44949 fi; \
44950 cd $(TARGET_SUBDIR)/libgomp && \
44951 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
44952 @endif target-libgomp-bootstrap
44959 .PHONY: check-target-libgomp maybe-check-target-libgomp
44960 maybe-check-target-libgomp:
44961 @if target-libgomp
44962 maybe-check-target-libgomp: check-target-libgomp
44964 check-target-libgomp:
44965 @: $(MAKE); $(unstage)
44966 @r=`${PWD_COMMAND}`; export r; \
44967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44968 $(NORMAL_TARGET_EXPORTS) \
44969 (cd $(TARGET_SUBDIR)/libgomp && \
44970 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
44972 @endif target-libgomp
44974 .PHONY: install-target-libgomp maybe-install-target-libgomp
44975 maybe-install-target-libgomp:
44976 @if target-libgomp
44977 maybe-install-target-libgomp: install-target-libgomp
44979 install-target-libgomp: installdirs
44980 @: $(MAKE); $(unstage)
44981 @r=`${PWD_COMMAND}`; export r; \
44982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44983 $(NORMAL_TARGET_EXPORTS) \
44984 (cd $(TARGET_SUBDIR)/libgomp && \
44985 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
44987 @endif target-libgomp
44989 .PHONY: install-strip-target-libgomp maybe-install-strip-target-libgomp
44990 maybe-install-strip-target-libgomp:
44991 @if target-libgomp
44992 maybe-install-strip-target-libgomp: install-strip-target-libgomp
44994 install-strip-target-libgomp: installdirs
44995 @: $(MAKE); $(unstage)
44996 @r=`${PWD_COMMAND}`; export r; \
44997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
44998 $(NORMAL_TARGET_EXPORTS) \
44999 (cd $(TARGET_SUBDIR)/libgomp && \
45000 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
45002 @endif target-libgomp
45004 # Other targets (info, dvi, pdf, etc.)
45006 .PHONY: maybe-info-target-libgomp info-target-libgomp
45007 maybe-info-target-libgomp:
45008 @if target-libgomp
45009 maybe-info-target-libgomp: info-target-libgomp
45011 info-target-libgomp: \
45012 configure-target-libgomp
45013 @: $(MAKE); $(unstage)
45014 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
45015 r=`${PWD_COMMAND}`; export r; \
45016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45017 $(NORMAL_TARGET_EXPORTS) \
45018 echo "Doing info in $(TARGET_SUBDIR)/libgomp" ; \
45019 for flag in $(EXTRA_TARGET_FLAGS); do \
45020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45021 done; \
45022 (cd $(TARGET_SUBDIR)/libgomp && \
45023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45025 "RANLIB=$${RANLIB}" \
45026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45027 info) \
45028 || exit 1
45030 @endif target-libgomp
45032 .PHONY: maybe-dvi-target-libgomp dvi-target-libgomp
45033 maybe-dvi-target-libgomp:
45034 @if target-libgomp
45035 maybe-dvi-target-libgomp: dvi-target-libgomp
45037 dvi-target-libgomp: \
45038 configure-target-libgomp
45039 @: $(MAKE); $(unstage)
45040 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
45041 r=`${PWD_COMMAND}`; export r; \
45042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45043 $(NORMAL_TARGET_EXPORTS) \
45044 echo "Doing dvi in $(TARGET_SUBDIR)/libgomp" ; \
45045 for flag in $(EXTRA_TARGET_FLAGS); do \
45046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45047 done; \
45048 (cd $(TARGET_SUBDIR)/libgomp && \
45049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45051 "RANLIB=$${RANLIB}" \
45052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45053 dvi) \
45054 || exit 1
45056 @endif target-libgomp
45058 .PHONY: maybe-pdf-target-libgomp pdf-target-libgomp
45059 maybe-pdf-target-libgomp:
45060 @if target-libgomp
45061 maybe-pdf-target-libgomp: pdf-target-libgomp
45063 pdf-target-libgomp: \
45064 configure-target-libgomp
45065 @: $(MAKE); $(unstage)
45066 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
45067 r=`${PWD_COMMAND}`; export r; \
45068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45069 $(NORMAL_TARGET_EXPORTS) \
45070 echo "Doing pdf in $(TARGET_SUBDIR)/libgomp" ; \
45071 for flag in $(EXTRA_TARGET_FLAGS); do \
45072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45073 done; \
45074 (cd $(TARGET_SUBDIR)/libgomp && \
45075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45077 "RANLIB=$${RANLIB}" \
45078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45079 pdf) \
45080 || exit 1
45082 @endif target-libgomp
45084 .PHONY: maybe-html-target-libgomp html-target-libgomp
45085 maybe-html-target-libgomp:
45086 @if target-libgomp
45087 maybe-html-target-libgomp: html-target-libgomp
45089 html-target-libgomp: \
45090 configure-target-libgomp
45091 @: $(MAKE); $(unstage)
45092 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
45093 r=`${PWD_COMMAND}`; export r; \
45094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45095 $(NORMAL_TARGET_EXPORTS) \
45096 echo "Doing html in $(TARGET_SUBDIR)/libgomp" ; \
45097 for flag in $(EXTRA_TARGET_FLAGS); do \
45098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45099 done; \
45100 (cd $(TARGET_SUBDIR)/libgomp && \
45101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45103 "RANLIB=$${RANLIB}" \
45104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45105 html) \
45106 || exit 1
45108 @endif target-libgomp
45110 .PHONY: maybe-TAGS-target-libgomp TAGS-target-libgomp
45111 maybe-TAGS-target-libgomp:
45112 @if target-libgomp
45113 maybe-TAGS-target-libgomp: TAGS-target-libgomp
45115 TAGS-target-libgomp: \
45116 configure-target-libgomp
45117 @: $(MAKE); $(unstage)
45118 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
45119 r=`${PWD_COMMAND}`; export r; \
45120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45121 $(NORMAL_TARGET_EXPORTS) \
45122 echo "Doing TAGS in $(TARGET_SUBDIR)/libgomp" ; \
45123 for flag in $(EXTRA_TARGET_FLAGS); do \
45124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45125 done; \
45126 (cd $(TARGET_SUBDIR)/libgomp && \
45127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45129 "RANLIB=$${RANLIB}" \
45130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45131 TAGS) \
45132 || exit 1
45134 @endif target-libgomp
45136 .PHONY: maybe-install-info-target-libgomp install-info-target-libgomp
45137 maybe-install-info-target-libgomp:
45138 @if target-libgomp
45139 maybe-install-info-target-libgomp: install-info-target-libgomp
45141 install-info-target-libgomp: \
45142 configure-target-libgomp \
45143 info-target-libgomp
45144 @: $(MAKE); $(unstage)
45145 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
45146 r=`${PWD_COMMAND}`; export r; \
45147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45148 $(NORMAL_TARGET_EXPORTS) \
45149 echo "Doing install-info in $(TARGET_SUBDIR)/libgomp" ; \
45150 for flag in $(EXTRA_TARGET_FLAGS); do \
45151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45152 done; \
45153 (cd $(TARGET_SUBDIR)/libgomp && \
45154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45156 "RANLIB=$${RANLIB}" \
45157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45158 install-info) \
45159 || exit 1
45161 @endif target-libgomp
45163 .PHONY: maybe-install-pdf-target-libgomp install-pdf-target-libgomp
45164 maybe-install-pdf-target-libgomp:
45165 @if target-libgomp
45166 maybe-install-pdf-target-libgomp: install-pdf-target-libgomp
45168 install-pdf-target-libgomp: \
45169 configure-target-libgomp \
45170 pdf-target-libgomp
45171 @: $(MAKE); $(unstage)
45172 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
45173 r=`${PWD_COMMAND}`; export r; \
45174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45175 $(NORMAL_TARGET_EXPORTS) \
45176 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgomp" ; \
45177 for flag in $(EXTRA_TARGET_FLAGS); do \
45178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45179 done; \
45180 (cd $(TARGET_SUBDIR)/libgomp && \
45181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45183 "RANLIB=$${RANLIB}" \
45184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45185 install-pdf) \
45186 || exit 1
45188 @endif target-libgomp
45190 .PHONY: maybe-install-html-target-libgomp install-html-target-libgomp
45191 maybe-install-html-target-libgomp:
45192 @if target-libgomp
45193 maybe-install-html-target-libgomp: install-html-target-libgomp
45195 install-html-target-libgomp: \
45196 configure-target-libgomp \
45197 html-target-libgomp
45198 @: $(MAKE); $(unstage)
45199 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
45200 r=`${PWD_COMMAND}`; export r; \
45201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45202 $(NORMAL_TARGET_EXPORTS) \
45203 echo "Doing install-html in $(TARGET_SUBDIR)/libgomp" ; \
45204 for flag in $(EXTRA_TARGET_FLAGS); do \
45205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45206 done; \
45207 (cd $(TARGET_SUBDIR)/libgomp && \
45208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45210 "RANLIB=$${RANLIB}" \
45211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45212 install-html) \
45213 || exit 1
45215 @endif target-libgomp
45217 .PHONY: maybe-installcheck-target-libgomp installcheck-target-libgomp
45218 maybe-installcheck-target-libgomp:
45219 @if target-libgomp
45220 maybe-installcheck-target-libgomp: installcheck-target-libgomp
45222 installcheck-target-libgomp: \
45223 configure-target-libgomp
45224 @: $(MAKE); $(unstage)
45225 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
45226 r=`${PWD_COMMAND}`; export r; \
45227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45228 $(NORMAL_TARGET_EXPORTS) \
45229 echo "Doing installcheck in $(TARGET_SUBDIR)/libgomp" ; \
45230 for flag in $(EXTRA_TARGET_FLAGS); do \
45231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45232 done; \
45233 (cd $(TARGET_SUBDIR)/libgomp && \
45234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45236 "RANLIB=$${RANLIB}" \
45237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45238 installcheck) \
45239 || exit 1
45241 @endif target-libgomp
45243 .PHONY: maybe-mostlyclean-target-libgomp mostlyclean-target-libgomp
45244 maybe-mostlyclean-target-libgomp:
45245 @if target-libgomp
45246 maybe-mostlyclean-target-libgomp: mostlyclean-target-libgomp
45248 mostlyclean-target-libgomp:
45249 @: $(MAKE); $(unstage)
45250 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
45251 r=`${PWD_COMMAND}`; export r; \
45252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45253 $(NORMAL_TARGET_EXPORTS) \
45254 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgomp" ; \
45255 for flag in $(EXTRA_TARGET_FLAGS); do \
45256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45257 done; \
45258 (cd $(TARGET_SUBDIR)/libgomp && \
45259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45261 "RANLIB=$${RANLIB}" \
45262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45263 mostlyclean) \
45264 || exit 1
45266 @endif target-libgomp
45268 .PHONY: maybe-clean-target-libgomp clean-target-libgomp
45269 maybe-clean-target-libgomp:
45270 @if target-libgomp
45271 maybe-clean-target-libgomp: clean-target-libgomp
45273 clean-target-libgomp:
45274 @: $(MAKE); $(unstage)
45275 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
45276 r=`${PWD_COMMAND}`; export r; \
45277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45278 $(NORMAL_TARGET_EXPORTS) \
45279 echo "Doing clean in $(TARGET_SUBDIR)/libgomp" ; \
45280 for flag in $(EXTRA_TARGET_FLAGS); do \
45281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45282 done; \
45283 (cd $(TARGET_SUBDIR)/libgomp && \
45284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45286 "RANLIB=$${RANLIB}" \
45287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45288 clean) \
45289 || exit 1
45291 @endif target-libgomp
45293 .PHONY: maybe-distclean-target-libgomp distclean-target-libgomp
45294 maybe-distclean-target-libgomp:
45295 @if target-libgomp
45296 maybe-distclean-target-libgomp: distclean-target-libgomp
45298 distclean-target-libgomp:
45299 @: $(MAKE); $(unstage)
45300 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
45301 r=`${PWD_COMMAND}`; export r; \
45302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45303 $(NORMAL_TARGET_EXPORTS) \
45304 echo "Doing distclean in $(TARGET_SUBDIR)/libgomp" ; \
45305 for flag in $(EXTRA_TARGET_FLAGS); do \
45306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45307 done; \
45308 (cd $(TARGET_SUBDIR)/libgomp && \
45309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45311 "RANLIB=$${RANLIB}" \
45312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45313 distclean) \
45314 || exit 1
45316 @endif target-libgomp
45318 .PHONY: maybe-maintainer-clean-target-libgomp maintainer-clean-target-libgomp
45319 maybe-maintainer-clean-target-libgomp:
45320 @if target-libgomp
45321 maybe-maintainer-clean-target-libgomp: maintainer-clean-target-libgomp
45323 maintainer-clean-target-libgomp:
45324 @: $(MAKE); $(unstage)
45325 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
45326 r=`${PWD_COMMAND}`; export r; \
45327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45328 $(NORMAL_TARGET_EXPORTS) \
45329 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgomp" ; \
45330 for flag in $(EXTRA_TARGET_FLAGS); do \
45331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45332 done; \
45333 (cd $(TARGET_SUBDIR)/libgomp && \
45334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45336 "RANLIB=$${RANLIB}" \
45337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45338 maintainer-clean) \
45339 || exit 1
45341 @endif target-libgomp
45347 .PHONY: configure-target-libitm maybe-configure-target-libitm
45348 maybe-configure-target-libitm:
45349 @if gcc-bootstrap
45350 configure-target-libitm: stage_current
45351 @endif gcc-bootstrap
45352 @if target-libitm
45353 maybe-configure-target-libitm: configure-target-libitm
45354 configure-target-libitm:
45355 @: $(MAKE); $(unstage)
45356 @r=`${PWD_COMMAND}`; export r; \
45357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45358 echo "Checking multilib configuration for libitm..."; \
45359 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm ; \
45360 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libitm/multilib.tmp 2> /dev/null ; \
45361 if test -r $(TARGET_SUBDIR)/libitm/multilib.out; then \
45362 if cmp -s $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; then \
45363 rm -f $(TARGET_SUBDIR)/libitm/multilib.tmp; \
45364 else \
45365 rm -f $(TARGET_SUBDIR)/libitm/Makefile; \
45366 mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \
45367 fi; \
45368 else \
45369 mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \
45370 fi; \
45371 test ! -f $(TARGET_SUBDIR)/libitm/Makefile || exit 0; \
45372 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm ; \
45373 $(NORMAL_TARGET_EXPORTS) \
45374 echo Configuring in $(TARGET_SUBDIR)/libitm; \
45375 cd "$(TARGET_SUBDIR)/libitm" || exit 1; \
45376 case $(srcdir) in \
45377 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45378 *) topdir=`echo $(TARGET_SUBDIR)/libitm/ | \
45379 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45380 esac; \
45381 module_srcdir=libitm; \
45382 rm -f no-such-file || : ; \
45383 CONFIG_SITE=no-such-file $(SHELL) \
45384 $$s/$$module_srcdir/configure \
45385 --srcdir=$${topdir}/$$module_srcdir \
45386 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45387 --target=${target_alias} \
45388 || exit 1
45389 @endif target-libitm
45395 .PHONY: all-target-libitm maybe-all-target-libitm
45396 maybe-all-target-libitm:
45397 @if gcc-bootstrap
45398 all-target-libitm: stage_current
45399 @endif gcc-bootstrap
45400 @if target-libitm
45401 TARGET-target-libitm=all
45402 maybe-all-target-libitm: all-target-libitm
45403 all-target-libitm: configure-target-libitm
45404 @: $(MAKE); $(unstage)
45405 @r=`${PWD_COMMAND}`; export r; \
45406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45407 $(NORMAL_TARGET_EXPORTS) \
45408 (cd $(TARGET_SUBDIR)/libitm && \
45409 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
45410 $(TARGET-target-libitm))
45411 @endif target-libitm
45417 .PHONY: check-target-libitm maybe-check-target-libitm
45418 maybe-check-target-libitm:
45419 @if target-libitm
45420 maybe-check-target-libitm: check-target-libitm
45422 check-target-libitm:
45423 @: $(MAKE); $(unstage)
45424 @r=`${PWD_COMMAND}`; export r; \
45425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45426 $(NORMAL_TARGET_EXPORTS) \
45427 (cd $(TARGET_SUBDIR)/libitm && \
45428 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
45430 @endif target-libitm
45432 .PHONY: install-target-libitm maybe-install-target-libitm
45433 maybe-install-target-libitm:
45434 @if target-libitm
45435 maybe-install-target-libitm: install-target-libitm
45437 install-target-libitm: installdirs
45438 @: $(MAKE); $(unstage)
45439 @r=`${PWD_COMMAND}`; export r; \
45440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45441 $(NORMAL_TARGET_EXPORTS) \
45442 (cd $(TARGET_SUBDIR)/libitm && \
45443 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
45445 @endif target-libitm
45447 .PHONY: install-strip-target-libitm maybe-install-strip-target-libitm
45448 maybe-install-strip-target-libitm:
45449 @if target-libitm
45450 maybe-install-strip-target-libitm: install-strip-target-libitm
45452 install-strip-target-libitm: installdirs
45453 @: $(MAKE); $(unstage)
45454 @r=`${PWD_COMMAND}`; export r; \
45455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45456 $(NORMAL_TARGET_EXPORTS) \
45457 (cd $(TARGET_SUBDIR)/libitm && \
45458 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
45460 @endif target-libitm
45462 # Other targets (info, dvi, pdf, etc.)
45464 .PHONY: maybe-info-target-libitm info-target-libitm
45465 maybe-info-target-libitm:
45466 @if target-libitm
45467 maybe-info-target-libitm: info-target-libitm
45469 info-target-libitm: \
45470 configure-target-libitm
45471 @: $(MAKE); $(unstage)
45472 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
45473 r=`${PWD_COMMAND}`; export r; \
45474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45475 $(NORMAL_TARGET_EXPORTS) \
45476 echo "Doing info in $(TARGET_SUBDIR)/libitm" ; \
45477 for flag in $(EXTRA_TARGET_FLAGS); do \
45478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45479 done; \
45480 (cd $(TARGET_SUBDIR)/libitm && \
45481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45483 "RANLIB=$${RANLIB}" \
45484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45485 info) \
45486 || exit 1
45488 @endif target-libitm
45490 .PHONY: maybe-dvi-target-libitm dvi-target-libitm
45491 maybe-dvi-target-libitm:
45492 @if target-libitm
45493 maybe-dvi-target-libitm: dvi-target-libitm
45495 dvi-target-libitm: \
45496 configure-target-libitm
45497 @: $(MAKE); $(unstage)
45498 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
45499 r=`${PWD_COMMAND}`; export r; \
45500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45501 $(NORMAL_TARGET_EXPORTS) \
45502 echo "Doing dvi in $(TARGET_SUBDIR)/libitm" ; \
45503 for flag in $(EXTRA_TARGET_FLAGS); do \
45504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45505 done; \
45506 (cd $(TARGET_SUBDIR)/libitm && \
45507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45509 "RANLIB=$${RANLIB}" \
45510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45511 dvi) \
45512 || exit 1
45514 @endif target-libitm
45516 .PHONY: maybe-pdf-target-libitm pdf-target-libitm
45517 maybe-pdf-target-libitm:
45518 @if target-libitm
45519 maybe-pdf-target-libitm: pdf-target-libitm
45521 pdf-target-libitm: \
45522 configure-target-libitm
45523 @: $(MAKE); $(unstage)
45524 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
45525 r=`${PWD_COMMAND}`; export r; \
45526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45527 $(NORMAL_TARGET_EXPORTS) \
45528 echo "Doing pdf in $(TARGET_SUBDIR)/libitm" ; \
45529 for flag in $(EXTRA_TARGET_FLAGS); do \
45530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45531 done; \
45532 (cd $(TARGET_SUBDIR)/libitm && \
45533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45535 "RANLIB=$${RANLIB}" \
45536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45537 pdf) \
45538 || exit 1
45540 @endif target-libitm
45542 .PHONY: maybe-html-target-libitm html-target-libitm
45543 maybe-html-target-libitm:
45544 @if target-libitm
45545 maybe-html-target-libitm: html-target-libitm
45547 html-target-libitm: \
45548 configure-target-libitm
45549 @: $(MAKE); $(unstage)
45550 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
45551 r=`${PWD_COMMAND}`; export r; \
45552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45553 $(NORMAL_TARGET_EXPORTS) \
45554 echo "Doing html in $(TARGET_SUBDIR)/libitm" ; \
45555 for flag in $(EXTRA_TARGET_FLAGS); do \
45556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45557 done; \
45558 (cd $(TARGET_SUBDIR)/libitm && \
45559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45561 "RANLIB=$${RANLIB}" \
45562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45563 html) \
45564 || exit 1
45566 @endif target-libitm
45568 .PHONY: maybe-TAGS-target-libitm TAGS-target-libitm
45569 maybe-TAGS-target-libitm:
45570 @if target-libitm
45571 maybe-TAGS-target-libitm: TAGS-target-libitm
45573 TAGS-target-libitm: \
45574 configure-target-libitm
45575 @: $(MAKE); $(unstage)
45576 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
45577 r=`${PWD_COMMAND}`; export r; \
45578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45579 $(NORMAL_TARGET_EXPORTS) \
45580 echo "Doing TAGS in $(TARGET_SUBDIR)/libitm" ; \
45581 for flag in $(EXTRA_TARGET_FLAGS); do \
45582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45583 done; \
45584 (cd $(TARGET_SUBDIR)/libitm && \
45585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45587 "RANLIB=$${RANLIB}" \
45588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45589 TAGS) \
45590 || exit 1
45592 @endif target-libitm
45594 .PHONY: maybe-install-info-target-libitm install-info-target-libitm
45595 maybe-install-info-target-libitm:
45596 @if target-libitm
45597 maybe-install-info-target-libitm: install-info-target-libitm
45599 install-info-target-libitm: \
45600 configure-target-libitm \
45601 info-target-libitm
45602 @: $(MAKE); $(unstage)
45603 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
45604 r=`${PWD_COMMAND}`; export r; \
45605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45606 $(NORMAL_TARGET_EXPORTS) \
45607 echo "Doing install-info in $(TARGET_SUBDIR)/libitm" ; \
45608 for flag in $(EXTRA_TARGET_FLAGS); do \
45609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45610 done; \
45611 (cd $(TARGET_SUBDIR)/libitm && \
45612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45614 "RANLIB=$${RANLIB}" \
45615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45616 install-info) \
45617 || exit 1
45619 @endif target-libitm
45621 .PHONY: maybe-install-pdf-target-libitm install-pdf-target-libitm
45622 maybe-install-pdf-target-libitm:
45623 @if target-libitm
45624 maybe-install-pdf-target-libitm: install-pdf-target-libitm
45626 install-pdf-target-libitm: \
45627 configure-target-libitm \
45628 pdf-target-libitm
45629 @: $(MAKE); $(unstage)
45630 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
45631 r=`${PWD_COMMAND}`; export r; \
45632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45633 $(NORMAL_TARGET_EXPORTS) \
45634 echo "Doing install-pdf in $(TARGET_SUBDIR)/libitm" ; \
45635 for flag in $(EXTRA_TARGET_FLAGS); do \
45636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45637 done; \
45638 (cd $(TARGET_SUBDIR)/libitm && \
45639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45641 "RANLIB=$${RANLIB}" \
45642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45643 install-pdf) \
45644 || exit 1
45646 @endif target-libitm
45648 .PHONY: maybe-install-html-target-libitm install-html-target-libitm
45649 maybe-install-html-target-libitm:
45650 @if target-libitm
45651 maybe-install-html-target-libitm: install-html-target-libitm
45653 install-html-target-libitm: \
45654 configure-target-libitm \
45655 html-target-libitm
45656 @: $(MAKE); $(unstage)
45657 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
45658 r=`${PWD_COMMAND}`; export r; \
45659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45660 $(NORMAL_TARGET_EXPORTS) \
45661 echo "Doing install-html in $(TARGET_SUBDIR)/libitm" ; \
45662 for flag in $(EXTRA_TARGET_FLAGS); do \
45663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45664 done; \
45665 (cd $(TARGET_SUBDIR)/libitm && \
45666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45668 "RANLIB=$${RANLIB}" \
45669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45670 install-html) \
45671 || exit 1
45673 @endif target-libitm
45675 .PHONY: maybe-installcheck-target-libitm installcheck-target-libitm
45676 maybe-installcheck-target-libitm:
45677 @if target-libitm
45678 maybe-installcheck-target-libitm: installcheck-target-libitm
45680 installcheck-target-libitm: \
45681 configure-target-libitm
45682 @: $(MAKE); $(unstage)
45683 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
45684 r=`${PWD_COMMAND}`; export r; \
45685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45686 $(NORMAL_TARGET_EXPORTS) \
45687 echo "Doing installcheck in $(TARGET_SUBDIR)/libitm" ; \
45688 for flag in $(EXTRA_TARGET_FLAGS); do \
45689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45690 done; \
45691 (cd $(TARGET_SUBDIR)/libitm && \
45692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45694 "RANLIB=$${RANLIB}" \
45695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45696 installcheck) \
45697 || exit 1
45699 @endif target-libitm
45701 .PHONY: maybe-mostlyclean-target-libitm mostlyclean-target-libitm
45702 maybe-mostlyclean-target-libitm:
45703 @if target-libitm
45704 maybe-mostlyclean-target-libitm: mostlyclean-target-libitm
45706 mostlyclean-target-libitm:
45707 @: $(MAKE); $(unstage)
45708 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
45709 r=`${PWD_COMMAND}`; export r; \
45710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45711 $(NORMAL_TARGET_EXPORTS) \
45712 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libitm" ; \
45713 for flag in $(EXTRA_TARGET_FLAGS); do \
45714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45715 done; \
45716 (cd $(TARGET_SUBDIR)/libitm && \
45717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45719 "RANLIB=$${RANLIB}" \
45720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45721 mostlyclean) \
45722 || exit 1
45724 @endif target-libitm
45726 .PHONY: maybe-clean-target-libitm clean-target-libitm
45727 maybe-clean-target-libitm:
45728 @if target-libitm
45729 maybe-clean-target-libitm: clean-target-libitm
45731 clean-target-libitm:
45732 @: $(MAKE); $(unstage)
45733 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
45734 r=`${PWD_COMMAND}`; export r; \
45735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45736 $(NORMAL_TARGET_EXPORTS) \
45737 echo "Doing clean in $(TARGET_SUBDIR)/libitm" ; \
45738 for flag in $(EXTRA_TARGET_FLAGS); do \
45739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45740 done; \
45741 (cd $(TARGET_SUBDIR)/libitm && \
45742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45744 "RANLIB=$${RANLIB}" \
45745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45746 clean) \
45747 || exit 1
45749 @endif target-libitm
45751 .PHONY: maybe-distclean-target-libitm distclean-target-libitm
45752 maybe-distclean-target-libitm:
45753 @if target-libitm
45754 maybe-distclean-target-libitm: distclean-target-libitm
45756 distclean-target-libitm:
45757 @: $(MAKE); $(unstage)
45758 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
45759 r=`${PWD_COMMAND}`; export r; \
45760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45761 $(NORMAL_TARGET_EXPORTS) \
45762 echo "Doing distclean in $(TARGET_SUBDIR)/libitm" ; \
45763 for flag in $(EXTRA_TARGET_FLAGS); do \
45764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45765 done; \
45766 (cd $(TARGET_SUBDIR)/libitm && \
45767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45769 "RANLIB=$${RANLIB}" \
45770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45771 distclean) \
45772 || exit 1
45774 @endif target-libitm
45776 .PHONY: maybe-maintainer-clean-target-libitm maintainer-clean-target-libitm
45777 maybe-maintainer-clean-target-libitm:
45778 @if target-libitm
45779 maybe-maintainer-clean-target-libitm: maintainer-clean-target-libitm
45781 maintainer-clean-target-libitm:
45782 @: $(MAKE); $(unstage)
45783 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
45784 r=`${PWD_COMMAND}`; export r; \
45785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45786 $(NORMAL_TARGET_EXPORTS) \
45787 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libitm" ; \
45788 for flag in $(EXTRA_TARGET_FLAGS); do \
45789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45790 done; \
45791 (cd $(TARGET_SUBDIR)/libitm && \
45792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45794 "RANLIB=$${RANLIB}" \
45795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45796 maintainer-clean) \
45797 || exit 1
45799 @endif target-libitm
45805 .PHONY: configure-target-libatomic maybe-configure-target-libatomic
45806 maybe-configure-target-libatomic:
45807 @if gcc-bootstrap
45808 configure-target-libatomic: stage_current
45809 @endif gcc-bootstrap
45810 @if target-libatomic
45811 maybe-configure-target-libatomic: configure-target-libatomic
45812 configure-target-libatomic:
45813 @: $(MAKE); $(unstage)
45814 @r=`${PWD_COMMAND}`; export r; \
45815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45816 echo "Checking multilib configuration for libatomic..."; \
45817 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic ; \
45818 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libatomic/multilib.tmp 2> /dev/null ; \
45819 if test -r $(TARGET_SUBDIR)/libatomic/multilib.out; then \
45820 if cmp -s $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; then \
45821 rm -f $(TARGET_SUBDIR)/libatomic/multilib.tmp; \
45822 else \
45823 rm -f $(TARGET_SUBDIR)/libatomic/Makefile; \
45824 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
45825 fi; \
45826 else \
45827 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
45828 fi; \
45829 test ! -f $(TARGET_SUBDIR)/libatomic/Makefile || exit 0; \
45830 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic ; \
45831 $(NORMAL_TARGET_EXPORTS) \
45832 echo Configuring in $(TARGET_SUBDIR)/libatomic; \
45833 cd "$(TARGET_SUBDIR)/libatomic" || exit 1; \
45834 case $(srcdir) in \
45835 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
45836 *) topdir=`echo $(TARGET_SUBDIR)/libatomic/ | \
45837 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
45838 esac; \
45839 module_srcdir=libatomic; \
45840 rm -f no-such-file || : ; \
45841 CONFIG_SITE=no-such-file $(SHELL) \
45842 $$s/$$module_srcdir/configure \
45843 --srcdir=$${topdir}/$$module_srcdir \
45844 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
45845 --target=${target_alias} \
45846 || exit 1
45847 @endif target-libatomic
45853 .PHONY: all-target-libatomic maybe-all-target-libatomic
45854 maybe-all-target-libatomic:
45855 @if gcc-bootstrap
45856 all-target-libatomic: stage_current
45857 @endif gcc-bootstrap
45858 @if target-libatomic
45859 TARGET-target-libatomic=all
45860 maybe-all-target-libatomic: all-target-libatomic
45861 all-target-libatomic: configure-target-libatomic
45862 @: $(MAKE); $(unstage)
45863 @r=`${PWD_COMMAND}`; export r; \
45864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45865 $(NORMAL_TARGET_EXPORTS) \
45866 (cd $(TARGET_SUBDIR)/libatomic && \
45867 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
45868 $(TARGET-target-libatomic))
45869 @endif target-libatomic
45875 .PHONY: check-target-libatomic maybe-check-target-libatomic
45876 maybe-check-target-libatomic:
45877 @if target-libatomic
45878 maybe-check-target-libatomic: check-target-libatomic
45880 check-target-libatomic:
45881 @: $(MAKE); $(unstage)
45882 @r=`${PWD_COMMAND}`; export r; \
45883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45884 $(NORMAL_TARGET_EXPORTS) \
45885 (cd $(TARGET_SUBDIR)/libatomic && \
45886 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
45888 @endif target-libatomic
45890 .PHONY: install-target-libatomic maybe-install-target-libatomic
45891 maybe-install-target-libatomic:
45892 @if target-libatomic
45893 maybe-install-target-libatomic: install-target-libatomic
45895 install-target-libatomic: installdirs
45896 @: $(MAKE); $(unstage)
45897 @r=`${PWD_COMMAND}`; export r; \
45898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45899 $(NORMAL_TARGET_EXPORTS) \
45900 (cd $(TARGET_SUBDIR)/libatomic && \
45901 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
45903 @endif target-libatomic
45905 .PHONY: install-strip-target-libatomic maybe-install-strip-target-libatomic
45906 maybe-install-strip-target-libatomic:
45907 @if target-libatomic
45908 maybe-install-strip-target-libatomic: install-strip-target-libatomic
45910 install-strip-target-libatomic: installdirs
45911 @: $(MAKE); $(unstage)
45912 @r=`${PWD_COMMAND}`; export r; \
45913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45914 $(NORMAL_TARGET_EXPORTS) \
45915 (cd $(TARGET_SUBDIR)/libatomic && \
45916 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
45918 @endif target-libatomic
45920 # Other targets (info, dvi, pdf, etc.)
45922 .PHONY: maybe-info-target-libatomic info-target-libatomic
45923 maybe-info-target-libatomic:
45924 @if target-libatomic
45925 maybe-info-target-libatomic: info-target-libatomic
45927 info-target-libatomic: \
45928 configure-target-libatomic
45929 @: $(MAKE); $(unstage)
45930 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45931 r=`${PWD_COMMAND}`; export r; \
45932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45933 $(NORMAL_TARGET_EXPORTS) \
45934 echo "Doing info in $(TARGET_SUBDIR)/libatomic" ; \
45935 for flag in $(EXTRA_TARGET_FLAGS); do \
45936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45937 done; \
45938 (cd $(TARGET_SUBDIR)/libatomic && \
45939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45941 "RANLIB=$${RANLIB}" \
45942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45943 info) \
45944 || exit 1
45946 @endif target-libatomic
45948 .PHONY: maybe-dvi-target-libatomic dvi-target-libatomic
45949 maybe-dvi-target-libatomic:
45950 @if target-libatomic
45951 maybe-dvi-target-libatomic: dvi-target-libatomic
45953 dvi-target-libatomic: \
45954 configure-target-libatomic
45955 @: $(MAKE); $(unstage)
45956 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45957 r=`${PWD_COMMAND}`; export r; \
45958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45959 $(NORMAL_TARGET_EXPORTS) \
45960 echo "Doing dvi in $(TARGET_SUBDIR)/libatomic" ; \
45961 for flag in $(EXTRA_TARGET_FLAGS); do \
45962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45963 done; \
45964 (cd $(TARGET_SUBDIR)/libatomic && \
45965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45967 "RANLIB=$${RANLIB}" \
45968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45969 dvi) \
45970 || exit 1
45972 @endif target-libatomic
45974 .PHONY: maybe-pdf-target-libatomic pdf-target-libatomic
45975 maybe-pdf-target-libatomic:
45976 @if target-libatomic
45977 maybe-pdf-target-libatomic: pdf-target-libatomic
45979 pdf-target-libatomic: \
45980 configure-target-libatomic
45981 @: $(MAKE); $(unstage)
45982 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
45983 r=`${PWD_COMMAND}`; export r; \
45984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
45985 $(NORMAL_TARGET_EXPORTS) \
45986 echo "Doing pdf in $(TARGET_SUBDIR)/libatomic" ; \
45987 for flag in $(EXTRA_TARGET_FLAGS); do \
45988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
45989 done; \
45990 (cd $(TARGET_SUBDIR)/libatomic && \
45991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
45992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
45993 "RANLIB=$${RANLIB}" \
45994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
45995 pdf) \
45996 || exit 1
45998 @endif target-libatomic
46000 .PHONY: maybe-html-target-libatomic html-target-libatomic
46001 maybe-html-target-libatomic:
46002 @if target-libatomic
46003 maybe-html-target-libatomic: html-target-libatomic
46005 html-target-libatomic: \
46006 configure-target-libatomic
46007 @: $(MAKE); $(unstage)
46008 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
46009 r=`${PWD_COMMAND}`; export r; \
46010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46011 $(NORMAL_TARGET_EXPORTS) \
46012 echo "Doing html in $(TARGET_SUBDIR)/libatomic" ; \
46013 for flag in $(EXTRA_TARGET_FLAGS); do \
46014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46015 done; \
46016 (cd $(TARGET_SUBDIR)/libatomic && \
46017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46019 "RANLIB=$${RANLIB}" \
46020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46021 html) \
46022 || exit 1
46024 @endif target-libatomic
46026 .PHONY: maybe-TAGS-target-libatomic TAGS-target-libatomic
46027 maybe-TAGS-target-libatomic:
46028 @if target-libatomic
46029 maybe-TAGS-target-libatomic: TAGS-target-libatomic
46031 TAGS-target-libatomic: \
46032 configure-target-libatomic
46033 @: $(MAKE); $(unstage)
46034 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
46035 r=`${PWD_COMMAND}`; export r; \
46036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46037 $(NORMAL_TARGET_EXPORTS) \
46038 echo "Doing TAGS in $(TARGET_SUBDIR)/libatomic" ; \
46039 for flag in $(EXTRA_TARGET_FLAGS); do \
46040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46041 done; \
46042 (cd $(TARGET_SUBDIR)/libatomic && \
46043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46045 "RANLIB=$${RANLIB}" \
46046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46047 TAGS) \
46048 || exit 1
46050 @endif target-libatomic
46052 .PHONY: maybe-install-info-target-libatomic install-info-target-libatomic
46053 maybe-install-info-target-libatomic:
46054 @if target-libatomic
46055 maybe-install-info-target-libatomic: install-info-target-libatomic
46057 install-info-target-libatomic: \
46058 configure-target-libatomic \
46059 info-target-libatomic
46060 @: $(MAKE); $(unstage)
46061 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
46062 r=`${PWD_COMMAND}`; export r; \
46063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46064 $(NORMAL_TARGET_EXPORTS) \
46065 echo "Doing install-info in $(TARGET_SUBDIR)/libatomic" ; \
46066 for flag in $(EXTRA_TARGET_FLAGS); do \
46067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46068 done; \
46069 (cd $(TARGET_SUBDIR)/libatomic && \
46070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46072 "RANLIB=$${RANLIB}" \
46073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46074 install-info) \
46075 || exit 1
46077 @endif target-libatomic
46079 .PHONY: maybe-install-pdf-target-libatomic install-pdf-target-libatomic
46080 maybe-install-pdf-target-libatomic:
46081 @if target-libatomic
46082 maybe-install-pdf-target-libatomic: install-pdf-target-libatomic
46084 install-pdf-target-libatomic: \
46085 configure-target-libatomic \
46086 pdf-target-libatomic
46087 @: $(MAKE); $(unstage)
46088 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
46089 r=`${PWD_COMMAND}`; export r; \
46090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46091 $(NORMAL_TARGET_EXPORTS) \
46092 echo "Doing install-pdf in $(TARGET_SUBDIR)/libatomic" ; \
46093 for flag in $(EXTRA_TARGET_FLAGS); do \
46094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46095 done; \
46096 (cd $(TARGET_SUBDIR)/libatomic && \
46097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46099 "RANLIB=$${RANLIB}" \
46100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46101 install-pdf) \
46102 || exit 1
46104 @endif target-libatomic
46106 .PHONY: maybe-install-html-target-libatomic install-html-target-libatomic
46107 maybe-install-html-target-libatomic:
46108 @if target-libatomic
46109 maybe-install-html-target-libatomic: install-html-target-libatomic
46111 install-html-target-libatomic: \
46112 configure-target-libatomic \
46113 html-target-libatomic
46114 @: $(MAKE); $(unstage)
46115 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
46116 r=`${PWD_COMMAND}`; export r; \
46117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46118 $(NORMAL_TARGET_EXPORTS) \
46119 echo "Doing install-html in $(TARGET_SUBDIR)/libatomic" ; \
46120 for flag in $(EXTRA_TARGET_FLAGS); do \
46121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46122 done; \
46123 (cd $(TARGET_SUBDIR)/libatomic && \
46124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46126 "RANLIB=$${RANLIB}" \
46127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46128 install-html) \
46129 || exit 1
46131 @endif target-libatomic
46133 .PHONY: maybe-installcheck-target-libatomic installcheck-target-libatomic
46134 maybe-installcheck-target-libatomic:
46135 @if target-libatomic
46136 maybe-installcheck-target-libatomic: installcheck-target-libatomic
46138 installcheck-target-libatomic: \
46139 configure-target-libatomic
46140 @: $(MAKE); $(unstage)
46141 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
46142 r=`${PWD_COMMAND}`; export r; \
46143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46144 $(NORMAL_TARGET_EXPORTS) \
46145 echo "Doing installcheck in $(TARGET_SUBDIR)/libatomic" ; \
46146 for flag in $(EXTRA_TARGET_FLAGS); do \
46147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46148 done; \
46149 (cd $(TARGET_SUBDIR)/libatomic && \
46150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46152 "RANLIB=$${RANLIB}" \
46153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46154 installcheck) \
46155 || exit 1
46157 @endif target-libatomic
46159 .PHONY: maybe-mostlyclean-target-libatomic mostlyclean-target-libatomic
46160 maybe-mostlyclean-target-libatomic:
46161 @if target-libatomic
46162 maybe-mostlyclean-target-libatomic: mostlyclean-target-libatomic
46164 mostlyclean-target-libatomic:
46165 @: $(MAKE); $(unstage)
46166 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
46167 r=`${PWD_COMMAND}`; export r; \
46168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46169 $(NORMAL_TARGET_EXPORTS) \
46170 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libatomic" ; \
46171 for flag in $(EXTRA_TARGET_FLAGS); do \
46172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46173 done; \
46174 (cd $(TARGET_SUBDIR)/libatomic && \
46175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46177 "RANLIB=$${RANLIB}" \
46178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46179 mostlyclean) \
46180 || exit 1
46182 @endif target-libatomic
46184 .PHONY: maybe-clean-target-libatomic clean-target-libatomic
46185 maybe-clean-target-libatomic:
46186 @if target-libatomic
46187 maybe-clean-target-libatomic: clean-target-libatomic
46189 clean-target-libatomic:
46190 @: $(MAKE); $(unstage)
46191 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
46192 r=`${PWD_COMMAND}`; export r; \
46193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46194 $(NORMAL_TARGET_EXPORTS) \
46195 echo "Doing clean in $(TARGET_SUBDIR)/libatomic" ; \
46196 for flag in $(EXTRA_TARGET_FLAGS); do \
46197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46198 done; \
46199 (cd $(TARGET_SUBDIR)/libatomic && \
46200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46202 "RANLIB=$${RANLIB}" \
46203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46204 clean) \
46205 || exit 1
46207 @endif target-libatomic
46209 .PHONY: maybe-distclean-target-libatomic distclean-target-libatomic
46210 maybe-distclean-target-libatomic:
46211 @if target-libatomic
46212 maybe-distclean-target-libatomic: distclean-target-libatomic
46214 distclean-target-libatomic:
46215 @: $(MAKE); $(unstage)
46216 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
46217 r=`${PWD_COMMAND}`; export r; \
46218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46219 $(NORMAL_TARGET_EXPORTS) \
46220 echo "Doing distclean in $(TARGET_SUBDIR)/libatomic" ; \
46221 for flag in $(EXTRA_TARGET_FLAGS); do \
46222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46223 done; \
46224 (cd $(TARGET_SUBDIR)/libatomic && \
46225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46227 "RANLIB=$${RANLIB}" \
46228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46229 distclean) \
46230 || exit 1
46232 @endif target-libatomic
46234 .PHONY: maybe-maintainer-clean-target-libatomic maintainer-clean-target-libatomic
46235 maybe-maintainer-clean-target-libatomic:
46236 @if target-libatomic
46237 maybe-maintainer-clean-target-libatomic: maintainer-clean-target-libatomic
46239 maintainer-clean-target-libatomic:
46240 @: $(MAKE); $(unstage)
46241 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
46242 r=`${PWD_COMMAND}`; export r; \
46243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46244 $(NORMAL_TARGET_EXPORTS) \
46245 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libatomic" ; \
46246 for flag in $(EXTRA_TARGET_FLAGS); do \
46247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
46248 done; \
46249 (cd $(TARGET_SUBDIR)/libatomic && \
46250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
46251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
46252 "RANLIB=$${RANLIB}" \
46253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
46254 maintainer-clean) \
46255 || exit 1
46257 @endif target-libatomic
46261 @if target-libgomp
46262 .PHONY: check-target-libgomp-c++
46263 check-target-libgomp-c++:
46264 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libgomp
46266 @endif target-libgomp
46268 @if target-libitm
46269 .PHONY: check-target-libitm-c++
46270 check-target-libitm-c++:
46271 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libitm
46273 @endif target-libitm
46275 # ----------
46276 # GCC module
46277 # ----------
46279 @if gcc-no-bootstrap
46280 .PHONY: cross
46281 cross: all-build all-gas all-ld
46282 @r=`${PWD_COMMAND}`; export r; \
46283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46284 $(HOST_EXPORTS) \
46285 echo "Building the C and C++ compiler"; \
46286 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
46287 @r=`${PWD_COMMAND}`; export r; \
46288 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
46289 echo "Building runtime libraries"; \
46290 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
46291 @endif gcc-no-bootstrap
46293 @if gcc
46295 .PHONY: check-gcc-c check-c
46296 check-gcc-c:
46297 r=`${PWD_COMMAND}`; export r; \
46298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46299 $(HOST_EXPORTS) \
46300 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-gcc);
46301 check-c: check-gcc-c
46303 .PHONY: check-gcc-c++ check-c++
46304 check-gcc-c++:
46305 r=`${PWD_COMMAND}`; export r; \
46306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46307 $(HOST_EXPORTS) \
46308 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++);
46309 check-c++: check-gcc-c++ check-target-libstdc++-v3 check-target-libitm-c++ check-target-libgomp-c++
46311 .PHONY: check-gcc-fortran check-fortran
46312 check-gcc-fortran:
46313 r=`${PWD_COMMAND}`; export r; \
46314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46315 $(HOST_EXPORTS) \
46316 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-fortran);
46317 check-fortran: check-gcc-fortran check-target-libquadmath check-target-libgfortran
46319 .PHONY: check-gcc-java check-java
46320 check-gcc-java:
46321 r=`${PWD_COMMAND}`; export r; \
46322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46323 $(HOST_EXPORTS) \
46324 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-java);
46325 check-java: check-gcc-java check-target-libjava
46327 .PHONY: check-gcc-ada check-ada
46328 check-gcc-ada:
46329 r=`${PWD_COMMAND}`; export r; \
46330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46331 $(HOST_EXPORTS) \
46332 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-ada);
46333 check-ada: check-gcc-ada check-target-libada
46335 .PHONY: check-gcc-objc check-objc
46336 check-gcc-objc:
46337 r=`${PWD_COMMAND}`; export r; \
46338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46339 $(HOST_EXPORTS) \
46340 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-objc);
46341 check-objc: check-gcc-objc check-target-libobjc
46343 .PHONY: check-gcc-obj-c++ check-obj-c++
46344 check-gcc-obj-c++:
46345 r=`${PWD_COMMAND}`; export r; \
46346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46347 $(HOST_EXPORTS) \
46348 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-obj-c++);
46349 check-obj-c++: check-gcc-obj-c++
46351 .PHONY: check-gcc-go check-go
46352 check-gcc-go:
46353 r=`${PWD_COMMAND}`; export r; \
46354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46355 $(HOST_EXPORTS) \
46356 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-go);
46357 check-go: check-gcc-go check-target-libgo
46360 # The gcc part of install-no-fixedincludes, which relies on an intimate
46361 # knowledge of how a number of gcc internal targets (inter)operate. Delegate.
46362 .PHONY: gcc-install-no-fixedincludes
46363 gcc-install-no-fixedincludes:
46364 @if [ -f ./gcc/Makefile ]; then \
46365 r=`${PWD_COMMAND}`; export r; \
46366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46367 $(HOST_EXPORTS) \
46368 (cd ./gcc \
46369 && $(MAKE) $(GCC_FLAGS_TO_PASS) install-no-fixedincludes); \
46370 else true; fi
46371 @endif gcc
46373 # ---------------------
46374 # GCC bootstrap support
46375 # ---------------------
46377 # We track the current stage (the one in 'gcc') in the stage_current file.
46378 # stage_last instead tracks the stage that was built last. These targets
46379 # are dummy when toplevel bootstrap is not active.
46381 # While making host and target tools, symlinks to the final stage must be
46382 # there, so $(unstage) should be run at various points. To avoid excessive
46383 # recursive invocations of make, we "inline" them using a variable. These
46384 # must be referenced as ": $(MAKE) ; $(unstage)" rather than "$(unstage)"
46385 # to avoid warnings from the GNU Make job server.
46387 unstage = :
46388 stage = :
46389 current_stage = ""
46391 @if gcc-bootstrap
46392 unstage = if [ -f stage_last ]; then [ -f stage_current ] || $(MAKE) `cat stage_last`-start || exit 1; else :; fi
46393 stage = if [ -f stage_current ]; then $(MAKE) `cat stage_current`-end || exit 1; else :; fi
46394 current_stage = "`cat stage_current 2> /dev/null`"
46395 @endif gcc-bootstrap
46397 .PHONY: unstage stage
46398 unstage:
46399 @: $(MAKE); $(unstage)
46400 stage:
46401 @: $(MAKE); $(stage)
46403 # Disable commands for lean bootstrap.
46404 LEAN = false
46406 # We name the build directories for the various stages "stage1-gcc",
46407 # "stage2-gcc","stage3-gcc", etc.
46409 # Since the 'compare' process will fail (on debugging information) if any
46410 # directory names are different, we need to link the gcc directory for
46411 # the previous stage to a constant name ('prev-gcc'), and to make the name of
46412 # the build directories constant as well. For the latter, we use naked names
46413 # like 'gcc', because the scripts in that directory assume it. We use
46414 # mv on platforms where symlinks to directories do not work or are not
46415 # reliable.
46417 # 'touch' doesn't work right on some platforms.
46418 STAMP = echo timestamp >
46420 # We only want to compare .o files, so set this!
46421 objext = .o
46424 .PHONY: stage1-start stage1-end
46426 stage1-start::
46427 @: $(MAKE); $(stage); \
46428 echo stage1 > stage_current ; \
46429 echo stage1 > stage_last; \
46430 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
46431 @if bfd
46432 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
46433 mkdir stage1-bfd; \
46434 mv stage1-bfd bfd
46435 @endif bfd
46436 @if opcodes
46437 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
46438 mkdir stage1-opcodes; \
46439 mv stage1-opcodes opcodes
46440 @endif opcodes
46441 @if binutils
46442 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
46443 mkdir stage1-binutils; \
46444 mv stage1-binutils binutils
46445 @endif binutils
46446 @if fixincludes
46447 @cd $(HOST_SUBDIR); [ -d stage1-fixincludes ] || \
46448 mkdir stage1-fixincludes; \
46449 mv stage1-fixincludes fixincludes
46450 @endif fixincludes
46451 @if gas
46452 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
46453 mkdir stage1-gas; \
46454 mv stage1-gas gas
46455 @endif gas
46456 @if gcc
46457 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
46458 mkdir stage1-gcc; \
46459 mv stage1-gcc gcc
46460 @endif gcc
46461 @if gmp
46462 @cd $(HOST_SUBDIR); [ -d stage1-gmp ] || \
46463 mkdir stage1-gmp; \
46464 mv stage1-gmp gmp
46465 @endif gmp
46466 @if mpfr
46467 @cd $(HOST_SUBDIR); [ -d stage1-mpfr ] || \
46468 mkdir stage1-mpfr; \
46469 mv stage1-mpfr mpfr
46470 @endif mpfr
46471 @if mpc
46472 @cd $(HOST_SUBDIR); [ -d stage1-mpc ] || \
46473 mkdir stage1-mpc; \
46474 mv stage1-mpc mpc
46475 @endif mpc
46476 @if isl
46477 @cd $(HOST_SUBDIR); [ -d stage1-isl ] || \
46478 mkdir stage1-isl; \
46479 mv stage1-isl isl
46480 @endif isl
46481 @if libelf
46482 @cd $(HOST_SUBDIR); [ -d stage1-libelf ] || \
46483 mkdir stage1-libelf; \
46484 mv stage1-libelf libelf
46485 @endif libelf
46486 @if gold
46487 @cd $(HOST_SUBDIR); [ -d stage1-gold ] || \
46488 mkdir stage1-gold; \
46489 mv stage1-gold gold
46490 @endif gold
46491 @if intl
46492 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
46493 mkdir stage1-intl; \
46494 mv stage1-intl intl
46495 @endif intl
46496 @if ld
46497 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
46498 mkdir stage1-ld; \
46499 mv stage1-ld ld
46500 @endif ld
46501 @if libbacktrace
46502 @cd $(HOST_SUBDIR); [ -d stage1-libbacktrace ] || \
46503 mkdir stage1-libbacktrace; \
46504 mv stage1-libbacktrace libbacktrace
46505 @endif libbacktrace
46506 @if libcpp
46507 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
46508 mkdir stage1-libcpp; \
46509 mv stage1-libcpp libcpp
46510 @endif libcpp
46511 @if libdecnumber
46512 @cd $(HOST_SUBDIR); [ -d stage1-libdecnumber ] || \
46513 mkdir stage1-libdecnumber; \
46514 mv stage1-libdecnumber libdecnumber
46515 @endif libdecnumber
46516 @if libiberty
46517 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
46518 mkdir stage1-libiberty; \
46519 mv stage1-libiberty libiberty
46520 @endif libiberty
46521 @if libiberty-linker-plugin
46522 @cd $(HOST_SUBDIR); [ -d stage1-libiberty-linker-plugin ] || \
46523 mkdir stage1-libiberty-linker-plugin; \
46524 mv stage1-libiberty-linker-plugin libiberty-linker-plugin
46525 @endif libiberty-linker-plugin
46526 @if zlib
46527 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
46528 mkdir stage1-zlib; \
46529 mv stage1-zlib zlib
46530 @endif zlib
46531 @if lto-plugin
46532 @cd $(HOST_SUBDIR); [ -d stage1-lto-plugin ] || \
46533 mkdir stage1-lto-plugin; \
46534 mv stage1-lto-plugin lto-plugin
46535 @endif lto-plugin
46536 @[ -d stage1-$(TARGET_SUBDIR) ] || \
46537 mkdir stage1-$(TARGET_SUBDIR); \
46538 mv stage1-$(TARGET_SUBDIR) $(TARGET_SUBDIR)
46540 stage1-end::
46541 @if bfd
46542 @if test -d $(HOST_SUBDIR)/bfd ; then \
46543 cd $(HOST_SUBDIR); mv bfd stage1-bfd ; \
46545 @endif bfd
46546 @if opcodes
46547 @if test -d $(HOST_SUBDIR)/opcodes ; then \
46548 cd $(HOST_SUBDIR); mv opcodes stage1-opcodes ; \
46550 @endif opcodes
46551 @if binutils
46552 @if test -d $(HOST_SUBDIR)/binutils ; then \
46553 cd $(HOST_SUBDIR); mv binutils stage1-binutils ; \
46555 @endif binutils
46556 @if fixincludes
46557 @if test -d $(HOST_SUBDIR)/fixincludes ; then \
46558 cd $(HOST_SUBDIR); mv fixincludes stage1-fixincludes ; \
46560 @endif fixincludes
46561 @if gas
46562 @if test -d $(HOST_SUBDIR)/gas ; then \
46563 cd $(HOST_SUBDIR); mv gas stage1-gas ; \
46565 @endif gas
46566 @if gcc
46567 @if test -d $(HOST_SUBDIR)/gcc ; then \
46568 cd $(HOST_SUBDIR); mv gcc stage1-gcc ; \
46570 @endif gcc
46571 @if gmp
46572 @if test -d $(HOST_SUBDIR)/gmp ; then \
46573 cd $(HOST_SUBDIR); mv gmp stage1-gmp ; \
46575 @endif gmp
46576 @if mpfr
46577 @if test -d $(HOST_SUBDIR)/mpfr ; then \
46578 cd $(HOST_SUBDIR); mv mpfr stage1-mpfr ; \
46580 @endif mpfr
46581 @if mpc
46582 @if test -d $(HOST_SUBDIR)/mpc ; then \
46583 cd $(HOST_SUBDIR); mv mpc stage1-mpc ; \
46585 @endif mpc
46586 @if isl
46587 @if test -d $(HOST_SUBDIR)/isl ; then \
46588 cd $(HOST_SUBDIR); mv isl stage1-isl ; \
46590 @endif isl
46591 @if libelf
46592 @if test -d $(HOST_SUBDIR)/libelf ; then \
46593 cd $(HOST_SUBDIR); mv libelf stage1-libelf ; \
46595 @endif libelf
46596 @if gold
46597 @if test -d $(HOST_SUBDIR)/gold ; then \
46598 cd $(HOST_SUBDIR); mv gold stage1-gold ; \
46600 @endif gold
46601 @if intl
46602 @if test -d $(HOST_SUBDIR)/intl ; then \
46603 cd $(HOST_SUBDIR); mv intl stage1-intl ; \
46605 @endif intl
46606 @if ld
46607 @if test -d $(HOST_SUBDIR)/ld ; then \
46608 cd $(HOST_SUBDIR); mv ld stage1-ld ; \
46610 @endif ld
46611 @if libbacktrace
46612 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
46613 cd $(HOST_SUBDIR); mv libbacktrace stage1-libbacktrace ; \
46615 @endif libbacktrace
46616 @if libcpp
46617 @if test -d $(HOST_SUBDIR)/libcpp ; then \
46618 cd $(HOST_SUBDIR); mv libcpp stage1-libcpp ; \
46620 @endif libcpp
46621 @if libdecnumber
46622 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
46623 cd $(HOST_SUBDIR); mv libdecnumber stage1-libdecnumber ; \
46625 @endif libdecnumber
46626 @if libiberty
46627 @if test -d $(HOST_SUBDIR)/libiberty ; then \
46628 cd $(HOST_SUBDIR); mv libiberty stage1-libiberty ; \
46630 @endif libiberty
46631 @if libiberty-linker-plugin
46632 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin ; then \
46633 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage1-libiberty-linker-plugin ; \
46635 @endif libiberty-linker-plugin
46636 @if zlib
46637 @if test -d $(HOST_SUBDIR)/zlib ; then \
46638 cd $(HOST_SUBDIR); mv zlib stage1-zlib ; \
46640 @endif zlib
46641 @if lto-plugin
46642 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
46643 cd $(HOST_SUBDIR); mv lto-plugin stage1-lto-plugin ; \
46645 @endif lto-plugin
46646 @if test -d $(TARGET_SUBDIR) ; then \
46647 mv $(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; \
46649 rm -f stage_current
46651 # Bubble a bug fix through all the stages up to stage 1. They are
46652 # remade, but not reconfigured. The next stage (if any) will not be
46653 # reconfigured either.
46654 .PHONY: stage1-bubble
46655 stage1-bubble::
46656 @r=`${PWD_COMMAND}`; export r; \
46657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46658 if test -f stage1-lean ; then \
46659 echo Skipping rebuild of stage1 ; \
46660 else \
46661 $(MAKE) stage1-start; \
46662 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1; \
46665 .PHONY: all-stage1 clean-stage1
46666 do-clean: clean-stage1
46668 # FIXME: Will not need to be conditional when toplevel bootstrap is the
46669 # only possibility, but now it conflicts with no-bootstrap rules
46670 @if gcc-bootstrap
46675 # Rules to wipe a stage and all the following ones, also used for cleanstrap
46677 .PHONY: distclean-stage1
46678 distclean-stage1::
46679 @: $(MAKE); $(stage)
46680 @test "`cat stage_last`" != stage1 || rm -f stage_last
46681 rm -rf stage1-*
46684 @endif gcc-bootstrap
46687 .PHONY: stage2-start stage2-end
46689 stage2-start::
46690 @: $(MAKE); $(stage); \
46691 echo stage2 > stage_current ; \
46692 echo stage2 > stage_last; \
46693 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
46694 @if bfd
46695 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
46696 mkdir stage2-bfd; \
46697 mv stage2-bfd bfd ; \
46698 mv stage1-bfd prev-bfd || test -f stage1-lean
46699 @endif bfd
46700 @if opcodes
46701 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
46702 mkdir stage2-opcodes; \
46703 mv stage2-opcodes opcodes ; \
46704 mv stage1-opcodes prev-opcodes || test -f stage1-lean
46705 @endif opcodes
46706 @if binutils
46707 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
46708 mkdir stage2-binutils; \
46709 mv stage2-binutils binutils ; \
46710 mv stage1-binutils prev-binutils || test -f stage1-lean
46711 @endif binutils
46712 @if fixincludes
46713 @cd $(HOST_SUBDIR); [ -d stage2-fixincludes ] || \
46714 mkdir stage2-fixincludes; \
46715 mv stage2-fixincludes fixincludes ; \
46716 mv stage1-fixincludes prev-fixincludes || test -f stage1-lean
46717 @endif fixincludes
46718 @if gas
46719 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
46720 mkdir stage2-gas; \
46721 mv stage2-gas gas ; \
46722 mv stage1-gas prev-gas || test -f stage1-lean
46723 @endif gas
46724 @if gcc
46725 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
46726 mkdir stage2-gcc; \
46727 mv stage2-gcc gcc ; \
46728 mv stage1-gcc prev-gcc || test -f stage1-lean
46729 @endif gcc
46730 @if gmp
46731 @cd $(HOST_SUBDIR); [ -d stage2-gmp ] || \
46732 mkdir stage2-gmp; \
46733 mv stage2-gmp gmp ; \
46734 mv stage1-gmp prev-gmp || test -f stage1-lean
46735 @endif gmp
46736 @if mpfr
46737 @cd $(HOST_SUBDIR); [ -d stage2-mpfr ] || \
46738 mkdir stage2-mpfr; \
46739 mv stage2-mpfr mpfr ; \
46740 mv stage1-mpfr prev-mpfr || test -f stage1-lean
46741 @endif mpfr
46742 @if mpc
46743 @cd $(HOST_SUBDIR); [ -d stage2-mpc ] || \
46744 mkdir stage2-mpc; \
46745 mv stage2-mpc mpc ; \
46746 mv stage1-mpc prev-mpc || test -f stage1-lean
46747 @endif mpc
46748 @if isl
46749 @cd $(HOST_SUBDIR); [ -d stage2-isl ] || \
46750 mkdir stage2-isl; \
46751 mv stage2-isl isl ; \
46752 mv stage1-isl prev-isl || test -f stage1-lean
46753 @endif isl
46754 @if libelf
46755 @cd $(HOST_SUBDIR); [ -d stage2-libelf ] || \
46756 mkdir stage2-libelf; \
46757 mv stage2-libelf libelf ; \
46758 mv stage1-libelf prev-libelf || test -f stage1-lean
46759 @endif libelf
46760 @if gold
46761 @cd $(HOST_SUBDIR); [ -d stage2-gold ] || \
46762 mkdir stage2-gold; \
46763 mv stage2-gold gold ; \
46764 mv stage1-gold prev-gold || test -f stage1-lean
46765 @endif gold
46766 @if intl
46767 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
46768 mkdir stage2-intl; \
46769 mv stage2-intl intl ; \
46770 mv stage1-intl prev-intl || test -f stage1-lean
46771 @endif intl
46772 @if ld
46773 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
46774 mkdir stage2-ld; \
46775 mv stage2-ld ld ; \
46776 mv stage1-ld prev-ld || test -f stage1-lean
46777 @endif ld
46778 @if libbacktrace
46779 @cd $(HOST_SUBDIR); [ -d stage2-libbacktrace ] || \
46780 mkdir stage2-libbacktrace; \
46781 mv stage2-libbacktrace libbacktrace ; \
46782 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
46783 @endif libbacktrace
46784 @if libcpp
46785 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
46786 mkdir stage2-libcpp; \
46787 mv stage2-libcpp libcpp ; \
46788 mv stage1-libcpp prev-libcpp || test -f stage1-lean
46789 @endif libcpp
46790 @if libdecnumber
46791 @cd $(HOST_SUBDIR); [ -d stage2-libdecnumber ] || \
46792 mkdir stage2-libdecnumber; \
46793 mv stage2-libdecnumber libdecnumber ; \
46794 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
46795 @endif libdecnumber
46796 @if libiberty
46797 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
46798 mkdir stage2-libiberty; \
46799 mv stage2-libiberty libiberty ; \
46800 mv stage1-libiberty prev-libiberty || test -f stage1-lean
46801 @endif libiberty
46802 @if libiberty-linker-plugin
46803 @cd $(HOST_SUBDIR); [ -d stage2-libiberty-linker-plugin ] || \
46804 mkdir stage2-libiberty-linker-plugin; \
46805 mv stage2-libiberty-linker-plugin libiberty-linker-plugin ; \
46806 mv stage1-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage1-lean
46807 @endif libiberty-linker-plugin
46808 @if zlib
46809 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
46810 mkdir stage2-zlib; \
46811 mv stage2-zlib zlib ; \
46812 mv stage1-zlib prev-zlib || test -f stage1-lean
46813 @endif zlib
46814 @if lto-plugin
46815 @cd $(HOST_SUBDIR); [ -d stage2-lto-plugin ] || \
46816 mkdir stage2-lto-plugin; \
46817 mv stage2-lto-plugin lto-plugin ; \
46818 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
46819 @endif lto-plugin
46820 @[ -d stage2-$(TARGET_SUBDIR) ] || \
46821 mkdir stage2-$(TARGET_SUBDIR); \
46822 mv stage2-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
46823 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
46825 stage2-end::
46826 @if bfd
46827 @if test -d $(HOST_SUBDIR)/bfd ; then \
46828 cd $(HOST_SUBDIR); mv bfd stage2-bfd ; \
46829 mv prev-bfd stage1-bfd ; : ; \
46831 @endif bfd
46832 @if opcodes
46833 @if test -d $(HOST_SUBDIR)/opcodes ; then \
46834 cd $(HOST_SUBDIR); mv opcodes stage2-opcodes ; \
46835 mv prev-opcodes stage1-opcodes ; : ; \
46837 @endif opcodes
46838 @if binutils
46839 @if test -d $(HOST_SUBDIR)/binutils ; then \
46840 cd $(HOST_SUBDIR); mv binutils stage2-binutils ; \
46841 mv prev-binutils stage1-binutils ; : ; \
46843 @endif binutils
46844 @if fixincludes
46845 @if test -d $(HOST_SUBDIR)/fixincludes ; then \
46846 cd $(HOST_SUBDIR); mv fixincludes stage2-fixincludes ; \
46847 mv prev-fixincludes stage1-fixincludes ; : ; \
46849 @endif fixincludes
46850 @if gas
46851 @if test -d $(HOST_SUBDIR)/gas ; then \
46852 cd $(HOST_SUBDIR); mv gas stage2-gas ; \
46853 mv prev-gas stage1-gas ; : ; \
46855 @endif gas
46856 @if gcc
46857 @if test -d $(HOST_SUBDIR)/gcc ; then \
46858 cd $(HOST_SUBDIR); mv gcc stage2-gcc ; \
46859 mv prev-gcc stage1-gcc ; : ; \
46861 @endif gcc
46862 @if gmp
46863 @if test -d $(HOST_SUBDIR)/gmp ; then \
46864 cd $(HOST_SUBDIR); mv gmp stage2-gmp ; \
46865 mv prev-gmp stage1-gmp ; : ; \
46867 @endif gmp
46868 @if mpfr
46869 @if test -d $(HOST_SUBDIR)/mpfr ; then \
46870 cd $(HOST_SUBDIR); mv mpfr stage2-mpfr ; \
46871 mv prev-mpfr stage1-mpfr ; : ; \
46873 @endif mpfr
46874 @if mpc
46875 @if test -d $(HOST_SUBDIR)/mpc ; then \
46876 cd $(HOST_SUBDIR); mv mpc stage2-mpc ; \
46877 mv prev-mpc stage1-mpc ; : ; \
46879 @endif mpc
46880 @if isl
46881 @if test -d $(HOST_SUBDIR)/isl ; then \
46882 cd $(HOST_SUBDIR); mv isl stage2-isl ; \
46883 mv prev-isl stage1-isl ; : ; \
46885 @endif isl
46886 @if libelf
46887 @if test -d $(HOST_SUBDIR)/libelf ; then \
46888 cd $(HOST_SUBDIR); mv libelf stage2-libelf ; \
46889 mv prev-libelf stage1-libelf ; : ; \
46891 @endif libelf
46892 @if gold
46893 @if test -d $(HOST_SUBDIR)/gold ; then \
46894 cd $(HOST_SUBDIR); mv gold stage2-gold ; \
46895 mv prev-gold stage1-gold ; : ; \
46897 @endif gold
46898 @if intl
46899 @if test -d $(HOST_SUBDIR)/intl ; then \
46900 cd $(HOST_SUBDIR); mv intl stage2-intl ; \
46901 mv prev-intl stage1-intl ; : ; \
46903 @endif intl
46904 @if ld
46905 @if test -d $(HOST_SUBDIR)/ld ; then \
46906 cd $(HOST_SUBDIR); mv ld stage2-ld ; \
46907 mv prev-ld stage1-ld ; : ; \
46909 @endif ld
46910 @if libbacktrace
46911 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
46912 cd $(HOST_SUBDIR); mv libbacktrace stage2-libbacktrace ; \
46913 mv prev-libbacktrace stage1-libbacktrace ; : ; \
46915 @endif libbacktrace
46916 @if libcpp
46917 @if test -d $(HOST_SUBDIR)/libcpp ; then \
46918 cd $(HOST_SUBDIR); mv libcpp stage2-libcpp ; \
46919 mv prev-libcpp stage1-libcpp ; : ; \
46921 @endif libcpp
46922 @if libdecnumber
46923 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
46924 cd $(HOST_SUBDIR); mv libdecnumber stage2-libdecnumber ; \
46925 mv prev-libdecnumber stage1-libdecnumber ; : ; \
46927 @endif libdecnumber
46928 @if libiberty
46929 @if test -d $(HOST_SUBDIR)/libiberty ; then \
46930 cd $(HOST_SUBDIR); mv libiberty stage2-libiberty ; \
46931 mv prev-libiberty stage1-libiberty ; : ; \
46933 @endif libiberty
46934 @if libiberty-linker-plugin
46935 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin ; then \
46936 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage2-libiberty-linker-plugin ; \
46937 mv prev-libiberty-linker-plugin stage1-libiberty-linker-plugin ; : ; \
46939 @endif libiberty-linker-plugin
46940 @if zlib
46941 @if test -d $(HOST_SUBDIR)/zlib ; then \
46942 cd $(HOST_SUBDIR); mv zlib stage2-zlib ; \
46943 mv prev-zlib stage1-zlib ; : ; \
46945 @endif zlib
46946 @if lto-plugin
46947 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
46948 cd $(HOST_SUBDIR); mv lto-plugin stage2-lto-plugin ; \
46949 mv prev-lto-plugin stage1-lto-plugin ; : ; \
46951 @endif lto-plugin
46952 @if test -d $(TARGET_SUBDIR) ; then \
46953 mv $(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; \
46954 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
46956 rm -f stage_current
46958 # Bubble a bug fix through all the stages up to stage 2. They are
46959 # remade, but not reconfigured. The next stage (if any) will not be
46960 # reconfigured either.
46961 .PHONY: stage2-bubble
46962 stage2-bubble:: stage1-bubble
46963 @r=`${PWD_COMMAND}`; export r; \
46964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46965 if test -f stage2-lean || test -f stage1-lean ; then \
46966 echo Skipping rebuild of stage2 ; \
46967 else \
46968 $(MAKE) stage2-start; \
46969 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2; \
46972 .PHONY: all-stage2 clean-stage2
46973 do-clean: clean-stage2
46975 # FIXME: Will not need to be conditional when toplevel bootstrap is the
46976 # only possibility, but now it conflicts with no-bootstrap rules
46977 @if gcc-bootstrap
46981 .PHONY: bootstrap2 bootstrap2-lean
46982 bootstrap2:
46983 echo stage2 > stage_final
46984 @r=`${PWD_COMMAND}`; export r; \
46985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46986 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble
46987 @: $(MAKE); $(unstage)
46988 @r=`${PWD_COMMAND}`; export r; \
46989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46990 TFLAGS="$(STAGE2_TFLAGS)"; \
46991 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
46993 bootstrap2-lean:
46994 echo stage2 > stage_final
46995 @r=`${PWD_COMMAND}`; export r; \
46996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
46997 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage2-bubble
46998 @: $(MAKE); $(unstage)
46999 @r=`${PWD_COMMAND}`; export r; \
47000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47001 TFLAGS="$(STAGE2_TFLAGS)"; \
47002 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
47005 # Rules to wipe a stage and all the following ones, also used for cleanstrap
47006 distclean-stage1:: distclean-stage2
47007 .PHONY: distclean-stage2
47008 distclean-stage2::
47009 @: $(MAKE); $(stage)
47010 @test "`cat stage_last`" != stage2 || rm -f stage_last
47011 rm -rf stage2-*
47014 @endif gcc-bootstrap
47017 .PHONY: stage3-start stage3-end
47019 stage3-start::
47020 @: $(MAKE); $(stage); \
47021 echo stage3 > stage_current ; \
47022 echo stage3 > stage_last; \
47023 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
47024 @if bfd
47025 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
47026 mkdir stage3-bfd; \
47027 mv stage3-bfd bfd ; \
47028 mv stage2-bfd prev-bfd || test -f stage2-lean
47029 @endif bfd
47030 @if opcodes
47031 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
47032 mkdir stage3-opcodes; \
47033 mv stage3-opcodes opcodes ; \
47034 mv stage2-opcodes prev-opcodes || test -f stage2-lean
47035 @endif opcodes
47036 @if binutils
47037 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
47038 mkdir stage3-binutils; \
47039 mv stage3-binutils binutils ; \
47040 mv stage2-binutils prev-binutils || test -f stage2-lean
47041 @endif binutils
47042 @if fixincludes
47043 @cd $(HOST_SUBDIR); [ -d stage3-fixincludes ] || \
47044 mkdir stage3-fixincludes; \
47045 mv stage3-fixincludes fixincludes ; \
47046 mv stage2-fixincludes prev-fixincludes || test -f stage2-lean
47047 @endif fixincludes
47048 @if gas
47049 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
47050 mkdir stage3-gas; \
47051 mv stage3-gas gas ; \
47052 mv stage2-gas prev-gas || test -f stage2-lean
47053 @endif gas
47054 @if gcc
47055 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
47056 mkdir stage3-gcc; \
47057 mv stage3-gcc gcc ; \
47058 mv stage2-gcc prev-gcc || test -f stage2-lean
47059 @endif gcc
47060 @if gmp
47061 @cd $(HOST_SUBDIR); [ -d stage3-gmp ] || \
47062 mkdir stage3-gmp; \
47063 mv stage3-gmp gmp ; \
47064 mv stage2-gmp prev-gmp || test -f stage2-lean
47065 @endif gmp
47066 @if mpfr
47067 @cd $(HOST_SUBDIR); [ -d stage3-mpfr ] || \
47068 mkdir stage3-mpfr; \
47069 mv stage3-mpfr mpfr ; \
47070 mv stage2-mpfr prev-mpfr || test -f stage2-lean
47071 @endif mpfr
47072 @if mpc
47073 @cd $(HOST_SUBDIR); [ -d stage3-mpc ] || \
47074 mkdir stage3-mpc; \
47075 mv stage3-mpc mpc ; \
47076 mv stage2-mpc prev-mpc || test -f stage2-lean
47077 @endif mpc
47078 @if isl
47079 @cd $(HOST_SUBDIR); [ -d stage3-isl ] || \
47080 mkdir stage3-isl; \
47081 mv stage3-isl isl ; \
47082 mv stage2-isl prev-isl || test -f stage2-lean
47083 @endif isl
47084 @if libelf
47085 @cd $(HOST_SUBDIR); [ -d stage3-libelf ] || \
47086 mkdir stage3-libelf; \
47087 mv stage3-libelf libelf ; \
47088 mv stage2-libelf prev-libelf || test -f stage2-lean
47089 @endif libelf
47090 @if gold
47091 @cd $(HOST_SUBDIR); [ -d stage3-gold ] || \
47092 mkdir stage3-gold; \
47093 mv stage3-gold gold ; \
47094 mv stage2-gold prev-gold || test -f stage2-lean
47095 @endif gold
47096 @if intl
47097 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
47098 mkdir stage3-intl; \
47099 mv stage3-intl intl ; \
47100 mv stage2-intl prev-intl || test -f stage2-lean
47101 @endif intl
47102 @if ld
47103 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
47104 mkdir stage3-ld; \
47105 mv stage3-ld ld ; \
47106 mv stage2-ld prev-ld || test -f stage2-lean
47107 @endif ld
47108 @if libbacktrace
47109 @cd $(HOST_SUBDIR); [ -d stage3-libbacktrace ] || \
47110 mkdir stage3-libbacktrace; \
47111 mv stage3-libbacktrace libbacktrace ; \
47112 mv stage2-libbacktrace prev-libbacktrace || test -f stage2-lean
47113 @endif libbacktrace
47114 @if libcpp
47115 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
47116 mkdir stage3-libcpp; \
47117 mv stage3-libcpp libcpp ; \
47118 mv stage2-libcpp prev-libcpp || test -f stage2-lean
47119 @endif libcpp
47120 @if libdecnumber
47121 @cd $(HOST_SUBDIR); [ -d stage3-libdecnumber ] || \
47122 mkdir stage3-libdecnumber; \
47123 mv stage3-libdecnumber libdecnumber ; \
47124 mv stage2-libdecnumber prev-libdecnumber || test -f stage2-lean
47125 @endif libdecnumber
47126 @if libiberty
47127 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
47128 mkdir stage3-libiberty; \
47129 mv stage3-libiberty libiberty ; \
47130 mv stage2-libiberty prev-libiberty || test -f stage2-lean
47131 @endif libiberty
47132 @if libiberty-linker-plugin
47133 @cd $(HOST_SUBDIR); [ -d stage3-libiberty-linker-plugin ] || \
47134 mkdir stage3-libiberty-linker-plugin; \
47135 mv stage3-libiberty-linker-plugin libiberty-linker-plugin ; \
47136 mv stage2-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage2-lean
47137 @endif libiberty-linker-plugin
47138 @if zlib
47139 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
47140 mkdir stage3-zlib; \
47141 mv stage3-zlib zlib ; \
47142 mv stage2-zlib prev-zlib || test -f stage2-lean
47143 @endif zlib
47144 @if lto-plugin
47145 @cd $(HOST_SUBDIR); [ -d stage3-lto-plugin ] || \
47146 mkdir stage3-lto-plugin; \
47147 mv stage3-lto-plugin lto-plugin ; \
47148 mv stage2-lto-plugin prev-lto-plugin || test -f stage2-lean
47149 @endif lto-plugin
47150 @[ -d stage3-$(TARGET_SUBDIR) ] || \
47151 mkdir stage3-$(TARGET_SUBDIR); \
47152 mv stage3-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
47153 mv stage2-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage2-lean
47155 stage3-end::
47156 @if bfd
47157 @if test -d $(HOST_SUBDIR)/bfd ; then \
47158 cd $(HOST_SUBDIR); mv bfd stage3-bfd ; \
47159 mv prev-bfd stage2-bfd ; : ; \
47161 @endif bfd
47162 @if opcodes
47163 @if test -d $(HOST_SUBDIR)/opcodes ; then \
47164 cd $(HOST_SUBDIR); mv opcodes stage3-opcodes ; \
47165 mv prev-opcodes stage2-opcodes ; : ; \
47167 @endif opcodes
47168 @if binutils
47169 @if test -d $(HOST_SUBDIR)/binutils ; then \
47170 cd $(HOST_SUBDIR); mv binutils stage3-binutils ; \
47171 mv prev-binutils stage2-binutils ; : ; \
47173 @endif binutils
47174 @if fixincludes
47175 @if test -d $(HOST_SUBDIR)/fixincludes ; then \
47176 cd $(HOST_SUBDIR); mv fixincludes stage3-fixincludes ; \
47177 mv prev-fixincludes stage2-fixincludes ; : ; \
47179 @endif fixincludes
47180 @if gas
47181 @if test -d $(HOST_SUBDIR)/gas ; then \
47182 cd $(HOST_SUBDIR); mv gas stage3-gas ; \
47183 mv prev-gas stage2-gas ; : ; \
47185 @endif gas
47186 @if gcc
47187 @if test -d $(HOST_SUBDIR)/gcc ; then \
47188 cd $(HOST_SUBDIR); mv gcc stage3-gcc ; \
47189 mv prev-gcc stage2-gcc ; : ; \
47191 @endif gcc
47192 @if gmp
47193 @if test -d $(HOST_SUBDIR)/gmp ; then \
47194 cd $(HOST_SUBDIR); mv gmp stage3-gmp ; \
47195 mv prev-gmp stage2-gmp ; : ; \
47197 @endif gmp
47198 @if mpfr
47199 @if test -d $(HOST_SUBDIR)/mpfr ; then \
47200 cd $(HOST_SUBDIR); mv mpfr stage3-mpfr ; \
47201 mv prev-mpfr stage2-mpfr ; : ; \
47203 @endif mpfr
47204 @if mpc
47205 @if test -d $(HOST_SUBDIR)/mpc ; then \
47206 cd $(HOST_SUBDIR); mv mpc stage3-mpc ; \
47207 mv prev-mpc stage2-mpc ; : ; \
47209 @endif mpc
47210 @if isl
47211 @if test -d $(HOST_SUBDIR)/isl ; then \
47212 cd $(HOST_SUBDIR); mv isl stage3-isl ; \
47213 mv prev-isl stage2-isl ; : ; \
47215 @endif isl
47216 @if libelf
47217 @if test -d $(HOST_SUBDIR)/libelf ; then \
47218 cd $(HOST_SUBDIR); mv libelf stage3-libelf ; \
47219 mv prev-libelf stage2-libelf ; : ; \
47221 @endif libelf
47222 @if gold
47223 @if test -d $(HOST_SUBDIR)/gold ; then \
47224 cd $(HOST_SUBDIR); mv gold stage3-gold ; \
47225 mv prev-gold stage2-gold ; : ; \
47227 @endif gold
47228 @if intl
47229 @if test -d $(HOST_SUBDIR)/intl ; then \
47230 cd $(HOST_SUBDIR); mv intl stage3-intl ; \
47231 mv prev-intl stage2-intl ; : ; \
47233 @endif intl
47234 @if ld
47235 @if test -d $(HOST_SUBDIR)/ld ; then \
47236 cd $(HOST_SUBDIR); mv ld stage3-ld ; \
47237 mv prev-ld stage2-ld ; : ; \
47239 @endif ld
47240 @if libbacktrace
47241 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
47242 cd $(HOST_SUBDIR); mv libbacktrace stage3-libbacktrace ; \
47243 mv prev-libbacktrace stage2-libbacktrace ; : ; \
47245 @endif libbacktrace
47246 @if libcpp
47247 @if test -d $(HOST_SUBDIR)/libcpp ; then \
47248 cd $(HOST_SUBDIR); mv libcpp stage3-libcpp ; \
47249 mv prev-libcpp stage2-libcpp ; : ; \
47251 @endif libcpp
47252 @if libdecnumber
47253 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
47254 cd $(HOST_SUBDIR); mv libdecnumber stage3-libdecnumber ; \
47255 mv prev-libdecnumber stage2-libdecnumber ; : ; \
47257 @endif libdecnumber
47258 @if libiberty
47259 @if test -d $(HOST_SUBDIR)/libiberty ; then \
47260 cd $(HOST_SUBDIR); mv libiberty stage3-libiberty ; \
47261 mv prev-libiberty stage2-libiberty ; : ; \
47263 @endif libiberty
47264 @if libiberty-linker-plugin
47265 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin ; then \
47266 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage3-libiberty-linker-plugin ; \
47267 mv prev-libiberty-linker-plugin stage2-libiberty-linker-plugin ; : ; \
47269 @endif libiberty-linker-plugin
47270 @if zlib
47271 @if test -d $(HOST_SUBDIR)/zlib ; then \
47272 cd $(HOST_SUBDIR); mv zlib stage3-zlib ; \
47273 mv prev-zlib stage2-zlib ; : ; \
47275 @endif zlib
47276 @if lto-plugin
47277 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
47278 cd $(HOST_SUBDIR); mv lto-plugin stage3-lto-plugin ; \
47279 mv prev-lto-plugin stage2-lto-plugin ; : ; \
47281 @endif lto-plugin
47282 @if test -d $(TARGET_SUBDIR) ; then \
47283 mv $(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; \
47284 mv prev-$(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; : ; \
47286 rm -f stage_current
47288 # Bubble a bug fix through all the stages up to stage 3. They are
47289 # remade, but not reconfigured. The next stage (if any) will not be
47290 # reconfigured either.
47291 .PHONY: stage3-bubble
47292 stage3-bubble:: stage2-bubble
47293 @r=`${PWD_COMMAND}`; export r; \
47294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47295 if test -f stage3-lean || test -f stage2-lean ; then \
47296 echo Skipping rebuild of stage3 ; \
47297 else \
47298 $(MAKE) stage3-start; \
47299 if $(LEAN); then \
47300 rm -rf stage1-* ; \
47301 $(STAMP) stage1-lean ; \
47302 fi; \
47303 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3; \
47305 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare
47307 .PHONY: all-stage3 clean-stage3
47308 do-clean: clean-stage3
47310 # FIXME: Will not need to be conditional when toplevel bootstrap is the
47311 # only possibility, but now it conflicts with no-bootstrap rules
47312 @if gcc-bootstrap
47314 compare:
47315 @r=`${PWD_COMMAND}`; export r; \
47316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47317 if test -f stage2-lean; then \
47318 echo Cannot compare object files as stage 2 was deleted. ; \
47319 exit 0 ; \
47320 fi; \
47321 : $(MAKE); $(stage); \
47322 rm -f .bad_compare ; \
47323 echo Comparing stages 2 and 3 ; \
47324 sed=`echo stage3 | sed 's,^stage,,;s,.,.,g'`; \
47325 files=`find stage3-* -name "*$(objext)" -print | \
47326 sed -n s,^stage$$sed-,,p` ; \
47327 for file in $${files} ; do \
47328 f1=$$r/stage2-$$file; f2=$$r/stage3-$$file; \
47329 if test ! -f $$f1; then continue; fi; \
47330 $(do-compare) > /dev/null 2>&1; \
47331 if test $$? -eq 1; then \
47332 case $$file in \
47333 @compare_exclusions@) \
47334 echo warning: $$file differs ;; \
47335 *) \
47336 echo $$file differs >> .bad_compare ;; \
47337 esac ; \
47338 fi ; \
47339 done ; \
47340 if [ -f .bad_compare ]; then \
47341 echo "Bootstrap comparison failure!"; \
47342 cat .bad_compare; \
47343 exit 1; \
47344 else \
47345 echo Comparison successful.; \
47346 fi ; \
47347 $(STAMP) compare
47348 if $(LEAN); then \
47349 rm -rf stage2-*; \
47350 $(STAMP) stage2-lean; \
47355 .PHONY: bootstrap bootstrap-lean
47356 bootstrap:
47357 echo stage3 > stage_final
47358 @r=`${PWD_COMMAND}`; export r; \
47359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47360 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
47361 @: $(MAKE); $(unstage)
47362 @r=`${PWD_COMMAND}`; export r; \
47363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47364 TFLAGS="$(STAGE3_TFLAGS)"; \
47365 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
47367 bootstrap-lean:
47368 echo stage3 > stage_final
47369 @r=`${PWD_COMMAND}`; export r; \
47370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47371 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage3-bubble
47372 @: $(MAKE); $(unstage)
47373 @r=`${PWD_COMMAND}`; export r; \
47374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47375 TFLAGS="$(STAGE3_TFLAGS)"; \
47376 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
47379 # Rules to wipe a stage and all the following ones, also used for cleanstrap
47380 distclean-stage2:: distclean-stage3
47381 .PHONY: distclean-stage3
47382 distclean-stage3::
47383 @: $(MAKE); $(stage)
47384 @test "`cat stage_last`" != stage3 || rm -f stage_last
47385 rm -rf stage3-* compare
47388 .PHONY: cleanstrap
47389 cleanstrap: do-distclean local-clean
47390 echo stage3 > stage_final
47391 @r=`${PWD_COMMAND}`; export r; \
47392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47393 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
47394 @: $(MAKE); $(unstage)
47395 @r=`${PWD_COMMAND}`; export r; \
47396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47397 TFLAGS="$(STAGE3_TFLAGS)"; \
47398 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
47400 @endif gcc-bootstrap
47403 .PHONY: stage4-start stage4-end
47405 stage4-start::
47406 @: $(MAKE); $(stage); \
47407 echo stage4 > stage_current ; \
47408 echo stage4 > stage_last; \
47409 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
47410 @if bfd
47411 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
47412 mkdir stage4-bfd; \
47413 mv stage4-bfd bfd ; \
47414 mv stage3-bfd prev-bfd || test -f stage3-lean
47415 @endif bfd
47416 @if opcodes
47417 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
47418 mkdir stage4-opcodes; \
47419 mv stage4-opcodes opcodes ; \
47420 mv stage3-opcodes prev-opcodes || test -f stage3-lean
47421 @endif opcodes
47422 @if binutils
47423 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
47424 mkdir stage4-binutils; \
47425 mv stage4-binutils binutils ; \
47426 mv stage3-binutils prev-binutils || test -f stage3-lean
47427 @endif binutils
47428 @if fixincludes
47429 @cd $(HOST_SUBDIR); [ -d stage4-fixincludes ] || \
47430 mkdir stage4-fixincludes; \
47431 mv stage4-fixincludes fixincludes ; \
47432 mv stage3-fixincludes prev-fixincludes || test -f stage3-lean
47433 @endif fixincludes
47434 @if gas
47435 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
47436 mkdir stage4-gas; \
47437 mv stage4-gas gas ; \
47438 mv stage3-gas prev-gas || test -f stage3-lean
47439 @endif gas
47440 @if gcc
47441 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
47442 mkdir stage4-gcc; \
47443 mv stage4-gcc gcc ; \
47444 mv stage3-gcc prev-gcc || test -f stage3-lean
47445 @endif gcc
47446 @if gmp
47447 @cd $(HOST_SUBDIR); [ -d stage4-gmp ] || \
47448 mkdir stage4-gmp; \
47449 mv stage4-gmp gmp ; \
47450 mv stage3-gmp prev-gmp || test -f stage3-lean
47451 @endif gmp
47452 @if mpfr
47453 @cd $(HOST_SUBDIR); [ -d stage4-mpfr ] || \
47454 mkdir stage4-mpfr; \
47455 mv stage4-mpfr mpfr ; \
47456 mv stage3-mpfr prev-mpfr || test -f stage3-lean
47457 @endif mpfr
47458 @if mpc
47459 @cd $(HOST_SUBDIR); [ -d stage4-mpc ] || \
47460 mkdir stage4-mpc; \
47461 mv stage4-mpc mpc ; \
47462 mv stage3-mpc prev-mpc || test -f stage3-lean
47463 @endif mpc
47464 @if isl
47465 @cd $(HOST_SUBDIR); [ -d stage4-isl ] || \
47466 mkdir stage4-isl; \
47467 mv stage4-isl isl ; \
47468 mv stage3-isl prev-isl || test -f stage3-lean
47469 @endif isl
47470 @if libelf
47471 @cd $(HOST_SUBDIR); [ -d stage4-libelf ] || \
47472 mkdir stage4-libelf; \
47473 mv stage4-libelf libelf ; \
47474 mv stage3-libelf prev-libelf || test -f stage3-lean
47475 @endif libelf
47476 @if gold
47477 @cd $(HOST_SUBDIR); [ -d stage4-gold ] || \
47478 mkdir stage4-gold; \
47479 mv stage4-gold gold ; \
47480 mv stage3-gold prev-gold || test -f stage3-lean
47481 @endif gold
47482 @if intl
47483 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
47484 mkdir stage4-intl; \
47485 mv stage4-intl intl ; \
47486 mv stage3-intl prev-intl || test -f stage3-lean
47487 @endif intl
47488 @if ld
47489 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
47490 mkdir stage4-ld; \
47491 mv stage4-ld ld ; \
47492 mv stage3-ld prev-ld || test -f stage3-lean
47493 @endif ld
47494 @if libbacktrace
47495 @cd $(HOST_SUBDIR); [ -d stage4-libbacktrace ] || \
47496 mkdir stage4-libbacktrace; \
47497 mv stage4-libbacktrace libbacktrace ; \
47498 mv stage3-libbacktrace prev-libbacktrace || test -f stage3-lean
47499 @endif libbacktrace
47500 @if libcpp
47501 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
47502 mkdir stage4-libcpp; \
47503 mv stage4-libcpp libcpp ; \
47504 mv stage3-libcpp prev-libcpp || test -f stage3-lean
47505 @endif libcpp
47506 @if libdecnumber
47507 @cd $(HOST_SUBDIR); [ -d stage4-libdecnumber ] || \
47508 mkdir stage4-libdecnumber; \
47509 mv stage4-libdecnumber libdecnumber ; \
47510 mv stage3-libdecnumber prev-libdecnumber || test -f stage3-lean
47511 @endif libdecnumber
47512 @if libiberty
47513 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
47514 mkdir stage4-libiberty; \
47515 mv stage4-libiberty libiberty ; \
47516 mv stage3-libiberty prev-libiberty || test -f stage3-lean
47517 @endif libiberty
47518 @if libiberty-linker-plugin
47519 @cd $(HOST_SUBDIR); [ -d stage4-libiberty-linker-plugin ] || \
47520 mkdir stage4-libiberty-linker-plugin; \
47521 mv stage4-libiberty-linker-plugin libiberty-linker-plugin ; \
47522 mv stage3-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage3-lean
47523 @endif libiberty-linker-plugin
47524 @if zlib
47525 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
47526 mkdir stage4-zlib; \
47527 mv stage4-zlib zlib ; \
47528 mv stage3-zlib prev-zlib || test -f stage3-lean
47529 @endif zlib
47530 @if lto-plugin
47531 @cd $(HOST_SUBDIR); [ -d stage4-lto-plugin ] || \
47532 mkdir stage4-lto-plugin; \
47533 mv stage4-lto-plugin lto-plugin ; \
47534 mv stage3-lto-plugin prev-lto-plugin || test -f stage3-lean
47535 @endif lto-plugin
47536 @[ -d stage4-$(TARGET_SUBDIR) ] || \
47537 mkdir stage4-$(TARGET_SUBDIR); \
47538 mv stage4-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
47539 mv stage3-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage3-lean
47541 stage4-end::
47542 @if bfd
47543 @if test -d $(HOST_SUBDIR)/bfd ; then \
47544 cd $(HOST_SUBDIR); mv bfd stage4-bfd ; \
47545 mv prev-bfd stage3-bfd ; : ; \
47547 @endif bfd
47548 @if opcodes
47549 @if test -d $(HOST_SUBDIR)/opcodes ; then \
47550 cd $(HOST_SUBDIR); mv opcodes stage4-opcodes ; \
47551 mv prev-opcodes stage3-opcodes ; : ; \
47553 @endif opcodes
47554 @if binutils
47555 @if test -d $(HOST_SUBDIR)/binutils ; then \
47556 cd $(HOST_SUBDIR); mv binutils stage4-binutils ; \
47557 mv prev-binutils stage3-binutils ; : ; \
47559 @endif binutils
47560 @if fixincludes
47561 @if test -d $(HOST_SUBDIR)/fixincludes ; then \
47562 cd $(HOST_SUBDIR); mv fixincludes stage4-fixincludes ; \
47563 mv prev-fixincludes stage3-fixincludes ; : ; \
47565 @endif fixincludes
47566 @if gas
47567 @if test -d $(HOST_SUBDIR)/gas ; then \
47568 cd $(HOST_SUBDIR); mv gas stage4-gas ; \
47569 mv prev-gas stage3-gas ; : ; \
47571 @endif gas
47572 @if gcc
47573 @if test -d $(HOST_SUBDIR)/gcc ; then \
47574 cd $(HOST_SUBDIR); mv gcc stage4-gcc ; \
47575 mv prev-gcc stage3-gcc ; : ; \
47577 @endif gcc
47578 @if gmp
47579 @if test -d $(HOST_SUBDIR)/gmp ; then \
47580 cd $(HOST_SUBDIR); mv gmp stage4-gmp ; \
47581 mv prev-gmp stage3-gmp ; : ; \
47583 @endif gmp
47584 @if mpfr
47585 @if test -d $(HOST_SUBDIR)/mpfr ; then \
47586 cd $(HOST_SUBDIR); mv mpfr stage4-mpfr ; \
47587 mv prev-mpfr stage3-mpfr ; : ; \
47589 @endif mpfr
47590 @if mpc
47591 @if test -d $(HOST_SUBDIR)/mpc ; then \
47592 cd $(HOST_SUBDIR); mv mpc stage4-mpc ; \
47593 mv prev-mpc stage3-mpc ; : ; \
47595 @endif mpc
47596 @if isl
47597 @if test -d $(HOST_SUBDIR)/isl ; then \
47598 cd $(HOST_SUBDIR); mv isl stage4-isl ; \
47599 mv prev-isl stage3-isl ; : ; \
47601 @endif isl
47602 @if libelf
47603 @if test -d $(HOST_SUBDIR)/libelf ; then \
47604 cd $(HOST_SUBDIR); mv libelf stage4-libelf ; \
47605 mv prev-libelf stage3-libelf ; : ; \
47607 @endif libelf
47608 @if gold
47609 @if test -d $(HOST_SUBDIR)/gold ; then \
47610 cd $(HOST_SUBDIR); mv gold stage4-gold ; \
47611 mv prev-gold stage3-gold ; : ; \
47613 @endif gold
47614 @if intl
47615 @if test -d $(HOST_SUBDIR)/intl ; then \
47616 cd $(HOST_SUBDIR); mv intl stage4-intl ; \
47617 mv prev-intl stage3-intl ; : ; \
47619 @endif intl
47620 @if ld
47621 @if test -d $(HOST_SUBDIR)/ld ; then \
47622 cd $(HOST_SUBDIR); mv ld stage4-ld ; \
47623 mv prev-ld stage3-ld ; : ; \
47625 @endif ld
47626 @if libbacktrace
47627 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
47628 cd $(HOST_SUBDIR); mv libbacktrace stage4-libbacktrace ; \
47629 mv prev-libbacktrace stage3-libbacktrace ; : ; \
47631 @endif libbacktrace
47632 @if libcpp
47633 @if test -d $(HOST_SUBDIR)/libcpp ; then \
47634 cd $(HOST_SUBDIR); mv libcpp stage4-libcpp ; \
47635 mv prev-libcpp stage3-libcpp ; : ; \
47637 @endif libcpp
47638 @if libdecnumber
47639 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
47640 cd $(HOST_SUBDIR); mv libdecnumber stage4-libdecnumber ; \
47641 mv prev-libdecnumber stage3-libdecnumber ; : ; \
47643 @endif libdecnumber
47644 @if libiberty
47645 @if test -d $(HOST_SUBDIR)/libiberty ; then \
47646 cd $(HOST_SUBDIR); mv libiberty stage4-libiberty ; \
47647 mv prev-libiberty stage3-libiberty ; : ; \
47649 @endif libiberty
47650 @if libiberty-linker-plugin
47651 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin ; then \
47652 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage4-libiberty-linker-plugin ; \
47653 mv prev-libiberty-linker-plugin stage3-libiberty-linker-plugin ; : ; \
47655 @endif libiberty-linker-plugin
47656 @if zlib
47657 @if test -d $(HOST_SUBDIR)/zlib ; then \
47658 cd $(HOST_SUBDIR); mv zlib stage4-zlib ; \
47659 mv prev-zlib stage3-zlib ; : ; \
47661 @endif zlib
47662 @if lto-plugin
47663 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
47664 cd $(HOST_SUBDIR); mv lto-plugin stage4-lto-plugin ; \
47665 mv prev-lto-plugin stage3-lto-plugin ; : ; \
47667 @endif lto-plugin
47668 @if test -d $(TARGET_SUBDIR) ; then \
47669 mv $(TARGET_SUBDIR) stage4-$(TARGET_SUBDIR) ; \
47670 mv prev-$(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; : ; \
47672 rm -f stage_current
47674 # Bubble a bug fix through all the stages up to stage 4. They are
47675 # remade, but not reconfigured. The next stage (if any) will not be
47676 # reconfigured either.
47677 .PHONY: stage4-bubble
47678 stage4-bubble:: stage3-bubble
47679 @r=`${PWD_COMMAND}`; export r; \
47680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47681 if test -f stage4-lean || test -f stage3-lean ; then \
47682 echo Skipping rebuild of stage4 ; \
47683 else \
47684 $(MAKE) stage4-start; \
47685 if $(LEAN); then \
47686 rm -rf stage2-* ; \
47687 $(STAMP) stage2-lean ; \
47688 fi; \
47689 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4; \
47691 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3
47693 .PHONY: all-stage4 clean-stage4
47694 do-clean: clean-stage4
47696 # FIXME: Will not need to be conditional when toplevel bootstrap is the
47697 # only possibility, but now it conflicts with no-bootstrap rules
47698 @if gcc-bootstrap
47700 compare3:
47701 @r=`${PWD_COMMAND}`; export r; \
47702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47703 if test -f stage3-lean; then \
47704 echo Cannot compare object files as stage 3 was deleted. ; \
47705 exit 0 ; \
47706 fi; \
47707 : $(MAKE); $(stage); \
47708 rm -f .bad_compare ; \
47709 echo Comparing stages 3 and 4 ; \
47710 sed=`echo stage4 | sed 's,^stage,,;s,.,.,g'`; \
47711 files=`find stage4-* -name "*$(objext)" -print | \
47712 sed -n s,^stage$$sed-,,p` ; \
47713 for file in $${files} ; do \
47714 f1=$$r/stage3-$$file; f2=$$r/stage4-$$file; \
47715 if test ! -f $$f1; then continue; fi; \
47716 $(do-compare3) > /dev/null 2>&1; \
47717 if test $$? -eq 1; then \
47718 case $$file in \
47719 @compare_exclusions@) \
47720 echo warning: $$file differs ;; \
47721 *) \
47722 echo $$file differs >> .bad_compare ;; \
47723 esac ; \
47724 fi ; \
47725 done ; \
47726 if [ -f .bad_compare ]; then \
47727 echo "Bootstrap comparison failure!"; \
47728 cat .bad_compare; \
47729 exit 1; \
47730 else \
47731 echo Comparison successful.; \
47732 fi ; \
47733 $(STAMP) compare3
47734 if $(LEAN); then \
47735 rm -rf stage3-*; \
47736 $(STAMP) stage3-lean; \
47741 .PHONY: bootstrap4 bootstrap4-lean
47742 bootstrap4:
47743 echo stage4 > stage_final
47744 @r=`${PWD_COMMAND}`; export r; \
47745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47746 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble
47747 @: $(MAKE); $(unstage)
47748 @r=`${PWD_COMMAND}`; export r; \
47749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47750 TFLAGS="$(STAGE4_TFLAGS)"; \
47751 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
47753 bootstrap4-lean:
47754 echo stage4 > stage_final
47755 @r=`${PWD_COMMAND}`; export r; \
47756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47757 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage4-bubble
47758 @: $(MAKE); $(unstage)
47759 @r=`${PWD_COMMAND}`; export r; \
47760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
47761 TFLAGS="$(STAGE4_TFLAGS)"; \
47762 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
47765 # Rules to wipe a stage and all the following ones, also used for cleanstrap
47766 distclean-stage3:: distclean-stage4
47767 .PHONY: distclean-stage4
47768 distclean-stage4::
47769 @: $(MAKE); $(stage)
47770 @test "`cat stage_last`" != stage4 || rm -f stage_last
47771 rm -rf stage4-* compare3
47774 @endif gcc-bootstrap
47777 .PHONY: stageprofile-start stageprofile-end
47779 stageprofile-start::
47780 @: $(MAKE); $(stage); \
47781 echo stageprofile > stage_current ; \
47782 echo stageprofile > stage_last; \
47783 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
47784 @if bfd
47785 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
47786 mkdir stageprofile-bfd; \
47787 mv stageprofile-bfd bfd ; \
47788 mv stage1-bfd prev-bfd || test -f stage1-lean
47789 @endif bfd
47790 @if opcodes
47791 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
47792 mkdir stageprofile-opcodes; \
47793 mv stageprofile-opcodes opcodes ; \
47794 mv stage1-opcodes prev-opcodes || test -f stage1-lean
47795 @endif opcodes
47796 @if binutils
47797 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
47798 mkdir stageprofile-binutils; \
47799 mv stageprofile-binutils binutils ; \
47800 mv stage1-binutils prev-binutils || test -f stage1-lean
47801 @endif binutils
47802 @if fixincludes
47803 @cd $(HOST_SUBDIR); [ -d stageprofile-fixincludes ] || \
47804 mkdir stageprofile-fixincludes; \
47805 mv stageprofile-fixincludes fixincludes ; \
47806 mv stage1-fixincludes prev-fixincludes || test -f stage1-lean
47807 @endif fixincludes
47808 @if gas
47809 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
47810 mkdir stageprofile-gas; \
47811 mv stageprofile-gas gas ; \
47812 mv stage1-gas prev-gas || test -f stage1-lean
47813 @endif gas
47814 @if gcc
47815 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
47816 mkdir stageprofile-gcc; \
47817 mv stageprofile-gcc gcc ; \
47818 mv stage1-gcc prev-gcc || test -f stage1-lean
47819 @endif gcc
47820 @if gmp
47821 @cd $(HOST_SUBDIR); [ -d stageprofile-gmp ] || \
47822 mkdir stageprofile-gmp; \
47823 mv stageprofile-gmp gmp ; \
47824 mv stage1-gmp prev-gmp || test -f stage1-lean
47825 @endif gmp
47826 @if mpfr
47827 @cd $(HOST_SUBDIR); [ -d stageprofile-mpfr ] || \
47828 mkdir stageprofile-mpfr; \
47829 mv stageprofile-mpfr mpfr ; \
47830 mv stage1-mpfr prev-mpfr || test -f stage1-lean
47831 @endif mpfr
47832 @if mpc
47833 @cd $(HOST_SUBDIR); [ -d stageprofile-mpc ] || \
47834 mkdir stageprofile-mpc; \
47835 mv stageprofile-mpc mpc ; \
47836 mv stage1-mpc prev-mpc || test -f stage1-lean
47837 @endif mpc
47838 @if isl
47839 @cd $(HOST_SUBDIR); [ -d stageprofile-isl ] || \
47840 mkdir stageprofile-isl; \
47841 mv stageprofile-isl isl ; \
47842 mv stage1-isl prev-isl || test -f stage1-lean
47843 @endif isl
47844 @if libelf
47845 @cd $(HOST_SUBDIR); [ -d stageprofile-libelf ] || \
47846 mkdir stageprofile-libelf; \
47847 mv stageprofile-libelf libelf ; \
47848 mv stage1-libelf prev-libelf || test -f stage1-lean
47849 @endif libelf
47850 @if gold
47851 @cd $(HOST_SUBDIR); [ -d stageprofile-gold ] || \
47852 mkdir stageprofile-gold; \
47853 mv stageprofile-gold gold ; \
47854 mv stage1-gold prev-gold || test -f stage1-lean
47855 @endif gold
47856 @if intl
47857 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
47858 mkdir stageprofile-intl; \
47859 mv stageprofile-intl intl ; \
47860 mv stage1-intl prev-intl || test -f stage1-lean
47861 @endif intl
47862 @if ld
47863 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
47864 mkdir stageprofile-ld; \
47865 mv stageprofile-ld ld ; \
47866 mv stage1-ld prev-ld || test -f stage1-lean
47867 @endif ld
47868 @if libbacktrace
47869 @cd $(HOST_SUBDIR); [ -d stageprofile-libbacktrace ] || \
47870 mkdir stageprofile-libbacktrace; \
47871 mv stageprofile-libbacktrace libbacktrace ; \
47872 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
47873 @endif libbacktrace
47874 @if libcpp
47875 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
47876 mkdir stageprofile-libcpp; \
47877 mv stageprofile-libcpp libcpp ; \
47878 mv stage1-libcpp prev-libcpp || test -f stage1-lean
47879 @endif libcpp
47880 @if libdecnumber
47881 @cd $(HOST_SUBDIR); [ -d stageprofile-libdecnumber ] || \
47882 mkdir stageprofile-libdecnumber; \
47883 mv stageprofile-libdecnumber libdecnumber ; \
47884 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
47885 @endif libdecnumber
47886 @if libiberty
47887 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
47888 mkdir stageprofile-libiberty; \
47889 mv stageprofile-libiberty libiberty ; \
47890 mv stage1-libiberty prev-libiberty || test -f stage1-lean
47891 @endif libiberty
47892 @if libiberty-linker-plugin
47893 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty-linker-plugin ] || \
47894 mkdir stageprofile-libiberty-linker-plugin; \
47895 mv stageprofile-libiberty-linker-plugin libiberty-linker-plugin ; \
47896 mv stage1-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage1-lean
47897 @endif libiberty-linker-plugin
47898 @if zlib
47899 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
47900 mkdir stageprofile-zlib; \
47901 mv stageprofile-zlib zlib ; \
47902 mv stage1-zlib prev-zlib || test -f stage1-lean
47903 @endif zlib
47904 @if lto-plugin
47905 @cd $(HOST_SUBDIR); [ -d stageprofile-lto-plugin ] || \
47906 mkdir stageprofile-lto-plugin; \
47907 mv stageprofile-lto-plugin lto-plugin ; \
47908 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
47909 @endif lto-plugin
47910 @[ -d stageprofile-$(TARGET_SUBDIR) ] || \
47911 mkdir stageprofile-$(TARGET_SUBDIR); \
47912 mv stageprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
47913 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
47915 stageprofile-end::
47916 @if bfd
47917 @if test -d $(HOST_SUBDIR)/bfd ; then \
47918 cd $(HOST_SUBDIR); mv bfd stageprofile-bfd ; \
47919 mv prev-bfd stage1-bfd ; : ; \
47921 @endif bfd
47922 @if opcodes
47923 @if test -d $(HOST_SUBDIR)/opcodes ; then \
47924 cd $(HOST_SUBDIR); mv opcodes stageprofile-opcodes ; \
47925 mv prev-opcodes stage1-opcodes ; : ; \
47927 @endif opcodes
47928 @if binutils
47929 @if test -d $(HOST_SUBDIR)/binutils ; then \
47930 cd $(HOST_SUBDIR); mv binutils stageprofile-binutils ; \
47931 mv prev-binutils stage1-binutils ; : ; \
47933 @endif binutils
47934 @if fixincludes
47935 @if test -d $(HOST_SUBDIR)/fixincludes ; then \
47936 cd $(HOST_SUBDIR); mv fixincludes stageprofile-fixincludes ; \
47937 mv prev-fixincludes stage1-fixincludes ; : ; \
47939 @endif fixincludes
47940 @if gas
47941 @if test -d $(HOST_SUBDIR)/gas ; then \
47942 cd $(HOST_SUBDIR); mv gas stageprofile-gas ; \
47943 mv prev-gas stage1-gas ; : ; \
47945 @endif gas
47946 @if gcc
47947 @if test -d $(HOST_SUBDIR)/gcc ; then \
47948 cd $(HOST_SUBDIR); mv gcc stageprofile-gcc ; \
47949 mv prev-gcc stage1-gcc ; : ; \
47951 @endif gcc
47952 @if gmp
47953 @if test -d $(HOST_SUBDIR)/gmp ; then \
47954 cd $(HOST_SUBDIR); mv gmp stageprofile-gmp ; \
47955 mv prev-gmp stage1-gmp ; : ; \
47957 @endif gmp
47958 @if mpfr
47959 @if test -d $(HOST_SUBDIR)/mpfr ; then \
47960 cd $(HOST_SUBDIR); mv mpfr stageprofile-mpfr ; \
47961 mv prev-mpfr stage1-mpfr ; : ; \
47963 @endif mpfr
47964 @if mpc
47965 @if test -d $(HOST_SUBDIR)/mpc ; then \
47966 cd $(HOST_SUBDIR); mv mpc stageprofile-mpc ; \
47967 mv prev-mpc stage1-mpc ; : ; \
47969 @endif mpc
47970 @if isl
47971 @if test -d $(HOST_SUBDIR)/isl ; then \
47972 cd $(HOST_SUBDIR); mv isl stageprofile-isl ; \
47973 mv prev-isl stage1-isl ; : ; \
47975 @endif isl
47976 @if libelf
47977 @if test -d $(HOST_SUBDIR)/libelf ; then \
47978 cd $(HOST_SUBDIR); mv libelf stageprofile-libelf ; \
47979 mv prev-libelf stage1-libelf ; : ; \
47981 @endif libelf
47982 @if gold
47983 @if test -d $(HOST_SUBDIR)/gold ; then \
47984 cd $(HOST_SUBDIR); mv gold stageprofile-gold ; \
47985 mv prev-gold stage1-gold ; : ; \
47987 @endif gold
47988 @if intl
47989 @if test -d $(HOST_SUBDIR)/intl ; then \
47990 cd $(HOST_SUBDIR); mv intl stageprofile-intl ; \
47991 mv prev-intl stage1-intl ; : ; \
47993 @endif intl
47994 @if ld
47995 @if test -d $(HOST_SUBDIR)/ld ; then \
47996 cd $(HOST_SUBDIR); mv ld stageprofile-ld ; \
47997 mv prev-ld stage1-ld ; : ; \
47999 @endif ld
48000 @if libbacktrace
48001 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
48002 cd $(HOST_SUBDIR); mv libbacktrace stageprofile-libbacktrace ; \
48003 mv prev-libbacktrace stage1-libbacktrace ; : ; \
48005 @endif libbacktrace
48006 @if libcpp
48007 @if test -d $(HOST_SUBDIR)/libcpp ; then \
48008 cd $(HOST_SUBDIR); mv libcpp stageprofile-libcpp ; \
48009 mv prev-libcpp stage1-libcpp ; : ; \
48011 @endif libcpp
48012 @if libdecnumber
48013 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
48014 cd $(HOST_SUBDIR); mv libdecnumber stageprofile-libdecnumber ; \
48015 mv prev-libdecnumber stage1-libdecnumber ; : ; \
48017 @endif libdecnumber
48018 @if libiberty
48019 @if test -d $(HOST_SUBDIR)/libiberty ; then \
48020 cd $(HOST_SUBDIR); mv libiberty stageprofile-libiberty ; \
48021 mv prev-libiberty stage1-libiberty ; : ; \
48023 @endif libiberty
48024 @if libiberty-linker-plugin
48025 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin ; then \
48026 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stageprofile-libiberty-linker-plugin ; \
48027 mv prev-libiberty-linker-plugin stage1-libiberty-linker-plugin ; : ; \
48029 @endif libiberty-linker-plugin
48030 @if zlib
48031 @if test -d $(HOST_SUBDIR)/zlib ; then \
48032 cd $(HOST_SUBDIR); mv zlib stageprofile-zlib ; \
48033 mv prev-zlib stage1-zlib ; : ; \
48035 @endif zlib
48036 @if lto-plugin
48037 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
48038 cd $(HOST_SUBDIR); mv lto-plugin stageprofile-lto-plugin ; \
48039 mv prev-lto-plugin stage1-lto-plugin ; : ; \
48041 @endif lto-plugin
48042 @if test -d $(TARGET_SUBDIR) ; then \
48043 mv $(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; \
48044 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
48046 rm -f stage_current
48048 # Bubble a bug fix through all the stages up to stage profile. They are
48049 # remade, but not reconfigured. The next stage (if any) will not be
48050 # reconfigured either.
48051 .PHONY: stageprofile-bubble
48052 stageprofile-bubble:: stage1-bubble
48053 @r=`${PWD_COMMAND}`; export r; \
48054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48055 if test -f stageprofile-lean || test -f stage1-lean ; then \
48056 echo Skipping rebuild of stageprofile ; \
48057 else \
48058 $(MAKE) stageprofile-start; \
48059 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile; \
48062 .PHONY: all-stageprofile clean-stageprofile
48063 do-clean: clean-stageprofile
48065 # FIXME: Will not need to be conditional when toplevel bootstrap is the
48066 # only possibility, but now it conflicts with no-bootstrap rules
48067 @if gcc-bootstrap
48072 # Rules to wipe a stage and all the following ones, also used for cleanstrap
48073 distclean-stage1:: distclean-stageprofile
48074 .PHONY: distclean-stageprofile
48075 distclean-stageprofile::
48076 @: $(MAKE); $(stage)
48077 @test "`cat stage_last`" != stageprofile || rm -f stage_last
48078 rm -rf stageprofile-*
48081 @endif gcc-bootstrap
48084 .PHONY: stagefeedback-start stagefeedback-end
48086 stagefeedback-start::
48087 @: $(MAKE); $(stage); \
48088 echo stagefeedback > stage_current ; \
48089 echo stagefeedback > stage_last; \
48090 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
48091 @if bfd
48092 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
48093 mkdir stagefeedback-bfd; \
48094 mv stagefeedback-bfd bfd ; \
48095 mv stageprofile-bfd prev-bfd || test -f stageprofile-lean
48096 @endif bfd
48097 @if opcodes
48098 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
48099 mkdir stagefeedback-opcodes; \
48100 mv stagefeedback-opcodes opcodes ; \
48101 mv stageprofile-opcodes prev-opcodes || test -f stageprofile-lean
48102 @endif opcodes
48103 @if binutils
48104 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
48105 mkdir stagefeedback-binutils; \
48106 mv stagefeedback-binutils binutils ; \
48107 mv stageprofile-binutils prev-binutils || test -f stageprofile-lean
48108 @endif binutils
48109 @if fixincludes
48110 @cd $(HOST_SUBDIR); [ -d stagefeedback-fixincludes ] || \
48111 mkdir stagefeedback-fixincludes; \
48112 mv stagefeedback-fixincludes fixincludes ; \
48113 mv stageprofile-fixincludes prev-fixincludes || test -f stageprofile-lean
48114 @endif fixincludes
48115 @if gas
48116 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
48117 mkdir stagefeedback-gas; \
48118 mv stagefeedback-gas gas ; \
48119 mv stageprofile-gas prev-gas || test -f stageprofile-lean
48120 @endif gas
48121 @if gcc
48122 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
48123 mkdir stagefeedback-gcc; \
48124 mv stagefeedback-gcc gcc ; \
48125 mv stageprofile-gcc prev-gcc || test -f stageprofile-lean
48126 @endif gcc
48127 @if gmp
48128 @cd $(HOST_SUBDIR); [ -d stagefeedback-gmp ] || \
48129 mkdir stagefeedback-gmp; \
48130 mv stagefeedback-gmp gmp ; \
48131 mv stageprofile-gmp prev-gmp || test -f stageprofile-lean
48132 @endif gmp
48133 @if mpfr
48134 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpfr ] || \
48135 mkdir stagefeedback-mpfr; \
48136 mv stagefeedback-mpfr mpfr ; \
48137 mv stageprofile-mpfr prev-mpfr || test -f stageprofile-lean
48138 @endif mpfr
48139 @if mpc
48140 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpc ] || \
48141 mkdir stagefeedback-mpc; \
48142 mv stagefeedback-mpc mpc ; \
48143 mv stageprofile-mpc prev-mpc || test -f stageprofile-lean
48144 @endif mpc
48145 @if isl
48146 @cd $(HOST_SUBDIR); [ -d stagefeedback-isl ] || \
48147 mkdir stagefeedback-isl; \
48148 mv stagefeedback-isl isl ; \
48149 mv stageprofile-isl prev-isl || test -f stageprofile-lean
48150 @endif isl
48151 @if libelf
48152 @cd $(HOST_SUBDIR); [ -d stagefeedback-libelf ] || \
48153 mkdir stagefeedback-libelf; \
48154 mv stagefeedback-libelf libelf ; \
48155 mv stageprofile-libelf prev-libelf || test -f stageprofile-lean
48156 @endif libelf
48157 @if gold
48158 @cd $(HOST_SUBDIR); [ -d stagefeedback-gold ] || \
48159 mkdir stagefeedback-gold; \
48160 mv stagefeedback-gold gold ; \
48161 mv stageprofile-gold prev-gold || test -f stageprofile-lean
48162 @endif gold
48163 @if intl
48164 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
48165 mkdir stagefeedback-intl; \
48166 mv stagefeedback-intl intl ; \
48167 mv stageprofile-intl prev-intl || test -f stageprofile-lean
48168 @endif intl
48169 @if ld
48170 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
48171 mkdir stagefeedback-ld; \
48172 mv stagefeedback-ld ld ; \
48173 mv stageprofile-ld prev-ld || test -f stageprofile-lean
48174 @endif ld
48175 @if libbacktrace
48176 @cd $(HOST_SUBDIR); [ -d stagefeedback-libbacktrace ] || \
48177 mkdir stagefeedback-libbacktrace; \
48178 mv stagefeedback-libbacktrace libbacktrace ; \
48179 mv stageprofile-libbacktrace prev-libbacktrace || test -f stageprofile-lean
48180 @endif libbacktrace
48181 @if libcpp
48182 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
48183 mkdir stagefeedback-libcpp; \
48184 mv stagefeedback-libcpp libcpp ; \
48185 mv stageprofile-libcpp prev-libcpp || test -f stageprofile-lean
48186 @endif libcpp
48187 @if libdecnumber
48188 @cd $(HOST_SUBDIR); [ -d stagefeedback-libdecnumber ] || \
48189 mkdir stagefeedback-libdecnumber; \
48190 mv stagefeedback-libdecnumber libdecnumber ; \
48191 mv stageprofile-libdecnumber prev-libdecnumber || test -f stageprofile-lean
48192 @endif libdecnumber
48193 @if libiberty
48194 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
48195 mkdir stagefeedback-libiberty; \
48196 mv stagefeedback-libiberty libiberty ; \
48197 mv stageprofile-libiberty prev-libiberty || test -f stageprofile-lean
48198 @endif libiberty
48199 @if libiberty-linker-plugin
48200 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty-linker-plugin ] || \
48201 mkdir stagefeedback-libiberty-linker-plugin; \
48202 mv stagefeedback-libiberty-linker-plugin libiberty-linker-plugin ; \
48203 mv stageprofile-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stageprofile-lean
48204 @endif libiberty-linker-plugin
48205 @if zlib
48206 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
48207 mkdir stagefeedback-zlib; \
48208 mv stagefeedback-zlib zlib ; \
48209 mv stageprofile-zlib prev-zlib || test -f stageprofile-lean
48210 @endif zlib
48211 @if lto-plugin
48212 @cd $(HOST_SUBDIR); [ -d stagefeedback-lto-plugin ] || \
48213 mkdir stagefeedback-lto-plugin; \
48214 mv stagefeedback-lto-plugin lto-plugin ; \
48215 mv stageprofile-lto-plugin prev-lto-plugin || test -f stageprofile-lean
48216 @endif lto-plugin
48217 @[ -d stagefeedback-$(TARGET_SUBDIR) ] || \
48218 mkdir stagefeedback-$(TARGET_SUBDIR); \
48219 mv stagefeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
48220 mv stageprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageprofile-lean
48222 stagefeedback-end::
48223 @if bfd
48224 @if test -d $(HOST_SUBDIR)/bfd ; then \
48225 cd $(HOST_SUBDIR); mv bfd stagefeedback-bfd ; \
48226 mv prev-bfd stageprofile-bfd ; : ; \
48228 @endif bfd
48229 @if opcodes
48230 @if test -d $(HOST_SUBDIR)/opcodes ; then \
48231 cd $(HOST_SUBDIR); mv opcodes stagefeedback-opcodes ; \
48232 mv prev-opcodes stageprofile-opcodes ; : ; \
48234 @endif opcodes
48235 @if binutils
48236 @if test -d $(HOST_SUBDIR)/binutils ; then \
48237 cd $(HOST_SUBDIR); mv binutils stagefeedback-binutils ; \
48238 mv prev-binutils stageprofile-binutils ; : ; \
48240 @endif binutils
48241 @if fixincludes
48242 @if test -d $(HOST_SUBDIR)/fixincludes ; then \
48243 cd $(HOST_SUBDIR); mv fixincludes stagefeedback-fixincludes ; \
48244 mv prev-fixincludes stageprofile-fixincludes ; : ; \
48246 @endif fixincludes
48247 @if gas
48248 @if test -d $(HOST_SUBDIR)/gas ; then \
48249 cd $(HOST_SUBDIR); mv gas stagefeedback-gas ; \
48250 mv prev-gas stageprofile-gas ; : ; \
48252 @endif gas
48253 @if gcc
48254 @if test -d $(HOST_SUBDIR)/gcc ; then \
48255 cd $(HOST_SUBDIR); mv gcc stagefeedback-gcc ; \
48256 mv prev-gcc stageprofile-gcc ; : ; \
48258 @endif gcc
48259 @if gmp
48260 @if test -d $(HOST_SUBDIR)/gmp ; then \
48261 cd $(HOST_SUBDIR); mv gmp stagefeedback-gmp ; \
48262 mv prev-gmp stageprofile-gmp ; : ; \
48264 @endif gmp
48265 @if mpfr
48266 @if test -d $(HOST_SUBDIR)/mpfr ; then \
48267 cd $(HOST_SUBDIR); mv mpfr stagefeedback-mpfr ; \
48268 mv prev-mpfr stageprofile-mpfr ; : ; \
48270 @endif mpfr
48271 @if mpc
48272 @if test -d $(HOST_SUBDIR)/mpc ; then \
48273 cd $(HOST_SUBDIR); mv mpc stagefeedback-mpc ; \
48274 mv prev-mpc stageprofile-mpc ; : ; \
48276 @endif mpc
48277 @if isl
48278 @if test -d $(HOST_SUBDIR)/isl ; then \
48279 cd $(HOST_SUBDIR); mv isl stagefeedback-isl ; \
48280 mv prev-isl stageprofile-isl ; : ; \
48282 @endif isl
48283 @if libelf
48284 @if test -d $(HOST_SUBDIR)/libelf ; then \
48285 cd $(HOST_SUBDIR); mv libelf stagefeedback-libelf ; \
48286 mv prev-libelf stageprofile-libelf ; : ; \
48288 @endif libelf
48289 @if gold
48290 @if test -d $(HOST_SUBDIR)/gold ; then \
48291 cd $(HOST_SUBDIR); mv gold stagefeedback-gold ; \
48292 mv prev-gold stageprofile-gold ; : ; \
48294 @endif gold
48295 @if intl
48296 @if test -d $(HOST_SUBDIR)/intl ; then \
48297 cd $(HOST_SUBDIR); mv intl stagefeedback-intl ; \
48298 mv prev-intl stageprofile-intl ; : ; \
48300 @endif intl
48301 @if ld
48302 @if test -d $(HOST_SUBDIR)/ld ; then \
48303 cd $(HOST_SUBDIR); mv ld stagefeedback-ld ; \
48304 mv prev-ld stageprofile-ld ; : ; \
48306 @endif ld
48307 @if libbacktrace
48308 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
48309 cd $(HOST_SUBDIR); mv libbacktrace stagefeedback-libbacktrace ; \
48310 mv prev-libbacktrace stageprofile-libbacktrace ; : ; \
48312 @endif libbacktrace
48313 @if libcpp
48314 @if test -d $(HOST_SUBDIR)/libcpp ; then \
48315 cd $(HOST_SUBDIR); mv libcpp stagefeedback-libcpp ; \
48316 mv prev-libcpp stageprofile-libcpp ; : ; \
48318 @endif libcpp
48319 @if libdecnumber
48320 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
48321 cd $(HOST_SUBDIR); mv libdecnumber stagefeedback-libdecnumber ; \
48322 mv prev-libdecnumber stageprofile-libdecnumber ; : ; \
48324 @endif libdecnumber
48325 @if libiberty
48326 @if test -d $(HOST_SUBDIR)/libiberty ; then \
48327 cd $(HOST_SUBDIR); mv libiberty stagefeedback-libiberty ; \
48328 mv prev-libiberty stageprofile-libiberty ; : ; \
48330 @endif libiberty
48331 @if libiberty-linker-plugin
48332 @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin ; then \
48333 cd $(HOST_SUBDIR); mv libiberty-linker-plugin stagefeedback-libiberty-linker-plugin ; \
48334 mv prev-libiberty-linker-plugin stageprofile-libiberty-linker-plugin ; : ; \
48336 @endif libiberty-linker-plugin
48337 @if zlib
48338 @if test -d $(HOST_SUBDIR)/zlib ; then \
48339 cd $(HOST_SUBDIR); mv zlib stagefeedback-zlib ; \
48340 mv prev-zlib stageprofile-zlib ; : ; \
48342 @endif zlib
48343 @if lto-plugin
48344 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
48345 cd $(HOST_SUBDIR); mv lto-plugin stagefeedback-lto-plugin ; \
48346 mv prev-lto-plugin stageprofile-lto-plugin ; : ; \
48348 @endif lto-plugin
48349 @if test -d $(TARGET_SUBDIR) ; then \
48350 mv $(TARGET_SUBDIR) stagefeedback-$(TARGET_SUBDIR) ; \
48351 mv prev-$(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; : ; \
48353 rm -f stage_current
48355 # Bubble a bug fix through all the stages up to stage feedback. They are
48356 # remade, but not reconfigured. The next stage (if any) will not be
48357 # reconfigured either.
48358 .PHONY: stagefeedback-bubble
48359 stagefeedback-bubble:: stageprofile-bubble
48360 @r=`${PWD_COMMAND}`; export r; \
48361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48362 if test -f stagefeedback-lean || test -f stageprofile-lean ; then \
48363 echo Skipping rebuild of stagefeedback ; \
48364 else \
48365 $(MAKE) stagefeedback-start; \
48366 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback; \
48369 .PHONY: all-stagefeedback clean-stagefeedback
48370 do-clean: clean-stagefeedback
48372 # FIXME: Will not need to be conditional when toplevel bootstrap is the
48373 # only possibility, but now it conflicts with no-bootstrap rules
48374 @if gcc-bootstrap
48378 .PHONY: profiledbootstrap profiledbootstrap-lean
48379 profiledbootstrap:
48380 echo stagefeedback > stage_final
48381 @r=`${PWD_COMMAND}`; export r; \
48382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48383 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stagefeedback-bubble
48384 @: $(MAKE); $(unstage)
48385 @r=`${PWD_COMMAND}`; export r; \
48386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48387 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
48388 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
48390 profiledbootstrap-lean:
48391 echo stagefeedback > stage_final
48392 @r=`${PWD_COMMAND}`; export r; \
48393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48394 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stagefeedback-bubble
48395 @: $(MAKE); $(unstage)
48396 @r=`${PWD_COMMAND}`; export r; \
48397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48398 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
48399 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
48402 # Rules to wipe a stage and all the following ones, also used for cleanstrap
48403 distclean-stageprofile:: distclean-stagefeedback
48404 .PHONY: distclean-stagefeedback
48405 distclean-stagefeedback::
48406 @: $(MAKE); $(stage)
48407 @test "`cat stage_last`" != stagefeedback || rm -f stage_last
48408 rm -rf stagefeedback-*
48411 @endif gcc-bootstrap
48415 stageprofile-end::
48416 $(MAKE) distclean-stagefeedback
48418 stagefeedback-start::
48419 @r=`${PWD_COMMAND}`; export r; \
48420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48421 for i in prev-*; do \
48422 j=`echo $$i | sed s/^prev-//` ; \
48423 cd $$r/$$i && \
48424 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL) ; } && \
48425 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL) ; } ; \
48426 done
48428 @if gcc-bootstrap
48429 do-distclean: distclean-stage1
48431 # Provide a GCC build when we're building target libraries. This does
48432 # not work as a dependency, just as the minimum necessary to avoid errors.
48433 stage_last:
48434 @r=`${PWD_COMMAND}`; export r; \
48435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
48436 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage1-bubble
48438 # Same as unstage, but not phony and defaulting to stage1-start. We place
48439 # it in the dependency so that for example `make -j3 all-gcc' works.
48440 stage_current:
48441 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
48443 .PHONY: restrap
48444 restrap::
48445 @: $(MAKE); $(stage)
48446 rm -rf stage1-$(TARGET_SUBDIR) stage2-* stage3-* stage4-* stageprofile-* stagefeedback-*
48447 restrap:: all
48448 @endif gcc-bootstrap
48450 # --------------------------------------
48451 # Dependencies between different modules
48452 # --------------------------------------
48454 # Generic dependencies for target modules on host stuff, especially gcc
48455 @if gcc-bootstrap
48456 configure-stage1-target-libstdc++-v3: maybe-all-stage1-gcc
48457 configure-stage2-target-libstdc++-v3: maybe-all-stage2-gcc
48458 configure-stage3-target-libstdc++-v3: maybe-all-stage3-gcc
48459 configure-stage4-target-libstdc++-v3: maybe-all-stage4-gcc
48460 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-gcc
48461 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-gcc
48462 configure-stage1-target-libsanitizer: maybe-all-stage1-gcc
48463 configure-stage2-target-libsanitizer: maybe-all-stage2-gcc
48464 configure-stage3-target-libsanitizer: maybe-all-stage3-gcc
48465 configure-stage4-target-libsanitizer: maybe-all-stage4-gcc
48466 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-gcc
48467 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-gcc
48468 configure-stage1-target-libvtv: maybe-all-stage1-gcc
48469 configure-stage2-target-libvtv: maybe-all-stage2-gcc
48470 configure-stage3-target-libvtv: maybe-all-stage3-gcc
48471 configure-stage4-target-libvtv: maybe-all-stage4-gcc
48472 configure-stageprofile-target-libvtv: maybe-all-stageprofile-gcc
48473 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-gcc
48474 configure-target-libcilkrts: stage_last
48475 configure-target-liboffloadmic: stage_last
48476 configure-target-libssp: stage_last
48477 configure-target-newlib: stage_last
48478 configure-stage1-target-libgcc: maybe-all-stage1-gcc
48479 configure-stage2-target-libgcc: maybe-all-stage2-gcc
48480 configure-stage3-target-libgcc: maybe-all-stage3-gcc
48481 configure-stage4-target-libgcc: maybe-all-stage4-gcc
48482 configure-stageprofile-target-libgcc: maybe-all-stageprofile-gcc
48483 configure-stagefeedback-target-libgcc: maybe-all-stagefeedback-gcc
48484 configure-target-libbacktrace: stage_last
48485 configure-target-libquadmath: stage_last
48486 configure-target-libgfortran: stage_last
48487 configure-target-libobjc: stage_last
48488 configure-target-libgo: stage_last
48489 configure-target-libtermcap: stage_last
48490 configure-target-winsup: stage_last
48491 configure-target-libgloss: stage_last
48492 configure-target-libffi: stage_last
48493 configure-target-libjava: stage_last
48494 configure-target-zlib: stage_last
48495 configure-target-boehm-gc: stage_last
48496 configure-target-rda: stage_last
48497 configure-target-libada: stage_last
48498 configure-stage1-target-libgomp: maybe-all-stage1-gcc
48499 configure-stage2-target-libgomp: maybe-all-stage2-gcc
48500 configure-stage3-target-libgomp: maybe-all-stage3-gcc
48501 configure-stage4-target-libgomp: maybe-all-stage4-gcc
48502 configure-stageprofile-target-libgomp: maybe-all-stageprofile-gcc
48503 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-gcc
48504 configure-target-libitm: stage_last
48505 configure-target-libatomic: stage_last
48506 @endif gcc-bootstrap
48508 @if gcc-no-bootstrap
48509 configure-target-libstdc++-v3: maybe-all-gcc
48510 configure-target-libsanitizer: maybe-all-gcc
48511 configure-target-libvtv: maybe-all-gcc
48512 configure-target-libcilkrts: maybe-all-gcc
48513 configure-target-liboffloadmic: maybe-all-gcc
48514 configure-target-libssp: maybe-all-gcc
48515 configure-target-newlib: maybe-all-gcc
48516 configure-target-libgcc: maybe-all-gcc
48517 configure-target-libbacktrace: maybe-all-gcc
48518 configure-target-libquadmath: maybe-all-gcc
48519 configure-target-libgfortran: maybe-all-gcc
48520 configure-target-libobjc: maybe-all-gcc
48521 configure-target-libgo: maybe-all-gcc
48522 configure-target-libtermcap: maybe-all-gcc
48523 configure-target-winsup: maybe-all-gcc
48524 configure-target-libgloss: maybe-all-gcc
48525 configure-target-libffi: maybe-all-gcc
48526 configure-target-libjava: maybe-all-gcc
48527 configure-target-zlib: maybe-all-gcc
48528 configure-target-boehm-gc: maybe-all-gcc
48529 configure-target-rda: maybe-all-gcc
48530 configure-target-libada: maybe-all-gcc
48531 configure-target-libgomp: maybe-all-gcc
48532 configure-target-libitm: maybe-all-gcc
48533 configure-target-libatomic: maybe-all-gcc
48534 @endif gcc-no-bootstrap
48537 # There are two types of dependencies here: 'hard' dependencies, where one
48538 # module simply won't build without the other; and 'soft' dependencies, where
48539 # if the depended-on module is missing, the depending module will do without
48540 # or find a substitute somewhere (perhaps installed). Soft dependencies
48541 # are made here to depend on a 'maybe-' target. If you're not sure,
48542 # it's safer to use a soft dependency.
48549 # With all the machinery above in place, it is pretty easy to generate
48550 # dependencies. Host dependencies are a bit more complex because we have
48551 # to check for bootstrap/prebootstrap dependencies. To resolve
48552 # prebootstrap dependencies, prebootstrap modules are gathered in
48553 # a hash table.
48554 all-build-bison: maybe-all-build-texinfo
48555 all-build-flex: maybe-all-build-texinfo
48556 all-build-flex: maybe-all-build-bison
48557 all-build-flex: maybe-all-build-m4
48558 all-build-libiberty: maybe-all-build-texinfo
48559 all-build-m4: maybe-all-build-texinfo
48560 all-build-fixincludes: maybe-all-build-libiberty
48561 all-build-libcpp: maybe-all-build-libiberty
48562 configure-gcc: maybe-configure-intl
48564 configure-stage1-gcc: maybe-configure-stage1-intl
48565 configure-stage2-gcc: maybe-configure-stage2-intl
48566 configure-stage3-gcc: maybe-configure-stage3-intl
48567 configure-stage4-gcc: maybe-configure-stage4-intl
48568 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
48569 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
48570 configure-gcc: maybe-all-gmp
48572 configure-stage1-gcc: maybe-all-stage1-gmp
48573 configure-stage2-gcc: maybe-all-stage2-gmp
48574 configure-stage3-gcc: maybe-all-stage3-gmp
48575 configure-stage4-gcc: maybe-all-stage4-gmp
48576 configure-stageprofile-gcc: maybe-all-stageprofile-gmp
48577 configure-stagefeedback-gcc: maybe-all-stagefeedback-gmp
48578 configure-gcc: maybe-all-mpfr
48580 configure-stage1-gcc: maybe-all-stage1-mpfr
48581 configure-stage2-gcc: maybe-all-stage2-mpfr
48582 configure-stage3-gcc: maybe-all-stage3-mpfr
48583 configure-stage4-gcc: maybe-all-stage4-mpfr
48584 configure-stageprofile-gcc: maybe-all-stageprofile-mpfr
48585 configure-stagefeedback-gcc: maybe-all-stagefeedback-mpfr
48586 configure-gcc: maybe-all-mpc
48588 configure-stage1-gcc: maybe-all-stage1-mpc
48589 configure-stage2-gcc: maybe-all-stage2-mpc
48590 configure-stage3-gcc: maybe-all-stage3-mpc
48591 configure-stage4-gcc: maybe-all-stage4-mpc
48592 configure-stageprofile-gcc: maybe-all-stageprofile-mpc
48593 configure-stagefeedback-gcc: maybe-all-stagefeedback-mpc
48594 configure-gcc: maybe-all-isl
48596 configure-stage1-gcc: maybe-all-stage1-isl
48597 configure-stage2-gcc: maybe-all-stage2-isl
48598 configure-stage3-gcc: maybe-all-stage3-isl
48599 configure-stage4-gcc: maybe-all-stage4-isl
48600 configure-stageprofile-gcc: maybe-all-stageprofile-isl
48601 configure-stagefeedback-gcc: maybe-all-stagefeedback-isl
48602 configure-gcc: maybe-all-lto-plugin
48604 configure-stage1-gcc: maybe-all-stage1-lto-plugin
48605 configure-stage2-gcc: maybe-all-stage2-lto-plugin
48606 configure-stage3-gcc: maybe-all-stage3-lto-plugin
48607 configure-stage4-gcc: maybe-all-stage4-lto-plugin
48608 configure-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
48609 configure-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
48610 configure-gcc: maybe-all-binutils
48612 configure-stage1-gcc: maybe-all-stage1-binutils
48613 configure-stage2-gcc: maybe-all-stage2-binutils
48614 configure-stage3-gcc: maybe-all-stage3-binutils
48615 configure-stage4-gcc: maybe-all-stage4-binutils
48616 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
48617 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
48618 configure-gcc: maybe-all-gas
48620 configure-stage1-gcc: maybe-all-stage1-gas
48621 configure-stage2-gcc: maybe-all-stage2-gas
48622 configure-stage3-gcc: maybe-all-stage3-gas
48623 configure-stage4-gcc: maybe-all-stage4-gas
48624 configure-stageprofile-gcc: maybe-all-stageprofile-gas
48625 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
48626 configure-gcc: maybe-all-ld
48628 configure-stage1-gcc: maybe-all-stage1-ld
48629 configure-stage2-gcc: maybe-all-stage2-ld
48630 configure-stage3-gcc: maybe-all-stage3-ld
48631 configure-stage4-gcc: maybe-all-stage4-ld
48632 configure-stageprofile-gcc: maybe-all-stageprofile-ld
48633 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
48634 configure-gcc: maybe-all-gold
48636 configure-stage1-gcc: maybe-all-stage1-gold
48637 configure-stage2-gcc: maybe-all-stage2-gold
48638 configure-stage3-gcc: maybe-all-stage3-gold
48639 configure-stage4-gcc: maybe-all-stage4-gold
48640 configure-stageprofile-gcc: maybe-all-stageprofile-gold
48641 configure-stagefeedback-gcc: maybe-all-stagefeedback-gold
48642 configure-gcc: maybe-all-libelf
48644 configure-stage1-gcc: maybe-all-stage1-libelf
48645 configure-stage2-gcc: maybe-all-stage2-libelf
48646 configure-stage3-gcc: maybe-all-stage3-libelf
48647 configure-stage4-gcc: maybe-all-stage4-libelf
48648 configure-stageprofile-gcc: maybe-all-stageprofile-libelf
48649 configure-stagefeedback-gcc: maybe-all-stagefeedback-libelf
48650 all-gcc: all-libiberty
48652 all-stage1-gcc: all-stage1-libiberty
48653 all-stage2-gcc: all-stage2-libiberty
48654 all-stage3-gcc: all-stage3-libiberty
48655 all-stage4-gcc: all-stage4-libiberty
48656 all-stageprofile-gcc: all-stageprofile-libiberty
48657 all-stagefeedback-gcc: all-stagefeedback-libiberty
48658 all-gcc: maybe-all-intl
48660 all-stage1-gcc: maybe-all-stage1-intl
48661 all-stage2-gcc: maybe-all-stage2-intl
48662 all-stage3-gcc: maybe-all-stage3-intl
48663 all-stage4-gcc: maybe-all-stage4-intl
48664 all-stageprofile-gcc: maybe-all-stageprofile-intl
48665 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
48666 all-gcc: maybe-all-mpfr
48668 all-stage1-gcc: maybe-all-stage1-mpfr
48669 all-stage2-gcc: maybe-all-stage2-mpfr
48670 all-stage3-gcc: maybe-all-stage3-mpfr
48671 all-stage4-gcc: maybe-all-stage4-mpfr
48672 all-stageprofile-gcc: maybe-all-stageprofile-mpfr
48673 all-stagefeedback-gcc: maybe-all-stagefeedback-mpfr
48674 all-gcc: maybe-all-mpc
48676 all-stage1-gcc: maybe-all-stage1-mpc
48677 all-stage2-gcc: maybe-all-stage2-mpc
48678 all-stage3-gcc: maybe-all-stage3-mpc
48679 all-stage4-gcc: maybe-all-stage4-mpc
48680 all-stageprofile-gcc: maybe-all-stageprofile-mpc
48681 all-stagefeedback-gcc: maybe-all-stagefeedback-mpc
48682 all-gcc: maybe-all-isl
48684 all-stage1-gcc: maybe-all-stage1-isl
48685 all-stage2-gcc: maybe-all-stage2-isl
48686 all-stage3-gcc: maybe-all-stage3-isl
48687 all-stage4-gcc: maybe-all-stage4-isl
48688 all-stageprofile-gcc: maybe-all-stageprofile-isl
48689 all-stagefeedback-gcc: maybe-all-stagefeedback-isl
48690 all-gcc: maybe-all-build-texinfo
48692 all-stage1-gcc: maybe-all-build-texinfo
48693 all-stage2-gcc: maybe-all-build-texinfo
48694 all-stage3-gcc: maybe-all-build-texinfo
48695 all-stage4-gcc: maybe-all-build-texinfo
48696 all-stageprofile-gcc: maybe-all-build-texinfo
48697 all-stagefeedback-gcc: maybe-all-build-texinfo
48698 all-gcc: maybe-all-build-bison
48700 all-stage1-gcc: maybe-all-build-bison
48701 all-stage2-gcc: maybe-all-build-bison
48702 all-stage3-gcc: maybe-all-build-bison
48703 all-stage4-gcc: maybe-all-build-bison
48704 all-stageprofile-gcc: maybe-all-build-bison
48705 all-stagefeedback-gcc: maybe-all-build-bison
48706 all-gcc: maybe-all-build-flex
48708 all-stage1-gcc: maybe-all-build-flex
48709 all-stage2-gcc: maybe-all-build-flex
48710 all-stage3-gcc: maybe-all-build-flex
48711 all-stage4-gcc: maybe-all-build-flex
48712 all-stageprofile-gcc: maybe-all-build-flex
48713 all-stagefeedback-gcc: maybe-all-build-flex
48714 all-gcc: maybe-all-build-libiberty
48716 all-stage1-gcc: maybe-all-build-libiberty
48717 all-stage2-gcc: maybe-all-build-libiberty
48718 all-stage3-gcc: maybe-all-build-libiberty
48719 all-stage4-gcc: maybe-all-build-libiberty
48720 all-stageprofile-gcc: maybe-all-build-libiberty
48721 all-stagefeedback-gcc: maybe-all-build-libiberty
48722 all-gcc: maybe-all-build-fixincludes
48724 all-stage1-gcc: maybe-all-build-fixincludes
48725 all-stage2-gcc: maybe-all-build-fixincludes
48726 all-stage3-gcc: maybe-all-build-fixincludes
48727 all-stage4-gcc: maybe-all-build-fixincludes
48728 all-stageprofile-gcc: maybe-all-build-fixincludes
48729 all-stagefeedback-gcc: maybe-all-build-fixincludes
48730 all-gcc: maybe-all-build-libcpp
48732 all-stage1-gcc: maybe-all-build-libcpp
48733 all-stage2-gcc: maybe-all-build-libcpp
48734 all-stage3-gcc: maybe-all-build-libcpp
48735 all-stage4-gcc: maybe-all-build-libcpp
48736 all-stageprofile-gcc: maybe-all-build-libcpp
48737 all-stagefeedback-gcc: maybe-all-build-libcpp
48738 all-gcc: maybe-all-zlib
48740 all-stage1-gcc: maybe-all-stage1-zlib
48741 all-stage2-gcc: maybe-all-stage2-zlib
48742 all-stage3-gcc: maybe-all-stage3-zlib
48743 all-stage4-gcc: maybe-all-stage4-zlib
48744 all-stageprofile-gcc: maybe-all-stageprofile-zlib
48745 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
48746 all-gcc: all-libbacktrace
48748 all-stage1-gcc: all-stage1-libbacktrace
48749 all-stage2-gcc: all-stage2-libbacktrace
48750 all-stage3-gcc: all-stage3-libbacktrace
48751 all-stage4-gcc: all-stage4-libbacktrace
48752 all-stageprofile-gcc: all-stageprofile-libbacktrace
48753 all-stagefeedback-gcc: all-stagefeedback-libbacktrace
48754 all-gcc: all-libcpp
48756 all-stage1-gcc: all-stage1-libcpp
48757 all-stage2-gcc: all-stage2-libcpp
48758 all-stage3-gcc: all-stage3-libcpp
48759 all-stage4-gcc: all-stage4-libcpp
48760 all-stageprofile-gcc: all-stageprofile-libcpp
48761 all-stagefeedback-gcc: all-stagefeedback-libcpp
48762 all-gcc: all-libdecnumber
48764 all-stage1-gcc: all-stage1-libdecnumber
48765 all-stage2-gcc: all-stage2-libdecnumber
48766 all-stage3-gcc: all-stage3-libdecnumber
48767 all-stage4-gcc: all-stage4-libdecnumber
48768 all-stageprofile-gcc: all-stageprofile-libdecnumber
48769 all-stagefeedback-gcc: all-stagefeedback-libdecnumber
48770 all-gcc: maybe-all-libiberty
48772 all-stage1-gcc: maybe-all-stage1-libiberty
48773 all-stage2-gcc: maybe-all-stage2-libiberty
48774 all-stage3-gcc: maybe-all-stage3-libiberty
48775 all-stage4-gcc: maybe-all-stage4-libiberty
48776 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
48777 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
48778 all-gcc: maybe-all-fixincludes
48780 all-stage1-gcc: maybe-all-stage1-fixincludes
48781 all-stage2-gcc: maybe-all-stage2-fixincludes
48782 all-stage3-gcc: maybe-all-stage3-fixincludes
48783 all-stage4-gcc: maybe-all-stage4-fixincludes
48784 all-stageprofile-gcc: maybe-all-stageprofile-fixincludes
48785 all-stagefeedback-gcc: maybe-all-stagefeedback-fixincludes
48786 all-gcc: maybe-all-lto-plugin
48788 all-stage1-gcc: maybe-all-stage1-lto-plugin
48789 all-stage2-gcc: maybe-all-stage2-lto-plugin
48790 all-stage3-gcc: maybe-all-stage3-lto-plugin
48791 all-stage4-gcc: maybe-all-stage4-lto-plugin
48792 all-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
48793 all-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
48794 info-gcc: maybe-all-build-libiberty
48796 info-stage1-gcc: maybe-all-build-libiberty
48797 info-stage2-gcc: maybe-all-build-libiberty
48798 info-stage3-gcc: maybe-all-build-libiberty
48799 info-stage4-gcc: maybe-all-build-libiberty
48800 info-stageprofile-gcc: maybe-all-build-libiberty
48801 info-stagefeedback-gcc: maybe-all-build-libiberty
48802 dvi-gcc: maybe-all-build-libiberty
48804 dvi-stage1-gcc: maybe-all-build-libiberty
48805 dvi-stage2-gcc: maybe-all-build-libiberty
48806 dvi-stage3-gcc: maybe-all-build-libiberty
48807 dvi-stage4-gcc: maybe-all-build-libiberty
48808 dvi-stageprofile-gcc: maybe-all-build-libiberty
48809 dvi-stagefeedback-gcc: maybe-all-build-libiberty
48810 pdf-gcc: maybe-all-build-libiberty
48812 pdf-stage1-gcc: maybe-all-build-libiberty
48813 pdf-stage2-gcc: maybe-all-build-libiberty
48814 pdf-stage3-gcc: maybe-all-build-libiberty
48815 pdf-stage4-gcc: maybe-all-build-libiberty
48816 pdf-stageprofile-gcc: maybe-all-build-libiberty
48817 pdf-stagefeedback-gcc: maybe-all-build-libiberty
48818 html-gcc: maybe-all-build-libiberty
48820 html-stage1-gcc: maybe-all-build-libiberty
48821 html-stage2-gcc: maybe-all-build-libiberty
48822 html-stage3-gcc: maybe-all-build-libiberty
48823 html-stage4-gcc: maybe-all-build-libiberty
48824 html-stageprofile-gcc: maybe-all-build-libiberty
48825 html-stagefeedback-gcc: maybe-all-build-libiberty
48826 install-gcc: maybe-install-fixincludes
48827 install-gcc: maybe-install-lto-plugin
48828 install-strip-gcc: maybe-install-strip-fixincludes
48829 install-strip-gcc: maybe-install-strip-lto-plugin
48830 configure-libcpp: configure-libiberty
48832 configure-stage1-libcpp: configure-stage1-libiberty
48833 configure-stage2-libcpp: configure-stage2-libiberty
48834 configure-stage3-libcpp: configure-stage3-libiberty
48835 configure-stage4-libcpp: configure-stage4-libiberty
48836 configure-stageprofile-libcpp: configure-stageprofile-libiberty
48837 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
48838 configure-libcpp: maybe-configure-intl
48840 configure-stage1-libcpp: maybe-configure-stage1-intl
48841 configure-stage2-libcpp: maybe-configure-stage2-intl
48842 configure-stage3-libcpp: maybe-configure-stage3-intl
48843 configure-stage4-libcpp: maybe-configure-stage4-intl
48844 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
48845 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
48846 all-libcpp: all-libiberty
48848 all-stage1-libcpp: all-stage1-libiberty
48849 all-stage2-libcpp: all-stage2-libiberty
48850 all-stage3-libcpp: all-stage3-libiberty
48851 all-stage4-libcpp: all-stage4-libiberty
48852 all-stageprofile-libcpp: all-stageprofile-libiberty
48853 all-stagefeedback-libcpp: all-stagefeedback-libiberty
48854 all-libcpp: maybe-all-intl
48856 all-stage1-libcpp: maybe-all-stage1-intl
48857 all-stage2-libcpp: maybe-all-stage2-intl
48858 all-stage3-libcpp: maybe-all-stage3-intl
48859 all-stage4-libcpp: maybe-all-stage4-intl
48860 all-stageprofile-libcpp: maybe-all-stageprofile-intl
48861 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
48862 all-fixincludes: maybe-all-libiberty
48864 all-stage1-fixincludes: maybe-all-stage1-libiberty
48865 all-stage2-fixincludes: maybe-all-stage2-libiberty
48866 all-stage3-fixincludes: maybe-all-stage3-libiberty
48867 all-stage4-fixincludes: maybe-all-stage4-libiberty
48868 all-stageprofile-fixincludes: maybe-all-stageprofile-libiberty
48869 all-stagefeedback-fixincludes: maybe-all-stagefeedback-libiberty
48870 all-gnattools: maybe-all-target-libada
48871 all-gnattools: maybe-all-target-libstdc++-v3
48872 all-lto-plugin: maybe-all-libiberty
48874 all-stage1-lto-plugin: maybe-all-stage1-libiberty
48875 all-stage2-lto-plugin: maybe-all-stage2-libiberty
48876 all-stage3-lto-plugin: maybe-all-stage3-libiberty
48877 all-stage4-lto-plugin: maybe-all-stage4-libiberty
48878 all-stageprofile-lto-plugin: maybe-all-stageprofile-libiberty
48879 all-stagefeedback-lto-plugin: maybe-all-stagefeedback-libiberty
48880 all-lto-plugin: maybe-all-libiberty-linker-plugin
48882 all-stage1-lto-plugin: maybe-all-stage1-libiberty-linker-plugin
48883 all-stage2-lto-plugin: maybe-all-stage2-libiberty-linker-plugin
48884 all-stage3-lto-plugin: maybe-all-stage3-libiberty-linker-plugin
48885 all-stage4-lto-plugin: maybe-all-stage4-libiberty-linker-plugin
48886 all-stageprofile-lto-plugin: maybe-all-stageprofile-libiberty-linker-plugin
48887 all-stagefeedback-lto-plugin: maybe-all-stagefeedback-libiberty-linker-plugin
48888 configure-libcc1: maybe-configure-gcc
48889 all-libcc1: maybe-all-gcc
48890 all-gotools: maybe-all-target-libgo
48891 all-utils: maybe-all-libiberty
48892 configure-mpfr: maybe-all-gmp
48894 configure-stage1-mpfr: maybe-all-stage1-gmp
48895 configure-stage2-mpfr: maybe-all-stage2-gmp
48896 configure-stage3-mpfr: maybe-all-stage3-gmp
48897 configure-stage4-mpfr: maybe-all-stage4-gmp
48898 configure-stageprofile-mpfr: maybe-all-stageprofile-gmp
48899 configure-stagefeedback-mpfr: maybe-all-stagefeedback-gmp
48900 configure-mpc: maybe-all-mpfr
48902 configure-stage1-mpc: maybe-all-stage1-mpfr
48903 configure-stage2-mpc: maybe-all-stage2-mpfr
48904 configure-stage3-mpc: maybe-all-stage3-mpfr
48905 configure-stage4-mpc: maybe-all-stage4-mpfr
48906 configure-stageprofile-mpc: maybe-all-stageprofile-mpfr
48907 configure-stagefeedback-mpc: maybe-all-stagefeedback-mpfr
48908 configure-isl: maybe-all-gmp
48910 configure-stage1-isl: maybe-all-stage1-gmp
48911 configure-stage2-isl: maybe-all-stage2-gmp
48912 configure-stage3-isl: maybe-all-stage3-gmp
48913 configure-stage4-isl: maybe-all-stage4-gmp
48914 configure-stageprofile-isl: maybe-all-stageprofile-gmp
48915 configure-stagefeedback-isl: maybe-all-stagefeedback-gmp
48916 configure-gdb: maybe-all-intl
48917 configure-gdb: maybe-configure-sim
48918 configure-gdb: maybe-all-bfd
48919 configure-gdb: maybe-all-libiconv
48920 all-gdb: maybe-all-libiberty
48921 all-gdb: maybe-all-libiconv
48922 all-gdb: maybe-all-opcodes
48923 all-gdb: maybe-all-readline
48924 all-gdb: maybe-all-build-bison
48925 all-gdb: maybe-all-sim
48926 all-gdb: maybe-all-libdecnumber
48927 all-gdb: maybe-all-libtermcap
48928 configure-libgui: maybe-configure-tcl
48929 configure-libgui: maybe-configure-tk
48930 all-libgui: maybe-all-tcl
48931 all-libgui: maybe-all-tk
48932 all-libgui: maybe-all-itcl
48933 configure-bfd: configure-libiberty
48935 configure-stage1-bfd: configure-stage1-libiberty
48936 configure-stage2-bfd: configure-stage2-libiberty
48937 configure-stage3-bfd: configure-stage3-libiberty
48938 configure-stage4-bfd: configure-stage4-libiberty
48939 configure-stageprofile-bfd: configure-stageprofile-libiberty
48940 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
48941 configure-bfd: maybe-configure-intl
48943 configure-stage1-bfd: maybe-configure-stage1-intl
48944 configure-stage2-bfd: maybe-configure-stage2-intl
48945 configure-stage3-bfd: maybe-configure-stage3-intl
48946 configure-stage4-bfd: maybe-configure-stage4-intl
48947 configure-stageprofile-bfd: maybe-configure-stageprofile-intl
48948 configure-stagefeedback-bfd: maybe-configure-stagefeedback-intl
48949 all-bfd: maybe-all-libiberty
48951 all-stage1-bfd: maybe-all-stage1-libiberty
48952 all-stage2-bfd: maybe-all-stage2-libiberty
48953 all-stage3-bfd: maybe-all-stage3-libiberty
48954 all-stage4-bfd: maybe-all-stage4-libiberty
48955 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
48956 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
48957 all-bfd: maybe-all-intl
48959 all-stage1-bfd: maybe-all-stage1-intl
48960 all-stage2-bfd: maybe-all-stage2-intl
48961 all-stage3-bfd: maybe-all-stage3-intl
48962 all-stage4-bfd: maybe-all-stage4-intl
48963 all-stageprofile-bfd: maybe-all-stageprofile-intl
48964 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
48965 configure-opcodes: configure-libiberty
48967 configure-stage1-opcodes: configure-stage1-libiberty
48968 configure-stage2-opcodes: configure-stage2-libiberty
48969 configure-stage3-opcodes: configure-stage3-libiberty
48970 configure-stage4-opcodes: configure-stage4-libiberty
48971 configure-stageprofile-opcodes: configure-stageprofile-libiberty
48972 configure-stagefeedback-opcodes: configure-stagefeedback-libiberty
48973 all-opcodes: maybe-all-libiberty
48975 all-stage1-opcodes: maybe-all-stage1-libiberty
48976 all-stage2-opcodes: maybe-all-stage2-libiberty
48977 all-stage3-opcodes: maybe-all-stage3-libiberty
48978 all-stage4-opcodes: maybe-all-stage4-libiberty
48979 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
48980 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
48981 configure-binutils: maybe-configure-intl
48983 configure-stage1-binutils: maybe-configure-stage1-intl
48984 configure-stage2-binutils: maybe-configure-stage2-intl
48985 configure-stage3-binutils: maybe-configure-stage3-intl
48986 configure-stage4-binutils: maybe-configure-stage4-intl
48987 configure-stageprofile-binutils: maybe-configure-stageprofile-intl
48988 configure-stagefeedback-binutils: maybe-configure-stagefeedback-intl
48989 all-binutils: maybe-all-libiberty
48991 all-stage1-binutils: maybe-all-stage1-libiberty
48992 all-stage2-binutils: maybe-all-stage2-libiberty
48993 all-stage3-binutils: maybe-all-stage3-libiberty
48994 all-stage4-binutils: maybe-all-stage4-libiberty
48995 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
48996 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
48997 all-binutils: maybe-all-opcodes
48999 all-stage1-binutils: maybe-all-stage1-opcodes
49000 all-stage2-binutils: maybe-all-stage2-opcodes
49001 all-stage3-binutils: maybe-all-stage3-opcodes
49002 all-stage4-binutils: maybe-all-stage4-opcodes
49003 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
49004 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
49005 all-binutils: maybe-all-bfd
49007 all-stage1-binutils: maybe-all-stage1-bfd
49008 all-stage2-binutils: maybe-all-stage2-bfd
49009 all-stage3-binutils: maybe-all-stage3-bfd
49010 all-stage4-binutils: maybe-all-stage4-bfd
49011 all-stageprofile-binutils: maybe-all-stageprofile-bfd
49012 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
49013 all-binutils: maybe-all-build-flex
49015 all-stage1-binutils: maybe-all-build-flex
49016 all-stage2-binutils: maybe-all-build-flex
49017 all-stage3-binutils: maybe-all-build-flex
49018 all-stage4-binutils: maybe-all-build-flex
49019 all-stageprofile-binutils: maybe-all-build-flex
49020 all-stagefeedback-binutils: maybe-all-build-flex
49021 all-binutils: maybe-all-build-bison
49023 all-stage1-binutils: maybe-all-build-bison
49024 all-stage2-binutils: maybe-all-build-bison
49025 all-stage3-binutils: maybe-all-build-bison
49026 all-stage4-binutils: maybe-all-build-bison
49027 all-stageprofile-binutils: maybe-all-build-bison
49028 all-stagefeedback-binutils: maybe-all-build-bison
49029 all-binutils: maybe-all-intl
49031 all-stage1-binutils: maybe-all-stage1-intl
49032 all-stage2-binutils: maybe-all-stage2-intl
49033 all-stage3-binutils: maybe-all-stage3-intl
49034 all-stage4-binutils: maybe-all-stage4-intl
49035 all-stageprofile-binutils: maybe-all-stageprofile-intl
49036 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
49037 all-binutils: maybe-all-gas
49039 all-stage1-binutils: maybe-all-stage1-gas
49040 all-stage2-binutils: maybe-all-stage2-gas
49041 all-stage3-binutils: maybe-all-stage3-gas
49042 all-stage4-binutils: maybe-all-stage4-gas
49043 all-stageprofile-binutils: maybe-all-stageprofile-gas
49044 all-stagefeedback-binutils: maybe-all-stagefeedback-gas
49045 install-binutils: maybe-install-opcodes
49046 install-strip-binutils: maybe-install-strip-opcodes
49047 install-opcodes: maybe-install-bfd
49048 install-strip-opcodes: maybe-install-strip-bfd
49049 configure-gas: maybe-configure-intl
49051 configure-stage1-gas: maybe-configure-stage1-intl
49052 configure-stage2-gas: maybe-configure-stage2-intl
49053 configure-stage3-gas: maybe-configure-stage3-intl
49054 configure-stage4-gas: maybe-configure-stage4-intl
49055 configure-stageprofile-gas: maybe-configure-stageprofile-intl
49056 configure-stagefeedback-gas: maybe-configure-stagefeedback-intl
49057 all-gas: maybe-all-libiberty
49059 all-stage1-gas: maybe-all-stage1-libiberty
49060 all-stage2-gas: maybe-all-stage2-libiberty
49061 all-stage3-gas: maybe-all-stage3-libiberty
49062 all-stage4-gas: maybe-all-stage4-libiberty
49063 all-stageprofile-gas: maybe-all-stageprofile-libiberty
49064 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
49065 all-gas: maybe-all-opcodes
49067 all-stage1-gas: maybe-all-stage1-opcodes
49068 all-stage2-gas: maybe-all-stage2-opcodes
49069 all-stage3-gas: maybe-all-stage3-opcodes
49070 all-stage4-gas: maybe-all-stage4-opcodes
49071 all-stageprofile-gas: maybe-all-stageprofile-opcodes
49072 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
49073 all-gas: maybe-all-bfd
49075 all-stage1-gas: maybe-all-stage1-bfd
49076 all-stage2-gas: maybe-all-stage2-bfd
49077 all-stage3-gas: maybe-all-stage3-bfd
49078 all-stage4-gas: maybe-all-stage4-bfd
49079 all-stageprofile-gas: maybe-all-stageprofile-bfd
49080 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
49081 all-gas: maybe-all-intl
49083 all-stage1-gas: maybe-all-stage1-intl
49084 all-stage2-gas: maybe-all-stage2-intl
49085 all-stage3-gas: maybe-all-stage3-intl
49086 all-stage4-gas: maybe-all-stage4-intl
49087 all-stageprofile-gas: maybe-all-stageprofile-intl
49088 all-stagefeedback-gas: maybe-all-stagefeedback-intl
49089 configure-gprof: maybe-configure-intl
49090 all-gprof: maybe-all-libiberty
49091 all-gprof: maybe-all-bfd
49092 all-gprof: maybe-all-opcodes
49093 all-gprof: maybe-all-intl
49094 all-gprof: maybe-all-gas
49095 configure-ld: maybe-configure-intl
49097 configure-stage1-ld: maybe-configure-stage1-intl
49098 configure-stage2-ld: maybe-configure-stage2-intl
49099 configure-stage3-ld: maybe-configure-stage3-intl
49100 configure-stage4-ld: maybe-configure-stage4-intl
49101 configure-stageprofile-ld: maybe-configure-stageprofile-intl
49102 configure-stagefeedback-ld: maybe-configure-stagefeedback-intl
49103 all-ld: maybe-all-libiberty
49105 all-stage1-ld: maybe-all-stage1-libiberty
49106 all-stage2-ld: maybe-all-stage2-libiberty
49107 all-stage3-ld: maybe-all-stage3-libiberty
49108 all-stage4-ld: maybe-all-stage4-libiberty
49109 all-stageprofile-ld: maybe-all-stageprofile-libiberty
49110 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
49111 all-ld: maybe-all-bfd
49113 all-stage1-ld: maybe-all-stage1-bfd
49114 all-stage2-ld: maybe-all-stage2-bfd
49115 all-stage3-ld: maybe-all-stage3-bfd
49116 all-stage4-ld: maybe-all-stage4-bfd
49117 all-stageprofile-ld: maybe-all-stageprofile-bfd
49118 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
49119 all-ld: maybe-all-opcodes
49121 all-stage1-ld: maybe-all-stage1-opcodes
49122 all-stage2-ld: maybe-all-stage2-opcodes
49123 all-stage3-ld: maybe-all-stage3-opcodes
49124 all-stage4-ld: maybe-all-stage4-opcodes
49125 all-stageprofile-ld: maybe-all-stageprofile-opcodes
49126 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
49127 all-ld: maybe-all-build-bison
49129 all-stage1-ld: maybe-all-build-bison
49130 all-stage2-ld: maybe-all-build-bison
49131 all-stage3-ld: maybe-all-build-bison
49132 all-stage4-ld: maybe-all-build-bison
49133 all-stageprofile-ld: maybe-all-build-bison
49134 all-stagefeedback-ld: maybe-all-build-bison
49135 all-ld: maybe-all-build-flex
49137 all-stage1-ld: maybe-all-build-flex
49138 all-stage2-ld: maybe-all-build-flex
49139 all-stage3-ld: maybe-all-build-flex
49140 all-stage4-ld: maybe-all-build-flex
49141 all-stageprofile-ld: maybe-all-build-flex
49142 all-stagefeedback-ld: maybe-all-build-flex
49143 all-ld: maybe-all-intl
49145 all-stage1-ld: maybe-all-stage1-intl
49146 all-stage2-ld: maybe-all-stage2-intl
49147 all-stage3-ld: maybe-all-stage3-intl
49148 all-stage4-ld: maybe-all-stage4-intl
49149 all-stageprofile-ld: maybe-all-stageprofile-intl
49150 all-stagefeedback-ld: maybe-all-stagefeedback-intl
49151 all-ld: maybe-all-gas
49153 all-stage1-ld: maybe-all-stage1-gas
49154 all-stage2-ld: maybe-all-stage2-gas
49155 all-stage3-ld: maybe-all-stage3-gas
49156 all-stage4-ld: maybe-all-stage4-gas
49157 all-stageprofile-ld: maybe-all-stageprofile-gas
49158 all-stagefeedback-ld: maybe-all-stagefeedback-gas
49159 all-ld: maybe-all-binutils
49161 all-stage1-ld: maybe-all-stage1-binutils
49162 all-stage2-ld: maybe-all-stage2-binutils
49163 all-stage3-ld: maybe-all-stage3-binutils
49164 all-stage4-ld: maybe-all-stage4-binutils
49165 all-stageprofile-ld: maybe-all-stageprofile-binutils
49166 all-stagefeedback-ld: maybe-all-stagefeedback-binutils
49167 install-ld: maybe-install-gold
49168 install-strip-ld: maybe-install-strip-gold
49169 configure-gold: maybe-configure-intl
49171 configure-stage1-gold: maybe-configure-stage1-intl
49172 configure-stage2-gold: maybe-configure-stage2-intl
49173 configure-stage3-gold: maybe-configure-stage3-intl
49174 configure-stage4-gold: maybe-configure-stage4-intl
49175 configure-stageprofile-gold: maybe-configure-stageprofile-intl
49176 configure-stagefeedback-gold: maybe-configure-stagefeedback-intl
49177 all-gold: maybe-all-libiberty
49179 all-stage1-gold: maybe-all-stage1-libiberty
49180 all-stage2-gold: maybe-all-stage2-libiberty
49181 all-stage3-gold: maybe-all-stage3-libiberty
49182 all-stage4-gold: maybe-all-stage4-libiberty
49183 all-stageprofile-gold: maybe-all-stageprofile-libiberty
49184 all-stagefeedback-gold: maybe-all-stagefeedback-libiberty
49185 all-gold: maybe-all-intl
49187 all-stage1-gold: maybe-all-stage1-intl
49188 all-stage2-gold: maybe-all-stage2-intl
49189 all-stage3-gold: maybe-all-stage3-intl
49190 all-stage4-gold: maybe-all-stage4-intl
49191 all-stageprofile-gold: maybe-all-stageprofile-intl
49192 all-stagefeedback-gold: maybe-all-stagefeedback-intl
49193 all-gold: maybe-all-bfd
49195 all-stage1-gold: maybe-all-stage1-bfd
49196 all-stage2-gold: maybe-all-stage2-bfd
49197 all-stage3-gold: maybe-all-stage3-bfd
49198 all-stage4-gold: maybe-all-stage4-bfd
49199 all-stageprofile-gold: maybe-all-stageprofile-bfd
49200 all-stagefeedback-gold: maybe-all-stagefeedback-bfd
49201 all-gold: maybe-all-build-bison
49203 all-stage1-gold: maybe-all-build-bison
49204 all-stage2-gold: maybe-all-build-bison
49205 all-stage3-gold: maybe-all-build-bison
49206 all-stage4-gold: maybe-all-build-bison
49207 all-stageprofile-gold: maybe-all-build-bison
49208 all-stagefeedback-gold: maybe-all-build-bison
49209 all-gold: maybe-all-gas
49211 all-stage1-gold: maybe-all-stage1-gas
49212 all-stage2-gold: maybe-all-stage2-gas
49213 all-stage3-gold: maybe-all-stage3-gas
49214 all-stage4-gold: maybe-all-stage4-gas
49215 all-stageprofile-gold: maybe-all-stageprofile-gas
49216 all-stagefeedback-gold: maybe-all-stagefeedback-gas
49217 check-gold: maybe-all-binutils
49219 check-stage1-gold: maybe-all-stage1-binutils
49220 check-stage2-gold: maybe-all-stage2-binutils
49221 check-stage3-gold: maybe-all-stage3-binutils
49222 check-stage4-gold: maybe-all-stage4-binutils
49223 check-stageprofile-gold: maybe-all-stageprofile-binutils
49224 check-stagefeedback-gold: maybe-all-stagefeedback-binutils
49225 check-gold: maybe-all-gas
49227 check-stage1-gold: maybe-all-stage1-gas
49228 check-stage2-gold: maybe-all-stage2-gas
49229 check-stage3-gold: maybe-all-stage3-gas
49230 check-stage4-gold: maybe-all-stage4-gas
49231 check-stageprofile-gold: maybe-all-stageprofile-gas
49232 check-stagefeedback-gold: maybe-all-stagefeedback-gas
49233 configure-opcodes: maybe-configure-intl
49235 configure-stage1-opcodes: maybe-configure-stage1-intl
49236 configure-stage2-opcodes: maybe-configure-stage2-intl
49237 configure-stage3-opcodes: maybe-configure-stage3-intl
49238 configure-stage4-opcodes: maybe-configure-stage4-intl
49239 configure-stageprofile-opcodes: maybe-configure-stageprofile-intl
49240 configure-stagefeedback-opcodes: maybe-configure-stagefeedback-intl
49241 all-opcodes: maybe-all-bfd
49243 all-stage1-opcodes: maybe-all-stage1-bfd
49244 all-stage2-opcodes: maybe-all-stage2-bfd
49245 all-stage3-opcodes: maybe-all-stage3-bfd
49246 all-stage4-opcodes: maybe-all-stage4-bfd
49247 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
49248 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
49249 all-opcodes: maybe-all-libiberty
49251 all-stage1-opcodes: maybe-all-stage1-libiberty
49252 all-stage2-opcodes: maybe-all-stage2-libiberty
49253 all-stage3-opcodes: maybe-all-stage3-libiberty
49254 all-stage4-opcodes: maybe-all-stage4-libiberty
49255 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
49256 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
49257 all-opcodes: maybe-all-intl
49259 all-stage1-opcodes: maybe-all-stage1-intl
49260 all-stage2-opcodes: maybe-all-stage2-intl
49261 all-stage3-opcodes: maybe-all-stage3-intl
49262 all-stage4-opcodes: maybe-all-stage4-intl
49263 all-stageprofile-opcodes: maybe-all-stageprofile-intl
49264 all-stagefeedback-opcodes: maybe-all-stagefeedback-intl
49265 all-dejagnu: maybe-all-tcl
49266 all-dejagnu: maybe-all-expect
49267 all-dejagnu: maybe-all-tk
49268 configure-expect: maybe-configure-tcl
49269 configure-expect: maybe-configure-tk
49270 all-expect: maybe-all-tcl
49271 all-expect: maybe-all-tk
49272 configure-itcl: maybe-configure-tcl
49273 configure-itcl: maybe-configure-tk
49274 all-itcl: maybe-all-tcl
49275 all-itcl: maybe-all-tk
49276 install-itcl: maybe-install-tcl
49277 install-strip-itcl: maybe-install-strip-tcl
49278 configure-tk: maybe-configure-tcl
49279 all-tk: maybe-all-tcl
49280 all-sid: maybe-all-libiberty
49281 all-sid: maybe-all-bfd
49282 all-sid: maybe-all-opcodes
49283 all-sid: maybe-all-tcl
49284 all-sid: maybe-all-tk
49285 install-sid: maybe-install-tcl
49286 install-strip-sid: maybe-install-strip-tcl
49287 install-sid: maybe-install-tk
49288 install-strip-sid: maybe-install-strip-tk
49289 configure-sim: maybe-configure-intl
49290 all-sim: maybe-all-intl
49291 all-sim: maybe-all-libiberty
49292 all-sim: maybe-all-bfd
49293 all-sim: maybe-all-opcodes
49294 all-sim: maybe-all-readline
49295 all-sim: maybe-configure-gdb
49296 all-fastjar: maybe-all-zlib
49297 all-fastjar: maybe-all-build-texinfo
49298 all-fastjar: maybe-all-libiberty
49299 all-bison: maybe-all-intl
49300 all-bison: maybe-all-build-texinfo
49301 all-flex: maybe-all-build-bison
49302 all-flex: maybe-all-intl
49303 all-flex: maybe-all-m4
49304 all-flex: maybe-all-build-texinfo
49305 all-m4: maybe-all-intl
49306 all-m4: maybe-all-build-texinfo
49307 configure-target-boehm-gc: maybe-all-target-libstdc++-v3
49308 configure-target-fastjar: maybe-configure-target-zlib
49309 all-target-fastjar: maybe-all-target-zlib
49310 configure-target-libgo: maybe-configure-target-libffi
49311 configure-target-libgo: maybe-all-target-libstdc++-v3
49312 all-target-libgo: maybe-all-target-libbacktrace
49313 all-target-libgo: maybe-all-target-libffi
49314 all-target-libgo: maybe-all-target-libatomic
49315 configure-target-libjava: maybe-configure-target-zlib
49316 configure-target-libjava: maybe-configure-target-boehm-gc
49317 configure-target-libjava: maybe-configure-target-libffi
49318 all-target-libjava: maybe-all-fastjar
49319 all-target-libjava: maybe-all-target-zlib
49320 all-target-libjava: maybe-all-target-boehm-gc
49321 all-target-libjava: maybe-all-target-libffi
49322 configure-target-libobjc: maybe-configure-target-boehm-gc
49323 all-target-libobjc: maybe-all-target-boehm-gc
49324 configure-target-libstdc++-v3: maybe-configure-target-libgomp
49326 configure-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
49327 configure-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
49328 configure-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
49329 configure-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
49330 configure-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
49331 configure-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
49332 configure-target-liboffloadmic: maybe-configure-target-libgomp
49333 configure-target-libsanitizer: maybe-all-target-libstdc++-v3
49335 configure-stage1-target-libsanitizer: maybe-all-stage1-target-libstdc++-v3
49336 configure-stage2-target-libsanitizer: maybe-all-stage2-target-libstdc++-v3
49337 configure-stage3-target-libsanitizer: maybe-all-stage3-target-libstdc++-v3
49338 configure-stage4-target-libsanitizer: maybe-all-stage4-target-libstdc++-v3
49339 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-target-libstdc++-v3
49340 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-target-libstdc++-v3
49341 configure-target-libvtv: maybe-all-target-libstdc++-v3
49343 configure-stage1-target-libvtv: maybe-all-stage1-target-libstdc++-v3
49344 configure-stage2-target-libvtv: maybe-all-stage2-target-libstdc++-v3
49345 configure-stage3-target-libvtv: maybe-all-stage3-target-libstdc++-v3
49346 configure-stage4-target-libvtv: maybe-all-stage4-target-libstdc++-v3
49347 configure-stageprofile-target-libvtv: maybe-all-stageprofile-target-libstdc++-v3
49348 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-target-libstdc++-v3
49349 all-target-libstdc++-v3: maybe-configure-target-libgomp
49351 all-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
49352 all-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
49353 all-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
49354 all-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
49355 all-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
49356 all-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
49357 all-target-liboffloadmic: maybe-all-target-libgomp
49358 install-target-libgo: maybe-install-target-libatomic
49359 install-target-libgfortran: maybe-install-target-libquadmath
49360 install-target-libgfortran: maybe-install-target-libgcc
49361 install-target-libsanitizer: maybe-install-target-libstdc++-v3
49362 install-target-libsanitizer: maybe-install-target-libgcc
49363 install-target-libvtv: maybe-install-target-libstdc++-v3
49364 install-target-libvtv: maybe-install-target-libgcc
49365 install-target-libcilkrts: maybe-install-target-libstdc++-v3
49366 install-target-libcilkrts: maybe-install-target-libgcc
49367 install-target-liboffloadmic: maybe-install-target-libstdc++-v3
49368 install-target-liboffloadmic: maybe-install-target-libgcc
49369 install-target-libjava: maybe-install-target-libgcc
49370 install-target-libitm: maybe-install-target-libgcc
49371 install-target-libobjc: maybe-install-target-libgcc
49372 install-target-libstdc++-v3: maybe-install-target-libgcc
49373 all-target-libgloss: maybe-all-target-newlib
49374 all-target-winsup: maybe-all-target-libtermcap
49375 configure-target-newlib: maybe-all-binutils
49376 configure-target-newlib: maybe-all-ld
49377 configure-target-libgfortran: maybe-all-target-libquadmath
49380 # Dependencies for target modules on other target modules are
49381 # described by lang_env_dependencies; the defaults apply to anything
49382 # not mentioned there.
49385 @if gcc-bootstrap
49386 configure-stage1-target-libstdc++-v3: maybe-all-stage1-target-libgcc
49387 configure-stage2-target-libstdc++-v3: maybe-all-stage2-target-libgcc
49388 configure-stage3-target-libstdc++-v3: maybe-all-stage3-target-libgcc
49389 configure-stage4-target-libstdc++-v3: maybe-all-stage4-target-libgcc
49390 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-target-libgcc
49391 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-target-libgcc
49392 configure-stage1-target-libsanitizer: maybe-all-stage1-target-libgcc
49393 configure-stage2-target-libsanitizer: maybe-all-stage2-target-libgcc
49394 configure-stage3-target-libsanitizer: maybe-all-stage3-target-libgcc
49395 configure-stage4-target-libsanitizer: maybe-all-stage4-target-libgcc
49396 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-target-libgcc
49397 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-target-libgcc
49398 configure-stage1-target-libvtv: maybe-all-stage1-target-libgcc
49399 configure-stage2-target-libvtv: maybe-all-stage2-target-libgcc
49400 configure-stage3-target-libvtv: maybe-all-stage3-target-libgcc
49401 configure-stage4-target-libvtv: maybe-all-stage4-target-libgcc
49402 configure-stageprofile-target-libvtv: maybe-all-stageprofile-target-libgcc
49403 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-target-libgcc
49404 configure-stage1-target-libgomp: maybe-all-stage1-target-libgcc
49405 configure-stage2-target-libgomp: maybe-all-stage2-target-libgcc
49406 configure-stage3-target-libgomp: maybe-all-stage3-target-libgcc
49407 configure-stage4-target-libgomp: maybe-all-stage4-target-libgcc
49408 configure-stageprofile-target-libgomp: maybe-all-stageprofile-target-libgcc
49409 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-target-libgcc
49410 @endif gcc-bootstrap
49412 @if gcc-no-bootstrap
49413 configure-target-libstdc++-v3: maybe-all-target-libgcc
49414 configure-target-libsanitizer: maybe-all-target-libgcc
49415 configure-target-libvtv: maybe-all-target-libgcc
49416 configure-target-libcilkrts: maybe-all-target-libgcc
49417 configure-target-liboffloadmic: maybe-all-target-libgcc
49418 configure-target-libssp: maybe-all-target-libgcc
49419 configure-target-newlib: maybe-all-target-libgcc
49420 configure-target-libbacktrace: maybe-all-target-libgcc
49421 configure-target-libquadmath: maybe-all-target-libgcc
49422 configure-target-libgfortran: maybe-all-target-libgcc
49423 configure-target-libobjc: maybe-all-target-libgcc
49424 configure-target-libgo: maybe-all-target-libgcc
49425 configure-target-libtermcap: maybe-all-target-libgcc
49426 configure-target-winsup: maybe-all-target-libgcc
49427 configure-target-libgloss: maybe-all-target-libgcc
49428 configure-target-libffi: maybe-all-target-libgcc
49429 configure-target-libjava: maybe-all-target-libgcc
49430 configure-target-zlib: maybe-all-target-libgcc
49431 configure-target-boehm-gc: maybe-all-target-libgcc
49432 configure-target-rda: maybe-all-target-libgcc
49433 configure-target-libada: maybe-all-target-libgcc
49434 configure-target-libgomp: maybe-all-target-libgcc
49435 configure-target-libitm: maybe-all-target-libgcc
49436 configure-target-libatomic: maybe-all-target-libgcc
49437 @endif gcc-no-bootstrap
49440 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
49442 configure-target-libsanitizer: maybe-all-target-newlib maybe-all-target-libgloss
49444 configure-target-libvtv: maybe-all-target-newlib maybe-all-target-libgloss
49446 configure-target-libcilkrts: maybe-all-target-newlib maybe-all-target-libgloss
49447 configure-target-libcilkrts: maybe-all-target-libstdc++-v3
49449 configure-target-liboffloadmic: maybe-all-target-newlib maybe-all-target-libgloss
49450 configure-target-liboffloadmic: maybe-all-target-libstdc++-v3
49452 configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
49456 configure-target-libbacktrace: maybe-all-target-newlib maybe-all-target-libgloss
49458 configure-target-libquadmath: maybe-all-target-newlib maybe-all-target-libgloss
49460 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
49462 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
49464 configure-target-libgo: maybe-all-target-newlib maybe-all-target-libgloss
49466 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
49468 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
49471 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
49473 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
49474 configure-target-libjava: maybe-all-target-libstdc++-v3
49476 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
49478 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
49480 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
49482 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
49484 configure-target-libgomp: maybe-all-target-newlib maybe-all-target-libgloss
49486 configure-target-libitm: maybe-all-target-newlib maybe-all-target-libgloss
49487 configure-target-libitm: maybe-all-target-libstdc++-v3
49489 configure-target-libatomic: maybe-all-target-newlib maybe-all-target-libgloss
49492 CONFIGURE_GDB_TK = @CONFIGURE_GDB_TK@
49493 GDB_TK = @GDB_TK@
49494 INSTALL_GDB_TK = @INSTALL_GDB_TK@
49495 configure-gdb: $(CONFIGURE_GDB_TK)
49496 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
49497 install-gdb: $(INSTALL_GDB_TK)
49499 # Serialization dependencies. Host configures don't work well in parallel to
49500 # each other, due to contention over config.cache. Target configures and
49501 # build configures are similar.
49502 @serialization_dependencies@
49504 # --------------------------------
49505 # Regenerating top level configury
49506 # --------------------------------
49508 # Rebuilding Makefile.in, using autogen.
49509 AUTOGEN = autogen
49510 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
49511 cd $(srcdir) && $(AUTOGEN) Makefile.def
49513 # Rebuilding Makefile.
49514 Makefile: $(srcdir)/Makefile.in config.status
49515 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
49517 config.status: configure
49518 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
49520 # Rebuilding configure.
49521 AUTOCONF = autoconf
49522 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac $(srcdir)/config/acx.m4 \
49523 $(srcdir)/config/override.m4 $(srcdir)/config/proginstall.m4
49524 cd $(srcdir) && $(AUTOCONF)
49526 # ------------------------------
49527 # Special directives to GNU Make
49528 # ------------------------------
49530 # Don't pass command-line variables to submakes.
49531 .NOEXPORT:
49532 MAKEOVERRIDES=
49534 # end of Makefile.in